joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42862d
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1284
call fcn.00439bd0
mov eax, dword [0x4a12f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov dword [ebp - 0x1270], eax
xor ebx, ebx
mov eax, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x1274], eax
lea eax, [ebp - 0x1280]
push edi
push eax
mov dword [ebp - 0x1284], ebx
call fcn.004289be
push eax
push esi
call fcn.004280f9
add esp, 0xc
test al, al
jne 0x428685
xor al, al
jmp 0x428790
mov edi, dword [ebp - 0x127c]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
jne 0x42869f
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
jmp 0x42867e
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
push ebx
push eax
call dword [sym.imp.SHELL32.dll_DragQueryFileW]
test eax, eax
je 0x42877a
push 0x45d0d8
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
push eax
call fcn.0043e8b2
pop ecx
pop ecx
test eax, eax
jne 0x42877a
lea eax, [ebp - 0x20c]
push eax
push 0x824
lea eax, [ebp - 0x1254]
push eax
push ebx
push 0x45d0e4
push str.InternetShortcut
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x42877a
lea eax, [ebp - 0x1254]
push eax
lea ecx, [ebp - 0x126c]
call fcn.00403b20
sub esp, 0x70
lea eax, [ebp - 0x126c]
mov ecx, esp
push eax
call fcn.004333fb
mov ecx, dword [ebp - 0x1270]
call fcn.004334cb
push ebx
push 1
lea ecx, [ebp - 0x126c]
call fcn.00404aa0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveExtensionW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov esi, eax
push esi
call fcn.004016e0
pop ecx
mov ecx, dword [ebp - 0x1274]
push eax
push esi
call fcn.00405350
mov eax, dword [ebp - 0x1270]
mov bl, byte [eax + 0x18]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea eax, [ebp - 0x1280]
push eax
call dword [sym.imp.ole32.dll_ReleaseStgMedium]
mov al, bl
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00439bb3
mov esp, ebp
pop ebp
ret
Function at 0x432cd3
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push ebx
xor edi, edi
call fcn.0042f455
pop ecx
push edi
push 0x10000080
push 3
push edi
push 1
push SysReAllocString
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
mov dword [ebp - 4], esi
cmp esi, 0xffffffff
jne 0x432d12
xor al, al
jmp 0x432d95
push 1
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
test eax, eax
je 0x432d52
push 0
push 0
push 1
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
test eax, eax
je 0x432d52
xor eax, eax
lea edi, [ebp - 0x10]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x24]
and dword [ebp - 8], 0
lea edi, [ebp - 0x10]
mov dword [ebp - 0x10], 0xc
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 2
push edi
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
push dword [ebp - 4]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, eax
call edi
test esi, esi
je 0x432d0b
xor eax, eax
push eax
push eax
push eax
push 4
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebx + 4], eax
test eax, eax
jne 0x432d90
push esi
call edi
jmp 0x432d0b
mov dword [ebx + 0x14], esi
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4523b5
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4a12f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00444ffb
mov dword [ebp - 0x14], eax
cmp dword [0x4a892c], esi
jne 0x4524a8
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x452435
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x452588
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x452588
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x452588
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x4a892c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x4a8930], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x4a8934], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4a893c], eax
test eax, eax
je 0x4524a5
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4a8938], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x4524cd
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4524c0
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x4524e2
push 4
pop eax
jmp 0x45258a
cmp dword [ebp - 0x14], esi
je 0x4524e2
push dword [0x4a892c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x4524c7
mov eax, dword [0x4a8938]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x452540
cmp dword [0x4a893c], edi
je 0x452540
push eax
call ebx
push dword [0x4a893c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x452540
test eax, eax
je 0x452540
call ecx
test eax, eax
je 0x452535
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x452535
test byte [ebp - 8], 1
jne 0x452540
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x452570
mov eax, dword [0x4a8930]
cmp eax, edi
je 0x45256d
push eax
call ebx
test eax, eax
je 0x45256d
call eax
mov esi, eax
test esi, esi
je 0x45256d
mov eax, dword [0x4a8934]
cmp eax, edi
je 0x45256d
push eax
call ebx
test eax, eax
je 0x45256d
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x4a892c]
call ebx
test eax, eax
je 0x452588
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x45258a
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00439bb3
mov esp, ebp
pop ebp
ret
Function at 0x10001b50
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 4]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp + 0x14]
mov eax, dword [edx]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx]
movzx ecx, word [edx + 0x14]
lea edx, [eax + ecx + 0x18]
mov dword [ebp - 4], edx
mov dword [ebp - 0x10], 0
jmp 0x10001b8f
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 4]
add ecx, 0x28
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 0x14]
mov eax, dword [edx]
movzx ecx, word [eax + 6]
cmp dword [ebp - 0x10], ecx
jge 0x10001cab
mov edx, dword [ebp - 4]
cmp dword [edx + 0x10], 0
jne 0x10001c1c
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 0x38]
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 0
jle 0x10001c17
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + 0x34]
push eax
push 4
push 0x1000
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
add eax, dword [edx + 0xc]
push eax
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + 0x1c]
call edx
add esp, 0x14
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x10001bf0
xor eax, eax
jmp 0x10001cb0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax + 0xc]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0x14]
push ecx
push 0
mov edx, dword [ebp - 8]
push edx
call fcn.10001930
add esp, 0xc
jmp 0x10001b7d
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x14]
mov edx, dword [ebp - 4]
add ecx, dword [edx + 0x10]
push ecx
mov eax, dword [ebp + 0xc]
push eax
call fcn.10001b30
add esp, 8
test eax, eax
jne 0x10001c3d
xor eax, eax
jmp 0x10001cb0
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + 0x34]
push edx
push 4
push 0x1000
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
add eax, dword [edx + 0xc]
push eax
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + 0x1c]
call edx
add esp, 0x14
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x10001c74
xor eax, eax
jmp 0x10001cb0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax + 0xc]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0x14]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.10001980
add esp, 0xc
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [ecx + 8], edx
jmp 0x10001b7d
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x100027b0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0x29800
mov ecx, dword [ebp - 4]
push ecx
push 0x10004070
call fcn.10001000
add esp, 8
mov dword [ebp - 0xc], eax
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
nop
nop
nop
pop eax
nop
add eax, 0x40729f
nop
sub eax, 0x407245
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x432030
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43201e
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x401050
Capabilities:
Allocate or change rwx memory

