joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43b670
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x47d428
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x43b6a9
inc eax
mov dword [esi + 0x10], eax
jmp 0x43b7bc
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x43b6bd
mov eax, 0xffffffc7
jmp 0x43b7be
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x43b6ce
cmp dword [esi + 8], eax
jne 0x43b6bd
cmp dword [esi + 8], eax
jne 0x43b6e7
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x43b6e7
mov eax, 0xffffffc7
jmp 0x43b7be
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x43b6fb
push eax
mov ecx, ebx
call fcn.0043aea0
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.0040de40
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x43b72c
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.0040de60
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.0043a610
test eax, eax
mov dword [esp + 0x38], eax
je 0x43b75f
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x7f3918
call fcn.0040e040
mov eax, dword [esp + 0x38]
jmp 0x43b7be
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.0043b4d0
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x43b7a3
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.0043b4f0
mov esi, eax
test esi, esi
jne 0x43b7d3
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.0043b4d0
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x43b775
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x7f3918
call fcn.0040e040
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x7f3918
call fcn.0040e040
mov eax, esi
jmp 0x43b7be

Function at 0x43e9c0
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x43ea20
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x43ea20
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x43ea20
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x43ea20
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x43ea60
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x444940
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x47dac8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.00474c6e
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.004442e0
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.00474b9c
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.00471386
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.00471386
push 1
push 0
push 0
mov ecx, esi
call fcn.0047132e
push 1
push 0
push 1
mov ecx, esi
call fcn.0047132e
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00474ce0
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x444ac0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x47dae8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.00474c6e
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.004442e0
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.00474b9c
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x444b84
cmp dword [esp + 0x40], 1
jne 0x444b82
cmp ecx, eax
jge 0x444b84
mov eax, ecx
cmp eax, 0xc8
jge 0x444b90
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.00444940
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00474ce0
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x445310
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x47db53
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0046f7a4
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.00474f16
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.0047646e
test eax, eax
je 0x44542c
mov ecx, dword [esp + 0x3c]
call fcn.00474f43
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x4453f0
push edi
mov ecx, esi
call fcn.00472501
mov ecx, esi
call fcn.00445590
cmp dword [esp + 0x38], 1
jne 0x445425
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.0047266b
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x447e50
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x447e83
push esi
call fcn.0044af40
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x447e7c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x447f09
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x447ef2
mov eax, dword [esi + 8]
test eax, eax
je 0x447ea7
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x447eee
cmp eax, 2
je 0x447ef2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x447e9a
cmp eax, 3
je 0x447ecd
cmp eax, 1
jne 0x447e9a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x447e9a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x447e9a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00447f30
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x447f18
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00447f30
add esp, 4
pop esi
ret

Function at 0x470599
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4705d1
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0046e626
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0046e5fe
jmp 0x4705dd
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x471c8a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x471ccc
call fcn.0047797a
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x471ccc
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x471cc3
xor eax, eax
jmp 0x471cd4
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00471cda
pop edi
pop esi
pop ebx
ret 4

Function at 0x477eaa
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x477ed8
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x477ef6
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00477e10
jmp 0x477ef6
mov eax, dword [esi + 0x14]
test eax, eax
je 0x477ef6
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00477e10
test edi, edi
mov eax, edi
jne 0x477ee0
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x401ca6
Capabilities:
Terminate process

Disassembly:
add ecx, 0x9c
call fcn.00401be5
cmp eax, 1
jne 0x401ccd
push 0
push 0
push eax
push 0
call fcn.0040bb25
add esp, 0x10
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
ret

