joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40e450
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x452d10
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [0x47a520]
xor ebx, ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x70]
mov byte [esp + 0x68], 1
cmp eax, ebx
jne 0x40e48f
mov dword [esp + 0x1c], ebx
jmp 0x40e496
mov ecx, dword [eax + 0x1c]
mov dword [esp + 0x1c], ecx
mov edx, dword [esp + 0x80]
mov eax, dword [esp + 0x78]
lea ecx, [esp + 0x74]
mov dword [esp + 0x20], edx
push ecx
lea ecx, [esp + 0x3c]
mov dword [esp + 0x38], eax
call fcn.00449d8e
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x3c], ebx
cmp eax, ebx
je 0x40e4f1
lea edx, [esp + 0xc]
push eax
push edx
call dword [sym.imp.USER32.dll_CopyRect]
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], eax
jmp 0x40e4fc
lea ecx, [esp + 0x24]
push ecx
call dword [sym.imp.USER32.dll_SetRectEmpty]
mov edx, dword [esp + 0x1c]
sub esp, 0x44
mov esi, esp
mov dword [esp + 0xb4], esp
mov dword [esi], edx
mov eax, dword [esp + 0x64]
mov dword [esi + 4], eax
mov edx, dword [esp + 0x68]
lea ecx, [esi + 8]
mov dword [esi + 8], edx
mov eax, dword [esp + 0x6c]
mov dword [ecx + 4], eax
mov edx, dword [esp + 0x70]
mov dword [ecx + 8], edx
mov eax, dword [esp + 0x74]
lea edx, [esp + 0x7c]
mov dword [ecx + 0xc], eax
mov ecx, dword [esp + 0x78]
mov dword [esi + 0x18], ecx
push edx
lea ecx, [esi + 0x1c]
call fcn.004499ca
mov eax, dword [esp + 0x80]
mov dword [esi + 0x20], eax
mov ecx, dword [esp + 0x84]
mov dword [esi + 0x24], ecx
mov edx, dword [esp + 0x88]
mov dword [esi + 0x28], edx
mov eax, dword [esp + 0x8c]
mov dword [esi + 0x2c], eax
mov ecx, dword [esp + 0x90]
mov dword [esi + 0x30], ecx
mov dl, byte [esp + 0x94]
mov byte [esi + 0x34], dl
mov eax, dword [esp + 0x98]
mov dword [esi + 0x38], eax
mov ecx, dword [esp + 0x9c]
mov dword [esi + 0x3c], ecx
mov edx, dword [esp + 0xa0]
mov ecx, edi
mov dword [esi + 0x40], edx
call fcn.0040e5e0
lea ecx, [esp + 0x38]
mov byte [esp + 0x68], bl
call fcn.00449c55
lea ecx, [esp + 0x74]
mov dword [esp + 0x68], 0xffffffff
call fcn.00449c55
mov ecx, dword [esp + 0x60]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x60
ret 0x14
Function at 0x40eb50
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x452da8
push eax
mov dword fs:[0], esp
sub esp, 0x44
push esi
push edi
mov edi, dword [esp + 0x5c]
mov esi, ecx
push edi
call fcn.0040eca0
test eax, eax
jne 0x40eb8d
pop edi
pop esi
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
add esp, 0x50
ret 8
lea eax, [esp + 8]
push edi
push eax
lea ecx, [esi + 0x3c]
call fcn.0040eec0
mov esi, eax
mov edi, dword [esp + 0x60]
mov ecx, dword [esi]
lea eax, [esi + 8]
mov dword [esp + 0x54], 0
mov dword [edi], ecx
mov edx, dword [esi + 4]
mov dword [edi + 4], edx
mov edx, dword [eax]
lea ecx, [edi + 8]
mov dword [edi + 8], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
lea edx, [esi + 0x1c]
mov dword [ecx + 0xc], eax
mov ecx, dword [esi + 0x18]
mov dword [edi + 0x18], ecx
push edx
lea ecx, [edi + 0x1c]
call fcn.00449d8e
mov eax, dword [esi + 0x20]
mov dword [esp + 0x54], 0xffffffff
mov dword [edi + 0x20], eax
mov ecx, dword [esi + 0x24]
mov dword [edi + 0x24], ecx
mov edx, dword [esi + 0x28]
mov dword [edi + 0x28], edx
mov eax, dword [esi + 0x2c]
mov dword [edi + 0x2c], eax
mov ecx, dword [esi + 0x30]
mov dword [edi + 0x30], ecx
mov dl, byte [esi + 0x34]
mov byte [edi + 0x34], dl
mov eax, dword [esi + 0x38]
mov dword [edi + 0x38], eax
mov ecx, dword [esi + 0x3c]
mov dword [edi + 0x3c], ecx
mov edx, dword [esi + 0x40]
lea ecx, [esp + 0x24]
mov dword [edi + 0x40], edx
call fcn.00449c55
mov ecx, dword [esp + 0x4c]
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x50
ret 8

