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

Disassembly:
push 0xffffffffffffffff
push 0x5635b8
mov eax, dword fs:[0]
push eax
sub esp, 0xf0
mov eax, dword [0x5b7a9c]
xor eax, esp
mov dword [esp + 0xec], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5b7a9c]
xor eax, esp
push eax
lea eax, [esp + 0x104]
mov dword fs:[0], eax
mov eax, dword [esp + 0x118]
mov esi, dword [esp + 0x114]
mov edi, dword [esp + 0x11c]
mov ebx, ecx
cmp dword [ebx + 0x58], 0
mov dword [esp + 0x18], eax
je 0x48f807
call fcn.00503c1f
cmp dword [eax + 0x1dc], 0
je 0x48f807
test edi, edi
jne 0x48e6c4
mov edx, dword [ebx + 0x6c]
mov ecx, dword [ebx + 0x64]
mov ebp, dword [ebx + 0x7c]
mov eax, dword [ebx + 0x80]
mov dword [esp + 0x1c], edx
mov edx, dword [ebx + 0xa0]
mov edx, dword [edx + 0x114]
mov dword [esp + 0x78], ecx
mov ecx, dword [ebx + 0x68]
mov dword [esp + 0x34], edx
mov edx, dword [0x5ed0cc]
mov dword [esp + 0x2c], edi
mov dword [esp + 0x38], 2
jmp 0x48e6f4
mov edx, dword [edi + 0x10]
mov ecx, dword [edi + 8]
mov ebp, dword [edi]
mov eax, dword [edi + 4]
mov dword [esp + 0x1c], edx
mov edx, dword [edi + 0x14]
mov dword [esp + 0x78], ecx
mov ecx, dword [edi + 0xc]
mov dword [esp + 0x34], edx
mov edx, dword [edi + 0x18]
mov dword [esp + 0x2c], 1
mov dword [esp + 0x38], 0
mov dword [esp + 0x28], edx
mov edx, dword [0x5c3e08]
imul edx, eax
mov eax, dword [esp + 0x78]
sub eax, edx
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x18]
mov edi, dword [eax + 4]
cmp ecx, edi
jle 0x48e718
mov edi, ecx
mov eax, edi
sub eax, ecx
cdq
idiv dword [0x5c3df4]
sub edi, edx
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 0xc]
mov dword [esp + 0x4c], eax
mov eax, edi
sub eax, ecx
cdq
idiv dword [0x5c3df4]
xor ecx, ecx
mov dword [esp + 0x70], edi
add eax, ebp
test eax, eax
setl cl
dec ecx
and ecx, eax
mov dword [esp + 0x54], ecx
mov ecx, dword [ebx + 0xa0]
cmp dword [ecx + 0x9c], 0
je 0x48e766
mov edx, dword [ecx + 0x2e8]
jmp 0x48e787
cmp dword [ecx + 0x78], 0
jne 0x48e781
cmp dword [ecx + 0x84], 0
jne 0x48e781
mov eax, dword [ecx + 0x2d0]
mov dword [esp + 0x30], eax
jmp 0x48e78b
mov edx, dword [ecx + 0x16c]
mov dword [esp + 0x30], edx
mov eax, dword [ecx + 0x2d0]
mov ebp, dword [esp + 0x2c]
mov dword [esp + 0x7c], eax
xor eax, eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0xb4], eax
mov eax, dword [0x5ed7dc]
cdq
sub eax, edx
mov edi, eax
sar edi, 1
mov edx, 0
sets dl
dec edx
and edx, edi
mov dword [esp + 0x84], edx
test ebp, ebp
jne 0x48e827
mov eax, dword [ebx + 0x70]
mov edx, dword [ebx + 0x74]
push eax
push edx
lea eax, [esp + 0xbc]
push eax
lea edx, [esp + 0x80]
push edx
call fcn.00473d30
mov ecx, dword [esp + 0x74]
test ecx, ecx
jle 0x48e827
mov eax, dword [ebx + 0x160]
cdq
idiv dword [0x5c3df4]
add eax, dword [ebx + 0x7c]
cmp ecx, eax
jle 0x48e827
dec ecx
mov dword [esp + 0x74], ecx
push ecx
mov ecx, dword [ebx + 0xa0]
call fcn.0048b9e0
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
cmp ecx, dword [esp + 0x1c]
jg 0x48ed1c
mov edx, dword [esp + 0x54]
push 2
push esi
mov dword [esp + 0x2c], edx
call dword [sym.imp.GDI32.dll_SetTextAlign]
mov eax, dword [0x5ba1b8]
push eax
push esi
call dword [sym.imp.GDI32.dll_SetTextColor]
mov ecx, dword [0x5ba128]
push ecx
push esi
call dword [sym.imp.GDI32.dll_SetBkColor]
test ebp, ebp
jne 0x48e8b7
mov edx, dword [ebx + 0xa0]
cmp dword [edx + 0x84], ebp
je 0x48e8b7
mov eax, dword [0x5ba1d8]
mov edi, dword [sym.imp.GDI32.dll_CreatePen]
push eax
push ebp
push ebp
call edi
mov ecx, dword [0x5ba1dc]
push ecx
push ebp
push ebp
mov dword [esp + 0x64], eax
call edi
mov edx, dword [0x5ba148]
mov edi, dword [sym.imp.GDI32.dll_CreateSolidBrush]
push edx
mov dword [esp + 0x6c], eax
call edi
mov dword [esp + 0x14], eax
mov eax, dword [0x5ba14c]
push eax
call edi
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x70]
cmp eax, dword [esp + 0x4c]
mov dword [esp + 0x20], eax
jge 0x48ec1e
mov eax, dword [0x5c3df4]
mov edi, edi
mov ecx, dword [esp + 0x70]
mov edi, dword [esp + 0x20]
cmp ecx, edi
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], ecx
jg 0x48e8ec
mov dword [esp + 0x40], edi
mov ebp, dword [esp + 0x24]
cmp ebp, dword [esp + 0x30]
mov edx, dword [esp + 0x1c]
lea ecx, [edi + eax]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x44], edx
jge 0x48ebe2
push 0
push ebp
lea eax, [esp + 0x9c]
push eax
lea ecx, [esp + 0x94]
push ecx
mov ecx, dword [ebx + 0xa0]
call fcn.004745a0
cmp dword [esp + 0x2c], 0
jne 0x48e9ed
cmp ebp, dword [esp + 0x74]
jne 0x48e9ed
cmp dword [ebx + 0x128], 0
je 0x48e9ed
cmp dword [0x5ed7dc], 0
jle 0x48e99c
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x3c]
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 + 0x48]
push ecx
push 0
mov dword [esp + 0xb4], edx
mov edx, dword [esp + 0x60]
push 0
push esi
mov dword [esp + 0xc8], edx
call dword [sym.imp.GDI32.dll_ExtTextOutW]
cmp dword [esp + 0x94], 0
jne 0x48e9ca
mov edx, dword [ebx + 0xa0]
mov eax, dword [esp + 0x88]
mov ecx, dword [edx + 0x31c]
lea eax, [eax + eax*8]
cmp dword [ecx + eax*4 + 0x14], 0
je 0x48e9ca
mov eax, 1
jmp 0x48e9cc
xor eax, eax
mov edx, dword [esp + 0x84]
push eax
lea eax, [edi + edx]
push eax
push 0
push esi
mov ecx, 0x5ba238
call fcn.0040d500
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x3c], ecx
mov ecx, dword [ebx + 0xa0]
cmp dword [ecx + 0x78], 0
je 0x48ea07
push ebp
call fcn.00471ec0
test eax, eax
jne 0x48ebe2
mov edx, dword [ebx + 0xa0]
cmp dword [edx + 0x80], 0
je 0x48ea7c
mov eax, dword [esp + 0x88]
push 0xa
push 0x14
lea ecx, [esp + 0xe0]
inc eax
push ecx
push eax
call fcn.00540a47
lea eax, [esp + 0xe8]
add esp, 0x10
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x48ea40
mov ecx, dword [esp + 0x38]
sub eax, edx
push 0
sar eax, 1
push eax
lea edx, [esp + 0xe0]
push edx
mov edx, dword [esp + 0x90]
lea eax, [esp + 0x48]
push eax
mov eax, dword [esp + 0x44]
or ecx, 4
push ecx
add edi, edx
sub eax, dword [esp + 0x3c]
push edi
push eax
jmp 0x48ea90
mov edx, dword [esp + 0x38]
push 0
push 0
push 0
lea ecx, [esp + 0x48]
push ecx
push edx
push 0
push 0
push esi
call dword [sym.imp.GDI32.dll_ExtTextOutW]
cmp dword [esp + 0x2c], 0
jne 0x48ebfd
mov ecx, dword [ebx + 0xa0]
cmp dword [ecx + 0x84], 0
je 0x48ebfd
mov eax, dword [esp + 0x18]
mov edx, dword [eax + 8]
cmp edx, dword [0x5ed0cc]
jle 0x48ebfd
mov eax, dword [esp + 0x7c]
lea edx, [eax - 1]
mov eax, dword [esp + 0x88]
cmp eax, edx
jge 0x48ebfd
mov ecx, dword [ecx + 0x31c]
lea eax, [eax + eax*8]
lea eax, [ecx + eax*4]
mov ecx, dword [eax]
dec ecx
test ecx, ecx
jle 0x48ebfd
mov ebp, dword [eax + 0x10]
test ebp, ebp
je 0x48ebfd
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
jle 0x48eb1b
mov edx, dword [esp + 0x68]
push edx
push esi
call edi
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x50]
push eax
jmp 0x48eb2c
mov ecx, dword [esp + 0x58]
push ecx
push esi
call edi
mov edx, dword [esp + 0x14]
mov dword [esp + 0x6c], eax
push edx
push esi
call edi
mov ecx, dword [0x5ed0c0]
mov dword [esp + 0x64], eax
mov eax, dword [0x5c3df4]
sub eax, ecx
inc eax
cdq
sub eax, edx
mov edi, eax
sar edi, 1
add edi, dword [esp + 0x20]
lea eax, [edi + ecx]
push eax
mov eax, dword [esp + 0x48]
push eax
push edi
sub eax, ecx
push eax
push esi
call dword [sym.imp.GDI32.dll_Rectangle]
mov ecx, dword [0x5ed0bc]
mov eax, dword [esp + 0x44]
sub eax, dword [0x5ed0c0]
push 0
lea edx, [edi + ecx]
push edx
push eax
push esi
call dword [sym.imp.GDI32.dll_MoveToEx]
mov ecx, dword [0x5ed0bc]
mov eax, dword [esp + 0x44]
lea edx, [edi + ecx]
push edx
push eax
push esi
call dword [sym.imp.GDI32.dll_LineTo]
test ebp, ebp
jle 0x48ebca
mov ecx, dword [esp + 0x44]
sub ecx, dword [0x5ed0bc]
push 0
push edi
dec ecx
push ecx
push esi
call dword [sym.imp.GDI32.dll_MoveToEx]
mov eax, dword [esp + 0x44]
mov edx, dword [0x5ed0c0]
sub eax, dword [0x5ed0bc]
add edi, edx
push edi
dec eax
push eax
push esi
call dword [sym.imp.GDI32.dll_LineTo]
mov ecx, dword [esp + 0x6c]
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
push ecx
push esi
call edi
mov edx, dword [esp + 0x64]
push edx
push esi
call edi
jmp 0x48ebfd
mov ecx, dword [esp + 0x38]
push 0
push 0
push 0
lea eax, [esp + 0x48]
push eax
push ecx
push 0
push 0
push esi
call dword [sym.imp.GDI32.dll_ExtTextOutW]
mov ecx, dword [esp + 0x20]
mov eax, dword [0x5c3df4]
inc dword [esp + 0x24]
add ecx, eax
cmp ecx, dword [esp + 0x4c]
mov dword [esp + 0x20], ecx
jl 0x48e8d0
mov ebp, dword [esp + 0x2c]
test ebp, ebp
jne 0x48ec52
mov edx, dword [ebx + 0xa0]
cmp dword [edx + 0x84], ebp
je 0x48ec52
mov eax, dword [esp + 0x58]
mov edi, dword [sym.imp.GDI32.dll_DeleteObject]
push eax
call edi
mov ecx, dword [esp + 0x68]
push ecx
call edi
mov edx, dword [esp + 0x14]
push edx
call edi
mov eax, dword [esp + 0x50]
push eax
call edi
push 0
push esi
call dword [sym.imp.GDI32.dll_SetTextAlign]
test ebp, ebp
jne 0x48ed10
mov ecx, dword [ebx + 0xa0]
cmp dword [ecx + 0xf0], ebp
jle 0x48ed10
mov ebp, dword [esp + 0x70]
mov edi, dword [esp + 0x54]
xor edx, edx
cmp dword [ebx + 0x128], edx
sete dl
cmp ebp, dword [esp + 0x4c]
mov dword [esp + 0x8c], edx
jge 0x48ed10
cmp edi, dword [esp + 0x30]
jge 0x48ed10
mov ecx, dword [ebx + 0xa0]
push edi
call fcn.00471ec0
test eax, eax
jne 0x48ed03
push eax
push edi
lea eax, [esp + 0x98]
push eax
lea ecx, [esp + 0x6c]
push ecx
mov ecx, dword [ebx + 0xa0]
call fcn.004745a0
cmp edi, dword [esp + 0x74]
jne 0x48ecd5
cmp dword [esp + 0x8c], 0
je 0x48ed03
mov eax, dword [esp + 0x60]
lea edx, [eax + eax*8]
mov eax, dword [ebx + 0xa0]
mov ecx, dword [eax + 0x31c]
cmp dword [ecx + edx*4 + 0x14], 0
je 0x48ed03
mov edx, dword [esp + 0x84]
lea eax, [edx + ebp]
push eax
push esi
call fcn.0040d1d0
add esp, 8
add ebp, dword [0x5c3df4]
inc edi
cmp ebp, dword [esp + 0x4c]
jl 0x48ec95
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [edx], ecx
mov eax, edx
mov ecx, dword [eax + 8]
cmp ecx, dword [eax]
mov edi, dword [esp + 0x54]
jle 0x48f807
mov ebp, dword [esp + 0x30]
cmp edi, ebp
mov dword [esp + 0x8c], 0
jge 0x48efe1
mov ecx, dword [ebx + 0xa0]
push 0
push edi
lea edx, [esp + 0x9c]
push edx
lea eax, [esp + 0x5c]
push eax
call fcn.004745a0
mov eax, dword [esp + 0x4c]
sub eax, dword [esp + 0x70]
cdq
idiv dword [0x5c3df4]
test eax, eax
jle 0x48ed75
test edx, edx
jne 0x48ed75
dec eax
add eax, edi
lea ecx, [ebp - 1]
cmp ecx, eax
jge 0x48ed80
mov eax, ecx
push 0
push eax
lea ecx, [esp + 0x9c]
push ecx
mov ecx, dword [ebx + 0xa0]
lea edx, [esp + 0x30]
push edx
call fcn.004745a0
mov edi, dword [esp + 0x50]
mov ecx, dword [esp + 0x24]
cmp edi, ecx
jg 0x48ede2
lea ebp, [edi + edi*8]
add ebp, ebp
add ebp, ebp
mov edi, edi
mov ecx, dword [ebx + 0xa0]
cmp dword [ecx + 0x9c], 0
jne 0x48edcc
mov eax, dword [ecx + 0x31c]
cmp dword [eax + ebp + 0x20], 0
jne 0x48edd2
push edi
call fcn.00471390
mov ecx, dword [esp + 0x24]
inc edi
add ebp, 0x24
cmp edi, ecx
jle 0x48edb0
mov edi, dword [esp + 0x50]
mov eax, dword [ebx + 0xa0]
cmp dword [eax + 0x2a0], 0
jne 0x48efe1
cmp dword [0x5ba48c], 0
jne 0x48efe1
mov edx, dword [eax + 0xec]
imul edx, edx, 0x190
cmp dword [edx + 0x5bd350], 0
jg 0x48ee24
cmp dword [0x5ed7c8], 0
je 0x48efe1
cmp edi, ecx
mov dword [esp + 0x14], edi
jg 0x48efe1
lea edi, [edi + edi*8]
add edi, edi
add edi, edi
jmp 0x48ee40
mov ecx, dword [ebx + 0xa0]
mov eax, dword [ecx + 0x31c]
mov eax, dword [eax + edi + 0x1c]
mov dword [esp + 0x34], eax
cmp eax, 0xffffffff
jne 0x48efcb
mov eax, ecx
mov edx, dword [eax + 0x31c]
mov ebp, dword [edx + edi]
mov eax, dword [eax + 0x31c]
add edx, edi
dec ebp
mov dword [esp + 0x28], ebp
mov ebp, 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 + 0x10c], edx
cmp dword [ecx + 0xac], edx
je 0x48eecb
lea edx, [esp + 0x9c]
push edx
mov edx, dword [esp + 0x2c]
push ebp
push edx
push eax
call fcn.00476e60
jmp 0x48ef01
mov edx, dword [ecx + 0xec]
imul edx, edx, 0x190
cmp dword [edx + 0x5bd350], 0
lea edx, [esp + 0x9c]
push edx
mov edx, dword [esp + 0x2c]
jne 0x48eef7
push 0
push edx
push eax
call fcn.00476c10
jmp 0x48ef03
push ebp
push 0
push edx
push eax
call fcn.00475f40
mov ebp, eax
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0xa0]
push ecx
call fcn.0048cda0
mov dword [esp + 0x88], eax
mov eax, dword [ebx + 0xa0]
mov edx, dword [eax + 0x31c]
mov dword [esp + 0x68], eax
mov eax, dword [edx + edi + 0x18]
push eax
call fcn.004ff267
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax + 0x31c]
mov edx, dword [esp + 0x8c]
mov dword [ecx + edi + 0x18], edx
mov eax, dword [eax + 0x31c]
mov ecx, dword [esp + 0x40]
add esp, 0xc
cmp dword [esp + 0x2c], 0
mov dword [eax + edi + 0x1c], ecx
jne 0x48efa1
cmp dword [0x5ba48c], 0
jne 0x48efa1
mov edx, dword [esp + 0x7c]
dec edx
cmp dword [esp + 0x14], edx
jge 0x48efa1
mov ecx, dword [ebx + 0xa0]
mov eax, dword [ecx + 0x31c]
cmp ebp, dword [eax + edi + 0x30]
je 0x48efa1
mov eax, dword [esp + 0x14]
inc eax
push ebp
push eax
call fcn.00471f60
mov eax, dword [esp + 0x14]
inc eax
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x10c], 0xffffffff
mov dword [esp + 0x9c], vtable.CArray_struct_COLORSIG__struct_COLORSIG__.0
test eax, eax
je 0x48efcb
push eax
call fcn.004ff267
add esp, 4
mov eax, dword [esp + 0x14]
inc eax
add edi, 0x24
cmp eax, dword [esp + 0x24]
mov dword [esp + 0x14], eax
jle 0x48ee40
cmp dword [ebx + 0x80], 0
jle 0x48f043
mov edi, dword [esp + 0x18]
mov eax, dword [edi]
mov ebp, dword [esp + 0x78]
cmp eax, ebp
jge 0x48f043
mov edx, dword [edi + 4]
mov ecx, eax
mov dword [esp + 0x3c], ecx
mov ecx, dword [edi + 8]
mov dword [esp + 0x44], ecx
mov ecx, dword [edi + 0xc]
mov dword [esp + 0x48], ecx
mov ecx, dword [ebx + 0x68]
cmp ecx, edx
mov dword [esp + 0x40], edx
jle 0x48f01e
mov dword [esp + 0x40], ecx
push 0
push 0
push 0
lea edx, [esp + 0x48]
push edx
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x48]
push eax
push 0
push 0
push esi
mov dword [esp + 0x64], ebp
call dword [sym.imp.GDI32.dll_ExtTextOutW]
mov dword [edi], ebp
cmp dword [esp + 0x2c], 0
jne 0x48f061
mov ecx, dword [ebx + 0xa0]
cmp dword [ecx + 0xa0], 0
mov dword [esp + 0x34], 1
jne 0x48f069
mov dword [esp + 0x34], 0
mov edx, dword [ebx + 0x20]
push edx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.00502b89
mov edx, dword [eax]
push 0
mov ecx, eax
mov eax, dword [edx + 0x16c]
push 0
call eax
mov edx, dword [0x5ba118]
xor ecx, ecx
cmp eax, ebx
sete cl
push edx
push esi
mov dword [esp + 0x68], ecx
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 + 0x70]
cmp edi, dword [esp + 0x4c]
mov ebp, dword [esp + 0x18]
mov dword [esp + 0xb8], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0xbc], edx
mov edx, dword [eax + 0xc]
mov eax, dword [esp + 0x54]
mov dword [esp + 0xc0], ecx
mov dword [esp + 0xc4], edx
mov dword [esp + 0x14], eax
jge 0x48f6cf
mov ecx, dword [esp + 0x30]
cmp dword [esp + 0x14], ecx
jge 0x48f6cf
mov eax, dword [esp + 0x14]
mov edx, ecx
xor ecx, ecx
dec edx
cmp edx, eax
sete cl
cmp dword [0x5ed7b4], 0
mov dword [esp + 0x6c], 0
mov ebp, ecx
mov dword [esp + 0xb0], ebp
je 0x48f16c
cmp eax, dword [esp + 0x74]
jne 0x48f16c
cmp dword [ebx + 0x1f8], 0
jne 0x48f13e
cmp dword [ebx + 0x1fc], 0
je 0x48f149
push 0
push 1
mov ecx, ebx
call fcn.0048dd30
mov edx, dword [0x5ba1a8]
mov eax, dword [0x5ba1b0]
mov ecx, dword [0x5ba120]
mov dword [esp + 0x80], edx
mov dword [0x5ba1a8], eax
push ecx
jmp 0x48f202
cmp dword [0x5ed7b0], 0
je 0x48f211
cmp dword [esp + 0x2c], 0
jne 0x48f211
mov ecx, dword [ebx + 0xa0]
cmp dword [ecx + 0xf0], 0
jle 0x48f211
mov edx, dword [esp + 0x14]
push edx
call fcn.00471ec0
test eax, eax
jne 0x48f211
push eax
mov eax, dword [esp + 0x18]
push eax
lea ecx, [esp + 0xdc]
push ecx
mov ecx, dword [ebx + 0xa0]
lea edx, [esp + 0xd4]
push edx
call fcn.004745a0
mov eax, dword [esp + 0xc8]
mov ecx, dword [ebx + 0xa0]
mov edx, dword [ecx + 0x31c]
lea eax, [eax + eax*8]
cmp dword [edx + eax*4 + 0x14], 0
je 0x48f211
mov eax, dword [0x5ba1a8]
mov ecx, dword [0x5ba1e8]
mov edx, dword [0x5ba158]
mov dword [esp + 0x80], eax
mov dword [0x5ba1a8], ecx
push edx
push esi
call dword [sym.imp.GDI32.dll_SetBkColor]
mov dword [esp + 0x6c], 1
mov eax, dword [0x5c3df4]
push 0
push 0
push 0
lea ecx, [edi + eax]
mov eax, dword [esp + 0x44]
lea edx, [esp + 0xc4]
push edx
push eax
push 0
push 0
push esi
mov dword [esp + 0xdc], edi
mov dword [esp + 0xe4], ecx
call dword [sym.imp.GDI32.dll_ExtTextOutW]
cmp dword [esp + 0x34], 0
je 0x48f26c
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + 8]
mov ecx, dword [0x5c3df4]
mov eax, dword [esp + 0x78]
push edx
push eax
lea edx, [edi + ecx]
push edx
push edi
push esi
mov ecx, ebx
call fcn.00487ab0
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x5c]
push ecx
mov ecx, dword [ebx + 0xa0]
mov dword [esp + 0x9c], eax
call fcn.0048b9e0
lea edx, [esp + 0x7c]
push edx
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x2c]
push ecx
push 0
push edx
push eax
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x28]
push eax
push edi
lea ecx, [esp + 0xb4]
push ecx
mov ecx, dword [ebx + 0xa0]
push esi
call fcn.004791c0
cmp dword [0x5ed6a4], 0
je 0x48f798
cmp dword [esp + 0x2c], 0
jne 0x48f696
mov ecx, dword [ebx + 0xa0]
mov edx, dword [ecx + 0x288]
mov eax, dword [edx - 0xc]
mov dword [esp + 0x20], eax
test eax, eax
jle 0x48f5bb
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x64]
push eax
push edx
call fcn.00471dd0
mov eax, dword [ebx + 0xa0]
mov ecx, dword [esp + 0x20]
mov eax, dword [eax + 0x288]
mov edx, dword [esp + 0x58]
push 0
push ecx
push eax
mov eax, dword [esp + 0x70]
push edx
push eax
call fcn.0046f410
mov ebp, eax
add esp, 0x14
test ebp, ebp
je 0x48f5b4
mov ecx, dword [ebx + 0xa0]
mov eax, dword [ecx + 0x158]
imul eax, eax, 0x190
add eax, 0x5bd1d0
mov dword [esp + 0x24], eax
mov eax, ebp
sub eax, dword [esp + 0x64]
sar eax, 1
cmp dword [esp + 0x60], 0
mov dword [esp + 0x1c], eax
je 0x48f384
mov ecx, dword [ebx + 0xa0]
cmp dword [ecx + 0x100], 1
jne 0x48f384
mov edx, dword [esp + 0x28]
cmp edx, dword [ecx + 0x190]
jne 0x48f384
mov edx, dword [esp + 0x7c]
add edx, eax
cmp edx, dword [ecx + 0x194]
je 0x48f56d
mov ecx, dword [esp + 0x7c]
add eax, ecx
je 0x48f3b4
movzx edx, word [ebp - 2]
mov ecx, dword [esp + 0x24]
push edx
call fcn.00422ae0
test eax, eax
jne 0x48f3b4
movzx eax, word [ebp]
mov ecx, dword [esp + 0x24]
push eax
call fcn.00422ae0
test eax, eax
je 0x48f569
mov ecx, dword [esp + 0x20]
movzx eax, word [ebp + ecx*2]
xor edx, edx
cmp dx, ax
je 0x48f3ed
mov ecx, dword [esp + 0x24]
push eax
call fcn.00422ae0
test eax, eax
jne 0x48f3ed
mov eax, dword [esp + 0x20]
movzx ecx, word [ebp + eax*2 - 2]
push ecx
mov ecx, dword [esp + 0x28]
call fcn.00422ae0
test eax, eax
je 0x48f569
mov ecx, dword [ebx + 0xa0]
mov edx, dword [esp + 0x28]
cmp edx, dword [ecx + 0x190]
jne 0x48f418
mov eax, dword [esp + 0x1c]
cmp eax, dword [ecx + 0x194]
jne 0x48f418
add eax, dword [esp + 0x20]
mov dword [esp + 0x1c], eax
jmp 0x48f575
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x18]
push 0
push 0
push 1
push edx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x2c]
push eax
push edx
push edi
lea eax, [esp + 0x84]
push eax
push 0
call fcn.004791c0
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x18]
cmp eax, dword [ecx + 8]
jg 0x48f5b4
mov edx, ecx
mov ecx, dword [edx]
cmp ecx, eax
mov dword [esp + 0x3c], ecx
jg 0x48f466
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x20]
push 1
push 0
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x64]
push eax
push 0
push ecx
mov ecx, dword [ebx + 0xa0]
push ebp
push edi
lea edx, [esp + 0x6c]
push edx
push esi
call fcn.00470df0
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 8]
mov ecx, dword [esp + 0x50]
cmp eax, ecx
mov dword [esp + 0x44], eax
jl 0x48f4a4
mov dword [esp + 0x44], ecx
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 4]
cmp eax, edi
mov ecx, eax
jg 0x48f4b3
mov ecx, edi
mov eax, dword [0x5c3df4]
mov edx, dword [edx + 0xc]
add eax, edi
cmp edx, eax
mov dword [esp + 0x40], ecx
jge 0x48f4c7
mov eax, edx
mov edx, dword [esp + 0x44]
cmp dword [esp + 0x3c], edx
mov dword [esp + 0x48], eax
jge 0x48f569
cmp ecx, eax
jge 0x48f569
mov eax, dword [0x5ba1ec]
push eax
push esi
call dword [sym.imp.GDI32.dll_SetTextColor]
mov ecx, dword [0x5ba15c]
push ecx
push esi
mov dword [esp + 0xd4], eax
call dword [sym.imp.GDI32.dll_SetBkColor]
push 0
push 0
push 0
lea edx, [esp + 0x48]
push edx
push 2
push 0
push 0
push esi
mov dword [esp + 0xb0], eax
call dword [sym.imp.GDI32.dll_ExtTextOutW]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x20]
push 0
lea eax, [esp + 0x40]
push eax
push ecx
mov ecx, dword [ebx + 0xa0]
push 0
push edx
push ebp
push edi
lea eax, [esp + 0x84]
push eax
push esi
call fcn.00470df0
mov ecx, dword [esp + 0xcc]
push ecx
push esi
call dword [sym.imp.GDI32.dll_SetTextColor]
mov edx, dword [esp + 0x90]
push edx
push esi
call dword [sym.imp.GDI32.dll_SetBkColor]
mov eax, dword [esp + 0x1c]
add eax, dword [esp + 0x20]
mov dword [esp + 0x1c], eax
cmp eax, dword [esp + 0x58]
jge 0x48f5b4
mov eax, dword [ebx + 0xa0]
mov ecx, dword [esp + 0x20]
mov eax, dword [eax + 0x288]
mov edx, dword [esp + 0x58]
push 0
push ecx
mov ecx, dword [esp + 0x6c]
push eax
mov eax, dword [esp + 0x28]
sub edx, eax
push edx
lea edx, [ecx + eax*2]
push edx
call fcn.0046f410
mov ebp, eax
add esp, 0x14
test ebp, ebp
jne 0x48f344
mov ebp, dword [esp + 0xb0]
test byte [0x5ed664], 4
je 0x48f696
test ebp, ebp
jne 0x48f5e5
mov eax, dword [esp + 0x14]
mov ecx, dword [ebx + 0xa0]
inc eax
push eax
call fcn.00471ec0
test eax, eax
jne 0x48f696
mov ecx, dword [ebx + 0xa0]
cmp dword [ecx + 0x9c], 0
jne 0x48f647
mov eax, dword [esp + 0x28]
lea edx, [eax + eax*8]
mov eax, dword [ecx + 0x31c]
mov eax, dword [eax + edx*4 + 0x20]
mov dword [esp + 0x90], eax
test eax, eax
je 0x48f647
mov edx, dword [esp + 0x14]
push edx
call fcn.00479120
mov ecx, dword [esp + 0x28]
mov edx, dword [ebx + 0xa0]
mov edx, dword [edx + 0x31c]
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 + 0x5c]
mov dword [esp + 0x98], ecx
mov edx, dword [0x5ba1cc]
neg ebp
sbb ebp, ebp
and ebp, 0xffffffee
push edx
add ebp, 0xb6
push esi
mov dword [esp + 0xd8], ebp
call dword [sym.imp.GDI32.dll_SetTextColor]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x84]
push 0
push 1
lea eax, [esp + 0xd8]
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 + 0x6c], 0
je 0x48f6b7
mov eax, dword [0x5ba118]
mov edx, dword [esp + 0x80]
push eax
push esi
mov dword [0x5ba1a8], edx
call dword [sym.imp.GDI32.dll_SetBkColor]
add edi, dword [0x5c3df4]
inc dword [esp + 0x14]
cmp edi, dword [esp + 0x4c]
mov ebp, dword [esp + 0x18]
jl 0x48f0f0
cmp dword [esp + 0x2c], 0
jne 0x48f716
mov ecx, dword [ebx + 0xa0]
cmp dword [ecx + 0x100], 0
je 0x48f716
mov edx, dword [esp + 0x30]
cmp dword [esp + 0x54], edx
jge 0x48f716
cmp dword [esp + 0x60], 0
je 0x48f716
mov ecx, dword [esp + 0x54]
push ebp
mov eax, edx
mov edx, dword [esp + 0x50]
push eax
mov eax, dword [esp + 0x78]
push ecx
mov ecx, dword [esp + 0x68]
push edx
push eax
push ecx
push esi
mov ecx, ebx
call fcn.0048c060
mov eax, dword [ebp + 0xc]
cmp edi, eax
jge 0x48f7de
cmp dword [esp + 0x34], 0
je 0x48f7a8
lea esp, [esp]
mov edx, dword [0x5c3df4]
mov ecx, dword [ebp + 8]
lea eax, [edi + edx]
mov edx, dword [ebp]
push eax
push ecx
push edi
push edx
lea eax, [esp + 0xc8]
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov edx, dword [esp + 0x38]
push 0
push 0
push 0
lea ecx, [esp + 0xc4]
push ecx
push edx
push 0
push 0
push esi
call dword [sym.imp.GDI32.dll_ExtTextOutW]
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x78]
mov edx, dword [0x5c3df4]
push eax
push ecx
lea eax, [edi + edx]
push eax
push edi
push esi
mov ecx, ebx
call fcn.00487ab0
add edi, dword [0x5c3df4]
cmp edi, dword [ebp + 0xc]
jl 0x48f730
jmp 0x48f7de
cmp dword [esp + 0x2c], 0
jne 0x48f696
jmp 0x48f5bb
mov ecx, dword [ebp + 8]
mov edx, dword [ebp]
push eax
push ecx
push edi
push edx
lea eax, [esp + 0xc8]
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov edx, dword [esp + 0x38]
push 0
push 0
push 0
lea ecx, [esp + 0xc4]
push ecx
push edx
push 0
push 0
push esi
call dword [sym.imp.GDI32.dll_ExtTextOutW]
mov eax, dword [esp + 0x8c]
test eax, eax
jle 0x48f807
mov ecx, dword [ebx + 0xa0]
cmp dword [ecx + 0xac], 0
push eax
mov ecx, ebx
je 0x48f802
call fcn.0048b330
jmp 0x48f807
call fcn.0048b190
mov ecx, dword [esp + 0x104]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xec]
xor ecx, esp
call fcn.0053fa67
add esp, 0xfc
ret 0xc