joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4363cc
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 0x4363e8
cmp dword [esi + 4], 0
je 0x436415
test byte [ebx + 0x55], 1
jne 0x436407
mov eax, ebx
call fcn.00434f6c
test eax, eax
jne 0x436407
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x436525
mov edx, esi
mov eax, ebx
call fcn.00435ef0
jmp 0x436525
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 0x43651e
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0043823c
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.00432c08
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.004363cc
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.0043823c
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x436525
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 0x43cb64
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4611c4]
cmp byte [eax + 0xc], 0
je 0x43ccd1
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x43ccca
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x462b64], 0
jne 0x43cbb8
push 0x43ccd8
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x43cce0
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x462b64], eax
cmp dword [0x460b4c], 0
jne 0x43ccb3
push 0x43ccf0
call sub.kernel32.dll_LoadLibraryA
mov dword [0x460b4c], eax
cmp dword [0x460b4c], 0
je 0x43ccb3
push 0x43ccfc
mov eax, dword [0x460b4c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x462b68], eax
push 0x43cd0c
mov eax, dword [0x460b4c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x462b6c], eax
push 0x43cd20
mov eax, dword [0x460b4c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x462b70], eax
push 0x43cd38
mov eax, dword [0x460b4c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x462b74], eax
push 0x43cd50
mov eax, dword [0x460b4c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x462b78], eax
push 0x43cd64
mov eax, dword [0x460b4c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x462b7c], eax
push 0x43cd7c
mov eax, dword [0x460b4c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x462b80], eax
push 0x43cd94
mov eax, dword [0x460b4c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x462b84], eax
push 0x43cdb0
mov eax, dword [0x460b4c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x462b88], eax
push 0x43cdbc
mov eax, dword [0x460b4c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x462b8c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43ccd1
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x440b5c
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.00403e70
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x440bab
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.004040e0
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4482e8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x448338]
test si, 4
je 0x4482fc
or bl, 1
test si, 8
je 0x448306
or bl, 4
test si, 1
je 0x448310
or bl, 8
test si, 2
je 0x44831a
or bl, 0x10
test si, 0x10
je 0x448324
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x448333
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x44833c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x448374]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x448355
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x448364
or bl, 4
test esi, 0x20000000
je 0x44836f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x44ea1c
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x44ea2e
add esp, 0xfffffff0
call fcn.00403444
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004192f0
mov eax, dword [0x460e80]
mov dword [eax + 4], ebx
mov dword [eax], 0x44edc0
mov eax, dword [0x460e8c]
mov dword [eax + 4], ebx
mov dword [eax], 0x44edcc
mov eax, ebx
call fcn.0044edd8
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x411524]
call fcn.004030f0
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x411524]
call fcn.004030f0
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x411524]
call fcn.004030f0
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x411524]
call fcn.004030f0
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x411524]
call fcn.004030f0
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, 0x44b1f4
push eax
push 0
push 0
mov eax, dword [0x460fd0]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41ad3c]
call fcn.0041c3d8
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41ad3c]
call fcn.0041c3d8
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41ad3c]
call fcn.0041c3d8
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0044f1f8
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44f0d4
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44f0d4
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44f0d4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44eb6b
call fcn.0040349c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x44eeb8
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 0x44f063
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x44f044
mov dl, 1
mov eax, dword [0x411940]
call fcn.004030f0
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00403e70
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x44f033
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.0043cec4
test al, al
je 0x44f026
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, 0x44f074
lea eax, [ebp - 0x254]
call fcn.004089d0
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x44f026
xor eax, eax
push ebp
push 0x44f01f
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 0x44f0ac
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x44f008
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004040e0
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 0x44f008
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004040e0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44f026
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x44ef29
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041541c
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 0x44f06a
lea eax, [ebp - 0x260]
call fcn.00403e70
ret

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

