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

Disassembly:
push 0xffffffffffffffff
push 0x4fc08b
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 0x4260c5
mov ecx, dword [esp + 0xb8]
mov eax, dword [ecx + 0x34]
jmp 0x4266ec
push edi
call fcn.0040b720
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 0x426106
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.004df6f2
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 [0x5798a4]
mov dword [esp + 0x6c], eax
mov eax, dword [0x579870]
mov dword [esp + 0x68], ecx
mov ecx, dword [edi]
push 2
mov dword [esp + 0x88], eax
call fcn.004dedce
mov dword [esp + 0x8c], eax
call fcn.0040b720
test byte [eax + 0x230], 2
jne 0x426181
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 [0x5748d0]
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 0x42669a
cmp ecx, eax
jne 0x42621d
mov edx, dword [esp + 0x2c]
mov ebp, 0x11
mov eax, dword [edx + 4]
jmp 0x426239
dec eax
cmp ecx, eax
jge 0x42622b
mov eax, dword [esi + 0x30]
mov eax, dword [eax + ecx*8 + 8]
jmp 0x426232
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 0x426685
call fcn.0040b720
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.004701e0
mov ecx, dword [edi]
add esp, 0x14
cmp ebp, 0x11
mov edx, dword [ecx]
je 0x42629a
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 0x4262b6
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 0x426383
mov ecx, dword [esi + 8]
cmp ecx, 1
mov dword [esp + 0x70], ecx
jle 0x426383
xor eax, eax
test ecx, ecx
jle 0x426383
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 0x426368
mov ecx, dword [esp + 0x70]
dec ecx
cmp eax, ecx
jge 0x42633e
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 0x426368
cmp eax, ecx
mov dword [esp + 0x14], eax
mov ebx, eax
jge 0x426368
mov ecx, dword [esp + 0x20]
cmp ecx, dword [ebp]
jl 0x426360
mov esi, dword [esp + 0x34]
cmp ecx, dword [esi]
mov esi, dword [esp + 0xb4]
jl 0x426383
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 0x426314
cmp ebx, dword [esp + 0x64]
jge 0x42648b
test ebx, ebx
jl 0x42648b
mov ebp, dword [esi + 8]
mov eax, ebx
dec ebp
cmp ebx, ebp
jge 0x4263c0
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 0x4263b5
cmp ebx, dword [edx]
jl 0x4263c0
inc eax
add ecx, 4
add edx, 4
cmp eax, ebp
jl 0x4263a9
mov ecx, dword [esp + 0x64]
cmp eax, ecx
jge 0x4263ec
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 0x426681
mov edx, dword [esi + 0x20]
mov eax, dword [esp + 0x1c]
mov ebx, dword [edx + ecx*4]
mov ebp, ebx
sub ebp, eax
js 0x426681
cmp ebp, dword [esp + 0x28]
jg 0x426681
call fcn.0040b720
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.004701e0
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.0040b720
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.004701e0
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 0x4264d0
cmp ebx, eax
jle 0x4264d0
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 0x426697
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x7c]
test eax, eax
jne 0x426547
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 0x42664b
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 0x42656d
mov ecx, dword [esi + 0x20]
mov eax, dword [ecx + eax*4]
cmp eax, ebp
jge 0x42656d
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 0x426626
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 0x426634
cmp ebp, dword [esp + 0x20]
je 0x42663b
mov esi, dword [esp + 0xb4]
jmp 0x42654b
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 0x42669a
mov ecx, dword [esp + 0x60]
mov eax, dword [esi + 0x34]
inc ecx
cmp ecx, eax
mov dword [esp + 0x60], ecx
jle 0x42620d
jmp 0x42669a
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.004dedce
mov edi, dword [edi + 0x34]
lea ecx, [esp + 0x18]
imul edi, dword [esp + 0x30]
mov dword [esp + 0xac], 0xffffffff
call fcn.004dbbcb
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