joyce8/EMBER2024-capa huggingface dataset:
Function at 0x453518
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x50260c]
cmp byte [eax + 0xc], 0
je 0x453685
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45367e
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x506550], 0
jne 0x45356c
push 0x45368c
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x453694
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x506550], eax
cmp dword [0x47c6b4], 0
jne 0x453667
push 0x4536a4
call sub.kernel32.dll_LoadLibraryA
mov dword [0x47c6b4], eax
cmp dword [0x47c6b4], 0
je 0x453667
push 0x4536b0
mov eax, dword [0x47c6b4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x506554], eax
push 0x4536c0
mov eax, dword [0x47c6b4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x506558], eax
push 0x4536d4
mov eax, dword [0x47c6b4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x50655c], eax
push 0x4536ec
mov eax, dword [0x47c6b4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x506560], eax
push 0x453704
mov eax, dword [0x47c6b4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x506564], eax
push 0x453718
mov eax, dword [0x47c6b4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x506568], eax
push 0x453730
mov eax, dword [0x47c6b4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x50656c], eax
push 0x453748
mov eax, dword [0x47c6b4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x506570], eax
push 0x453764
mov eax, dword [0x47c6b4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x506574], eax
push 0x453770
mov eax, dword [0x47c6b4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x506578], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x453685
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x458e74
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x458ec8]
test si, 4
je 0x458e89
or bl, 1
test si, 8
je 0x458e93
or bl, 4
test si, 1
je 0x458e9d
or bl, 8
test si, 2
je 0x458ea7
or bl, 0x10
test si, 0x10
je 0x458eb1
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x458ec0
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x458ecc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x458f08]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x458ee6
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x458ef5
or bl, 4
test esi, 0x20000000
je 0x458f00
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x458f58
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
add esp, 0xffffff00
push esp
call sub.user32.dll_GetKeyboardState
mov eax, esp
call fcn.00458f0c
mov ebx, eax
mov eax, ebx
add esp, 0x100
pop ebx
ret
Function at 0x4605dc
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x4605ee
add esp, 0xfffffff0
call fcn.00403c0c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041e4b8
mov eax, dword [0x502238]
mov dword [eax + 4], ebx
mov dword [eax], 0x460980
mov eax, dword [0x502248]
mov dword [eax + 4], ebx
mov dword [eax], 0x46098c
mov eax, ebx
call fcn.00460998
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x415690]
call fcn.004038b8
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x415690]
call fcn.004038b8
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x415690]
call fcn.004038b8
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x415690]
call fcn.004038b8
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x415690]
call fcn.004038b8
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 + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x45c430
push eax
push 0
push 0
mov eax, dword [0x5023d0]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x4223e8]
call fcn.00423c3c
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x4223e8]
call fcn.00423c3c
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x4223e8]
call fcn.00423c3c
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00460dc8
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x460c98
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x460c98
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x460c98
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x46072b
call fcn.00403c64
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x460a7c
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x460c27
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x460c08
mov dl, 1
mov eax, dword [0x415c40]
call fcn.004038b8
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404730
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x460bf7
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.00453874
test al, al
je 0x460bea
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x460c38
lea eax, [ebp - 0x254]
call fcn.004097a8
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x460bea
xor eax, eax
push ebp
push 0x460be3
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x460c70
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x460bcc
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004049a0
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
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 + 0x3c]
jne 0x460bcc
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004049a0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x460bea
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x460aed
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov dl, 1
call fcn.0041a3b8
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x460c2e
lea eax, [ebp - 0x260]
call fcn.00404730
ret

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

