joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40a4d8
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x44d060]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp esi, ebx
je 0x40a5d8
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x104
jge 0x40a5d8
xor eax, eax
push 0x206
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push ebx
push eax
call fcn.00426910
add esp, 0xc
lea ecx, [ebp - 0x210]
mov edx, esi
call fcn.0040aceb
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x40a555
shr eax, 4
not eax
and eax, 1
jmp 0x40a5da
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea esi, [ebp - 0x418]
call fcn.0040a5e8
test eax, eax
je 0x40a5d8
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x10000000
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x420], eax
cmp eax, ebx
je 0x40a5ba
mov dword [ebp - 0x41c], 1
cmp eax, 0xffffffff
jne 0x40a5c0
mov dword [ebp - 0x41c], ebx
lea eax, [ebp - 0x420]
call fcn.00403d39
xor eax, eax
cmp byte [ebp - 0x41c], bl
setne al
jmp 0x40a5da
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.004241ea
leave
ret
Function at 0x40a8f0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x42c
mov eax, dword [0x44d060]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push esi
push edi
push ebx
mov dword [ebp - 0x428], eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x40a983
test al, 0x10
je 0x40a983
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpynW]
mov edi, 0x104
push edi
push ebx
lea eax, [ebp - 0x424]
push eax
call esi
push edi
push dword [ebp - 0x428]
lea eax, [ebp - 0x21c]
push eax
call esi
mov esi, dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea eax, [ebp - 0x424]
push eax
call esi
lea eax, [ebp - 0x21c]
push eax
call esi
and dword [ebp - 0x14], 0
and dword [ebp - 0x10], 0
lea eax, [ebp - 0x424]
push eax
mov eax, 0x40a995
push eax
lea ecx, [ebp - 0x424]
push ecx
push eax
push 1
push ebx
call fcn.0040a2be
jmp 0x40a985
xor eax, eax
mov ecx, dword [ebp - 8]
pop edi
xor ecx, ebp
pop esi
call fcn.004241ea
leave
ret 4

Function at 0x40aa50
Capabilities:
Check if file exists
Delete file
Get file attributes
Set file attributes

Disassembly:
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x40aa67
push 2
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
ret
test al, 1
je 0x40aa76
and eax, 0xfffffffe
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
ret

Function at 0x40ac77
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
lea ebp, [esp - 0x88]
sub esp, 0x108
mov eax, dword [0x44d060]
xor eax, ebp
mov dword [ebp + 0x84], eax
push esi
push 0x103
lea eax, [ebp - 0x7f]
push 0
push eax
mov byte [ebp - 0x80], 0
call fcn.00426910
add esp, 0xc
lea esi, [ebp - 0x80]
call fcn.0040abeb
mov eax, 0x179b06cc
xor ecx, ecx
movzx edx, byte [ebp + ecx - 0x80]
movzx esi, al
xor edx, esi
shr eax, 8
xor eax, dword [edx*4 + 0x44edc0]
inc ecx
cmp ecx, 0x24
jl 0x40acb9
mov ecx, dword [ebp + 0x84]
xor ecx, ebp
not eax
pop esi
call fcn.004241ea
add ebp, 0x88
leave
ret

Function at 0x40aefa
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x434
mov eax, dword [0x44d060]
xor eax, esp
mov dword [esp + 0x430], eax
mov eax, fcn.0040b382
push esi
test eax, eax
je 0x40af87
push 0x424
lea eax, [esp + 0x10]
push 0
push eax
call fcn.00426910
add esp, 0xc
push dword [ebp + 8]
mov dword [esp + 0xc], 0x428
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
mov dword [esp + 4], esi
test esi, esi
je 0x40af7e
cmp esi, 0xffffffff
je 0x40af7e
lea eax, [esp + 8]
push eax
push esi
call sub.KERNEL32.dll_Module32FirstW
jmp 0x40af7a
push edi
lea eax, [esp + 0xc]
push eax
call fcn.0040b382
test eax, eax
je 0x40af7e
lea eax, [esp + 8]
push eax
push esi
call sub.KERNEL32.dll_Module32NextW
test eax, eax
jne 0x40af60
lea eax, [esp + 4]
call fcn.00403d39
mov ecx, dword [esp + 0x434]
pop esi
xor ecx, esp
call fcn.004241ea
mov esp, ebp
pop ebp
ret 4
Function at 0x40af9c
Capabilities:
Enumerate processes

