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

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffed8
mov ebx, ecx
mov edi, edx
mov esi, eax
call sub.user32.dll_GetMessagePos
call fcn.00406674
mov dword [esp + 8], eax
movsx eax, word [esp + 8]
mov dword [esp + 0xc], eax
movsx eax, word [esp + 0xa]
mov dword [esp + 0x10], eax
mov ecx, esp
lea edx, [esp + 0xc]
mov eax, esi
call fcn.0043595c
test ebx, ebx
jne 0x43ac8b
push 0
push 0
lea edx, [esp + 8]
xor ecx, ecx
mov eax, esi
call fcn.0043ab74
mov ebx, eax
test ebx, ebx
je 0x43ad76
cmp esi, ebx
je 0x43acb4
mov eax, dword [esp]
sub eax, dword [ebx + 0x40]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
sub eax, dword [ebx + 0x44]
mov dword [esp + 0x118], eax
jmp 0x43acc9
mov eax, dword [esp]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
mov dword [esp + 0x118], eax
movzx eax, word [edi + 8]
mov dword [esp + 0x11c], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x124], eax
movzx eax, word [edi + 0xa]
cmp eax, 0x201
jge 0x43ad01
add eax, 0xffffff5f
sub eax, 2
jb 0x43ad19
dec eax
sub eax, 2
jb 0x43ad2d
dec eax
sub eax, 2
jb 0x43ad23
jmp 0x43ad37
add eax, 0xfffffdff
sub eax, 2
jb 0x43ad19
dec eax
sub eax, 2
jb 0x43ad2d
dec eax
sub eax, 2
jb 0x43ad23
jmp 0x43ad37
mov byte [esp + 0x120], 0
jmp 0x43ad3f
mov byte [esp + 0x120], 2
jmp 0x43ad3f
mov byte [esp + 0x120], 1
jmp 0x43ad3f
mov byte [esp + 0x120], 0
lea eax, [esp + 0x14]
push eax
call sub.user32.dll_GetKeyboardState
lea eax, [esp + 0x14]
call fcn.00448a44
mov byte [esp + 0x121], al
lea eax, [esp + 0x114]
push eax
xor ecx, ecx
mov edx, 0xb04b
mov eax, ebx
call fcn.00437100
mov dword [edi + 0xc], eax
mov al, 1
jmp 0x43ad78
xor eax, eax
add esp, 0x128
pop edi
pop esi
pop ebx
ret
Function at 0x442f74
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x46aac4]
cmp byte [eax + 0xc], 0
je 0x4430e1
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4430da
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x46fc5c], 0
jne 0x442fc8
push 0x4430e8
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x4430f0
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46fc5c], eax
cmp dword [0x46a590], 0
jne 0x4430c3
push 0x443100
call sub.kernel32.dll_LoadLibraryA
mov dword [0x46a590], eax
cmp dword [0x46a590], 0
je 0x4430c3
push 0x44310c
mov eax, dword [0x46a590]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46fc60], eax
push 0x44311c
mov eax, dword [0x46a590]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46fc64], eax
push 0x443130
mov eax, dword [0x46a590]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46fc68], eax
push 0x443148
mov eax, dword [0x46a590]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46fc6c], eax
push 0x443160
mov eax, dword [0x46a590]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46fc70], eax
push 0x443174
mov eax, dword [0x46a590]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46fc74], eax
push 0x44318c
mov eax, dword [0x46a590]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46fc78], eax
push 0x4431a4
mov eax, dword [0x46a590]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46fc7c], eax
push 0x4431c0
mov eax, dword [0x46a590]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46fc80], eax
push 0x4431cc
mov eax, dword [0x46a590]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46fc84], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4430e1
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret
Function at 0x44858c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ecx
mov byte [esp + 1], cl
mov byte [esp], dl
mov esi, eax
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
mov edi, eax
mov eax, dword [0x46fc94]
cmp esi, dword [eax + 0x30]
jne 0x4485b3
or edi, 0x8000000
push esi
call sub.user32.dll_IsIconic
cmp eax, 1
sbb ebx, ebx
inc ebx
push esi
call sub.user32.dll_IsWindowVisible
test eax, eax
jne 0x4485e2
mov eax, dword [0x46fc94]
cmp esi, dword [eax + 0x30]
jne 0x4485de
mov eax, dword [0x46fc94]
cmp byte [eax + 0x5b], 0
jne 0x4485e2
xor eax, eax
jmp 0x4485e4
mov al, 1
mov byte [esp + 2], al
movzx eax, byte [esp + 2]
or al, bl
je 0x4485f9
push 0
push esi
call sub.user32.dll_ShowWindow
cmp byte [esp], 0
je 0x448610
or edi, 0x40000
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongA
jmp 0x44861f
and edi, 0xfffbffff
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongA
movzx eax, byte [esp + 1]
and al, byte [esp + 2]
jne 0x44862e
test bl, bl
je 0x448644
test bl, bl
je 0x44863c
push 6
push esi
call sub.user32.dll_ShowWindow
jmp 0x448644
push 5
push esi
call sub.user32.dll_ShowWindow
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x4488e8
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 0x44890e
mov eax, esp
push eax
push 0x4488b0
call sub.user32.dll_EnumWindows
jmp 0x448921
mov eax, esp
push eax
push 0x448890
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
call sub.user32.dll_EnumThreadWindows
movzx eax, byte [esp + 4]
pop ecx
pop edx
pop ebx
ret

