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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push esi
push edi
mov esi, eax
lea edi, [ebp - 9]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [0x46cb54], 0
je 0x4369e3
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x46b778]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x4369e3
mov eax, dword [0x46cb58]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x46cb54]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x4369b2
inc eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 0
mov edx, dword [ebp - 0x1c]
mov eax, dword [0x46cb54]
call fcn.00415a3c
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x4369a6
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x4369a6
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x4369a6
mov eax, dword [ebp - 0x14]
call fcn.00441f18
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4369a6
push ebp
call fcn.0043683c
pop ecx
test al, al
jne 0x4369a6
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x436962
mov eax, dword [ebp - 0x14]
call fcn.00440318
dec eax
jle 0x4369a6
mov byte [ebp - 1], 1
lea eax, [ebp - 9]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x30]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbd
call fcn.0040386c
cmp byte [ebp - 1], 0
je 0x4369a6
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x30]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x4369a6
mov edx, dword [ebp - 0x14]
mov eax, dword [0x46cb58]
call fcn.00435d04
inc dword [ebp - 0x1c]
dec dword [ebp - 0x20]
jne 0x4368f4
mov eax, dword [0x46cb58]
cmp dword [eax + 8], 0
jle 0x4369ca
mov eax, dword [0x46cb58]
call fcn.00435db0
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4369e3
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00436678
pop ecx
test al, al
jne 0x4369e3
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x43b0d8
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 0x43b12b
mov eax, dword [ebp - 0x14]
call fcn.004555a8
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x43b12b
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x250], 0
je 0x43b12b
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 0x43b2ba
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0x100
jb 0x43b174
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0x108
ja 0x43b174
mov eax, dword [ebp - 0x14]
call fcn.004555a8
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x43b2af
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0xf0]
test al, al
jne 0x43b2ba
jmp 0x43b2af
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0x200
jb 0x43b28a
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0x20a
ja 0x43b28a
mov eax, dword [ebp - 0x14]
test byte [eax + 0x50], 0x80
jne 0x43b1b7
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
sub eax, 0x203
je 0x43b1b1
sub eax, 3
je 0x43b1b1
sub eax, 3
jne 0x43b1b7
mov eax, dword [ebp - 0x18]
sub dword [eax], 2
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
sub eax, 0x200
je 0x43b1ce
dec eax
je 0x43b1e5
dec eax
je 0x43b20c
dec eax
je 0x43b1e5
jmp 0x43b219
mov ecx, dword [ebp - 0x18]
mov eax, dword [0x46b778]
mov eax, dword [eax]
mov edx, dword [ebp - 0x14]
call fcn.00461264
jmp 0x43b2af
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x5d], 1
jne 0x43b1ff
mov eax, dword [ebp - 0x14]
mov si, 0xffed
call fcn.0040386c
jmp 0x43b2ba
mov eax, dword [ebp - 0x14]
or word [eax + 0x54], 1
jmp 0x43b2af
mov eax, dword [ebp - 0x14]
and word [eax + 0x54], 0xfffe
jmp 0x43b2af
mov eax, dword [0x46cb10]
cmp byte [eax + 0x20], 0
je 0x43b2af
mov eax, dword [0x46cb10]
cmp dword [eax + 0x1c], 0
je 0x43b2af
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov edx, dword [0x46cb10]
cmp eax, dword [edx + 0x1c]
jne 0x43b2af
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.004554c4
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.0040386c
jmp 0x43b2ba
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0xb00b
jne 0x43b2af
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.00439184
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 0x43f68c
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 0x43f6ad
mov eax, dword [ebp - 8]
cmp dword [eax + 4], 0
je 0x43f6e2
mov eax, dword [ebp - 4]
test byte [eax + 0x55], 1
jne 0x43f6d2
mov eax, dword [ebp - 4]
call fcn.0043dc68
test eax, eax
jne 0x43f6d2
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x43f80c
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0043f060
jmp 0x43f80c
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 0x43f805
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 4]
call fcn.00441f18
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.0043af8c
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.0043f68c
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.00441f18
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43f80c
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 0x447c84
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov eax, dword [0x46b8dc]
cmp byte [eax + 0xc], 0
je 0x447df6
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x447def
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x46cb64], 0
jne 0x447cdd
push 0x447dfc
call sub.kernel32.dll_GetModuleHandleA_2
mov dword [ebp - 4], eax
push 0x447e04
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46cb64], eax
cmp dword [0x469bf4], 0
jne 0x447dd8
push 0x447e14
call sub.kernel32.dll_LoadLibraryA
mov dword [0x469bf4], eax
cmp dword [0x469bf4], 0
je 0x447dd8
push 0x447e20
mov eax, dword [0x469bf4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46cb68], eax
push 0x447e30
mov eax, dword [0x469bf4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46cb6c], eax
push 0x447e44
mov eax, dword [0x469bf4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46cb70], eax
push 0x447e5c
mov eax, dword [0x469bf4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46cb74], eax
push 0x447e74
mov eax, dword [0x469bf4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46cb78], eax
push 0x447e88
mov eax, dword [0x469bf4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46cb7c], eax
push 0x447ea0
mov eax, dword [0x469bf4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46cb80], eax
push 0x447eb8
mov eax, dword [0x469bf4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46cb84], eax
push 0x447ed4
mov eax, dword [0x469bf4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46cb88], eax
push 0x447ee0
mov eax, dword [0x469bf4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46cb8c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x447df6
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ecx
pop ecx
pop ebp
ret

Function at 0x44c7c0
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.004043d8
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 0x44c819
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.00404648
mov esp, ebp
pop ebp
ret
Function at 0x455420
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
mov word [ebp - 2], ax
mov al, byte [0x455478]
mov byte [ebp - 3], al
test byte [ebp - 2], 4
je 0x45543a
or byte [ebp - 3], 1
test byte [ebp - 2], 8
je 0x455444
or byte [ebp - 3], 4
test byte [ebp - 2], 1
je 0x45544e
or byte [ebp - 3], 8
test byte [ebp - 2], 2
je 0x455458
or byte [ebp - 3], 0x10
test byte [ebp - 2], 0x10
je 0x455462
or byte [ebp - 3], 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x455472
or byte [ebp - 3], 2
mov al, byte [ebp - 3]
pop ecx
pop ebp
ret

Function at 0x45547c
Capabilities:
Log keystrokes via polling

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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
test dl, dl
je 0x45d442
add esp, 0xfffffff0
call fcn.00403984
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.0041c5b4
mov eax, dword [0x46b5a0]
mov edx, dword [ebp - 4]
mov dword [eax + 4], edx
mov dword [eax], 0x45d9a0
mov eax, dword [0x46b5ac]
mov edx, dword [ebp - 4]
mov dword [eax + 4], edx
mov dword [eax], 0x45d9c0
mov eax, dword [ebp - 4]
call fcn.0045d9e0
push 0
call sub.user32.dll_GetKeyboardLayout
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c], eax
mov dl, 1
mov eax, dword [0x413234]
call fcn.00403634
mov edx, dword [ebp - 4]
mov dword [edx + 0x4c], eax
mov dl, 1
mov eax, dword [0x413234]
call fcn.00403634
mov edx, dword [ebp - 4]
mov dword [edx + 0x50], eax
mov dl, 1
mov eax, dword [0x413234]
call fcn.00403634
mov edx, dword [ebp - 4]
mov dword [edx + 0x54], eax
mov dl, 1
mov eax, dword [0x413234]
call fcn.00403634
mov edx, dword [ebp - 4]
mov dword [edx + 0x58], eax
mov dl, 1
mov eax, dword [0x413234]
call fcn.00403634
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, 0x458df0
push eax
push 0
push 0
mov eax, dword [0x46b700]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41e7a4]
call fcn.0041fd9c
mov edx, dword [ebp - 4]
mov dword [edx + 0x84], eax
mov dl, 1
mov eax, dword [0x41e7a4]
call fcn.0041fd9c
mov edx, dword [ebp - 4]
mov dword [edx + 0x88], eax
mov dl, 1
mov eax, dword [0x41e7a4]
call fcn.0041fd9c
mov edx, dword [ebp - 4]
mov dword [edx + 0x80], eax
mov eax, dword [ebp - 4]
call fcn.0045df2c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
mov edx, dword [ebp - 4]
mov dword [eax + 0xc], edx
mov dword [eax + 8], 0x45dd78
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x88]
mov edx, dword [ebp - 4]
mov dword [eax + 0xc], edx
mov dword [eax + 8], 0x45dd78
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x80]
mov edx, dword [ebp - 4]
mov dword [eax + 0xc], edx
mov dword [eax + 8], 0x45dd78
mov eax, dword [ebp - 4]
cmp byte [ebp - 5], 0
je 0x45d5ca
call fcn.004039dc
pop dword fs:[0]
add esp, 0xc
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x45db30
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 0x45dcfb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x45dcd9
mov dl, 1
mov eax, dword [0x413650]
call fcn.00403634
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004043d8
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 0x45dcc2
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.00448024
test al, al
je 0x45dcb6
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, 0x45dd0c
lea eax, [ebp - 0x25c]
call fcn.004097b8
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45dcb6
xor eax, eax
push ebp
push 0x45dcaf
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 0x45dd44
mov eax, dword [ebp - 0x18]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x45dc98
lea eax, [ebp - 0x268]
lea edx, [ebp - 0x21c]
mov ecx, pe_nt_image_headers32
call fcn.00404648
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 0x45dc98
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x21c]
mov ecx, pe_nt_image_headers32
call fcn.00404648
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45dcb6
mov eax, dword [ebp - 0x18]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
inc dword [ebp - 0x10]
dec dword [ebp - 0x1c]
jne 0x45dba5
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.00417d6c
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 0x45dd02
lea eax, [ebp - 0x268]
call fcn.004043d8
ret
Function at 0x45e834
Capabilities:
Create thread
Set global application hook

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x46cbb0]
cmp byte [eax + 0xa5], 0
jne 0x45e8ab
cmp dword [0x46cbc8], 0
jne 0x45e869
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x45e7f0
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x46cbc8], eax
cmp dword [0x46cbc4], 0
jne 0x45e884
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x46cbc4], eax
cmp dword [0x46cbcc], 0
jne 0x45e8ab
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x45e790
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x46cbcc], eax
pop ecx
pop ebp
ret

