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

Disassembly:
push 0xffffffffffffffff
push 0x436114
mov eax, dword fs:[0]
push eax
sub esp, 0xc8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x449030]
xor eax, esp
push eax
lea eax, [esp + 0xdc]
mov dword fs:[0], eax
mov eax, dword [esp + 0xf4]
mov ebp, dword [esp + 0xec]
mov esi, ecx
xor ebx, ebx
and eax, 2
mov dword [esp + 0xe4], ebx
je 0x4258a0
mov eax, dword [esi + 0x40]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
neg eax
sbb eax, eax
neg eax
jne 0x4257f6
call fcn.00431d0e
mov ecx, dword [esp + 0xf8]
xor eax, eax
cmp ecx, ebx
setne al
cmp eax, ebx
jne 0x42580d
call fcn.00431d0e
mov edx, dword [esi + 0x40]
mov dword [esp + 0xb4], ecx
lea ecx, [esp + 0xb0]
push ecx
push ebx
push 0x113e
push edx
mov dword [esp + 0xc0], 4
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [esp + 0xd4], ebx
je 0x4258a0
mov eax, dword [esi + 0x48]
push eax
lea ecx, [esp + 0x48]
call sub.MFC80U.DLL_Ordinal_326
cmp eax, ebx
mov edi, dword [esp + 0x104]
mov ecx, dword [esp + 0x108]
mov edx, dword [esp + 0x10c]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], edx
jne 0x42587a
xor eax, eax
jmp 0x42587d
mov eax, dword [eax + 4]
mov ecx, dword [ebp + 4]
push eax
lea eax, [esp + 0x38]
push eax
push ecx
call dword [sym.imp.USER32.dll_FillRect]
lea ecx, [esp + 0x44]
mov dword [esp + 0x44], vtable.CBrush.0
call fcn.00406550
jmp 0x4258a7
mov edi, dword [esp + 0x104]
mov ecx, dword [esp + 0x10c]
mov eax, dword [esp + 0x10c]
mov edx, dword [esp + 0x108]
mov ebx, dword [esp + 0x100]
sub ecx, edi
mov dword [esp + 0x40], eax
mov eax, ecx
mov dword [esp + 0x3c], edx
cdq
sub eax, edx
mov dword [esp + 0x38], edi
mov edi, eax
sar edi, 1
cmp dword [esp + 0xfc], 0
lea eax, [edi + ebx]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x18], eax
mov ebx, ebp
je 0x4258f7
mov edx, dword [esi + 0x4c]
push edx
jmp 0x4258fd
mov ecx, dword [esi + 0x4c]
push ecx
mov ecx, edi
mov edx, dword [esp + 0x3c]
push edx
push eax
mov eax, 1
call fcn.00425c50
mov eax, dword [esi + 0x4c]
mov edx, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x108]
lea ecx, [edi + eax]
push ecx
push edx
mov ecx, 1
mov eax, edi
mov ebx, ebp
call fcn.00425c50
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x100]
mov edx, dword [esp + 0x104]
lea eax, [eax + ecx + 0xa]
mov ecx, dword [esp + 0x10c]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x108]
mov dword [esp + 0x50], edx
mov edx, dword [ebp + 8]
mov dword [esp + 0x54], eax
add eax, 0xffffffdb
push edx
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x58], eax
call dword [sym.imp.GDI32.dll_GetTextColor]
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x40]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
neg eax
sbb eax, eax
neg eax
jne 0x425993
call fcn.00431d0e
mov ecx, dword [esp + 0xf8]
xor eax, eax
xor edi, edi
cmp ecx, edi
setne al
cmp eax, edi
jne 0x4259ac
call fcn.00431d0e
mov edx, dword [esi + 0x40]
mov dword [esp + 0xb4], ecx
lea ecx, [esp + 0xb0]
push ecx
push edi
push 0x113e
push edx
mov dword [esp + 0xc0], 4
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [esp + 0xd4], edi
mov eax, dword [ebp]
mov edx, dword [eax + 0x38]
mov ecx, ebp
je 0x4259ee
push 0x9b6146
jmp 0x4259f3
push 0x666666
call edx
mov eax, dword [esp + 0xf0]
mov ecx, dword [eax - 0xc]
mov edx, dword [ebp]
push 0x40824
lea ebx, [esp + 0x50]
push ebx
push ecx
push eax
mov eax, dword [edx + 0x70]
mov ecx, ebp
call eax
mov edx, dword [ebp]
mov eax, dword [esp + 0x1c]
mov edx, dword [edx + 0x38]
push eax
mov ecx, ebp
call edx
mov eax, dword [esp + 0x18]
add eax, 0x1b
mov dword [esp + 0x108], eax
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
cdq
sub eax, edx
mov edx, dword [esi + 0x54]
mov ecx, eax
mov eax, dword [esp + 0x104]
sar ecx, 1
add eax, ecx
mov ecx, dword [edx + 0x20]
mov dword [esp + 0x104], eax
add eax, 0x10
mov dword [esp + 0x10c], eax
mov eax, dword [esi + 0x50]
mov edx, dword [eax + 0x1c]
mov eax, 0x55555556
imul edx
mov eax, edx
shr eax, 0x1f
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0xf8]
add eax, edx
cmp ecx, dword [esi + 0x58]
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], eax
jne 0x425abd
xor ebx, ebx
cmp dword [esi + 0x5c], edi
jle 0x425abd
jmp 0x425aa4
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x20]
push edi
push eax
lea edx, [esp + 0x28]
push edx
call dword [sym.imp.USER32.dll_OffsetRect]
add ebx, 1
cmp ebx, dword [esi + 0x5c]
jl 0x425aa0
xor eax, eax
mov dword [esp + 0x64], edi
mov dword [esp + 0x60], edi
mov dword [esp + 0x5c], vtable.FCObjImage.0
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0xa0], edi
mov dword [esp + 0x9c], edi
mov dword [esp + 0x98], edi
mov dword [esp + 0x90], edi
mov dword [esp + 0x94], edi
mov dword [esp + 0xa4], edi
mov dword [esp + 0xa8], edi
mov ebx, 1
mov byte [esp + 0xe4], bl
mov eax, dword [esi + 0x40]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x425b53
call fcn.00431d0e
mov eax, dword [esp + 0xf8]
cmp eax, edi
jne 0x425b63
call fcn.00431d0e
mov edx, dword [esi + 0x40]
lea ecx, [esp + 0xb0]
push ecx
push edi
push 0x113e
push edx
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc0], 4
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
sub esp, 0x10
cmp dword [esp + 0xe4], ebx
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x38]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x3c]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
lea ebx, [esp + 0x6c]
jne 0x425bbf
mov eax, dword [esi + 0x50]
jmp 0x425bc2
mov eax, dword [esi + 0x54]
add eax, 0xc
push eax
call fcn.00427060
lea ecx, [esp + 0x5c]
push ecx
call fcn.00426c80
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x104]
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x118]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x11c]
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov ecx, dword [ebp + 4]
lea edi, [esp + 0x6c]
call fcn.00426680
add esp, 0x10
mov esi, edi
mov dword [esp + 0x5c], vtable.FCObjImage.0
call fcn.00422f30
lea ecx, [esp + 0xf0]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov ecx, dword [esp + 0xdc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xd4
ret 0x24