joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407460
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x43a678]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00404a33
and dword [ebp - 0x14], 0
cmp dword [0x445e90], 0
mov dword [ebp - 0x18], eax
jne 0x407513
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4075bb
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x4075bb
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x445e90], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x445e94], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x445e98], eax
call edi
push eax
call esi
mov dword [0x445ea0], eax
test eax, eax
je 0x407513
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x445e9c], eax
mov eax, dword [0x445e9c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40756c
cmp dword [0x445ea0], ecx
je 0x40756c
push eax
call esi
push dword [0x445ea0]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40756c
test ebx, ebx
je 0x40756c
call edi
test eax, eax
je 0x407563
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x407563
test byte [ebp - 8], 1
jne 0x40756c
or dword [ebp + 0x10], 0x200000
jmp 0x40759f
mov eax, dword [0x445e94]
cmp eax, dword [ebp - 0x18]
je 0x40759f
push eax
call esi
test eax, eax
je 0x40759f
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40759f
mov eax, dword [0x445e98]
cmp eax, dword [ebp - 0x18]
je 0x40759f
push eax
call esi
test eax, eax
je 0x40759f
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x445e90]
call esi
test eax, eax
je 0x4075bb
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4075bd
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00405e1b
leave
ret
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

Function at 0xd3b638
Capabilities:
Encode data using xor

Disassembly:
jmp 0xd3b642
pushal
call 0xd3b648
pop ebp
sub ebp, 0x10
sub ebp, 0x93b638
jmp 0xd3b65e
mov eax, 0x93b638
add eax, ebp
add eax, 0x4c
mov ecx, 0x5dd
mov edx, 0x1ff11b2a
xor byte [eax], dl
inc eax
dec ecx
jne 0xd3b675
jmp 0xd3b688
mov eax, dword [0x16a3a1e7]
sub ch, byte [edx]
sub ch, byte [ebx + 0x2a2ad2eb]
sub ch, byte [ecx]
out 0x92, eax
sub al, 0x2a
sub ch, byte [edx]
nop
add ch, byte [edx]
sub ch, byte [edx]
invalid
Function at 0x42ded0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b2ec8
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x4e5a30]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x9c], str.sysid
mov dword [ebp - 0x98], str.appid
mov dword [ebp - 0x94], str.clid
mov dword [ebp - 0x90], 0x4c26bc
mov dword [ebp - 0x8c], str.osver
mov dword [ebp - 0x88], str.ostype
mov dword [ebp - 0x84], 0x4c26e4
mov dword [ebp - 0x80], str.pver
mov dword [ebp - 0x7c], str.itype
mov dword [ebp - 0x78], str.ptype
mov dword [ebp - 0x74], str.itime
mov dword [ebp - 0x70], str.sitime
mov dword [ebp - 0x6c], str.oldptype
mov dword [ebp - 0x68], str.oldpver
mov dword [ebp - 0x64], str.kisid
mov dword [ebp - 0x60], str.kapid
mov dword [ebp - 0x5c], str.country
mov dword [ebp - 0x58], str.home
mov dword [ebp - 0x54], str.slid
mov dword [ebp - 0x50], 0x4c3810
call fcn.0043c230
add esp, 4
cmp dword [ebp - 0x1c], 0
mov dword [ebp - 4], 0
je 0x42e02e
push 1
push 0x4c2680
lea ecx, [ebp - 0x2c]
call fcn.00401a0a
push 0xe
push 0x4c342c
lea ecx, [ebp - 0x2c]
call fcn.00401a0a
sub esp, 0x20
mov eax, esp
mov dword [ebp - 0xa0], esp
mov dword [eax], esi
lea ecx, [eax + 4]
xor edx, edx
push 0xffffffffffffffff
push edx
lea eax, [ebp - 0x2c]
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], dx
call fcn.004015a5
lea ecx, [ebp - 0x4c]
push ecx
lea edx, [ebp - 0x9c]
push edx
lea eax, [ebp - 0x4c]
push eax
call fcn.004028fb
add esp, 0x2c
cmp dword [ebp - 0x34], 8
jb 0x42e02e
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.00468992
add esp, 4
cmp dword [ebp - 0x18], 8
jb 0x42e040
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00468992
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00469ca2
mov esp, ebp
pop ebp
ret

