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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee4
push ebx
push esi
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
test byte [eax + 0x1c], 0x10
je 0x459e8f
mov eax, dword [ebp - 0x14]
call fcn.0047539c
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x459e8f
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x250], 0
je 0x459e8f
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x250]
mov edx, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0x24]
test al, al
jne 0x45a01e
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0x100
jb 0x459ed8
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0x108
ja 0x459ed8
mov eax, dword [ebp - 0x14]
call fcn.0047539c
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x45a013
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0xec]
test al, al
jne 0x45a01e
jmp 0x45a013
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0x200
jb 0x459fee
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0x20a
ja 0x459fee
mov eax, dword [ebp - 0x14]
test byte [eax + 0x50], 0x80
jne 0x459f1b
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
sub eax, 0x203
je 0x459f15
sub eax, 3
je 0x459f15
sub eax, 3
jne 0x459f1b
mov eax, dword [ebp - 0x18]
sub dword [eax], 2
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
sub eax, 0x200
je 0x459f32
dec eax
je 0x459f49
dec eax
je 0x459f70
dec eax
je 0x459f49
jmp 0x459f7d
mov ecx, dword [ebp - 0x18]
mov eax, dword [0x5d9640]
mov eax, dword [eax]
mov edx, dword [ebp - 0x14]
call fcn.00480e48
jmp 0x45a013
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x5d], 1
jne 0x459f63
mov eax, dword [ebp - 0x14]
mov si, 0xffed
call fcn.00404044
jmp 0x45a01e
mov eax, dword [ebp - 0x14]
or word [eax + 0x54], 1
jmp 0x45a013
mov eax, dword [ebp - 0x14]
and word [eax + 0x54], 0xfffe
jmp 0x45a013
mov eax, dword [0x5daba0]
cmp byte [eax + 0x20], 0
je 0x45a013
mov eax, dword [0x5daba0]
cmp dword [eax + 0x1c], 0
je 0x45a013
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov edx, dword [0x5daba0]
cmp eax, dword [edx + 0x1c]
jne 0x45a013
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.0047528c
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 si, 0xffc9
call fcn.00404044
jmp 0x45a01e
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0xb00b
jne 0x45a013
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 8]
push eax
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx + 4]
mov edx, dword [ebp - 0x18]
mov edx, dword [edx]
mov eax, dword [ebp - 0x14]
call fcn.00457e64
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx - 0x14]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45e41c
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 + 0x1f8], 0
je 0x45e43d
mov eax, dword [ebp - 8]
cmp dword [eax + 4], 0
je 0x45e472
mov eax, dword [ebp - 4]
test byte [eax + 0x55], 1
jne 0x45e462
mov eax, dword [ebp - 4]
call fcn.0045cafc
test eax, eax
jne 0x45e462
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x45e59c
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0045ddf0
jmp 0x45e59c
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 + 0x44]
mov eax, dword [ebp - 0x5c]
push eax
lea edx, [ebp - 0x78]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x44]
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 0x45e595
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 4]
call fcn.00460c6c
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.00459cf0
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.0045e41c
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 + 0x44]
mov eax, dword [ebp - 0x5c]
push eax
lea edx, [ebp - 0x78]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x44]
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.00460c6c
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45e59c
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 0x4668e4
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov eax, dword [0x5d9918]
cmp byte [eax + 0xc], 0
je 0x466a56
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x466a4f
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x5dabf4], 0
jne 0x46693d
push 0x466a5c
call sub.kernel32.dll_GetModuleHandleA_2
mov dword [ebp - 4], eax
push 0x466a64
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5dabf4], eax
cmp dword [0x5d5cd4], 0
jne 0x466a38
push 0x466a74
call sub.kernel32.dll_LoadLibraryA
mov dword [0x5d5cd4], eax
cmp dword [0x5d5cd4], 0
je 0x466a38
push 0x466a80
mov eax, dword [0x5d5cd4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5dabf8], eax
push 0x466a90
mov eax, dword [0x5d5cd4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5dabfc], eax
push 0x466aa4
mov eax, dword [0x5d5cd4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5dac00], eax
push 0x466abc
mov eax, dword [0x5d5cd4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5dac04], eax
push 0x466ad4
mov eax, dword [0x5d5cd4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5dac08], eax
push 0x466ae8
mov eax, dword [0x5d5cd4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5dac0c], eax
push 0x466b00
mov eax, dword [0x5d5cd4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5dac10], eax
push 0x466b18
mov eax, dword [0x5d5cd4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5dac14], eax
push 0x466b34
mov eax, dword [0x5d5cd4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5dac18], eax
push 0x466b40
mov eax, dword [0x5d5cd4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5dac1c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x466a56
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ecx
pop ecx
pop ebp
ret

Function at 0x46be64
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.00404c74
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 0x46bebd
push 0x100
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, 0x100
call fcn.00404edc
mov esp, ebp
pop ebp
ret
Function at 0x4751e8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
mov word [ebp - 2], ax
mov al, byte [0x475240]
mov byte [ebp - 3], al
test byte [ebp - 2], 4
je 0x475202
or byte [ebp - 3], 1
test byte [ebp - 2], 8
je 0x47520c
or byte [ebp - 3], 4
test byte [ebp - 2], 1
je 0x475216
or byte [ebp - 3], 8
test byte [ebp - 2], 2
je 0x475220
or byte [ebp - 3], 0x10
test byte [ebp - 2], 0x10
je 0x47522a
or byte [ebp - 3], 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x47523a
or byte [ebp - 3], 2
mov al, byte [ebp - 3]
pop ecx
pop ebp
ret

Function at 0x475244
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 4], eax
mov al, byte [0x475288]
mov byte [ebp - 5], al
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x475265
or byte [ebp - 5], 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x475275
or byte [ebp - 5], 4
test byte [ebp - 1], 0x20
je 0x47527f
or byte [ebp - 5], 2
mov al, byte [ebp - 5]
pop ecx
pop ecx
pop ebp
ret

