joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ddf34
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
cmp eax, ebx
jne 0x4ddf52
mov byte [ebp - 5], 1
jmp 0x4de02a
mov byte [ebp - 5], 0
mov esi, dword [ebp - 4]
cmp esi, 0x10000
jb 0x4de02a
cmp esi, ebx
jb 0x4de02a
mov eax, esi
sub eax, ebx
cmp eax, 0x7ffffffe
jge 0x4de02a
mov edx, esi
sub edx, ebx
inc edx
mov eax, ebx
call fcn.0040eaa8
test al, al
je 0x4de02a
xor eax, eax
push ebp
push 0x4de020
push dword fs:[eax]
mov dword fs:[eax], esp
jmp 0x4de00a
lea ecx, [ebp - 0x58]
xor edx, edx
mov eax, ebx
call fcn.00414210
cmp byte [ebp - 0x4f], 0
je 0x4ddfb7
cmp ebx, dword [ebp - 0x54]
jne 0x4ddfc1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4de02a
mov ebx, dword [ebp - 0x54]
mov esi, dword [ebp - 0x48]
cmp esi, 0xcc
je 0x4de000
cmp esi, 0xc2
je 0x4de000
cmp esi, 0xc3
je 0x4de000
cmp byte [ebp - 0x35], 0
je 0x4de00a
mov edi, dword [ebp - 0x48]
cmp edi, 0xe9
je 0x4de000
cmp edi, 0xe8
je 0x4de000
cmp edi, 0xff
jne 0x4de00a
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4de02a
mov eax, dword [ebp - 4]
dec eax
cmp eax, ebx
ja 0x4ddfa0
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4de02a
movzx eax, byte [ebp - 5]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4f3344
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.004054fc
xor eax, eax
push ebp
push 0x4f3479
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x4f344c
xor edx, edx
push ebp
push 0x4f3445
push dword fs:[edx]
mov dword fs:[edx], esp
mov ebx, dword [ebp - 4]
mov eax, ebx
test eax, eax
je 0x4f3391
sub eax, 4
mov eax, dword [eax]
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4f341a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov esi, eax
xor eax, eax
push ebp
push 0x4f3409
push dword fs:[eax]
mov dword fs:[eax], esp
test ebx, ebx
je 0x4f33d0
sub ebx, 4
mov ebx, dword [ebx]
mov eax, dword [ebp - 4]
call fcn.0040550c
lea ecx, [ebx + 1]
mov edx, esi
call fcn.00403348
call sub.user32.dll_EmptyClipboard
mov eax, dword [ebp - 8]
push eax
push 1
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f3410
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x57acfc]
mov dl, 1
mov eax, dword [0x426ea4]
call fcn.0042c7d4
call fcn.00404984
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f3480
lea eax, [ebp - 4]
call fcn.0040502c
ret
Function at 0x4f3488
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4f3643
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.004057f8
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 4]
mov ecx, 0x4f365c
call fcn.00405358
mov eax, ebx
call fcn.004454c4
mov edi, eax
dec edi
test edi, edi
jl 0x4f3540
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.00445498
mov edx, dword [0x4e7e08]
call fcn.00404198
test al, al
je 0x4f353c
push dword [ebp - 8]
mov edx, esi
mov eax, ebx
call fcn.00445498
lea edx, [ebp - 0x14]
call fcn.00513780
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.004057f8
push dword [ebp - 0x18]
lea eax, [ebp - 8]
mov edx, 3
call fcn.004053cc
inc esi
dec edi
jne 0x4f34ee
movzx eax, byte [0x4f3660]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x4f366c
mov eax, dword [ebp - 8]
call fcn.0042dc60
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 8]
call fcn.004050c4
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
lea edx, [ebp - 0x70]
mov eax, ebx
call fcn.00513780
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x4f365c
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0xb
mov eax, dword [ebp - 4]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
lea edx, [ebp - 0x74]
mov eax, dword [ebx + 0x360]
call fcn.00513780
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x4f365c
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
mov eax, dword [ebp - 4]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
mov eax, 0x4f365c
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 4]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x6c]
mov ecx, 9
mov eax, 0x4f3678
call fcn.00429a7c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f364a
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.00405050
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00405050
lea eax, [ebp - 0x14]
call fcn.0040502c
lea eax, [ebp - 0x10]
call fcn.0040502c
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405050
ret
Function at 0x4f41d8
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
push 1
call sub.user32.dll_GetClipboardData
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4f424a
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
je 0x4f421e
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov edx, eax
mov eax, ebx
call fcn.00405224
jmp 0x4f4225
mov eax, ebx
call fcn.0040502c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f4251
cmp dword [ebp - 8], 0
je 0x4f4241
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x4f4258
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor eax, eax
push ebp
push 0x4f4300
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
je 0x4f42d3
mov edx, ebx
mov eax, dword [0x491d70]
call fcn.00496418
test al, al
je 0x4f42c3
movzx eax, bx
push eax
call sub.user32.dll_GetClipboardData
mov esi, eax
push 9
call sub.user32.dll_GetClipboardData
mov edi, eax
push edi
mov ecx, esi
mov edx, ebx
mov eax, dword [ebp - 8]
call fcn.00496328
call fcn.00404a30
jmp 0x4f4307
movzx eax, bx
push eax
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
jne 0x4f428b
mov ecx, dword [0x57adcc]
mov dl, 1
mov eax, dword [0x426ea4]
call fcn.0042c7d4
call fcn.00404984
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f4307
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x4f4310
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor eax, eax
push ebp
push 0x4f4368
push dword fs:[eax]
mov dword fs:[eax], esp
push 2
call sub.user32.dll_GetClipboardData
mov ebx, eax
push 9
call sub.user32.dll_GetClipboardData
mov esi, eax
push esi
mov ecx, ebx
mov dx, 2
mov eax, edi
mov ebx, dword [eax]
call dword [ebx + 0x5c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f436f
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret
Function at 0x4f4378
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor edx, edx
push ebp
push 0x4f43cd
push dword fs:[edx]
mov dword fs:[edx], esp
push 3
call sub.user32.dll_GetClipboardData
mov ebx, eax
push 9
call sub.user32.dll_GetClipboardData
push eax
mov ecx, ebx
mov dx, 3
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0x5c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f43d4
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x4f4444
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor eax, eax
push ebp
push 0x4f44b9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004f4114
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
lea edx, [ebp - 0xa]
mov eax, ebx
call fcn.004963ec
mov eax, dword [ebp - 8]
push eax
movzx eax, word [ebp - 0xa]
push eax
call sub.user32.dll_SetClipboardData
cmp dword [ebp - 0x10], 0
je 0x4f44a3
mov eax, dword [ebp - 0x10]
push eax
push 9
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f44c0
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x4f44c8
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor eax, eax
push ebp
push 0x4f453d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004f4114
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
lea edx, [ebp - 0xa]
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0x60]
mov eax, dword [ebp - 8]
push eax
movzx eax, word [ebp - 0xa]
push eax
call sub.user32.dll_SetClipboardData
cmp dword [ebp - 0x10], 0
je 0x4f4527
mov eax, dword [ebp - 0x10]
push eax
push 9
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f4544
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.0040502c
push 0
movzx eax, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x4f68f6
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.0040529c
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4fa978
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4faaab
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x16], 0
lea eax, [ebp - 0x16]
push eax
call sub.user32.dll_GetKeyboardLayoutNameA
mov dl, 1
mov eax, dword [0x45b7e4]
call fcn.0045b8b4
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x4faa81
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, 0x80000002
mov eax, dword [ebp - 0xc]
call fcn.0045b954
lea eax, [ebp - 0x20]
lea edx, [ebp - 0x16]
mov ecx, 0xa
call fcn.0040529c
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
mov edx, 0x4faac0
call fcn.00405358
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.0045b9b8
lea ecx, [ebp - 4]
mov edx, 0x4faafc
mov eax, dword [ebp - 0xc]
call fcn.0045bbe8
mov edx, 0x8000
mov eax, dword [ebp - 4]
call fcn.0042e64c
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x4faa64
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x4fab08
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov ebx, eax
call ebx
movzx eax, word [eax + 0x28]
and ax, 1
cmp ax, 1
sete byte [0x57990c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4faa6b
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FreeLibrary_1
ret

Function at 0x4fab58
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 0x4fab9f
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4fab82
add bx, 0x2000
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4fab93
add bx, 0x4000
test byte [esp + 0xb], 0x20
je 0x4fab9f
add bx, 0x8000
mov eax, ebx
add esp, 0x10
pop edi
pop esi
pop ebx
ret

Function at 0x4fe758
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x4fe7ac]
test si, 4
je 0x4fe76d
or bl, 1
test si, 8
je 0x4fe777
or bl, 4
test si, 1
je 0x4fe781
or bl, 8
test si, 2
je 0x4fe78b
or bl, 0x10
test si, 0x10
je 0x4fe795
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4fe7a4
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x4fe7b0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x4fe7ec]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4fe7ca
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4fe7d9
or bl, 4
test esi, 0x20000000
je 0x4fe7e4
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x505ec0
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x505ed2
add esp, 0xfffffff0
call fcn.00404370
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00444e84
mov eax, dword [0x57adf8]
mov dword [eax + 4], ebx
mov dword [eax], 0x506264
mov eax, dword [0x57ae08]
mov dword [eax + 4], ebx
mov dword [eax], 0x506270
mov eax, ebx
call fcn.0050627c
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x438d24]
call fcn.00403fdc
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x438d24]
call fcn.00403fdc
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x438d24]
call fcn.00403fdc
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x438d24]
call fcn.00403fdc
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x438d24]
call fcn.00403fdc
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, 0x501d14
push eax
push 0
push 0
mov eax, dword [0x57b088]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x491658]
call fcn.00492eac
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x491658]
call fcn.00492eac
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x491658]
call fcn.00492eac
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.005066ac
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x50657c
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x50657c
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x50657c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x50600f
call fcn.004043c8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x506360
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 0x50650b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x5064ec
mov dl, 1
mov eax, dword [0x439390]
call fcn.00403fdc
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.0040502c
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x5064db
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.00520afc
test al, al
je 0x5064ce
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, 0x50651c
lea eax, [ebp - 0x254]
call fcn.004299fc
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x5064ce
xor eax, eax
push ebp
push 0x5064c7
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 0x506554
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x5064b0
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.0040529c
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 0x5064b0
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.0040529c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5064ce
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x5063d1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov dl, 1
call fcn.0043e304
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 0x506512
lea eax, [ebp - 0x260]
call fcn.0040502c
ret

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