Function at 0x45e974
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.0045e90c
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
je 0x45e995
xor eax, eax
call fcn.0045e944
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 0x45e9af
mov al, 1
call fcn.0045e944
mov esp, ebp
pop ebp
ret

Function at 0x45f078
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 [0x46cbb0]
cmp dword [eax + 0x30], 0
je 0x45f142
mov eax, dword [ebp - 4]
cmp dword [eax + 0x94], 0
jne 0x45f139
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 0x45eff8
call sub.user32.dll_EnumWindows
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x90]
cmp dword [eax + 8], 0
je 0x45f139
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 0x45f0f3
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 0x45f139
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.00415a3c
push eax
call sub.user32.dll_SetWindowPos
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0xffffffff
jne 0x45f108
mov eax, dword [ebp - 4]
inc dword [eax + 0x94]
mov esp, ebp
pop ebp
ret

Function at 0x45fe58
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 0x45fe9d
push pe_nt_image_headers32
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.004044c8
jmp 0x45feae
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x8c]
call fcn.0040442c
mov esp, ebp
pop ebp
ret
Function at 0x4613e0
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 0x461433
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
call fcn.004423e8
test al, al
je 0x461433
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
call fcn.00441f18
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x461433
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
call fcn.00441f18
push eax
call sub.user32.dll_ShowWindow
pop ecx
pop ebp
ret

Function at 0x461ee0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
mov esi, ecx
mov ebx, eax
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
push eax
push 1
push 0
mov eax, esi
call fcn.00404898
push eax
push ebx
call sub.advapi32.dll_RegOpenKeyExA_1
xor eax, eax
push ebp
push 0x461f58
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
mov eax, dword [ebp + 0x14]
call fcn.00404898
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
sete byte [ebp - 1]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x461f5f
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret