joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4bfe28
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 0x4bff15
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 0x4bfee7
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 0x4bfed6
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, eax
mov eax, edi
mov ecx, ebx
call fcn.00404874
mov eax, dword [ebp - 4]
call fcn.004bfb68
mov eax, dword [ebp - 8]
push eax
movzx eax, si
push eax
call sub.user32.dll_SetClipboardData
test eax, eax
jne 0x4bfebf
mov ecx, dword [0x75ec6c]
mov dl, 1
mov eax, dword [0x43bf88]
call fcn.00427368
call fcn.00407a08
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bfedd
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret

Function at 0x4c0040
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 0x4c00b2
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
je 0x4c0086
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov edx, eax
mov eax, ebx
call fcn.00408fa4
jmp 0x4c008d
mov eax, ebx
call fcn.0040830c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c00b9
cmp dword [ebp - 8], 0
je 0x4c00a9
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 0x4c00f4
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 0x4c019c
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
je 0x4c016f
mov edx, ebx
mov eax, dword [0x46de60]
call fcn.00475bd4
test al, al
je 0x4c015f
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.00475aec
call fcn.00407afc
jmp 0x4c01a3
movzx eax, bx
push eax
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
jne 0x4c0127
mov ecx, dword [0x75ed20]
mov dl, 1
mov eax, dword [0x4bfa70]
call fcn.00427368
call fcn.00407a08
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c01a3
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 0x4c01ac
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 0x4c0208
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 0x4c020f
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x4c0218
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 0x4c026d
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 0x4c0274
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x4c02e4
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 0x4c0359
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004bfb68
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.00475bb0
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 0x4c0343
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 0x4c0360
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x4c0368
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 0x4c03dd
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004bfb68
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 0x4c03c7
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 0x4c03e4
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret
Function at 0x4d93f0
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.004083f0
xor eax, eax
push ebp
push 0x4d952f
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x4d9502
xor edx, edx
push ebp
push 0x4d94fb
push dword fs:[edx]
mov dword fs:[edx], esp
mov esi, dword [ebp - 4]
mov eax, esi
test eax, eax
je 0x4d943d
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 0x4d94d0
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 0x4d94bf
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, esi
test eax, eax
je 0x4d9482
sub eax, 4
mov eax, dword [eax]
mov esi, eax
add esi, esi
mov eax, dword [ebp - 4]
call fcn.00408f4c
lea ecx, [esi + 2]
mov edx, ebx
call fcn.00404874
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 0x4d94c6
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x75ec18]
mov dl, 1
mov eax, dword [0x41b29c]
call fcn.00427368
call fcn.00407a08
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d9536
lea eax, [ebp - 4]
call fcn.0040830c
ret

Function at 0x4fecbc
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffe00
mov esi, edx
mov ebx, eax
mov eax, ebx
call fcn.004fed6c
test eax, eax
je 0x4fecf7
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, ebx
call fcn.004fed6c
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00408494
jmp 0x4fed05
mov ecx, esi
mov edx, 0x4fed24
mov eax, ebx
call fcn.004fec08
lea eax, [ebx + 0x1c]
mov edx, dword [esi]
call fcn.004086ec
add esp, 0x200
pop esi
pop ebx
ret
Function at 0x50d12c
Capabilities:
Contain obfuscated stackstrings
Get number of processors

Disassembly:
add esp, 4
pop edx
movzx edx, word [ebp - 0x100]
test edx, edx
jne 0x50d153
movzx eax, word [ebp - 0x1f8]
movzx ecx, word [ebp - 0x100]
sub eax, ecx
mov dword [ebp - 0x1498], eax
jmp 0x50d1b6
movzx edx, word [ebp - 0x1f8]
movzx eax, word [ebp - 0x100]
cmp edx, eax
je 0x50d072
movzx ecx, word [ebp - 0x1f8]
xor ecx, 0x20
movzx edx, word [ebp - 0x100]
cmp ecx, edx
je 0x50d072
movzx eax, word [ebp - 0x1f8]
movzx ecx, word [ebp - 0x100]
cmp eax, ecx
jge 0x50d1a0
mov dword [ebp - 0x14d8], 0xffffffff
jmp 0x50d1aa
mov dword [ebp - 0x14d8], 1
mov edx, dword [ebp - 0x14d8]
mov dword [ebp - 0x1498], edx
cmp dword [ebp - 0x1498], 0
jne 0x50d1ff
push edx
push esi
add esp, 4
or edx, 0x153cf
and edx, 0x54b9
add edx, 0x11c91
xor edx, 0xb325
pop edx
push ecx
xor ecx, 0x12878
add ecx, 0xeefe
sub ecx, 0x22a1
pop ecx
mov eax, dword [ebp - 0x4d4]
mov dword [ebp - 0x2e0], eax
jmp 0x50d267
push esi
push esi
add esp, 4
jmp 0x50d20c
and esi, 0x34df
pop esi
push ecx
and ecx, 0xa335
pop ecx
push eax
jmp 0x50d224
or eax, 0x3092
add eax, 0x1007b
pop eax
mov ecx, dword [ebp - 0x4d4]
mov edx, dword [ecx]
mov dword [ebp - 0x4d4], edx
mov eax, dword [ebp - 0x4d4]
cmp eax, dword [ebp - 0xc20]
je 0x50d25d
mov ecx, dword [ebp - 0x4d4]
cmp dword [ecx + 0x30], 0
jne 0x50d013
mov dword [ebp - 0x2e0], 0
Function at 0x52c6a4
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 0x52c6c5
test edi, 0x40000
je 0x52c6df
test bl, bl
jne 0x52c760
mov eax, edi
and eax, 0x40000
cmp eax, 0x40000
jne 0x52c760
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 0x52c712
push 0
push esi
call sub.user32.dll_ShowWindow
test bl, bl
je 0x52c727
or edi, 0x40000
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongW
jmp 0x52c736
and edi, 0xfffbffff
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongW
movzx eax, byte [esp]
and al, byte [esp + 1]
jne 0x52c747
cmp byte [esp + 2], 0
je 0x52c760
cmp byte [esp + 2], 0
je 0x52c758
push 6
push esi
call sub.user32.dll_ShowWindow
jmp 0x52c760
push 5
push esi
call sub.user32.dll_ShowWindow
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x52ca0c
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 0x52ca32
mov eax, esp
push eax
push 0x52c9d4
call sub.user32.dll_EnumWindows
jmp 0x52ca45
mov eax, esp
push eax
push 0x52c9b4
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 0x52cb08
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov ebx, eax
movzx esi, word [0x52cb58]
test bl, 4
je 0x52cb1c
or si, 1
test bl, 8
je 0x52cb25
or si, 4
test bl, 1
je 0x52cb2e
or si, 8
test bl, 2
je 0x52cb37
or si, 0x10
test bl, 0x10
je 0x52cb40
or si, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x52cb50
or si, 2
mov eax, esi
pop esi
pop ebx
ret

Function at 0x52cb5c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, word [0x52cb98]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x52cb77
or bx, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x52cb87
or bx, 4
test esi, 0x20000000
je 0x52cb93
or bx, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x535880
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x535892
add esp, 0xfffffff0
call fcn.00406ca0
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00456c60
mov eax, dword [0x75ed54]
mov dword [eax + 4], ebx
mov dword [eax], 0x535cc4
mov eax, dword [0x75ed6c]
mov dword [eax + 4], ebx
mov dword [eax], 0x535cd0
mov eax, ebx
call fcn.00535cdc
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x44], eax
mov dl, 1
mov eax, dword [0x43c438]
call fcn.00406664
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x43c438]
call fcn.00406664
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x43c438]
call fcn.00406664
mov dword [ebx + 0x5c], eax
mov dl, 1
mov eax, dword [0x43c438]
call fcn.00406664
mov dword [ebx + 0x60], eax
mov dl, 1
mov eax, dword [0x43c438]
call fcn.00406664
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, 0x5306b4
push eax
push 0
push 0
call sub.user32.dll_EnumDisplayMonitors
mov dl, 1
mov eax, dword [0x46b05c]
call fcn.00471078
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x46b05c]
call fcn.00471078
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x46b05c]
call fcn.00471078
mov dword [ebx + 0x80], eax
mov dl, 1
mov eax, dword [0x46b05c]
call fcn.00471078
mov dword [ebx + 0x8c], eax
mov dl, 1
mov eax, dword [0x46b05c]
call fcn.00471078
mov dword [ebx + 0x90], eax
mov eax, ebx
call fcn.005362d4
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x5360f0
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x5360f0
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x5360f0
mov eax, dword [ebx + 0x8c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x5360f0
mov eax, dword [ebx + 0x90]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x5360f0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x535a0f
call fcn.00406cf8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x535e90
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 0x53603b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x3c], 0
jne 0x53601c
mov dl, 1
mov eax, dword [0x43fbac]
call fcn.0044e220
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c], eax
mov eax, dword [ebp - 4]
add eax, 0x40
call fcn.0040830c
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x53600b
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.004a01cc
test al, al
je 0x535ffe
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, 0x53604c
lea eax, [ebp - 0x394]
call fcn.004229e8
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x535ffe
xor eax, eax
push ebp
push 0x535ff7
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 0x5360bc
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x535fe0
lea eax, [ebp - 0x3a0]
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.00408fe0
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 + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x44]
jne 0x535fe0
mov eax, dword [ebp - 4]
add eax, 0x40
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.00408fe0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x535ffe
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x535f01
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
mov byte [eax + 0x39], 0
mov dl, 1
call fcn.0044e15c
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 0x536042
lea eax, [ebp - 0x3a0]
call fcn.0040830c
ret

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

