joyce8/EMBER2024-capa huggingface dataset:
Function at 0x52e92c
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 0x52e99e
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
je 0x52e972
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov edx, eax
mov eax, ebx
call fcn.00409d44
jmp 0x52e979
mov eax, ebx
call fcn.00408e74
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52e9a5
cmp dword [ebp - 8], 0
je 0x52e995
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 0x52e9e0
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 0x52ea88
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
je 0x52ea5b
mov edx, ebx
mov eax, dword [0x4d7320]
call fcn.004def60
test al, al
je 0x52ea4b
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.004dee78
call fcn.00408630
jmp 0x52ea8f
movzx eax, bx
push eax
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
jne 0x52ea13
mov ecx, dword [0x682650]
mov dl, 1
mov eax, dword [0x52e618]
call fcn.00426dd4
call fcn.0040853c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52ea8f
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 0x52ea98
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 0x52eaf4
push dword fs:[eax]
mov dword fs:[eax], esp
push 2
call sub.user32.dll_GetClipboardData
mov esi, eax
push 9
call sub.user32.dll_GetClipboardData
mov edi, eax
push edi
mov ecx, esi
mov dx, 2
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0x64]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52eafb
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret
Function at 0x52eb04
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 0x52eb59
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 + 0x64]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52eb60
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x52ebd0
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 0x52ec45
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0052e710
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.004def3c
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 0x52ec2f
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 0x52ec4c
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x52ec54
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 0x52ecc9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0052e710
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 + 0x68]
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 0x52ecb3
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 0x52ecd0
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret
Function at 0x55ba44
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.00408f58
xor eax, eax
push ebp
push 0x55bb83
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x55bb56
xor edx, edx
push ebp
push 0x55bb4f
push dword fs:[edx]
mov dword fs:[edx], esp
mov esi, dword [ebp - 4]
mov eax, esi
test eax, eax
je 0x55ba91
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 edx, edx
push ebp
push 0x55bb24
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov ebx, eax
xor edx, edx
push ebp
push 0x55bb13
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, esi
test eax, eax
je 0x55bad6
sub eax, 4
mov eax, dword [eax]
mov esi, eax
add esi, esi
mov eax, dword [ebp - 4]
call fcn.00409cdc
lea ecx, [esi + 2]
mov edx, ebx
call fcn.004068fc
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 0x55bb1a
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x68257c]
mov dl, 1
mov eax, dword [0x418f78]
call fcn.00426dd4
call fcn.0040853c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x55bb8a
lea eax, [ebp - 4]
call fcn.00408e74
ret

