joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41d8a0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x44afbe
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.00415540
mov dword [esi + 4], eax
mov byte [eax + 0x45], 1
mov eax, dword [esi + 4]
mov dword [eax + 4], eax
mov eax, dword [esi + 4]
mov dword [eax], eax
mov eax, dword [esi + 4]
xor ebx, ebx
mov dword [eax + 8], eax
mov dword [esi + 8], ebx
lea edi, [esi + 0xc]
mov ecx, edi
mov dword [esp + 0x18], ebx
call fcn.00415540
mov dword [edi + 4], eax
mov byte [eax + 0x45], 1
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov dword [edi + 8], ebx
mov dword [esi + 0x30], 0xf
mov dword [esi + 0x2c], ebx
mov byte [esi + 0x1c], bl
lea edi, [esi + 0x34]
mov ecx, edi
mov byte [esp + 0x18], 2
call fcn.00415470
mov ecx, dword [esp + 0x10]
mov dword [edi + 4], eax
mov dword [edi + 8], ebx
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x41f5f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x44b1e0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push ebx
push ebp
push esi
push edi
push 0xa
mov ebp, ecx
xor ebx, ebx
push str.ReturnCode
lea ecx, [esp + 0x38]
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
call fcn.00401ab0
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x14]
lea esi, [ebp + 0x94]
push ecx
mov ecx, esi
mov dword [esp + 0x5c], ebx
call fcn.00417830
mov ecx, dword [esi + 4]
mov eax, dword [esp + 0x10]
lea edi, [esi + 0xc]
cmp eax, ecx
mov ecx, edi
jne 0x41f668
push ebx
push 0x44e532
call fcn.00401ab0
jmp 0x41f679
mov eax, dword [eax + 0x2c]
mov eax, dword [eax]
push 0xffffffffffffffff
add eax, 8
push ebx
push eax
call fcn.004019c0
cmp dword [esp + 0x48], 0x10
mov dword [esp + 0x54], 0xffffffff
jb 0x41f695
mov edx, dword [esp + 0x34]
push edx
call fcn.0043c389
add esp, 4
cmp dword [edi + 0x14], ebx
jne 0x41f6b7
pop edi
pop esi
mov dword [ebp + 0x2d0], 0xfffffff5
pop ebp
pop ebx
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
add esp, 0x48
ret
push edi
call fcn.0041d710
mov eax, dword [edi + 0x14]
add esp, 4
push 1
push 0x44f9f4
push eax
push ebx
mov ecx, edi
call fcn.00414c80
test eax, eax
jne 0x41f780
push 0xe
push 0x44dd54
lea ecx, [esp + 0x1c]
mov dword [ebp + 0x2d0], 0x19
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
call fcn.00401ab0
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
mov dword [esp + 0x58], 1
call fcn.00418130
mov esi, eax
mov eax, dword [esp + 0x2c]
mov edi, 0x10
cmp eax, edi
mov dword [esp + 0x54], 0xffffffff
jb 0x41f73d
mov edx, dword [esp + 0x18]
push edx
call fcn.0043c389
add esp, 4
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
cmp dword [esi + 0x18], edi
mov eax, dword [esi + 0x14]
jb 0x41f75a
mov esi, dword [esi + 4]
jmp 0x41f75d
add esi, 4
push ebx
push eax
push esi
push 0xc
lea ecx, [ebp + 0x274]
call fcn.0040d8f0
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
add esp, 0x48
ret
mov eax, dword [edi + 0x14]
push 1
push 0x44fbec
push eax
push ebx
mov ecx, edi
call fcn.00414c80
test eax, eax
jne 0x41f7c4
push ebx
push ebx
push ebx
push 0xb
lea ecx, [ebp + 0x274]
mov dword [ebp + 0x2d0], 0x18
call fcn.0040d8f0
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
add esp, 0x48
ret
cmp dword [edi + 0x18], 0x10
jb 0x41f7cf
mov edi, dword [edi + 4]
jmp 0x41f7d2
add edi, 4
push edi
call fcn.0043df72
mov ecx, dword [esp + 0x50]
add esp, 4
pop edi
pop esi
mov dword [ebp + 0x2d0], eax
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x48
ret
Function at 0x423620
Capabilities:
Get file size
Read file on windows

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
mov ebx, ecx
mov eax, dword [ebx + 0x9c]
xor esi, esi
cmp eax, esi
push edi
je 0x423644
push eax
call fcn.0043c389
add esp, 4
mov dword [ebx + 0x9c], esi
mov edi, dword [esp + 0x1c]
mov ebp, dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [esp + 0x10], esi
push 0
push 0
push 3
push 0
push 0
push closesocket
push edi
call ebp
mov esi, eax
cmp esi, 0xffffffff
jne 0x42368d
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esp + 0x10]
inc eax
cmp eax, 0xa
mov dword [esp + 0x10], eax
jl 0x423652
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 8
ret 4
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push eax
mov dword [ebx + 0xa0], eax
mov dword [esp + 0x18], 0
call fcn.0043bc93
mov ecx, dword [ebx + 0xa0]
mov edx, ecx
mov edi, eax
shr ecx, 2
mov dword [ebx + 0x9c], edi
xor eax, eax
rep stosd dword es:[edi], eax
add esp, 4
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [ebx + 0xa0]
mov edx, dword [ebx + 0x9c]
push 0
lea eax, [esp + 0x18]
push eax
push ecx
push edx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
push esi
jne 0x4236fe
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 8
ret 4
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, ebx
call fcn.00423300
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 8
ret 4
Function at 0x4267c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44b856
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24c
push ebx
push ebp
push esi
xor ebx, ebx
push edi
mov dword [esp + 0x14], ecx
xor ebp, ebp
lea ecx, [ecx]
xor eax, eax
mov ecx, 0x82
lea edi, [esp + 0x50]
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0x44f258]
push ebx
push eax
lea ecx, [esp + 0x58]
push ecx
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
je 0x42690a
mov edi, 0xf
lea eax, [esp + 0x50]
mov dword [esp + 0x4c], edi
mov dword [esp + 0x48], ebx
mov byte [esp + 0x38], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x426831
sub eax, edx
push eax
lea edx, [esp + 0x54]
push edx
lea ecx, [esp + 0x3c]
call fcn.00401ab0
mov ecx, dword [ebp + 0x45fd20]
mov eax, ecx
mov dword [esp + 0x264], ebx
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x426867
sub eax, esi
push eax
push ecx
lea ecx, [esp + 0x20]
call fcn.00401ab0
lea eax, [esp + 0x18]
push eax
mov byte [esp + 0x268], 1
call fcn.0041d710
lea ecx, [esp + 0x38]
push ecx
call fcn.0041d710
mov ecx, dword [esp + 0x1c]
add esp, 8
lea edx, [esp + 0x18]
push edx
add ecx, 4
call fcn.00423060
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x3c]
push ecx
mov ecx, eax
call fcn.004019c0
mov eax, dword [esp + 0x30]
mov esi, 0x10
cmp eax, esi
jb 0x4268d4
mov edx, dword [esp + 0x1c]
push edx
call fcn.0043c389
add esp, 4
cmp dword [esp + 0x4c], esi
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
mov dword [esp + 0x264], 0xffffffff
jb 0x4268fe
mov eax, dword [esp + 0x38]
push eax
call fcn.0043c389
add esp, 4
mov dword [esp + 0x4c], edi
mov dword [esp + 0x48], ebx
mov byte [esp + 0x38], bl
add ebp, 4
cmp ebp, 0x80
jb 0x4267f0
mov ecx, dword [esp + 0x25c]
pop edi
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x426e97
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x44b888
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.00415490
xor ebx, ebx
mov dword [esi + 4], eax
mov dword [esi + 8], ebx
lea edi, [esi + 0x10]
mov ecx, edi
mov dword [esp + 0x18], ebx
mov dword [esi + 0xc], 0xffffffff
call fcn.00415470
mov ecx, dword [esp + 0x10]
mov dword [edi + 4], eax
mov dword [edi + 8], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], 0xf
mov byte [esi + 0x20], bl
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x42c860
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x44c15e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x108
push esi
mov esi, ecx
mov dword [esp + 4], esi
mov eax, dword [esp + 0x11c]
mov edx, dword [esp + 0x124]
mov ecx, dword [esp + 0x120]
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x128]
mov dword [esi + 0x18], eax
mov eax, dword [esp + 0x134]
mov dword [esi + 0x10], ecx
mov ecx, dword [esp + 0x12c]
mov dword [esi + 0x14], edx
mov edx, dword [esp + 0x130]
mov dword [esi + 0x24], eax
mov eax, dword [esp + 0x140]
mov dword [esi + 0x1c], ecx
mov ecx, dword [esp + 0x138]
mov dword [esi + 0x20], edx
mov edx, dword [esp + 0x13c]
mov dword [esi + 0x30], eax
mov dword [esi], vtable.CUpdaterSink.0
mov dword [esi + 0x28], ecx
mov dword [esi + 0x2c], edx
xor eax, eax
mov dword [esi + 0x4c], 0xf
mov dword [esi + 0x48], eax
mov byte [esi + 0x38], al
mov ecx, 0x4620d0
mov dword [esp + 0x114], eax
call fcn.00404670
cmp dword [eax + 0x18], 0x10
jb 0x42c917
mov eax, dword [eax + 4]
jmp 0x42c91a
add eax, 4
push eax
lea ecx, [esp + 0xc]
push str._s_Sync_Appearance
push ecx
call fcn.0043ce7f
add esp, 0xc
lea edx, [esp + 8]
push edx
call dword [sym.imp.USER32.dll_RegisterWindowMessageA]
mov ecx, dword [esp + 0x10c]
mov dword [esi + 8], eax
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x114
ret 0x28