Function at 0x430b60
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x4e5a30]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov ecx, dword [ebp + 0xc]
push ecx
push eax
push str._s_failed_w_err_0x_08lx
lea edx, [ebp - 0x20c]
push 0x104
push edx
call fcn.00401f28
mov eax, dword [edi + 4]
add esp, 0x14
push eax
push 0
mov dword [ebp - 0x214], 0
mov dword [ebp - 0x210], 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov esi, eax
test esi, esi
je 0x430bf6
mov ecx, dword [edi + 4]
push 0
lea eax, [ebp - 0x214]
push eax
push 0
push 2
push 0
push 0
push 0
push 1
lea edx, [ebp - 0x20c]
push esi
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x210], edx
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00469ca2
mov esp, ebp
pop ebp
ret 8
Function at 0x40ed58
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffb4
mov dword [esp], eax
lea esi, [esp + 0x30]
lea eax, [esp + 0xc]
push eax
call sub.kernel32.dll_GetSystemInfo_1
mov edi, dword [esp]
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery_1
test eax, eax
je 0x40ee23
jmp 0x40ee17
cmp dword [esi + 0x10], 0x1000
jne 0x40ee03
test byte [esi + 0x15], 1
jne 0x40ee03
mov byte [esp + 4], 0
mov ebp, dword [esi + 0x14]
cmp ebp, 1
je 0x40edb4
cmp ebp, 2
je 0x40edb4
cmp ebp, 0x10
je 0x40edb4
cmp ebp, 0x20
jne 0x40edd0
lea eax, [esp + 8]
push eax
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x40edd0
mov byte [esp + 4], 1
xor ebx, ebx
jmp 0x40ede1
mov eax, dword [esi]
add eax, ebx
call fcn.0040ed50
add ebx, dword [esp + 0x10]
cmp ebx, dword [esi + 0xc]
jb 0x40edd4
cmp byte [esp + 4], 0
je 0x40ee03
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 0xc]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov edi, eax
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery_1
test eax, eax
je 0x40ee23
mov eax, dword [esi + 4]
cmp eax, dword [esp]
je 0x40ed89
add esp, 0x4c
pop ebp
pop edi
pop esi
pop ebx
ret

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

Disassembly:
pushal
call 0x43300c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x40a063
sub eax, 0x40a009
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
jl 0x433030
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x4df3fb
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor ebx, ebx
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x4f25d2
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4df453
movzx edx, word [ebp + 8]
mov dword [ebp - 8], edx
lea ecx, [ebp - 8]
push ecx
push dword [ebp + 0xc]
push 0
push 0
push 0x4f25f3
push dword [ebp - 4]
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x4df449
mov bx, 0x2a04
push dword [ebp - 4]
call sub.advapi32.dll_RegCloseKey_1
jmp 0x4df457
mov bx, 0x2a04
mov eax, ebx
pop ebx
pop ecx
pop ecx
pop ebp
ret 8

Function at 0x4edf1c
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x10c], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.004044e8
xor eax, eax
push ebp
push 0x4edfeb
push dword fs:[eax]
mov dword fs:[eax], esp
xor esi, esi
lea edx, [ebp - 0x10c]
mov eax, dword [ebp - 4]
call fcn.004087d8
mov edx, dword [ebp - 0x10c]
lea eax, [ebp - 4]
call fcn.004040d0
push 0
mov eax, ebx
call fcn.00446d44
push eax
call sub.user32.dll_GetWindow
mov ebx, eax
test ebx, ebx
jbe 0x4edfc5
push 0xff
lea eax, [ebp - 0x108]
push eax
push ebx
call sub.user32.dll_GetWindowTextA
test eax, eax
jle 0x4edfb7
lea edx, [ebp - 8]
lea eax, [ebp - 0x108]
call fcn.004092dc
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00408684
test al, al
je 0x4edfb7
mov esi, ebx
jmp 0x4edfc5
push 2
push ebx
call sub.user32.dll_GetWindow
mov ebx, eax
test ebx, ebx
ja 0x4edf80
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4edff2
lea eax, [ebp - 0x10c]
call fcn.00404038
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040405c
ret