Function at 0x40ef60
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x452df8
push eax
mov dword fs:[0], esp
push esi
mov eax, dword [esp + 0x14]
mov dword [esp + 0xc], 0
mov edx, eax
shl edx, 4
add edx, eax
mov eax, dword [ecx + 4]
mov ecx, dword [esp + 0x18]
lea esi, [eax + edx*4]
mov dword [esi], ecx
mov edx, dword [esp + 0x1c]
mov dword [esi + 4], edx
mov ecx, dword [esp + 0x20]
lea eax, [esi + 8]
mov dword [esi + 8], ecx
mov edx, dword [esp + 0x24]
mov dword [eax + 4], edx
mov ecx, dword [esp + 0x28]
mov dword [eax + 8], ecx
mov edx, dword [esp + 0x2c]
lea ecx, [esp + 0x34]
mov dword [eax + 0xc], edx
mov eax, dword [esp + 0x30]
push ecx
lea ecx, [esi + 0x1c]
mov dword [esi + 0x18], eax
call fcn.00449d8e
mov edx, dword [esp + 0x38]
mov dword [esp + 0xc], 0xffffffff
mov dword [esi + 0x20], edx
mov eax, dword [esp + 0x3c]
mov dword [esi + 0x24], eax
mov ecx, dword [esp + 0x40]
mov dword [esi + 0x28], ecx
mov edx, dword [esp + 0x44]
mov dword [esi + 0x2c], edx
mov eax, dword [esp + 0x48]
mov dword [esi + 0x30], eax
mov cl, byte [esp + 0x4c]
mov byte [esi + 0x34], cl
mov edx, dword [esp + 0x50]
mov dword [esi + 0x38], edx
mov eax, dword [esp + 0x54]
mov dword [esi + 0x3c], eax
mov ecx, dword [esp + 0x58]
mov dword [esi + 0x40], ecx
lea ecx, [esp + 0x34]
call fcn.00449c55
mov ecx, dword [esp + 4]
pop esi
mov dword fs:[0], ecx
add esp, 0xc
ret 0x48
Function at 0x40f040
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x452e18
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [esp + 0x20]
mov ebx, dword [edi + 8]
sub esp, 0x44
mov dword [esp + 0x5c], 0
mov esi, esp
mov dword [esp + 0x50], esp
mov dword [esi], eax
mov ecx, dword [esp + 0x68]
mov dword [esi + 4], ecx
mov eax, dword [esp + 0x6c]
lea edx, [esi + 8]
mov dword [esi + 8], eax
mov ecx, dword [esp + 0x70]
mov dword [edx + 4], ecx
mov eax, dword [esp + 0x74]
mov dword [edx + 8], eax
mov ecx, dword [esp + 0x78]
lea eax, [esp + 0x80]
mov dword [edx + 0xc], ecx
mov edx, dword [esp + 0x7c]
push eax
lea ecx, [esi + 0x1c]
mov dword [esi + 0x18], edx
call fcn.004499ca
mov ecx, dword [esp + 0x84]
push ebx
mov dword [esi + 0x20], ecx
mov edx, dword [esp + 0x8c]
mov dword [esi + 0x24], edx
mov eax, dword [esp + 0x90]
mov dword [esi + 0x28], eax
mov ecx, dword [esp + 0x94]
mov dword [esi + 0x2c], ecx
mov edx, dword [esp + 0x98]
mov dword [esi + 0x30], edx
mov al, byte [esp + 0x9c]
mov byte [esi + 0x34], al
mov ecx, dword [esp + 0xa0]
mov dword [esi + 0x38], ecx
mov edx, dword [esp + 0xa4]
mov dword [esi + 0x3c], edx
mov eax, dword [esp + 0xa8]
mov ecx, edi
mov dword [esi + 0x40], eax
call fcn.0040f670
lea ecx, [esp + 0x3c]
mov dword [esp + 0x18], 0xffffffff
call fcn.00449c55
mov ecx, dword [esp + 0x10]
pop edi
mov eax, ebx
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x10
ret 0x44
Function at 0x415f2d
Capabilities:
Check os version