Function at 0x4489ac
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x448a00]
test si, 4
je 0x4489c1
or bl, 1
test si, 8
je 0x4489cb
or bl, 4
test si, 1
je 0x4489d5
or bl, 8
test si, 2
je 0x4489df
or bl, 0x10
test si, 0x10
je 0x4489e9
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4489f8
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x448a04
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x448a40]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x448a1e
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x448a2d
or bl, 4
test esi, 0x20000000
je 0x448a38
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x45090c
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x45091e
add esp, 0xfffffff0
call fcn.00403d4c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041a07c
mov eax, dword [0x46a79c]
mov dword [eax + 4], ebx
mov dword [eax], 0x450cb0
mov eax, dword [0x46a7a8]
mov dword [eax + 4], ebx
mov dword [eax], 0x450cbc
mov eax, ebx
call fcn.00450cc8
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x411e2c]
call fcn.004039d0
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x411e2c]
call fcn.004039d0
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x411e2c]
call fcn.004039d0
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x411e2c]
call fcn.004039d0
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x411e2c]
call fcn.004039d0
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, 0x44c378
push eax
push 0
push 0
mov eax, dword [0x46a8e8]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41dc0c]
call fcn.0041f12c
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41dc0c]
call fcn.0041f12c
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41dc0c]
call fcn.0041f12c
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.004510f8
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x450fc8
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x450fc8
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x450fc8
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x450a5b
call fcn.00403da4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x450dac
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 0x450f57
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x450f38
mov dl, 1
mov eax, dword [0x412250]
call fcn.004039d0
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404854
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x450f27
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.004432d0
test al, al
je 0x450f1a
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, 0x450f68
lea eax, [ebp - 0x254]
call fcn.004092d4
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x450f1a
xor eax, eax
push ebp
push 0x450f13
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 0x450fa0
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x450efc
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404ac4
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 0x450efc
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404ac4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x450f1a
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x450e1d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov dl, 1
call fcn.00415f28
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 0x450f5e
lea eax, [ebp - 0x260]
call fcn.00404854
ret

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

Disassembly:
push ecx
mov eax, dword [0x46fc94]
cmp byte [eax + 0xad], 0
jne 0x451941
cmp dword [0x46fcb0], 0
jne 0x451902
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x45188c
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x46fcb0], eax
cmp dword [0x46fcac], 0
jne 0x45191d
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x46fcac], eax
cmp dword [0x46fcb4], 0
jne 0x451941
push esp
push 0
push 0
push 0x451830
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x46fcb4], eax
pop edx
ret
Function at 0x451b14
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x451b2b
add esp, 0xfffffff0
call fcn.00403d4c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041a07c
mov eax, dword [0x46a8d4]
cmp word [eax + 2], 0
jne 0x451b53
mov eax, dword [0x46a8d4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00453714
mov eax, dword [0x46a980]
cmp word [eax + 2], 0
jne 0x451b6d
mov eax, dword [0x46a980]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00453920
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x411e2c]
call fcn.004039d0
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x411e2c]
call fcn.004039d0
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x411e2c]
call fcn.004039d0
mov dword [ebx + 0xb0], 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 + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x41e3e8]
call fcn.00424230
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x451d24
mov eax, dword [0x46a800]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00424604
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x453fe4
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x46a800]
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.0040c9fc
test eax, eax
je 0x451c74
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408c8c
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040ca30
test eax, eax
je 0x451c88
mov byte [eax], 0
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_CharNextA_1
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404ac4
mov byte [ebx + 0xd4], 0
push ebx
push 0x45323c
call fcn.0041b1f8
mov dword [ebx + 0xc8], eax
mov eax, dword [0x46a70c]
cmp byte [eax], 0
jne 0x451cd9
mov eax, ebx
call fcn.00451e68
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.004541bc
mov eax, ebx
call fcn.00454d20
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x451d19
call fcn.00403da4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4520e8
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x452187
cmp dword [ebx + 0x94], 0
jne 0x452181
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x452070
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x452181
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 0x452147
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x452181
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.004141d0
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x452156
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4523a0
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x46fc94]
cmp dword [eax + 0x30], 0
je 0x4524fd
test bl, bl
jne 0x45244e
cmp dword [esi + 0x9c], 0
jne 0x452443
mov eax, esi
call fcn.00454b9c
push eax
push 0x4522cc
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x452414
mov eax, dword [0x46fc94]
call fcn.0045527c
test al, al
je 0x452414
mov eax, dword [0x46fcb8]
call fcn.00405710
mov edi, eax
cmp edi, 0
jl 0x452414
push 0
mov eax, dword [0x46fcb8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4523fe
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x452443
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.004141d0
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x452423
inc dword [esi + 0x9c]
jmp 0x4524fd
cmp dword [esi + 0x9c], 0
jle 0x4524fd
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x4524fd
cmp dword [esi + 0x44], 0
je 0x4524a9
mov eax, dword [0x46fc94]
call fcn.0045527c
test al, al
je 0x4524a9
mov eax, dword [0x46fcb8]
call fcn.00405710
mov edi, eax
cmp edi, 0
jl 0x4524a9
push 5
mov eax, dword [0x46fcb8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x452493
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4524d8
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.004141d0
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4524b8
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
mov eax, 0x46fcb8
mov ecx, 1
mov edx, dword [0x4522ac]
call fcn.004058c4
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x452f90
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffefc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x452ffa
mov eax, ebx
call fcn.0045527c
test al, al
jne 0x452ffa
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.00404944
mov eax, dword [esi]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x100]
test eax, eax
je 0x452fe7
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x453007
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004048a8
jmp 0x453007
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004048a8
add esp, 0x104
pop esi
pop ebx
ret

Function at 0x4543a0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45440e
mov eax, esi
call fcn.0043e048
test al, al
je 0x45440e
mov eax, dword [ebx + 0x84]
call fcn.0043dd3c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45440e
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x454402
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043dd3c
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.00435d3c
jmp 0x45440e
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.004541dc
pop esi
pop ebx
ret
Function at 0x473d40
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
sub esp, 0x210
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
push ebp
push esi
push edi
mov edi, dword [esp + 0x224]
lea eax, [esp + 0x18]
push eax
push 0
push 0
push 0
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x34]
push edx
push 0
push edi
mov dword [esp + 0x30], 0xff
call ebx
cmp eax, 0x103
je 0x473e07
mov ebp, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, dword [0x4c7a54]
mov edx, dword [ecx + 0xd0]
lea eax, [esp + 0x14]
push eax
or edx, 0x20019
push edx
push 0
lea eax, [esp + 0x2c]
push eax
push edi
call ebp
mov esi, eax
test esi, esi
jne 0x473e14
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00473d40
mov edx, dword [esp + 0x18]
add esp, 4
push edx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x473e14
lea eax, [esp + 0x20]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov esi, eax
test esi, esi
jne 0x473e14
lea ecx, [esp + 0x18]
push ecx
push eax
push eax
push eax
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x34]
push eax
push esi
push edi
mov dword [esp + 0x30], 0xff
call ebx
cmp eax, 0x103
jne 0x473d8a
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x210
ret
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x210
ret

Function at 0x473e30
Capabilities:
Delete registry key
Delete registry value

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0x10]
push esi
test ebx, ebx
je 0x473f20
test edi, edi
je 0x473e49
cmp word [edi], 0
jne 0x473e51
test ebp, ebp
je 0x473f20
mov ecx, dword [0x4c7a54]
mov edx, dword [ecx + 0xd0]
lea eax, [esp + 0x14]
push eax
or edx, 0x2001f
push edx
push 0
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0x473ef2
mov eax, dword [esp + 0x14]
test ebp, ebp
jne 0x473f09
push eax
call fcn.00473d40
mov ecx, dword [esp + 0x18]
add esp, 4
push ecx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x473ef2
mov eax, 1
test byte [0x4cdb2c], al
jne 0x473ed0
or dword [0x4cdb2c], eax
push str.RegDeleteKeyExW
push str.advapi32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4cdb28], eax
jmp 0x473ed5
mov eax, dword [0x4cdb28]
mov edx, dword [0x4c7a54]
mov ecx, dword [edx + 0xd0]
test ecx, ecx
je 0x473eff
test eax, eax
je 0x473eff
push 0
push ecx
push edi
push ebx
call eax
mov esi, eax
cmp esi, 0xffffffff
jne 0x473f25
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x473f27
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
jmp 0x473ef0
push ebp
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov ecx, dword [esp + 0x14]
push ecx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x473ef2
mov esi, 0x57
mov eax, esi
mov edx, dword [0x4c7a54]
mov dword [edx + 0x30], eax
mov edx, dword [esp + 0x10]
test esi, esi
setne al
movzx ecx, al
push ecx
push edx
call fcn.004306a0
pop esi
pop ebp
pop ecx
ret 8
Function at 0x4972b6
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4c6dd0]
jne 0x4972c0
repz ret
jmp fcn.0049b846

Function at 0x499a50
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4c6dd0]
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.00494192
and dword [ebp - 0x14], 0
cmp dword [0x4c9c74], 0
mov dword [ebp - 0x18], eax
jne 0x499b03
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x499bab
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4a4020
push ebx
call edi
test eax, eax
je 0x499bab
mov esi, dword [fcn.00490560]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x4c9c74], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4c9c78], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4c9c7c], eax
call edi
push eax
call esi
mov dword [0x4c9c84], eax
test eax, eax
je 0x499b03
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4c9c80], eax
mov eax, dword [0x4c9c80]
mov ecx, dword [ebp - 0x18]
mov esi, dword [fcn.00490564]
cmp eax, ecx
je 0x499b5c
cmp dword [0x4c9c84], ecx
je 0x499b5c
push eax
call esi
push dword [0x4c9c84]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x499b5c
test ebx, ebx
je 0x499b5c
call edi
test eax, eax
je 0x499b53
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x499b53
test byte [ebp - 8], 1
jne 0x499b5c
or dword [ebp + 0x10], 0x200000
jmp 0x499b8f
mov eax, dword [0x4c9c78]
cmp eax, dword [ebp - 0x18]
je 0x499b8f
push eax
call esi
test eax, eax
je 0x499b8f
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x499b8f
mov eax, dword [0x4c9c7c]
cmp eax, dword [ebp - 0x18]
je 0x499b8f
push eax
call esi
test eax, eax
je 0x499b8f
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4c9c74]
call esi
test eax, eax
je 0x499bab
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x499bad
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004972b6
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
mov ecx, 0x693d18f8
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x433024
nop
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x4304d8
nop
mov ecx, 0x6a876395
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x433084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219