Function at 0x457ed0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x54146c
push eax
mov dword fs:[0], esp
sub esp, 0x10c
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x12c]
mov esi, ecx
lea ecx, [esp + 0x78]
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x50]
test eax, eax
je 0x4582be
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0x88]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esi + 0x70]
lea edx, [esp + 0x78]
push ecx
push edx
mov ecx, edi
call fcn.00522dd5
mov eax, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x1200
push eax
call ebp
mov ecx, dword [esi + 0x68]
mov dword [esp + 0x28], eax
push ecx
push 1
push 0
lea ecx, [esp + 0x3c]
call fcn.0051a734
mov edx, dword [esi + 0x6c]
lea ecx, [esp + 0x38]
push edx
push 1
push 0
mov dword [esp + 0x130], 0
call fcn.0051a734
mov eax, dword [edi + 8]
push 1
push eax
mov byte [esp + 0x12c], 1
call dword [sym.imp.GDI32.dll_GetCurrentObject]
push eax
call fcn.0051a6b2
mov ecx, dword [esi + 0x1c]
push 0
push 0
push 0x31
push ecx
mov dword [esp + 0x50], eax
call ebp
mov ebx, dword [edi]
push eax
call fcn.0051a6b2
push eax
mov ecx, edi
call dword [ebx + 0x28]
mov edx, dword [edi]
mov dword [esp + 0x44], eax
mov eax, dword [esi + 0x70]
mov ecx, edi
push eax
call dword [edx + 0x2c]
mov eax, dword [esi + 0x74]
mov edx, dword [edi]
push eax
mov ecx, edi
call dword [edx + 0x30]
mov eax, dword [esp + 0x28]
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ebx
jle 0x458262
jmp 0x457fe6
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
xor ebx, ebx
mov ecx, dword [esp + 0x20]
mov edx, dword [esi + 0x1c]
push ebx
push ecx
push 0x120f
push edx
mov dword [esp + 0x3c], ebx
call ebp
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x98]
mov ebp, eax
push ecx
push ebp
lea eax, [esp + 0xd4]
push 0x1203
push edx
mov dword [esp + 0xa8], 0x3f
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb8], 0x50
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esp + 0xb0]
test eax, eax
je 0x458068
mov ecx, dword [esi + 0x58]
mov eax, dword [eax + 4]
cmp eax, dword [ecx + 0xfc]
jne 0x458068
mov eax, dword [ecx + 0x100]
xor edx, edx
test eax, eax
setg dl
mov ebx, 1
mov dword [esp + 0x2c], edx
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
push eax
push ebp
push 0x1207
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x78]
cmp edx, eax
jge 0x45809c
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x80]
cmp eax, ecx
jg 0x45820f
mov eax, dword [esp + 0xac]
test ah, 0x80
je 0x458110
mov ecx, esi
mov dword [esp + 0x48], 4
call fcn.005162b6
mov ecx, dword [esi + 0x1c]
mov edx, dword [edi + 4]
mov dword [esp + 0x5c], ecx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x60], edx
mov edx, dword [esp + 0x14]
xor eax, eax
mov dword [esp + 0x6c], ecx
lea ecx, [esp + 0x48]
mov dword [esp + 0x58], eax
mov dword [esp + 0x68], edx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x74], eax
mov eax, dword [esi]
push ecx
mov ecx, esi
mov dword [esp + 0x54], ebp
mov dword [esp + 0x58], 1
mov dword [esp + 0x74], edx
call dword [eax + 0xb8]
jmp 0x458188
mov eax, dword [esi + 0x64]
push 0
neg eax
lea edx, [esp + 0x14]
push eax
push edx
call dword [sym.imp.USER32.dll_InflateRect]
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0x98]
push ecx
push ebx
push edx
mov edx, dword [esp + 0x1c]
sub esp, 0x10
mov eax, dword [esi]
mov ecx, esp
push edi
mov dword [ecx], edx
mov edx, dword [esp + 0x34]
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x38]
mov dword [ecx + 8], edx
mov edx, dword [esp + 0x3c]
mov dword [ecx + 0xc], edx
mov ecx, esi
call dword [eax + 0xbc]
mov eax, dword [esi + 0x64]
push 0
push eax
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
mov eax, dword [esi + 0x78]
test eax, eax
je 0x458188
cmp dword [eax + 8], ebp
jne 0x458188
mov edx, dword [edi + 4]
lea ecx, [esp + 0x10]
push ecx
push edx
call dword [sym.imp.USER32.dll_InvertRect]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
dec eax
cmp ecx, eax
jge 0x45820f
lea ecx, [esp + 0x38]
push ecx
mov ecx, edi
call fcn.00519cc6
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
add edx, 2
dec eax
push edx
lea ecx, [esp + 0xc8]
push eax
push ecx
mov ecx, edi
call fcn.0051a12a
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
add edx, 0xfffffffe
dec eax
push edx
push eax
mov ecx, edi
call fcn.0051a176
lea ecx, [esp + 0x30]
push ecx
mov ecx, edi
call fcn.00519cc6
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
add edx, 2
lea ecx, [esp + 0xbc]
push edx
push eax
push ecx
mov ecx, edi
call fcn.0051a12a
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
add edx, 0xfffffffe
mov ecx, edi
push edx
push eax
call fcn.0051a176
mov ecx, dword [esp + 0x9c]
mov ebx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
add ebx, ecx
mov ecx, dword [esp + 0x28]
inc eax
cmp eax, ecx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], eax
jl 0x457fde
mov eax, ebx
test eax, eax
jle 0x458262
mov edx, dword [esp + 0x88]
mov ecx, dword [esi + 0x68]
add eax, edx
lea edx, [esp + 0x88]
mov dword [esp + 0x90], eax
mov eax, dword [esi + 0x6c]
push eax
push ecx
push edx
mov ecx, edi
call fcn.00522e4b
mov ecx, dword [esp + 0x44]
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x28]
mov edx, dword [esp + 0x40]
mov ecx, edi
push edx
call fcn.00519cc6
lea ecx, [esp + 0x30]
call fcn.0051a71e
lea ecx, [esp + 0x38]
call fcn.0051a71e
mov esi, vtable.CGdiObject.0
mov dword [esp + 0x38], esi
lea ecx, [esp + 0x38]
mov byte [esp + 0x124], 2
call fcn.0051a71e
mov dword [esp + 0x30], esi
lea ecx, [esp + 0x30]
mov dword [esp + 0x124], 3
call fcn.0051a71e
mov ecx, dword [esp + 0x11c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x118
ret 4