Function at 0x5833b0
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffe00
mov esi, edx
mov ebx, eax
mov eax, ebx
call fcn.00583460
test eax, eax
je 0x5833eb
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, ebx
call fcn.00583460
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00408ffc
jmp 0x5833f9
mov ecx, esi
mov edx, 0x583418
mov eax, ebx
call fcn.00583338
lea eax, [ebx + 0x1c]
mov edx, dword [esi]
call fcn.00409254
add esp, 0x200
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
add esp, 0xfffffe00
mov esi, edx
mov ebx, eax
mov eax, esi
call fcn.00408e74
push 0
movzx eax, bl
push eax
call sub.user32.dll_MapVirtualKeyW
shl eax, 0x10
mov ebx, eax
test ebx, ebx
je 0x598dde
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
push ebx
call sub.user32.dll_GetKeyNameTextW
test eax, eax
je 0x598dd7
mov eax, esi
mov edx, esp
mov ecx, pe_nt_image_headers32
call fcn.00409d98
jmp 0x598dde
mov eax, esi
call fcn.00408e74
add esp, 0x200
pop esi
pop ebx
ret
Function at 0x59e27c
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x59e3db
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [0x67236c], 0
mov word [ebp - 0x20], 0
lea eax, [ebp - 0x20]
push eax
call sub.user32.dll_GetKeyboardLayoutNameW
mov dl, 1
mov eax, dword [0x4cfd20]
call fcn.004d0d88
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x59e3b1
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, 0x80000002
mov eax, dword [ebp - 0xc]
call fcn.004d0e34
lea eax, [ebp - 0x28]
lea edx, [ebp - 0x20]
mov ecx, 0xa
call fcn.00409d98
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
mov edx, 0x59e3f4
call fcn.00409f48
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0xc]
call fcn.004d0fcc
test al, al
je 0x59e39b
lea ecx, [ebp - 4]
mov edx, 0x59e468
mov eax, dword [ebp - 0xc]
call fcn.004d13d8
mov edx, 0x8000
mov eax, dword [ebp - 4]
call fcn.00428f60
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x59e39b
xor edx, edx
push ebp
push 0x59e394
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x59e480
mov eax, dword [ebp - 8]
push eax
call fcn.004100d8
test eax, eax
je 0x59e37d
mov ebx, eax
call ebx
mov ebx, eax
test ebx, ebx
je 0x59e37d
call fcn.0059e208
test eax, eax
je 0x59e36d
mov eax, dword [ebx + 0x50]
jmp 0x59e370
mov eax, dword [ebx + 0x28]
and eax, 1
cmp eax, 1
sete byte [0x67236c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x59e39b
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FreeLibrary_2
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x59e3b8
mov eax, dword [ebp - 0xc]
call fcn.00407288
ret

Function at 0x59e4e4
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 0x59e52b
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x59e50e
add bx, 0x2000
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x59e51f
add bx, 0x4000
test byte [esp + 0xb], 0x20
je 0x59e52b
add bx, 0x8000
mov eax, ebx
add esp, 0x10
pop edi
pop esi
pop ebx
ret
Function at 0x5a8c6c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ecx
mov byte [esp], cl
mov ebx, edx
mov esi, eax
mov eax, esi
mov edx, 0xffffffec
push edx
push eax
call sub.user32.dll_GetWindowLongW
mov edi, eax
test bl, bl
je 0x5a8c93
test edi, 0x40000
je 0x5a8cad
test bl, bl
jne 0x5a8d3c
mov eax, 0x40000
and eax, edi
cmp eax, 0x40000
jne 0x5a8d3c
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 0x5a8ce0
push 0
push esi
call sub.user32.dll_ShowWindow
test bl, bl
je 0x5a8cfc
mov eax, esi
mov edx, 0xffffffec
mov ecx, 0x40000
or ecx, edi
push ecx
push edx
push eax
call sub.user32.dll_SetWindowLongW
jmp 0x5a8d12
mov eax, esi
mov edx, 0xffffffec
mov ecx, 0xfffbffff
and ecx, edi
push ecx
push edx
push eax
call sub.user32.dll_SetWindowLongW
movzx eax, byte [esp]
and al, byte [esp + 1]
jne 0x5a8d23
cmp byte [esp + 2], 0
je 0x5a8d3c
cmp byte [esp + 2], 0
je 0x5a8d34
push 6
push esi
call sub.user32.dll_ShowWindow
jmp 0x5a8d3c
push 5
push esi
call sub.user32.dll_ShowWindow
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x5a8fec
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 0x5a9012
mov eax, esp
push eax
push 0x5a8fb4
call sub.user32.dll_EnumWindows
jmp 0x5a9025
mov eax, esp
push eax
push 0x5a8f94
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
call sub.user32.dll_EnumThreadWindows
movzx eax, byte [esp + 4]
pop ecx
pop edx
pop ebx
ret

Function at 0x5a90e8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov ebx, eax
movzx esi, word [0x5a9138]
test bl, 4
je 0x5a90fc
or si, 1
test bl, 8
je 0x5a9105
or si, 4
test bl, 1
je 0x5a910e
or si, 8
test bl, 2
je 0x5a9117
or si, 0x10
test bl, 0x10
je 0x5a9120
or si, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x5a9130
or si, 2
mov eax, esi
pop esi
pop ebx
ret

Function at 0x5a913c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, word [0x5a9178]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x5a9157
or bx, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x5a9167
or bx, 4
test esi, 0x20000000
je 0x5a9173
or bx, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x5b196c
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x5b197e
add esp, 0xfffffff0
call fcn.004077f8
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004a87cc
mov eax, dword [0x68267c]
mov dword [eax + 4], ebx
mov dword [eax], 0x5b1e28
mov eax, dword [0x68268c]
mov dword [eax + 4], ebx
mov dword [eax], 0x5b1e34
mov eax, ebx
call fcn.005b1e40
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x44], eax
mov dl, 1
mov eax, dword [0x4772f0]
call fcn.00407258
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x4772f0]
call fcn.00407258
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x4772f0]
call fcn.00407258
mov dword [ebx + 0x5c], eax
mov dl, 1
mov eax, dword [0x4772f0]
call fcn.00407258
mov dword [ebx + 0x60], eax
mov dl, 1
mov eax, dword [0x4772f0]
call fcn.00407258
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 + 0x48], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x60]
push eax
mov eax, 0x5acc08
push eax
push 0
push 0
call sub.user32.dll_EnumDisplayMonitors
mov dl, 1
mov eax, dword [0x4d44dc]
call fcn.004da778
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x4d44dc]
call fcn.004da778
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x4d44dc]
call fcn.004da778
mov dword [ebx + 0x80], eax
mov dl, 1
mov eax, dword [0x4d44dc]
call fcn.004da778
mov dword [ebx + 0x8c], eax
mov dl, 1
mov eax, dword [0x4d44dc]
call fcn.004da778
mov dword [ebx + 0x90], eax
mov eax, ebx
call fcn.005b2398
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x5b2204
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x5b2204
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x5b2204
mov eax, dword [ebx + 0x8c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x5b2204
mov eax, dword [ebx + 0x90]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x5b2204
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x5b1afb
call fcn.00407850
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x5b1fa4
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 0x5b214f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x3c], 0
jne 0x5b2130
mov dl, 1
mov eax, dword [0x47aa8c]
call fcn.0049cdac
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c], eax
mov eax, dword [ebp - 4]
add eax, 0x40
call fcn.00408e74
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x5b211f
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.00514188
test al, al
je 0x5b2112
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, 0x5b2160
lea eax, [ebp - 0x394]
call fcn.00421220
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW_1
test eax, eax
jne 0x5b2112
xor eax, eax
push ebp
push 0x5b210b
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 0x5b21d0
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x5b20f4
lea eax, [ebp - 0x3a0]
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.00409d98
mov edx, dword [ebp - 0x3a0]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
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 + 0x44]
jne 0x5b20f4
mov eax, dword [ebp - 4]
add eax, 0x40
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.00409d98
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5b2112
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x5b2015
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
mov byte [eax + 0x39], 0
mov dl, 1
call fcn.0049cce8
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x3c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5b2156
lea eax, [ebp - 0x3a0]
call fcn.00408e74
ret

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