Disassembly:
push ecx
mov eax, dword [0x765388]
cmp byte [eax + 0xb1], 0
jne 0x536c66
cmp dword [0x7653a8], 0
jne 0x536c26
call sub.kernel32.dll_GetCurrentThreadId
push eax
push 0
mov eax, dword [0x759940]
push eax
push 3
call sub.user32.dll_SetWindowsHookExW
mov dword [0x7653a8], eax
cmp dword [0x7653a4], 0
jne 0x536c41
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventW
mov dword [0x7653a4], eax
cmp dword [0x7653ac], 0
jne 0x536c66
push esp
push 0
push 0
mov eax, dword [0x75993c]
push eax
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x7653ac], eax
pop edx
ret
Function at 0x536f7c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x536f93
add esp, 0xfffffff0
call fcn.00406ca0
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00456c60
mov eax, dword [0x75eb40]
cmp byte [eax], 0
jne 0x536fc0
push 0
call fcn.0042dca0
test eax, 0x80000000
sete al
mov byte [ebx + 0x184], al
mov eax, dword [0x75f048]
cmp word [eax + 2], 0
jne 0x536fda
mov eax, dword [0x75f048]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00539108
mov eax, dword [0x75f220]
cmp word [eax + 2], 0
jne 0x536ff4
mov eax, dword [0x75f220]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0053930c
mov byte [ebx + 0x39], 0
mov dl, 1
mov eax, dword [0x46b05c]
call fcn.00471078
mov esi, eax
mov dword [ebx + 0x40], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x539884
mov dl, 1
mov eax, dword [0x43c438]
call fcn.00406664
mov dword [ebx + 0x94], eax
mov dl, 1
mov eax, dword [0x43c438]
call fcn.00406664
mov dword [ebx + 0xb4], eax
xor eax, eax
mov dword [ebx + 0x64], eax
xor eax, eax
mov dword [ebx + 0x88], eax
mov dword [ebx + 0x60], 0xff000018
mov dword [ebx + 0x7c], 0x1f4
mov byte [ebx + 0x80], 1
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x78], 0x9c4
mov byte [ebx + 0x8c], 0
mov byte [ebx + 0xa9], 1
mov byte [ebx + 0xc0], 1
mov dl, 1
mov eax, dword [0x46f93c]
call fcn.0047a5e8
mov esi, eax
mov dword [ebx + 0xa4], esi
push 0x5371d8
mov eax, dword [0x75ee58]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.0047aa7c
mov eax, dword [ebx + 0xa4]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x539b6c
mov dl, 1
mov eax, dword [0x43c438]
call fcn.00406664
mov dword [ebx + 0x9c], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x75ee58]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.004227d0
test eax, eax
je 0x537108
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.00422510
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.004227b4
test eax, eax
je 0x537120
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 + 0x90]
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.00408fe0
push ebx
push 0x538aec
call fcn.0052caec
mov dword [ebx + 0x180], eax
mov byte [ebx + 0xd4], 0
mov eax, dword [0x75eb40]
cmp byte [eax], 0
jne 0x537171
mov eax, ebx
call fcn.00537398
mov byte [ebx + 0x5d], 1
mov byte [ebx + 0x5e], 1
mov byte [ebx + 0x5f], 1
mov byte [ebx + 0xaa], 1
mov byte [ebx + 0xd5], 0
mov byte [ebx + 0xe0], 0
xor eax, eax
mov dword [ebx + 0xd8], eax
mov byte [ebx + 0xd7], 0
xor eax, eax
mov dword [ebx + 0xac], eax
mov eax, ebx
call fcn.00539da0
mov eax, ebx
call fcn.0053a9cc
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x5371ce
call fcn.00406cf8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5376c0
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x178]
test eax, eax
je 0x537762
cmp dword [ebx + 0x98], 0
jne 0x53775c
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x5375fc
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x94]
cmp dword [eax + 8], 0
je 0x53775c
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_GetWindowLongW
test al, 8
je 0x537722
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x94]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x53775c
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x94]
call fcn.00449bb0
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x537731
inc dword [ebx + 0x98]
pop ecx
pop edx
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x765388]
cmp dword [eax + 0x178], 0
je 0x537ae5
test bl, bl
jne 0x537a33
cmp dword [esi + 0xa0], 0
jne 0x537a28
mov eax, esi
call fcn.0053a81c
push eax
push 0x53788c
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x48], 0
je 0x5379f9
mov eax, dword [0x765388]
cmp byte [eax + 0xd7], 0
je 0x5379f9
mov eax, dword [esi + 0xdc]
call fcn.0040a29c
mov edi, eax
cmp edi, 0
jl 0x5379f9
push 0
mov eax, dword [esi + 0xdc]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x5379e2
mov eax, dword [esi + 0x9c]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x537a28
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x9c]
call fcn.00449bb0
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x537a08
inc dword [esi + 0xa0]
jmp 0x537ae5
cmp dword [esi + 0xa0], 0
jle 0x537ae5
dec dword [esi + 0xa0]
cmp dword [esi + 0xa0], 0
jne 0x537ae5
cmp dword [esi + 0x48], 0
je 0x537a90
mov eax, dword [0x765388]
cmp byte [eax + 0xd7], 0
je 0x537a90
mov eax, dword [esi + 0xdc]
call fcn.0040a29c
mov edi, eax
cmp edi, 0
jl 0x537a90
push 5
mov eax, dword [esi + 0xdc]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x537a79
mov eax, dword [esi + 0x9c]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x537abf
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x9c]
call fcn.00449bb0
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x537a9f
mov eax, dword [esi + 0x9c]
mov edx, dword [eax]
call dword [edx + 8]
push 0
lea eax, [esi + 0xdc]
mov ecx, 1
mov edx, dword [0x529380]
call fcn.0040a448
add esp, 4
pop edi
pop esi
pop ebx
ret