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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed4
push ebx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
cmp eax, 0x84
jg 0x443c8c
je 0x443cef
sub eax, 7
je 0x443cad
dec eax
je 0x443cdd
sub eax, 0x17
je 0x443db1
jmp 0x443dfb
add eax, 0xffffff00
sub eax, 9
jb 0x443d9c
add eax, 0xffffff09
sub eax, 0xb
jb 0x443d55
jmp 0x443dfb
mov eax, dword [ebp - 0x14]
call fcn.0045a444
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x443e68
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0xd4]
test al, al
je 0x443e73
jmp 0x443e68
mov eax, dword [ebp - 0x14]
test byte [eax + 0x44], 0x20
jne 0x443e73
jmp 0x443e68
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
call fcn.004406c0
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0xc], 0xffffffff
jne 0x443e73
push 0
lea edx, [ebp - 0x12c]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 8]
call fcn.00408d5c
lea edx, [ebp - 0x12c]
lea ecx, [ebp - 0x124]
mov eax, dword [ebp - 0x14]
call fcn.0043e990
lea edx, [ebp - 0x124]
xor ecx, ecx
mov eax, dword [ebp - 0x14]
call fcn.00443adc
test eax, eax
je 0x443e73
mov eax, dword [ebp - 0x18]
mov dword [eax + 0xc], 1
jmp 0x443e73
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
call fcn.00443b98
test al, al
je 0x443e68
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0xc], 0
jne 0x443e73
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 8]
push eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 4]
push eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
push eax
mov eax, dword [ebp - 0x14]
call fcn.00447144
push eax
call sub.user32.dll_DefWindowProcA
jmp 0x443e73
mov eax, dword [ebp - 0x14]
call fcn.0043fa50
test al, al
jne 0x443e73
jmp 0x443e68
mov eax, dword [ebp - 0x14]
call fcn.00447144
mov ebx, eax
call sub.user32.dll_GetCapture
cmp ebx, eax
jne 0x443e68
cmp dword [0x57a8a4], 0
je 0x443e68
mov eax, dword [0x57a8a4]
mov eax, dword [eax + 0x24]
cmp eax, dword [ebp - 0x14]
jne 0x443e68
push 0
xor ecx, ecx
mov edx, 0x1f
mov eax, dword [0x57a8a4]
call fcn.00440574
jmp 0x443e68
mov eax, dword [0x580750]
cmp byte [eax + 0x20], 0
je 0x443e68
mov eax, dword [0x580750]
cmp dword [eax + 0x1c], 0
je 0x443e68
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov edx, dword [0x580750]
cmp eax, dword [edx + 0x1c]
jne 0x443e68
lea eax, [ebp - 0x11c]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x11c]
call fcn.0045a360
mov byte [ebp - 0xc], al
mov eax, dword [ebp - 0x18]
mov ax, word [eax + 4]
mov word [ebp - 0xa], ax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov bx, 0xffb7
call fcn.00403c18
jmp 0x443e73
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
call fcn.004406c0
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44465c
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff88
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1e8], 0
je 0x44467d
mov eax, dword [ebp - 8]
cmp dword [eax + 4], 0
je 0x4446b2
mov eax, dword [ebp - 4]
test byte [eax + 0x45], 1
jne 0x4446a2
mov eax, dword [ebp - 4]
call fcn.00442f6c
test eax, eax
jne 0x4446a2
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x4447dc
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00444030
jmp 0x4447dc
push 0
call sub.user32.dll_GetDC
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x68]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp - 0x5c]
push eax
lea edx, [ebp - 0x78]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp - 0x70]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
push eax
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x4447d5
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 4]
call fcn.00447144
push eax
call sub.user32.dll_BeginPaint
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, 0x14
mov eax, dword [ebp - 4]
call fcn.00440574
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
mov dword [eax + 4], edx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0044465c
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax + 4], edx
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 0x10]
push eax
lea edx, [ebp - 0x68]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp - 0x5c]
push eax
lea edx, [ebp - 0x78]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp - 0x70]
push eax
push 0
push 0
mov eax, dword [ebp - 0xc]
push eax
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 4]
call fcn.00447144
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4447dc
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 0x14]
push eax
call sub.gdi32.dll_DeleteObject
ret
mov esp, ebp
pop ebp
ret
Function at 0x44c704
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov eax, dword [0x57f354]
cmp byte [eax + 8], 0
je 0x44c876
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x44c86f
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x580794], 0
jne 0x44c75d
push 0x44c87c
call sub.kernel32.dll_GetModuleHandleA_2
mov dword [ebp - 4], eax
push 0x44c884
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x580794], eax
cmp dword [0x57a904], 0
jne 0x44c858
push 0x44c894
call sub.kernel32.dll_LoadLibraryA
mov dword [0x57a904], eax
cmp dword [0x57a904], 0
je 0x44c858
push 0x44c8a0
mov eax, dword [0x57a904]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x580798], eax
push 0x44c8b0
mov eax, dword [0x57a904]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x58079c], eax
push 0x44c8c4
mov eax, dword [0x57a904]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5807a0], eax
push 0x44c8dc
mov eax, dword [0x57a904]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5807a4], eax
push 0x44c8f4
mov eax, dword [0x57a904]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5807a8], eax
push 0x44c908
mov eax, dword [0x57a904]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5807ac], eax
push 0x44c920
mov eax, dword [0x57a904]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5807b0], eax
push 0x44c938
mov eax, dword [0x57a904]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5807b4], eax
push 0x44c954
mov eax, dword [0x57a904]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5807b8], eax
push 0x44c960
mov eax, dword [0x57a904]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5807bc], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44c876
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ecx
pop ecx
pop ebp
ret