Disassembly:
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x415f95
push 1
mov esi, 0x94
pop ebx
push esi
call dword [sym.imp.MSVCRT.dll_malloc]
mov edi, eax
pop ecx
test edi, edi
je 0x415fef
push esi
push 0
push edi
call fcn.00436680
add esp, 0xc
mov dword [edi], esi
push edi
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [edi + 4]
cmp eax, 4
jne 0x415f78
push 5
jmp 0x415fe6
cmp eax, 5
jne 0x415fe7
cmp dword [edi + 8], 0
jne 0x415f87
push 6
jmp 0x415fe6
cmp eax, 5
jne 0x415fe7
cmp dword [edi + 8], ebx
jne 0x415fe7
push 7
jmp 0x415fe6
cmp al, 4
jae 0x415f9d
xor ebx, ebx
jmp 0x415fef
push 2
mov esi, 0x94
pop ebx
push esi
call dword [sym.imp.MSVCRT.dll_malloc]
mov edi, eax
pop ecx
test edi, edi
je 0x415fef
push esi
push 0
push edi
call fcn.00436680
add esp, 0xc
mov dword [edi], esi
push edi
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [edi + 4]
cmp eax, 4
jne 0x415fe7
cmp dword [edi + 8], 0xa
jne 0x415fda
push 3
jmp 0x415fe6
cmp eax, 4
jne 0x415fe7
cmp dword [edi + 8], 0x5a
jne 0x415fe7
push eax
pop ebx
push edi
call dword [sym.imp.MSVCRT.dll_free]
pop ecx
pop edi
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x417ee7
Capabilities:
Check os version

Disassembly:
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x417eff
cmp al, 5
sbb eax, eax
and eax, 2
add eax, 6
ret
push 8
pop eax
ret

Function at 0x41aea6
Capabilities:
Read file on windows