Disassembly:
push ecx
mov eax, dword [0x506588]
cmp byte [eax + 0xad], 0
jne 0x461611
cmp dword [0x5065a0], 0
jne 0x4615d2
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x46155c
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x5065a0], eax
cmp dword [0x50659c], 0
jne 0x4615ed
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x50659c], eax
cmp dword [0x5065a4], 0
jne 0x461611
push esp
push 0
push 0
push 0x461500
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x5065a4], eax
pop edx
ret
Function at 0x4617e4
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x4617fb
add esp, 0xfffffff0
call fcn.00403c0c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041e4b8
mov eax, dword [0x5023b0]
cmp word [eax + 2], 0
jne 0x461823
mov eax, dword [0x5023b0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00463294
mov eax, dword [0x502480]
cmp word [eax + 2], 0
jne 0x46183d
mov eax, dword [0x502480]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004634a0
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x415690]
call fcn.004038b8
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x415690]
call fcn.004038b8
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x415690]
call fcn.004038b8
mov dword [ebx + 0xb0], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x422ef8]
call fcn.0042a560
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x4619f4
mov eax, dword [0x5022b0]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042a934
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x463b60
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x5022b0]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040d070
test eax, eax
je 0x461944
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00409120
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040d0a4
test eax, eax
je 0x461958
mov byte [eax], 0
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_CharNextA_1
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.004049a0
mov byte [ebx + 0xd4], 0
push ebx
push 0x462df4
call fcn.0041f634
mov dword [ebx + 0xc8], eax
mov eax, dword [0x50216c]
cmp byte [eax], 0
jne 0x4619a9
mov eax, ebx
call fcn.00461b38
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.00463d3c
mov eax, ebx
call fcn.0046489c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4619e9
call fcn.00403c64
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x461db8
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x506588]
cmp dword [eax + 0x30], 0
je 0x461e62
cmp dword [ebx + 0x94], 0
jne 0x461e5c
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x461d48
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x461e5c
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_GetWindowLongA
test al, 8
je 0x461e22
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x461e5c
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00417be4
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x461e31
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x462b7c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x462bb1
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404820
jmp 0x462bbe
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404784
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x463f20
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x463f8e
mov eax, esi
call fcn.0044e4a8
test al, al
je 0x463f8e
mov eax, dword [ebx + 0x84]
call fcn.0044e108
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x463f8e
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x463f82
push 0
mov eax, dword [ebx + 0x84]
call fcn.0044e108
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.004463e0
jmp 0x463f8e
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.00463d5c
pop esi
pop ebx
ret
Function at 0x465604
Capabilities:
Check os version

Disassembly:
add esp, 0xffffff6c
mov eax, esp
xor ecx, ecx
mov edx, 0x94
call fcn.00403224
mov dword [esp], 0x94
push esp
call sub.kernel32.dll_GetVersionExA
cmp dword [esp + 4], 5
jb 0x465633
cmp dword [esp + 0x10], 2
je 0x465637
xor eax, eax
jmp 0x465639
mov al, 1
add esp, 0x94
ret

Function at 0x472ffc
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404be4
mov eax, dword [ebp - 8]
call fcn.00404be4
xor eax, eax
push ebp
push 0x4730c0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404bf4
mov edx, eax
lea eax, [ebp - 0x14]
call fcn.00404928
mov eax, dword [ebp - 0x14]
mov edx, 0x8000
call fcn.0040de0c
test eax, eax
mov eax, dword [ebp - 4]
call fcn.00404bf4
push eax
call sub.kernel32.dll_GetModuleHandleA_2
mov dword [0x506644], eax
mov eax, dword [ebp - 8]
call fcn.00404bf4
push eax
mov eax, dword [0x506644]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
push eax
push 0x40
push 0x26259fc
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_VirtualProtect
lea edx, [ebp - 0x10]
mov eax, 0x4072d0
mov ecx, 4
call fcn.00472fec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4730c7
lea eax, [ebp - 0x14]
call fcn.00404730
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404754
ret

