joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5a0ab8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
mov esi, eax
lea edi, [esp]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movzx ebx, byte [esp + 4]
test bx, bx
je 0x5a0aff
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x5a0ae2
add bx, 0x2000
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x5a0af3
add bx, 0x4000
test byte [esp + 0xb], 0x20
je 0x5a0aff
add bx, 0x8000
mov eax, ebx
add esp, 0x10
pop edi
pop esi
pop ebx
ret

Function at 0x5aba14
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ecx
mov byte [esp], cl
mov ebx, edx
mov esi, eax
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongW
mov edi, eax
test bl, bl
je 0x5aba35
test edi, 0x40000
je 0x5aba4f
test bl, bl
jne 0x5abad0
mov eax, 0x40000
and eax, edi
cmp eax, 0x40000
jne 0x5abad0
push esi
call sub.user32.dll_IsIconic
cmp eax, 1
sbb eax, eax
inc eax
mov byte [esp + 2], al
push esi
call sub.user32.dll_IsWindowVisible
cmp eax, 1
sbb eax, eax
inc eax
mov byte [esp + 1], al
movzx eax, byte [esp + 1]
or al, byte [esp + 2]
je 0x5aba82
push 0
push esi
call sub.user32.dll_ShowWindow
test bl, bl
je 0x5aba97
or edi, 0x40000
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongW
jmp 0x5abaa6
and edi, 0xfffbffff
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongW
movzx eax, byte [esp]
and al, byte [esp + 1]
jne 0x5abab7
cmp byte [esp + 2], 0
je 0x5abad0
cmp byte [esp + 2], 0
je 0x5abac8
push 6
push esi
call sub.user32.dll_ShowWindow
jmp 0x5abad0
push 5
push esi
call sub.user32.dll_ShowWindow
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x5abd74
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, eax
call sub.user32.dll_GetActiveWindow
mov dword [esp], eax
mov byte [esp + 4], 0
test bl, bl
je 0x5abd9a
mov eax, esp
push eax
push 0x5abd3c
call sub.user32.dll_EnumWindows
jmp 0x5abdad
mov eax, esp
push eax
push 0x5abd1c
call sub.kernel32.dll_GetCurrentThreadId
push eax
call sub.user32.dll_EnumThreadWindows
movzx eax, byte [esp + 4]
pop ecx
pop edx
pop ebx
ret

Function at 0x5abe70
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov ebx, eax
movzx esi, word [0x5abec0]
test bl, 4
je 0x5abe84
or si, 1
test bl, 8
je 0x5abe8d
or si, 4
test bl, 1
je 0x5abe96
or si, 8
test bl, 2
je 0x5abe9f
or si, 0x10
test bl, 0x10
je 0x5abea8
or si, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x5abeb8
or si, 2
mov eax, esi
pop esi
pop ebx
ret

Function at 0x5abec4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, word [0x5abf00]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x5abedf
or bx, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x5abeef
or bx, 4
test esi, 0x20000000
je 0x5abefb
or bx, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x5b4e78
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x5b4e8a
add esp, 0xfffffff0
call fcn.00408a40
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00475e94
mov eax, dword [0x6cfb14]
mov dword [eax + 4], ebx
mov dword [eax], 0x5b5344
mov eax, dword [0x6cfb20]
mov dword [eax + 4], ebx
mov dword [eax], 0x5b5350
mov eax, ebx
call fcn.005b535c
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x43d1f8]
call fcn.00408414
mov dword [ebx + 0x5c], eax
mov dl, 1
mov eax, dword [0x43d1f8]
call fcn.00408414
mov dword [ebx + 0x60], eax
mov dl, 1
mov eax, dword [0x43d1f8]
call fcn.00408414
mov dword [ebx + 0x64], eax
mov dl, 1
mov eax, dword [0x43d1f8]
call fcn.00408414
mov dword [ebx + 0x68], eax
mov dl, 1
mov eax, dword [0x43d1f8]
call fcn.00408414
mov dword [ebx + 0x84], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x50], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x68]
push eax
mov eax, 0x5afda4
push eax
push 0
push 0
call sub.user32.dll_EnumDisplayMonitors
mov dl, 1
mov eax, dword [0x4e9214]
call fcn.004ee028
mov dword [ebx + 0x8c], eax
mov dl, 1
mov eax, dword [0x4e9214]
call fcn.004ee028
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x4e9214]
call fcn.004ee028
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x4e9214]
call fcn.004ee028
mov dword [ebx + 0x94], eax
mov dl, 1
mov eax, dword [0x4e9214]
call fcn.004ee028
mov dword [ebx + 0x98], eax
mov eax, ebx
call fcn.005b5938
mov eax, dword [ebx + 0x8c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x5b5768
mov eax, dword [ebx + 0x90]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x5b5768
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x5b5768
mov eax, dword [ebx + 0x94]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x5b5768
mov eax, dword [ebx + 0x98]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x5b5768
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x5b500a
call fcn.00408a98
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x5b5508
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc60
push ebx
xor edx, edx
mov dword [ebp - 0x3a0], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5b56b3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x44], 0
jne 0x5b5694
mov dl, 1
mov eax, dword [0x440b94]
call fcn.00468ec8
mov edx, dword [ebp - 4]
mov dword [edx + 0x44], eax
mov eax, dword [ebp - 4]
add eax, 0x48
call fcn.0040a1c8
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x5b5683
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.00521c90
test al, al
je 0x5b5676
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x39c], eax
mov byte [ebp - 0x398], 0
lea ecx, [ebp - 0x39c]
mov edx, 0x5b56c4
lea eax, [ebp - 0x394]
call fcn.00424440
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x5b5676
xor eax, eax
push ebp
push 0x5b566f
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0x200
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x314]
push eax
push 0
push 0
push 0x5b5734
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x5b5658
lea eax, [ebp - 0x3a0]
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.0040b318
mov edx, dword [ebp - 0x3a0]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
mov ebx, dword [eax]
call dword [ebx + 0x40]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x4c]
jne 0x5b5658
mov eax, dword [ebp - 4]
add eax, 0x48
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.0040b318
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5b5676
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x5b5579
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
mov byte [eax + 0x2d], 0
mov dl, 1
call fcn.00468df0
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x44]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5b56ba
lea eax, [ebp - 0x3a0]
call fcn.0040a1c8
ret

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

Disassembly:
push ecx
mov eax, dword [0x6d779c]
cmp byte [eax + 0xc5], 0
jne 0x5b6332
cmp dword [0x6d77c0], 0
jne 0x5b62f2
call sub.kernel32.dll_GetCurrentThreadId
push eax
push 0
mov eax, dword [0x6cec9c]
push eax
push 3
call sub.user32.dll_SetWindowsHookExW
mov dword [0x6d77c0], eax
cmp dword [0x6d77bc], 0
jne 0x5b630d
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventW
mov dword [0x6d77bc], eax
cmp dword [0x6d77c4], 0
jne 0x5b6332
push esp
push 0
push 0
mov eax, dword [0x6cec98]
push eax
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x6d77c4], eax
pop edx
ret
Function at 0x5b6704
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x5b671b
add esp, 0xfffffff0
call fcn.00408a40
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00475e94
mov eax, dword [0x6cf948]
cmp byte [eax], 0
jne 0x5b6748
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x194], al
mov eax, dword [0x6cfde4]
cmp word [eax + 2], 0
jne 0x5b6762
mov eax, dword [0x6cfde4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.005b8b60
mov eax, dword [0x6cff84]
cmp word [eax + 2], 0
jne 0x5b677c
mov eax, dword [0x6cff84]
mov dword [eax + 4], ebx
mov dword [eax], fcn.005b8d64
mov byte [ebx + 0x41], 0
mov dl, 1
mov eax, dword [0x4e9214]
call fcn.004ee028
mov esi, eax
mov dword [ebx + 0x54], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x5b91e0
mov dl, 1
mov eax, dword [0x43d1f8]
call fcn.00408414
mov dword [ebx + 0xa8], eax
mov dl, 1
mov eax, dword [0x43d1f8]
call fcn.00408414
mov dword [ebx + 0xc8], eax
xor eax, eax
mov dword [ebx + 0x74], eax
xor eax, eax
mov dword [ebx + 0x98], eax
mov dword [ebx + 0x70], 0xff000018
mov dword [ebx + 0x8c], 0x1f4
mov byte [ebx + 0x90], 1
xor eax, eax
mov dword [ebx + 0x94], eax
mov dword [ebx + 0x88], 0x9c4
mov byte [ebx + 0x9c], 0
mov byte [ebx + 0xbd], 1
mov byte [ebx + 0xd4], 1
mov dl, 1
mov eax, dword [0x4ecdb4]
call fcn.004f4f3c
mov esi, eax
mov dword [ebx + 0xb8], esi
push 0x5b696c
mov eax, dword [0x6cfbe4]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.004f53c4
mov eax, dword [ebx + 0xb8]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x5b94a0
mov dl, 1
mov eax, dword [0x43d1f8]
call fcn.00408414
mov dword [ebx + 0xb0], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x6cfbe4]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.00424240
test eax, eax
je 0x5b6896
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.0042407c
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.00424224
test eax, eax
je 0x5b68ae
mov word [eax], 0
lea eax, [ebp - 0x202]
push eax
call sub.user32.dll_CharNextW
push eax
call sub.user32.dll_CharLowerW
lea eax, [ebx + 0xa4]
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.0040b318
push ebx
push 0x5b8540
call fcn.005abe54
mov dword [ebx + 0x190], eax
mov byte [ebx + 0xe8], 0
mov eax, dword [0x6cf948]
cmp byte [eax], 0
jne 0x5b68ff
mov eax, ebx
call fcn.005b6b34
mov byte [ebx + 0x6d], 1
mov byte [ebx + 0x6e], 1
mov byte [ebx + 0x6f], 1
mov byte [ebx + 0xbe], 1
mov byte [ebx + 0xe9], 0
mov byte [ebx + 0xf4], 0
xor eax, eax
mov dword [ebx + 0xec], eax
mov byte [ebx + 0xeb], 0
xor eax, eax
mov dword [ebx + 0xc0], eax
mov eax, ebx
call fcn.005b96d8
mov eax, ebx
call fcn.005ba360
mov byte [ebx + 0x196], 0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x5b6963
call fcn.00408a98
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5b805c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffe00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xc4], 0
je 0x5b80b9
cmp byte [ebx + 0xeb], 0
jne 0x5b80b9
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x188]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.0040a350
mov eax, dword [esi]
test eax, eax
je 0x5b80a6
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x5b80c6
mov eax, esi
mov edx, dword [ebx + 0xa4]
call fcn.0040a5a8
jmp 0x5b80c6
mov eax, esi
mov edx, dword [ebx + 0xa4]
call fcn.0040a5a8
add esp, 0x200
pop esi
pop ebx
ret

Function at 0x5b98ec
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x98]
test esi, esi
je 0x5b995d
mov eax, esi
call fcn.0051b800
test al, al
je 0x5b995d
mov eax, dword [ebx + 0x98]
call fcn.0051b42c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x5b995d
mov eax, dword [ebx + 0x98]
mov edx, dword [eax]
call dword [edx + 0x140]
test al, al
je 0x5b994e
push 0
mov eax, dword [ebx + 0x98]
call fcn.0051b42c
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebx + 0x98]
xor edx, edx
call fcn.005122e4
jmp 0x5b995d
mov edx, dword [ebx + 0x88]
mov cl, 1
mov eax, ebx
call fcn.005b96f8
pop esi
pop ebx
ret
Function at 0x5c79a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov esi, edx
mov ebp, eax
push 0
push 0
push 0
push 0
push esi
push ebp
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
sete bl
test bl, bl
je 0x5c7a1c
test esi, esi
je 0x5c79cd
cmp word [esi], 0
jne 0x5c7a1c
call fcn.00429d30
cmp eax, 2
je 0x5c7a1c
xor ebx, ebx
xor esi, esi
mov dword [esp + 4], 2
push 0
push 0
push 0
push 0
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x14]
push eax
push esi
push ebp
call sub.advapi32.dll_RegEnumValueW
mov edi, eax
test edi, edi
je 0x5c7a0a
cmp edi, 0xea
jne 0x5c7a1c
test edi, edi
jne 0x5c7a19
cmp word [esp], 0
jne 0x5c7a19
mov bl, 1
jmp 0x5c7a1c
inc esi
jmp 0x5c79db
mov eax, ebx
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x5c7a88
Capabilities:
Delete registry key

