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

Disassembly:
push 0xffffffffffffffff
push 0x563468
mov eax, dword fs:[0]
push eax
sub esp, 0xf4
mov eax, dword [0x5b7b5c]
xor eax, esp
mov dword [esp + 0xf0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5b7b5c]
xor eax, esp
push eax
lea eax, [esp + 0x108]
mov dword fs:[0], eax
mov eax, dword [esp + 0x11c]
mov esi, dword [esp + 0x118]
mov edi, dword [esp + 0x120]
mov ebp, ecx
cmp dword [ebp + 0x58], 0
mov dword [esp + 0x18], eax
je 0x490467
call fcn.00504314
cmp dword [eax + 0x1dc], 0
je 0x490467
test edi, edi
jne 0x48f314
mov edx, dword [ebp + 0x6c]
mov ecx, dword [ebp + 0x64]
mov ebx, dword [ebp + 0x7c]
mov eax, dword [ebp + 0x80]
mov dword [esp + 0x20], edx
mov edx, dword [ebp + 0xa0]
mov edx, dword [edx + 0x114]
mov dword [esp + 0x7c], ecx
mov ecx, dword [ebp + 0x68]
mov dword [esp + 0x5c], edx
mov edx, dword [0x5ed13c]
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], 2
jmp 0x48f344
mov edx, dword [edi + 0x10]
mov ecx, dword [edi + 8]
mov ebx, dword [edi]
mov eax, dword [edi + 4]
mov dword [esp + 0x20], edx
mov edx, dword [edi + 0x14]
mov dword [esp + 0x7c], ecx
mov ecx, dword [edi + 0xc]
mov dword [esp + 0x5c], edx
mov edx, dword [edi + 0x18]
mov dword [esp + 0x28], 1
mov dword [esp + 0x2c], 0
mov dword [esp + 0x24], edx
mov edx, dword [0x5c3e88]
imul edx, eax
mov eax, dword [esp + 0x7c]
sub eax, edx
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x18]
mov edi, dword [eax + 4]
cmp ecx, edi
jle 0x48f368
mov edi, ecx
mov eax, edi
sub eax, ecx
cdq
idiv dword [0x5c3e74]
sub edi, edx
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 0xc]
mov dword [esp + 0x44], eax
mov eax, edi
sub eax, ecx
cdq
idiv dword [0x5c3e74]
xor ecx, ecx
mov dword [esp + 0x6c], edi
add eax, ebx
test eax, eax
setl cl
dec ecx
and ecx, eax
mov dword [esp + 0x54], ecx
mov ecx, dword [ebp + 0xa0]
cmp dword [ecx + 0x9c], 0
je 0x48f3b6
mov edx, dword [ecx + 0x300]
jmp 0x48f3d7
cmp dword [ecx + 0x78], 0
jne 0x48f3d1
cmp dword [ecx + 0x84], 0
jne 0x48f3d1
mov eax, dword [ecx + 0x2e8]
mov dword [esp + 0x30], eax
jmp 0x48f3db
mov edx, dword [ecx + 0x184]
mov dword [esp + 0x30], edx
mov eax, dword [ecx + 0x2e8]
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x78], eax
mov eax, dword [0x5ed84c]
xor edi, edi
cdq
sub eax, edx
sar eax, 1
mov edx, edi
sets dl
mov dword [esp + 0x94], edi
mov dword [esp + 0x8c], edi
mov dword [esp + 0x64], edi
mov dword [esp + 0xb0], edi
dec edx
and edx, eax
mov dword [esp + 0x88], edx
cmp ebx, edi
jne 0x48f46f
mov eax, dword [ebp + 0x70]
mov edx, dword [ebp + 0x74]
push eax
push edx
lea eax, [esp + 0xb8]
push eax
lea edx, [esp + 0x70]
push edx
call fcn.00472d20
mov ecx, dword [esp + 0x64]
cmp ecx, edi
jle 0x48f46f
mov eax, dword [ebp + 0x160]
cdq
idiv dword [0x5c3e74]
add eax, dword [ebp + 0x7c]
cmp ecx, eax
jle 0x48f46f
dec ecx
mov dword [esp + 0x64], ecx
push ecx
mov ecx, dword [ebp + 0xa0]
call fcn.0048c200
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
cmp ecx, dword [esp + 0x20]
jg 0x48f96c
mov edx, dword [esp + 0x54]
push 2
push esi
mov dword [esp + 0x1c], edx
call dword [sym.imp.GDI32.dll_SetTextAlign]
mov eax, dword [0x5ba288]
push eax
push esi
call dword [sym.imp.GDI32.dll_SetTextColor]
mov ecx, dword [0x5ba1f0]
push ecx
push esi
call dword [sym.imp.GDI32.dll_SetBkColor]
cmp ebx, edi
jne 0x48f503
mov edx, dword [ebp + 0xa0]
cmp dword [edx + 0x84], edi
je 0x48f503
mov eax, dword [0x5ba2a8]
mov edi, dword [sym.imp.GDI32.dll_CreatePen]
push eax
push 0
push 0
call edi
mov ecx, dword [0x5ba2ac]
push ecx
push 0
push 0
mov dword [esp + 0x54], eax
call edi
mov edx, dword [0x5ba210]
mov edi, dword [sym.imp.GDI32.dll_CreateSolidBrush]
push edx
mov dword [esp + 0x78], eax
call edi
mov dword [esp + 0x50], eax
mov eax, dword [0x5ba214]
push eax
call edi
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x6c]
cmp eax, dword [esp + 0x44]
mov dword [esp + 0x1c], eax
jge 0x48f86e
mov eax, dword [0x5c3e74]
lea ebx, [ebx]
mov ecx, dword [esp + 0x6c]
mov edi, dword [esp + 0x1c]
cmp ecx, edi
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], ecx
jg 0x48f53c
mov dword [esp + 0x38], edi
mov ebx, dword [esp + 0x14]
cmp ebx, dword [esp + 0x30]
mov edx, dword [esp + 0x20]
lea ecx, [edi + eax]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x3c], edx
jge 0x48f832
push 0
push ebx
lea eax, [esp + 0x94]
push eax
lea ecx, [esp + 0xa0]
push ecx
mov ecx, dword [ebp + 0xa0]
call fcn.00473590
cmp dword [esp + 0x28], 0
jne 0x48f63d
cmp ebx, dword [esp + 0x64]
jne 0x48f63d
cmp dword [ebp + 0x128], 0
je 0x48f63d
cmp dword [0x5ed84c], 0
jle 0x48f5ec
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x34]
push 0
push 0
push 0
mov dword [esp + 0xac], eax
lea eax, [esp + 0xa8]
push eax
mov dword [esp + 0xb4], ecx
mov ecx, dword [esp + 0x3c]
push ecx
push 0
mov dword [esp + 0xb4], edx
mov edx, dword [esp + 0x58]
push 0
push esi
mov dword [esp + 0xc8], edx
call dword [sym.imp.GDI32.dll_ExtTextOutW]
cmp dword [esp + 0x8c], 0
jne 0x48f61a
mov edx, dword [ebp + 0xa0]
mov eax, dword [esp + 0x94]
mov ecx, dword [edx + 0x334]
lea eax, [eax + eax*8]
cmp dword [ecx + eax*4 + 0x14], 0
je 0x48f61a
mov eax, 1
jmp 0x48f61c
xor eax, eax
mov edx, dword [esp + 0x88]
push eax
lea eax, [edi + edx]
push eax
push 0
push esi
mov ecx, 0x5ba30c
call fcn.0040d500
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x34], ecx
mov ecx, dword [ebp + 0xa0]
cmp dword [ecx + 0x78], 0
je 0x48f657
push ebx
call fcn.00470e50
test eax, eax
jne 0x48f832
mov edx, dword [ebp + 0xa0]
cmp dword [edx + 0x80], 0
je 0x48f6cc
mov eax, dword [esp + 0x94]
push 0xa
push 0x14
lea ecx, [esp + 0xe4]
inc eax
push ecx
push eax
call fcn.005403b7
lea eax, [esp + 0xec]
add esp, 0x10
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x48f690
mov ecx, dword [esp + 0x2c]
sub eax, edx
push 0
sar eax, 1
push eax
lea edx, [esp + 0xe4]
push edx
mov edx, dword [esp + 0x94]
lea eax, [esp + 0x40]
push eax
mov eax, dword [esp + 0x6c]
or ecx, 4
push ecx
add edi, edx
sub eax, dword [esp + 0x38]
push edi
push eax
jmp 0x48f6e0
mov edx, dword [esp + 0x2c]
push 0
push 0
push 0
lea ecx, [esp + 0x40]
push ecx
push edx
push 0
push 0
push esi
call dword [sym.imp.GDI32.dll_ExtTextOutW]
cmp dword [esp + 0x28], 0
jne 0x48f84d
mov ecx, dword [ebp + 0xa0]
cmp dword [ecx + 0x84], 0
je 0x48f84d
mov eax, dword [esp + 0x18]
mov edx, dword [eax + 8]
cmp edx, dword [0x5ed13c]
jle 0x48f84d
mov eax, dword [esp + 0x78]
lea edx, [eax - 1]
mov eax, dword [esp + 0x94]
cmp eax, edx
jge 0x48f84d
mov ecx, dword [ecx + 0x334]
lea eax, [eax + eax*8]
lea eax, [ecx + eax*4]
mov ecx, dword [eax]
dec ecx
test ecx, ecx
jle 0x48f84d
mov ebx, dword [eax + 0x10]
test ebx, ebx
je 0x48f84d
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
jle 0x48f76b
mov edx, dword [esp + 0x74]
push edx
push esi
call edi
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x4c]
push eax
jmp 0x48f77c
mov ecx, dword [esp + 0x48]
push ecx
push esi
call edi
mov edx, dword [esp + 0x50]
mov dword [esp + 0x58], eax
push edx
push esi
call edi
mov ecx, dword [0x5ed130]
mov dword [esp + 0x70], eax
mov eax, dword [0x5c3e74]
sub eax, ecx
inc eax
cdq
sub eax, edx
mov edi, eax
sar edi, 1
add edi, dword [esp + 0x1c]
lea eax, [edi + ecx]
push eax
mov eax, dword [esp + 0x40]
push eax
push edi
sub eax, ecx
push eax
push esi
call dword [sym.imp.GDI32.dll_Rectangle]
mov ecx, dword [0x5ed12c]
mov eax, dword [esp + 0x3c]
sub eax, dword [0x5ed130]
push 0
lea edx, [edi + ecx]
push edx
push eax
push esi
call dword [sym.imp.GDI32.dll_MoveToEx]
mov ecx, dword [0x5ed12c]
mov eax, dword [esp + 0x3c]
lea edx, [edi + ecx]
push edx
push eax
push esi
call dword [sym.imp.GDI32.dll_LineTo]
test ebx, ebx
jle 0x48f81a
mov ecx, dword [esp + 0x3c]
sub ecx, dword [0x5ed12c]
push 0
push edi
dec ecx
push ecx
push esi
call dword [sym.imp.GDI32.dll_MoveToEx]
mov eax, dword [esp + 0x3c]
mov edx, dword [0x5ed130]
sub eax, dword [0x5ed12c]
add edi, edx
push edi
dec eax
push eax
push esi
call dword [sym.imp.GDI32.dll_LineTo]
mov ecx, dword [esp + 0x58]
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
push ecx
push esi
call edi
mov edx, dword [esp + 0x70]
push edx
push esi
call edi
jmp 0x48f84d
mov ecx, dword [esp + 0x2c]
push 0
push 0
push 0
lea eax, [esp + 0x40]
push eax
push ecx
push 0
push 0
push esi
call dword [sym.imp.GDI32.dll_ExtTextOutW]
mov ecx, dword [esp + 0x1c]
mov eax, dword [0x5c3e74]
inc dword [esp + 0x14]
add ecx, eax
cmp ecx, dword [esp + 0x44]
mov dword [esp + 0x1c], ecx
jl 0x48f520
mov ebx, dword [esp + 0x28]
test ebx, ebx
jne 0x48f8a2
mov edx, dword [ebp + 0xa0]
cmp dword [edx + 0x84], ebx
je 0x48f8a2
mov eax, dword [esp + 0x48]
mov edi, dword [sym.imp.GDI32.dll_DeleteObject]
push eax
call edi
mov ecx, dword [esp + 0x74]
push ecx
call edi
mov edx, dword [esp + 0x50]
push edx
call edi
mov eax, dword [esp + 0x4c]
push eax
call edi
push 0
push esi
call dword [sym.imp.GDI32.dll_SetTextAlign]
test ebx, ebx
jne 0x48f960
mov ecx, dword [ebp + 0xa0]
cmp dword [ecx + 0xf0], ebx
jle 0x48f960
mov ebx, dword [esp + 0x6c]
mov edi, dword [esp + 0x54]
xor edx, edx
cmp dword [ebp + 0x128], edx
sete dl
cmp ebx, dword [esp + 0x44]
mov dword [esp + 0x84], edx
jge 0x48f960
cmp edi, dword [esp + 0x30]
jge 0x48f960
mov ecx, dword [ebp + 0xa0]
push edi
call fcn.00470e50
test eax, eax
jne 0x48f953
push eax
push edi
lea eax, [esp + 0x98]
push eax
lea ecx, [esp + 0x6c]
push ecx
mov ecx, dword [ebp + 0xa0]
call fcn.00473590
cmp edi, dword [esp + 0x64]
jne 0x48f925
cmp dword [esp + 0x84], 0
je 0x48f953
mov eax, dword [esp + 0x60]
lea edx, [eax + eax*8]
mov eax, dword [ebp + 0xa0]
mov ecx, dword [eax + 0x334]
cmp dword [ecx + edx*4 + 0x14], 0
je 0x48f953
mov edx, dword [esp + 0x88]
lea eax, [ebx + edx]
push eax
push esi
call fcn.0040d1d0
add esp, 8
add ebx, dword [0x5c3e74]
inc edi
cmp ebx, dword [esp + 0x44]
jl 0x48f8e5
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
mov dword [edx], ecx
mov eax, edx
mov ecx, dword [eax + 8]
cmp ecx, dword [eax]
mov edi, dword [esp + 0x54]
jle 0x490467
mov ebx, dword [esp + 0x30]
cmp edi, ebx
mov dword [esp + 0x84], 0
jge 0x48fc31
mov ecx, dword [ebp + 0xa0]
push 0
push edi
lea edx, [esp + 0x94]
push edx
lea eax, [esp + 0x58]
push eax
call fcn.00473590
mov eax, dword [esp + 0x44]
sub eax, dword [esp + 0x6c]
cdq
idiv dword [0x5c3e74]
test eax, eax
jle 0x48f9c5
test edx, edx
jne 0x48f9c5
dec eax
add eax, edi
lea ecx, [ebx - 1]
cmp ecx, eax
jge 0x48f9d0
mov eax, ecx
push 0
push eax
lea ecx, [esp + 0x94]
push ecx
mov ecx, dword [ebp + 0xa0]
lea edx, [esp + 0x28]
push edx
call fcn.00473590
mov edi, dword [esp + 0x4c]
mov ecx, dword [esp + 0x1c]
cmp edi, ecx
jg 0x48fa32
lea ebx, [edi + edi*8]
add ebx, ebx
add ebx, ebx
mov edi, edi
mov ecx, dword [ebp + 0xa0]
cmp dword [ecx + 0x9c], 0
jne 0x48fa1c
mov eax, dword [ecx + 0x334]
cmp dword [eax + ebx + 0x20], 0
jne 0x48fa22
push edi
call fcn.0046fe30
mov ecx, dword [esp + 0x1c]
inc edi
add ebx, 0x24
cmp edi, ecx
jle 0x48fa00
mov edi, dword [esp + 0x4c]
mov eax, dword [ebp + 0xa0]
cmp dword [eax + 0x2b8], 0
jne 0x48fc31
cmp dword [0x5ba554], 0
jne 0x48fc31
mov edx, dword [eax + 0xec]
imul edx, edx, 0x190
cmp dword [edx + 0x5bd3d8], 0
jg 0x48fa74
cmp dword [0x5ed838], 0
je 0x48fc31
cmp edi, ecx
mov dword [esp + 0x14], edi
jg 0x48fc31
lea edi, [edi + edi*8]
add edi, edi
add edi, edi
jmp 0x48fa90
mov ecx, dword [ebp + 0xa0]
mov eax, dword [ecx + 0x334]
mov eax, dword [eax + edi + 0x1c]
mov dword [esp + 0x50], eax
cmp eax, 0xffffffff
jne 0x48fc1b
mov eax, ecx
mov edx, dword [eax + 0x334]
mov ebx, dword [edx + edi]
mov eax, dword [eax + 0x334]
add edx, edi
dec ebx
mov dword [esp + 0x24], ebx
mov ebx, dword [edx + 0xc]
xor edx, edx
add eax, edi
mov eax, dword [eax + 8]
mov dword [esp + 0x9c], vtable.CArray_struct_COLORSIG__struct_COLORSIG__.0
mov dword [esp + 0xa0], edx
mov dword [esp + 0xac], edx
mov dword [esp + 0xa8], edx
mov dword [esp + 0xa4], edx
mov dword [esp + 0x110], edx
cmp dword [ecx + 0xac], edx
je 0x48fb1b
lea edx, [esp + 0x9c]
push edx
mov edx, dword [esp + 0x28]
push ebx
push edx
push eax
call fcn.004760d0
jmp 0x48fb51
mov edx, dword [ecx + 0xec]
imul edx, edx, 0x190
cmp dword [edx + 0x5bd3d8], 0
lea edx, [esp + 0x9c]
push edx
mov edx, dword [esp + 0x28]
jne 0x48fb47
push 0
push edx
push eax
call fcn.00475e80
jmp 0x48fb53
push ebx
push 0
push edx
push eax
call fcn.004751b0
mov ebx, eax
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0xa0]
push ecx
call fcn.0048d500
mov dword [esp + 0x88], eax
mov eax, dword [ebp + 0xa0]
mov edx, dword [eax + 0x334]
mov dword [esp + 0x68], eax
mov eax, dword [edx + edi + 0x18]
push eax
call fcn.004ff96a
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax + 0x334]
mov edx, dword [esp + 0x8c]
mov dword [ecx + edi + 0x18], edx
mov eax, dword [eax + 0x334]
mov ecx, dword [esp + 0x5c]
add esp, 0xc
cmp dword [esp + 0x28], 0
mov dword [eax + edi + 0x1c], ecx
jne 0x48fbf1
cmp dword [0x5ba554], 0
jne 0x48fbf1
mov edx, dword [esp + 0x78]
dec edx
cmp dword [esp + 0x14], edx
jge 0x48fbf1
mov ecx, dword [ebp + 0xa0]
mov eax, dword [ecx + 0x334]
cmp ebx, dword [eax + edi + 0x30]
je 0x48fbf1
mov eax, dword [esp + 0x14]
inc eax
push ebx
push eax
call fcn.00470ef0
mov eax, dword [esp + 0x14]
inc eax
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x110], 0xffffffff
mov dword [esp + 0x9c], vtable.CArray_struct_COLORSIG__struct_COLORSIG__.0
test eax, eax
je 0x48fc1b
push eax
call fcn.004ff96a
add esp, 4
mov eax, dword [esp + 0x14]
inc eax
add edi, 0x24
cmp eax, dword [esp + 0x1c]
mov dword [esp + 0x14], eax
jle 0x48fa90
cmp dword [ebp + 0x80], 0
jle 0x48fc93
mov edi, dword [esp + 0x18]
mov eax, dword [edi]
mov ebx, dword [esp + 0x7c]
cmp eax, ebx
jge 0x48fc93
mov edx, dword [edi + 4]
mov ecx, eax
mov dword [esp + 0x34], ecx
mov ecx, dword [edi + 8]
mov dword [esp + 0x3c], ecx
mov ecx, dword [edi + 0xc]
mov dword [esp + 0x40], ecx
mov ecx, dword [ebp + 0x68]
cmp ecx, edx
mov dword [esp + 0x38], edx
jle 0x48fc6e
mov dword [esp + 0x38], ecx
push 0
push 0
push 0
lea edx, [esp + 0x40]
push edx
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x3c]
push eax
push 0
push 0
push esi
mov dword [esp + 0x5c], ebx
call dword [sym.imp.GDI32.dll_ExtTextOutW]
mov dword [edi], ebx
cmp dword [esp + 0x28], 0
jne 0x48fcb4
mov ecx, dword [ebp + 0xa0]
cmp dword [ecx + 0xa0], 0
je 0x48fcb4
mov edi, 1
mov dword [esp + 0x5c], edi
jmp 0x48fcc1
mov dword [esp + 0x5c], 0
mov edi, 1
mov edx, dword [ebp + 0x20]
push edx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.0050327e
mov edx, dword [eax]
push 0
mov ecx, eax
mov eax, dword [edx + 0x16c]
push 0
call eax
xor ecx, ecx
cmp eax, ebp
mov eax, dword [ebp + 0xa0]
mov edx, dword [eax + 0x290]
sete cl
cmp dword [0x5ed714], 0
mov dword [esp + 0x60], ecx
mov ecx, dword [edx - 0xc]
mov dword [esp + 0x1c], ecx
je 0x48fd1f
cmp dword [eax + 0x100], edi
jne 0x48fd1f
cmp dword [esp + 0x28], 0
jne 0x48fd1f
mov dword [esp + 0x78], edi
test ecx, ecx
jg 0x48fd27
mov dword [esp + 0x78], 0
mov eax, dword [0x5ba1e0]
push eax
push esi
call dword [sym.imp.GDI32.dll_SetBkColor]
push 1
push esi
call dword [sym.imp.GDI32.dll_SetBkMode]
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov edi, dword [esp + 0x6c]
cmp edi, dword [esp + 0x44]
mov ebx, dword [esp + 0x18]
mov dword [esp + 0xb4], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0xb8], edx
mov edx, dword [eax + 0xc]
mov eax, dword [esp + 0x54]
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xc0], edx
mov dword [esp + 0x14], eax
jge 0x490349
mov ecx, dword [esp + 0x30]
cmp dword [esp + 0x14], ecx
jge 0x490349
mov eax, dword [esp + 0x14]
mov edx, ecx
xor ebx, ebx
dec edx
cmp edx, eax
sete bl
cmp dword [0x5ed824], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x90], ebx
je 0x48fdfd
cmp eax, dword [esp + 0x64]
jne 0x48fdfd
cmp dword [ebp + 0x1f4], 0
jne 0x48fdce
cmp dword [ebp + 0x1f8], 0
je 0x48fdd9
push 0
push 1
mov ecx, ebp
call fcn.0048e970
mov eax, dword [0x5ba278]
mov ecx, dword [0x5ba280]
mov edx, dword [0x5ba1e8]
mov dword [esp + 0x80], eax
mov dword [0x5ba278], ecx
push edx
jmp 0x48fe93
cmp dword [0x5ed820], 0
je 0x48fea2
cmp dword [esp + 0x28], 0
jne 0x48fea2
mov ecx, dword [ebp + 0xa0]
cmp dword [ecx + 0xf0], 0
jle 0x48fea2
mov eax, dword [esp + 0x14]
push eax
call fcn.00470e50
test eax, eax
jne 0x48fea2
mov ecx, dword [esp + 0x14]
push eax
push ecx
mov ecx, dword [ebp + 0xa0]
lea edx, [esp + 0xe0]
push edx
lea eax, [esp + 0xd4]
push eax
call fcn.00473590
mov eax, dword [esp + 0xc8]
mov edx, dword [ebp + 0xa0]
lea ecx, [eax + eax*8]
mov eax, dword [edx + 0x334]
cmp dword [eax + ecx*4 + 0x14], 0
je 0x48fea2
mov ecx, dword [0x5ba278]
mov edx, dword [0x5ba2b8]
mov eax, dword [0x5ba220]
mov dword [esp + 0x80], ecx
mov dword [0x5ba278], edx
push eax
push esi
call dword [sym.imp.GDI32.dll_SetBkColor]
mov dword [esp + 0x58], 1
mov ecx, dword [0x5c3e74]
push 0
push 0
push 0
lea edx, [edi + ecx]
mov ecx, dword [esp + 0x38]
lea eax, [esp + 0xc0]
push eax
push ecx
push 0
push 0
push esi
mov dword [esp + 0xd8], edi
mov dword [esp + 0xe0], edx
call dword [sym.imp.GDI32.dll_ExtTextOutW]
cmp dword [esp + 0x5c], 0
je 0x48fefe
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 8]
mov ecx, dword [esp + 0x7c]
mov edx, dword [0x5c3e74]
push eax
push ecx
lea eax, [edi + edx]
push eax
push edi
push esi
mov ecx, ebp
call fcn.004880c0
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x98], ecx
mov ecx, dword [ebp + 0xa0]
push edx
call fcn.0048c200
lea ecx, [esp + 0xd0]
push ecx
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x74]
push edx
mov edx, dword [esp + 0x1c]
push 0
push ecx
mov ecx, dword [ebp + 0xa0]
push eax
push edx
mov dword [esp + 0x8c], eax
push edi
lea eax, [esp + 0xb4]
push eax
push esi
call fcn.00478750
cmp dword [esp + 0x78], 0
je 0x49022a
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [ebp + 0xa0]
push edx
call fcn.00470d60
cmp dword [esp + 0x60], 0
je 0x48ff90
mov eax, dword [ebp + 0xa0]
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x4c], 1
cmp ecx, dword [eax + 0x1a8]
je 0x48ff98
mov dword [esp + 0x4c], 0
mov edx, dword [ebp + 0xa0]
mov eax, dword [edx + 0x290]
mov ecx, dword [0x5ed804]
mov edx, dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x24]
push edx
push eax
mov eax, dword [esp + 0x80]
push eax
push 0
push ecx
call fcn.0046e540
mov ebx, eax
add esp, 0x18
cmp ebx, 0xffffffff
je 0x490223
mov edx, dword [ebp + 0xa0]
mov eax, dword [edx + 0x158]
imul eax, eax, 0x190
add eax, 0x5bd258
mov dword [esp + 0x24], eax
mov edi, edi
cmp dword [esp + 0x4c], 0
mov eax, dword [esp + 0xd0]
je 0x490013
mov edx, dword [ebp + 0xa0]
lea ecx, [ebx + eax]
cmp ecx, dword [edx + 0x1ac]
je 0x4901e7
add eax, ebx
je 0x490048
mov ecx, dword [esp + 0x20]
movzx edx, word [ecx + ebx*2 - 2]
mov ecx, dword [esp + 0x24]
push edx
call fcn.00422b10
test eax, eax
jne 0x490048
mov eax, dword [esp + 0x20]
movzx ecx, word [eax + ebx*2]
push ecx
mov ecx, dword [esp + 0x28]
call fcn.00422b10
test eax, eax
je 0x4901e7
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
lea eax, [ebx + edx]
lea eax, [ecx + eax*2]
mov dword [esp + 0x48], eax
movzx eax, word [eax]
xor edx, edx
cmp dx, ax
je 0x49008c
mov ecx, dword [esp + 0x24]
push eax
call fcn.00422b10
test eax, eax
jne 0x49008c
mov eax, dword [esp + 0x48]
movzx ecx, word [eax - 2]
push ecx
mov ecx, dword [esp + 0x28]
call fcn.00422b10
test eax, eax
je 0x4901e7
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x68]
push 0
push 0
push 1
push eax
push ebx
push ecx
mov ecx, dword [ebp + 0xa0]
mov dword [esp + 0x60], edx
push edi
lea edx, [esp + 0x64]
push edx
push 0
call fcn.00478750
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x18]
cmp eax, dword [ecx + 8]
jg 0x490223
mov edx, ecx
mov ecx, dword [edx]
cmp ecx, eax
mov dword [esp + 0x34], ecx
jg 0x4900d9
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x1c]
push 1
push 0
push ecx
mov ecx, dword [ebp + 0xa0]
push 0
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x30]
push edx
lea eax, [eax + ebx*2]
push eax
push edi
lea eax, [esp + 0x6c]
push eax
push esi
call fcn.0046f890
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 8]
mov ecx, dword [esp + 0x50]
cmp eax, ecx
mov dword [esp + 0x3c], eax
jl 0x49011e
mov dword [esp + 0x3c], ecx
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 4]
cmp eax, edi
mov ecx, eax
jg 0x49012d
mov ecx, edi
mov eax, dword [0x5c3e74]
mov edx, dword [edx + 0xc]
add eax, edi
cmp edx, eax
mov dword [esp + 0x38], ecx
jge 0x490141
mov eax, edx
mov edx, dword [esp + 0x3c]
cmp dword [esp + 0x34], edx
mov dword [esp + 0x40], eax
jge 0x4901e7
cmp ecx, eax
jge 0x4901e7
mov eax, dword [0x5ba2bc]
push eax
push esi
call dword [sym.imp.GDI32.dll_SetTextColor]
mov ecx, dword [0x5ba224]
push ecx
push esi
mov dword [esp + 0xcc], eax
call dword [sym.imp.GDI32.dll_SetBkColor]
push 0
push 0
push 0
lea edx, [esp + 0x40]
push edx
push 2
push 0
push 0
push esi
mov dword [esp + 0xec], eax
call dword [sym.imp.GDI32.dll_ExtTextOutW]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x1c]
push 0
lea eax, [esp + 0x38]
push eax
mov eax, dword [esp + 0x28]
push ecx
push 0
push edx
lea eax, [eax + ebx*2]
push eax
push edi
lea ecx, [esp + 0x64]
push ecx
mov ecx, dword [ebp + 0xa0]
push esi
call fcn.0046f890
mov edx, dword [esp + 0xc4]
push edx
push esi
call dword [sym.imp.GDI32.dll_SetTextColor]
mov eax, dword [esp + 0xcc]
push eax
push esi
call dword [sym.imp.GDI32.dll_SetBkColor]
mov ecx, dword [ebp + 0xa0]
mov eax, dword [ecx + 0x290]
mov edx, dword [0x5ed804]
mov ecx, dword [esp + 0x1c]
push edx
push ecx
push eax
mov eax, dword [esp + 0x80]
push eax
add ebx, ecx
mov ecx, dword [esp + 0x30]
push ebx
push ecx
call fcn.0046e540
mov ebx, eax
add esp, 0x18
cmp ebx, 0xffffffff
jne 0x48fff0
mov ebx, dword [esp + 0x90]
cmp dword [esp + 0x28], 0
jne 0x490310
test byte [0x5ed6d4], 4
je 0x490310
test ebx, ebx
jne 0x49025f
mov edx, dword [esp + 0x14]
mov ecx, dword [ebp + 0xa0]
inc edx
push edx
call fcn.00470e50
test eax, eax
jne 0x490310
mov ecx, dword [ebp + 0xa0]
cmp dword [ecx + 0x9c], 0
jne 0x4902c1
mov eax, dword [esp + 0x70]
mov edx, dword [ecx + 0x334]
lea eax, [eax + eax*8]
mov eax, dword [edx + eax*4 + 0x20]
mov dword [esp + 0x90], eax
test eax, eax
je 0x4902c1
mov eax, dword [esp + 0x14]
push eax
call fcn.004786b0
mov ecx, dword [esp + 0x70]
mov edx, dword [ebp + 0xa0]
mov edx, dword [edx + 0x334]
lea ecx, [ecx + ecx*8]
mov ecx, dword [edx + ecx*4]
mov edx, dword [esp + 0x90]
mov ecx, dword [edx + ecx*4]
add ecx, eax
add ecx, dword [esp + 0x68]
mov dword [esp + 0x98], ecx
mov edx, dword [0x5ba29c]
neg ebx
sbb ebx, ebx
and ebx, 0xffffffee
push edx
add ebx, 0xb6
push esi
mov dword [esp + 0xdc], ebx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x88]
push 0
push 1
lea eax, [esp + 0xdc]
push eax
push ecx
mov ecx, dword [esp + 0xa8]
push 4
lea eax, [edi + edx]
push eax
push ecx
push esi
call dword [sym.imp.GDI32.dll_ExtTextOutW]
cmp dword [esp + 0x58], 0
je 0x490331
mov eax, dword [0x5ba1e0]
mov edx, dword [esp + 0x80]
push eax
push esi
mov dword [0x5ba278], edx
call dword [sym.imp.GDI32.dll_SetBkColor]
add edi, dword [0x5c3e74]
inc dword [esp + 0x14]
cmp edi, dword [esp + 0x44]
mov ebx, dword [esp + 0x18]
jl 0x48fd82
cmp dword [esp + 0x28], 0
jne 0x490390
mov ecx, dword [ebp + 0xa0]
cmp dword [ecx + 0x100], 0
je 0x490390
mov edx, dword [esp + 0x30]
cmp dword [esp + 0x54], edx
jge 0x490390
cmp dword [esp + 0x60], 0
je 0x490390
mov ecx, dword [esp + 0x54]
push ebx
mov eax, edx
mov edx, dword [esp + 0x48]
push eax
mov eax, dword [esp + 0x74]
push ecx
mov ecx, dword [esp + 0x74]
push edx
push eax
push ecx
push esi
mov ecx, ebp
call fcn.0048c7c0
mov eax, dword [ebx + 0xc]
cmp edi, eax
jge 0x49043e
cmp dword [esp + 0x5c], 0
je 0x490409
mov eax, dword [0x5c3e74]
mov ecx, dword [ebx]
lea edx, [edi + eax]
mov eax, dword [ebx + 8]
push edx
push eax
push edi
push ecx
lea edx, [esp + 0xc4]
push edx
call dword [sym.imp.USER32.dll_SetRect]
mov ecx, dword [esp + 0x2c]
push 0
push 0
push 0
lea eax, [esp + 0xc0]
push eax
push ecx
push 0
push 0
push esi
call dword [sym.imp.GDI32.dll_ExtTextOutW]
mov edx, dword [ebx + 8]
mov ecx, dword [0x5c3e74]
mov eax, dword [esp + 0x7c]
push edx
push eax
lea edx, [edi + ecx]
push edx
push edi
push esi
mov ecx, ebp
call fcn.004880c0
mov eax, dword [0x5c3e74]
add edi, eax
cmp edi, dword [ebx + 0xc]
jl 0x4903a7
jmp 0x49043e
mov ecx, dword [ebx]
push eax
mov eax, dword [ebx + 8]
push eax
push edi
push ecx
lea edx, [esp + 0xc4]
push edx
call dword [sym.imp.USER32.dll_SetRect]
mov ecx, dword [esp + 0x2c]
push 0
push 0
push 0
lea eax, [esp + 0xc0]
push eax
push ecx
push 0
push 0
push esi
call dword [sym.imp.GDI32.dll_ExtTextOutW]
mov eax, dword [esp + 0x84]
test eax, eax
jle 0x490467
mov edx, dword [ebp + 0xa0]
cmp dword [edx + 0xac], 0
push eax
mov ecx, ebp
je 0x490462
call fcn.0048ba50
jmp 0x490467
call fcn.0048b8b0
mov ecx, dword [esp + 0x108]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xf0]
xor ecx, esp
call fcn.0053f73f
add esp, 0x100
ret 0xc