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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x467b9c]
cmp byte [eax + 0xc], 0
je 0x43e955
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x43e94e
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x468b9c], 0
jne 0x43e83c
push 0x43e95c
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x43e964
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x468b9c], eax
cmp dword [0x466b5c], 0
jne 0x43e937
push 0x43e974
call sub.kernel32.dll_LoadLibraryA
mov dword [0x466b5c], eax
cmp dword [0x466b5c], 0
je 0x43e937
push 0x43e980
mov eax, dword [0x466b5c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x468ba0], eax
push 0x43e990
mov eax, dword [0x466b5c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x468ba4], eax
push 0x43e9a4
mov eax, dword [0x466b5c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x468ba8], eax
push 0x43e9bc
mov eax, dword [0x466b5c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x468bac], eax
push 0x43e9d4
mov eax, dword [0x466b5c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x468bb0], eax
push 0x43e9e8
mov eax, dword [0x466b5c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x468bb4], eax
push 0x43ea00
mov eax, dword [0x466b5c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x468bb8], eax
push 0x43ea18
mov eax, dword [0x466b5c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x468bbc], eax
push 0x43ea34
mov eax, dword [0x466b5c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x468bc0], eax
push 0x43ea40
mov eax, dword [0x466b5c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x468bc4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43e955
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x442954
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.00404638
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x4429a3
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.004048a8
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44a0b8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44a108]
test si, 4
je 0x44a0cc
or bl, 1
test si, 8
je 0x44a0d6
or bl, 4
test si, 1
je 0x44a0e0
or bl, 8
test si, 2
je 0x44a0ea
or bl, 0x10
test si, 0x10
je 0x44a0f4
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44a103
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x44a10c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44a144]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44a125
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44a134
or bl, 4
test esi, 0x20000000
je 0x44a13f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x4507ec
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x4507fe
add esp, 0xfffffff0
call fcn.00403b88
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041a6dc
mov eax, dword [0x467704]
mov dword [eax + 4], ebx
mov dword [eax], 0x450b90
mov eax, dword [0x467714]
mov dword [eax + 4], ebx
mov dword [eax], 0x450b9c
mov eax, ebx
call fcn.00450ba8
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x411f90]
call fcn.00403834
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x411f90]
call fcn.00403834
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x411f90]
call fcn.00403834
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x411f90]
call fcn.00403834
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x411f90]
call fcn.00403834
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x44cfc4
push eax
push 0
push 0
mov eax, dword [0x467900]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41c140]
call fcn.0041d8b4
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41c140]
call fcn.0041d8b4
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41c140]
call fcn.0041d8b4
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00450fc8
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x450ea4
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x450ea4
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x450ea4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45093b
call fcn.00403be0
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x450c88
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x450e33
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x450e14
mov dl, 1
mov eax, dword [0x412464]
call fcn.00403834
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404638
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x450e03
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.0043eb48
test al, al
je 0x450df6
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x450e44
lea eax, [ebp - 0x254]
call fcn.004092a4
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x450df6
xor eax, eax
push ebp
push 0x450def
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x450e7c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x450dd8
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004048a8
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x450dd8
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004048a8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x450df6
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x450cf9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.004163c4
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x450e3a
lea eax, [ebp - 0x260]
call fcn.00404638
ret

Function at 0x451768
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x468be8]
cmp byte [eax + 0xa5], 0
jne 0x4517d9
cmp dword [0x468c00], 0
jne 0x45179a
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x451724
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x468c00], eax
cmp dword [0x468bfc], 0
jne 0x4517b5
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x468bfc], eax
cmp dword [0x468c04], 0
jne 0x4517d9
push esp
push 0
push 0
push 0x4516c8
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x468c04], eax
pop edx
ret
Function at 0x4518d0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x4518e7
add esp, 0xfffffff0
call fcn.00403b88
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041a6dc
mov eax, dword [0x4678e0]
cmp word [eax + 2], 0
jne 0x45190f
mov eax, dword [0x4678e0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00452fc0
mov eax, dword [0x4679e4]
cmp word [eax + 2], 0
jne 0x451929
mov eax, dword [0x4679e4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004531b8
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x411f90]
call fcn.00403834
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x411f90]
call fcn.00403834
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x41cc20]
call fcn.00423f98
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x451ab0
mov eax, dword [0x467798]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00424368
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x453758
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x467798]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040c9e8
test eax, eax
je 0x451a1e
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408c98
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040ca10
test eax, eax
je 0x451a32
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.004048a8
mov eax, dword [0x4675e4]
cmp byte [eax], 0
jne 0x451a66
mov eax, ebx
call fcn.00451bd8
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.00453934
mov eax, ebx
call fcn.004542f8
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x451aa6
call fcn.00403be0
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x451e58
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x468be8]
cmp dword [eax + 0x30], 0
je 0x451f02
cmp dword [ebx + 0x94], 0
jne 0x451efc
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x451de8
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x451efc
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x451ec2
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x451efc
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00414430
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x451ed1
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x452a64
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x452a99
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404728
jmp 0x452aa6
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.0040468c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x453b10
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x453b51
mov eax, esi
call fcn.0043a1c4
test al, al
je 0x453b51
mov eax, dword [ebx + 0x84]
call fcn.00439eec
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x453b51
push 0
mov eax, dword [ebx + 0x84]
call fcn.00439eec
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x454e98
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov bl, byte [0x454ed0]
push 0x10
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x454eae
or bl, 1
push 0x11
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x454ebd
or bl, 4
push 0x12
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x454ecc
or bl, 2
mov eax, ebx
pop ebx
ret