Function at 0x82c40a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov eax, section.sect_0
call 0x82c40a
lcall 0x5de5, 0x8b10c483
jmp loc.01345c20
Function at 0x50ca751
Capabilities:
Delete file
Get common file path
Move file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x138
mov eax, dword [0x50ccda0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push edi
lea eax, [ebp - 0x108]
push eax
xor edi, edi
push edi
push 0x50c1850
push 0x50c17c4
mov dword [ebp - 0x110], ebx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
jne 0x50ca799
mov eax, 0x88760357
jmp 0x50ca894
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileA]
push edi
push 0x80
push 2
push edi
push edi
push 0x40000000
lea eax, [ebp - 0x108]
push eax
call esi
mov dword [ebp - 0x114], eax
cmp eax, 0xffffffff
jne 0x50ca7cd
mov eax, 0x88760361
jmp 0x50ca893
push edi
push edi
push 3
push edi
push 1
push 0x80000000
push ebx
call esi
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, eax
cmp esi, 0xffffffff
jne 0x50ca7f5
mov dword [ebp - 0x10c], 0x88760361
jmp 0x50ca841
lea ecx, [ebp - 0x138]
call fcn.050ca43d
lea ecx, [ebp - 0x138]
call fcn.050ca4f0
test eax, eax
jne 0x50ca81b
mov dword [ebp - 0x10c], 0x88760356
jmp 0x50ca833
push dword [ebp - 0x114]
lea ecx, [ebp - 0x138]
push esi
call fcn.050ca5c8
mov dword [ebp - 0x10c], eax
push esi
call ebx
lea ecx, [ebp - 0x138]
call fcn.050ca461
push dword [ebp - 0x114]
call ebx
cmp dword [ebp - 0x10c], edi
jge 0x50ca860
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x50ca88d
push dword [ebp - 0x110]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push dword [ebp - 0x110]
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
jne 0x50ca88d
mov dword [ebp - 0x10c], 0x88760361
mov eax, dword [ebp - 0x10c]
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.050cafc7
leave
ret

Function at 0x50d34b5
Capabilities:
Encode data using xor

