joyce8/EMBER2024-capa huggingface dataset:
Function at 0x571138
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
mov ebx, eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0x2001f
push 0
push 0x5711d4
push 0
mov eax, ebx
call fcn.0040bf4c
push eax
mov eax, dword [ebp + 8]
push eax
call sub.advapi32.dll_RegCreateKeyExW
mov ebx, eax
test ebx, ebx
jne 0x5711af
mov ebx, esi
test ebx, ebx
je 0x571181
sub ebx, 4
mov ebx, dword [ebx]
inc ebx
mov eax, ebx
add eax, eax
push eax
mov eax, esi
call fcn.0040bf4c
push eax
push 1
push 0
mov eax, edi
call fcn.0040bf4c
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegSetValueExW
mov ebx, eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
test ebx, ebx
je 0x5711ca
mov ecx, dword [0x862a64]
mov dl, 1
mov eax, dword [0x56eff4]
call fcn.0042ea7c
call fcn.0040a500
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 4

Function at 0x571358
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x18], edx
mov ebx, eax
lea eax, [ebp - 0xc]
mov edx, dword [0x445d68]
call fcn.0040c784
xor eax, eax
push ebp
push 0x5714e1
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x8589d0], 0
jne 0x5713ad
mov ecx, dword [0x862724]
mov dl, 1
mov eax, dword [0x420048]
call fcn.0042ea7c
call fcn.0040a500
lea eax, [ebp - 0x28]
xor ecx, ecx
mov edx, 0x10
call fcn.00408288
mov eax, ebx
call fcn.0040bba8
mov dword [ebp - 0x24], eax
mov esi, 0x5714f0
lea edi, [ebp - 0x38]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x38]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
call fcn.0040fd34
xor eax, eax
mov dword [ebp - 4], eax
mov eax, ebx
test eax, eax
je 0x5713f2
sub eax, 4
mov eax, dword [eax]
shr eax, 1
test eax, eax
jle 0x571447
mov dword [ebp - 0x14], 0x20
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x58]
push eax
call sub.kernel32.dll_GetComputerNameW
test eax, eax
je 0x571440
lea eax, [ebp - 0x5c]
mov edx, ebx
call fcn.0040c040
mov eax, dword [ebp - 0x5c]
push eax
lea eax, [ebp - 0x60]
lea edx, [ebp - 0x58]
mov ecx, 0x10
call fcn.0040c004
mov eax, dword [ebp - 0x60]
pop edx
call fcn.004270e4
test eax, eax
jne 0x571440
mov ebx, 0x15
jmp 0x57144c
mov ebx, 0x10
jmp 0x57144c
mov ebx, 0x15
xor eax, eax
push ebp
push 0x57149c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x86317c]
movzx eax, word [eax]
or ax, 8
call fcn.00407658
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 0x28]
push eax
push ebx
push 0
mov eax, dword [ebp - 0x18]
push eax
call dword [0x8589d0]
call fcn.00571008
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5714a3
call fcn.00407648
pop eax
jmp eax
Function at 0x57bac8
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov ecx, 0x85a184
test edx, edx
jne 0x57bae7
xor eax, eax
jmp 0x57bc05
mov dword [ebp - 4], 1
cmp byte [ebp - 4], 0
je 0x57bb04
push esi
push edx
push eax
call fcn.0057bc28
add esp, 0xc
jmp 0x57bc05
push esi
push edx
push eax
call fcn.0057bee8
add esp, 0xc
jmp 0x57bc05
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x597a30
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.0040af68
xor eax, eax
push ebp
push 0x597b73
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x597b44
xor edx, edx
push ebp
push 0x597b3d
push dword fs:[edx]
mov dword fs:[edx], esp
mov ebx, dword [ebp - 4]
mov eax, ebx
test eax, eax
je 0x597a7d
sub eax, 4
mov eax, dword [eax]
add eax, eax
add eax, 2
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x597b10
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 0x597aff
push dword fs:[eax]
mov dword fs:[eax], esp
test ebx, ebx
je 0x597ac0
sub ebx, 4
mov ebx, dword [ebx]
mov eax, dword [ebp - 4]
call fcn.0040bf4c
mov ecx, ebx
add ecx, ecx
add ecx, 2
mov edx, esi
call fcn.004072fc
call sub.user32.dll_EmptyClipboard
mov eax, dword [ebp - 8]
push eax
push 0xd
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x597b06
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
pop eax
jmp eax
mov ecx, dword [0x8627e0]
mov dl, 1
mov eax, dword [0x420048]
call fcn.0042ea7c
call fcn.0040a500
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x597b7a
lea eax, [ebp - 4]
call fcn.0040ae84
pop eax
jmp eax
Function at 0x5b2750
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor edx, edx
push ebp
push 0x5b2841
push dword fs:[edx]
mov dword fs:[edx], esp
push ebx
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x5b2811
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
xor edx, edx
push ebp
push 0x5b2800
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, eax
mov eax, edi
mov ecx, ebx
call fcn.004072fc
mov eax, dword [ebp - 4]
call fcn.005b2480
mov eax, dword [ebp - 8]
push eax
movzx eax, si
push eax
call sub.user32.dll_SetClipboardData
test eax, eax
jne 0x5b27e7
mov ecx, dword [0x86284c]
mov dl, 1
mov eax, dword [0x447680]
call fcn.0042ea7c
call fcn.0040a500
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5b2807
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
pop eax
jmp eax