Function at 0x4752f8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_GetKeyboardState
lea eax, [ebp - 0x101]
call fcn.0047528c
mov byte [ebp - 1], al
mov al, byte [ebp - 1]
mov esp, ebp
pop ebp
ret
Function at 0x47d1b4
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
test dl, dl
je 0x47d1c6
add esp, 0xfffffff0
call fcn.004041ac
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.00427128
mov eax, dword [0x5d92d8]
mov edx, dword [ebp - 4]
mov dword [eax + 4], edx
mov dword [eax], 0x47d724
mov eax, dword [0x5d92ec]
mov edx, dword [ebp - 4]
mov dword [eax + 4], edx
mov dword [eax], 0x47d744
mov eax, dword [ebp - 4]
call fcn.0047d764
push 0
call sub.user32.dll_GetKeyboardLayout
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c], eax
mov dl, 1
mov eax, dword [0x419cd4]
call fcn.00403e18
mov edx, dword [ebp - 4]
mov dword [edx + 0x4c], eax
mov dl, 1
mov eax, dword [0x419cd4]
call fcn.00403e18
mov edx, dword [ebp - 4]
mov dword [edx + 0x50], eax
mov dl, 1
mov eax, dword [0x419cd4]
call fcn.00403e18
mov edx, dword [ebp - 4]
mov dword [edx + 0x54], eax
mov dl, 1
mov eax, dword [0x419cd4]
call fcn.00403e18
mov edx, dword [ebp - 4]
mov dword [edx + 0x58], eax
mov dl, 1
mov eax, dword [0x419cd4]
call fcn.00403e18
mov edx, dword [ebp - 4]
mov dword [edx + 0x7c], 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 + 0x40], eax
mov eax, dword [ebp - 0x10]
push eax
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x58]
push eax
mov eax, 0x478c44
push eax
push 0
push 0
mov eax, dword [0x5d9560]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x4293c0]
call fcn.0042ace8
mov edx, dword [ebp - 4]
mov dword [edx + 0x84], eax
mov dl, 1
mov eax, dword [0x4293c0]
call fcn.0042ace8
mov edx, dword [ebp - 4]
mov dword [edx + 0x88], eax
mov dl, 1
mov eax, dword [0x4293c0]
call fcn.0042ace8
mov edx, dword [ebp - 4]
mov dword [edx + 0x80], eax
mov eax, dword [ebp - 4]
call fcn.0047dcb0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
mov edx, dword [ebp - 4]
mov dword [eax + 0xc], edx
mov dword [eax + 8], 0x47dafc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x88]
mov edx, dword [ebp - 4]
mov dword [eax + 0xc], edx
mov dword [eax + 8], 0x47dafc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x80]
mov edx, dword [ebp - 4]
mov dword [eax + 0xc], edx
mov dword [eax + 8], 0x47dafc
mov eax, dword [ebp - 4]
cmp byte [ebp - 5], 0
je 0x47d34e
call fcn.00404204
pop dword fs:[0]
add esp, 0xc
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x47d8b4
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 0x47da7f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x47da5d
mov dl, 1
mov eax, dword [0x41a338]
call fcn.00403e18
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404c74
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 0x47da46
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.00466e04
test al, al
je 0x47da3a
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, 0x47da90
lea eax, [ebp - 0x25c]
call fcn.0040b624
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x47da3a
xor eax, eax
push ebp
push 0x47da33
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x14], 0x100
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x21c]
push eax
push 0
push 0
push 0x47dac8
mov eax, dword [ebp - 0x18]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x47da1c
lea eax, [ebp - 0x268]
lea edx, [ebp - 0x21c]
mov ecx, 0x100
call fcn.00404edc
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 + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x11c]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x47da1c
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x21c]
mov ecx, 0x100
call fcn.00404edc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47da3a
mov eax, dword [ebp - 0x18]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
inc dword [ebp - 0x10]
dec dword [ebp - 0x1c]
jne 0x47d929
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov dl, 1
call fcn.00420424
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47da86
lea eax, [ebp - 0x268]
call fcn.00404c74
ret
Function at 0x47e5b8
Capabilities:
Create thread
Set global application hook

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x5dac38]
cmp byte [eax + 0xa5], 0
jne 0x47e62f
cmp dword [0x5dac50], 0
jne 0x47e5ed
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x47e574
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x5dac50], eax
cmp dword [0x5dac4c], 0
jne 0x47e608
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x5dac4c], eax
cmp dword [0x5dac54], 0
jne 0x47e62f
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x47e514
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x5dac54], eax
pop ecx
pop ebp
ret