Disassembly:
push ecx
mov eax, dword [0x6883b0]
cmp byte [eax + 0xb9], 0
jne 0x5b2d32
cmp dword [0x6883d0], 0
jne 0x5b2cf2
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, dword [0x672480]
push eax
push 3
call sub.user32.dll_SetWindowsHookExW
mov dword [0x6883d0], eax
cmp dword [0x6883cc], 0
jne 0x5b2d0d
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventW
mov dword [0x6883cc], eax
cmp dword [0x6883d4], 0
jne 0x5b2d32
push esp
push 0
push 0
mov eax, dword [0x67247c]
push eax
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x6883d4], eax
pop edx
ret
Function at 0x5b32f8
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x5b330f
add esp, 0xfffffff0
call fcn.004077f8
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004a87cc
mov eax, dword [0x6824b4]
cmp byte [eax], 0
jne 0x5b333c
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x18c], al
mov eax, dword [0x682908]
cmp word [eax + 2], 0
jne 0x5b3356
mov eax, dword [0x682908]
mov dword [eax + 4], ebx
mov dword [eax], fcn.005b55cc
mov eax, dword [0x682a94]
cmp word [eax + 2], 0
jne 0x5b3370
mov eax, dword [0x682a94]
mov dword [eax + 4], ebx
mov dword [eax], fcn.005b57d0
mov byte [ebx + 0x39], 0
mov dl, 1
mov eax, dword [0x4d44dc]
call fcn.004da778
mov esi, eax
mov dword [ebx + 0x4c], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x5b5c4c
mov dl, 1
mov eax, dword [0x4772f0]
call fcn.00407258
mov dword [ebx + 0x9c], eax
mov dl, 1
mov eax, dword [0x4772f0]
call fcn.00407258
mov dword [ebx + 0xbc], eax
xor eax, eax
mov dword [ebx + 0x6c], eax
xor eax, eax
mov dword [ebx + 0x90], eax
mov dword [ebx + 0x68], 0xff000018
mov dword [ebx + 0x84], 0x1f4
mov byte [ebx + 0x88], 1
xor eax, eax
mov dword [ebx + 0x8c], eax
mov dword [ebx + 0x80], 0x9c4
mov byte [ebx + 0x94], 0
mov byte [ebx + 0xb1], 1
mov byte [ebx + 0xc8], 1
mov dl, 1
mov eax, dword [0x4d9074]
call fcn.004e3c6c
mov esi, eax
mov dword [ebx + 0xac], esi
push 0x5b3558
mov eax, dword [0x682750]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.004e4068
mov eax, dword [ebx + 0xac]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x5b5f0c
mov dl, 1
mov eax, dword [0x4772f0]
call fcn.00407258
mov dword [ebx + 0xa4], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x682750]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW_1
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.00420fb8
test eax, eax
je 0x5b348a
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.00420dc0
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.00420f9c
test eax, eax
je 0x5b34a2
mov word [eax], 0
lea eax, [ebp - 0x202]
push eax
call sub.user32.dll_CharNextW_1
push eax
call sub.user32.dll_CharLowerW
lea eax, [ebx + 0x98]
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.00409d98
push ebx
push 0x5b4fa8
call fcn.005a90cc
mov dword [ebx + 0x188], eax
mov byte [ebx + 0xdc], 0
mov eax, dword [0x6824b4]
cmp byte [eax], 0
jne 0x5b34f3
mov eax, ebx
call fcn.005b3720
mov byte [ebx + 0x65], 1
mov byte [ebx + 0x66], 1
mov byte [ebx + 0x67], 1
mov byte [ebx + 0xb2], 1
mov byte [ebx + 0xdd], 0
mov byte [ebx + 0xe8], 0
xor eax, eax
mov dword [ebx + 0xe0], eax
mov byte [ebx + 0xdf], 0
xor eax, eax
mov dword [ebx + 0xb4], eax
mov eax, ebx
call fcn.005b6154
mov eax, ebx
call fcn.005b6da4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x5b3550
call fcn.00407850
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5b3a58
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x180]
test eax, eax
je 0x5b3b04
cmp dword [ebx + 0xa0], 0
jne 0x5b3afe
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x5b3990
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x9c]
cmp dword [eax + 8], 0
je 0x5b3afe
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
mov eax, esi
mov edx, 0xffffffec
push edx
push eax
call sub.user32.dll_GetWindowLongW
test al, 8
je 0x5b3ac4
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x9c]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x5b3afe
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x9c]
call fcn.00498f40
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x5b3ad3
inc dword [ebx + 0xa0]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x5b3d24
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x6883b0]
cmp dword [eax + 0x180], 0
je 0x5b3e89
test bl, bl
jne 0x5b3dd7
cmp dword [esi + 0xa8], 0
jne 0x5b3dcc
mov eax, esi
call fcn.005b6bf4
push eax
push 0x5b3c30
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x50], 0
je 0x5b3d9d
mov eax, dword [0x6883b0]
cmp byte [eax + 0xdf], 0
je 0x5b3d9d
mov eax, dword [esi + 0xe4]
call fcn.0040b12c
mov edi, eax
cmp edi, 0
jl 0x5b3d9d
push 0
mov eax, dword [esi + 0xe4]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x5b3d86
mov eax, dword [esi + 0xa4]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x5b3dcc
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0xa4]
call fcn.00498f40
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x5b3dac
inc dword [esi + 0xa8]
jmp 0x5b3e89
cmp dword [esi + 0xa8], 0
jle 0x5b3e89
dec dword [esi + 0xa8]
cmp dword [esi + 0xa8], 0
jne 0x5b3e89
cmp dword [esi + 0x50], 0
je 0x5b3e34
mov eax, dword [0x6883b0]
cmp byte [eax + 0xdf], 0
je 0x5b3e34
mov eax, dword [esi + 0xe4]
call fcn.0040b12c
mov edi, eax
cmp edi, 0
jl 0x5b3e34
push 5
mov eax, dword [esi + 0xe4]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x5b3e1d
mov eax, dword [esi + 0xa4]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x5b3e63
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0xa4]
call fcn.00498f40
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x5b3e43
mov eax, dword [esi + 0xa4]
mov edx, dword [eax]
call dword [edx + 8]
push 0
lea eax, [esi + 0xe4]
mov ecx, 1
mov edx, dword [0x5a5970]
call fcn.0040b340
add esp, 4
pop edi
pop esi
pop ebx
ret