joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b2908
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 [0x42b5a0]
call fcn.004088e4
xor eax, eax
push ebp
push 0x4b2a52
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x60e820], 0
jne 0x4b295c
mov ecx, dword [0x6128c4]
mov dl, 1
mov eax, dword [0x419c8c]
call fcn.00425250
call fcn.00406a68
lea eax, [ebp - 0x24]
xor ecx, ecx
mov edx, 0x10
call fcn.00405008
mov eax, ebx
call fcn.00407e94
mov dword [ebp - 0x20], eax
push esi
mov esi, 0x4b2a60
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.0040aac4
xor eax, eax
mov dword [ebp - 4], eax
mov eax, ebx
test eax, eax
je 0x4b29a3
sub eax, 4
mov eax, dword [eax]
shr eax, 1
test eax, eax
jle 0x4b29f8
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 0x4b29f1
lea eax, [ebp - 0x58]
mov edx, ebx
call fcn.00408128
mov eax, dword [ebp - 0x58]
push eax
lea eax, [ebp - 0x5c]
lea edx, [ebp - 0x54]
mov ecx, 0x10
call fcn.004080ec
mov eax, dword [ebp - 0x5c]
pop edx
call fcn.0041ecf8
test eax, eax
jne 0x4b29f1
mov ebx, 0x15
jmp 0x4b29fd
mov ebx, 0x10
jmp 0x4b29fd
mov ebx, 0x15
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 0x24]
push eax
push ebx
push 0
push esi
call dword [0x60e820]
call fcn.004b2774
mov eax, dword [ebp - 4]
call fcn.004b2774
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
call fcn.0040aadc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b2a59
lea eax, [ebp - 0x5c]
mov edx, 2
call fcn.00407394
lea eax, [ebp - 0xc]
mov edx, dword [0x42b5a0]
call fcn.004089bc
ret
Function at 0x4d6920
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.00407418
xor eax, eax
push ebp
push 0x4d6a5f
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x4d6a32
xor edx, edx
push ebp
push 0x4d6a2b
push dword fs:[edx]
mov dword fs:[edx], esp
mov esi, dword [ebp - 4]
mov eax, esi
test eax, eax
je 0x4d696d
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 0x4d6a00
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 0x4d69ef
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, esi
test eax, eax
je 0x4d69b2
sub eax, 4
mov eax, dword [eax]
mov esi, eax
add esi, esi
mov eax, dword [ebp - 4]
call fcn.00408030
lea ecx, [esi + 2]
mov edx, ebx
call fcn.0040479c
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 0x4d69f6
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x6129c8]
mov dl, 1
mov eax, dword [0x419c8c]
call fcn.00425250
call fcn.00406a68
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d6a66
lea eax, [ebp - 4]
call fcn.00407334
ret

Function at 0x4fd618
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffe00
mov esi, edx
mov ebx, eax
mov eax, ebx
call fcn.004fd6c8
test eax, eax
je 0x4fd653
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, ebx
call fcn.004fd6c8
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004074bc
jmp 0x4fd661
mov ecx, esi
mov edx, 0x4fd680
mov eax, ebx
call fcn.004fd560
lea eax, [ebx + 0x1c]
mov edx, dword [esi]
call fcn.00407714
add esp, 0x200
pop esi
pop ebx
ret