Function at 0x456368
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x4679b0]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45638e
push 0
mov eax, dword [0x4679b0]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_ShowWindow
ret

Function at 0x45fc70
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
xor eax, eax
mov dword [ebp - 4], edx
mov ebx, ecx
mov edx, dword [ebp + 8]
dec edx
sub edx, ebx
jl 0x45fcaf
inc edx
mov ecx, eax
and cx, 0xff
shl ecx, 8
shr ax, 8
mov esi, dword [ebp - 4]
movzx esi, byte [esi + ebx]
xor ax, si
movzx eax, ax
xor cx, word [eax*2 + 0x4673c0]
mov eax, ecx
inc ebx
dec edx
jne 0x45fc86
pop esi
pop ebx
pop ecx
pop ebp
ret 4
Function at 0x403836
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x403871
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x403858
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp dword [esp + 0xc], edx
jb 0x403869
add edx, ecx
cmp dword [esp + 0xc], edx
jb 0x403873
inc edi
add eax, 0x28
cmp edi, esi
jb 0x40384e
xor eax, eax
pop edi
pop esi
ret

Function at 0x403d9b
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax + 4], ebx
jne fcn.00403d9b
cmp dword [eax + 0xc], ebx
je 0x403e3e
mov edi, dword [eax + 0xc]
add edi, esi
push edi
call dword [ebp - 0xc0]
mov dword [ebp + 0xc], eax
call fcn.004037f6
pop ebx
fisttp qword [ebp + 0xc5d39b7]
jne 0x403dca
push edi
call dword [ebp - 0xb8]
cmp eax, ebx
mov dword [ebp + 0xc], eax
je 0x403fe5
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax + 0x10]
mov eax, dword [eax]
cmp eax, ebx
lea edi, [ecx + esi]
jne 0x403dde
mov dword [ebp + 0x10], edi
jmp 0x403de3
add eax, esi
mov dword [ebp + 0x10], eax
inc ebp
adc al, ch
push cs
cli
invalid
call fcn.004037f6
cmp esp, ecx
js 0x403de1
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
cmp eax, ebx
je 0x403e2c
test eax, 0x80000000
lea ecx, [eax + esi]
je 0x403e07
and eax, 0xffff
push eax
jmp 0x403e0b
add ecx, 2
push ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004037bb
add esp, 0xc
cmp edi, ebx
mov dword [edi], eax
je 0x403fe5
add edi, 4
add dword [ebp + 0x10], 4
jmp 0x403dec
add dword [ebp - 0x44], 0x14
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp - 0x44]
jmp 0x403d8d
call fcn.004037f6
jmp 0x403eaa
mov dword [ebp + 0xc], ebx
jmp 0x403eb5

Function at 0x403f1d
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x403ecd
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x403eeb
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x403f49
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and byte [ecx + 0x1065], al
invalid
invalid
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x403f30
or byte [eax + ecx], 1
or al, 8
add dword [ecx], edi
pop ebp
or byte [esp + eax - 0x80], dh
or al, 8
add bh, byte [ecx]
pop ebp
adc byte [ebp + eax + 3], dh
enter 0x980, 4
cmp dword [ebp + 8], ebx
je 0x403f39
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x403f43
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x403f25
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x403eaf
Function at 0x403f2d
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x403ecd
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x403eeb
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x403f49
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and byte [ecx + 0x1065], al
invalid
invalid
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x403f30
or byte [eax + ecx], 1
or al, 8
add dword [ecx], edi
pop ebp
or byte [esp + eax - 0x80], dh
or al, 8
add bh, byte [ecx]
pop ebp
adc byte [ebp + eax + 3], dh
enter 0x980, 4
cmp dword [ebp + 8], ebx
je 0x403f39
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x403f43
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x403f25
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x403eaf

Function at 0x404740
Capabilities:
Contain obfuscated stackstrings

