joyce8/EMBER2024-capa huggingface dataset:
Function at 0x440eb0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4cb6c8
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x4f87d8]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4f87d8]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov edi, dword [esp + 0x88]
mov eax, dword [esp + 0x8c]
xor ebx, ebx
mov esi, 7
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x70], esi
mov dword [esp + 0x6c], ebx
mov word [esp + 0x5c], bx
mov dword [esp + 0x80], ebx
mov edx, dword [edi]
push eax
mov eax, dword [edx + 0x24]
mov ecx, edi
mov dword [esp + 0x1c], ebx
call eax
mov ebp, eax
cmp ebp, ebx
je 0x441048
jmp 0x440f35
mov esi, 7
mov dword [esp + 0x54], esi
mov dword [esp + 0x50], ebx
mov word [esp + 0x40], bx
mov byte [esp + 0x80], 1
push 2
mov dword [esp + 0x3c], esi
push 0x4db988
lea esi, [esp + 0x28]
mov dword [esp + 0x3c], ebx
mov word [esp + 0x2c], bx
call fcn.00405810
push ebx
lea eax, [esp + 0x40]
push eax
mov byte [esp + 0x88], 2
mov edx, dword [edi]
mov edx, dword [edx + 0x3c]
mov ecx, esi
push ecx
push ebp
mov ecx, edi
call edx
mov esi, 8
mov byte [esp + 0x80], 1
cmp dword [esp + 0x38], esi
jb 0x440fa2
mov eax, dword [esp + 0x24]
push eax
call fcn.004a85e6
add esp, 4
cmp dword [esp + 0x54], esi
mov eax, dword [esp + 0x40]
jae 0x440fb0
lea eax, [esp + 0x40]
push eax
call fcn.004acf71
mov esi, dword [esp + 0x94]
add esp, 4
cmp eax, esi
je 0x441022
mov edx, dword [edi]
mov edx, dword [edx + 0x50]
lea eax, [esp + 0x17]
push eax
push ebp
mov ecx, edi
mov byte [esp + 0x1f], bl
call edx
cmp byte [esp + 0x17], bl
jne 0x440ff1
mov ecx, dword [esp + 0x1c]
push esi
push ebp
push edi
call fcn.00440eb0
cmp eax, ebx
mov dword [esp + 0x18], eax
jne 0x441034
mov byte [esp + 0x80], bl
cmp dword [esp + 0x54], 8
jb 0x44100c
mov eax, dword [esp + 0x40]
push eax
call fcn.004a85e6
add esp, 4
mov edx, dword [edi]
mov eax, dword [edx + 0x30]
push ebp
mov ecx, edi
call eax
mov ebp, eax
cmp ebp, ebx
jne 0x440f30
jmp 0x441048
cmp dword [esp + 0x54], 8
mov dword [esp + 0x18], ebp
jb 0x441048
mov ecx, dword [esp + 0x40]
push ecx
jmp 0x441040
cmp dword [esp + 0x54], 8
jb 0x441048
mov edx, dword [esp + 0x40]
push edx
call fcn.004a85e6
add esp, 4
cmp dword [esp + 0x70], 8
jb 0x44105c
mov eax, dword [esp + 0x5c]
push eax
call fcn.004a85e6
add esp, 4
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.004a85d7
add esp, 0x70
ret 0xc
Function at 0x44a220
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
xor esi, esi
call edi
test ax, ax
jge 0x44a238
mov esi, 8
push 2
call edi
test ax, ax
jge 0x44a244
or esi, 1
push 1
call edi
test ax, ax
jge 0x44a250
or esi, 2
push 0x10
call edi
test ax, ax
jge 0x44a25c
or esi, 4
push 0x12
call edi
test ax, ax
jge 0x44a268
or esi, 0x20
pop edi
mov ax, si
pop esi
ret

Function at 0x44a360
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
push ebx
call dword [sym.imp.USER32.dll_GetFocus]
mov ecx, dword [esi + 0x178]
cmp eax, ecx
je 0x44a387
cmp byte [ebp + 8], 0
je 0x44a387
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [esi + 0xbc]
cmp edi, eax
je 0x44a47b
test eax, eax
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
je 0x44a3f3
xor eax, eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 8], 0x10
mov dword [esp + 0xc], edi
call ebx
mov ecx, dword [esi + 0xbc]
mov dword [esp + 0x14], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
lea edx, [esp + 8]
push edx
call eax
mov dword [esi + 0xbc], 0
test edi, edi
je 0x44a47b
mov edx, dword [edi]
mov eax, dword [edx + 0x128]
mov ecx, edi
call eax
cmp eax, esi
jne 0x44a47b
mov edx, dword [edi]
mov eax, dword [edx + 0xd0]
mov ecx, edi
call eax
test al, al
je 0x44a47b
mov edx, dword [edi]
mov eax, dword [edx + 0x120]
mov ecx, edi
call eax
test al, al
je 0x44a47b
xor eax, eax
mov dword [esp + 0xc], eax
mov dword [esi + 0xbc], edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 8], 0x11
mov dword [esp + 0xc], edi
call ebx
mov ecx, dword [esi + 0xbc]
mov dword [esp + 0x14], eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x38]
lea eax, [esp + 8]
push eax
call edx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x44b4f0
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esi + 0x1d4]
sub esp, 0x28
test eax, eax
je 0x44b514
mov edx, dword [esi + 0x178]
push ecx
push eax
push edx
call dword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x44b62b
mov eax, dword [esp + 0x2c]
sub eax, 0x100
je 0x44b5be
sub eax, 4
je 0x44b542
sub eax, 1
jne 0x44b5b6
cmp dword [esi + 0xbc], eax
je 0x44b5b6
mov dword [esp], 5
jmp 0x44b552
cmp dword [esi + 0xbc], 0
je 0x44b5b6
mov dword [esp], 4
mov ecx, dword [esi + 0xc8]
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0xc], eax
mov dword [esp + 8], eax
mov dword [esp + 4], eax
mov eax, dword [esi + 0xc4]
mov word [esp + 0x18], di
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
call fcn.0044a220
mov word [esp + 0x1a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0xbc]
mov dword [esp + 0xc], eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x38]
lea eax, [esp]
push eax
call edx
xor al, al
add esp, 0x28
ret 4
cmp edi, 9
jne 0x44b5b6
cmp dword [esi + 0xbc], 0
je 0x44b615
mov ecx, dword [esi + 0xbc]
mov eax, dword [ecx]
mov edx, dword [eax + 0xd0]
call edx
test al, al
je 0x44b615
mov ecx, dword [esi + 0xbc]
mov eax, dword [ecx]
mov edx, dword [eax + 0x120]
call edx
test al, al
je 0x44b615
mov ecx, dword [esi + 0xbc]
mov eax, dword [ecx]
mov edx, dword [eax + 0x2c]
call edx
cmp eax, 0xa
jne 0x44b615
mov eax, dword [esi + 0xbc]
cmp byte [eax + 0x571], 0
jne 0x44b5b6
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
setge cl
push ecx
mov ecx, esi
call fcn.0044a270
mov al, 1
add esp, 0x28
ret 4
Function at 0x44e190
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x4cb638
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebp
push esi
push edi
mov eax, dword [0x4f87d8]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov eax, edx
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], 0
mov word [esp + 0x20], 0
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x44e1d2
sub eax, esi
sar eax, 1
push eax
push edx
lea esi, [esp + 0x24]
call fcn.00405810
mov edi, dword [esp + 0x4c]
mov eax, esi
push eax
lea ecx, [esp + 0x18]
add edi, 0x58
push ecx
mov dword [esp + 0x4c], 0
call fcn.0043c970
cmp dword [esp + 0x34], 8
jb 0x44e21c
mov edx, dword [esp + 0x20]
push edx
call fcn.004a85e6
add esp, 4
mov esi, dword [esp + 0x14]
test esi, esi
mov ebp, dword [edi + 4]
je 0x44e22b
cmp esi, edi
je 0x44e230
call fcn.004a8d14
mov edi, dword [esp + 0x18]
cmp edi, ebp
je 0x44e263
test esi, esi
jne 0x44e241
call fcn.004a8d14
cmp edi, dword [esi + 4]
jne 0x44e24b
call fcn.004a8d14
mov eax, dword [edi + 0x28]
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x38
ret 4
xor eax, eax
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x38
ret 4
Function at 0x458e30
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ecx
push ebx
push esi
mov esi, eax
mov eax, dword [esi + 8]
push edi
mov edi, eax
and edi, 7
je 0x458e51
cmp eax, edi
jge 0x458e49
call fcn.004586a0
mov ecx, edi
shr dword [esi + 0xc], cl
sub dword [esi + 8], edi
xor eax, eax
cmp dword [esi + 8], eax
jle 0x458e7c
lea ecx, [eax - 8]
jmp 0x458e60
mov dl, byte [esi + 0xc]
shr dword [esi + 0xc], 8
add dword [esi + 8], ecx
mov byte [esp + eax + 0xc], dl
add eax, 1
cmp dword [esi + 8], 0
jg 0x458e60
cmp eax, 4
jge 0x458e9f
mov edi, dword [esi + 4]
mov edx, dword [esi]
cmp edx, edi
jb 0x458e89
xor ecx, ecx
jmp 0x458e91
mov cl, byte [edx]
add edx, 1
movzx ecx, cl
mov byte [esp + eax + 0xc], cl
add eax, 1
cmp eax, 4
jl 0x458e81
mov dword [esi], edx
mov eax, dword [esp + 0xc]
movzx ecx, byte [esp + 0xf]
movzx edx, byte [esp + 0xe]
movzx ebx, ah
movzx eax, al
shl ebx, 8
add ebx, eax
shl ecx, 8
mov eax, ebx
add ecx, edx
xor eax, 0xffff
cmp ecx, eax
je 0x458ed9
mov dword [0x4fe298], str.zlib_corrupt
pop edi
pop esi
xor eax, eax
pop ebx
pop ecx
ret
mov ecx, dword [esi]
add ecx, ebx
cmp ecx, dword [esi + 4]
jbe 0x458ef3
pop edi
pop esi
mov dword [0x4fe298], 0x4dd748
xor eax, eax
pop ebx
pop ecx
ret
mov edx, dword [esi + 0x10]
add edx, ebx
cmp edx, dword [esi + 0x18]
jbe 0x458f0a
mov ecx, ebx
mov edi, esi
call fcn.004586e0
test eax, eax
je 0x458ed2
mov edi, dword [esi]
push ebp
mov ebp, dword [esi + 0x10]
push ebx
push edi
push ebp
call fcn.004af6b0
add esp, 0xc
add edi, ebx
add ebp, ebx
mov dword [esi + 0x10], ebp
pop ebp
mov dword [esi], edi
pop edi
pop esi
mov eax, 1
pop ebx
pop ecx
ret
Function at 0x45e320
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
call fcn.0043d120
mov ecx, dword [esp + 0x1c]
mov eax, dword [eax + 0x38]
push 0x4db584
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x45e3dd
call fcn.0043d120
mov eax, dword [eax + 0x38]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x45e3dd
call fcn.0043d120
mov eax, dword [eax + 0x38]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
push edi
push 0x22
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x45e3d6
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push ebx
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x45e3cf
test ebp, ebp
je 0x45e3cf
push edi
push eax
push ebp
call fcn.004af6b0
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov edx, dword [esp + 0x18]
push edi
push esi
push edx
call fcn.0045e3f0
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret 8
Function at 0x460e80
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
mov esi, ecx
mov eax, dword [esi]
mov edx, dword [eax + 0x120]
push edi
call edx
test al, al
je 0x460f6f
mov eax, dword [esi]
mov edx, dword [eax + 0x188]
mov ecx, esi
call edx
xor ebx, ebx
test al, al
je 0x460f05
cmp dword [esi + 0x548], ebx
jne 0x460f05
push 0x2c
call fcn.004a84f2
add esp, 4
cmp eax, ebx
je 0x460ef6
mov ecx, dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [eax + 4], ebx
mov dword [eax + 8], ecx
mov byte [eax + 0xc], bl
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ebx
mov dword [eax + 0x18], ebx
mov dword [eax + 0x1c], ebx
mov dword [eax], vtable.GameMgr::GMEditWnd.0
mov dword [eax + 0x20], ebx
mov dword [eax + 0x24], ebx
mov dword [eax + 0x28], ebx
mov edi, eax
jmp 0x460ef8
xor edi, edi
mov eax, esi
mov dword [esi + 0x548], edi
call fcn.0048bd40
mov edx, dword [esi + 0x548]
mov eax, dword [edx + 4]
push 0xffffffffffffffff
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 0xb1
push eax
call ebx
mov edi, dword [ebp + 8]
cmp dword [edi], 0xd
jne 0x460f6f
mov ecx, dword [edi + 0x10]
mov edx, dword [edi + 0x14]
mov dword [esp + 0x10], ecx
mov ecx, dword [esi + 0x44c]
lea eax, [esp + 0x10]
mov dword [esp + 0x14], edx
mov edx, dword [ecx + 0x178]
push eax
push edx
call dword [sym.imp.USER32.dll_ClientToScreen]
movzx eax, word [esp + 0x14]
movzx ecx, word [esp + 0x10]
mov edx, dword [edi + 0x1c]
shl eax, 0x10
or eax, ecx
push eax
mov eax, dword [esi + 0x548]
mov ecx, dword [eax + 4]
push edx
push 0x7b
push ecx
call ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x473b30
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4cc3a1
mov eax, dword fs:[0]
push eax
push ebx
push esi
mov eax, dword [0x4f87d8]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
fldz
xor ebx, ebx
fstp qword [esi + 0x20]
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esp + 0x14], ebx
xor eax, eax
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], eax
mov dword [esi + 0x50], eax
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov byte [esi + 0x38], bl
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], eax
mov dword [esi + 0x68], eax
mov dword [esi + 0x6c], eax
mov dword [esi + 0x70], eax
mov dword [esi + 0x74], ebx
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x80], ebx
mov dword [esi + 0x84], ebx
lea eax, [esi + 0x88]
push eax
mov byte [esp + 0x18], 2
call fcn.00473aa0
mov byte [esi + 0xc9], bl
mov dword [esi + 0xcc], ebx
mov byte [esi + 0xc8], 0xff
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov byte [esi + 0x1c], bl
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0xc
ret 4
Function at 0x47b7e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
call fcn.0043d120
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov eax, dword [eax + 0x38]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x47b89a
call fcn.0043d120
mov eax, dword [eax + 0x38]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x47b89a
call fcn.0043d120
mov eax, dword [eax + 0x38]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
push edi
push 0x22
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x47b893
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push ebx
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x47b88c
test ebp, ebp
je 0x47b88c
push edi
push eax
push ebp
call fcn.004af6b0
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
mov edi, dword [esp + 0x18]
push esi
call fcn.0047b8b0
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 0xc
Function at 0x480590
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4cd296
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4f87d8]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x44]
mov esi, ecx
xor edi, edi
xor ebp, ebp
cmp esi, edi
je 0x480712
mov eax, dword [esi]
mov edx, dword [eax + 0x128]
call edx
cmp eax, edi
mov dword [esp + 0x28], eax
je 0x480712
mov eax, dword [eax + 0x178]
cmp eax, edi
mov dword [esp + 0x1c], eax
je 0x480712
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x480712
mov ecx, dword [esp + 0x40]
push ebx
push esi
lea eax, [esp + 0x4c]
push eax
push ecx
mov dword [esp + 0x54], edi
call fcn.00480980
cmp eax, 0xffffffff
jne 0x480712
push 0xd0
call fcn.004a84f2
add esp, 4
mov dword [esp + 0x44], eax
cmp eax, edi
mov dword [esp + 0x38], edi
je 0x48063f
push eax
call fcn.00473b30
mov edi, eax
mov dword [esp + 0x38], 0xffffffff
mov edx, dword [esp + 0x1c]
lea eax, [ebx - 0x2001]
cmp eax, 8
mov dword [edi + 0xc], edx
mov dword [edi + 0x10], ebx
mov dword [esp + 0x2c], edi
mov dword [edi], esi
mov ebx, 1
ja case.0x48066b.8200
jmp dword [eax*4 + 0x48077c]
mov dword [edi + 0x74], ebx
mov ebp, 0x23
mov byte [edi + 0x1c], bl
jmp case.0x48066b.8200
mov ebp, 0xc8
mov byte [edi + 0x1c], bl
jmp 0x48068e
mov ebp, 0x28
lea ecx, [esi + 4]
mov byte [edi + 0x1c], bl
call fcn.0047f880
fstp qword [edi + 0x20]
fld qword [0x4e4fb0]
lea eax, [esp + 0x1c]
lea esi, [edi + 0x28]
fstp qword [esp + 0x1c]
push eax
call fcn.00481700
fldz
lea ecx, [esp + 0x1c]
fstp qword [esp + 0x1c]
push ecx
call fcn.00481700
fld qword [0x4e4fa8]
lea edx, [esp + 0x1c]
fstp qword [esp + 0x1c]
push edx
call fcn.00481700
fldz
lea eax, [esp + 0x1c]
fstp qword [esp + 0x1c]
push eax
call fcn.00481700
jmp case.0x48066b.8200
mov ebp, 0x28
jmp case.0x48066b.8200
mov ebp, 0xa
jmp case.0x48066b.8200
mov ebp, 0x64
mov esi, dword [esp + 0x28]
push ebp
call fcn.0044aca0
cmp eax, 0xffffffff
jne 0x480716
mov eax, edi
call fcn.00480160
xor al, al
jmp 0x480764
mov dword [edi + 8], ebp
push 0x10
mov dword [edi + 4], eax
call fcn.004a84f2
add esp, 4
xor ecx, ecx
cmp eax, ecx
je 0x480737
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
jmp 0x480739
xor eax, eax
lea ecx, [esp + 0x2c]
mov dword [esp + 0x38], 0xffffffff
push ecx
mov esi, eax
mov dword [esp + 0x48], eax
call fcn.004774b0
mov esi, dword [esp + 0x40]
lea edx, [esp + 0x44]
push edx
add esi, 4
call fcn.00481770
mov al, bl
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 8
Function at 0x48bd40
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x24
push ebx
push esi
mov dword [edi + 0x20], eax
lea esi, [esp + 0xc]
mov eax, edi
call fcn.0048bcf0
mov ecx, dword [edi + 0x20]
cmp byte [ecx + 0x551], 0
mov esi, 0x40000080
je 0x48bd69
mov esi, 0x400000a0
mov edx, dword [ecx]
mov eax, dword [edx + 0x128]
call eax
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x14]
mov eax, dword [eax + 0x178]
sub edx, ecx
push edx
mov edx, dword [esp + 0x10]
sub ebx, edx
push ebx
push ecx
push edx
push 0
push esi
push 0
push eax
mov eax, edi
call fcn.0043d210
mov ecx, dword [edi + 0x20]
mov edx, dword [ecx]
mov eax, dword [edx + 0x128]
call eax
push eax
call fcn.0044e350
mov ecx, dword [eax]
mov edx, dword [edi + 4]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 1
push ecx
push 0x30
push edx
call esi
mov eax, dword [edi + 0x20]
mov ecx, dword [eax + 0x54c]
mov edx, dword [edi + 4]
push 0
push ecx
push 0xc5
push edx
call esi
mov eax, dword [edi + 0x20]
cmp byte [eax + 0x551], 0
je 0x48bdfc
movzx eax, word [eax + 0x552]
mov ecx, dword [edi + 4]
push 0
push eax
push 0xcc
push ecx
call esi
mov ecx, dword [edi + 0x20]
mov edx, dword [ecx]
mov edx, dword [edx + 0x16c]
lea eax, [esp + 0xc]
push eax
call edx
mov ebx, 8
cmp dword [eax + 0x18], ebx
jb 0x48be1d
mov eax, dword [eax + 4]
jmp 0x48be20
add eax, 4
push eax
mov eax, dword [edi + 4]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
cmp dword [esp + 0x24], ebx
jb 0x48be3e
mov ecx, dword [esp + 0x10]
push ecx
call fcn.004a85e6
add esp, 4
mov edx, dword [edi + 4]
push 0
push 0
push 0xb9
push edx
call esi
mov eax, dword [edi + 4]
push 0
push 3
push 0xd3
push eax
call esi
mov ecx, dword [edi + 0x20]
mov edx, dword [ecx]
mov eax, dword [edx + 0x120]
call eax
mov edx, dword [edi + 4]
movzx ecx, al
push ecx
push edx
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [edi + 0x20]
movzx ecx, byte [eax + 0x550]
mov edx, dword [edi + 4]
push 0
push ecx
push 0xcf
push edx
call esi
mov eax, dword [edi + 4]
push 4
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [edi + 4]
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
pop esi
pop ebx
add esp, 0x24
ret
Function at 0x48beb0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cb1f8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4f87d8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 4]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov edi, eax
add edi, 1
lea eax, [edi + edi]
call fcn.004bfcc0
mov esi, esp
test esi, esi
je 0x48bf6f
mov ecx, dword [ebx + 4]
push edi
push esi
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
xor edi, edi
mov eax, esi
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], edi
mov word [ebp - 0x28], di
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x48bf20
sub eax, edx
sar eax, 1
push eax
push esi
lea esi, [ebp - 0x2c]
call fcn.00405810
push 0xffffffffffffffff
mov dword [ebp - 4], edi
mov esi, dword [ebx + 0x20]
push edi
lea edx, [ebp - 0x2c]
push edx
lea eax, [esi + 0x370]
call fcn.00405240
mov eax, dword [esi]
mov edx, dword [eax + 0x11c]
mov ecx, esi
call edx
cmp dword [ebp - 0x14], 8
jb 0x48bf6f
mov eax, dword [ebp - 0x28]
push eax
call fcn.004a85e6
add esp, 4
xor eax, eax
lea esp, [ebp - 0x3c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a85d7
mov esp, ebp
pop ebp
ret 4