Disassembly:
push ecx
push esi
lea eax, [esp + 4]
push eax
xor esi, esi
push 0x43d66c
push esi
mov dword [esp + 0x10], esi
call sub.KERNEL32.dll_GetModuleHandleExA
test eax, eax
je 0x401092
push edi
mov edi, dword [esp + 0x14]
push 0x40
push 0x3000
push edi
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ecx, dword [esp + 0x10]
push edi
mov esi, eax
push ecx
push esi
call fcn.004207c0
add esp, 0xc
pop edi
mov eax, esi
pop esi
pop ecx
ret
Function at 0x402f20
Capabilities:
Extract resource via kernel32 functions

Disassembly:
movzx edx, word [esp + 4]
mov dword [esp + 4], edx
jmp fcn.00406f6d

Function at 0x407502
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x40754a
call fcn.00408ff8
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x40754a
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x40758d
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x407576
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x407576
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x40758a
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x40e4af
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x40e4f6
call fcn.00408ff8
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x40e4f6
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x40e512
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0040e029
mov esi, eax
test edi, edi
je 0x40e510
test ebx, ebx
je 0x40e510
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x40ec15
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x43ad77
call fcn.00421cd0
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x40ec3a
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x40ec80
lea ecx, [ebp - 0x10]
call fcn.00403260
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00407f4c
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00402e20
mov eax, esi
call fcn.00421da8
ret 8
Function at 0x421070
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x44d670]
jne 0x42107a
repz ret
jmp fcn.0042835c