Function at 0x4022e8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x4022fd
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x40230f
xor eax, eax
jmp 0x402341
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
add eax, esi
and ecx, 0xf
jbe 0x402333
cmp esi, eax
jae 0x40230b
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x402325
cmp esi, eax
jae 0x40230b
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop ebp
ret
Function at 0x403ea6
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ecx
push ebp
push esi
xor ebp, ebp
mov esi, ecx
cmp dword [esi + 4], ebp
push edi
mov dword [esp + 0xc], ebp
je 0x403ebc
call fcn.00403cff
call fcn.00433711
push dword [esp + 0x18]
movzx ecx, word [esp + 0x18]
mov eax, dword [eax + 0xc]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
cmp edi, ebp
jne 0x403f09
call fcn.00433711
mov eax, dword [eax + 4]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x74]
mov eax, dword [eax + 0x1c]
push 9
push 0x10
push str.CPicture_Error
push str.FindResource___Failed_t
push eax
call dword [sym.imp.USER32.dll_MessageBoxExA]
xor eax, eax
jmp 0x403fee
push ebx
call fcn.00433711
mov eax, dword [eax + 0xc]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
cmp ebx, ebp
jne 0x403f4e
call fcn.00433711
mov eax, dword [eax + 4]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x74]
push 9
push 0x10
push str.CPicture_Error
push str.LoadResource___Failed_t
mov eax, dword [eax + 0x1c]
push eax
call dword [sym.imp.USER32.dll_MessageBoxExA]
xor eax, eax
jmp 0x403fed
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
jne 0x403f78
call fcn.00433711
mov eax, dword [eax + 4]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x74]
push 9
push 0x10
push str.CPicture_Error
push str.LockResource___Failed_t
jmp 0x403f3d
call fcn.00433711
mov eax, dword [eax + 0xc]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
push edi
push ebx
mov ecx, esi
call fcn.00403d21
test eax, eax
je 0x403f9f
mov dword [esp + 0x10], 1
mov eax, dword [esi + 4]
cmp eax, ebp
mov dword [esi + 0xc], edi
je 0x403fdf
mov ecx, dword [eax]
lea edi, [esi + 8]
push edi
push eax
call dword [ecx + 0x1c]
mov eax, dword [esi + 4]
mov ecx, dword [eax]
add esi, 0x10
push esi
push eax
call dword [ecx + 0x18]
mov ebx, dword [sym.imp.KERNEL32.dll_MulDiv]
mov ebp, 0x9ec
push ebp
push 0x60
push dword [edi]
call ebx
push ebp
push 0x60
push dword [esi]
mov dword [edi], eax
call ebx
mov dword [esi], eax
jmp 0x403fe9
mov dword [esi + 8], ebp
mov dword [esi + 0x10], ebp
mov dword [esp + 0x10], ebp
mov eax, dword [esp + 0x10]
pop ebx
pop edi
pop esi
pop ebp
pop ecx
ret 8
Function at 0x40b124
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x4382f6
call fcn.0041cf48
sub esp, 0x17c
mov eax, dword [0x44e670]
push ebx
push esi
mov esi, dword [ebp + 8]
xor eax, ebp
push edi
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
push 0x10
mov dword [ebp - 0x134], eax
pop ecx
xor eax, eax
mov dword [ebp - 0x188], 0x44
lea edi, [ebp - 0x184]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x114]
push esi
push eax
call fcn.0041db30
lea eax, [ebp - 0x114]
push 0x5c
push eax
call fcn.0041db00
xor ebx, ebx
add esp, 0x10
cmp dword [ebp - 0x134], ebx
mov byte [eax], bl
jne 0x40b1cd
lea eax, [ebp - 0x144]
push eax
lea eax, [ebp - 0x188]
push eax
lea eax, [ebp - 0x114]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
push dword [ebp - 0x144]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, eax
call esi
push dword [ebp - 0x140]
call esi
jmp 0x40b28d
push ebx
lea ecx, [ebp - 0x130]
mov dword [ebp - 0x118], 0xf
call fcn.004040c6
mov edi, 0x43b384
push edi
lea ecx, [ebp - 0x130]
mov dword [ebp - 4], ebx
call fcn.004045dc
push esi
lea ecx, [ebp - 0x130]
call fcn.0040b079
push edi
lea ecx, [ebp - 0x130]
call fcn.0040b079
push 0x43b380
lea ecx, [ebp - 0x130]
call fcn.0040b079
push dword [ebp - 0x134]
lea ecx, [ebp - 0x130]
call fcn.0040b079
cmp dword [ebp - 0x118], 0x10
mov eax, dword [ebp - 0x12c]
jae 0x40b245
lea eax, [ebp - 0x12c]
lea ecx, [ebp - 0x144]
push ecx
lea ecx, [ebp - 0x188]
push ecx
lea ecx, [ebp - 0x114]
push ecx
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
push dword [ebp - 0x144]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, eax
call esi
push dword [ebp - 0x140]
call esi
push ebx
push 1
lea ecx, [ebp - 0x130]
call fcn.004041b4
mov ecx, dword [ebp - 0xc]
xor eax, eax
cmp edi, 1
pop edi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
sete al
pop esi
xor ecx, ebp
pop ebx
call fcn.0041c33e
leave
ret
Function at 0x40d447
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0x10]
test ecx, ecx
jbe 0x40d473
mov eax, dword [ebp + 0xc]
push esi
movzx esi, byte [ebp + 8]
movzx edx, byte [eax]
xor edx, esi
mov esi, dword [ebp + 8]
shr esi, 8
xor esi, dword [edx*4 + 0x44c170]
inc eax
dec ecx
mov dword [ebp + 8], esi
jne 0x40d455
pop esi
mov eax, dword [ebp + 8]
pop ebp
ret

