joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5520a3
Capabilities:
Delete file

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
xor edi, edi
test esi, esi
je 0x552105
cmp word [esi], di
je 0x552105
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
call fcn.0060fad0
push dword [esp + 0x1c]
mov ebx, eax
push ebx
call dword [esp + 0x20]
push esi
push ebx
call fcn.0060fd30
add esp, 0x10
test eax, eax
jne 0x552104
push 0x2c
push 8
push dword [0x7e42f8]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, eax
mov eax, dword [esp + 0x10]
mov dword [ecx + 0x1c], edi
mov edi, ecx
mov dword [ecx], ebx
mov dword [ecx + 0x10], 1
mov dword [ecx + 0x28], eax
mov dword [eax + 4], ecx
pop ebx
mov eax, edi
pop edi
pop esi
ret 0x10

Function at 0x552bdf
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x190
push 0x552b32
push 0x10
push 0x2c
call fcn.0058c94c
push 0
push 0
push 8
mov dword [0x7e538c], eax
call fcn.0058c846
cmp word [0x7e5384], 0
mov dword [0x7ea7c8], eax
jne 0x552cbf
lea eax, [esp]
push eax
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
neg eax
push str.ws2_32.dll
sbb eax, eax
inc eax
mov word [0x7e5384], ax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x7e5390], eax
test eax, eax
je 0x552cbf
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.getaddrinfo
push eax
call esi
push str.freeaddrinfo
push dword [0x7e5390]
mov dword [0x7e5374], eax
call esi
push str.getnameinfo
push dword [0x7e5390]
mov dword [0x7e5378], eax
call esi
push str.WSAStringToAddressA
push dword [0x7e5390]
mov dword [0x7e537c], eax
call esi
cmp dword [0x7e5374], 0
mov ecx, eax
mov dword [0x7e5380], ecx
pop esi
je 0x552cbf
cmp dword [0x7e5378], 0
je 0x552cbf
cmp dword [0x7e537c], 0
je 0x552cbf
mov eax, dword [0x7e5388]
xor edx, edx
inc edx
test ecx, ecx
cmovne eax, edx
mov dword [0x7e5388], eax
add esp, 0x190
ret

Function at 0x553827
Capabilities:
Get file size
Read file on windows

Disassembly:
mov eax, dword [esp + 8]
push ebp
push edi
xor edi, edi
mov ebp, edi
test eax, eax
je 0x5538c2
cmp word [eax], di
je 0x5538c2
push esi
push edi
push 0x80
push 3
push edi
push 1
push closesocket
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x5538bd
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
push ebx
push edi
push dword [0x7e42f8]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
test edi, edi
je 0x5538b5
push ebp
lea eax, [esp + 0x1c]
push eax
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [esp + 0x18], ebx
jne 0x5538a6
push dword [esp + 0x1c]
push ebx
push edi
push dword [esp + 0x20]
call fcn.00553ff6
mov ebp, eax
push edi
push 0
push dword [0x7e42f8]
call dword [sym.imp.KERNEL32.dll_HeapFree]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
mov eax, ebp
pop esi
jmp 0x5538c4
xor eax, eax
pop edi
pop ebp
ret 0xc
Function at 0x556a4a
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
push ebp
push esi
push edi
push 1
call ebx
movzx esi, ax
push 2
shr esi, 0xf
call ebx
mov edi, esi
or edi, 2
bt ax, 0xf
push 4
cmovae edi, esi
call ebx
mov cx, ax
mov eax, edi
or eax, 4
bt cx, 0xf
cmovae eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x556ece
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
call dword [sym.imp.USER32.dll_GetMessagePos]
mov edi, dword [esp + 0x20]
mov esi, eax
push 0xfffffffffffffff4
push dword [edi]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [edi]
mov dword [esp + 0x14], eax
call fcn.0056cf1a
push eax
call fcn.0057381f
push dword [0x7e550c]
mov dword [esp + 0x24], eax
call fcn.0058ca01
mov ebp, eax
movsx ecx, si
lea eax, [esp + 0x14]
mov dword [esp + 0x14], ecx
push eax
push dword [edi]
shr esi, 0x10
movsx ecx, si
mov dword [esp + 0x20], ecx
call dword [sym.imp.USER32.dll_ScreenToClient]
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x10
call edi
movzx esi, ax
push 0x12
shr esi, 0xf
call edi
mov ebx, esi
or ebx, 2
bt ax, 0xf
push 0x11
cmovae ebx, esi
call edi
mov ecx, 0x8000
and ax, cx
movzx esi, ax
mov eax, dword [esp + 0x14]
mov dword [ebp], eax
mov eax, dword [esp + 0x18]
mov dword [ebp + 4], eax
call fcn.00556a4a
mov dword [ebp + 8], eax
mov eax, dword [esp + 0x28]
mov dword [ebp + 0xc], eax
mov eax, ebx
push 0x556fb9
push ebp
push dword [esp + 0x2c]
or eax, 4
test si, si
push dword [esp + 0x2c]
cmove eax, ebx
push dword [esp + 0x20]
mov dword [ebp + 0x10], eax
mov eax, dword [esp + 0x40]
mov dword [ebp + 0x14], eax
movzx eax, word [esp + 0x44]
push 0x332c
mov dword [ebp + 0x18], eax
call fcn.0057659e
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret

Function at 0x557790
Capabilities:
Write file on windows

Disassembly:
push edi
mov edi, dword [esp + 8]
cmp edi, 0xffffffff
jne 0x5577a9
push dword [0x7ea7e0]
call fcn.0058c9d3
pop edi
ret 4
push esi
push edi
push dword [0x7ea7e0]
call fcn.0058c8a8
mov esi, eax
test esi, esi
je 0x557813
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x5577ff
cmp dword [esi + 0x14], 0
mov dword [esp + 0xc], 0
jne 0x5577ee
push 0
lea eax, [esp + 0x10]
push eax
mov eax, dword [esi + 8]
sub eax, dword [esi + 0xc]
push eax
push ecx
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esi + 8]
mov dword [esi + 0xc], eax
push dword [esi + 4]
push 0
push dword [0x7e42f8]
call dword [sym.imp.KERNEL32.dll_HeapFree]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push dword [0x7ea7e0]
call fcn.0058c86e
pop esi
pop edi
ret 4

Function at 0x557820
Capabilities:
Write file on windows

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0xc]
mov dword [esp + 4], 0
cmp dword [esi + 0x14], 0
jne 0x55785c
push 0
lea eax, [esp + 8]
push eax
mov eax, dword [esi + 8]
sub eax, dword [esi + 0xc]
push eax
push dword [esi + 4]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esi + 8]
mov dword [esi + 0xc], eax
mov eax, dword [esp + 4]
pop esi
pop ecx
ret 4
xor eax, eax
pop esi
pop ecx
ret 4
Function at 0x5578a0
Capabilities:
Write file on windows

Disassembly:
push dword [esp + 4]
push dword [0x7ea7e0]
call fcn.0058c8a8
test eax, eax
je case.0x5578ce.3
mov ecx, dword [esp + 8]
add ecx, 0xfffffffe
cmp ecx, 0x17
ja case.0x5578ce.3
movzx ecx, byte [ecx + 0x5579d8]
jmp dword [ecx*4 + 0x5579c0]
cmp dword [eax + 4], 0
je 0x5578eb
push 2
push 0x6b4748
push eax
call fcn.00557b70
ret 8
push 0
lea ecx, [esp + 8]
push ecx
push 2
push 0x6b4748
push dword [eax]
call dword [sym.imp.KERNEL32.dll_WriteFile]
ret 8
cmp dword [eax + 4], 0
je 0x55791a
push 3
push 0x6b3e28
push eax
call fcn.00557b70
ret 8
push 0
lea ecx, [esp + 8]
push ecx
push 3
push 0x6b3e28
push dword [eax]
call dword [sym.imp.KERNEL32.dll_WriteFile]
ret 8
cmp dword [eax + 4], 0
je 0x557949
push 2
push 0x6b474c
push eax
call fcn.00557b70
ret 8
push 0
lea ecx, [esp + 8]
push ecx
push 2
push 0x6b474c
push dword [eax]
call dword [sym.imp.KERNEL32.dll_WriteFile]
ret 8
cmp dword [eax + 4], 0
je 0x557978
push 4
push 0x6b4750
push eax
call fcn.00557b70
ret 8
push 0
lea ecx, [esp + 8]
push ecx
push 4
push 0x6b4750
push dword [eax]
call dword [sym.imp.KERNEL32.dll_WriteFile]
ret 8
cmp dword [eax + 4], 0
je 0x5579a7
push 4
push 0x6b4758
push eax
call fcn.00557b70
ret 8
push 0
lea ecx, [esp + 8]
push ecx
push 4
push 0x6b4758
push dword [eax]
call dword [sym.imp.KERNEL32.dll_WriteFile]
ret 8