Disassembly:
push ecx
mov eax, dword [0x680a34]
cmp byte [eax + 0xad], 0
jne 0x506ef5
cmp dword [0x680a4c], 0
jne 0x506eb6
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x506e40
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x680a4c], eax
cmp dword [0x680a48], 0
jne 0x506ed1
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x680a48], eax
cmp dword [0x680a50], 0
jne 0x506ef5
push esp
push 0
push 0
push 0x506de4
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x680a50], eax
pop edx
ret
Function at 0x507110
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x507127
add esp, 0xfffffff0
call fcn.00404370
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00444e84
mov eax, dword [0x57b058]
cmp word [eax + 2], 0
jne 0x50714f
mov eax, dword [0x57b058]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00508bd8
mov eax, dword [0x57b1d0]
cmp word [eax + 2], 0
jne 0x507169
mov eax, dword [0x57b1d0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00508de4
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x438d24]
call fcn.00403fdc
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x438d24]
call fcn.00403fdc
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x438d24]
call fcn.00403fdc
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 [0x492168]
call fcn.00499f28
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x507320
mov eax, dword [0x57aec0]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0049a2fc
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x5094b4
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x57aec0]
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.0042d754
test eax, eax
je 0x507270
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0042935c
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0042d788
test eax, eax
je 0x507284
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.0040529c
mov byte [ebx + 0xd4], 0
push ebx
push 0x508720
call fcn.00446000
mov dword [ebx + 0xc8], eax
mov eax, dword [0x57ac4c]
cmp byte [eax], 0
jne 0x5072d5
mov eax, ebx
call fcn.00507464
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.00509690
mov eax, ebx
call fcn.0050a1f0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x507315
call fcn.004043c8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5076e4
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x680a34]
cmp dword [eax + 0x30], 0
je 0x50778e
cmp dword [ebx + 0x94], 0
jne 0x507788
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x507674
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x507788
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 0x50774e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x507788
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.0043b61c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x50775d
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x5084a8
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x5084dd
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.0040511c
jmp 0x5084ea
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00405080
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x509874
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x5098e2
mov eax, esi
call fcn.0051b730
test al, al
je 0x5098e2
mov eax, dword [ebx + 0x84]
call fcn.0051b390
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x5098e2
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x5098d6
push 0
mov eax, dword [ebx + 0x84]
call fcn.0051b390
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.005136a0
jmp 0x5098e2
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.005096b0
pop esi
pop ebx
ret