joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41d290
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
xor eax, eax
jne 0x41d299
xor ecx, ecx
jne 0x41d299
xor edx, edx
cmp dword [ebp + 0xc], 0
setne dl
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 0
jne 0x41d2ba
mov eax, 0xd
jmp 0x41d315
xor eax, eax
jne 0x41d2a1
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
lea edx, [ecx + eax*2]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax*2]
mov dword [ebp - 4], edx
cmp dword [ebp - 0xc], 1
jne 0x41d2cb
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 7
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esp, ebp
pop ebp
ret 8
Function at 0x423540
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4977b4
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x98
push ebx
push esi
push edi
mov eax, dword [0x4bfa48]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x84], ecx
mov eax, dword [ebp - 0x84]
mov dword [eax], vtable.SoftInstaller.0
mov dword [ebp - 4], 9
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x84]
add ecx, 0xe8
call fcn.004096a0
mov byte [ebp - 0x85], al
movzx ecx, byte [ebp - 0x85]
test ecx, ecx
jne 0x4236d3
mov ecx, dword [ebp - 0x84]
add ecx, 0xb8
call fcn.00401310
mov byte [ebp - 0x86], al
movzx edx, byte [ebp - 0x86]
test edx, edx
jne 0x4236d3
mov eax, dword [ebp - 0x84]
add eax, 0xb8
push eax
lea ecx, [ebp - 0x48]
push ecx
call fcn.00423500
add esp, 8
mov dword [ebp - 0x8c], eax
mov edx, dword [ebp - 0x8c]
mov dword [ebp - 0x90], edx
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x90]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040b530
mov dword [ebp - 0x94], eax
mov byte [ebp - 4], 0xc
push 1
lea ecx, [ebp - 0x2c]
push ecx
call fcn.0040e690
add esp, 8
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x2c]
call fcn.004276d0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x48]
call fcn.00401100
mov edx, dword [ebp - 0x84]
add edx, 0xb8
push edx
lea eax, [ebp - 0x64]
push eax
call fcn.00423500
add esp, 8
mov dword [ebp - 0x98], eax
mov ecx, dword [ebp - 0x98]
mov dword [ebp - 0x9c], ecx
mov byte [ebp - 4], 0xd
mov edx, dword [ebp - 0x9c]
push edx
lea eax, [ebp - 0x80]
push eax
call fcn.00423500
add esp, 8
mov dword [ebp - 0xa0], eax
mov ecx, dword [ebp - 0xa0]
mov dword [ebp - 0xa4], ecx
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0xa4]
call fcn.00401eb0
mov dword [ebp - 0xa8], eax
mov edx, dword [ebp - 0xa8]
push edx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x80]
call fcn.00401100
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x64]
call fcn.00401100
jmp 0x4236e2
mov dword [ebp - 4], 9
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x84]
add ecx, 0x12c
call fcn.004276d0
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x84]
add ecx, 0x110
call fcn.00401100
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x84]
add ecx, 0xe8
call fcn.00409510
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x84]
add ecx, 0xe0
call fcn.00417310
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x84]
add ecx, 0xd8
call fcn.00414160
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x84]
add ecx, 0xb8
call fcn.00401100
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x84]
add ecx, 0x9c
call fcn.00401100
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x84]
add ecx, 0x80
call fcn.00401100
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x84]
add ecx, 0x44
call fcn.00416b70
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x84]
call fcn.00416ad0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x423ca0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4978a6
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x4bfa48]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x230], ecx
mov dword [ebp - 0x22c], 0
lea ecx, [ebp - 0x220]
call fcn.0040d260
mov dword [ebp - 4], 0
mov dword [ebp - 0x224], 0
lea eax, [ebp - 0x224]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov dword [ebp - 0x228], eax
xor edx, edx
mov word [ebp - 0x21c], dx
push 0x206
push 0
lea eax, [ebp - 0x21a]
push eax
call fcn.0047c710
add esp, 0xc
cmp dword [ebp - 0x228], 0
jl 0x423d62
lea ecx, [ebp - 0x21c]
push ecx
mov edx, dword [ebp - 0x224]
push edx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x423d62
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x220]
call fcn.0040d340
lea ecx, [ebp - 0x220]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0040d280
mov edx, dword [ebp - 0x22c]
or edx, 1
mov dword [ebp - 0x22c], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x220]
call fcn.0040d320
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0047beb8
mov esp, ebp
pop ebp
ret 8
Function at 0x424b30
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x497af6
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
mov eax, dword [0x4bfa48]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x34], 0
lea ecx, [ebp - 0x30]
call fcn.00429e00
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.00401310
movzx eax, al
test eax, eax
jne 0x424c98
push 0
lea ecx, [ebp + 8]
call fcn.00401eb0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x424bac
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xb7
jne 0x424bb6
jmp 0x424c98
cmp dword [ebp - 0x34], 3
jne 0x424c66
lea ecx, [ebp + 8]
push ecx
lea ecx, [ebp - 0x50]
call fcn.0040b530
mov byte [ebp - 4], 2
lea edx, [ebp - 0x50]
push edx
lea eax, [ebp - 0x6c]
push eax
call fcn.00424da0
add esp, 8
mov dword [ebp - 0xb0], eax
mov ecx, dword [ebp - 0xb0]
mov dword [ebp - 0xb4], ecx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0xb4]
push edx
lea ecx, [ebp - 0x30]
call fcn.00429e60
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x6c]
call fcn.00401100
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x50]
call fcn.004276d0
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x88]
push ecx
call fcn.00423500
add esp, 8
mov dword [ebp - 0xb8], eax
mov edx, dword [ebp - 0xb8]
mov dword [ebp - 0xbc], edx
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0xbc]
push eax
lea ecx, [ebp + 8]
call fcn.00408720
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x88]
call fcn.00401100
jmp 0x424c93
mov byte [ebp - 0x89], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.00427ce0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00401100
mov al, byte [ebp - 0x89]
jmp 0x424d82
jmp 0x424b72
lea ecx, [ebp - 0x30]
call fcn.00429e20
movzx ecx, al
test ecx, ecx
jne 0x424d5a
push 0
lea ecx, [ebp - 0x30]
call fcn.00429e40
push eax
lea edx, [ebp + 8]
push edx
lea eax, [ebp - 0xa8]
push eax
call fcn.00423320
add esp, 0xc
mov dword [ebp - 0xc0], eax
mov ecx, dword [ebp - 0xc0]
mov dword [ebp - 0xc4], ecx
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0xc4]
push edx
lea ecx, [ebp + 8]
call fcn.00408720
mov ecx, eax
call fcn.00401eb0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
neg eax
sbb eax, eax
add eax, 1
mov byte [ebp - 0x8a], al
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xa8]
call fcn.00401100
movzx eax, byte [ebp - 0x8a]
test eax, eax
je 0x424d4d
mov byte [ebp - 0xa9], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.00427ce0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00401100
mov al, byte [ebp - 0xa9]
jmp 0x424d82
lea ecx, [ebp - 0x30]
call fcn.00429e80
jmp 0x424c98
mov byte [ebp - 0xaa], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.00427ce0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00401100
mov al, byte [ebp - 0xaa]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x426eb0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x3c], 0
push 0x38
push 0
lea eax, [ebp - 0x38]
push eax
call fcn.0047c710
add esp, 0xc
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x30], 0x4a4584
mov ecx, dword [ebp + 8]
call fcn.00401eb0
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], 0x4a4590
mov ecx, dword [ebp - 0x54]
add ecx, 0xb8
call fcn.00401eb0
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x38], 0x40
lea ecx, [ebp - 0x3c]
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x426f24
xor al, al
jmp 0x426fb5
push 0
push 0
push 0x12
mov edx, dword [ebp - 0x54]
add edx, 0xe0
sub esp, 8
mov ecx, esp
mov dword [ebp - 0x4c], esp
push edx
call fcn.004286e0
mov dword [ebp - 0x58], eax
call fcn.00443bb0
add esp, 8
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
push eax
call dword [sym.imp.USER32.dll_PostThreadMessageW]
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x54]
add ecx, 0xe8
call fcn.00409880
push 0
lea edx, [ebp - 0x3c]
push edx
call fcn.00410f20
add esp, 8
push eax
lea ecx, [ebp - 0x48]
call fcn.00426fc0
lea eax, [ebp - 0x48]
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x44]
push ecx
lea ecx, [ebp - 0x40]
call fcn.00426fe0
push 0xffffffffffffffff
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
neg eax
sbb eax, eax
add eax, 1
mov byte [ebp - 0x4d], al
lea ecx, [ebp - 0x40]
call fcn.00427000
mov al, byte [ebp - 0x4d]
mov esp, ebp
pop ebp
ret 4
Function at 0x42b220
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4988c8
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x4bfa48]
xor eax, ebp
mov dword [ebp - 0x18], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x68], ecx
mov eax, dword [ebp - 0x68]
cmp dword [eax + 0x3c], 0
je 0x42b260
mov ecx, dword [ebp - 0x68]
movzx edx, byte [ecx + 0x41]
test edx, edx
jne 0x42b26c
mov al, 1
jmp 0x42b40f
mov dword [ebp - 0x10], 8
call fcn.004383d0
push eax
mov eax, dword [ebp - 0x68]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x68]
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 0x3c], eax
call fcn.004383d0
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x40]
push edx
call fcn.004383b0
add esp, 8
movzx eax, al
test eax, eax
je 0x42b2af
xor al, al
jmp 0x42b40f
push 0
push 8
lea ecx, [ebp - 0x34]
call fcn.0043e310
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x48]
push edx
lea ecx, [ebp - 0x34]
call fcn.00439850
mov ecx, eax
call fcn.0043f1f0
mov esi, eax
lea ecx, [ebp - 0x34]
call fcn.00440c40
add esi, eax
push esi
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x34]
call fcn.00439850
mov ecx, eax
call fcn.0043f1f0
push eax
mov ecx, dword [ebp - 0x68]
add ecx, 0x44
push ecx
mov edx, dword [ebp - 0x68]
mov ecx, dword [edx + 0x3c]
call fcn.0042c530
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0
je 0x42b32a
cmp dword [ebp - 0x6c], 1
je 0x42b331
cmp dword [ebp - 0x6c], 3
je 0x42b3cb
jmp 0x42b3e3
mov eax, dword [ebp - 0x68]
mov byte [eax + 0x41], 0
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x34]
call fcn.00439850
mov ecx, eax
call fcn.0043f1f0
mov edx, dword [ebp - 0x14]
sub edx, eax
mov dword [ebp - 0x38], edx
je 0x42b394
mov eax, dword [ebp - 0x68]
mov ecx, dword [eax + 0x4c]
push ecx
mov edx, dword [ebp - 0x38]
push edx
push 1
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x34]
call fcn.00439850
mov ecx, eax
call fcn.0043f1f0
push eax
call fcn.0047d297
add esp, 0x10
cmp dword [ebp - 0x38], eax
je 0x42b394
mov byte [ebp - 0x61], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.004028c0
mov al, byte [ebp - 0x61]
jmp 0x42b40f
mov ecx, dword [ebp - 0x68]
movzx edx, byte [ecx + 0x41]
test edx, edx
jne 0x42b3b7
mov byte [ebp - 0x62], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.004028c0
mov al, byte [ebp - 0x62]
jmp 0x42b40f
cmp dword [ebp - 0x38], 0
jne 0x42b3c9
push 0
push 8
lea ecx, [ebp - 0x34]
call fcn.0043b3f0
jmp 0x42b3fb
mov byte [ebp - 0x63], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.004028c0
mov al, byte [ebp - 0x63]
jmp 0x42b40f
mov byte [ebp - 0x64], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.004028c0
mov al, byte [ebp - 0x64]
jmp 0x42b40f
jmp 0x42b2c2
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0047beb8
mov esp, ebp
pop ebp
ret
Function at 0x43be30
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0x20], ecx
mov byte [ebp - 1], 1
mov ecx, dword [ebp - 0x20]
call fcn.0043cac0
movzx eax, al
test eax, eax
je 0x43be9e
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x10], edx
mov ecx, dword [ebp - 0x20]
add ecx, 4
call fcn.0043bf50
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0xfffffffe
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x20]
add ecx, 4
call fcn.0043bf50
push eax
push 0x4e
lea ecx, [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 0x20]
add ecx, 4
call fcn.004065c0
mov ecx, eax
call fcn.00413c20
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x43bf3c
mov ecx, dword [ebp - 0x20]
call fcn.00420990
movzx edx, al
test edx, edx
je 0x43beec
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 4]
push ecx
mov ecx, dword [ebp - 0x20]
add ecx, 4
call fcn.0043bf50
and eax, 0xffff
movzx edx, ax
push edx
push 0x111
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x20]
add ecx, 4
call fcn.004065c0
mov ecx, eax
call fcn.00413c20
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x43bf3c
push 1
push 0
push 0
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 0x28]
push edx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 0x14], eax
mov eax, 0x20
cmp eax, dword [ebp - 0x14]
sbb ecx, ecx
neg ecx
mov byte [ebp - 1], cl
movzx edx, byte [ebp - 1]
test edx, edx
je 0x43bf3c
mov eax, dword [ebp - 0x20]
mov cl, byte [eax + 0x58]
or cl, 2
mov edx, dword [ebp - 0x20]
mov byte [edx + 0x58], cl
push 1
mov ecx, dword [ebp - 0x20]
add ecx, 4
call fcn.0043af20
mov al, byte [ebp - 1]
mov esp, ebp
pop ebp
ret

Function at 0x443950
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 8]
add ecx, 4
call fcn.00417420
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0
mov ecx, dword [ebp - 8]
push ecx
push 0x443ae0
push 0
push 0
call fcn.0047df75
add esp, 0x18
mov edx, dword [ebp - 8]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 8]
add ecx, 4
call fcn.00417510
movzx eax, al
test eax, eax
jne 0x4439a2
xor al, al
jmp 0x4439ad
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov dword [ecx + 0x1c], edx
mov al, 1
mov esp, ebp
pop ebp
ret

Function at 0x443a30
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
test eax, eax
je 0x443a6a
push 0xffffffffffffffff
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x443a6a
mov dword [ebp - 8], 1
jmp 0x443a71
mov dword [ebp - 8], 0
mov al, byte [ebp - 8]
mov esp, ebp
pop ebp
ret 4
Function at 0x444690
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xffffffffffffffff
push 0x49a116
mov eax, dword fs:[0]
push eax
sub esp, 0xf8
push esi
push edi
mov eax, dword [0x4bfa48]
xor eax, esp
push eax
lea eax, [esp + 0x104]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esp + 0x118]
mov ecx, dword [esp + 0x114]
mov edx, dword [esi]
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x444709
push 1
push str.mailru::resource::read
push str..Resource.cpp
push 0x18
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [esp + 0x50]
call fcn.0040b230
push 0x4af66c
lea eax, [esp + 0x40]
push eax
call fcn.0047c0b1
mov ecx, dword [esi]
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [esp + 0xc], eax
test eax, eax
jne 0x444748
push 1
push str.mailru::resource::read
push str..Resource.cpp
push 0x1d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [esp + 0x50]
call fcn.0040b230
push 0x4af66c
lea edx, [esp + 0x40]
push edx
call fcn.0047c0b1
lea ecx, [esp + 0xc]
lea eax, [esp + 0x1c]
call fcn.00445cf0
mov ecx, eax
lea eax, [esp + 0x14]
call fcn.00445cf0
mov eax, dword [esi]
push edi
push eax
mov dword [esp + 0x114], 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
test esi, esi
jne 0x4447a8
push 1
push str.mailru::resource::read
push str..Resource.cpp
push 0x24
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [esp + 0x50]
call fcn.0040b230
push 0x4af66c
lea ecx, [esp + 0x40]
push ecx
call fcn.0047c0b1
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [esp + 0x10], eax
test eax, eax
jne 0x4447ee
push 1
push str.mailru::resource::read
push str..Resource.cpp
push 0x29
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [esp + 0xb4]
call fcn.0040b230
push 0x4af66c
lea eax, [esp + 0xa4]
push eax
call fcn.0047c0b1
lea ecx, [esp + 0x10]
lea eax, [esp + 0x18]
call fcn.00445cf0
mov ecx, eax
lea eax, [esp + 0x20]
call fcn.00445cf0
push esi
lea ecx, [esp + 0x28]
call fcn.004443d0
mov ecx, dword [esp + 0x34]
sub ecx, dword [esp + 0x30]
mov byte [esp + 0x10c], 1
jne 0x444827
call fcn.0047c0a1
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x30]
push esi
push edx
push eax
call fcn.0047e1e0
add esp, 0xc
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x120]
call fcn.00444440
lea ecx, [esp + 0x24]
call fcn.00467620
lea eax, [esp + 0x14]
call fcn.00443ee0
mov ecx, dword [esp + 0x104]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x104
ret 0xc
Function at 0x445ab0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x49a3cb
mov eax, dword fs:[0]
push eax
sub esp, 0x80
push ebx
push esi
mov eax, dword [0x4bfa48]
xor eax, esp
push eax
lea eax, [esp + 0x8c]
mov dword fs:[0], eax
xor ebx, ebx
push 0x208
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], ebx
call fcn.0040b590
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 0x1c]
mov dword [esp + 0x94], ebx
sar eax, 1
jne 0x445b07
call fcn.0047c0a1
mov edx, dword [esp + 0xa0]
mov eax, dword [esp + 0x1c]
xor ecx, ecx
cmp byte [esp + 0xa4], bl
setne cl
push ecx
push edx
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x445b59
push 1
push str.mailru::path::special
push str..Path.cpp
push 0x41
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [esp + 0x3c]
call fcn.0040b230
push 0x4af66c
lea ecx, [esp + 0x2c]
push ecx
call fcn.0047c0b1
mov edx, dword [esp + 0x20]
sub edx, dword [esp + 0x1c]
sar edx, 1
jne 0x445b6a
call fcn.0047c0a1
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x9c]
push eax
mov ecx, esi
call fcn.00401070
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x445b8e
push eax
call fcn.0047bac7
add esp, 4
mov ecx, dword [esp + 0x10]
push ecx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
call fcn.0047bac7
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x8c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x8c
ret
Function at 0x446300
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x49a58f
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4bfa48]
xor eax, esp
push eax
lea eax, [esp + 0x54]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x18], esi
xor ebx, ebx
mov dword [esp + 0x14], ebx
lea ebp, [ebx + 1]
cmp dword [esp + 0x74], ebx
je 0x446362
mov dword [esi + 0xc], 0x4a2bb8
mov dword [esi + 0x4c], vtable.boost::exception.0
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], 0xffffffff
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x14], ebp
mov edi, dword [sym.imp.KERNEL32.dll_GetACP]
call edi
push eax
mov eax, dword [esp + 0x68]
push eax
lea ecx, [esp + 0x40]
push ecx
call fcn.004027b0
push eax
lea edx, [esp + 0x2c]
push edx
mov dword [esp + 0x70], ebp
call fcn.00445d10
add esp, 0x14
mov ebp, 0x10
mov byte [esp + 0x5c], 2
cmp dword [eax + 0x18], ebp
jb 0x4463a0
mov eax, dword [eax + 4]
jmp 0x4463a3
add eax, 4
lea ecx, [esp + 0x74]
push ecx
mov ecx, esi
mov dword [esp + 0x78], eax
call fcn.0047c1c4
cmp dword [esp + 0x34], ebp
jb 0x4463c6
mov edx, dword [esp + 0x20]
push edx
call fcn.0047bac7
add esp, 4
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
mov byte [esp + 0x5c], 5
cmp dword [esp + 0x50], ebp
jb 0x4463ee
mov eax, dword [esp + 0x3c]
push eax
call fcn.0047bac7
add esp, 4
mov ecx, dword [esi + 0xc]
mov eax, dword [esp + 0x68]
mov dword [esi], vtable.mailru::exception.0
mov edx, dword [ecx + 4]
mov dword [edx + esi + 0xc], vtable.mailru::exception.1.0
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
mov dword [esi + 0x10], eax
call edi
mov ecx, dword [esp + 0x6c]
push ecx
lea edx, [esi + 0x14]
push edx
lea ecx, [esp + 0x6c]
mov dword [esp + 0x6c], eax
call fcn.00446110
mov byte [esp + 0x5c], 6
call edi
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x70]
push eax
lea ecx, [esi + 0x30]
push ecx
lea ecx, [esp + 0x7c]
call fcn.00446110
mov eax, esi
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret 0x14
Function at 0x4485b0
Capabilities:
Hash data with crc32

Disassembly:
xor edx, edx
add ecx, 0x24
mov eax, edx
shr eax, 1
test dl, 1
je 0x4485c3
xor eax, 0xedb88320
test al, 1
je 0x4485d0
shr eax, 1
xor eax, 0xedb88320
jmp 0x4485d2
shr eax, 1
test al, 1
je 0x4485df
shr eax, 1
xor eax, 0xedb88320
jmp 0x4485e1
shr eax, 1
test al, 1
je 0x4485ee
shr eax, 1
xor eax, 0xedb88320
jmp 0x4485f0
shr eax, 1
test al, 1
je 0x4485fd
shr eax, 1
xor eax, 0xedb88320
jmp 0x4485ff
shr eax, 1
test al, 1
je 0x44860c
shr eax, 1
xor eax, 0xedb88320
jmp 0x44860e
shr eax, 1
test al, 1
je 0x44861b
shr eax, 1
xor eax, 0xedb88320
jmp 0x44861d
shr eax, 1
test al, 1
je 0x44862a
shr eax, 1
xor eax, 0xedb88320
jmp 0x44862c
shr eax, 1
mov dword [ecx], eax
inc edx
add ecx, 4
cmp edx, 0x100
jb 0x4485b5
ret

Function at 0x448640
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0xc]
mov eax, dword [edi]
test edx, edx
jbe 0x44866d
push ebx
push ebp
movzx ebx, byte [esi]
movzx ebp, al
xor ebx, ebp
shr eax, 8
xor eax, dword [ecx + ebx*4 + 0x24]
dec edx
inc esi
test edx, edx
ja 0x448656
pop ebp
pop ebx
mov dword [edi], eax
pop edi
pop esi
ret 0xc