joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4579b0
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 0x4579cc
cmp dword [esi + 4], 0
je 0x4579f9
test byte [ebx + 0x55], 1
jne 0x4579eb
mov eax, ebx
call fcn.00456550
test eax, eax
jne 0x4579eb
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x457b09
mov edx, esi
mov eax, ebx
call fcn.004574d4
jmp 0x457b09
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 0x457b02
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00459820
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.004540d8
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.004579b0
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.00459820
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x457b09
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 0x45e220
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x47a540]
cmp byte [eax + 0xc], 0
je 0x45e38d
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45e386
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x47bbbc], 0
jne 0x45e274
push 0x45e394
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x45e39c
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x47bbbc], eax
cmp dword [0x479e04], 0
jne 0x45e36f
push 0x45e3ac
call sub.kernel32.dll_LoadLibraryA
mov dword [0x479e04], eax
cmp dword [0x479e04], 0
je 0x45e36f
push 0x45e3b8
mov eax, dword [0x479e04]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x47bbc0], eax
push 0x45e3c8
mov eax, dword [0x479e04]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x47bbc4], eax
push 0x45e3dc
mov eax, dword [0x479e04]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x47bbc8], eax
push 0x45e3f4
mov eax, dword [0x479e04]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x47bbcc], eax
push 0x45e40c
mov eax, dword [0x479e04]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x47bbd0], eax
push 0x45e420
mov eax, dword [0x479e04]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x47bbd4], eax
push 0x45e438
mov eax, dword [0x479e04]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x47bbd8], eax
push 0x45e450
mov eax, dword [0x479e04]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x47bbdc], eax
push 0x45e46c
mov eax, dword [0x479e04]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x47bbe0], eax
push 0x45e478
mov eax, dword [0x479e04]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x47bbe4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45e38d
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x4626ec
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.0040429c
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x46273b
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.0040450c
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x469f14
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x469f64]
test si, 4
je 0x469f28
or bl, 1
test si, 8
je 0x469f32
or bl, 4
test si, 1
je 0x469f3c
or bl, 8
test si, 2
je 0x469f46
or bl, 0x10
test si, 0x10
je 0x469f50
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x469f5f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x469f68
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x469fa0]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x469f81
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x469f90
or bl, 4
test esi, 0x20000000
je 0x469f9b
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x4706fc
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x47070e
add esp, 0xfffffff0
call fcn.00403848
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041a5ac
mov eax, dword [0x47a1c4]
mov dword [eax + 4], ebx
mov dword [eax], 0x470aa0
mov eax, dword [0x47a1d0]
mov dword [eax + 4], ebx
mov dword [eax], 0x470aac
mov eax, ebx
call fcn.00470ab8
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x411f40]
call fcn.004034e0
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x411f40]
call fcn.004034e0
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x411f40]
call fcn.004034e0
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x411f40]
call fcn.004034e0
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x411f40]
call fcn.004034e0
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, 0x46ce38
push eax
push 0
push 0
mov eax, dword [0x47a330]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41c050]
call fcn.0041d7e8
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41c050]
call fcn.0041d7e8
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41c050]
call fcn.0041d7e8
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00470f50
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x470e18
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x470e18
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x470e18
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x47084b
call fcn.004038a0
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x470bfc
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 0x470da7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x470d88
mov dl, 1
mov eax, dword [0x4124e8]
call fcn.004034e0
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.0040429c
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x470d77
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.0045e580
test al, al
je 0x470d6a
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, 0x470db8
lea eax, [ebp - 0x254]
call fcn.00409098
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x470d6a
xor eax, eax
push ebp
push 0x470d63
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 0x470df0
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x470d4c
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.0040450c
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 0x470d4c
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.0040450c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x470d6a
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x470c6d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00416784
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 0x470dae
lea eax, [ebp - 0x260]
call fcn.0040429c
ret

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