Disassembly:
call dword [edx]
mov byte [ebp - 0x367], 0x30
mov byte [ebp - 0x366], 0x21
mov byte [ebp - 0x365], 6
mov byte [ebp - 0x364], 0x2c
mov byte [ebp - 0x363], 0x26
mov byte [ebp - 0x362], 0x21
mov byte [ebp - 0x361], 0x30
mov byte [ebp - 0x360], 0x38
mov byte [ebp - 0x35f], 0x11
mov byte [ebp - 0x35e], 0x3c
mov byte [ebp - 0x35d], 0x27
mov byte [ebp - 0x35c], 0x30
mov byte [ebp - 0x35b], 0x36
invalid
invalid
cmpsb byte [esi], byte es:[edi]
Function at 0x2379058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x23791a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x237907e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x237906a
add dl, dl
jne 0x2379089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x23790dc
xor eax, eax
add dl, dl
jne 0x2379096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x237917d
add dl, dl
jne 0x23790a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x23790b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x23790bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x23790c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x23790d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x2379075
mov eax, 1
add dl, dl
jne 0x23790ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x23790f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x23790e1
sub eax, ebx
mov ebx, 1
jne 0x2379128
mov ecx, 1
add dl, dl
jne 0x237910e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x2379119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x2379105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x2379075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x237913f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x237914a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x2379136
cmp eax, 0x7d00
jae 0x237916d
cmp eax, 0x500
jb 0x2379168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x2379075
cmp eax, 0x7f
ja 0x2379170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x2379075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x237919e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x2379075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x403e20
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x194
mov eax, dword [0x5279f0]
xor eax, esp
mov dword [esp + 0x190], eax
lea eax, [esp]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x403e72
mov eax, dword [esp]
cmp al, 2
jne 0x403e6c
shr eax, 8
cmp al, 2
jne 0x403e6c
xor eax, eax
mov ecx, dword [esp + 0x190]
xor ecx, esp
call fcn.004c22ab
add esp, 0x194
ret
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, dword [esp + 0x190]
xor ecx, esp
mov eax, 2
call fcn.004c22ab
add esp, 0x194
ret

Function at 0x40fad0
Capabilities:
Write file on windows

Disassembly:
push ebx
push edi
mov edi, dword [esp + 0xc]
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x14]
lea ebx, [edi + 0x57c]
push 0x4000
push ebx
call fcn.00411d90
mov eax, dword [edi + 0x130]
add esp, 0x10
test eax, eax
je 0x40fb24
cmp dword [edi + 0x85a8], 0
jne 0x40fb24
push ebx
push 0x4d9dc0
push 0x100
push eax
call fcn.00411ca0
add esp, 0x10
mov dword [edi + 0x85a8], 1
cmp dword [edi + 0x31c], 0
je 0x40fb99
push esi
mov esi, ebx
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x40fb33
sub esi, ecx
cmp esi, 0x3fff
jae 0x40fb54
mov byte [edi + esi + 0x57c], 0xa
inc esi
mov byte [edi + esi + 0x57c], al
mov eax, dword [edi + 0x19c]
test eax, eax
je 0x40fb72
push dword [edi + 0x12c]
push esi
push ebx
push 0
push edi
call eax
add esp, 0x14
pop esi
pop edi
pop ebx
ret
push dword [edi + 0x128]
push 1
push 2
push 0x4da318
call fcn.004c609b
push dword [edi + 0x128]
push 1
push esi
push ebx
call fcn.004c609b
add esp, 0x20
pop esi
pop edi
pop ebx
ret

Function at 0x40fba0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x808
mov eax, dword [0x5279f0]
xor eax, esp
mov dword [esp + 0x804], eax
push edi
mov edi, dword [esp + 0x810]
test edi, edi
je 0x40fc69
cmp dword [edi + 0x31c], 0
je 0x40fc69
push esi
lea eax, [esp + 0x81c]
push eax
push dword [esp + 0x81c]
lea eax, [esp + 0x10]
push 0x801
push eax
call fcn.00411d90
lea esi, [esp + 0x18]
add esp, 0x10
lea ecx, [esi + 1]
lea ebx, [ebx]
mov al, byte [esi]
inc esi
test al, al
jne 0x40fc00
mov eax, dword [edi + 0x19c]
sub esi, ecx
test eax, eax
je 0x40fc3e
push dword [edi + 0x12c]
lea ecx, [esp + 0xc]
push esi
push ecx
push 0
push edi
call eax
add esp, 0x14
pop esi
pop edi
mov ecx, dword [esp + 0x804]
xor ecx, esp
call fcn.004c22ab
add esp, 0x808
ret
push dword [edi + 0x128]
push 1
push 2
push 0x4da318
call fcn.004c609b
push dword [edi + 0x128]
lea eax, [esp + 0x1c]
push 1
push esi
push eax
call fcn.004c609b
add esp, 0x20
pop esi
mov ecx, dword [esp + 0x808]
pop edi
xor ecx, esp
call fcn.004c22ab
add esp, 0x808
ret