Function at 0x458900
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x284
push ebx
push ebp
mov ebp, dword [esp + 0x290]
mov eax, dword [ebp + 0x10]
mov ebx, dword [ebp + 0x38]
push esi
mov esi, dword [ebp]
push edi
mov edi, dword [ebp + 0x24]
push ecx
push eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edi
call dword [sym.imp.GDI32.dll_SelectObject]
lea edx, [esp + 0x18]
push edx
push edi
push 0x1038
push esi
mov dword [esp + 0x5c], eax
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], 0
call dword [sym.imp.USER32.dll_SendMessageA]
test ebx, ebx
jne 0x45898e
mov ecx, dword [esp + 0x29c]
mov eax, 1
cmp ecx, eax
jle 0x45898e
mov dword [esp + 0x54], eax
lea eax, [esp + 0x50]
push eax
push edi
push 0x1038
push esi
mov dword [esp + 0x60], ebx
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x20], ecx
add eax, 4
jmp 0x458995
mov eax, dword [esp + 0x18]
add eax, 6
mov edx, dword [esp + 0x14]
mov dword [esp + 0x18], eax
xor eax, eax
mov ecx, 0xd
lea edi, [esp + 0x60]
rep stosd dword es:[edi], eax
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [esp + 0x60]
push ecx
push 0
push 0x1005
lea eax, [esp + 0xa0]
push esi
mov dword [esp + 0x70], 3
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], 0x200
call edi
push 0
push 1
push 0x1002
push esi
call edi
mov edi, eax
test edi, edi
je 0x458a6c
push edi
call dword [sym.imp.COMCTL32.dll_ImageList_GetImageCount]
test eax, eax
je 0x458a6c
mov eax, dword [esp + 0x7c]
cmp eax, 0xffffffff
je 0x458a3d
mov edx, dword [ebp + 0x28]
mov ecx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x10]
and dl, 1
neg dl
sbb edx, edx
and edx, 3
inc edx
push edx
mov edx, dword [esp + 0x1c]
push ecx
push edx
push ebp
push eax
push edi
call dword [sym.imp.COMCTL32.dll_ImageList_Draw]
cmp dword [esp + 0x7c], 0xffffffff
jne 0x458a49
jmp 0x458a41
mov ebp, dword [esp + 0x10]
mov eax, dword [esp + 0x68]
test eax, eax
jne 0x458a70
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
push ecx
push edi
call dword [sym.imp.COMCTL32.dll_ImageList_GetIconSize]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
lea ecx, [edx + eax + 2]
mov dword [esp + 0x18], ecx
jmp 0x458a70
mov ebp, dword [esp + 0x10]
push 1
push ebp
call dword [sym.imp.GDI32.dll_SetBkMode]
xor edx, edx
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], edx
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x3c], edx
push ebx
mov dword [esp + 0x44], edx
push 0x1019
mov dword [esp + 0x4c], edx
push esi
mov edi, 0x40824
mov dword [esp + 0x54], edx
mov dword [esp + 0x38], 1
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x458adc
mov eax, dword [esp + 0x2c]
and eax, 3
sub eax, 0
je 0x458adc
dec eax
je 0x458ad7
dec eax
jne 0x458adc
mov edi, 0x40825
jmp 0x458adc
mov edi, 0x40826
push edi
lea ecx, [esp + 0x1c]
push ecx
push 0xffffffffffffffff
lea edx, [esp + 0xa0]
push edx
push ebp
call dword [sym.imp.USER32.dll_DrawTextA]
test ebp, ebp
je 0x458b03
mov eax, dword [esp + 0x4c]
push eax
push ebp
call dword [sym.imp.GDI32.dll_SelectObject]
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x284
ret