Function at 0x5b2970
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 0xd
call sub.user32.dll_GetClipboardData
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x5b29e4
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
je 0x5b29b6
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov edx, eax
mov eax, ebx
ret
call fcn.0040bfb0
jmp 0x5b29bd
mov eax, ebx
call fcn.0040ae84
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5b29eb
cmp dword [ebp - 8], 0
je 0x5b29d9
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]
pop eax
jmp eax

Function at 0x5b2a24
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
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 0x5b2acb
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
je 0x5b2a9c
mov edx, ebx
mov eax, dword [0x5406f4]
call fcn.00549538
test al, al
je 0x5b2a8c
movzx eax, bx
push eax
call sub.user32.dll_GetClipboardData
mov esi, eax
push 9
call sub.user32.dll_GetClipboardData
push eax
mov ecx, esi
mov edx, ebx
mov eax, dword [ebp - 8]
call fcn.00549430
call fcn.0040a5f4
jmp 0x5b2ad2
movzx eax, bx
push eax
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
jne 0x5b2a56
mov ecx, dword [0x862914]
mov dl, 1
mov eax, dword [0x5b2388]
call fcn.0042ea7c
call fcn.0040a500
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5b2ad2
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
pop eax
jmp eax
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x5b2ad8
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 0x5b2b2f
push dword fs:[edx]
mov dword fs:[edx], esp
push 2
call sub.user32.dll_GetClipboardData
mov ebx, eax
push 9
call sub.user32.dll_GetClipboardData
push eax
mov ecx, ebx
mov dx, 2
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0x68]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5b2b36
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
pop eax
jmp eax

Function at 0x5b2b3c
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 0x5b2b93
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 + 0x68]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5b2b9a
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
pop eax
jmp eax

Function at 0x5b2c08
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 0x5b2c7f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.005b2480
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.00549518
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 0x5b2c67
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 0x5b2c86
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
pop eax
jmp eax

Function at 0x5b2c8c
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 0x5b2d03
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.005b2480
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 + 0x6c]
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 0x5b2ceb
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 0x5b2d0a
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
pop eax
jmp eax
Function at 0x5bce38
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ecx
mov byte [esp], cl
mov ebx, edx
mov esi, eax
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongW
mov edi, eax
test bl, bl
je 0x5bce59
test edi, 0x40000
je 0x5bce73
test bl, bl
jne 0x5bcef4
mov eax, 0x40000
and eax, edi
cmp eax, 0x40000
jne 0x5bcef4
push esi
call sub.user32.dll_IsIconic
cmp eax, 1
sbb eax, eax
inc eax
mov byte [esp + 2], al
push esi
call sub.user32.dll_IsWindowVisible
cmp eax, 1
sbb eax, eax
inc eax
mov byte [esp + 1], al
movzx eax, byte [esp + 1]
or al, byte [esp + 2]
je 0x5bcea6
push 0
push esi
call sub.user32.dll_ShowWindow
test bl, bl
je 0x5bcebb
or edi, 0x40000
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongW
jmp 0x5bceca
and edi, 0xfffbffff
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongW
movzx eax, byte [esp]
and al, byte [esp + 1]
jne 0x5bcedb
cmp byte [esp + 2], 0
je 0x5bcef4
cmp byte [esp + 2], 0
je 0x5bceec
push 6
push esi
call sub.user32.dll_ShowWindow
jmp 0x5bcef4
push 5
push esi
call sub.user32.dll_ShowWindow
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x5bd198
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 0x5bd1be
mov eax, esp
push eax
push 0x5bd160
call sub.user32.dll_EnumWindows
jmp 0x5bd1d1
mov eax, esp
push eax
push 0x5bd140
call sub.kernel32.dll_GetCurrentThreadId
push eax
call sub.user32.dll_EnumThreadWindows
movzx eax, byte [esp + 4]
pop ecx
pop edx
pop ebx
ret