Disassembly:
call 0x50d342e
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or eax, dword [ebx - 0x178f73c]
xor esi, 0xde5af04
add eax, esi
lea esp, [esp - 0xe]
mov esi, dword [esp + 0xe]
lea esp, [esp + 0x12]
xor esi, dword [esp]
push eax
sub eax, 0xf24f2b00
mov eax, esp
or dword [eax - 0x22], ebx
pop eax
jmp 0x50d345e
xor dword [esp], esi
xor eax, 0
mov dword [esp], esi
add esp, 4
add esi, dword [ebp + 8]
push ebp
add ebp, 0xc
mov ecx, dword [ebp]
pop ebp
ja 0x50d347a
xor edx, 0
jmp 0x50d3485
xor edx, edx
jmp 0x50d349c
jmp 0x50d34a8
xor eax, eax
push 0x8427d7c0
call 0x50d34b5
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x50d34f1
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
add bl, dl
xor byte [esi], bl
mov dl, byte [esi]
inc esi
add ebx, edi
rol ebx, 8
dec ecx
jne 0x50d34ca
lea esp, [esp - 4]
xchg dword [esp], ebx
mov ebx, dword [esp]
or eax, edx
xor eax, eax
add eax, dword [esp]
add esp, 4
pop esi
pop edi
pop ebx
xchg dword [esp], ecx
mov dword [esp], ecx
lea esp, [esp + 4]
pop edx
leave
je 0x50d3508
add eax, 0
jno 0x50d350d
add esi, 0
ret 0x10
Function at 0x408bf1
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax], ebx
je 0x408c27
lea edi, [eax + 8]
mov ecx, dword [eax + 4]
add ecx, eax
cmp edi, ecx
jae 0x408c22
movzx ecx, word [edi]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
jne 0x408c16
mov edx, dword [ebp + 0xc]
and ecx, 0xfff
add ecx, dword [ebp + 0xc]
sub edx, dword [esi + 0x34]
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x408c1e
cmp edx, ebx
jne 0x408d73
inc edi
inc edi
jmp 0x408be5
add eax, dword [eax + 4]
jmp 0x408bde
mov dword [ebp - 8], ebx
jmp 0x408c32
mov esi, dword [ebp - 0x88]
mov ax, word [ebp - 8]
cmp ax, word [esi + 6]
jne 0x408c4b
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov esi, 0x60000000
jmp 0x408c73
call fcn.00408568
jns 0x408cce
mov bh, 0xd2
movzx eax, word [ebp - 8]
lea eax, [eax + eax*4]
mov ecx, dword [esi + eax*8 + 0x104]
mov edx, dword [esi + eax*8 + 0x108]
lea eax, [esi + eax*8 + 0xf8]
mov esi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
ror byte [ecx - 0x3e74f7bb], cl
div dword [ebp - 0xac]
cmp eax, dword [ebp + 8]
ja 0x408cc9
mov edx, esi
mov edi, esi
and edx, 0x20000000
and edi, 0x40000000
and esi, 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x408cb2
or byte [eax + ecx], 1
cmp edi, ebx
je 0x408cba
or byte [eax + ecx], 2
cmp esi, ebx
je 0x408cc3
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp + 8]
jbe 0x408ca7
inc dword [ebp - 8]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp - 8]
cmp cx, word [eax + 6]
jbe 0x408c2c
js 0x408ccf
invalid
invalid
mov esi, dword [ebp + 0xc]
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x408d16
dec eax
je 0x408d0d
sub eax, 3
je 0x408d04
mov dword [ebp - 4], 0x40
jmp 0x408d19
mov dword [ebp - 4], 4
jmp 0x408d19
mov dword [ebp - 4], 0x20
jmp 0x408d19
mov dword [ebp - 4], ecx
call fcn.00408568
sbb byte [ebx + 0x67], dl
fadd dword [ebx + 0x7440fc7d]
sbb byte [ebp - 0xaf03bb], cl
jne 0x408d2b
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push esi
call dword [ebp - 0xc4]
test eax, eax
je 0x408d73
add esi, dword [ebp - 0xac]
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x408ce5
mov eax, dword [ebp - 0x88]
mov esi, dword [eax + 0x28]
sub byte [ebx], al
jne 0x408d67
push 0x8000
push ebx
push dword [ebp + 0xc]
call dword [ebp - 0xc]
xor eax, eax
Function at 0x408c80
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax], ebx
je 0x408c27
lea edi, [eax + 8]
mov ecx, dword [eax + 4]
add ecx, eax
cmp edi, ecx
jae 0x408c22
movzx ecx, word [edi]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
jne 0x408c16
mov edx, dword [ebp + 0xc]
and ecx, 0xfff
add ecx, dword [ebp + 0xc]
sub edx, dword [esi + 0x34]
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x408c1e
cmp edx, ebx
jne 0x408d73
inc edi
inc edi
jmp 0x408be5
add eax, dword [eax + 4]
jmp 0x408bde
mov dword [ebp - 8], ebx
jmp 0x408c32
mov esi, dword [ebp - 0x88]
mov ax, word [ebp - 8]
cmp ax, word [esi + 6]
jne 0x408c4b
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov esi, 0x60000000
jmp 0x408c73
call fcn.00408568
jns 0x408cce
mov bh, 0xd2
movzx eax, word [ebp - 8]
lea eax, [eax + eax*4]
mov ecx, dword [esi + eax*8 + 0x104]
mov edx, dword [esi + eax*8 + 0x108]
lea eax, [esi + eax*8 + 0xf8]
mov esi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
ror byte [ecx - 0x3e74f7bb], cl
div dword [ebp - 0xac]
cmp eax, dword [ebp + 8]
ja 0x408cc9
mov edx, esi
mov edi, esi
and edx, 0x20000000
and edi, 0x40000000
and esi, 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x408cb2
or byte [eax + ecx], 1
cmp edi, ebx
je 0x408cba
or byte [eax + ecx], 2
cmp esi, ebx
je 0x408cc3
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp + 8]
jbe 0x408ca7
inc dword [ebp - 8]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp - 8]
cmp cx, word [eax + 6]
jbe 0x408c2c
js 0x408ccf
invalid
invalid
mov esi, dword [ebp + 0xc]
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x408d16
dec eax
je 0x408d0d
sub eax, 3
je 0x408d04
mov dword [ebp - 4], 0x40
jmp 0x408d19
mov dword [ebp - 4], 4
jmp 0x408d19
mov dword [ebp - 4], 0x20
jmp 0x408d19
mov dword [ebp - 4], ecx
call fcn.00408568
sbb byte [ebx + 0x67], dl
fadd dword [ebx + 0x7440fc7d]
sbb byte [ebp - 0xaf03bb], cl
jne 0x408d2b
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push esi
call dword [ebp - 0xc4]
test eax, eax
je 0x408d73
add esi, dword [ebp - 0xac]
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x408ce5
mov eax, dword [ebp - 0x88]
mov esi, dword [eax + 0x28]
sub byte [ebx], al
jne 0x408d67
push 0x8000
push ebx
push dword [ebp + 0xc]
call dword [ebp - 0xc]
xor eax, eax
Function at 0x40a505
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push dword [ecx - 0x3a]
test dword [ebx + 0x7dfffff8], ecx
mov eax, dword [ebp - 0x6fc]
inc eax
mov dword [ebp - 0x6fc], eax
and dword [ebp - 0x37c], 0
push dword [ebp - 0x3a0]
call dword [ebp - 0x704]
mov dword [ebp - 0x3a4], eax
cmp dword [ebp - 0x3a4], 0
inc dword [eax]
je 0x40a53c
lea eax, [ebp - 0x714]
push eax
call fcn.00408578
pop ecx
push eax
push dword [ebp - 0x3a4]
push dword [ebp + 0x14]
call fcn.0040852d
add esp, 0xc
mov dword [ebp - 0x37c], eax
cmp dword [ebp - 0x37c], 0
jne 0x40a53c
jmp 0x409efb
cmp dword [ebp - 0x37c], 0
je 0x40a54a
jmp 0x40a608
push 0
push 0
push 2
push 0
push 2
push 0x40000000
push dword [ebp - 0x3a0]
call dword [ebp - 0x3c8]
mov dword [ebp - 0x380], eax
call fcn.00408568
add ecx, esi
mov al, byte [0x80bd8375]
cld
invalid
cmp dword [ebp - 0x37c], 0
jne 0x40a6bb
mov eax, dword [ebp - 0x748]
mov dword [ebp - 0x7ec], eax
mov eax, dword [ebp - 0x38c]
mov dword [ebp - 0x7e8], eax
and dword [ebp - 0x7e0], 0
call fcn.00408568
invalid
push dword [ebp + 0x1c]
push dword [ebp - 0xc]
push dword [ebp - 0x540]
invalid
invalid

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