Function at 0x40d478
Capabilities:
Hash data with md5

Disassembly:
and dword [ecx + 8], 0
and dword [ecx + 4], 0
mov dword [ecx + 0xc], 0x67452301
mov dword [ecx + 0x10], 0xefcdab89
mov dword [ecx + 0x14], 0x98badcfe
mov dword [ecx + 0x18], 0x10325476
ret
Function at 0x414a85
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
je 0x414ad8
call fcn.00433711
mov edi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, ebx
je 0x414ad8
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebx
mov dword [ebp - 8], eax
jne 0x414ace
xor eax, eax
jmp 0x414bf1
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], ebx
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0xc], 1
je 0x414b08
mov eax, dword [esi]
push edi
push dword [ebp - 4]
mov ecx, esi
push ebx
call dword [eax + 0x1c]
cmp dword [ebp - 8], 0
mov dword [ebp - 0xc], eax
je 0x414b08
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebx + 0x48]
test eax, eax
je 0x414bee
mov ecx, dword [eax + 0x40]
and dword [ebp + 0xc], 0
test ecx, ecx
mov dword [ebp + 8], ecx
mov dword [ebp - 8], ecx
je 0x414b35
lea ecx, [eax + 0x3c]
lea eax, [ebp + 8]
push eax
call fcn.00412ae2
mov eax, dword [eax]
mov dword [ebp + 0xc], eax
xor eax, eax
cmp dword [edi + 8], eax
mov dword [ebp - 4], eax
jbe 0x414bee
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x414b7e
mov ecx, dword [ecx + 4]
mov edx, dword [edi + 0xc]
mov ecx, dword [ecx + 0x28]
cmp ecx, dword [edx + eax*8]
jne 0x414b7e
mov eax, dword [ebp + 8]
test eax, eax
mov dword [ebp - 8], eax
je 0x414b78
mov ecx, dword [ebx + 0x48]
lea eax, [ebp + 8]
add ecx, 0x3c
push eax
call fcn.00412ae2
mov eax, dword [eax]
mov dword [ebp + 0xc], eax
jmp 0x414bde
and dword [ebp + 0xc], 0
jmp 0x414bde
mov ecx, dword [edi + 0xc]
shl eax, 3
cmp dword [eax + ecx], 0
mov dword [ebp - 0x10], eax
je 0x414bde
push 0xc
call fcn.0042ae3a
mov esi, eax
test esi, esi
pop ecx
je 0x414bc0
mov eax, dword [edi + 0xc]
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebx + 0x1c]
add eax, edx
push dword [eax]
mov edi, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
and dword [esi + 4], 0
mov dword [esi + 8], edi
mov edi, dword [ebp + 0x10]
mov dword [esi], eax
jmp 0x414bc2
xor esi, esi
mov ecx, dword [ebx + 0x48]
add ecx, 0x3c
cmp dword [ebp - 8], 0
push esi
je 0x414bd9
push dword [ebp - 8]
call fcn.00429bcc
jmp 0x414bde
call fcn.00429ba3
mov eax, dword [ebp - 4]
inc eax
cmp eax, dword [edi + 8]
mov dword [ebp - 4], eax
jb 0x414b43
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x41c095
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.0041c2d0
mov esi, esp
push 0x1c
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x41c130
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 [0x452840]
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 0x41c130
cmp eax, 1
je 0x41c151
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 0x41c130
mov eax, dword [ebp - 0x1c]
add dword [ebp - 4], eax
test dword [ebp - 0x18], ebx
je 0x41c0fd
test byte [ebp - 0x13], 1
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], eax
je 0x41c12c
xor eax, eax
inc eax
jmp 0x41c170
cmp edi, eax
jae 0x41c134
xor eax, eax
jmp 0x41c170
cmp eax, esi
jae 0x41c13b
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 [0x452840]
jmp 0x41c154
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 0x41dd2e
Capabilities:
Accept command line arguments
Parse pe header
Terminate process