Function at 0x45057c
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
mov dword [ebp - 8], edx
mov word [ebp - 2], ax
mov eax, dword [ebp - 8]
call fcn.004048bc
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4505d5
push pe_nt_image_headers32
lea eax, [ebp - 0x10c]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x10c]
mov ecx, pe_nt_image_headers32
call fcn.00404b14
mov esp, ebp
pop ebp
ret
Function at 0x45a0b4
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
cmp dword [0x5807e8], 0
jne 0x45a161
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov dword [ebp - 8], eax
mov eax, dword [0x5807e4]
mov edx, dword [ebp - 8]
mov dword [edx], eax
mov eax, dword [ebp - 8]
lea edx, [eax + 4]
mov eax, 0x57aa50
mov ecx, 2
call fcn.004031ac
mov edx, 0x45a070
mov eax, dword [ebp - 8]
add eax, 5
call fcn.0045a090
mov edx, dword [ebp - 8]
mov dword [edx + 6], eax
mov eax, dword [ebp - 8]
add eax, 0xa
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov byte [eax], 0xe8
mov eax, dword [ebp - 8]
lea edx, [eax + 4]
mov eax, dword [ebp - 0xc]
call fcn.0045a090
mov edx, dword [ebp - 0xc]
mov dword [edx + 1], eax
mov eax, dword [0x5807e8]
mov edx, dword [ebp - 0xc]
mov dword [edx + 5], eax
mov eax, dword [ebp - 0xc]
mov dword [0x5807e8], eax
add dword [ebp - 0xc], 0xd
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 8]
cmp eax, 0xffc
jl 0x45a11b
mov eax, dword [ebp - 8]
mov dword [0x5807e4], eax
mov eax, dword [0x5807e8]
mov dword [ebp - 4], eax
mov eax, dword [0x5807e8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 5]
mov dword [0x5807e8], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp + 8]
mov dword [eax + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [eax + 9], edx
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 8

Function at 0x45a2bc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
mov word [ebp - 2], ax
mov al, byte [0x45a314]
mov byte [ebp - 3], al
test byte [ebp - 2], 4
je 0x45a2d6
or byte [ebp - 3], 1
test byte [ebp - 2], 8
je 0x45a2e0
or byte [ebp - 3], 4
test byte [ebp - 2], 1
je 0x45a2ea
or byte [ebp - 3], 8
test byte [ebp - 2], 2
je 0x45a2f4
or byte [ebp - 3], 0x10
test byte [ebp - 2], 0x10
je 0x45a2fe
or byte [ebp - 3], 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45a30e
or byte [ebp - 3], 2
mov al, byte [ebp - 3]
pop ecx
pop ebp
ret

Function at 0x45a318
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 4], eax
mov al, byte [0x45a35c]
mov byte [ebp - 5], al
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45a339
or byte [ebp - 5], 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45a349
or byte [ebp - 5], 4
test byte [ebp - 1], 0x20
je 0x45a353
or byte [ebp - 5], 2
mov al, byte [ebp - 5]
pop ecx
pop ecx
pop ebp
ret
Function at 0x462224
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
test dl, dl
je 0x462236
add esp, 0xfffffff0
call fcn.00403db0
mov dword [ebp - 0xc], ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0xc]
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.0041f024
mov eax, dword [ebp - 4]
call fcn.00462738
push 0
call sub.user32.dll_GetKeyboardLayout
mov edx, dword [ebp - 4]
mov dword [edx + 0x30], eax
mov dl, 1
mov eax, dword [0x41280c]
call fcn.004039b8
mov edx, dword [ebp - 4]
mov dword [edx + 0x40], eax
mov dl, 1
mov eax, dword [0x41280c]
call fcn.004039b8
mov edx, dword [ebp - 4]
mov dword [edx + 0x44], eax
mov dl, 1
mov eax, dword [0x41280c]
call fcn.004039b8
mov edx, dword [ebp - 4]
mov dword [edx + 0x48], eax
mov dl, 1
mov eax, dword [0x41280c]
call fcn.004039b8
mov edx, dword [ebp - 4]
mov dword [edx + 0x4c], eax
mov dl, 1
mov eax, dword [0x41280c]
call fcn.004039b8
mov edx, dword [ebp - 4]
mov dword [edx + 0x70], eax
push 0
call sub.user32.dll_GetDC
mov dword [ebp - 0x10], eax
push 0x5a
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_GetDeviceCaps
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 0x10]
push eax
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
push eax
mov eax, 0x45df24
push eax
push 0
push 0
mov eax, dword [0x57f080]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x420b70]
call fcn.004222e4
mov edx, dword [ebp - 4]
mov dword [edx + 0x78], eax
mov dl, 1
mov eax, dword [0x420b70]
call fcn.004222e4
mov edx, dword [ebp - 4]
mov dword [edx + 0x7c], eax
mov dl, 1
mov eax, dword [0x420b70]
call fcn.004222e4
mov edx, dword [ebp - 4]
mov dword [edx + 0x74], eax
mov eax, dword [ebp - 4]
call fcn.00462d28
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x78]
mov edx, dword [ebp - 4]
mov dword [eax + 0xc], edx
mov dword [eax + 8], 0x462b4c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x7c]
mov edx, dword [ebp - 4]
mov dword [eax + 0xc], edx
mov dword [eax + 8], 0x462b4c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x74]
mov edx, dword [ebp - 4]
mov dword [eax + 0xc], edx
mov dword [eax + 8], 0x462b4c
mov eax, dword [ebp - 4]
cmp byte [ebp - 5], 0
je 0x46238a
call fcn.00403e08
pop dword fs:[0]
add esp, 0xc
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x462904
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd98
push ebx
xor edx, edx
mov dword [ebp - 0x268], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x462acf
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x28], 0
jne 0x462aad
mov dl, 1
mov eax, dword [0x412d38]
call fcn.004039b8
mov edx, dword [ebp - 4]
mov dword [edx + 0x28], eax
mov eax, dword [ebp - 4]
add eax, 0x2c
call fcn.004048bc
lea eax, [ebp - 0x11c]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
dec eax
test eax, eax
jl 0x462a96
inc eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x11c]
call fcn.0044caa4
test al, al
je 0x462a8a
lea eax, [ebp - 0x18]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x11c]
mov dword [ebp - 0x264], eax
mov byte [ebp - 0x260], 0
lea ecx, [ebp - 0x264]
mov edx, 0x462ae0
lea eax, [ebp - 0x25c]
call fcn.0040b9d8
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x462a8a
xor eax, eax
push ebp
push 0x462a83
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x14], pe_nt_image_headers32
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x21c]
push eax
push 0
push 0
push 0x462b18
mov eax, dword [ebp - 0x18]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x462a6c
lea eax, [ebp - 0x268]
lea edx, [ebp - 0x21c]
mov ecx, pe_nt_image_headers32
call fcn.00404b14
mov edx, dword [ebp - 0x268]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + eax*4 - 0x11c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov ebx, dword [eax]
call dword [ebx + 0x38]
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x11c]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x30]
jne 0x462a6c
mov eax, dword [ebp - 4]
add eax, 0x2c
lea edx, [ebp - 0x21c]
mov ecx, pe_nt_image_headers32
call fcn.00404b14
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x462a8a
mov eax, dword [ebp - 0x18]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
inc dword [ebp - 0x10]
dec dword [ebp - 0x1c]
jne 0x462979
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov byte [eax + 0x19], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov dl, 1
call fcn.0041734c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x462ad6
lea eax, [ebp - 0x268]
call fcn.004048bc
ret
Function at 0x463584
Capabilities:
Create thread
Set global application hook

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x5807d8]
cmp byte [eax + 0x95], 0
jne 0x4635fb
cmp dword [0x5807f4], 0
jne 0x4635b9
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x463540
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x5807f4], eax
cmp dword [0x5807f0], 0
jne 0x4635d4
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x5807f0], eax
cmp dword [0x5807f8], 0
jne 0x4635fb
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x4634e0
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x5807f8], eax
pop ecx
pop ebp
ret