Function at 0x47e6f8
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.0047e690
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
je 0x47e719
xor eax, eax
call fcn.0047e6c8
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 0x47e733
mov al, 1
call fcn.0047e6c8
mov esp, ebp
pop ebp
ret

Function at 0x47edf0
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 [0x5dac38]
cmp dword [eax + 0x30], 0
je 0x47eeba
mov eax, dword [ebp - 4]
cmp dword [eax + 0x94], 0
jne 0x47eeb1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x14], eax
mov al, byte [ebp - 5]
mov byte [ebp - 0x10], al
lea eax, [ebp - 0x14]
push eax
push 0x47ed70
call sub.user32.dll_EnumWindows
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x90]
cmp dword [eax + 8], 0
je 0x47eeb1
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 0x47ee6b
mov dword [ebp - 0x14], 0xfffffffe
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x90]
mov eax, dword [eax + 8]
dec eax
cmp eax, 0
jl 0x47eeb1
mov dword [ebp - 0xc], eax
push 0x213
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 + 0x90]
call fcn.0041cac0
push eax
call sub.user32.dll_SetWindowPos
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0xffffffff
jne 0x47ee80
mov eax, dword [ebp - 4]
inc dword [eax + 0x94]
mov esp, ebp
pop ebp
ret

Function at 0x47fb2c
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 + 0xa4], 0
je 0x47fb71
push 0x100
lea eax, [ebp - 0x108]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
lea edx, [ebp - 0x108]
mov eax, dword [ebp - 8]
call fcn.00404d64
jmp 0x47fb82
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x8c]
call fcn.00404cc8
mov esp, ebp
pop ebp
ret
Function at 0x480fc4
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 + 0x84], 0
je 0x481017
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
call fcn.0046113c
test al, al
je 0x481017
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
call fcn.00460c6c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x481017
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
call fcn.00460c6c
push eax
call sub.user32.dll_ShowWindow
pop ecx
pop ebp
ret