Function at 0x42fb7a
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00427d4a
and dword [ebp - 4], 0
cmp dword [0x451604], 0
mov ebx, eax
jne 0x42fc2b
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x42fcdc
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x441a10
push edi
call esi
test eax, eax
je 0x42fcdc
push eax
call fcn.00427cd8
mov dword [esp], 0x441a00
push edi
mov dword [0x451604], eax
call esi
push eax
call fcn.00427cd8
mov dword [esp], 0x4419ec
push edi
mov dword [0x451608], eax
call esi
push eax
call fcn.00427cd8
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x45160c], eax
call esi
push eax
call fcn.00427cd8
pop ecx
mov dword [0x451614], eax
test eax, eax
je 0x42fc2b
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00427cd8
pop ecx
mov dword [0x451610], eax
mov eax, dword [0x451610]
cmp eax, ebx
je 0x42fc83
cmp dword [0x451614], ebx
je 0x42fc83
push eax
call fcn.00427d53
push dword [0x451614]
mov esi, eax
call fcn.00427d53
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x42fc83
test edi, edi
je 0x42fc83
call esi
test eax, eax
je 0x42fc7a
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x42fc7a
test byte [ebp - 0xc], 1
jne 0x42fc83
or dword [ebp + 0x10], 0x200000
jmp 0x42fcbc
mov eax, dword [0x451608]
cmp eax, ebx
je 0x42fcbc
push eax
call fcn.00427d53
pop ecx
test eax, eax
je 0x42fcbc
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x42fcbc
mov eax, dword [0x45160c]
cmp eax, ebx
je 0x42fcbc
push eax
call fcn.00427d53
pop ecx
test eax, eax
je 0x42fcbc
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x451604]
call fcn.00427d53
pop ecx
test eax, eax
je 0x42fcdc
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x42fcde
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401000
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
push 0x60
push 0xb3fd18
call fcn.0040121c
mov edi, 0x94
mov eax, edi
call fcn.004011dc
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 [0xb3fd18], ecx
mov eax, dword [esi + 4]
mov dword [0xb3fd1c], eax
mov edx, dword [esi + 8]
mov dword [0xb3fd20], edx
mov esi, dword [esi + 0xc]
and esi, 0x7fff
mov dword [0xb3fd24], esi
cmp ecx, 2
je 0x401060
or esi, 0x8000
mov dword [0xb3fd28], esi
shl eax, 8
add eax, edx
mov dword [0xb3fd18], eax
xor esi, esi
push esi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x40109b
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40109b
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x4010b3
cmp eax, 0x20b
je 0x4010a0
mov dword [ebp - 0x1c], esi
jmp 0x4010c7
cmp dword [ecx + 0x84], 0xe
jbe 0x40109b
xor eax, eax
cmp dword [ecx + 0xf8], esi
jmp 0x4010c1
cmp dword [ecx + 0x74], 0xe
jbe 0x40109b
xor eax, eax
cmp dword [ecx + 0xe8], esi
setne al
mov dword [ebp - 0x1c], eax
push esi
call fcn.00401224
pop ecx
test eax, eax
jne 0x4010f3
cmp dword [0xb3fd18], 1
jne 0x4010e0
call fcn.00401224
push 0x1c
call fcn.00401224
push 0xff
call fcn.00401224
pop ecx
pop ecx
call fcn.00401224
mov dword [ebp - 4], esi
call fcn.00401224
test eax, eax
jge 0x40110c
push 0x1b
call fcn.00401224
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0xb3fd18], eax
call fcn.00401224
mov dword [0xb3fd1c], eax
call fcn.00401224
test eax, eax
jge 0x401132
push 8
call fcn.00401224
pop ecx
call fcn.00401224
test eax, eax
jge 0x401143
push 9
call fcn.00401224
pop ecx
push 1
call fcn.00401224
pop ecx
mov dword [ebp - 0x28], eax
cmp eax, esi
je 0x401159
push eax
call fcn.00401224
pop ecx
mov dword [ebp - 0x44], esi
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
call fcn.00401224
mov dword [ebp - 0x20], eax
test byte [ebp - 0x44], 1
je 0x40117a
movzx eax, word [ebp - 0x40]
jmp 0x40117d
push 0xa
pop eax
push eax
push dword [ebp - 0x20]
push esi
push esi
call edi
push eax
call fcn.00401228
mov edi, eax
mov dword [ebp - 0x2c], edi
cmp dword [ebp - 0x1c], esi
jne 0x40119b
push edi
call fcn.00401220
call fcn.00401224
jmp 0x4011cd
or dword [ebp - 4], 0xffffffff
mov eax, edi
lea esp, [ebp - 0x7c]
call fcn.00401224
ret