Function at 0x4636c4
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
call fcn.0046365c
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
je 0x4636e5
xor eax, eax
call fcn.00463694
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_ShowWindow
cmp byte [ebp - 9], 0
je 0x4636ff
mov al, 1
call fcn.00463694
mov esp, ebp
pop ebp
ret

Function at 0x463d18
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov eax, dword [0x5807d8]
cmp dword [eax + 0x24], 0
je 0x463ddf
mov eax, dword [ebp - 4]
cmp dword [eax + 0x84], 0
jne 0x463dd6
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x14], eax
mov al, byte [ebp - 5]
mov byte [ebp - 0x10], al
lea eax, [ebp - 0x14]
push eax
push 0x463c98
call sub.user32.dll_EnumWindows
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x80]
cmp dword [eax + 8], 0
je 0x463dd6
push 3
mov eax, dword [ebp - 0x14]
push eax
call sub.user32.dll_GetWindow
mov dword [ebp - 0x14], eax
push 0xffffffffffffffec
mov eax, dword [ebp - 0x14]
push eax
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x463d93
mov dword [ebp - 0x14], 0xfffffffe
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x80]
mov eax, dword [eax + 8]
dec eax
cmp eax, 0
jl 0x463dd6
mov dword [ebp - 0xc], eax
push 0x13
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x14]
push eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x80]
call fcn.004147d8
push eax
call sub.user32.dll_SetWindowPos
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0xffffffff
jne 0x463da8
mov eax, dword [ebp - 4]
inc dword [eax + 0x84]
mov esp, ebp
pop ebp
ret