Function at 0x51a100
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.00407334
push 0
movzx eax, bl
push eax
call sub.user32.dll_MapVirtualKeyW
shl eax, 0x10
mov ebx, eax
test ebx, ebx
je 0x51a152
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
push ebx
call sub.user32.dll_GetKeyNameTextW
test eax, eax
je 0x51a14b
mov eax, esi
mov edx, esp
mov ecx, pe_nt_image_headers32
call fcn.004080ec
jmp 0x51a152
mov eax, esi
call fcn.00407334
add esp, 0x200
pop esi
pop ebx
ret
Function at 0x51f8f4
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 0x51fa53
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [0x60ee5c], 0
mov word [ebp - 0x20], 0
lea eax, [ebp - 0x20]
push eax
call sub.user32.dll_GetKeyboardLayoutNameW
mov dl, 1
mov eax, dword [0x4601ec]
call fcn.00461338
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x51fa29
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, 0x80000002
mov eax, dword [ebp - 0xc]
call fcn.00461420
lea eax, [ebp - 0x28]
lea edx, [ebp - 0x20]
mov ecx, 0xa
call fcn.004080ec
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
mov edx, 0x51fa6c
call fcn.0040829c
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0xc]
call fcn.004616ac
test al, al
je 0x51fa13
lea ecx, [ebp - 4]
mov edx, 0x51fae0
mov eax, dword [ebp - 0xc]
call fcn.00461f34
mov edx, 0x8000
mov eax, dword [ebp - 4]
call fcn.0042798c
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x51fa13
xor edx, edx
push ebp
push 0x51fa0c
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x51faf8
mov eax, dword [ebp - 8]
push eax
call fcn.0040e800
test eax, eax
je 0x51f9f5
mov ebx, eax
call ebx
mov ebx, eax
test ebx, ebx
je 0x51f9f5
call fcn.0051f880
test eax, eax
je 0x51f9e5
mov eax, dword [ebx + 0x50]
jmp 0x51f9e8
mov eax, dword [ebx + 0x28]
and eax, 1
cmp eax, 1
sete byte [0x60ee5c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x51fa13
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 0x51fa30
mov eax, dword [ebp - 0xc]
call fcn.00405624
ret

Function at 0x51fb5c
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 0x51fba3
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x51fb86
add bx, 0x2000
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x51fb97
add bx, 0x4000
test byte [esp + 0xb], 0x20
je 0x51fba3
add bx, 0x8000
mov eax, ebx
add esp, 0x10
pop edi
pop esi
pop ebx
ret
Function at 0x52a13c
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 0x52a163
test edi, 0x40000
je 0x52a17d
test bl, bl
jne 0x52a20c
mov eax, 0x40000
and eax, edi
cmp eax, 0x40000
jne 0x52a20c
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 0x52a1b0
push 0
push esi
call sub.user32.dll_ShowWindow
test bl, bl
je 0x52a1cc
mov eax, esi
mov edx, 0xffffffec
mov ecx, 0x40000
or ecx, edi
push ecx
push edx
push eax
call sub.user32.dll_SetWindowLongW
jmp 0x52a1e2
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 0x52a1f3
cmp byte [esp + 2], 0
je 0x52a20c
cmp byte [esp + 2], 0
je 0x52a204
push 6
push esi
call sub.user32.dll_ShowWindow
jmp 0x52a20c
push 5
push esi
call sub.user32.dll_ShowWindow
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x52a4c0
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 0x52a4e6
mov eax, esp
push eax
push 0x52a488
call sub.user32.dll_EnumWindows
jmp 0x52a4f9
mov eax, esp
push eax
push 0x52a468
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 0x52a5bc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov ebx, eax
movzx esi, word [0x52a60c]
test bl, 4
je 0x52a5d0
or si, 1
test bl, 8
je 0x52a5d9
or si, 4
test bl, 1
je 0x52a5e2
or si, 8
test bl, 2
je 0x52a5eb
or si, 0x10
test bl, 0x10
je 0x52a5f4
or si, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x52a604
or si, 2
mov eax, esi
pop esi
pop ebx
ret

Function at 0x52a610
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, word [0x52a64c]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x52a62b
or bx, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x52a63b
or bx, 4
test esi, 0x20000000
je 0x52a647
or bx, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x5332ec
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x5332fe
add esp, 0xfffffff0
call fcn.00405c30
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00454154
mov eax, dword [0x612b90]
mov dword [eax + 4], ebx
mov dword [eax], 0x53372c
mov eax, dword [0x612ba8]
mov dword [eax + 4], ebx
mov dword [eax], 0x533738
mov eax, ebx
call fcn.00533744
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x44], eax
mov dl, 1
mov eax, dword [0x438eb0]
call fcn.004055f4
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x438eb0]
call fcn.004055f4
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x438eb0]
call fcn.004055f4
mov dword [ebx + 0x5c], eax
mov dl, 1
mov eax, dword [0x438eb0]
call fcn.004055f4
mov dword [ebx + 0x60], eax
mov dl, 1
mov eax, dword [0x438eb0]
call fcn.004055f4
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, 0x52e0a8
push eax
push 0
push 0
call sub.user32.dll_EnumDisplayMonitors
mov dl, 1
mov eax, dword [0x465ec8]
call fcn.0046c140
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x465ec8]
call fcn.0046c140
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x465ec8]
call fcn.0046c140
mov dword [ebx + 0x80], eax
mov dl, 1
mov eax, dword [0x465ec8]
call fcn.0046c140
mov dword [ebx + 0x8c], eax
mov dl, 1
mov eax, dword [0x465ec8]
call fcn.0046c140
mov dword [ebx + 0x90], eax
mov eax, ebx
call fcn.00533d3c
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x533b58
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x533b58
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x533b58
mov eax, dword [ebx + 0x8c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x533b58
mov eax, dword [ebx + 0x90]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x533b58
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x53347b
call fcn.00405c88
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x5338f8
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 0x533aa3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x3c], 0
jne 0x533a84
mov dl, 1
mov eax, dword [0x43c624]
call fcn.0044b010
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c], eax
mov eax, dword [ebp - 4]
add eax, 0x40
call fcn.00407334
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x533a73
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.004a2544
test al, al
je 0x533a66
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, 0x533ab4
lea eax, [ebp - 0x394]
call fcn.00420a10
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW_1
test eax, eax
jne 0x533a66
xor eax, eax
push ebp
push 0x533a5f
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 0x533b24
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x533a48
lea eax, [ebp - 0x3a0]
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.004080ec
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 0x533a48
mov eax, dword [ebp - 4]
add eax, 0x40
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.004080ec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x533a66
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x533969
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
mov byte [eax + 0x39], 0
mov dl, 1
call fcn.0044af4c
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 0x533aaa
lea eax, [ebp - 0x3a0]
call fcn.00407334
ret

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

