joyce8/EMBER2024-capa huggingface dataset:
Function at 0x51e64c
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 0x51e739
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 0x51e70b
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 0x51e6fa
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, eax
mov eax, edi
mov ecx, ebx
call fcn.00407048
mov eax, dword [ebp - 4]
call fcn.0051e388
mov eax, dword [ebp - 8]
push eax
movzx eax, si
push eax
call sub.user32.dll_SetClipboardData
test eax, eax
jne 0x51e6e3
mov ecx, dword [0x5f4b50]
mov dl, 1
mov eax, dword [0x488dbc]
call fcn.00428c90
call fcn.004093b8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x51e701
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret

Function at 0x51e91c
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 0x51e9c1
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
je 0x51e994
mov edx, ebx
mov eax, dword [0x4ee558]
call fcn.004f6e78
test al, al
je 0x51e984
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.004f6d6c
call fcn.004094ac
jmp 0x51e9c8
movzx eax, bx
push eax
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
jne 0x51e94e
mov ecx, dword [0x5f4bc0]
mov dl, 1
mov eax, dword [0x51e290]
call fcn.00428c90
call fcn.004093b8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x51e9c8
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x51e9d0
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 0x51ea28
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 + 0x68]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x51ea2f
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret
Function at 0x51ea38
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 0x51ea8d
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 0x51ea94
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x51eb04
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 0x51eb79
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0051e388
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.004f6e54
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 0x51eb63
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 0x51eb80
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x51eb88
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 0x51ebfd
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0051e388
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 0x51ebe7
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 0x51ec04
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x51ec58
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]
xor eax, eax
push ebp
push 0x51ec9c
push dword fs:[eax]
mov dword fs:[eax], esp
movzx eax, bx
push eax
call sub.user32.dll_GetClipboardData
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x51eca3
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret
Function at 0x52639c
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.00409e20
xor eax, eax
push ebp
push 0x5264d9
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x5264ac
xor edx, edx
push ebp
push 0x5264a5
push dword fs:[edx]
mov dword fs:[edx], esp
mov ebx, dword [ebp - 4]
mov eax, ebx
test eax, eax
je 0x5263e9
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 0x52647a
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 0x526469
push dword fs:[eax]
mov dword fs:[eax], esp
test ebx, ebx
je 0x52642c
sub ebx, 4
mov ebx, dword [ebx]
mov eax, dword [ebp - 4]
call fcn.0040a82c
mov ecx, ebx
add ecx, ecx
add ecx, 2
mov edx, esi
call fcn.00407048
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 0x526470
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x5f4b1c]
mov dl, 1
mov eax, dword [0x41ba7c]
call fcn.00428c90
call fcn.004093b8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5264e0
lea eax, [ebp - 4]
call fcn.00409d3c
ret

Function at 0x52af80
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
movzx ebx, word [0x52afbc]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x52af98
or bx, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x52afa8
or bx, 4
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x52afb8
or bx, 2
mov eax, ebx
pop ebx
ret

Function at 0x549ed0
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
push edi
mov esi, edx
mov edi, eax
push 0
push 0
push 0xe
push edi
call sub.user32.dll_SendMessageW
mov ebx, eax
mov eax, esi
mov ecx, ebx
xor edx, edx
call fcn.00409ec4
test ebx, ebx
je 0x549f24
mov eax, dword [esi]
call fcn.0040a82c
push eax
lea eax, [ebx + 1]
push eax
push 0xd
push edi
call sub.user32.dll_SendMessageW
sub ebx, eax
test ebx, ebx
jle 0x549f24
mov eax, dword [esi]
test eax, eax
je 0x549f19
sub eax, 4
mov eax, dword [eax]
mov edx, eax
sub edx, ebx
mov eax, esi
call fcn.0040a9c0
pop edi
pop esi
pop ebx
ret
Function at 0x5526f8
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffe00
mov esi, edx
mov ebx, eax
mov eax, ebx
call fcn.005527c0
test eax, eax
je 0x55274a
mov edi, dword [ebx + 8]
test edi, edi
je 0x552726
test edi, edi
je 0x552726
mov edx, esi
mov eax, edi
call fcn.005bd970
jmp 0x552758
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, ebx
call fcn.005527c0
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00409ec4
jmp 0x552758
mov ecx, esi
mov edx, 0x552778
mov eax, ebx
call fcn.00552680
lea eax, [ebx + 0x1c]
mov edx, dword [esi]
call fcn.0040a11c
add esp, 0x200
pop edi
pop esi
pop ebx
ret

Function at 0x58098c
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x10], ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0xc]
mov edx, dword [0x43ac88]
call fcn.0040af38
xor eax, eax
push ebp
push 0x580b0f
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x5f4588], 0
jne 0x5809e0
mov ecx, dword [0x5f4aa8]
mov dl, 1
mov eax, dword [0x41ba7c]
call fcn.00428c90
call fcn.004093b8
lea eax, [ebp - 0x24]
xor ecx, ecx
mov edx, 0x10
call fcn.0040780c
mov eax, ebx
call fcn.0040a69c
mov dword [ebp - 0x20], eax
push esi
mov esi, 0x580b20
lea edi, [ebp - 0x34]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
lea eax, [ebp - 0x34]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
call fcn.0040d9b0
xor eax, eax
mov dword [ebp - 4], eax
mov eax, ebx
test eax, eax
je 0x580a27
sub eax, 4
mov eax, dword [eax]
shr eax, 1
test eax, eax
jle 0x580a7c
mov dword [ebp - 0x14], 0x20
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x54]
push eax
call sub.kernel32.dll_GetComputerNameW
test eax, eax
je 0x580a75
lea eax, [ebp - 0x58]
mov edx, ebx
call fcn.0040a924
mov eax, dword [ebp - 0x58]
push eax
lea eax, [ebp - 0x5c]
lea edx, [ebp - 0x54]
mov ecx, 0x10
call fcn.0040a8e8
mov eax, dword [ebp - 0x5c]
pop edx
call fcn.004226f4
test eax, eax
jne 0x580a75
mov ebx, 0x15
jmp 0x580a81
mov ebx, 0x10
jmp 0x580a81
mov ebx, 0x15
xor eax, eax
push ebp
push 0x580acc
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x5f514c]
movzx eax, word [eax]
or ax, 8
call fcn.004072b8
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 0x24]
push eax
push ebx
push 0
push esi
call dword [0x5f4588]
call fcn.005807bc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x580ad3
call fcn.004072a8
ret
Function at 0x58a8cc
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 0x58a8ed
test edi, 0x40000
je 0x58a907
test bl, bl
jne 0x58a988
mov eax, 0x40000
and eax, edi
cmp eax, 0x40000
jne 0x58a988
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 0x58a93a
push 0
push esi
call sub.user32.dll_ShowWindow
test bl, bl
je 0x58a94f
or edi, 0x40000
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongW
jmp 0x58a95e
and edi, 0xfffbffff
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongW
movzx eax, byte [esp]
and al, byte [esp + 1]
jne 0x58a96f
cmp byte [esp + 2], 0
je 0x58a988
cmp byte [esp + 2], 0
je 0x58a980
push 6
push esi
call sub.user32.dll_ShowWindow
jmp 0x58a988
push 5
push esi
call sub.user32.dll_ShowWindow
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x58ac2c
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 0x58ac52
mov eax, esp
push eax
push 0x58abf4
call sub.user32.dll_EnumWindows
jmp 0x58ac65
mov eax, esp
push eax
push 0x58abd4
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 0x58ad28
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov ebx, eax
movzx esi, word [0x58ad78]
test bl, 4
je 0x58ad3c
or si, 1
test bl, 8
je 0x58ad45
or si, 4
test bl, 1
je 0x58ad4e
or si, 8
test bl, 2
je 0x58ad57
or si, 0x10
test bl, 0x10
je 0x58ad60
or si, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x58ad70
or si, 2
mov eax, esi
pop esi
pop ebx
ret

