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

Disassembly:
push 0xffffffffffffffff
push 0x4fc37b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x94
push ebx
push ebp
push esi
mov esi, dword [esp + 0xb0]
xor ebp, ebp
mov ebx, ecx
mov eax, dword [esi]
mov dword [esp + 0x28], eax
mov eax, dword [esi + 0x34]
cmp eax, ebp
jg 0x426465
mov ecx, dword [esp + 0xb8]
mov eax, dword [ecx + 0x34]
jmp 0x426a8c
push edi
call fcn.0040b6b0
mov eax, dword [eax + 0x230]
mov edi, dword [esp + 0xbc]
shr eax, 3
and eax, 1
mov edx, dword [esi + 0x10]
mov dword [esp + 0x88], eax
mov eax, dword [edi + 0x44]
sub eax, 3
mov dword [esp + 0x38], eax
mov eax, dword [ebx + 0xd8]
cmp edx, eax
je 0x4264a6
mov eax, dword [edi + 0x48]
sub eax, 3
mov dword [esp + 0x38], eax
mov eax, dword [edi]
push 6
mov eax, dword [eax + 8]
push eax
call dword [sym.imp.GDI32.dll_GetCurrentObject]
push eax
call fcn.004df9e8
mov dword [esp + 0x78], eax
mov eax, dword [edi]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.GDI32.dll_GetTextColor]
mov dword [esp + 0x74], eax
mov eax, dword [edi]
mov edx, dword [eax + 8]
push edx
call dword [sym.imp.GDI32.dll_GetBkColor]
mov ecx, dword [0x5798d4]
mov dword [esp + 0x6c], eax
mov eax, dword [0x5798a0]
mov dword [esp + 0x68], ecx
mov ecx, dword [edi]
push 2
mov dword [esp + 0x88], eax
call fcn.004df0c4
mov dword [esp + 0x8c], eax
call fcn.0040b6b0
test byte [eax + 0x230], 2
jne 0x426521
mov dword [esp + 0x68], 0xffffff
mov dword [esp + 0x84], ebp
mov eax, dword [esp + 0xb8]
mov dword [esp + 0x24], ebp
mov edx, eax
mov dword [esp + 0x30], 1
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x10], ebp
mov ecx, dword [edx]
mov dword [esp + 0x50], ecx
mov ecx, dword [edx + 4]
mov dword [esp + 0x54], ecx
mov ecx, dword [edx + 8]
mov dword [esp + 0x58], ecx
mov ecx, dword [eax]
mov edx, dword [edx + 0xc]
mov dword [esp + 0x3c], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x5c], edx
mov edx, dword [eax + 4]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x40], edx
mov edx, dword [eax + 0xc]
mov eax, dword [esi + 0x18]
mov dword [esi + 0x18], ebp
mov ecx, dword [0x574900]
mov dword [esp + 0x48], edx
mov dword [esp + 0x64], eax
mov dword [esp + 0x18], ecx
mov eax, dword [esi + 0x34]
xor ecx, ecx
cmp eax, ebp
mov dword [esp + 0xac], ebp
mov dword [esp + 0x80], 0xffffffff
mov dword [esp + 0x60], ecx
jl 0x426a3a
cmp ecx, eax
jne 0x4265bd
mov edx, dword [esp + 0x2c]
mov ebp, 0x11
mov eax, dword [edx + 4]
jmp 0x4265d9
dec eax
cmp ecx, eax
jge 0x4265cb
mov eax, dword [esi + 0x30]
mov eax, dword [eax + ecx*8 + 8]
jmp 0x4265d2
mov edx, dword [esp + 0x2c]
mov eax, dword [edx + 4]
mov edx, dword [esi + 0x30]
mov ebp, dword [edx + ecx*8 + 4]
sub eax, dword [esp + 0x1c]
mov ebx, eax
test ebx, ebx
mov dword [esp + 0x28], ebx
jle 0x426a25
call fcn.0040b6b0
mov eax, dword [eax + 0x1d0]
mov edx, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [eax]
push ebx
push edx
push ecx
call fcn.004707e0
mov ecx, dword [edi]
add esp, 0x14
cmp ebp, 0x11
mov edx, dword [ecx]
je 0x42663a
lea eax, [edi + 0x20]
push eax
call dword [edx + 0x28]
mov ecx, dword [edi]
mov eax, dword [esp + 0x68]
push eax
mov edx, dword [ecx]
call dword [edx + 0x2c]
mov ecx, dword [edi]
mov eax, dword [esp + 0x84]
mov edx, dword [ecx]
jmp 0x426656
mov eax, dword [esp + 0x78]
push eax
call dword [edx + 0x28]
mov ecx, dword [edi]
mov eax, dword [esp + 0x6c]
push eax
mov edx, dword [ecx]
call dword [edx + 0x2c]
mov ecx, dword [edi]
mov eax, dword [esp + 0x74]
mov edx, dword [ecx]
push eax
call dword [edx + 0x30]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
or ebx, 0xffffffff
mov dword [esp + 0x7c], 0
mov eax, dword [edx - 8]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x90], eax
add eax, ecx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x88]
test eax, eax
je 0x426723
mov ecx, dword [esi + 8]
cmp ecx, 1
mov dword [esp + 0x70], ecx
jle 0x426723
xor eax, eax
test ecx, ecx
jle 0x426723
mov ebp, dword [esi + 0x20]
mov dword [esp + 0x4c], ebp
lea ecx, [ebp + 4]
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x10]
cmp ecx, dword [ebp]
jl 0x426708
mov ecx, dword [esp + 0x70]
dec ecx
cmp eax, ecx
jge 0x4266de
mov ebp, dword [esp + 0x34]
mov esi, dword [esp + 0x10]
cmp esi, dword [ebp]
mov ebp, dword [esp + 0x4c]
mov esi, dword [esp + 0xb4]
jge 0x426708
cmp eax, ecx
mov dword [esp + 0x14], eax
mov ebx, eax
jge 0x426708
mov ecx, dword [esp + 0x20]
cmp ecx, dword [ebp]
jl 0x426700
mov esi, dword [esp + 0x34]
cmp ecx, dword [esi]
mov esi, dword [esp + 0xb4]
jl 0x426723
mov dword [esp + 0x7c], 1
mov ecx, dword [esp + 0x34]
inc eax
add ecx, 4
add ebp, 4
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x70]
cmp eax, ecx
mov dword [esp + 0x4c], ebp
jl 0x4266b4
cmp ebx, dword [esp + 0x64]
jge 0x42682b
test ebx, ebx
jl 0x42682b
mov ebp, dword [esi + 8]
mov eax, ebx
dec ebp
cmp ebx, ebp
jge 0x426760
mov edx, dword [esi + 0x20]
lea ecx, [edx + ebx*4]
lea edx, [edx + ebx*4 + 4]
mov ebx, dword [esp + 0x20]
cmp ebx, dword [ecx]
jl 0x426755
cmp ebx, dword [edx]
jl 0x426760
inc eax
add ecx, 4
add edx, 4
cmp eax, ebp
jl 0x426749
mov ecx, dword [esp + 0x64]
cmp eax, ecx
jge 0x42678c
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x10]
add ebx, edx
add ecx, eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x10], ecx
jmp 0x426a21
mov edx, dword [esi + 0x20]
mov eax, dword [esp + 0x1c]
mov ebx, dword [edx + ecx*4]
mov ebp, ebx
sub ebp, eax
js 0x426a21
cmp ebp, dword [esp + 0x28]
jg 0x426a21
call fcn.0040b6b0
mov eax, dword [eax + 0x1d0]
mov edx, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [eax]
push ebp
push edx
push ecx
call fcn.004707e0
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
mov eax, dword [edx - 8]
add ecx, eax
mov eax, dword [esp + 0x3c]
sub eax, ebp
mov dword [esp + 0x24], ecx
mov dword [esp + 0x3c], eax
call fcn.0040b6b0
mov ecx, dword [eax + 0x1d0]
mov eax, dword [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x44]
lea edx, [esp + 0x30]
push edx
mov edx, dword [ecx]
push eax
push ebx
push edx
call fcn.004707e0
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x38]
add esp, 0x28
mov dword [esp + 0x1c], ebx
mov eax, dword [edx - 8]
mov ebx, dword [esp + 0x64]
add eax, ecx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x80]
test eax, eax
jl 0x426870
cmp ebx, eax
jle 0x426870
mov eax, dword [edi + 0x34]
lea edx, [esp + 0x3c]
push eax
push 0
push edx
mov dword [esp + 0x30], 0
call dword [sym.imp.USER32.dll_OffsetRect]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x48]
inc edx
cmp ecx, eax
mov dword [esp + 0x30], edx
jg 0x426a37
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x7c]
test eax, eax
jne 0x4268e7
mov eax, dword [edi]
mov ecx, dword [edx - 8]
lea ebx, [esp + 0x9c]
push ebx
push ecx
mov ecx, dword [eax + 8]
push edx
push ecx
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x50], eax
add eax, ecx
mov dword [esp + 0x54], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x5c], edx
add ecx, eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x24], ecx
mov ecx, dword [edi]
mov edx, dword [eax - 8]
lea ebp, [esp + 0x50]
mov ebx, dword [ecx]
push 0x824
push ebp
push edx
push eax
call dword [ebx + 0x68]
jmp 0x4269eb
mov ebx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ecx, dword [esi + 8]
mov ebp, dword [esp + 0x20]
inc edx
mov eax, edx
mov dword [esp + 0x14], edx
cmp eax, ecx
jge 0x42690d
mov ecx, dword [esi + 0x20]
mov eax, dword [ecx + eax*4]
cmp eax, ebp
jge 0x42690d
mov ebp, eax
mov eax, dword [esi + 4]
mov ecx, dword [edi]
mov esi, ebp
lea edx, [esp + 0x94]
mov ecx, dword [ecx + 8]
sub esi, ebx
push edx
lea eax, [eax + ebx*2]
push esi
push eax
push ecx
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x50], ecx
add ecx, eax
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0x40]
add eax, ecx
mov dword [esp + 0x24], eax
mov ecx, dword [edi]
lea eax, [esp + 0x50]
push 0x824
push eax
push esi
mov esi, dword [esp + 0xc0]
mov dword [esp + 0x60], edx
mov edx, dword [esp + 0x54]
mov eax, dword [esi + 4]
mov dword [esp + 0x68], edx
mov edx, dword [ecx]
lea eax, [eax + ebx*2]
push eax
call dword [edx + 0x68]
cmp ebp, dword [esp + 0x20]
jge 0x4269c6
mov eax, dword [edi + 0x34]
mov ecx, dword [esi + 0x20]
mov edx, dword [esp + 0x14]
push eax
lea eax, [esp + 0x40]
push 0
mov ebx, dword [ecx + edx*4]
push eax
mov dword [esp + 0x30], 0
call dword [sym.imp.USER32.dll_OffsetRect]
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x38]
inc ecx
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x48]
cmp ecx, eax
jg 0x4269d4
cmp ebp, dword [esp + 0x20]
je 0x4269db
mov esi, dword [esp + 0xb4]
jmp 0x4268eb
mov edx, dword [esp + 0x14]
mov dword [esi + 0x18], edx
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0xb4]
dec eax
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
add edx, ecx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x80], eax
mov eax, dword [edx - 8]
add ecx, eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x48]
cmp ecx, eax
jg 0x426a3a
mov ecx, dword [esp + 0x60]
mov eax, dword [esi + 0x34]
inc ecx
cmp ecx, eax
mov dword [esp + 0x60], ecx
jle 0x4265ad
jmp 0x426a3a
mov dword [esi + 0x18], ebx
mov ecx, dword [edi]
mov eax, dword [esp + 0x78]
push eax
mov edx, dword [ecx]
call dword [edx + 0x28]
mov ecx, dword [edi]
mov eax, dword [esp + 0x6c]
push eax
mov edx, dword [ecx]
call dword [edx + 0x2c]
mov ecx, dword [edi]
mov eax, dword [esp + 0x74]
push eax
mov edx, dword [ecx]
call dword [edx + 0x30]
mov ecx, dword [esp + 0x8c]
push ecx
mov ecx, dword [edi]
call fcn.004df0c4
mov edi, dword [edi + 0x34]
lea ecx, [esp + 0x18]
imul edi, dword [esp + 0x30]
mov dword [esp + 0xac], 0xffffffff
call fcn.004dbec1
mov eax, edi
pop edi
mov ecx, dword [esp + 0xa0]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xa0
ret 0xc