Disassembly:
push ebp
sub esp, 0x22c
lea ebp, [esp - 4]
mov eax, dword [0x44d060]
xor eax, ebp
mov dword [ebp + 0x22c], eax
push 8
mov eax, 0x43bf0d
call fcn.004251a1
mov eax, dword [ebp + 0x238]
mov dword [ebp - 0x14], eax
test edi, edi
je 0x40b031
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
mov dword [ebp - 0x10], esi
and dword [ebp - 4], 0
test esi, esi
je 0x40b029
cmp esi, 0xffffffff
je 0x40b029
push 0x228
lea eax, [ebp + 4]
push 0
push eax
mov dword [ebp], 0x22c
call fcn.00426910
add esp, 0xc
lea eax, [ebp]
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
jmp 0x40b025
push dword [ebp - 0x14]
lea eax, [ebp]
push eax
call edi
test eax, eax
je 0x40b029
lea eax, [ebp]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x40b00e
lea eax, [ebp - 0x10]
call fcn.00403d39
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x22c]
xor ecx, ebp
call fcn.004241ea
add ebp, 0x230
leave
ret 4

Function at 0x40b056
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
push ebx
push esi
xor ebx, ebx
push edi
mov esi, eax
cmp dword [ebp + 8], ebx
jne 0x40b06c
xor eax, eax
jmp 0x40b0e6
push 0x40
lea eax, [ebp - 0x58]
push ebx
push eax
mov dword [ebp - 0x5c], 0x44
call fcn.00426910
add esp, 0xc
cmp esi, ebx
jne 0x40b093
xor eax, eax
mov dword [ebp - 0x30], 1
mov word [ebp - 0x2c], ax
mov dword [ebp - 0x14], ebx
xor eax, eax
lea edi, [ebp - 0x10]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov edi, dword [ebp + 8]
call fcn.0040a284
mov edi, eax
lea eax, [ebp - 0x14]
push eax
neg esi
lea eax, [ebp - 0x5c]
push eax
push ebx
push ebx
sbb esi, esi
and esi, 0xf8000000
add esi, 0x8000000
push esi
push ebx
push ebx
push ebx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x40b0de
push dword [ebp - 0x10]
mov ebx, dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call fcn.0040a2b1
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x40b1c2
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
push ebx
push esi
xor esi, esi
push edi
cmp dword [ebp + 8], esi
jne 0x40b1db
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
call fcn.0040b0ed
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
mov edi, 0x40b2d7
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
call fcn.0040af9c
cmp dword [ebp - 0x14], esi
je 0x40b1d2
push dword [ebp - 0x18]
push esi
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x10], eax
cmp eax, esi
je 0x40b217
cmp eax, 0xffffffff
jne 0x40b223
lea eax, [ebp - 0x10]
call fcn.00403d39
mov eax, esi
jmp 0x40b1d4
lea ecx, [ebp - 8]
push ecx
push 0xf01ff
push eax
mov dword [ebp - 8], esi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x40b217
push esi
push dword [ebp - 8]
lea eax, [ebp - 0xc]
push eax
mov dword [ebp - 0xc], esi
call dword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x40b2cd
mov edi, dword [ebp + 8]
call fcn.0040a284
push 0x40
mov dword [ebp + 8], eax
lea eax, [ebp - 0x70]
push esi
push eax
mov dword [ebp - 0x74], 0x44
call fcn.00426910
add esp, 0xc
push 5
pop eax
mov word [ebp - 0x44], ax
xor eax, eax
mov dword [ebp - 0x2c], esi
lea edi, [ebp - 0x28]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x74]
push eax
push esi
push dword [ebp - 0xc]
mov dword [ebp - 0x48], 1
push 0x420
push esi
push esi
push esi
push dword [ebp + 8]
push esi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
je 0x40b2bc
push dword [ebp - 0x28]
mov esi, dword [ebp - 0x2c]
call ebx
push dword [ebp + 8]
call fcn.0040a2b1
push dword [ebp - 0xc]
call dword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
push dword [ebp - 8]
call ebx
jmp 0x40b217

Function at 0x40b4b7
Capabilities:
Check if file exists
Get file size
Read file via mapping

Disassembly:
or dword [esi], 0xffffffff
push ebx
push dword [esp + 8]
xor ebx, ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40b54c
push ebx
push 0x80
push 3
push ebx
push 1
push 0x80000000
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi], eax
cmp eax, 0xffffffff
je 0x40b54c
push edi
lea edi, [esi + 0x10]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x40b54b
mov ecx, dword [edi]
mov eax, dword [edi + 4]
mov edx, ecx
or edx, eax
je 0x40b54b
cmp eax, ebx
jl 0x40b520
mov eax, 0x400000
jg 0x40b51c
cmp ecx, eax
jbe 0x40b520
mov edi, eax
jmp 0x40b522
mov edi, ecx
push ebx
push ebx
push ebx
push 2
push ebx
push dword [esi]
mov dword [esi + 0x18], edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [esi + 4], eax
cmp eax, ebx
je 0x40b54b
push dword [esi + 0x18]
push ebx
push ebx
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [esi + 8], eax
pop edi
mov eax, esi
pop ebx
ret 4
Function at 0x40bc1e
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43d6ea
mov eax, dword fs:[0]
push eax
mov eax, 0x2048
call fcn.0042f9e0
mov eax, dword [0x44d060]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 4], ebx
push eax
mov dword [ebp - 0x2028], eax
mov esi, ecx
mov dword [ebp - 0x202c], ebx
call fcn.0040c204
xor edi, edi
push esi
inc edi
lea esi, [ebp - 0x2024]
mov dword [ebp - 0x202c], edi
call fcn.0040a09e
mov dword [ebp - 4], edi
cmp dword [ebp - 0x2020], ebx
je 0x40bd35
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x201c]
push eax
lea eax, [ebp - 0x2014]
push eax
push ebx
push dword [ebp - 0x2020]
mov dword [ebp - 0x2018], ebx
mov dword [ebp - 0x201c], 0x1000
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x40bd35
inc dword [ebp - 0x2018]
lea eax, [ebp - 0x2014]
push eax
lea esi, [ebp - 0x2048]
call fcn.004021d2
mov eax, esi
mov byte [ebp - 4], 2
mov ebx, dword [ebp - 0x2028]
push eax
lea edi, [ebp - 0x2054]
call fcn.0040c23a
xor edi, edi
push edi
push 1
mov byte [ebp - 4], 1
call fcn.004026fe
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x201c]
push eax
lea eax, [ebp - 0x2014]
push eax
push dword [ebp - 0x2018]
mov dword [ebp - 0x201c], 0x1000
push dword [ebp - 0x2020]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x40bcc3
xor ebx, ebx
mov dword [ebp - method.RegHandleHolder.virtual_0], vtable.RegHandleHolder.0
cmp dword [ebp - 0x2020], ebx
je 0x40bd53
push dword [ebp - 0x2020]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x2028]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004241ea
leave
ret

Function at 0x40bd73
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
xor esi, esi
push esi
lea eax, [ebp - 4]
push eax
push esi
push 0x20006
push 1
push esi
push esi
push str.Softwareprojonepodlp_volatile_
push 0x80000002
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov edi, eax
cmp edi, esi
jne 0x40bdc3
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 1
push esi
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 4]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
leave
ret
Function at 0x40bee4
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x620
mov eax, dword [0x44d060]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40bf9c
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.00426910
add esp, 0xc
lea ecx, [ebp - 0x20c]
mov edx, esi
call fcn.0040aceb
lea ecx, [ebp - 0x20c]
call fcn.0040bdc9
test eax, eax
je 0x40bf45
xor eax, eax
inc eax
jmp 0x40bf9c
push ebx
lea eax, [ebp - 0x20c]
push eax
push str.explorer.exe__select__s
lea eax, [ebp - 0x61c]
push 0x208
push eax
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x10
lea eax, [ebp - 0x61c]
xor ebx, ebx
push eax
inc ebx
mov eax, ebx
call fcn.0040b056
mov dword [ebp - 0x620], eax
test eax, eax
je 0x40bf87
cmp eax, 0xffffffff
jne 0x40bf89
xor ebx, ebx
lea eax, [ebp - 0x620]
call fcn.00403d39
xor eax, eax
test bl, bl
setne al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004241ea
leave
ret

Function at 0x41a23a
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x190]
sub esp, 0x210
mov eax, dword [0x44d060]
xor eax, ebp
mov dword [ebp + 0x18c], eax
and dword [ebp - 0x80], 0
push esi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x7c], ax
lea eax, [ebp - 0x7a]
push eax
mov esi, ecx
call fcn.00426910
add esp, 0xc
push 0x104
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push str.Logs_accelerator
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x7c]
push eax
call fcn.004021d2
mov ecx, dword [ebp + 0x18c]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004241ea
add ebp, 0x190
leave
ret

Function at 0x41a2b3
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x190]
sub esp, 0x210
mov eax, dword [0x44d060]
xor eax, ebp
mov dword [ebp + 0x18c], eax
and dword [ebp - 0x80], 0
push esi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x7c], ax
lea eax, [ebp - 0x7a]
push eax
mov esi, ecx
call fcn.00426910
add esp, 0xc
push 0x104
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push str.Logsignored
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x7c]
push eax
call fcn.004021d2
mov ecx, dword [ebp + 0x18c]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004241ea
add ebp, 0x190
leave
ret
Function at 0x41a32c
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x224
lea ebp, [esp - 4]
mov eax, dword [0x44d060]
xor eax, ebp
mov dword [ebp + 0x224], eax
push 4
mov eax, 0x43cffc
call fcn.004251a1
mov edi, dword [ebp + 0x230]
mov esi, dword [ebp + 0x238]
xor eax, eax
xor ebx, ebx
push 0x206
mov word [ebp + 0x1c], ax
lea eax, [ebp + 0x1e]
push ebx
push eax
mov dword [ebp - 0x10], ebx
call fcn.00426910
add esp, 0xc
push 0x104
lea eax, [ebp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
cmp dword [ebp + 0x234], 1
jne 0x41a398
push str.projonepodlp
jmp 0x41a3a6
cmp dword [ebp + 0x234], 2
jne 0x41a3c5
push str.projonepotcm
lea eax, [ebp + 0x1c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
cmp esi, ebx
je 0x41a3bf
push esi
lea eax, [ebp + 0x1c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp + 0x1c]
push eax
jmp 0x41a418
cmp dword [ebp + 0x234], ebx
jne 0x41a413
push ebx
lea eax, [ebp]
push 2
push eax
call fcn.0041a32c
add esp, 0xc
mov dword [ebp - 4], ebx
cmp dword [ebp + 0x18], 8
mov eax, dword [ebp + 4]
jae 0x41a3eb
lea eax, [ebp + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
push esi
test eax, eax
je 0x41a40f
push 2
push edi
call fcn.0041a32c
add esp, 0xc
push ebx
push 1
lea esi, [ebp]
call fcn.004026fe
jmp 0x41a41f
push 1
jmp 0x41a3f9
push 0x442b64
mov esi, edi
call fcn.004021d2
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x224]
xor ecx, ebp
call fcn.004241ea
add ebp, 0x228
leave
ret
Function at 0x41aee6
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10
test esi, esi
je 0x41aef6
and dword [esi], 0
and dword [esp + 8], 0
lea eax, [esp + 8]
push eax
push 0x1001
push dword [ebp + 0xc]
call dword [sym.imp.SHLWAPI.dll_SHCreateStreamOnFileW]
test eax, eax
je 0x41af21
mov ecx, dword [ebp + 0x10]
push str.open_file_failed
call fcn.00402573
jmp 0x41af73
and dword [esp + 0xc], 0
lea eax, [esp + 0xc]
push eax
push dword [ebp + 0x10]
push dword [esp + 0x10]
push dword [ebp + 8]
call fcn.0041ac60
add esp, 0x10
mov byte [esp + 7], al
test esi, esi
je 0x41af4b
mov eax, dword [esp + 0xc]
mov dword [esi], eax
mov eax, dword [esp + 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp byte [esp + 7], 0
je 0x41af6a
cmp dword [esp + 0xc], 0xc8
jne 0x41af6a
mov al, 1
jmp 0x41af75
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor al, al
mov esp, ebp
pop ebp
ret

Function at 0x41afdd
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x43cf85
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
mov eax, dword [0x44d060]
xor eax, esp
mov dword [esp + 0xac], eax
push ebx
push esi
mov eax, dword [0x44d060]
xor eax, esp
push eax
lea eax, [esp + 0xc0]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0xc]
xor esi, esi
push edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
xor ebx, ebx
inc ebx
test eax, eax
jne 0x41b087
push edi
lea ecx, [esp + 0x20]
call fcn.0040215b
lea eax, [esp + 0x1c]
mov dword [esp + 0xc8], esi
push eax
lea ecx, [esp + 0x3c]
mov dword [esp + 0x14], ebx
call fcn.00401338
cmp dword [eax + 0x18], 8
pop ecx
mov dword [esp + 0x10], 3
jb 0x41b075
mov eax, dword [eax + 4]
jmp 0x41b078
add eax, 4
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov byte [esp + 0xf], bl
test eax, eax
je 0x41b08c
mov byte [esp + 0xf], 0
test byte [esp + 0x10], 2
je 0x41b0a3
and dword [esp + 0x10], 0xfffffffd
push esi
push ebx
lea esi, [esp + 0x40]
call fcn.004026fe
or dword [esp + 0xc8], 0xffffffff
test byte [esp + 0x10], bl
je 0x41b0bd
push 0
push ebx
lea ecx, [esp + 0x24]
call fcn.00402606
cmp byte [esp + 0xf], 0
je 0x41b0c8
xor al, al
jmp 0x41b122
lea esi, [esp + 0x58]
call fcn.00402148
lea esi, [esp + 0x74]
call fcn.00402148
lea esi, [esp + 0x90]
call fcn.00402148
push dword [esp + 0x18]
lea ecx, [esp + 0x5c]
mov dword [esp + 0xcc], ebx
call fcn.00402573
push edi
mov ecx, esi
mov byte [esp + 0x58], bl
call fcn.00402573
mov esi, dword [esp + 0x14]
lea eax, [esp + 0x54]
push eax
add esi, 0x3c
call fcn.0041bb3d
lea esi, [esp + 0x54]
call fcn.0041b298
mov al, bl
mov ecx, dword [esp + 0xc0]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0xac]
xor ecx, esp
call fcn.004241ea
mov esp, ebp
pop ebp
ret 8
Function at 0x41c432
Capabilities:
Delete file
Get file size

Disassembly:
push 0x2ac
mov eax, 0x43de0f
call fcn.0042520a
xor edi, edi
push edi
push dword [0x451850]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0x500000
jbe 0x41c4af
push 0x2d
push edi
mov esi, 0x451854
push esi
call dword [sym.imp.SHLWAPI.dll_StrRChrW]
xor ecx, ecx
mov word [eax], cx
inc dword [0x451a5c]
push dword [0x451a5c]
lea eax, [ebp - 0x90]
push str.__d.log
push 0x40
push eax
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x10
lea eax, [ebp - 0x90]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push dword [0x451850]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [0x451850], 0xffffffff
xor eax, eax
push 0x206
mov word [ebp - 0x298], ax
lea eax, [ebp - 0x296]
push edi
push eax
call fcn.00426910
add esp, 0xc
push 1
lea eax, [ebp - 0x298]
push eax
call fcn.0041c238
lea eax, [ebp - 0x2b0]
push eax
call fcn.004213e4
push edi
push edi
lea eax, [ebp - 0x2b8]
push eax
push 0x41c3be
push edi
lea eax, [ebp - 0x298]
mov dword [ebp - 4], edi
push eax
mov dword [ebp - 0x2b8], edi
mov dword [ebp - 0x2b4], edi
call fcn.0040a2be
mov eax, dword [ebp - 0x2a0]
sub eax, dword [ebp - 0x2a4]
push 0x1c
cdq
pop ecx
idiv ecx
cmp eax, 0x64
ja 0x41c53c
cmp dword [ebp - 0x2b4], edi
ja 0x41c53c
cmp dword [ebp - 0x2b8], 0x3200000
jbe 0x41c577
cmp eax, 0x14
jbe 0x41c546
push 0xa
pop ebx
jmp 0x41c54d
cdq
sub eax, edx
mov ebx, eax
sar ebx, 1
cmp ebx, edi
jle 0x41c577
push edi
lea esi, [ebp - 0x2b0]
call fcn.00407581
cmp dword [eax + 0x18], 8
jb 0x41c568
mov eax, dword [eax + 4]
jmp 0x41c56b
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
inc edi
cmp edi, ebx
jl 0x41c551
lea esi, [ebp - 0x2b0]
call fcn.0040c7db
push dword [ebp - 0x2b0]
call fcn.00424223
pop ecx
call fcn.0042528d
ret
Function at 0x41d153
Capabilities:
Delete registry value

Disassembly:
push 0x40
mov eax, 0x43ce5b
call fcn.0042520a
and dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0x451a78
push str._s__d
lea esi, [ebp - 0x2c]
call fcn.0040ba54
add esp, 0xc
cmp dword [ebp + 8], 0
mov byte [ebp - 4], 1
je 0x41d1d1
lea eax, [ebp + 0x10]
push eax
push edi
push str.dispatching_message__s_to__s
lea esi, [ebp - 0x48]
call fcn.0040ba54
mov ecx, dword [ebp - 0x44]
add esp, 0xc
cmp dword [ebp - 0x30], 0x10
jae 0x41d1aa
lea ecx, [ebp - 0x44]
cmp dword [ebp - 0x14], 0x10
mov eax, dword [ebp - 0x28]
jae 0x41d1b6
lea eax, [ebp - 0x28]
push dword [ebp - 0x34]
push ecx
push eax
call fcn.0040bd73
add esp, 0xc
push 0
push 1
lea ecx, [ebp - 0x48]
call fcn.00402606
jmp 0x41d1ee
cmp dword [ebp - 0x14], 0x10
mov eax, dword [ebp - 0x28]
jae 0x41d1dd
lea eax, [ebp - 0x28]
push eax
push str.Softwareprojonepodlp_volatile_
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueA]
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.00402606
or dword [ebp - 4], 0xffffffff
lea eax, [ebp + 0x114]
push eax
call fcn.004075a5
call fcn.0042528d
ret
Function at 0x41e8d7
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x44d060]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
and dword [ebp - 0x144], 0
push esi
push edi
push 0x3f
mov dword [ebp - 0x140], eax
lea eax, [ebp - 0x4b]
push 0
push eax
mov esi, ecx
mov byte [ebp - 0x4c], 0
call fcn.00426910
lea edi, [ebp - 0x4c]
movsd dword es:[edi], dword [esi]
add esp, 0xc
movsb byte es:[edi], byte [esi]
xor eax, eax
mov cl, byte [ebp + eax - 0x4c]
mov dl, cl
xor dl, 0x36
xor cl, 0x5c
mov byte [ebp + eax - 0x8c], dl
mov byte [ebp + eax - 0xcc], cl
inc eax
cmp eax, 0x40
jb 0x41e919
lea eax, [ebp - 0x13c]
call fcn.004206b6
lea eax, [ebp - 0x8c]
push 0x40
push eax
lea eax, [ebp - 0x13c]
call fcn.004206fa
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.004206fa
lea edi, [ebp - 0x6c]
call fcn.00420738
lea eax, [ebp - 0x13c]
call fcn.004206b6
lea eax, [ebp - 0xcc]
push 0x40
push eax
lea eax, [ebp - 0x13c]
call fcn.004206fa
mov eax, edi
push 0x20
push eax
lea eax, [ebp - 0x13c]
call fcn.004206fa
add esp, 0x20
lea edi, [ebp - 0x2c]
call fcn.00420738
mov esi, dword [ebp - 0x140]
push 0x20
mov eax, edi
push eax
call fcn.0040bfa8
mov ecx, dword [ebp - 8]
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004241ea
leave
ret