Disassembly:
push ecx
mov eax, dword [0x619314]
cmp byte [eax + 0xb1], 0
jne 0x5346ce
cmp dword [0x619334], 0
jne 0x53468e
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, dword [0x60ef74]
push eax
push 3
call sub.user32.dll_SetWindowsHookExW
mov dword [0x619334], eax
cmp dword [0x619330], 0
jne 0x5346a9
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventW
mov dword [0x619330], eax
cmp dword [0x619338], 0
jne 0x5346ce
push esp
push 0
push 0
mov eax, dword [0x60ef70]
push eax
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x619338], eax
pop edx
ret
Function at 0x5349e8
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x5349ff
add esp, 0xfffffff0
call fcn.00405c30
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00454154
mov eax, dword [0x61288c]
cmp byte [eax], 0
jne 0x534a2c
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x184], al
mov eax, dword [0x612f90]
cmp word [eax + 2], 0
jne 0x534a46
mov eax, dword [0x612f90]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00536bdc
mov eax, dword [0x613200]
cmp word [eax + 2], 0
jne 0x534a60
mov eax, dword [0x613200]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00536de0
mov byte [ebx + 0x39], 0
mov dl, 1
mov eax, dword [0x465ec8]
call fcn.0046c140
mov esi, eax
mov dword [ebx + 0x40], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x537358
mov dl, 1
mov eax, dword [0x438eb0]
call fcn.004055f4
mov dword [ebx + 0x94], eax
mov dl, 1
mov eax, dword [0x438eb0]
call fcn.004055f4
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 [0x46aa20]
call fcn.00475ad8
mov esi, eax
mov dword [ebx + 0xa4], esi
push 0x534c44
mov eax, dword [0x612ce0]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.00475f68
mov eax, dword [ebx + 0xa4]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x537640
mov dl, 1
mov eax, dword [0x438eb0]
call fcn.004055f4
mov dword [ebx + 0x9c], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x612ce0]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW_1
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.004207f8
test eax, eax
je 0x534b74
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.00420554
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.004207dc
test eax, eax
je 0x534b8c
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.004080ec
push ebx
push 0x5365b4
call fcn.0052a5a0
mov dword [ebx + 0x180], eax
mov byte [ebx + 0xd4], 0
mov eax, dword [0x61288c]
cmp byte [eax], 0
jne 0x534bdd
mov eax, ebx
call fcn.00534e04
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.00537888
mov eax, ebx
call fcn.005384b4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x534c3a
call fcn.00405c88
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x53513c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x178]
test eax, eax
je 0x5351e8
cmp dword [ebx + 0x98], 0
jne 0x5351e2
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x535074
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x94]
cmp dword [eax + 8], 0
je 0x5351e2
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 0x5351a8
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x94]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x5351e2
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.004469e4
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x5351b7
inc dword [ebx + 0x98]
pop ecx
pop edx
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x619314]
cmp dword [eax + 0x178], 0
je 0x53556d
test bl, bl
jne 0x5354bb
cmp dword [esi + 0xa0], 0
jne 0x5354b0
mov eax, esi
call fcn.00538304
push eax
push 0x535314
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x48], 0
je 0x535481
mov eax, dword [0x619314]
cmp byte [eax + 0xd7], 0
je 0x535481
mov eax, dword [esi + 0xdc]
call fcn.00409390
mov edi, eax
cmp edi, 0
jl 0x535481
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 0x53546a
mov eax, dword [esi + 0x9c]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x5354b0
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x9c]
call fcn.004469e4
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x535490
inc dword [esi + 0xa0]
jmp 0x53556d
cmp dword [esi + 0xa0], 0
jle 0x53556d
dec dword [esi + 0xa0]
cmp dword [esi + 0xa0], 0
jne 0x53556d
cmp dword [esi + 0x48], 0
je 0x535518
mov eax, dword [0x619314]
cmp byte [eax + 0xd7], 0
je 0x535518
mov eax, dword [esi + 0xdc]
call fcn.00409390
mov edi, eax
cmp edi, 0
jl 0x535518
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 0x535501
mov eax, dword [esi + 0x9c]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x535547
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x9c]
call fcn.004469e4
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x535527
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 [0x526f40]
call fcn.0040953c
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x5361c0
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffdfc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xb0], 0
je 0x53622b
cmp byte [ebx + 0xd7], 0
jne 0x53622b
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x178]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004074bc
mov eax, dword [esi]
mov dword [esp + 0x200], eax
mov eax, dword [esp + 0x200]
test eax, eax
je 0x536218
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x536238
mov eax, esi
mov edx, dword [ebx + 0x90]
call fcn.00407714
jmp 0x536238
mov eax, esi
mov edx, dword [ebx + 0x90]
call fcn.00407714
add esp, 0x204
pop esi
pop ebx
ret

Function at 0x537a70
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x88]
test esi, esi
je 0x537ade
mov eax, esi
call fcn.0049c51c
test al, al
je 0x537ade
mov eax, dword [ebx + 0x88]
call fcn.0049c168
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x537ade
mov eax, dword [ebx + 0x88]
mov edx, dword [eax]
call dword [edx + 0x108]
test al, al
je 0x537ad2
push 0
mov eax, dword [ebx + 0x88]
call fcn.0049c168
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x88]
call fcn.00492f4c
jmp 0x537ade
mov cl, 1
mov edx, dword [ebx + 0x78]
mov eax, ebx
call fcn.005378a8
pop esi
pop ebx
ret
Function at 0x5442e8
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x544316
mov eax, ebx
call fcn.00544da4
cmp dword [ebx + 0x40], 0
je 0x54430f
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x544387
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x544379
cmp dword [ebx + 8], 0
je 0x544338
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x54434a
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x544379
cmp dword [ebx + 8], 0
je 0x54432b
cmp eax, 3
je 0x54435d
dec eax
jne 0x54432b
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x54432b
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x54432b
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x5443a5
cmp dword [ebx + 0x14], 0xcc
je 0x5443a5
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.005443b0
pop ebx
ret