Disassembly:
push 0x60
push 0x443a80
call fcn.0041c178
mov edi, 0x94
mov eax, edi
call fcn.0041c2d0
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 [0x452840], ecx
mov eax, dword [esi + 4]
mov dword [0x45284c], eax
mov edx, dword [esi + 8]
mov dword [0x452850], edx
mov esi, dword [esi + 0xc]
and esi, 0x7fff
mov dword [0x452844], esi
cmp ecx, 2
je 0x41dd8e
or esi, 0x8000
mov dword [0x452844], esi
shl eax, 8
add eax, edx
mov dword [0x452848], eax
xor esi, esi
push esi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x41ddc9
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41ddc9
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x41dde1
cmp eax, 0x20b
je 0x41ddce
mov dword [ebp - 0x1c], esi
jmp 0x41ddf5
cmp dword [ecx + 0x84], 0xe
jbe 0x41ddc9
xor eax, eax
cmp dword [ecx + 0xf8], esi
jmp 0x41ddef
cmp dword [ecx + 0x74], 0xe
jbe 0x41ddc9
xor eax, eax
cmp dword [ecx + 0xe8], esi
setne al
mov dword [ebp - 0x1c], eax
push 1
call fcn.0041f767
pop ecx
test eax, eax
jne 0x41de09
push 0x1c
call fcn.0041dd0a
pop ecx
call fcn.00421158
test eax, eax
jne 0x41de1a
push 0x10
call fcn.0041dd0a
pop ecx
call fcn.00423848
mov dword [ebp - 4], esi
call fcn.00422c7a
test eax, eax
jge 0x41de33
push 0x1b
call fcn.0041dce5
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x454110], eax
call fcn.00423726
mov dword [0x452830], eax
call fcn.00423684
test eax, eax
jge 0x41de59
push 8
call fcn.0041dce5
pop ecx
call fcn.00423451
test eax, eax
jge 0x41de6a
push 9
call fcn.0041dce5
pop ecx
push 1
call fcn.0041e6ed
pop ecx
mov dword [ebp - 0x28], eax
cmp eax, esi
je 0x41de80
push eax
call fcn.0041dce5
pop ecx
mov dword [ebp - 0x44], esi
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
call fcn.004233f4
mov dword [ebp - 0x20], eax
test byte [ebp - 0x44], 1
je 0x41dea1
movzx eax, word [ebp - 0x40]
jmp 0x41dea4
push 0xa
pop eax
push eax
push dword [ebp - 0x20]
push esi
push esi
call edi
push eax
call fcn.004291c9
mov edi, eax
mov dword [ebp - 0x2c], edi
cmp dword [ebp - 0x1c], esi
jne 0x41dec2
push edi
call fcn.0041e81a
call fcn.0041e83c
jmp 0x41def4
or dword [ebp - 4], 0xffffffff
mov eax, edi
lea esp, [ebp - 0x7c]
call fcn.0041c1b3
ret