Function at 0x464964
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x94], 0
je 0x4649a9
push pe_nt_image_headers32
lea eax, [ebp - 0x108]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
lea edx, [ebp - 0x108]
mov eax, dword [ebp - 8]
call fcn.004049a4
jmp 0x4649b7
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x7c]
call fcn.00404910
mov esp, ebp
pop ebp
ret
Function at 0x465cbc
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x74], 0
je 0x465d03
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x74]
call fcn.00447608
test al, al
je 0x465d03
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x74]
call fcn.00447144
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x465d03
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x74]
call fcn.00447144
push eax
call sub.user32.dll_ShowWindow
pop ecx
pop ebp
ret

Function at 0x467908
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
xor ecx, ecx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x467a7d
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 8]
call fcn.00404954
mov eax, dword [ebp - 0x1c]
call fcn.00467338
mov byte [ebp - 0x15], al
cmp byte [ebp - 0x15], 0
jne 0x46795b
lea eax, [ebp - 0x1c]
mov ecx, 1
mov edx, 1
call fcn.00404dac
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00468004
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x467a3a
xor eax, eax
push ebp
push 0x467a33
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 4]
call fcn.004675d8
lea edx, [ebp - 0x44]
mov eax, dword [ebp - 4]
call fcn.00467abc
test al, al
je 0x467a11
mov ecx, dword [ebp - 0x40]
inc ecx
lea eax, [ebp - 0x20]
xor edx, edx
call fcn.004049a4
mov eax, dword [ebp - 0x44]
dec eax
cmp eax, 0
jl 0x467a11
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x10], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x20]
call fcn.00404d28
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x28]
push eax
call sub.advapi32.dll_RegEnumKeyExA
test eax, eax
jne 0x467a08
mov eax, dword [ebp - 0x20]
call fcn.00404d28
mov edx, eax
lea eax, [ebp - 0x48]
call fcn.00404a9c
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 4]
call fcn.00467908
dec dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0xffffffff
jne 0x4679be
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x467a3a
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 4]
call fcn.004675d8
mov eax, dword [ebp - 0x28]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
mov eax, dword [ebp - 0x1c]
call fcn.00404d28
push eax
mov dl, byte [ebp - 0x15]
mov eax, dword [ebp - 4]
call fcn.004675a0
push eax
call sub.advapi32.dll_RegDeleteKeyA
test eax, eax
sete byte [ebp - 9]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x467a84
lea eax, [ebp - 0x48]
call fcn.004048bc
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.004048e0
ret