Function at 0x5bd294
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov ebx, eax
xor eax, eax
mov si, ax
test bl, 4
je 0x5bd2a6
or si, 1
test bl, 8
je 0x5bd2af
or si, 4
test bl, 1
je 0x5bd2b8
or si, 8
test bl, 2
je 0x5bd2c1
or si, 0x10
test bl, 0x10
je 0x5bd2ca
or si, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x5bd2da
or si, 2
mov eax, esi
pop esi
pop ebx
ret

Function at 0x5bd2e0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
xor eax, eax
mov bx, ax
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x5bd2f9
or bx, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x5bd309
or bx, 4
test esi, 0x20000000
je 0x5bd315
or bx, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x5c6d48
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x5c6d5a
add esp, 0xfffffff0
call fcn.00409584
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00486c54
mov eax, dword [0x862944]
mov dword [eax + 4], ebx
mov dword [eax], 0x5c721c
mov eax, dword [0x862958]
mov dword [eax + 4], ebx
mov dword [eax], 0x5c7228
mov eax, ebx
call fcn.005c7234
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x447a98]
call fcn.00408f2c
mov dword [ebx + 0x5c], eax
mov dl, 1
mov eax, dword [0x447a98]
call fcn.00408f2c
mov dword [ebx + 0x60], eax
mov dl, 1
mov eax, dword [0x447a98]
call fcn.00408f2c
mov dword [ebx + 0x64], eax
mov dl, 1
mov eax, dword [0x447a98]
call fcn.00408f2c
mov dword [ebx + 0x68], eax
mov dl, 1
mov eax, dword [0x447a98]
call fcn.00408f2c
mov dword [ebx + 0x84], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x50], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x68]
push eax
mov eax, 0x5c1254
push eax
push 0
push 0
call sub.user32.dll_EnumDisplayMonitors
mov dl, 1
mov eax, dword [0x53d274]
call fcn.00543ff8
mov dword [ebx + 0x8c], eax
mov dl, 1
mov eax, dword [0x53d274]
call fcn.00543ff8
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x53d274]
call fcn.00543ff8
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x53d274]
call fcn.00543ff8
mov dword [ebx + 0x94], eax
mov dl, 1
mov eax, dword [0x53d274]
call fcn.00543ff8
mov dword [ebx + 0x98], eax
mov eax, ebx
call fcn.005c7814
mov eax, dword [ebx + 0x8c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x5c7644
mov eax, dword [ebx + 0x90]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x5c7644
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x5c7644
mov eax, dword [ebx + 0x94]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x5c7644
mov eax, dword [ebx + 0x98]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x5c7644
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x5c6eda
call fcn.004095dc
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x5c73e0
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc60
push ebx
xor edx, edx
mov dword [ebp - 0x3a0], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5c7590
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x44], 0
jne 0x5c756f
mov dl, 1
mov eax, dword [0x44b5a4]
call fcn.00476140
mov edx, dword [ebp - 4]
mov dword [edx + 0x44], eax
mov eax, dword [ebp - 4]
add eax, 0x48
call fcn.0040ae84
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x5c755e
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.006078ec
test al, al
je 0x5c7551
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
movzx eax, word [eax]
mov dword [ebp - 0x39c], eax
mov byte [ebp - 0x398], 0
lea ecx, [ebp - 0x39c]
mov edx, 0x5c75a0
lea eax, [ebp - 0x394]
call fcn.0042930c
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x5c7551
xor eax, eax
push ebp
push 0x5c754a
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0x200
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x314]
push eax
push 0
push 0
push 0x5c7610
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x5c7531
lea eax, [ebp - 0x3a0]
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.0040c004
mov edx, dword [ebp - 0x3a0]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
mov ebx, dword [eax]
call dword [ebx + 0x40]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x4c]
jne 0x5c7531
mov eax, dword [ebp - 4]
add eax, 0x48
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.0040c004
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5c7551
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey
pop eax
jmp eax
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x5c7451
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
mov byte [eax + 0x2d], 0
mov dl, 1
call fcn.00476068
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x44]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5c7597
lea eax, [ebp - 0x3a0]
call fcn.0040ae84
pop eax
jmp eax

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