Disassembly:
push ebx
push esi
mov esi, ecx
mov ebx, edx
cmp al, 2
je 0x5c7a9c
push esi
push ebx
call sub.advapi32.dll_RegDeleteKeyW
pop esi
pop ebx
ret
cmp dword [0x6d77e4], 0
jne 0x5c7abf
push 0x5c7ae4
push 0x5c7b04
call sub.kernel32.dll_GetModuleHandleW
push eax
call fcn.00414030
mov dword [0x6d77e4], eax
cmp dword [0x6d77e4], 0
je 0x5c7ad9
push 0
push pe_nt_image_headers32
push esi
push ebx
call dword [0x6d77e4]
jmp 0x5c7ade
mov eax, 0x7f
pop esi
pop ebx
ret
Function at 0x6a71bc
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x6a730b
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 4]
mov eax, ebx
call fcn.006a6fd8
lea eax, [ebp - 8]
call fcn.006a70e8
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x3c
call fcn.00407760
mov dword [ebp - 0x48], 0x3c
mov dword [ebp - 0x44], 0x800540
mov eax, 0x6a7318
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 4]
call fcn.0040b278
mov dword [ebp - 0x38], eax
mov eax, esi
call fcn.0040b278
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 8]
call fcn.0040b278
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 1
lea eax, [ebp - 0x48]
push eax
call sub.shell32.dll_ShellExecuteExW
test eax, eax
jne 0x6a7267
call sub.kernel32.dll_GetLastError
cmp eax, 0x4c7
jne 0x6a725d
call fcn.00428ff4
mov eax, 0x6a7330
call fcn.0060d1c0
cmp dword [ebp - 0x10], 0
jne 0x6a7277
mov eax, 0x6a735c
call fcn.0060d064
xor edx, edx
push ebp
push 0x6a72e9
push dword fs:[edx]
mov dword fs:[edx], esp
call fcn.006a6ce4
push 0x4ff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x10]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
cmp eax, 1
je 0x6a7285
cmp eax, 0xffffffff
jne 0x6a72b2
mov eax, 0x6a73b0
call fcn.0060d1c0
call fcn.006a6ce4
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_GetExitCodeProcess
test eax, eax
jne 0x6a72d2
mov eax, 0x6a73f0
call fcn.0060d1c0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6a72f0
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_CloseHandle
ret

Function at 0x6a7418
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x6a74e7
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x6a6ab8]
call fcn.006a7510
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x6a74c0
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
mov byte [ebp - 0xc], 0
lea edx, [ebp - 0x10]
xor ecx, ecx
mov eax, 0x6a7500
call fcn.00424510
mov edx, dword [ebp - 8]
mov eax, dword [0x6cff3c]
mov eax, dword [eax]
call fcn.005b8268
call fcn.006a6ce4
call sub.user32.dll_GetFocus
mov edx, dword [0x6cff3c]
mov edx, dword [edx]
cmp eax, dword [edx + 0x188]
jne 0x6a74a3
push 0x7a
call sub.user32.dll_GetKeyState
test ax, ax
jl 0x6a74aa
call sub.user32.dll_WaitMessage
jmp 0x6a747d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6a74c7
mov eax, dword [ebp - 4]
call fcn.00408444
ret
Function at 0x1021e2ca
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10248810]
jne 0x1021e2d4
repz ret
jmp fcn.10221ca9