Disassembly:
push ecx
mov eax, dword [0x47bc08]
cmp byte [eax + 0xa5], 0
jne 0x471829
cmp dword [0x47bc20], 0
jne 0x4717ea
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x471774
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x47bc20], eax
cmp dword [0x47bc1c], 0
jne 0x471805
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x47bc1c], eax
cmp dword [0x47bc24], 0
jne 0x471829
push esp
push 0
push 0
push 0x471718
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x47bc24], eax
pop edx
ret
Function at 0x471eec
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x47bc08]
cmp dword [eax + 0x30], 0
je 0x471f96
cmp dword [ebx + 0x94], 0
jne 0x471f90
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x471e7c
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x471f90
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 0x471f56
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x471f90
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.00414434
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x471f65
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x472af4
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 0x472b29
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.0040438c
jmp 0x472b36
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004042f0
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x473cd8
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x473d19
mov eax, esi
call fcn.00459b24
test al, al
je 0x473d19
mov eax, dword [ebx + 0x84]
call fcn.00459820
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x473d19
push 0
mov eax, dword [ebx + 0x84]
call fcn.00459820
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x40549d
Capabilities:
Terminate process

Disassembly:
push 0x14
push 0x408830
call fcn.0040600c
push 1
call fcn.0040576a
pop ecx
test al, al
jne 0x405340
push 7
call fcn.00405e0a
xor bl, bl
mov byte [ebp - 0x19], bl
and dword [ebp - 4], 0
call fcn.00405735
mov byte [ebp - 0x24], al
mov eax, dword [0x40a914]
xor ecx, ecx
inc ecx
cmp eax, ecx
je 0x405339
test eax, eax
jne 0x4053aa
mov dword [0x40a914], ecx
push 0x407218
push 0x407200
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm_e
pop ecx
pop ecx
test eax, eax
je 0x40538d
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x405497
push 0x4071fc
push 0x4071dc
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
pop ecx
pop ecx
mov dword [0x40a914], 2
jmp 0x4053af
mov bl, cl
mov byte [ebp - 0x19], bl
push dword [ebp - 0x24]
call fcn.004058c7
pop ecx
call fcn.00405dfe
mov esi, eax
xor edi, edi
cmp dword [esi], edi
je 0x4053df
push esi
call fcn.0040583a
pop ecx
test al, al
je 0x4053df
push edi
push 2
push edi
mov esi, dword [esi]
mov ecx, esi
call fcn.00406006
call esi
call fcn.00405e04
mov esi, eax
cmp dword [esi], edi
je 0x4053fd
push esi
call fcn.0040583a
pop ecx
test al, al
je 0x4053fd
push dword [esi]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__register_thread_local_exe_atexit_callback
pop ecx
push edi
call sub.VCRUNTIME140.dll___telemetry_main_invoke_trigger
call sub.api_ms_win_crt_runtime_l1_1_0.dll___p___wargv
mov edi, eax
call sub.api_ms_win_crt_runtime_l1_1_0.dll___p___argc
mov esi, eax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__get_initial_wide_environment
push eax
push dword [edi]
push dword [esi]
call main
mov esi, eax
push 0
call sub.VCRUNTIME140.dll___telemetry_main_return_trigger
add esp, 0x14
call fcn.00405f1f
test al, al
jne 0x40543b
push esi
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
test bl, bl
jne 0x405444
call sub.api_ms_win_crt_runtime_l1_1_0.dll__cexit
push 0
push 1
call fcn.004058e4
pop ecx
pop ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
jmp 0x405497
call fcn.00406052
ret
call fcn.004051b1
jmp 0x405321

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