Disassembly:
pushal
nop
nop
nop
mov eax, section..idata
nop
mov ebx, 0x408ecc
nop
mov ecx, 0x29801580
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x430024
nop
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x78d54f2b
test eax, eax
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x404f66
Capabilities:
Encode data using xor

Disassembly:
mov dword [eax], 0x4d00
pop es
inc ebp
or al, 0xa
pop es
jne 0x404fe1
mov ecx, dword [0x4102dc]
mov ecx, eax
or al, 0x8b
ror dword [ebx - 0x367aefb0], 0x25
or al, byte [ebp - 0x21a9c440]
push eax
and byte [ecx - 0x7415efab], cl
and dword [esi + edx*2], edx
xchg byte [ebp + 0x660375db], al
pop eax
sbb byte [eax - 0x1dfe40fd], bh
jb 0x404fa3
cmp ecx, dword [ecx]
test eax, 0xc438b57
test eax, eax
je 0x404fb4
push eax
call 0x9240a2d0
mov esi, dword [ebx + 0x18]
mov ecx, dword [ebx]
xchg byte [ebx + 0x18], al
mov edx, edi
test dword [esi - 0x2ec4f08b], eax
cmp edx, ecx
push edi
or ecx, dword [ebx - 0x3f7cfb90]
add al, 0x42
test esi, esi
je 0x404fc2
mov esi, dword [eax]
test esi, esi
or al, 0x53
mov edi, dword [esi]
test edi, edi
mov dword [eax], edi
jne 0x79405093
add byte [ecx + 0x3b], bh
ror dword [edi], 1
add byte [edx - 0x75000000], 0x22
cmp edx, ecx
jb 0x40506d
mov esp, dword [edx]
cld
sub eax, 4
dec ecx
xor eax, 0x8504752e
leave
ja 0x404feb
mov dword [ebx], ecx
jmp 0x40506d
cmp byte [ebx + 4], 0x8b
inc esi
mov ebp, 0x438bf887
add al, 0x79
iretd

Function at 0x409f80
Capabilities:
Resolve function by parsing pe exports

Disassembly:
xchg edx, eax
xchg ecx, eax
mov ch, 0x3c
xchg byte [edi + 0x20588b28], bh
Function at 0x433005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
mov ebx, 0x40de38
nop
mov ecx, 0x7d3308c2
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x433024
nop
nop
nop
nop
mov eax, str.PIRI
nop
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x49104dd2
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x433084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43306c
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219