Function at 0x1022d80f
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.10221005
and dword [ebp - 4], 0
cmp dword [0x1024aa98], 0
mov ebx, eax
jne 0x1022d8c0
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x1022d971
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x1022d971
push eax
call fcn.10220f93
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x1024aa98], eax
call esi
push eax
call fcn.10220f93
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x1024aa9c], eax
call esi
push eax
call fcn.10220f93
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x1024aaa0], eax
call esi
push eax
call fcn.10220f93
pop ecx
mov dword [0x1024aaa8], eax
test eax, eax
je 0x1022d8c0
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.10220f93
pop ecx
mov dword [0x1024aaa4], eax
mov eax, dword [0x1024aaa4]
cmp eax, ebx
je 0x1022d918
cmp dword [0x1024aaa8], ebx
je 0x1022d918
push eax
call fcn.1022100e
push dword [0x1024aaa8]
mov esi, eax
call fcn.1022100e
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x1022d918
test edi, edi
je 0x1022d918
call esi
test eax, eax
je 0x1022d90f
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x1022d90f
test byte [ebp - 0xc], 1
jne 0x1022d918
or dword [ebp + 0x10], 0x200000
jmp 0x1022d951
mov eax, dword [0x1024aa9c]
cmp eax, ebx
je 0x1022d951
push eax
call fcn.1022100e
pop ecx
test eax, eax
je 0x1022d951
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x1022d951
mov eax, dword [0x1024aaa0]
cmp eax, ebx
je 0x1022d951
push eax
call fcn.1022100e
pop ecx
test eax, eax
je 0x1022d951
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x1024aa98]
call fcn.1022100e
pop ecx
test eax, eax
je 0x1022d971
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x1022d973
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10230670
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0x98
call fcn.10001077
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x24], ecx
je 0x10230796
jmp 0x1023076e
lea eax, [esp + 0x28]
mov dword [esp], eax
call fcn.1023039f
lea ecx, [0x1023147b]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x80], edx
mov dword [esp + 0x70], 0x138600
mov edx, dword [0x1024878c]
mov dword [esp + 0x40], edx
mov edx, dword [0x10248790]
mov dword [esp + 0x48], edx
mov edx, dword [0x10248794]
mov dword [esp + 0x7c], edx
mov edx, dword [0x10248798]
mov dword [esp + 0x58], edx
mov edx, dword [0x1024879c]
mov dword [esp + 0x6c], edx
mov dword [0x102487a0], 0x1e4d
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ecx
jmp 0x102307c0
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0x14], ecx
jne 0x10230782
lea eax, [esp + 0x38]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x38], ecx
mov dword [0x102487a4], 0x1467
mov edx, dword [esp + 0x14]
mov esi, dword [ecx + edx + 0x50]
mov dword [esp + 0x54], esi
mov esi, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], esi
call fcn.10230bb6
mov ecx, esp
lea edx, [esp + 0x38]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov dword [0x102487a4], 0xc9f
mov dword [esp + 0x10], eax
jmp 0x10230778
mov eax, dword [esp + 0x24]
lea esp, [ebp - 4]
pop esi
pop ebp
ret
mov eax, dword [esp + 0x10]
mov dword [esp + 0x24], eax
jmp 0x1023076e
mov eax, dword [esp + 0x18]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x1c], eax
jmp 0x102307c0
lea eax, [esp + 0x38]
mov dword [0x102487a4], 0x32
mov dword [esp + 0xc], eax
call fcn.10231097
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x10], ecx
je 0x10230698
jmp 0x10230778
mov eax, dword [esp + 0x1c]
cmp word [eax], 0x5a4d
mov dword [esp + 0x18], eax
je 0x10230706
jmp 0x10230782
Function at 0x10230bb6
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x50
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
xor eax, eax
mov dword [0x102487a0], 0x1243
mov dword [0x102487a4], 0x2000
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov cl, byte [eax + 0x10232500]
mov dl, byte [eax + 0x102324d1]
sub dl, cl
mov byte [ebp + eax - 0x24], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x30], eax
je 0x10230cb7
jmp 0x10230be2
mov eax, dword [ebp - 0x34]
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov dword [esp], eax
mov ecx, dword [ebp - 0x28]
mov dword [esp + 4], ecx
mov dword [ebp - 0x38], eax
call fcn.10230965
mov dword [0x102487a4], 0xa05
mov eax, dword [ebp - 0x38]
mov word [eax], 0x5a4d
mov dword [eax + 0x3c], 0xc0
mov dword [eax + 0xc0], 0x4550
xor eax, eax
mov ecx, dword [ebp - 0x38]
add ecx, 0x256d
mov edx, dword [ebp - 0x38]
add edx, 0xffc00000
mov esi, dword [ebp - 0x2c]
mov dword [esi + 0x50], edx
mov edx, dword [ebp - 0x38]
mov dword [esi + 0x54], edx
mov dword [0x102487a0], 0x138f
cmp edx, 0
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x40], eax
je 0x10230ca6
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
add esp, 0x50
pop esi
pop ebp
ret
xor eax, eax
add esp, 0x50
pop esi
pop ebp
ret
lea eax, [ebp - 0x24]
mov dword [0x102487a4], 0x14aa
mov dword [ebp - 0x44], eax
call fcn.10231392
mov dword [esp], eax
mov eax, dword [ebp - 0x44]
mov dword [esp + 4], eax
call fcn.102307d5
cmp eax, 0
mov dword [ebp - 0x34], eax
je 0x10230caf
jmp 0x10230c0e