Function at 0x5579f0
Capabilities:
Write file on windows

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0x10]
mov dword [esp + 4], 0
test esi, esi
je 0x557a55
push edi
mov edi, dword [esp + 0x18]
test edi, edi
je 0x557a4d
push dword [esp + 0x10]
push dword [0x7ea7e0]
call fcn.0058c8a8
test eax, eax
je 0x557a43
cmp dword [eax + 4], 0
je 0x557a32
push edi
push esi
push eax
call fcn.00557b70
pop edi
pop esi
pop ecx
ret 0xc
push 0
lea ecx, [esp + 0xc]
push ecx
push edi
push esi
push dword [eax]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esp + 8]
pop edi
pop esi
pop ecx
ret 0xc
pop edi
xor eax, eax
pop esi
pop ecx
ret 0xc
xor eax, eax
pop esi
pop ecx
ret 0xc
Function at 0x557a60
Capabilities:
Write file on windows

Disassembly:
push ecx
mov edx, dword [esp + 0xc]
mov dword [esp], 0
test edx, edx
je 0x557b5e
cmp word [edx], 0
je 0x557b5e
mov ecx, dword [esp + 0x10]
push esi
mov esi, dword [esp + 0xc]
test ecx, ecx
jne 0x557a8e
mov ecx, dword [esi + 0x18]
push edi
cmp ecx, 0x19
jne 0x557ae4
mov ecx, edx
lea edi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x557aa0
sub ecx, edi
sar ecx, 1
cmp dword [esi + 4], 0
je 0x557ac6
lea eax, [ecx + ecx]
push eax
push edx
push esi
call fcn.00557b70
pop edi
pop esi
pop ecx
ret 0xc
push 0
lea eax, [esp + 0xc]
push eax
lea eax, [ecx + ecx]
push eax
push edx
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esp + 8]
pop edi
pop esi
pop ecx
ret 0xc
lea eax, [esp + 0x14]
push eax
push edx
xor edx, edx
mov eax, 0xfde9
cmp ecx, 2
cmovne eax, edx
push eax
call fcn.00557c90
mov edi, eax
test edi, edi
je 0x557ada
cmp dword [esi + 4], 0
je 0x557b31
push dword [esp + 0x14]
push edi
push esi
call fcn.00557b70
push edi
push 0
push dword [0x7e42f8]
mov dword [esp + 0x14], eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [esp + 8]
pop edi
pop esi
pop ecx
ret 0xc
push 0
lea eax, [esp + 0xc]
push eax
push dword [esp + 0x1c]
push edi
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
push 0
push dword [0x7e42f8]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [esp + 8]
pop edi
pop esi
pop ecx
ret 0xc
xor eax, eax
pop ecx
ret 0xc
Function at 0x557b70
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
push edi
mov edi, dword [esp + 0x10]
mov dword [esp + 0x10], 0
cmp dword [edi + 0x1c], 0
jne 0x557c87
cmp dword [edi + 0x14], 1
push ebx
push ebp
jne 0x557bbd
mov eax, dword [edi + 0xc]
lea ecx, [esp + 0x10]
push 1
neg eax
cdq
push ecx
push eax
push dword [edi]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [edi + 8]
mov dword [edi + 0x14], 0
mov dword [edi + 0xc], eax
mov eax, dword [edi + 0xc]
push esi
mov esi, dword [esp + 0x24]
cmp eax, esi
jle 0x557c46
mov ecx, dword [edi + 4]
sub ecx, eax
mov eax, esi
add ecx, dword [edi + 8]
sub eax, 1
je 0x557c2f
sub eax, 1
je 0x557c16
sub eax, 2
je 0x557bff
push esi
push dword [esp + 0x24]
push ecx
call fcn.0052d690
add esp, 0xc
mov eax, esi
sub dword [edi + 0xc], esi
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret 0xc
mov eax, dword [esp + 0x20]
mov eax, dword [eax]
mov dword [ecx], eax
mov eax, esi
sub dword [edi + 0xc], esi
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret 0xc
mov eax, dword [esp + 0x20]
mov ax, word [eax]
mov word [ecx], ax
mov eax, esi
sub dword [edi + 0xc], esi
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret 0xc
mov eax, dword [esp + 0x20]
mov al, byte [eax]
mov byte [ecx], al
mov eax, esi
sub dword [edi + 0xc], esi
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret 0xc
push edi
call fcn.00557820
mov eax, dword [edi + 8]
cmp esi, eax
jl 0x557c75
push 0
lea eax, [esp + 0x20]
push eax
push esi
push dword [esp + 0x2c]
push dword [edi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esp + 0x1c]
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret 0xc
mov ecx, dword [edi + 4]
sub ecx, dword [edi + 0xc]
push esi
push dword [esp + 0x24]
add ecx, eax
jmp 0x557be7
xor eax, eax
pop edi
add esp, 8
ret 0xc
Function at 0x55a246
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x2c]
lea eax, [esp + 0x18]
push eax
xor ebx, ebx
mov dword [esp + 0x14], ebx
push dword [edi]
call dword [sym.imp.USER32.dll_GetClientRect]
mov esi, dword [esp + 0x30]
test esi, esi
jne 0x55a27e
push dword [edi]
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
mov dword [esp + 0x10], 1
push dword [edi]
push esi
call fcn.005704f6
test byte [edi + 0x14], 8
mov dword [esp + 0x14], eax
je 0x55a36f
call dword [sym.imp.USER32.dll_GetFocus]
cmp dword [edi], eax
jne 0x55a36f
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x24]
sub ebp, dword [esp + 0x1c]
mov dword [esp + 0x2c], eax
test eax, eax
jle 0x55a39d
test ebp, ebp
jle 0x55a39d
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ebx, eax
test ebx, ebx
je 0x55a39d
push ebp
push dword [esp + 0x30]
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [esp + 0x30], eax
test eax, eax
je 0x55a366
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
cmp dword [edi + 0x10], 0
je 0x55a310
push 4
xor eax, eax
push eax
push eax
push eax
push eax
push eax
push dword [edi + 0x10]
push eax
push eax
push ebx
call dword [sym.imp.USER32.dll_DrawStateW]
jmp 0x55a325
push 0
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
lea eax, [esp + 0x1c]
push eax
push ebx
call dword [sym.imp.USER32.dll_FillRect]
push 2
pop eax
add dword [esp + 0x18], eax
add dword [esp + 0x1c], eax
sub dword [esp + 0x20], eax
sub dword [esp + 0x24], eax
lea eax, [esp + 0x18]
push eax
push ebx
call dword [sym.imp.USER32.dll_DrawFocusRect]
push 0xcc0020
xor eax, eax
push eax
push eax
push ebx
push ebp
push dword [esp + 0x40]
push eax
push eax
push esi
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [esp + 0x30]
call dword [sym.imp.GDI32.dll_DeleteObject]
push ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
jmp 0x55a39d
cmp dword [edi + 0x10], ebx
je 0x55a389
push 4
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [edi + 0x10]
push ebx
push ebx
push esi
call dword [sym.imp.USER32.dll_DrawStateW]
jmp 0x55a39d
push ebx
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
lea eax, [esp + 0x1c]
push eax
push esi
call dword [sym.imp.USER32.dll_FillRect]
push dword [esp + 0x14]
push esi
call fcn.005704d4
cmp dword [esp + 0x10], 0
je 0x55a3b7
push esi
push dword [edi]
call dword [sym.imp.USER32.dll_ReleaseDC]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
Function at 0x55a3bf
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
call dword [sym.imp.USER32.dll_GetMessagePos]
mov edi, dword [esp + 0x20]
mov esi, eax
push 0xfffffffffffffff4
push dword [edi]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [edi]
mov dword [esp + 0x14], eax
call fcn.0056cf1a
push eax
call fcn.0057381f
push dword [0x7e56b4]
mov dword [esp + 0x24], eax
call fcn.0058ca01
mov ebp, eax
movsx ecx, si
lea eax, [esp + 0x14]
mov dword [esp + 0x14], ecx
push eax
push dword [edi]
shr esi, 0x10
movsx ecx, si
mov dword [esp + 0x20], ecx
call dword [sym.imp.USER32.dll_ScreenToClient]
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x10
call edi
movzx esi, ax
push 0x12
shr esi, 0xf
call edi
mov ebx, esi
or ebx, 2
bt ax, 0xf
push 0x11
cmovae ebx, esi
call edi
mov ecx, 0x8000
and ax, cx
movzx esi, ax
mov eax, dword [esp + 0x14]
mov dword [ebp], eax
mov eax, dword [esp + 0x18]
mov dword [ebp + 4], eax
call fcn.00556a4a
mov dword [ebp + 8], eax
mov eax, dword [esp + 0x28]
mov dword [ebp + 0xc], eax
mov eax, ebx
push 0x55a4aa
push ebp
push dword [esp + 0x2c]
or eax, 4
test si, si
push dword [esp + 0x2c]
cmove eax, ebx
push dword [esp + 0x20]
mov dword [ebp + 0x10], eax
mov eax, dword [esp + 0x40]
mov dword [ebp + 0x14], eax
movzx eax, word [esp + 0x44]
push 0x332c
mov dword [ebp + 0x18], eax
call fcn.0057659e
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret

Function at 0x55aea0
Capabilities:
Get graphical window text

Disassembly:
push ebx
push dword [esp + 8]
push dword [0x7ea844]
call fcn.0058c8a8
mov ebx, eax
test ebx, ebx
je 0x55af04
mov ecx, dword [ebx + 4]
mov eax, dword [ecx + 0x18]
test eax, eax
je 0x55aec9
push dword [esp + 0xc]
push ebx
call eax
jmp 0x55af04
push esi
push edi
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
push dword [esp + 0x14]
mov edi, eax
push edi
call fcn.0058d430
mov esi, eax
lea ecx, [edi + 1]
push ecx
xor eax, eax
push esi
mov word [esi], ax
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push esi
call fcn.005236eb
pop ecx
sub edi, eax
push edi
call fcn.0058d4d0
pop edi
pop esi
pop ebx
ret 8
Function at 0x55ba66
Capabilities:
Check os version

Disassembly:
sub esp, 0x114
push ebx
push ebp
push esi
push edi
push dword [0x7ea840]
call fcn.0058c83f
xor ebx, ebx
mov esi, eax
cmp dword [0x7e58f4], ebx
jne 0x55bb38
xor ebp, ebp
inc ebp
mov dword [0x7e58f4], ebp
call fcn.0056cd89
mov edi, 0xa8
push edi
push ebx
push 0x7e5848
call fcn.0052bb00
add esp, 0xc
mov dword [0x7e5848], 0x13
lea eax, [esp + 0x10]
mov dword [0x7e584c], edi
mov dword [0x7e5858], 0x5598ea
mov dword [0x7e585c], 0x559b36
push eax
mov dword [0x7e58b0], 0x55b9a6
mov dword [0x7e58b4], 0x55bc3b
mov dword [0x7e5854], 0x55b981
mov dword [0x7e58d8], 0x55b9ce
mov dword [0x7e58f8], ebp
mov dword [esp + 0x14], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x55bb38
cmp dword [esp + 0x20], ebp
je 0x55bb32
cmp dword [esp + 0x20], 2
jne 0x55bb38
cmp dword [esp + 0x14], 5
jb 0x55bb32
jne 0x55bb38
cmp dword [esp + 0x18], ebx
jne 0x55bb38
mov dword [0x7e58f8], ebx
lea eax, [esp + 0x138]
push eax
lea eax, [esp + 0x138]
push eax
lea eax, [esp + 0x138]
push eax
lea eax, [esp + 0x138]
push eax
call fcn.00577381
mov eax, dword [esp + 0x140]
push ebx
push dword [0x7e42f4]
or eax, 0x50010000
push 0xffffffffffffffff
push dword [esi]
push dword [esp + 0x148]
push dword [esp + 0x148]
push dword [esp + 0x148]
push dword [esp + 0x148]
push eax
push ebx
push str.BUTTON
push ebx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov edi, eax
test edi, edi
je 0x55bc0c
mov ebp, dword [esp + 0x128]
push ebp
push dword [0x7ea844]
call fcn.0058c8cf
mov esi, dword [esp + 0x13c]
mov ebx, eax
mov dword [ebx + 0x10], esi
test esi, esi
je 0x55bbdd
push esi
call fcn.00582dc2
test eax, eax
je 0x55bbdd
push 0
push 0
push esi
call fcn.00582a23
jmp 0x55bbdf
xor eax, eax
push 0x55b6d8
push 0xfffffffffffffffc
mov dword [ebx + 0x18], eax
and dword [ebx + 0x14], 0
and dword [ebx + 0x1c], 0
push edi
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0x7e5848
push edi
push ebx
push ebp
mov dword [0x7e58f0], eax
call fcn.0056cf49
mov edi, eax
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x114
ret 0x1c