Function at 0x42ca90
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
call fcn.0040aaf0
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
mov ebx, dword [sym.imp.KERNEL32.dll_FindResourceA]
push 5
push edi
push esi
mov dword [esp + 0x20], 0xffffffff
call ebx
mov ebp, eax
test ebp, ebp
je 0x42cb74
push 0xf0
push edi
push esi
call ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LoadResource]
xor edi, edi
test eax, eax
je 0x42cae4
push eax
push esi
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push ebp
push esi
mov dword [esp + 0x18], 0
call ebx
test eax, eax
je 0x42cb4d
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x42cb4d
push edi
push ebx
call fcn.0040def0
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
add esp, 8
mov edi, eax
mov eax, dword [esp + 0x2c]
push eax
push ecx
push edx
push edi
push esi
call dword [sym.imp.USER32.dll_DialogBoxIndirectParamA]
mov esi, eax
test esi, esi
je 0x42cb2f
cmp esi, 0xffffffff
jne 0x42cb39
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x10], eax
cmp edi, ebx
je 0x42cb5b
push edi
call dword [sym.imp.KERNEL32.dll_GlobalHandle]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x42cb5b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [esp + 0x14]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x42cb6a
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x42cd40
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 4]
push 0
push ecx
call dword [sym.imp.USER32.dll_EndDialog]
xor eax, eax
pop esi
ret 0x10