Function at 0x4830e4
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 0x483259
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 8]
call fcn.00404d0c
mov eax, dword [ebp - 0x1c]
call fcn.00482c0c
mov byte [ebp - 0x15], al
cmp byte [ebp - 0x15], 0
jne 0x483137
lea eax, [ebp - 0x1c]
mov ecx, 1
mov edx, 1
call fcn.004051c4
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.004839c4
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x483216
xor eax, eax
push ebp
push 0x48320f
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 4]
call fcn.00482eac
lea edx, [ebp - 0x44]
mov eax, dword [ebp - 4]
call fcn.00483298
test al, al
je 0x4831ed
mov ecx, dword [ebp - 0x40]
inc ecx
lea eax, [ebp - 0x20]
xor edx, edx
call fcn.00404d64
mov eax, dword [ebp - 0x44]
dec eax
cmp eax, 0
jl 0x4831ed
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.00405124
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 0x4831e4
mov eax, dword [ebp - 0x20]
call fcn.00405124
mov edx, eax
lea eax, [ebp - 0x48]
call fcn.00404e64
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 4]
call fcn.004830e4
dec dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0xffffffff
jne 0x48319a
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x483216
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 4]
call fcn.00482eac
mov eax, dword [ebp - 0x28]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
mov eax, dword [ebp - 0x1c]
call fcn.00405124
push eax
mov dl, byte [ebp - 0x15]
mov eax, dword [ebp - 4]
call fcn.00482e74
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 0x483260
lea eax, [ebp - 0x48]
call fcn.00404c74
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.00404c98
ret
Function at 0x483268
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00405124
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.advapi32.dll_RegDeleteValueA
test eax, eax
sete byte [ebp - 9]
mov al, byte [ebp - 9]
mov esp, ebp
pop ebp
ret

Function at 0x483298
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
xor ecx, ecx
mov edx, 0x1c
call fcn.00403238
mov eax, dword [ebp - 8]
add eax, 0x14
push eax
push 0
mov eax, dword [ebp - 8]
add eax, 0x10
push eax
mov eax, dword [ebp - 8]
add eax, 0xc
push eax
mov eax, dword [ebp - 8]
add eax, 8
push eax
push 0
mov eax, dword [ebp - 8]
add eax, 4
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.advapi32.dll_RegQueryInfoKeyA
test eax, eax
sete byte [ebp - 9]
mov eax, dword [0x5d9918]
cmp byte [eax + 0xc], 0
je 0x483323
mov eax, dword [0x5d9904]
cmp dword [eax], 2
jne 0x483323
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 8]
add dword [edx + 4], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 8]
add dword [edx + 0xc], eax
mov al, byte [ebp - 9]
mov esp, ebp
pop ebp
ret

Function at 0x48332c
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
xor ecx, ecx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4833f5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x44]
lea edx, [ebp - 0x34]
mov eax, dword [ebp - 4]
call fcn.00483298
test al, al
je 0x4833d7
mov ecx, dword [ebp - 0x30]
inc ecx
lea eax, [ebp - 0x14]
xor edx, edx
call fcn.00404d64
mov eax, dword [ebp - 0x34]
dec eax
test eax, eax
jl 0x4833d7
inc eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x14]
call fcn.00405124
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.advapi32.dll_RegEnumKeyExA
mov eax, dword [ebp - 0x14]
call fcn.00405124
mov edx, eax
lea eax, [ebp - 0x38]
call fcn.00404e64
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc dword [ebp - 0x10]
dec dword [ebp - 0x18]
jne 0x483386
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4833fc
lea eax, [ebp - 0x38]
call fcn.00404c74
lea eax, [ebp - 0x14]
call fcn.00404c74
ret