Disassembly:
push ecx
mov eax, dword [0x86b198]
cmp byte [eax + 0xc5], 0
jne 0x5c821a
cmp dword [0x86b1bc], 0
jne 0x5c81da
call sub.kernel32.dll_GetCurrentThreadId
push eax
push 0
mov eax, dword [0x85c760]
push eax
push 3
call sub.user32.dll_SetWindowsHookExW
mov dword [0x86b1bc], eax
cmp dword [0x86b1b8], 0
jne 0x5c81f5
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventW
mov dword [0x86b1b8], eax
cmp dword [0x86b1c0], 0
jne 0x5c821a
push esp
push 0
push 0
mov eax, dword [0x85c75c]
push eax
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x86b1c0], eax
pop edx
ret
Function at 0x5c863c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x5c8653
add esp, 0xfffffff0
call fcn.00409584
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00486c54
mov eax, dword [0x8626e8]
cmp byte [eax], 0
jne 0x5c8680
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x194], al
mov eax, dword [0x862c84]
cmp word [eax + 2], 0
jne 0x5c869a
mov eax, dword [0x862c84]
mov dword [eax + 4], ebx
mov dword [eax], fcn.005caa28
mov eax, dword [0x862e74]
cmp word [eax + 2], 0
jne 0x5c86b4
mov eax, dword [0x862e74]
mov dword [eax + 4], ebx
mov dword [eax], fcn.005cac2c
mov byte [ebx + 0x41], 0
mov dl, 1
mov eax, dword [0x53d274]
call fcn.00543ff8
mov esi, eax
mov dword [ebx + 0x54], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x5cb1b4
mov dl, 1
mov eax, dword [0x447a98]
call fcn.00408f2c
mov dword [ebx + 0xa8], eax
mov dl, 1
mov eax, dword [0x447a98]
call fcn.00408f2c
mov dword [ebx + 0xc8], eax
xor eax, eax
mov dword [ebx + 0x74], eax
xor eax, eax
mov dword [ebx + 0x98], eax
mov dword [ebx + 0x70], 0xff000018
mov dword [ebx + 0x8c], 0x1f4
mov byte [ebx + 0x90], 1
xor eax, eax
mov dword [ebx + 0x94], eax
mov dword [ebx + 0x88], 0x9c4
mov byte [ebx + 0x9c], 0
mov byte [ebx + 0xbd], 1
mov byte [ebx + 0xd4], 1
mov dl, 1
mov eax, dword [0x542658]
call fcn.0054e8c8
mov esi, eax
mov dword [ebx + 0xb8], esi
push 0x5c88a4
mov eax, dword [0x862a68]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.0054ede4
mov eax, dword [ebx + 0xb8]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x5cb4a0
mov dl, 1
mov eax, dword [0x447a98]
call fcn.00408f2c
mov dword [ebx + 0xb0], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x862a68]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.0042910c
test eax, eax
je 0x5c87ce
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.00428eb4
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.004290f0
test eax, eax
je 0x5c87e6
mov word [eax], 0
lea eax, [ebp - 0x202]
push eax
call sub.user32.dll_CharNextW
push eax
call sub.user32.dll_CharLowerW
lea eax, [ebx + 0xa4]
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.0040c004
push ebx
push 0x5ca404
call fcn.005bd278
mov dword [ebx + 0x190], eax
mov byte [ebx + 0xe8], 0
mov eax, dword [0x8626e8]
cmp byte [eax], 0
jne 0x5c8837
mov eax, ebx
call fcn.005c8a6c
mov byte [ebx + 0x6d], 1
mov byte [ebx + 0x6e], 1
mov byte [ebx + 0x6f], 1
mov byte [ebx + 0xbe], 1
mov byte [ebx + 0xe9], 0
mov byte [ebx + 0xf4], 0
xor eax, eax
mov dword [ebx + 0xec], eax
mov byte [ebx + 0xeb], 0
xor eax, eax
mov dword [ebx + 0xc0], eax
mov eax, ebx
call fcn.005cb6dc
mov eax, ebx
call fcn.005cc390
mov byte [ebx + 0x196], 0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x5c889b
call fcn.004095dc
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret