Function at 0x4115d0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x462b8d
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x488480]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x24], edi
mov esi, dword [ebp + 8]
mov ecx, esi
mov dword [ebp - 0x28], esi
call fcn.0040bde0
mov ecx, dword [edi + 0x54]
mov dword [ebp - 0x60], eax
test ecx, ecx
je 0x4119eb
cmp dword [ecx + 0x24], 0
je 0x4119eb
push dword [ebp + 0x18]
mov dword [ebp - 4], 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.GDI32.dll_CreateRectRgn]
mov edi, eax
push edi
push dword [esi]
mov dword [ebp - 0x5c], edi
call dword [sym.imp.GDI32.dll_SelectClipRgn]
mov edx, dword [ebp - 0x24]
xorps xmm0, xmm0
movups xmmword [ebp - 0x20], xmm0
xor ecx, ecx
mov dword [ebp - 0x6c], 0
movups xmm0, xmmword [ebp + 0xc]
mov esi, dword [edx + 0x54]
lea eax, [edx - 0x20]
mov dword [ebp - 0x68], eax
xor eax, eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x38], eax
movups xmmword [ebp - 0x58], xmm0
test esi, esi
je 0x4117cc
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x38], eax
cmp dword [esi + 0x24], eax
je 0x4117cc
mov ecx, dword [ebp - 0x60]
movsd xmm0, qword [0x469858]
mov eax, dword [esi + ecx*8 + 0x34]
mov ecx, dword [esi + ecx*8 + 0x38]
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], esi
lea eax, [ecx + esi]
mov dword [ebp - 0x1c], esi
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x14], eax
xor eax, eax
comisd xmm0, xmmword [edx + 0xc8]
mov dword [ebp - 0x38], ecx
mov edi, dword [ebp - 0x38]
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x20], edi
mov edi, dword [ebp - 0x5c]
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x18], ecx
seta al
test eax, eax
je 0x4117b4
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x70]
push eax
lea ecx, [edx + 0x58]
call fcn.0041ba10
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0x60]
mov ecx, dword [eax + 0x54]
mov eax, dword [ecx + edx*8 + 0x44]
movd xmm2, dword [ecx + edx*8 + 0x48]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x34]
cvtdq2pd xmm2, xmm2
movd xmm0, eax
mulsd xmm2, qword [ebp - 0x40]
cvtdq2pd xmm0, xmm0
movaps xmm1, xmm2
divsd xmm1, xmm0
addsd xmm2, qword [0x469850]
cvttsd2si edx, xmm1
mov esi, edx
imul esi, eax
cvttsd2si eax, xmm2
push edx
sub esi, eax
mov eax, dword [ecx]
add esi, dword [ebp - 0x54]
mov dword [ebp - 0x30], esi
mov eax, dword [eax + 0x14]
call eax
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x34]
imul ecx, dword [ecx + 8], 0xd
add eax, esi
test byte [edx + 0x50], 2
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x60], ecx
je 0x411798
mov ecx, dword [ebp - 0x50]
sub ecx, dword [ebp - 0x60]
mov edi, dword [ebp - 0x58]
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x20], edi
mov edi, dword [ebp - 0x5c]
mov dword [ebp - 0x18], ecx
mov ecx, eax
mov dword [ebp - 0x14], eax
jmp 0x4117d4
mov eax, dword [ebp - 0x58]
add eax, ecx
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], ecx
jmp 0x4117d4
mov ecx, dword [edx + 0x54]
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
mov edx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x34]
jmp 0x4117d1
mov eax, dword [ebp - 0x3c]
xor esi, esi
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x4c], ecx
test eax, eax
je 0x411860
mov edi, dword [ebp - 0x28]
mov eax, esi
cmp eax, dword [ebp + 0x18]
jge 0x411857
mov ecx, dword [edx + 0x54]
lea edx, [ebp - 0x48]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x2c]
call eax
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x3c], eax
mov ecx, dword [edx + 0x54]
cmp eax, dword [ecx + 0x24]
je 0x41183d
mov ecx, eax
call fcn.00415c00
test eax, eax
jne 0x41183a
mov ecx, dword [ebp - 0x3c]
movups xmm0, xmmword [ebp - 0x58]
push eax
sub esp, 0x10
mov edx, dword [ecx]
mov eax, esp
push edi
movups xmmword [eax], xmm0
call dword [edx + 4]
mov edx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x2c]
add esi, dword [ebp - 0x34]
add ecx, dword [ebp - 0x34]
mov eax, esi
cmp dword [ebp - 0x48], 0
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x4c], ecx
jne 0x4117f8
mov edi, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x30], esi
test byte [edx + 0x50], 0x20
je 0x4118dd
mov dword [ebp - 0x48], eax
movups xmm0, xmmword [ebp - 0x20]
movups xmmword [ebp - 0x58], xmm0
mov esi, dword [ebp - 0x54]
mov dword [ebp - 0x30], esi
movups xmmword [ebp - 0x20], xmm0
test eax, eax
je 0x4118dd
nop
cmp esi, dword [ebp + 0x18]
jge 0x4118dd
mov ecx, dword [edx + 0x54]
lea edx, [ebp - 0x48]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x2c]
call eax
mov ecx, eax
mov dword [ebp - 0x3c], eax
call fcn.00415c00
test eax, eax
je 0x4118bc
mov eax, dword [ebp - 0x3c]
movups xmm0, xmmword [ebp - 0x20]
push 0
sub esp, 0x10
mov edx, dword [eax]
mov ecx, esp
push dword [ebp - 0x28]
movups xmmword [ecx], xmm0
mov ecx, eax
call dword [edx + 4]
mov eax, dword [ebp - 0x34]
add esi, eax
add dword [ebp - 0x4c], eax
cmp dword [ebp - 0x48], 0
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x54], esi
je 0x4118dd
movups xmm0, xmmword [ebp - 0x58]
mov edx, dword [ebp - 0x24]
movups xmmword [ebp - 0x20], xmm0
jmp 0x411880
mov edx, dword [ebp + 0x18]
lea eax, [edx - 1]
cmp esi, eax
jge 0x411991
mov eax, dword [ebp + 0xc]
lea ecx, [esi + 1]
mov esi, dword [ebp - 0x28]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x1c], ecx
push 5
lea ecx, [esi + 0x14]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
call fcn.0040b7a0
push eax
lea eax, [ebp - 0x20]
mov ecx, esi
push eax
call fcn.0040f7b0
mov eax, dword [ebp - 0x24]
test byte [eax + 0x50], 8
jne 0x411997
mov ecx, dword [ebp - 0x68]
push esi
call fcn.0040ff30
push eax
push dword [esi + 8]
mov byte [ebp - 4], 1
push 0
call dword [sym.imp.GDI32.dll_CreatePen]
mov esi, eax
mov eax, dword [ebp - 0x28]
push esi
mov dword [ebp - 0x60], esi
push dword [eax]
call dword [sym.imp.GDI32.dll_SelectObject]
movups xmm0, xmmword [ebp + 0xc]
mov dword [ebp - 0x3c], eax
sub esp, 0x10
mov eax, dword [ebp - 0x30]
mov ecx, esp
movups xmmword [ebp - 0x78], xmm0
mov dword [ebp - 0x74], eax
movups xmm0, xmmword [ebp - 0x78]
push dword [ebp - 0x28]
movups xmmword [ecx], xmm0
call fcn.00407500
mov eax, dword [ebp - 0x28]
add esp, 0x14
push dword [ebp - 0x3c]
push dword [eax]
call dword [sym.imp.GDI32.dll_SelectObject]
mov byte [ebp - 4], 0
test esi, esi
je 0x411991
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov esi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x54]
lea ecx, [ebp - 0x58]
movups xmm0, xmmword [ebp + 0xc]
push ecx
mov ecx, dword [ebp - 0x68]
push dword [eax + 0x24]
sub esp, 0x10
mov eax, esp
push esi
movups xmmword [eax], xmm0
call fcn.0040fdd0
mov ecx, dword [ebp - 0x24]
movups xmm0, xmmword [ebp - 0x58]
push 1
sub esp, 0x10
mov eax, dword [ecx + 0x54]
mov ecx, dword [eax + 0x24]
mov eax, esp
push esi
mov edx, dword [ecx]
movups xmmword [eax], xmm0
call dword [edx + 4]
push 0
push dword [esi]
call dword [sym.imp.GDI32.dll_SelectClipRgn]
test edi, edi
je 0x411a97
push edi
jmp 0x411a91
push 0
push dword [edi + 0x7c]
call dword [sym.imp.USER32.dll_ShowWindow]
push 5
lea ecx, [esi + 0x14]
call fcn.0040b7a0
push eax
push dword [esi]
call dword [sym.imp.GDI32.dll_SetBkColor]
mov dword [ebp - 0x3c], eax
cmp eax, 0xffffffff
je 0x411a34
push 0
push 0
push 0
lea eax, [ebp + 0xc]
push eax
push 2
push 0
push 0
push dword [esi]
call dword [sym.imp.GDI32.dll_ExtTextOutA]
push dword [ebp - 0x3c]
push dword [esi]
call dword [sym.imp.GDI32.dll_SetBkColor]
test byte [edi + 0x50], 8
jne 0x411a97
push esi
lea ecx, [edi - 0x20]
call fcn.0040ff30
push eax
push dword [esi + 8]
mov dword [ebp - 4], 2
push 0
call dword [sym.imp.GDI32.dll_CreatePen]
mov esi, eax
mov eax, dword [ebp - 0x28]
push esi
mov dword [ebp - 0x3c], esi
push dword [eax]
call dword [sym.imp.GDI32.dll_SelectObject]
movups xmm0, xmmword [ebp + 0xc]
sub esp, 0x10
mov edi, eax
mov ecx, esp
push dword [ebp - 0x28]
movups xmmword [ecx], xmm0
call fcn.00407500
mov eax, dword [ebp - 0x28]
add esp, 0x14
push edi
push dword [eax]
call dword [sym.imp.GDI32.dll_SelectObject]
test esi, esi
je 0x411a97
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043a0ec
mov esp, ebp
pop ebp
ret 0x14