Function at 0x4730d0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404be4
mov eax, dword [ebp - 8]
call fcn.00404be4
xor eax, eax
push ebp
push 0x4731a8
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404bf4
push eax
call sub.kernel32.dll_LoadLibraryA
test eax, eax
mov eax, dword [ebp - 4]
call fcn.00404bf4
push eax
call sub.kernel32.dll_GetModuleHandleA_2
mov dword [0x506644], eax
cmp dword [0x506644], 0
je 0x473182
mov eax, dword [ebp - 8]
call fcn.00404bf4
push eax
mov eax, dword [0x506644]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x506648], eax
push 0x506658
push 0x40
push 0x26259fc
push 0x506648
call sub.kernel32.dll_VirtualProtect
mov edx, 0x506648
mov eax, sub.user32.dll_GetIconInfo
mov ecx, 4
call fcn.00472fec
push 0x506658
push 4
push sub.user32.dll_GetIconInfo
push 0x506648
push 0
call sub.ntdll_ZwWriteVirtualMemory
mov eax, dword [0x506644]
push eax
call sub.kernel32.dll_FreeLibrary_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4731af
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404754
ret
Function at 0x47839c
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov ebx, eax
mov edi, dword [ebp + 8]
add edi, 0xfffffffc
xor eax, eax
push ebp
push 0x4784e6
push dword fs:[eax]
mov dword fs:[eax], esp
test ebx, ebx
je 0x4784cb
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
push eax
mov eax, dword [edi]
push eax
push ebx
call sub.user32.dll_GetClassNameA
lea edx, [ebp - 8]
mov eax, dword [edi]
call fcn.00409338
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
add eax, 0xfffffff4
call fcn.004047c8
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
push eax
mov eax, dword [edi]
push eax
push ebx
call sub.user32.dll_GetWindowTextA
lea edx, [ebp - 0xc]
mov eax, dword [edi]
call fcn.00409338
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.004047c8
push 0x4784fc
mov eax, ebx
xor edx, edx
push edx
push eax
lea edx, [ebp - 0x14]
mov eax, 8
call fcn.00408b6c
push dword [ebp - 0x14]
push 0x47850c
mov eax, dword [ebp + 8]
push dword [eax - 0x10]
push 0x478518
mov eax, dword [ebp + 8]
push dword [eax - 0xc]
lea eax, [ebp - 0x10]
mov edx, 6
call fcn.00404ab4
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
mov eax, dword [eax + 0x388]
mov eax, dword [eax + 0x2b4]
mov edx, dword [ebp - 4]
call fcn.0046e374
mov esi, eax
push ebx
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x47848f
mov edx, 2
mov eax, esi
call fcn.0046d070
jmp 0x47849b
mov edx, 1
mov eax, esi
call fcn.0046d070
mov edx, dword [esi + 0x14]
mov eax, esi
call fcn.0046d0cc
mov eax, dword [ebp + 8]
push eax
push 5
push ebx
call sub.user32.dll_GetWindow
mov edx, esi
call fcn.0047839c
pop ecx
push 2
push ebx
call sub.user32.dll_GetWindow
mov ebx, eax
test ebx, ebx
jne 0x4783ca
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4784ed
lea eax, [ebp - 0x14]
mov edx, 4
call fcn.00404754
ret
Function at 0x47851c
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov dword [ebp - 0x14], eax
lea edi, [ebp - 0x14]
xor eax, eax
push ebp
push 0x4786e3
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xff
mov eax, dword [ebp - 8]
call fcn.0040934c
mov dword [ebp - 4], eax
call sub.user32.dll_GetDesktopWindow
mov ebx, eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
push ebx
call sub.user32.dll_GetClassNameA
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00409338
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
push ebx
call sub.user32.dll_GetWindowTextA
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.00409338
mov eax, dword [edi]
mov eax, dword [eax + 0x388]
call fcn.0046f9d0
mov eax, dword [edi]
mov eax, dword [eax + 0x388]
call fcn.00446a74
mov eax, dword [edi]
mov eax, dword [eax + 0x388]
mov eax, dword [eax + 0x2b4]
call fcn.0046e2e0
push 0x4786fc
mov eax, ebx
xor edx, edx
push edx
push eax
lea edx, [ebp - 0x1c]
mov eax, 8
call fcn.00408b6c
push dword [ebp - 0x1c]
push 0x47870c
push dword [ebp - 0x10]
push 0x478718
push dword [ebp - 0xc]
lea eax, [ebp - 0x18]
mov edx, 6
call fcn.00404ab4
mov ecx, dword [ebp - 0x18]
mov eax, dword [edi]
mov eax, dword [eax + 0x388]
mov eax, dword [eax + 0x2b4]
xor edx, edx
call fcn.0046e384
mov esi, eax
push ebp
push 5
push ebx
call sub.user32.dll_GetWindow
mov edx, esi
call fcn.0047839c
pop ecx
mov eax, dword [edi]
mov eax, dword [eax + 0x388]
mov eax, dword [eax + 0x2b4]
xor edx, edx
call fcn.0046e67c
call fcn.0046dc98
mov eax, dword [edi]
mov ebx, dword [eax + 0x388]
mov eax, dword [ebx + 0x2b4]
xor edx, edx
call fcn.0046e67c
mov edx, eax
mov eax, ebx
call fcn.0046fae0
mov eax, dword [edi]
mov eax, dword [eax + 0x388]
call fcn.0046fa98
xor edx, edx
call fcn.0046d394
mov eax, dword [edi]
mov eax, dword [eax + 0x388]
call fcn.00446a7c
mov eax, dword [edi]
mov eax, dword [eax + 0x388]
mov eax, dword [eax + 0x2b4]
call fcn.0046e2a0
lea edx, [ebp - 0x20]
call fcn.00408a30
lea eax, [ebp - 0x20]
mov edx, 0x478724
call fcn.004049fc
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [edi]
mov eax, dword [eax + 0x38c]
mov eax, dword [eax + 0x250]
xor edx, edx
call fcn.0046beb0
pop edx
call fcn.0046be0c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4786ea
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.00404754
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00404754
ret
Function at 0x678d20
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x75371c
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x79de74]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x18], ebx
cmp dword [ebp + 8], 0
mov dword [ebp - 0x14], 0
je 0x678d94
mov dword [ebx], 0x659164
mov dword [ebx + 0x58], 0
mov dword [ebx + 0x78], 0
mov dword [ebx + 0x7c], 0
mov dword [ebx + 0x80], 0
mov dword [ebx + 0x50], 0x6590d0
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 1
mov eax, dword [ebx]
lea esi, [ebx + 4]
push 0
push esi
mov dword [ebp - 0x10], esi
mov eax, dword [eax + 4]
mov dword [ebx + eax], 0x6590d8
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ecx + ebx - 4], eax
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
add ecx, ebx
call fcn.00684050
mov eax, dword [ebx]
push 8
mov dword [ebp - 4], 2
mov dword [ebp - 0x1c], esi
mov eax, dword [eax + 4]
mov dword [ebx + eax], 0x659160
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ecx + ebx - 4], eax
mov dword [esi], 0x6590e0
call fcn.0072b264
mov esi, eax
add esp, 4
test esi, esi
je 0x678e13
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov byte [ebp - 4], 3
call fcn.0072ceb4
add esp, 4
mov dword [esi + 4], eax
jmp 0x678e15
xor esi, esi
lea eax, [ebx + 4]
mov dword [eax + 0x34], esi
lea ebx, [eax + 4]
mov dword [eax + 0xc], ebx
lea esi, [eax + 8]
mov dword [eax + 0x10], esi
lea edi, [eax + 0x14]
mov dword [eax + 0x1c], edi
lea ecx, [eax + 0x18]
mov dword [eax + 0x20], ecx
lea edx, [eax + 0x24]
mov dword [eax + 0x2c], edx
add eax, 0x28
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x14]
mov dword [esi], 0
mov dword [ecx], 0
mov dword [eax], 0
mov eax, dword [ebp - 0x10]
mov dword [ebx], 0
mov dword [edi], 0
mov dword [edx], 0
mov dword [eax], 0x659120
mov dword [eax + 0x38], 0
mov dword [eax + 0x3c], 4
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4