Function at 0x42fc30
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 4]
push 0
push eax
mov byte [esi + 0x9c], 0
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0xc8]
push ecx
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
pop esi
je 0x42fc65
mov edx, dword [0x46236c]
push edx
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [0x4620a0]
push 1
push 0
push eax
push 0xffff
call dword [sym.imp.USER32.dll_PostMessageA]
xor eax, eax
ret 0x10

Function at 0x42fc88
Capabilities:
Hide graphical window

Disassembly:
cmp dword [esp + 8], 0xf060
push esi
mov esi, ecx
jne 0x42fcd9
mov eax, dword [esi + 4]
push 0
push eax
mov byte [esi + 0x9c], 0
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [0x4620a0]
push 1
push 0
push ecx
push 0xffff
call dword [sym.imp.USER32.dll_PostMessageA]
mov edx, dword [esi + 0xc8]
push edx
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x42fce3
mov eax, dword [0x46236c]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
xor eax, eax
pop esi
ret 0x10
mov ecx, dword [esp + 0x14]
mov dword [ecx], 0
xor eax, eax
pop esi
ret 0x10
Function at 0x433790
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
sub esp, 0x114
mov edx, dword [esp + 0x118]
push ebp
push esi
mov ebp, ecx
mov eax, dword [ebp]
lea ecx, [esp + 0x10]
push ecx
push 0x2001f
push 0
push edx
push eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x24], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x43389a
lea ecx, [esp + 8]
call fcn.00414530
mov esi, eax
test esi, esi
mov eax, dword [esp + 0x10]
mov dword [esp + 8], eax
jne 0x43389e
push edi
lea ecx, [esp + 0x18]
push ecx
push esi
push esi
push esi
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x34]
push ecx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
push eax
mov dword [esp + 0x30], 0x100
call esi
test eax, eax
jne 0x433854
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x10]
call fcn.00433790
mov edi, eax
test edi, edi
jne 0x4338b6
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x10]
push edi
push edi
push edi
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x34]
push edx
push edi
push eax
mov dword [esp + 0x30], 0x100
call esi
test eax, eax
je 0x433816
mov eax, dword [esp + 0xc]
test eax, eax
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x43386d
push eax
call edi
mov dword [esp + 0xc], 0
mov ecx, dword [esp + 0x124]
mov edx, dword [ebp]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov esi, eax
mov eax, dword [esp + 0xc]
test eax, eax
je 0x43388c
push eax
call edi
pop edi
mov eax, esi
pop esi
pop ebp
add esp, 0x114
ret 4
mov eax, dword [esp + 8]
test eax, eax
je 0x4338a9
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
pop ebp
add esp, 0x114
ret 4
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4338c5
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
pop ebp
add esp, 0x114
ret 4
Function at 0x433d30
Capabilities:
Set registry value

