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

Disassembly:
push 0xffffffffffffffff
push 0x414420
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
push ebx
push ebp
push esi
push edi
mov edi, ecx
push 1
call fcn.0040f3b3
mov eax, dword [0x472e0c]
mov dword [esp + 0x54], eax
mov eax, dword [edi + 0xd4]
mov dword [esp + 0x78], 0
cmp eax, 3
ja case.default.0x4011f1
jmp dword [eax*4 + 0x401884]
mov dword [esp + 0x18], 0x40800000
jmp case.default.0x4011f1
mov dword [esp + 0x18], 0x40000000
jmp case.default.0x4011f1
mov dword [esp + 0x18], 0x3f800000
jmp case.default.0x4011f1
mov dword [esp + 0x18], 0x3f000000
mov eax, dword [edi + 0xd8]
cmp eax, 3
ja case.default.0x401229
jmp dword [eax*4 + 0x401894]
mov dword [esp + 0x14], 0x3f000000
jmp case.default.0x401229
mov dword [esp + 0x14], 0x3f800000
jmp case.default.0x401229
mov dword [esp + 0x14], 0x40000000
jmp case.default.0x401229
mov dword [esp + 0x14], 0x40800000
mov ecx, dword [edi + 0xb4]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x400
push ecx
call esi
mov edx, dword [edi + 0x78]
push 0
push 0
add eax, 0xffffffce
push 0x400
push edx
mov dword [esp + 0x5c], eax
call esi
lea eax, [eax + eax*2]
push 0x3e8
mov ecx, edi
mov dword [esp + 0x34], eax
call fcn.0040fcf3
mov edx, dword [eax + 0x1c]
lea ecx, [esp + 0x60]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x6c]
mov esi, dword [esp + 0x80]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x64]
push eax
mov eax, dword [esp + 0x64]
push ecx
mov ecx, dword [esi + 4]
push edx
push eax
push ecx
call dword [sym.imp.GDI32.dll_Rectangle]
mov edx, dword [esp + 0x60]
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x64]
add ecx, 0xffffffec
lea ebx, [edx + 0x14]
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x24], ecx
add eax, 0xa
lea ebp, [edx - 0x14]
push 8
mov ecx, ebp
mov dword [esp + 0x14], ebx
sub ecx, eax
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
mov dword [esp + 0x44], ebp
shr eax, 0x1f
add edx, eax
mov dword [edi + 0xe4], edx
call fcn.004103ea
xor ecx, ecx
add esp, 4
cmp eax, ecx
je 0x40132d
mov dword [eax + 4], ecx
mov dword [eax], vtable.CPen.0
mov dword [esp + 0x1c], eax
jmp 0x401331
mov dword [esp + 0x1c], ecx
push 0xff
push 1
push ecx
call dword [sym.imp.GDI32.dll_CreatePen]
mov ecx, dword [esp + 0x1c]
push eax
call fcn.00411fd7
push 8
call fcn.004103ea
xor ecx, ecx
add esp, 4
cmp eax, ecx
je 0x401368
mov dword [eax + 4], ecx
mov dword [eax], vtable.CPen.0
mov dword [esp + 0x20], eax
jmp 0x40136c
mov dword [esp + 0x20], ecx
push 0xff0000
push 1
push ecx
call dword [sym.imp.GDI32.dll_CreatePen]
mov ecx, dword [esp + 0x20]
push eax
call fcn.00411fd7
push 8
call fcn.004103ea
xor ecx, ecx
add esp, 4
cmp eax, ecx
je 0x4013a3
mov dword [eax + 4], ecx
mov dword [eax], vtable.CPen.0
mov dword [esp + 0x28], eax
jmp 0x4013a7
mov dword [esp + 0x28], ecx
push ecx
push 1
push 2
call dword [sym.imp.GDI32.dll_CreatePen]
mov ecx, dword [esp + 0x28]
push eax
call fcn.00411fd7
mov ecx, dword [esp + 0x1c]
push ecx
mov ecx, esi
call fcn.00411b54
mov dword [esp + 0x50], eax
mov eax, dword [edi + 0xe4]
lea ecx, [esp + 0x44]
lea edx, [eax + eax*4]
mov eax, ebp
shl edx, 1
sub eax, edx
push eax
push ebx
push ecx
mov ecx, esi
call fcn.00411e16
push ebp
push ebx
mov ecx, esi
call fcn.00411e62
lea eax, [ebx + 0x1b8]
push ebp
push eax
mov ecx, esi
mov dword [esp + 0x40], eax
call fcn.00411e62
mov edx, dword [0x472e0c]
mov dword [esp + 0x2c], edx
push 0
lea eax, [esp + 0x30]
push 0x41a0c8
push eax
mov byte [esp + 0x84], 1
call fcn.0040c5e8
mov eax, dword [esp + 0x38]
mov edx, dword [esi]
add esp, 0xc
mov ecx, dword [eax - 8]
mov dword [esp + 0x80], ecx
push dword [esp + 0x80]
lea ecx, [ebp + 2]
push eax
push ecx
push ebx
mov ecx, esi
call dword [edx + 0x5c]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x80], 0x14
add eax, 0xffffffec
cmp eax, 0x14
mov dword [esp + 0x3c], eax
jle 0x401510
add ebx, 0x14
push ebp
lea ecx, [esp + 0x48]
push ebx
push ecx
mov ecx, esi
call fcn.00411e16
mov eax, dword [edi + 0xe4]
mov ecx, esi
lea edx, [eax + eax*4]
mov eax, ebp
shl edx, 1
sub eax, edx
push eax
push ebx
call fcn.00411e62
mov ecx, dword [0x472e0c]
mov dword [esp + 0x24], ecx
mov eax, 0x66666667
lea ecx, [esp + 0x24]
imul dword [esp + 0x80]
sar edx, 3
mov eax, edx
mov byte [esp + 0x78], 2
shr eax, 0x1f
add edx, eax
push edx
push 0x41a0c8
push ecx
call fcn.0040c5e8
mov eax, dword [esp + 0x30]
mov edx, dword [esi]
add esp, 0xc
mov ecx, dword [eax - 8]
push ecx
push eax
lea eax, [ebp + 2]
mov ecx, esi
push eax
push ebx
call dword [edx + 0x5c]
lea ecx, [esp + 0x24]
mov byte [esp + 0x78], 1
call fcn.00410658
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x3c]
add eax, 0x14
add ebx, 0x14
cmp eax, ecx
mov dword [esp + 0x80], eax
jl 0x40146f
mov ebx, 1
mov eax, ebx
mov edx, dword [esp + 0x10]
imul eax, dword [edi + 0xe4]
mov ecx, ebp
sub ecx, eax
lea eax, [esp + 0x44]
push ecx
push edx
push eax
mov ecx, esi
call fcn.00411e16
mov ecx, ebx
mov eax, dword [esp + 0x38]
imul ecx, dword [edi + 0xe4]
mov edx, ebp
sub edx, ecx
mov ecx, esi
push edx
push eax
call fcn.00411e62
mov ecx, dword [0x472e0c]
mov dword [esp + 0x80], ecx
push ebx
lea edx, [esp + 0x84]
push 0x41a0c8
push edx
mov byte [esp + 0x84], 3
call fcn.0040c5e8
mov ecx, ebx
mov eax, ebp
imul ecx, dword [edi + 0xe4]
sub eax, ecx
mov ecx, dword [esp + 0x8c]
add esp, 0xc
mov edx, dword [ecx - 8]
mov dword [esp + 0x3c], edx
mov edx, dword [esi]
push dword [esp + 0x3c]
push ecx
push eax
mov eax, dword [esp + 0x1c]
mov ecx, esi
add eax, 0xffffffef
push eax
call dword [edx + 0x5c]
lea ecx, [esp + 0x80]
mov byte [esp + 0x78], 1
call fcn.00410658
inc ebx
cmp ebx, 0xa
jle 0x401515
mov ecx, dword [edi + 0xe0]
and ecx, 0x80000001
jns 0x4015d7
dec ecx
or ecx, 0xfffffffe
inc ecx
mov ebx, 1
cmp ecx, ebx
jne 0x4015f1
mov dword [edi + 0xdc], 0
push 0x41a0bc
jmp 0x4015fc
mov dword [edi + 0xdc], ebx
push 0x41a0b0
push 0x3f1
mov ecx, edi
call fcn.0040fd4b
cmp dword [edi + 0xdc], ebx
jne 0x401624
mov eax, dword [edi + 0xe8]
cmp eax, 0x400
jge 0x401624
inc eax
mov dword [edi + 0xe8], eax
cmp dword [edi + 0xe8], 0x400
jl 0x40163a
mov dword [edi + 0xe8], 0
mov eax, dword [edi + 0x10ec]
mov ecx, dword [edi + 0x10f0]
cmp eax, ecx
mov dword [esp + 0x80], eax
jge 0x401683
lea ecx, [edi + eax*4 + 0xec]
fild dword [esp + 0x80]
inc eax
add ecx, 4
mov dword [esp + 0x80], eax
fmul qword [0x4154d8]
fiadd dword [edi + 0xe8]
fsin
fstp dword [ecx - 4]
cmp eax, dword [edi + 0x10f0]
jl 0x401658
mov edx, dword [esp + 0x20]
mov ecx, esi
push edx
call fcn.00411b54
mov ebx, dword [edi + 0x10ec]
mov eax, dword [edi + 0x10f0]
cmp ebx, eax
mov dword [esp + 0x80], ebx
jge 0x40180c
fild dword [esp + 0x10]
fstp dword [esp + 0x44]
fild dword [esp + 0x30]
fstp dword [esp + 0x3c]
fild dword [esp + 0x40]
fstp dword [esp + 0x24]
fild dword [esp + 0x10]
fiadd dword [esp + 0x30]
fadd qword [0x4154d0]
fstp qword [esp + 0x30]
fld dword [esp + 0x80]
fld dword [esp + 0x80]
fild dword [esp + 0x80]
mov eax, dword [edi + 0xe4]
mov edx, ebp
mov dword [esp + 0x40], eax
fdiv dword [esp + 0x14]
lea ecx, [eax + eax*4]
sub edx, ecx
mov ecx, dword [esp + 0x4c]
add edx, ecx
cmp ebx, 1
mov dword [esp + 0x80], edx
fadd dword [esp + 0x3c]
fadd dword [esp + 0x44]
fstp dword [esp + 0x10]
fild dword [esp + 0x80]
fild dword [esp + 0x40]
fmul dword [edi + ebx*4 + 0xec]
fmul dword [esp + 0x18]
fsubp st(1)
fstp dword [esp + 0x80]
jne 0x40174a
fstp st(0)
fstp st(0)
fld dword [esp + 0x10]
fld dword [esp + 0x80]
lea eax, [eax + eax*4]
mov ecx, ebp
shl eax, 1
sub ecx, eax
mov dword [esp + 0x40], ecx
fild dword [esp + 0x40]
fld dword [esp + 0x80]
fcomp st(1)
fnstsw ax
test ah, 0x41
je 0x401774
fstp dword [esp + 0x80]
jmp 0x401776
fstp st(0)
fld dword [esp + 0x80]
fcomp dword [esp + 0x24]
fnstsw ax
test ah, 0x41
jne 0x401793
mov edx, dword [esp + 0x24]
mov dword [esp + 0x80], edx
fld dword [esp + 0x10]
fcomp qword [esp + 0x30]
fnstsw ax
test ah, 1
jne 0x4017f2
fild dword [esp + 0x38]
fcomp dword [esp + 0x10]
fnstsw ax
test ah, 1
jne 0x4017f2
call fcn.00403bac
push eax
call fcn.00403bac
push eax
lea eax, [esp + 0x60]
push eax
mov ecx, esi
call fcn.00411e16
fld dword [esp + 0x80]
call fcn.00403bac
fld dword [esp + 0x10]
push eax
call fcn.00403bac
push eax
mov ecx, esi
call fcn.00411e62
fld dword [esp + 0x10]
fld dword [esp + 0x80]
mov eax, dword [edi + 0x10f0]
inc ebx
cmp ebx, eax
mov dword [esp + 0x80], ebx
jl 0x4016e2
fstp st(0)
fstp st(0)
mov eax, dword [esp + 0x50]
test eax, eax
je 0x401817
mov eax, dword [eax + 4]
mov ecx, dword [esi + 4]
push eax
push ecx
call fcn.00411b01
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
test ecx, ecx
pop ebx
je 0x401834
mov edx, dword [ecx]
push 1
call dword [edx + 4]
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x401843
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x401852
mov edx, dword [ecx]
push 1
call dword [edx + 4]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x68], 0
call fcn.00410658
lea ecx, [esp + 0x44]
mov dword [esp + 0x68], 0xffffffff
call fcn.00410658
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
add esp, 0x6c
ret 4