Disassembly:
pushal
nop
nop
nop
call 0x43300c
nop
nop
nop
nop
pop eax
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x432005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x432072
mov ebx, 0x40c7d0
nop
nop
nop
nop
nop
mov ecx, ebx
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x7801095e
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
loop 0x432060
nop
nop
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x4320d2
nop
mov ebx, 0x42f314
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x1fcc4ad6
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
loop 0x4320c0
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x422c80
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
sub esp, 0x4c
push ebx
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x422d8c
test eax, eax
je 0x422d8c
push esi
push edi
mov ecx, 0x10
mov esi, 0x43dff0
lea edi, [ebp - 0x4c]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov esi, dword [ebp + 0x14]
mov esi, dword [esi]
add esi, eax
mov dword [ebp - 8], esi
xor esi, esi
mov dword [ebp - 4], 0
mov ecx, eax
test edx, edx
jbe 0x422d73
lea edi, [eax + 4]
jmp 0x422cd7
mov ebx, dword [ebp + 8]
movzx eax, byte [esi + ebx]
inc esi
shl eax, 0x10
cmp esi, edx
jne 0x422cec
mov dword [ebp - 4], 2
jmp 0x422d0d
movzx ebx, byte [esi + ebx]
shl ebx, 8
inc esi
or eax, ebx
cmp esi, edx
jne 0x422d03
mov dword [ebp - 4], 1
jmp 0x422d0d
mov edx, dword [ebp + 8]
movzx edx, byte [esi + edx]
or eax, edx
inc esi
mov edx, eax
and edx, 0x3f
cmp edi, dword [ebp - 8]
ja 0x422d83
mov ebx, eax
shr ebx, 0x12
and ebx, 0x3f
movzx ebx, byte [ebp + ebx - 0x4c]
mov byte [ecx], bl
mov ebx, eax
shr ebx, 0xc
and ebx, 0x3f
movzx ebx, byte [ebp + ebx - 0x4c]
inc ecx
inc edi
mov byte [ecx], bl
mov ebx, dword [ebp - 4]
inc ecx
inc edi
cmp ebx, 1
jbe 0x422d46
mov byte [ecx], 0x3d
jmp 0x422d52
shr eax, 6
and eax, 0x3f
mov al, byte [ebp + eax - 0x4c]
mov byte [ecx], al
inc ecx
inc edi
test ebx, ebx
jbe 0x422d5d
mov byte [ecx], 0x3d
jmp 0x422d63
mov dl, byte [ebp + edx - 0x4c]
mov byte [ecx], dl
mov edx, dword [ebp + 0xc]
inc ecx
inc edi
cmp esi, edx
jb 0x422cd4
mov eax, dword [ebp + 0x10]
sub ecx, eax
mov eax, dword [ebp + 0x14]
pop edi
pop esi
mov dword [eax], ecx
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41fb6c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x42b520]
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.00416e52
and dword [ebp - 0x14], 0
cmp dword [0x46d558], 0
mov dword [ebp - 0x18], eax
jne 0x41fc1f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x41fcc7
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x41fcc7
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x46d558], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x46d55c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x46d560], eax
call edi
push eax
call esi
mov dword [0x46d568], eax
test eax, eax
je 0x41fc1f
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x46d564], eax
mov eax, dword [0x46d564]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x41fc78
cmp dword [0x46d568], ecx
je 0x41fc78
push eax
call esi
push dword [0x46d568]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x41fc78
test ebx, ebx
je 0x41fc78
call edi
test eax, eax
je 0x41fc6f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x41fc6f
test byte [ebp - 8], 1
jne 0x41fc78
or dword [ebp + 0x10], 0x200000
jmp 0x41fcab
mov eax, dword [0x46d55c]
cmp eax, dword [ebp - 0x18]
je 0x41fcab
push eax
call esi
test eax, eax
je 0x41fcab
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x41fcab
mov eax, dword [0x46d560]
cmp eax, dword [ebp - 0x18]
je 0x41fcab
push eax
call esi
test eax, eax
je 0x41fcab
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x46d558]
call esi
test eax, eax
je 0x41fcc7
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x41fcc9
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004113cb
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408f6c
mov ecx, 0x50ac60ed
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x42e3d0
nop
nop
mov ecx, 0x27060f7
nop
nop
nop
test eax, eax
nop
nop
je 0x430084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x40b1ed
Capabilities:
Encode data using xor