Function at 0x58ad7c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, word [0x58adb8]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x58ad97
or bx, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x58ada7
or bx, 4
test esi, 0x20000000
je 0x58adb3
or bx, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x594224
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x594236
add esp, 0xfffffff0
call fcn.00408558
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004c0f00
mov eax, dword [0x5f4be4]
mov dword [eax + 4], ebx
mov dword [eax], 0x5946f0
mov eax, dword [0x5f4bf4]
mov dword [eax + 4], ebx
mov dword [eax], 0x5946fc
mov eax, ebx
call fcn.00594708
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x4891d4]
call fcn.00407ea0
mov dword [ebx + 0x5c], eax
mov dl, 1
mov eax, dword [0x4891d4]
call fcn.00407ea0
mov dword [ebx + 0x60], eax
mov dl, 1
mov eax, dword [0x4891d4]
call fcn.00407ea0
mov dword [ebx + 0x64], eax
mov dl, 1
mov eax, dword [0x4891d4]
call fcn.00407ea0
mov dword [ebx + 0x68], eax
mov dl, 1
mov eax, dword [0x4891d4]
call fcn.00407ea0
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, 0x58ebdc
push eax
push 0
push 0
call sub.user32.dll_EnumDisplayMonitors
mov dl, 1
mov eax, dword [0x4eb418]
call fcn.004f1bb8
mov dword [ebx + 0x8c], eax
mov dl, 1
mov eax, dword [0x4eb418]
call fcn.004f1bb8
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x4eb418]
call fcn.004f1bb8
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x4eb418]
call fcn.004f1bb8
mov dword [ebx + 0x94], eax
mov dl, 1
mov eax, dword [0x4eb418]
call fcn.004f1bb8
mov dword [ebx + 0x98], eax
mov eax, ebx
call fcn.00594ce4
mov eax, dword [ebx + 0x8c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x594b14
mov eax, dword [ebx + 0x90]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x594b14
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x594b14
mov eax, dword [ebx + 0x94]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x594b14
mov eax, dword [ebx + 0x98]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x594b14
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x5943b6
call fcn.004085b0
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x5948b4
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 0x594a5f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x44], 0
jne 0x594a40
mov dl, 1
mov eax, dword [0x48cb90]
call fcn.004b0528
mov edx, dword [ebp - 4]
mov dword [edx + 0x44], eax
mov eax, dword [ebp - 4]
add eax, 0x48
call fcn.00409d3c
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x594a2f
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.005cd768
test al, al
je 0x594a22
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x39c], eax
mov byte [ebp - 0x398], 0
lea ecx, [ebp - 0x39c]
mov edx, 0x594a70
lea eax, [ebp - 0x394]
call fcn.00423ff0
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x594a22
xor eax, eax
push ebp
push 0x594a1b
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 0x594ae0
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x594a04
lea eax, [ebp - 0x3a0]
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.0040a8e8
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 0x594a04
mov eax, dword [ebp - 4]
add eax, 0x48
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.0040a8e8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x594a22
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x594925
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
mov byte [eax + 0x2d], 0
mov dl, 1
call fcn.004b044c
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 0x594a66
lea eax, [ebp - 0x3a0]
call fcn.00409d3c
ret

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

Disassembly:
push ecx
mov eax, dword [0x5fc0dc]
cmp byte [eax + 0xc5], 0
jne 0x5956de
cmp dword [0x5fc100], 0
jne 0x59569e
call sub.kernel32.dll_GetCurrentThreadId
push eax
push 0
mov eax, dword [0x5f46ac]
push eax
push 3
call sub.user32.dll_SetWindowsHookExW
mov dword [0x5fc100], eax
cmp dword [0x5fc0fc], 0
jne 0x5956b9
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventW
mov dword [0x5fc0fc], eax
cmp dword [0x5fc104], 0
jne 0x5956de
push esp
push 0
push 0
mov eax, dword [0x5f46a8]
push eax
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x5fc104], eax
pop edx
ret
Function at 0x595b00
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x595b17
add esp, 0xfffffff0
call fcn.00408558
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004c0f00
mov eax, dword [0x5f4a7c]
cmp byte [eax], 0
jne 0x595b44
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x194], al
mov eax, dword [0x5f4df8]
cmp word [eax + 2], 0
jne 0x595b5e
mov eax, dword [0x5f4df8]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00597ef4
mov eax, dword [0x5f4f48]
cmp word [eax + 2], 0
jne 0x595b78
mov eax, dword [0x5f4f48]
mov dword [eax + 4], ebx
mov dword [eax], fcn.005980f8
mov byte [ebx + 0x41], 0
mov dl, 1
mov eax, dword [0x4eb418]
call fcn.004f1bb8
mov esi, eax
mov dword [ebx + 0x54], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x598670
mov dl, 1
mov eax, dword [0x4891d4]
call fcn.00407ea0
mov dword [ebx + 0xa8], eax
mov dl, 1
mov eax, dword [0x4891d4]
call fcn.00407ea0
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 [0x4f042c]
call fcn.004fc15c
mov esi, eax
mov dword [ebx + 0xb8], esi
push 0x595d68
mov eax, dword [0x5f4c94]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.004fc678
mov eax, dword [ebx + 0xb8]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x598958
mov dl, 1
mov eax, dword [0x4891d4]
call fcn.00407ea0
mov dword [ebx + 0xb0], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x5f4c94]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.00423df0
test eax, eax
je 0x595c92
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.00423bec
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.00423dd4
test eax, eax
je 0x595caa
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.0040a8e8
push ebx
push 0x5978d0
call fcn.0058ad0c
mov dword [ebx + 0x190], eax
mov byte [ebx + 0xe8], 0
mov eax, dword [0x5f4a7c]
cmp byte [eax], 0
jne 0x595cfb
mov eax, ebx
call fcn.00595f4c
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.00598b90
mov eax, ebx
call fcn.00599830
mov byte [ebx + 0x196], 0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x595d5f
call fcn.004085b0
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret