joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40e350
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4666dc
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x482410]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x64], 0
push 0x40
push 0
lea eax, [ebp - 0x60]
push eax
call fcn.0044e560
add esp, 0xc
mov dword [ebp - 0x64], 0x44
lea ecx, [ebp - 0x64]
push ecx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov dword [ebp - 0x1c], 0
xor edx, edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], edx
lea eax, [ebp - 0x84]
push eax
mov ecx, dword [ebp + 8]
call fcn.00413650
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
lea eax, [ebp - 0x8c]
push eax
mov ecx, dword [ebp + 8]
call fcn.00413620
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
lea ecx, [ebp - 0x7c]
call fcn.00410a20
mov dword [ebp - 4], 0
xor eax, eax
mov word [ebp - 0x8e], ax
lea ecx, [ebp - 0x8e]
push ecx
lea ecx, [ebp - 0x7c]
call fcn.0040eee0
mov ecx, dword [ebp + 0xc]
call fcn.00401340
movzx edx, al
test edx, edx
jne 0x40e424
mov ecx, dword [ebp + 0xc]
call fcn.00401ed0
mov dword [ebp - 0x94], eax
jmp 0x40e42e
mov dword [ebp - 0x94], 0
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x64]
push ecx
mov edx, dword [ebp - 0x94]
push edx
push 0
mov eax, dword [ebp + 0x14]
push eax
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x7c]
call fcn.0040aae0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x40e47e
mov byte [ebp - 0x8f], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x7c]
call fcn.0040aa60
mov al, byte [ebp - 0x8f]
jmp 0x40e4c8
cmp dword [ebp + 0x10], 0
jne 0x40e492
lea ecx, [ebp - 0x1c]
push ecx
call fcn.0040e4e0
add esp, 4
jmp 0x40e4ac
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x1c]
mov dword [edx], eax
mov ecx, dword [ebp - 0x18]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x14]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0x10]
mov dword [edx + 0xc], ecx
mov byte [ebp - 0x90], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x7c]
call fcn.0040aa60
mov al, byte [ebp - 0x90]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x40e500
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 0x14], 0
xor eax, eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 0x14]
push ecx
lea edx, [ebp - 0x14]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0040e350
add esp, 0x10
movzx edx, al
test edx, edx
jne 0x40e53e
xor al, al
jmp 0x40e5c8
push 0
lea eax, [ebp - 0x14]
push eax
call fcn.0042d370
add esp, 8
push eax
lea ecx, [ebp - 0x20]
call fcn.0040e5d0
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
push edx
lea ecx, [ebp - 4]
call fcn.0040e5f0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
neg eax
sbb eax, eax
add eax, 1
mov byte [ebp - 0x15], al
movzx edx, byte [ebp - 0x15]
test edx, edx
jne 0x40e59b
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x40e59b
push 0
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
movzx edx, byte [ebp - 0x15]
test edx, edx
je 0x40e5b7
cmp dword [ebp + 0x1c], 0
je 0x40e5b7
mov eax, dword [ebp + 0x1c]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov dl, byte [ebp - 0x15]
mov byte [ebp - 0x21], dl
lea ecx, [ebp - 4]
call fcn.0040e610
mov al, byte [ebp - 0x21]
mov esp, ebp
pop ebp
ret
Function at 0x40e980
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4667ea
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x482410]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x80], ecx
mov ecx, dword [ebp - 0x80]
call fcn.0040ef60
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
call fcn.00401340
movzx eax, al
test eax, eax
je 0x40e9ce
jmp 0x40eaf6
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00401ed0
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
jne 0x40e9f6
jmp 0x40eaf6
push 0
lea edx, [ebp - 0x40]
push edx
call fcn.0042d370
add esp, 8
push eax
lea ecx, [ebp - 0x10]
call fcn.0040eb20
lea eax, [ebp - 0x10]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
push ecx
lea ecx, [ebp - 0x38]
call fcn.0040eb40
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x14]
push edx
mov ecx, dword [ebp - 0x80]
call fcn.0040f2c0
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x7c]
push edx
call fcn.004429c0
add esp, 8
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x88], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x88]
call fcn.0040ab30
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x7c]
call fcn.00418190
mov dword [ebp - 0x44], 0
jmp 0x40ea82
mov ecx, dword [ebp - 0x44]
add ecx, 1
mov dword [ebp - 0x44], ecx
mov edx, dword [ebp - 0x44]
cmp edx, dword [ebp - 0x14]
jge 0x40eade
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x40]
mov edx, dword [ecx + eax*4]
push edx
lea ecx, [ebp - 0x60]
call fcn.00401ef0
mov byte [ebp - 4], 5
cmp dword [ebp - 0x44], 0
jne 0x40eac4
lea ecx, [ebp - 0x60]
call fcn.00401ed0
push eax
lea ecx, [ebp - 0x34]
call fcn.00401ed0
push eax
call fcn.0044e9db
add esp, 8
test eax, eax
je 0x40ead0
lea eax, [ebp - 0x60]
push eax
mov ecx, dword [ebp - 0x80]
call fcn.0040f510
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x60]
call fcn.00401100
jmp 0x40ea79
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x34]
call fcn.00401100
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x38]
call fcn.0040eb60
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x80]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0044dd38
mov esp, ebp
pop ebp
ret 8
Function at 0x412340
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x482410]
xor eax, ebp
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x230], ecx
lea ecx, [ebp - 0x14]
call fcn.0040a560
mov eax, dword [ebp - 0x230]
mov ecx, dword [eax + 4]
or ecx, 0x2001f
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x230]
mov ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00412450
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4123ab
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x224], edx
lea ecx, [ebp - 0x14]
call fcn.0040a590
mov eax, dword [ebp - 0x224]
jmp 0x41243c
mov dword [ebp - 4], 0x100
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push 0
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 0x220]
push edx
push 0
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x412411
lea ecx, [ebp - 0x220]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00412340
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x412408
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x228], edx
lea ecx, [ebp - 0x14]
call fcn.0040a590
mov eax, dword [ebp - 0x228]
jmp 0x41243c
mov dword [ebp - 4], 0x100
jmp 0x4123b2
lea ecx, [ebp - 0x14]
call fcn.0040a5b0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x230]
call fcn.00412310
mov dword [ebp - 0x22c], eax
lea ecx, [ebp - 0x14]
call fcn.0040a590
mov eax, dword [ebp - 0x22c]
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0044dd38
mov esp, ebp
pop ebp
ret 4
Function at 0x41c8e0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
xor eax, eax
jne 0x41c8e9
xor ecx, ecx
jne 0x41c8e9
xor edx, edx
cmp dword [ebp + 0xc], 0
setne dl
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 0
jne 0x41c90a
mov eax, 0xd
jmp 0x41c965
xor eax, eax
jne 0x41c8f1
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 0x41c91b
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 0x421830
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x468134
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x98
push ebx
push esi
push edi
mov eax, dword [0x482410]
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.00408e40
mov byte [ebp - 0x85], al
movzx ecx, byte [ebp - 0x85]
test ecx, ecx
jne 0x4219c3
mov ecx, dword [ebp - 0x84]
add ecx, 0xb8
call fcn.00401340
mov byte [ebp - 0x86], al
movzx edx, byte [ebp - 0x86]
test edx, edx
jne 0x4219c3
mov eax, dword [ebp - 0x84]
add eax, 0xb8
push eax
lea ecx, [ebp - 0x48]
push ecx
call fcn.004217f0
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.0040a980
mov dword [ebp - 0x94], eax
mov byte [ebp - 4], 0xc
push 1
lea ecx, [ebp - 0x2c]
push ecx
call fcn.0040dba0
add esp, 8
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x2c]
call fcn.00418190
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.004217f0
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.004217f0
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.00401ed0
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 0x4219d2
mov dword [ebp - 4], 9
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x84]
add ecx, 0x12c
call fcn.00418190
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.00408cb0
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x84]
add ecx, 0xe0
call fcn.00416ac0
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x84]
add ecx, 0xd8
call fcn.00414210
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.00416320
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x84]
call fcn.00416280
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 0x421f40
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x468226
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x482410]
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.0040c780
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.0044e560
add esp, 0xc
cmp dword [ebp - 0x228], 0
jl 0x422002
lea ecx, [ebp - 0x21c]
push ecx
mov edx, dword [ebp - 0x224]
push edx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x422002
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x220]
call fcn.0040c860
lea ecx, [ebp - 0x220]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0040c7a0
mov edx, dword [ebp - 0x22c]
or edx, 1
mov dword [ebp - 0x22c], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x220]
call fcn.0040c840
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.0044dd38
mov esp, ebp
pop ebp
ret 8
Function at 0x422dd0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x468476
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
mov eax, dword [0x482410]
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.00427c00
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.00401340
movzx eax, al
test eax, eax
jne 0x422f38
push 0
lea ecx, [ebp + 8]
call fcn.00401ed0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x422e4c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xb7
jne 0x422e56
jmp 0x422f38
cmp dword [ebp - 0x34], 3
jne 0x422f06
lea ecx, [ebp + 8]
push ecx
lea ecx, [ebp - 0x50]
call fcn.0040a980
mov byte [ebp - 4], 2
lea edx, [ebp - 0x50]
push edx
lea eax, [ebp - 0x6c]
push eax
call fcn.00423040
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.00427c60
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x6c]
call fcn.00401100
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x50]
call fcn.00418190
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x88]
push ecx
call fcn.004217f0
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.00407f20
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x88]
call fcn.00401100
jmp 0x422f33
mov byte [ebp - 0x89], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.00425c40
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00401100
mov al, byte [ebp - 0x89]
jmp 0x423022
jmp 0x422e12
lea ecx, [ebp - 0x30]
call fcn.00427c20
movzx ecx, al
test ecx, ecx
jne 0x422ffa
push 0
lea ecx, [ebp - 0x30]
call fcn.00427c40
push eax
lea edx, [ebp + 8]
push edx
lea eax, [ebp - 0xa8]
push eax
call fcn.00421610
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.00407f20
mov ecx, eax
call fcn.00401ed0
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 0x422fed
mov byte [ebp - 0xa9], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.00425c40
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00401100
mov al, byte [ebp - 0xa9]
jmp 0x423022
lea ecx, [ebp - 0x30]
call fcn.00427c80
jmp 0x422f38
mov byte [ebp - 0xaa], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.00425c40
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 0x425160
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x40], 0
push 0x38
push 0
lea eax, [ebp - 0x3c]
push eax
call fcn.0044e560
add esp, 0xc
mov dword [ebp - 0x40], 0x3c
mov dword [ebp - 0x34], str.open
mov ecx, dword [ebp + 8]
call fcn.00401ed0
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0x46fb10
mov ecx, dword [ebp - 0x54]
add ecx, 0xb8
call fcn.00401ed0
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], 1
mov dword [ebp - 0x3c], 0x40
lea ecx, [ebp - 0x40]
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x4251d4
xor al, al
jmp 0x425265
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.00426590
mov dword [ebp - 0x58], eax
call fcn.004409f0
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.00409020
push 0
lea edx, [ebp - 0x40]
push edx
call fcn.0042d370
add esp, 8
push eax
lea ecx, [ebp - 4]
call fcn.00425270
lea eax, [ebp - 4]
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x48]
push ecx
lea ecx, [ebp - 0x44]
call fcn.00425290
push 0xffffffffffffffff
mov edx, dword [ebp - 8]
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 - 0x44]
call fcn.004252b0
mov al, byte [ebp - 0x4d]
mov esp, ebp
pop ebp
ret 4
Function at 0x428fe0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x469088
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x482410]
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 0x429020
mov ecx, dword [ebp - 0x68]
movzx edx, byte [ecx + 0x41]
test edx, edx
jne 0x42902c
mov al, 1
jmp 0x4291cf
mov dword [ebp - 0x10], 8
call fcn.004379d0
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.004379d0
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x40]
push edx
call fcn.00436dc0
add esp, 8
movzx eax, al
test eax, eax
je 0x42906f
xor al, al
jmp 0x4291cf
push 0
push 8
lea ecx, [ebp - 0x34]
call fcn.0043ba60
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x48]
push edx
lea ecx, [ebp - 0x34]
call fcn.00437e00
mov ecx, eax
call fcn.0043c960
mov esi, eax
lea ecx, [ebp - 0x34]
call fcn.00401d70
add esi, eax
push esi
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x34]
call fcn.00437e00
mov ecx, eax
call fcn.0043c960
push eax
mov ecx, dword [ebp - 0x68]
add ecx, 0x44
push ecx
mov edx, dword [ebp - 0x68]
mov ecx, dword [edx + 0x3c]
call fcn.0042a2f0
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0
je 0x4290ea
cmp dword [ebp - 0x6c], 1
je 0x4290f1
cmp dword [ebp - 0x6c], 3
je 0x42918b
jmp 0x4291a3
mov eax, dword [ebp - 0x68]
mov byte [eax + 0x41], 0
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x34]
call fcn.00437e00
mov ecx, eax
call fcn.0043c960
mov edx, dword [ebp - 0x14]
sub edx, eax
mov dword [ebp - 0x38], edx
je 0x429154
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.00437e00
mov ecx, eax
call fcn.0043c960
push eax
call fcn.0044f114
add esp, 0x10
cmp dword [ebp - 0x38], eax
je 0x429154
mov byte [ebp - 0x61], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.004027c0
mov al, byte [ebp - 0x61]
jmp 0x4291cf
mov ecx, dword [ebp - 0x68]
movzx edx, byte [ecx + 0x41]
test edx, edx
jne 0x429177
mov byte [ebp - 0x62], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.004027c0
mov al, byte [ebp - 0x62]
jmp 0x4291cf
cmp dword [ebp - 0x38], 0
jne 0x429189
push 0
push 8
lea ecx, [ebp - 0x34]
call fcn.00439280
jmp 0x4291bb
mov byte [ebp - 0x63], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.004027c0
mov al, byte [ebp - 0x63]
jmp 0x4291cf
mov byte [ebp - 0x64], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.004027c0
mov al, byte [ebp - 0x64]
jmp 0x4291cf
jmp 0x429082
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0044dd38
mov esp, ebp
pop ebp
ret
Function at 0x440790
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.00410090
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0
mov ecx, dword [ebp - 8]
push ecx
push 0x440920
push 0
push 0
call fcn.0044fd24
add esp, 0x18
mov edx, dword [ebp - 8]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 8]
add ecx, 4
call fcn.00416bd0
movzx eax, al
test eax, eax
jne 0x4407e2
xor al, al
jmp 0x4407ed
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 0x440870
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 0x4408aa
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 0x4408aa
mov dword [ebp - 8], 1
jmp 0x4408b1
mov dword [ebp - 8], 0
mov al, byte [ebp - 8]
mov esp, ebp
pop ebp
ret 4
Function at 0x441700
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xffffffffffffffff
push 0x46a8f6
mov eax, dword fs:[0]
push eax
sub esp, 0xc8
push esi
push edi
mov eax, dword [0x482410]
xor eax, esp
push eax
lea eax, [esp + 0xd4]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esp + 0xe8]
mov ecx, dword [esp + 0xe4]
mov edx, dword [esi]
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x441777
push str.mailru::resource::read
push str..Resource.cpp
push 0x18
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [esp + 0x4c]
call fcn.0040a820
push 0x477600
lea eax, [esp + 0x40]
push eax
call fcn.0044df31
mov ecx, dword [esi]
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [esp + 0xc], eax
test eax, eax
jne 0x4417b4
push str.mailru::resource::read
push str..Resource.cpp
push 0x1d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [esp + 0x4c]
call fcn.0040a820
push 0x477600
lea edx, [esp + 0x40]
push edx
call fcn.0044df31
lea ecx, [esp + 0xc]
lea eax, [esp + 0x1c]
call fcn.004427d0
mov ecx, eax
lea eax, [esp + 0x14]
call fcn.004427d0
mov eax, dword [esi]
push edi
push eax
mov dword [esp + 0xe4], 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
test esi, esi
jne 0x441812
push str.mailru::resource::read
push str..Resource.cpp
push 0x24
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [esp + 0x4c]
call fcn.0040a820
push 0x477600
lea ecx, [esp + 0x40]
push ecx
call fcn.0044df31
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [esp + 0x10], eax
test eax, eax
jne 0x441856
push str.mailru::resource::read
push str..Resource.cpp
push 0x29
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [esp + 0x98]
call fcn.0040a820
push 0x477600
lea eax, [esp + 0x8c]
push eax
call fcn.0044df31
lea ecx, [esp + 0x10]
lea eax, [esp + 0x18]
call fcn.004427d0
mov ecx, eax
lea eax, [esp + 0x20]
call fcn.004427d0
push esi
lea ecx, [esp + 0x28]
call fcn.00441440
mov ecx, dword [esp + 0x34]
sub ecx, dword [esp + 0x30]
mov byte [esp + 0xdc], 1
jne 0x44188f
call fcn.0044df21
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x30]
push esi
push edx
push eax
call fcn.0044ff90
add esp, 0xc
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [esp + 0xf0]
call fcn.004414b0
lea ecx, [esp + 0x24]
call fcn.00426500
lea eax, [esp + 0x14]
call fcn.00440cc0
mov ecx, dword [esp + 0xd4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xd4
ret 0xc