Disassembly:
sbb dword [ebp + 0x37], edi
fbstp tbyte [ebp + 0x95d4ca7]
cvtps2pd xmm5, qword [ebx - 0x37]
push 0x33ceba1c
sbb al, 0x1a
test eax, ebx
dec eax
lahf
cmp byte [eax + 0x54], dl
push ss
cdq
sub al, 0x86
jno 0x40b260
xor dl, byte [esp + 0x6d095146]
jp 0x40b273
sbb eax, 0x23f2900
les ebx, [eax + 0x2a5cd246]
int1
lahf
or eax, 0x6e7f38c2
or edi, dword [ebp + 0x19]
das
and dword [esi - 0x21], esp
dec ebp
cdq
fisttp word [ebp - 0x67]
add byte [ebx - 0x14], cl
push edi
jg 0x40b22f
aad 0xf1
inc edi
fimul dword [ebx - 0x402b24f]
cwde
or eax, 0x2d889c5c
insb byte es:[edi], dx
jge 0x40b27d
cmc
cmp byte [ecx], dl
mov cl, 0x5d
inc byte [eax]
push ss
mov edi, 0xde2a7a41
clc
frstor dword [edi + 0x2ce32980]
lea edi, [eax + 0x501d34f4]
fnsave dword [eax + 0x7d]
sar edx, 0x18
jp 0x40b27e
hlt
faddp st(0)
scasd eax, dword es:[edi]
xchg dword [esi], ecx
xchg ebp, eax
pop esp
imul ebx, dword [edi], 0x48
sub eax, 0x23885038
push edi
xor al, 0x12
adc ch, byte [ebp - 0x54]
insd dword es:[edi], dx
lodsb al, byte [esi]
rcl al, cl
jne 0x40b2e7
mov dword [ecx - 0x47], 0x5a9372cb
invalid
sub ch, dh
and byte [edi + ebx*4 + 0x1fd46717], dh
sub dword [bp + si + 0x101], 0xffffffb7
shr dword [esi], 0xf8
fisub word [ebx - 0x7b]
pop esp
xchg edi, eax
movsd dword es:[edi], dword [esi]
wait
cmpsb byte [esi], byte es:[edi]
xchg ebx, eax
pop ebp
adc byte [ebx], dl
lea ecx, [ebp - 0x4b]
cdq
xor esi, edi
stosd dword es:[edi], eax
out dx, al
int 0xf9
inc esi
mov al, byte [0x7b31c066]
xor dword [ebx + 0x71], edi
pop edx

Function at 0x410ab5
Capabilities:
Encode data using xor

Disassembly:
add byte [ecx + 0x6181b264], 0x99
cmp ebx, dword [ecx]
salc
invalid
mov dword [0xd36e72c1], eax
shl edi, 1
mov byte [0x49c93cb8], al
enter 0xffffffffffff8362, 0x58
das
jp 0x410ada
jle 0x410a5d
mov ch, 0x27
or eax, 0x410ae931
and dword [ecx - 0x7acc5907], eax
sbb esi, dword [ebx]
cdq
adc bl, al
mov esp, 0x66b00214
aaa
xor ebp, 0xffffffb0
xor esi, dword [ebx - 0x5b]
into
dec esi
dec edx
mov ecx, dword [eax]

Function at 0x418010
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov esi, dword [esp + 8]
mov dword [esi], 0
call dword [sym.imp.KERNEL32.dll_GetACP]
mov dword [0x4c8aac], eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov ecx, dword [0x4c8aac]
push 0x10
add ecx, eax
mov dword [0x4c8aac], ecx
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge 0x41804d
or dword [esi], 0x2000000
mov eax, esi
pop esi
ret