Function at 0x55c897
Capabilities:
Get graphical window text

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push edi
xor edi, edi
push edi
push edi
push 0x147
push dword [ebp]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, eax
or eax, 0xffffffff
cmp ebx, eax
je 0x55c926
push 0xfffffffffffffff0
push dword [ebp]
call dword [sym.imp.USER32.dll_GetWindowLongW]
test al, 1
jne 0x55c926
push esi
push dword [ebp]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, eax
lea ecx, [esi*2 + 2]
push ecx
push edi
push dword [0x7e42f8]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
lea ecx, [esi + 1]
push ecx
xor eax, eax
push edi
mov word [edi], ax
push dword [ebp]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push edi
or esi, 0xffffffff
push esi
push 0x158
push dword [ebp]
call dword [sym.imp.USER32.dll_SendMessageW]
push edi
push 0
push dword [0x7e42f8]
cmp eax, esi
cmove ebx, esi
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop esi
pop edi
mov eax, ebx
pop ebp
cdq
pop ebx
ret 4
Function at 0x55def1
Capabilities:
Hide graphical window

Disassembly:
push ebx
push ebp
push esi
push dword [0x7ea840]
call fcn.0058c83f
xor ebx, ebx
mov ebp, eax
cmp dword [0x7e5c88], ebx
jne 0x55df85
mov esi, 0xa8
push esi
push ebx
push 0x7e5be0
call fcn.0052bb00
add esp, 0xc
mov dword [0x7e5be4], esi
mov esi, dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [0x7e5be0], 0xa
mov dword [0x7e5be8], 0x55da7f
push 0x7f89
push ebx
mov dword [0x7e5c58], 0x570615
mov dword [0x7e5c5c], 0x5627d7
mov dword [0x7e5bec], 0x55da9e
mov dword [0x7e5c70], 0x55dabe
call esi
mov dword [0x7e5c88], eax
test eax, eax
jne 0x55df85
push 0x7f00
push ebx
call esi
mov dword [0x7e5c88], eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
call fcn.00577381
push ebx
push dword [0x7e42f4]
push 0xffffffffffffffff
push dword [ebp]
push dword [esp + 0x30]
push dword [esp + 0x30]
push dword [esp + 0x30]
push dword [esp + 0x30]
push 0x40000000
push dword [esp + 0x48]
push str.STATIC
push ebx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ebx, eax
test ebx, ebx
je 0x55e051
push edi
push dword [esp + 0x14]
push dword [0x7ea844]
call fcn.0058c8cf
mov edi, eax
push 8
or dword [edi + 0x10], 0xffffffff
call dword [sym.imp.USER32.dll_GetSysColor]
push 0x14
push 0
mov dword [edi + 0x14], eax
push dword [0x7e42f8]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, dword [ebp + 8]
mov esi, eax
push 0x7e5be0
push ebx
push edi
push dword [esp + 0x20]
mov dword [esi], ecx
mov ecx, dword [esp + 0x40]
mov dword [esi + 4], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esi + 0xc], ecx
mov byte [esi + 0x10], 0
mov dword [edi + 0x1c], esi
call fcn.0056cf49
push 0x55dba4
push 0xfffffffffffffffc
push dword [edi]
mov ebx, eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 1
mov dword [esi + 8], eax
push dword [edi]
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
ret 0x20
Function at 0x56391e
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x458
push esi
mov esi, dword [sym.imp.USER32.dll_GetParent]
push edi
push dword [ebp + 8]
call esi
push eax
call esi
push eax
call fcn.0057066e
mov esi, eax
lea eax, [ebp - 0x208]
push eax
push 0x104
push 0xd
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [ebp - 0x208]
push eax
call fcn.005236eb
pop ecx
cmp word [ebp + eax*2 - 0x20a], 0x5c
jne 0x563978
xor ecx, ecx
mov word [ebp + eax*2 - 0x20a], cx
lea eax, [ebp - 0x458]
push eax
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x5639bb
test byte [ebp - 0x458], 0x10
je 0x5639b2
lea eax, [ebp - 0x208]
push eax
push esi
call fcn.00563d1e
push 0
push dword [esi]
call fcn.0056d009
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x5639d9
push dword [esi + 0x14]
lea eax, [ebp - 0x208]
push eax
call fcn.0067fc08
pop ecx
pop ecx
lea eax, [ebp - 0x208]
push eax
push esi
call fcn.00563d1e
lea eax, [ebp - 0x208]
push eax
call fcn.005236eb
pop ecx
push eax
lea eax, [ebp - 0x208]
push eax
call fcn.005236eb
pop ecx
push eax
push 0xb1
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop esi
leave
ret