Disassembly:
push ecx
mov eax, dword [0x462bb0]
cmp byte [eax + 0xa5], 0
jne 0x44fa09
cmp dword [0x462bc8], 0
jne 0x44f9ca
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x44f954
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x462bc8], eax
cmp dword [0x462bc4], 0
jne 0x44f9e5
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x462bc4], eax
cmp dword [0x462bcc], 0
jne 0x44fa09
push esp
push 0
push 0
push 0x44f8f8
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x462bcc], eax
pop edx
ret
Function at 0x44fb00
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x44fb17
add esp, 0xfffffff0
call fcn.00403444
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004192f0
mov eax, dword [0x460fbc]
cmp word [eax + 2], 0
jne 0x44fb3f
mov eax, dword [0x460fbc]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00451268
mov eax, dword [0x46106c]
cmp word [eax + 2], 0
jne 0x44fb59
mov eax, dword [0x46106c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00451460
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x411524]
call fcn.004030f0
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x411524]
call fcn.004030f0
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 [0x41b744]
call fcn.004229e0
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x44fce0
mov eax, dword [0x460ee0]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00422db0
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x451a00
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x460ee0]
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.0040c098
test eax, eax
je 0x44fc4e
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.004083c4
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040c0c0
test eax, eax
je 0x44fc62
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.004040e0
mov eax, dword [0x460dcc]
cmp byte [eax], 0
jne 0x44fc96
mov eax, ebx
call fcn.0044fe08
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.00451bdc
mov eax, ebx
call fcn.004525a0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44fcd6
call fcn.0040349c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x450088
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x462bb0]
cmp dword [eax + 0x30], 0
je 0x450132
cmp dword [ebx + 0x94], 0
jne 0x45012c
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x450018
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45012c
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 0x4500f2
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45012c
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.0041388c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x450101
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x450c94
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 0x450cc9
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.00403f60
jmp 0x450cd6
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00403ec4
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x451db8
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x451df9
mov eax, esi
call fcn.00438540
test al, al
je 0x451df9
mov eax, dword [ebx + 0x84]
call fcn.0043823c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x451df9
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043823c
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x453ac4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x20c], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x453d24
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x453b27
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.0045358c
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040bc84
cmp al, 1
jne 0x453b27
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.004538a4
test al, al
je 0x453cb3
cmp dword [ebp - 8], 0
jge 0x453b45
xor eax, eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
inc ebx
lea edx, [ebp - 0x210]
mov eax, dword [ebp - 4]
call fcn.0045358c
mov eax, dword [ebp - 0x210]
call fcn.00404130
cmp ebx, eax
jge 0x453b8f
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.0045358c
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x4611ac]
and eax, 0xff
bt dword [edx], eax
jae 0x453b8f
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 8]
jg 0x453ba3
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00453aa0
cmp ebx, dword [ebp - 8]
je 0x453ca5
lea eax, [ebp - 0x108]
push eax
call sub.user32.dll_GetKeyboardState
mov edx, pe_nt_image_headers32
lea eax, [ebp - 0x208]
mov byte [eax], 0
inc eax
dec edx
jne 0x453bcf
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.0040331c
and eax, 0x7f
movzx eax, word [eax*2 + 0x460d8c]
mov byte [ebp + eax - 0x208], 0x81
lea eax, [ebp - 0x208]
push eax
call sub.user32.dll_SetKeyboardState
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 1
xor eax, eax
push ebp
push 0x453c92
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.0040331c
and eax, 0x7f
movzx eax, word [eax*2 + 0x460d8c]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.0043823c
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.0040331c
and eax, 0x7f
movzx eax, word [eax*2 + 0x460d8c]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.0043823c
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x453c99
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 0
ret
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x230], edx
jmp 0x453d06
cmp dword [ebp - 8], 0
jge 0x453cbe
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.0045358c
mov eax, dword [ebp - 0x218]
call fcn.00404130
cmp eax, dword [ebp - 8]
jg 0x453cf8
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.0045358c
mov eax, dword [ebp - 0x21c]
call fcn.00404130
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00453aa0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x453d2b
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.00403e94
ret
Function at 0x557cd0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xd7000]
push edi
or ebp, 0xffffffff
jmp 0x557cf2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x557cf9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x557ce8
mov eax, 1
add ebx, ebx
jne 0x557d0b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x557d00
jne 0x557d1c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x557d00
xor ecx, ecx
sub eax, 3
jb 0x557d30
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x557da2
mov ebp, eax
add ebx, ebx
jne 0x557d3b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x557d48
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x557d6c
inc ecx
add ebx, ebx
jne 0x557d58
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x557d4d
jne 0x557d69
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x557d4d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x557d8c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x557d7d
jmp 0x557cee
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x557d8c
add edi, ecx
jmp 0x557cee
pop esi
mov edi, esi
mov ecx, 0x658e
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x557daa
cmp byte [edi], 0x26
jne 0x557daa
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x557daf
lea edi, [esi + 0x154000]
mov eax, dword [edi]
or eax, eax
je 0x557e27
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x160b0c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x160c10]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x557ddc
mov ecx, edi
jns 0x557e0b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x160c14]
or eax, eax
je 0x557e21
mov dword [ebx], eax
add ebx, 4
jmp 0x557df9
call dword [esi + 0x160c24]
mov ebp, dword [esi + 0x160c18]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x227]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x557e5b
sub esp, 0xffffff80
jmp 0x4ca66d
Function at 0x402706
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 0xc]
push esi
imul eax, eax, 0x61c88647
mov esi, dword [esp + 0xc]
test eax, eax
mov edx, dword [esi]
mov ecx, dword [esi + 4]
je 0x40276e
mov esi, dword [esp + 8]
push ebx
push edi
mov edi, edx
mov ebx, edx
sar edi, 5
shl ebx, 4
xor edi, ebx
mov ebx, eax
sar ebx, 0xb
and ebx, 3
add edi, dword [esi + ebx*4]
mov ebx, eax
xor ebx, edx
add eax, 0x61c88647
add edi, ebx
sub ecx, edi
mov edi, ecx
mov ebx, ecx
sar edi, 5
shl ebx, 4
xor edi, ebx
mov ebx, eax
and ebx, 3
add edi, dword [esi + ebx*4]
mov ebx, eax
xor ebx, ecx
add edi, ebx
sub edx, edi
test eax, eax
jne 0x402724
mov esi, dword [esp + 0x14]
pop edi
pop ebx
mov dword [esi], edx
mov dword [esi + 4], ecx
pop esi
ret