Disassembly:
push ebx
push ebp
push esi
push edi
push 0x479f20
mov esi, ecx
push dword [esp + 0x18]
call dword [sym.imp.MSVCRT.dll_fopen]
mov ebp, eax
pop ecx
test ebp, ebp
pop ecx
je 0x41af32
mov ebx, dword [sym.imp.MSVCRT.dll_fseek]
push 2
push 0
push ebp
call ebx
push ebp
call dword [sym.imp.MSVCRT.dll_ftell]
add esp, 0x10
mov edi, eax
mov ecx, esi
push edi
call fcn.0041af3b
test al, al
jne 0x41aeec
xor bl, bl
jmp 0x41af13
push 0
push 0
push ebp
call ebx
push ebp
push edi
push 1
pop ebx
push ebx
push dword [esi + 0xc]
call dword [sym.imp.MSVCRT.dll_fread]
add esp, 0x1c
cmp edi, eax
jne 0x41af1f
and dword [esi + 8], 0
mov dword [esi + 4], edi
mov dword [esi + 0x10], edi
push ebp
call dword [sym.imp.MSVCRT.dll_fclose]
pop ecx
mov al, bl
jmp 0x41af34
and dword [esi + 4], 0
and dword [esi + 8], 0
push ebp
mov dword [esi + 0x10], edi
call dword [sym.imp.MSVCRT.dll_fclose]
pop ecx
xor al, al
pop edi
pop esi
pop ebp
pop ebx
ret 4
Function at 0x420778
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe8
push ebx
push esi
push edi
lea eax, [ebp - 0xe8]
mov esi, ecx
push 0xc8
push eax
push dword [esi + 0x9c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
and byte [ebp - 0x21], 0
lea eax, [ebp - 0x20]
push eax
push dword [esi + 0x9c]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esi + 4]
add eax, 0x90
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push dword [ebp + 8]
mov dword [ebp - 4], eax
call edi
mov dword [ebp - 0xc], eax
mov eax, dword [esi + 4]
mov ebx, dword [sym.imp.GDI32.dll_SetTextColor]
push dword [eax + 0xcc]
push dword [ebp + 8]
call ebx
push 1
mov dword [ebp - 0x10], eax
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_SetBkMode]
push 0xfffffffffffffff0
mov dword [ebp - 8], eax
push dword [esi + 0x9c]
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov ecx, eax
xor esi, esi
and ecx, 2
cmp cl, 2
jne 0x420815
push 2
pop esi
mov ecx, eax
and ecx, 1
cmp cl, 1
jne 0x420822
push 1
pop esi
mov edx, eax
mov ecx, 0x200
and edx, ecx
cmp edx, ecx
jne 0x420832
or esi, 0x24
mov ecx, eax
and ecx, 0xc
cmp cl, 0xc
jne 0x42083f
or esi, 0x20
mov ecx, eax
and cx, 0x80
cmp cl, 0x80
jne 0x420851
or esi, 0x800
and eax, 0xb
cmp al, 0xb
jne 0x42085b
or esi, 0x20
lea eax, [ebp - 0x20]
push esi
push eax
lea eax, [ebp - 0xe8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, dword [ebp + 8]
push eax
lea eax, [ebp - 0xe8]
push eax
push esi
call dword [sym.imp.USER32.dll_DrawTextA]
push dword [ebp - 0x10]
push esi
call ebx
push dword [ebp - 0xc]
push esi
call edi
push dword [ebp - 4]
call dword [sym.imp.GDI32.dll_DeleteObject]
push dword [ebp - 8]
push esi
call dword [sym.imp.GDI32.dll_SetBkMode]
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x42322f
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd4
push ebx
push esi
push edi
mov esi, ecx
push dword [ebp + 0x10]
mov eax, dword [esi + 0xd8]
push dword [ebp + 0xc]
mov dword [ebp - 4], eax
call fcn.0042a6dc
push 0
push eax
push dword [esi + 0x9c]
call dword [sym.imp.USER32.dll_SetWindowRgn]
push 1
push 0xf
call dword [sym.imp.USER32.dll_GetSysColor]
mov edi, dword [ebp + 8]
push eax
push dword [ebp + 0xc]
push dword [ebp + 0x10]
push edi
call fcn.00414fa7
add esp, 0x14
lea eax, [ebp - 0xd4]
push 0xc8
push eax
push dword [esi + 0x9c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov eax, dword [esi + 4]
and byte [ebp - 0xd], 0
add eax, 0x398
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push edi
mov dword [ebp - 8], eax
call ebx
mov esi, dword [esi + 4]
mov dword [ebp + 8], eax
push dword [esi + 0x3d4]
mov esi, dword [sym.imp.GDI32.dll_SetTextColor]
push edi
call esi
push 1
push edi
mov dword [ebp + 0xc], eax
call dword [sym.imp.GDI32.dll_SetBkMode]
push 0x25
mov dword [ebp - 0xc], eax
push dword [ebp + 0x10]
lea eax, [ebp - 0xd4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea eax, [ebp - 0xd4]
push eax
push edi
call dword [sym.imp.USER32.dll_DrawTextA]
push dword [ebp + 0xc]
push edi
call esi
push dword [ebp + 8]
push edi
call ebx
push dword [ebp - 8]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
call esi
push dword [ebp - 0xc]
push edi
call dword [sym.imp.GDI32.dll_SetBkMode]
cmp dword [ebp - 4], 0
je 0x423326
push dword [ebp - 4]
call esi
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x42790e
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x48e7e8]
push ebx
xor ebx, ebx
push edi
cmp eax, ebx
jne 0x427934
cmp dword [0x48e7e0], ebx
jne 0x427934
push dword [ebp + 0x14]
push dword [ebp + 0x10]
jmp 0x427af3
mov ecx, dword [ebp + 0x10]
cmp ecx, 0xfffffff2
jne 0x427a5f
mov edi, dword [ebp + 8]
cmp dword [edi + 0x6a0], ebx
je 0x427952
xor eax, eax
jmp 0x427b07
lea eax, [ebp - 8]
push esi
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
push dword [ebp - 4]
mov esi, 0x48e7c0
push dword [ebp - 8]
push esi
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x4279b1
push dword [0x48e7e0]
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_KillTimer]
or dword [0x479f44], 0xffffffff
or dword [0x479f4c], 0xffffffff
or dword [0x479f48], 0xffffffff
push ebx
push 1
mov dword [0x48e7e0], ebx
push dword [ebp + 0xc]
push edi
call fcn.00424ce0
add esp, 0x10
jmp 0x427a57
cmp dword [0x479f44], ebx
jne 0x4279ce
push dword [ebp - 4]
lea ebx, [edi + 8]
push dword [ebp - 8]
push esi
push dword [ebp + 0xc]
push ebx
call fcn.00426971
jmp 0x4279e4
push dword [ebp - 4]
lea ebx, [edi + 0x354]
push dword [ebp - 8]
push esi
push dword [ebp + 0xc]
push ebx
call fcn.004269fb
add esp, 0x14
cmp dword [0x479f4c], eax
mov dword [0x479f48], eax
je 0x427a52
lea edi, [ebp - 0x18]
lea eax, [ebp - 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push eax
push ebx
movsd dword es:[edi], dword [esi]
call fcn.00426a2d
mov esi, dword [ebp + 0xc]
pop ecx
pop ecx
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x24]
neg eax
push eax
mov eax, dword [ebp - 0x28]
neg eax
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
push esi
call dword [sym.imp.USER32.dll_GetWindowDC]
mov edi, eax
lea eax, [ebp - 0x18]
push 0xffffffffffffffff
push eax
push edi
push esi
push ebx
call fcn.00426944
add esp, 0x14
push edi
push esi
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [0x479f48]
mov dword [0x479f4c], eax
xor eax, eax
pop esi
jmp 0x427b07
cmp ecx, 0xfffd
jne 0x427a8c
push eax
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_KillTimer]
push ebx
push 0x37
push 0xfffe
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [0x48e7e8], eax
jmp 0x42794b
cmp ecx, 0xfffe
jne 0x427aef
lea eax, [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 8]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_ScreenToClient]
movzx eax, word [ebp - 4]
movzx ecx, word [ebp - 8]
shl eax, 0x10
or eax, ecx
push eax
push 1
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00426f3a
mov eax, dword [0x479f50]
add esp, 0x10
cmp eax, 0xffffffff
je 0x42794b
push ebx
push eax
push dword [0x48e7e4]
push dword [ebp + 0xc]
call fcn.004267c6
add esp, 0x10
jmp 0x42794b
push dword [ebp + 0x14]
push ecx
mov eax, dword [ebp + 8]
push 0x113
push dword [ebp + 0xc]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_CallWindowProcA]
pop edi
pop ebx
leave
ret
Function at 0x42ad49
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf4
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
lea eax, [ebp + 0x1c]
mov edi, ecx
push eax
push esi
mov ebx, dword [edi + 0xd8]
mov dword [ebp - 4], edi
call fcn.0042a6dc
push 0
push eax
push dword [edi + 0x9c]
call dword [sym.imp.USER32.dll_SetWindowRgn]
test ebx, ebx
je 0x42ad87
push ebx
call dword [sym.imp.GDI32.dll_DeleteObject]
push 1
push 0xf
call dword [sym.imp.USER32.dll_GetSysColor]
mov ebx, dword [ebp + 8]
push eax
lea eax, [ebp + 0x1c]
push esi
push eax
push ebx
call fcn.00414fa7
mov eax, dword [esi + 0x44]
add esp, 0x14
add dword [ebp + 0x1c], eax
mov eax, dword [esi + 0x48]
add dword [ebp + 0x20], eax
mov eax, dword [esi + 0x4c]
sub dword [ebp + 0x24], eax
mov eax, dword [esi + 0x50]
push dword [ebp + 0x18]
sub dword [ebp + 0x28], eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
push eax
push ebx
mov dword [ebp + 0x18], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp + 8], eax
lea eax, [ebp - 0xc]
push eax
push 3
push 0x479fcc
push ebx
call dword [sym.imp.GDI32.dll_GetTextExtentPointA]
lea eax, [ebp - 0x2c]
lea esi, [ebp + 0x1c]
push eax
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 8]
sub esp, 0x10
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push dword [ebp + 0x10]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 4]
mov ecx, esi
call fcn.0042ac16
push 0
push 0xf
mov dword [ebp + 0xc], eax
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
lea eax, [ebp - 0x1c]
push dword [ebp + 0x10]
push eax
push ebx
call fcn.00415609
add esp, 0x14
lea eax, [ebp - 0xf4]
push 0xc8
push eax
push dword [esi + 0x9c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov eax, dword [ebp + 0x14]
and byte [ebp - 0x2d], 0
add eax, 4
push eax
call fcn.00415be0
mov esi, dword [sym.imp.GDI32.dll_SetTextColor]
pop ecx
push eax
push ebx
call esi
mov edi, dword [sym.imp.GDI32.dll_SetBkMode]
push 1
push ebx
mov dword [ebp + 0x10], eax
call edi
push dword [ebp + 0xc]
mov dword [ebp + 0x14], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0xf4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea eax, [ebp - 0xf4]
push eax
push ebx
call dword [sym.imp.USER32.dll_DrawTextA]
push dword [ebp + 0x10]
push ebx
call esi
push dword [ebp + 8]
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp + 0x18]
call dword [sym.imp.GDI32.dll_DeleteObject]
push dword [ebp + 0x14]
push ebx
call edi
pop edi
pop esi
pop ebx
leave
ret 0x24
Function at 0x444390
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.004360f0
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x44445b
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x44445b
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x44440e
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x444419
or bh, 8
and edi, 0x8000000
je 0x444434
mov eax, dword [0x49203c]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
test edi, edi
je 0x44445b
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x444830
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
sub esp, 4
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push ebp
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x44485b
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x44487f
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
jne 0x44489a
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
mov edi, ebp
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov cl, ah
mov edx, eax
mov dword [esp + 0x10], 0
shl ecx, 8
shr edx, 0x10
mov byte [esp + 0x10], dl
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x28]
or ecx, edx
mov edx, eax
shr edx, 0x10
mov dword [ebp + 0x28], ecx
mov dword [esp + 0x10], 0
xor ecx, ecx
mov byte [esp + 0x10], dl
mov cl, ah
xor edx, edx
shl ecx, 8
mov dl, al
shl edx, 0x10
or ecx, dword [esp + 0x10]
or ecx, edx
mov eax, dword [esp + 0x24]
mov edx, eax
mov dword [ebp + 0x44], ecx
shr edx, 0x10
xor ecx, ecx
mov dword [esp + 0x10], 0
mov cl, ah
mov byte [esp + 0x10], dl
shl ecx, 8
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x2c]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x48], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x30]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x64], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x34]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x54], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
push 0
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
or ecx, edx
mov dword [ebp + 0x50], ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 0
push ebp
lea ecx, [ebp + 0x68]
push ecx
push 4
push ebp
push edi
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
mov esi, eax
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20