Disassembly:
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
push ebp
push esi
mov esi, dword [esp + 0x14]
push edi
mov ebp, ecx
xor edi, edi
push esi
call ebx
inc eax
add esi, eax
add edi, eax
cmp eax, 1
jne 0x433d42
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [ebp]
push edi
push eax
push 7
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
pop ebp
pop ebx
ret 8

Function at 0x434a00
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x9c
push edi
xor eax, eax
mov ecx, 0x24
lea edi, [esp + 0xc]
rep stosd dword es:[edi], eax
lea eax, [esp + 8]
push eax
mov dword [esp + 0xc], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x434a4d
mov eax, dword [esp + 0xc]
cmp eax, 5
jae 0x434a46
cmp eax, 4
jne 0x434a4d
cmp dword [esp + 0x10], 0x5a
jb 0x434a4d
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
mov eax, 1
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x436f50
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x98
push esi
push edi
mov esi, ecx
xor eax, eax
mov ecx, 0x25
lea edi, [esp + 8]
rep stosd dword es:[edi], eax
lea eax, [esp + 8]
push eax
mov byte [esi], 0
mov dword [esp + 0xc], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0xc]
mov eax, ecx
and eax, 2
je 0x436fa3
cmp edi, 5
jb 0x436fa3
cmp edx, 1
jb 0x436fa3
mov byte [esi], 1
test eax, eax
je 0x436feb
cmp edi, 4
jne 0x436fbf
test edx, edx
jne 0x43701d
mov dword [esi + 4], 2
mov eax, esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp edi, 5
jne 0x43701d
test edx, edx
jne 0x436fd7
mov dword [esi + 4], 4
mov eax, esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp edx, 1
jb 0x43701d
mov dword [esi + 4], 5
mov eax, esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
test cl, 1
je 0x43701d
cmp edi, 4
jne 0x43701d
cmp edx, 0xa
jne 0x437009
mov dword [esi + 4], 1
mov eax, esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp edx, 0x5a
jne 0x43701d
mov dword [esi + 4], 3
mov eax, esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
pop edi
mov dword [esi + 4], 0
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x437160
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x27c
push esi
push edi
lea edi, [ebp - 0x27c]
mov ecx, 0x9f
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x460d88]
mov dword [ebp - 4], eax
mov byte [ebp - 5], 0
mov esi, esp
call dword [0x4626e4]
cmp esi, esp
call fcn.0043e5fd
mov dword [ebp - 0x50], 0
mov ecx, 0x10
xor eax, eax
lea edi, [ebp - 0x4c]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x50], 0x44
mov dword [ebp - 0x68], 0
xor eax, eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], eax
mov ecx, dword [str.support.exe__crush]
push ecx
push 0x4625e0
push 0x451128
push 0x208
lea edx, [ebp - 0x278]
push edx
call fcn.0043d58d
add esp, 0x14
mov esi, esp
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x50]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x278]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
cmp esi, esp
call fcn.0043e5fd
test eax, eax
je 0x437243
mov byte [ebp - 5], 1
mov esi, esp
mov eax, dword [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.0043e5fd
mov esi, esp
mov ecx, dword [ebp - 0x64]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.0043e5fd
mov al, byte [ebp - 5]
push edx
mov ecx, ebp
push eax
lea edx, [0x437272]
call fcn.0043e620
pop eax
pop edx
mov ecx, dword [ebp - 4]
call fcn.0043e5ef
pop edi
pop esi
add esp, 0x27c
cmp ebp, esp
call fcn.0043e5fd
mov esp, ebp
pop ebp
ret
Function at 0x43bfca
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
push 4
pop eax
call fcn.0043c2b0
mov esi, esp
push 0x1c
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x43c065
mov ebx, dword [ebp - 0x24]
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x48]
mov eax, dword [0x462920]
lea edi, [ecx - 1]
not edi
and edi, esi
sub edi, ecx
mov esi, eax
dec esi
neg esi
sbb esi, esi
and esi, 0xfffffff1
add esi, 0x11
imul esi, ecx
add esi, ebx
cmp edi, esi
mov dword [ebp - 8], ecx
jb 0x43c065
cmp eax, 1
je 0x43c086
mov dword [ebp - 4], ebx
mov ebx, 0x1000
push 0x1c
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x43c065
mov eax, dword [ebp - 0x1c]
add dword [ebp - 4], eax
test dword [ebp - 0x18], ebx
je 0x43c032
test byte [ebp - 0x13], 1
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], eax
je 0x43c061
xor eax, eax
inc eax
jmp 0x43c0a5
cmp edi, eax
jae 0x43c069
xor eax, eax
jmp 0x43c0a5
cmp eax, esi
jae 0x43c070
mov dword [ebp - 4], esi
push 4
push ebx
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov eax, dword [0x462920]
jmp 0x43c089
mov dword [ebp - 4], edi
dec eax
neg eax
sbb eax, eax
and eax, 0x103
lea ecx, [ebp - 0xc]
push ecx
inc eax
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea esp, [ebp - 0x58]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x43d823
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, dword [ebp + 0x10]
xor ebx, ebx
test edi, edi
jne 0x43d840
call fcn.0043e858
mov dword [eax], 0x16
xor eax, eax
jmp 0x43d8aa
push esi
push 0x8c
push 1
call fcn.0044384c
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x43d895
push esi
call fcn.00440cd6
mov eax, dword [ebp + 0x14]
or dword [esi + 4], 0xffffffff
mov dword [esi + 0x50], eax
mov eax, dword [ebp + 0x1c]
test eax, eax
pop ecx
mov dword [esi + 0x4c], edi
jne 0x43d873
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0x18]
push esi
push 0x43d78e
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
jne 0x43d8a9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
push esi
call fcn.0043bf59
test ebx, ebx
pop ecx
je 0x43d8a7
push ebx
call fcn.0043e86a
pop ecx
xor eax, eax
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x43e30f
Capabilities:
Create thread
Resume thread