Function at 0x10013090
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
pushal
call 0x1001309f
pop dword [ebp - 0x14]
mov eax, 0x1001309f
sub dword [ebp - 0x14], eax
mov dword [ebp - 0x24], 0x378c5052
add dword [ebp - 0x24], 0x16c5f4f9
mov dword [ebp - 0x20], 0xb4b416b2
sub dword [ebp - 0x20], 0x8280ca6d
mov dword [ebp - 0x1c], 0xe2b1254f
sub dword [ebp - 0x1c], 0x9664e121
mov dword [ebp - 0x18], 0x9cc1a326
sub dword [ebp - 0x18], 0x9cc1a326
lea eax, [ebp - 0x24]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x14]
call dword [eax]
mov dword [ebp - 0x24], 0xf189358c
sub dword [ebp - 0x24], 0x7d16cc36
mov dword [ebp - 0x20], 0xa8dfb459
sub dword [ebp - 0x20], 0x677352e4
mov dword [ebp - 0x1c], 0x91e99600
add dword [ebp - 0x1c], 0xd185d66c
mov dword [ebp - 0x18], 0x638db7d0
sub dword [ebp - 0x18], 0x638db7d0
lea ebx, [ebp - 0x24]
push ebx
push eax
mov eax, 0xeeb66438
sub eax, 0xdeb4b424
add eax, dword [ebp - 0x14]
call dword [eax]
push 0x40
push 0x1000
push 0x3e6ab
push 0
call eax
mov ecx, 0x48bd
xor ebx, ebx
add ebx, eax
mov esi, 0x7e1d76e8
sub esi, 0x6e1ac6e8
add esi, dword [ebp - 0x14]
mov edi, 0xd0c8d43
mov dword [ebp - 8], 0x8c15885f
mov edx, dword [esi]
xor dword [ebp - 4], ecx
sub edx, edi
add dword [ebp - 0xc], edx
mov dword [ebx], edx
add dword [ebp - 0xc], edi
add ebx, 0x4c892cf5
sub ebx, 0x4c892cf1
add esi, 0xe9dc1c72
add esi, 0x1623e392
loop 0x100131ad
add eax, 0xb4ef77f2
add eax, 0x4b119dd5
xor ebx, ebx
add ebx, eax
add eax, 0x4f4f0e95
add eax, 0xb0b0f170
mov ecx, 0x10000000
add ecx, dword [ebp - 0x14]
call ebx
leave
ret