Function at 0x401228
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffffc
push esi
push edi
push ebx
lea eax, [ebp - 4]
push eax
push 0x40
push 0x351000
push section..rdata
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x401252
push 0x7ef3a0
jmp 0x40125e
pop ebx
pop edi
pop esi
leave
ret 0x14
ret
Function at 0x4036b0
Capabilities:
Enumerate gui resources
Get hostname

Disassembly:
mov eax, 0x1c0c
call fcn.0040ea60
mov eax, dword [0x2b8bbe4]
mov ecx, dword [0x2b8bb58]
shr eax, 3
test eax, eax
jbe 0x4037eb
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextVolumeA]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_WriteProfileSectionA]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetNumberFormatA]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
jmp 0x403700
cmp dword [0x2b8bbe4], 0x959
jne 0x4037cd
push 0
lea eax, [esp + 0x20]
push eax
push 0
push 0x402d88
push 0
push 0
call edi
push 0
lea ecx, [esp + 0x1020]
push ecx
push 0
call ebx
push 0
push 0
call esi
push 0x402da8
call ebp
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumCalendarInfoExW]
push 0
push 0
lea edx, [esp + 0x824]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasW]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_AddConsoleAliasA]
push 0
push 0
call esi
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumResourceTypesA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetThreadPriorityBoost]
push 0
lea eax, [esp + 0x1420]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleTitleW]
push 0
push 0x402dec
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceA]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x420]
push edx
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
push 0
push 0x402df4
push 0x402e0c
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceExA]
mov eax, dword [esp + 0x10]
push eax
call fcn.004034e0
add dword [esp + 0x10], 8
sub dword [esp + 0x14], 1
jne 0x403700
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c0c
ret
Function at 0x4061bb
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x431aa8]
jne 0x4061c5
repz ret
jmp fcn.0040a7bc

Function at 0x40ce8b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00407b1e
and dword [ebp - 4], 0
cmp dword [0x4350d8], 0
mov ebx, eax
jne 0x40cf3c
push 0x402c94
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40cfed
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x402c88
push edi
call esi
test eax, eax
je 0x40cfed
push eax
call fcn.00407aac
mov dword [esp], 0x402c78
push edi
mov dword [0x4350d8], eax
call esi
push eax
call fcn.00407aac
mov dword [esp], 0x402c64
push edi
mov dword [0x4350dc], eax
call esi
push eax
call fcn.00407aac
mov dword [esp], 0x402c48
push edi
mov dword [0x4350e0], eax
call esi
push eax
call fcn.00407aac
pop ecx
mov dword [0x4350e8], eax
test eax, eax
je 0x40cf3c
push 0x402c30
push edi
call esi
push eax
call fcn.00407aac
pop ecx
mov dword [0x4350e4], eax
mov eax, dword [0x4350e4]
cmp eax, ebx
je 0x40cf94
cmp dword [0x4350e8], ebx
je 0x40cf94
push eax
call fcn.00407b27
push dword [0x4350e8]
mov esi, eax
call fcn.00407b27
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40cf94
test edi, edi
je 0x40cf94
call esi
test eax, eax
je 0x40cf8b
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40cf8b
test byte [ebp - 0xc], 1
jne 0x40cf94
or dword [ebp + 0x10], 0x200000
jmp 0x40cfcd
mov eax, dword [0x4350dc]
cmp eax, ebx
je 0x40cfcd
push eax
call fcn.00407b27
pop ecx
test eax, eax
je 0x40cfcd
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40cfcd
mov eax, dword [0x4350e0]
cmp eax, ebx
je 0x40cfcd
push eax
call fcn.00407b27
pop ecx
test eax, eax
je 0x40cfcd
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4350d8]
call fcn.00407b27
pop ecx
test eax, eax
je 0x40cfed
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40cfef
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x432003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
call 0x43200c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x40729f
nop
sub eax, 0x407245
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
jl 0x432030
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
jne 0x43201e
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219