Disassembly:
push ebx
push edi
mov edi, dword [esp + 0xc]
xor ebx, ebx
test edi, edi
jne 0x43e32b
call fcn.0043e858
mov dword [eax], 0x16
or eax, 0xffffffff
jmp 0x43e39d
push esi
push 0x8c
push 1
call fcn.0044384c
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x43e383
push esi
call fcn.00440cd6
mov eax, dword [esp + 0x1c]
pop ecx
push esi
push 4
push esi
push 0x43e27d
push dword [esp + 0x24]
mov dword [esi + 0x4c], edi
push 0
mov dword [esi + 0x50], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
test edi, edi
mov dword [esi + 4], edi
je 0x43e37b
push edi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
jne 0x43e39a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
push esi
call fcn.0043bf59
test ebx, ebx
pop ecx
je 0x43e395
push ebx
call fcn.0043e86a
pop ecx
or eax, 0xffffffff
jmp 0x43e39c
mov eax, edi
pop esi
pop edi
pop ebx
ret
Function at 0x43e3e9
Capabilities:
Accept command line arguments
Parse pe header
Terminate process

Disassembly:
push 0x60
push 0x454a10
call fcn.0043eda4
mov edi, 0x94
mov eax, edi
call fcn.0043c2b0
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [esi], edi
push esi
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov ecx, dword [esi + 0x10]
mov dword [0x462920], ecx
mov eax, dword [esi + 4]
mov dword [0x46292c], eax
mov edx, dword [esi + 8]
mov dword [0x462930], edx
mov esi, dword [esi + 0xc]
and esi, 0x7fff
mov dword [0x462924], esi
cmp ecx, 2
je 0x43e449
or esi, 0x8000
mov dword [0x462924], esi
shl eax, 8
add eax, edx
mov dword [0x462928], eax
xor esi, esi
push esi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x43e484
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x43e484
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x43e49c
cmp eax, 0x20b
je 0x43e489
mov dword [ebp - 0x1c], esi
jmp 0x43e4b0
cmp dword [ecx + 0x84], 0xe
jbe 0x43e484
xor eax, eax
cmp dword [ecx + 0xf8], esi
jmp 0x43e4aa
cmp dword [ecx + 0x74], 0xe
jbe 0x43e484
xor eax, eax
cmp dword [ecx + 0xe8], esi
setne al
mov dword [ebp - 0x1c], eax
push 1
call fcn.0043f39d
pop ecx
test eax, eax
jne 0x43e4c4
push 0x1c
call fcn.0043e3c5
pop ecx
call fcn.00440ed0
test eax, eax
jne 0x43e4d5
push 0x10
call fcn.0043e3c5
pop ecx
call fcn.00444e33
mov dword [ebp - 4], esi
call fcn.00444c35
test eax, eax
jge 0x43e4ee
push 0x1b
call fcn.0043e3a0
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x4640b4], eax
call fcn.00444b13
mov dword [0x4627b4], eax
call fcn.00444a71
test eax, eax
jge 0x43e514
push 8
call fcn.0043e3a0
pop ecx
call fcn.0044483e
test eax, eax
jge 0x43e525
push 9
call fcn.0043e3a0
pop ecx
push 1
call fcn.0043ff6b
pop ecx
mov dword [ebp - 0x28], eax
cmp eax, esi
je 0x43e53b
push eax
call fcn.0043e3a0
pop ecx
mov dword [ebp - 0x44], esi
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
call fcn.004447e1
mov dword [ebp - 0x20], eax
test byte [ebp - 0x44], 1
je 0x43e55c
movzx eax, word [ebp - 0x40]
jmp 0x43e55f
push 0xa
pop eax
push eax
push dword [ebp - 0x20]
push esi
push esi
call edi
push eax
call fcn.00435c10
mov edi, eax
mov dword [ebp - 0x2c], edi
cmp dword [ebp - 0x1c], esi
jne 0x43e57d
push edi
call fcn.00440098
call fcn.004400ba
jmp 0x43e5af
or dword [ebp - 4], 0xffffffff
mov eax, edi
lea esp, [ebp - 0x7c]
call fcn.0043eddf
ret