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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1c94
call fcn.00424d30
mov eax, dword [0x449238]
xor eax, esp
mov dword [esp + 0x1c90], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, ecx
mov ecx, dword [ebx + 0x824f8]
mov dword [esp + 0x2c], eax
mov eax, dword [ebx + 0x82500]
push esi
mov esi, dword [ebx + 0x824fc]
mov edx, eax
push edi
sub edx, ecx
mov dword [esp + 0x10], edx
mov edx, dword [ebx + 0x82504]
fild dword [esp + 0x10]
mov edi, edx
sub edi, esi
fstp qword [esp + 0x58]
mov dword [esp + 0x10], edi
fild dword [esp + 0x10]
push edx
push eax
push esi
fstp qword [esp + 0x74]
push ecx
fld qword [ebx + 0x83570]
fsub qword [ebx + 0x83568]
fstp qword [esp + 0x70]
call dword [sym.imp.GDI32.dll_CreateRectRgn]
push eax
mov eax, dword [esp + 0x38]
push eax
call dword [sym.imp.GDI32.dll_SelectClipRgn]
mov eax, dword [ebx + 0x1097604]
fld qword [ebx + eax*8 + 0x83d88]
push 0
fst qword [esp + 0x74]
fsubr qword [ebx + eax*8 + 0x83588]
fdivr qword [esp + 0x6c]
fstp qword [esp + 0x6c]
call fcn.00424db1
mov ecx, dword [ebx + 0x10cc078]
mov edi, dword [ebx + 0x82500]
mov edx, dword [ecx + 0x2c]
add esp, 4
cmp edi, 0xfffffff
mov dword [esp + 0x24], edx
mov dword [esp + 0x2c], edi
jbe 0x410f67
xor edi, edi
mov dword [esp + 0x2c], edi
cmp dword [ebx + 0x10975f8], 0
je 0x4115eb
fld qword [esp + 0x60]
fcomp qword [esp + 0x58]
fnstsw ax
test ah, 0x41
jne 0x4115eb
push 0x10000
lea eax, [ebx + 0x1084d94]
push 0
push eax
call fcn.004238f0
mov esi, dword [ebx + 0x824f8]
add esi, 1
add esp, 0xc
cmp esi, edi
mov dword [esp + 0x20], esi
jae 0x4115dc
fld qword [esp + 0x60]
mov eax, esi
shl eax, 8
lea edx, [esi + 3]
add eax, 0x21465
lea ecx, [ebx + esi*4 + 0x1084d98]
mov dword [esp + 0x30], edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], ecx
jmp 0x410fdc
mov edx, dword [esp + 0x30]
mov ecx, dword [ebx + 0x824f8]
mov eax, esi
sub eax, ecx
test eax, eax
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
jge 0x410ff8
fadd qword [0x43d7e8]
fmul st(1)
fld qword [esp + 0x58]
fnstcw word [esp + 0xc]
fdiv st(1), st(0)
movzx eax, word [esp + 0xc]
or eax, 0xc00
cmp edx, edi
mov dword [esp + 0x10], eax
fxch st(1)
fadd qword [ebx + 0x83568]
fldcw word [esp + 0x10]
fistp qword [esp + 0x10]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x50], eax
mov eax, edx
fldcw word [esp + 0xc]
jb 0x411036
mov eax, edi
sub eax, ecx
test eax, eax
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
jge 0x41104a
fadd qword [0x43d7e8]
fmul st(2)
fnstcw word [esp + 0xc]
fdivrp st(1)
movzx eax, word [esp + 0xc]
or eax, 0xc00
mov dword [esp + 0x10], eax
fadd qword [ebx + 0x83568]
fldcw word [esp + 0x10]
fistp qword [esp + 0x10]
mov ecx, dword [esp + 0x10]
mov eax, dword [ebx + 0x10cc078]
mov edx, dword [eax + 0x40]
mov eax, dword [eax + 0x44]
fldcw word [esp + 0xc]
mov dword [esp + 0x40], ecx
xor ecx, ecx
cmp ecx, eax
mov dword [esp + 0x44], ecx
jl 0x4110a2
jg 0x411098
cmp dword [esp + 0x40], edx
jbe 0x4110a2
mov ecx, eax
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], ecx
xor eax, eax
jl 0x4115b9
jg 0x4110b6
cmp dword [esp + 0x50], eax
jb 0x4115b9
test ecx, ecx
jl 0x4115b9
jg 0x4110ca
cmp dword [esp + 0x40], eax
jbe 0x4115b9
fstp st(0)
call fcn.00424dbe
fld qword [esp + 0x60]
cdq
fld qword [esp + 0x58]
mov ecx, eax
fdivr st(1)
mov esi, edx
xor edx, edx
mov edi, 0x7fff
push 0
fnstcw word [esp + 0x10]
movzx eax, word [esp + 0x10]
or eax, 0xc00
mov dword [esp + 0x14], eax
fldcw word [esp + 0x14]
fistp qword [esp + 0x14]
mov eax, dword [esp + 0x14]
div edi
fldcw word [esp + 0x10]
push edx
push esi
push ecx
call fcn.00423830
mov edi, edx
mov edx, dword [esp + 0x50]
add eax, edx
mov ecx, 0
adc edi, ecx
mov ecx, dword [ebx + 0x10cc078]
cmp edi, dword [ecx + 0x44]
mov dword [esp + 0x48], eax
jl 0x411147
jg 0x41113a
cmp eax, dword [ecx + 0x40]
jb 0x411147
mov esi, dword [esp + 0x20]
mov dword [esp + 0x2c], esi
jmp 0x4115b5
mov eax, dword [esp + 0x28]
fstp st(0)
mov dword [eax - 4], 1
mov eax, dword [esp + 0x24]
xor esi, esi
test eax, eax
jbe 0x411206
lea ecx, [ebx + 0x10971f8]
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0x10]
cmp dword [edx], 0
je 0x411198
mov eax, dword [esp + 0x48]
mov ecx, dword [ebx + 0x10cc078]
push esi
push edi
push eax
call fcn.004018f0
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
add ecx, esi
fstp dword [ebx + ecx*4 - 0x400]
add dword [esp + 0x10], 4
add esi, 1
cmp esi, eax
jb 0x41116c
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x50]
lea ecx, [ecx*8 - 8]
xor eax, eax
shr ecx, 2
mov dword [esp + 0x89c], eax
lea esi, [esp + 0x898]
lea edi, [esp + 0x8a0]
mov dword [esp + 0x898], edx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x24]
lea ecx, [ecx*8 - 8]
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x24]
shr ecx, 2
lea esi, [esp + 0x98]
lea edi, [esp + 0xa0]
mov dword [esp + 0x98], edx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 0x10cc078]
movsx ecx, byte [ecx + 0x498]
sub ecx, 1
je 0x411335
sub ecx, 5
jne 0x411445
mov eax, dword [esp + 0x24]
test eax, eax
jbe 0x41125d
lea esi, [eax + eax]
xor eax, eax
mov ecx, esi
shr ecx, 1
shr ecx, 1
lea edi, [esp + 0x1a98]
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
mov ecx, esi
shr ecx, 1
or eax, 0xffffffff
shr ecx, 1
lea edi, [esp + 0x1898]
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
xor esi, esi
cmp esi, dword [esp + 0x44]
mov dword [esp + 0x38], edx
jg 0x411445
jl 0x411279
cmp edx, dword [esp + 0x40]
jae 0x411445
mov eax, dword [esp + 0x24]
lea ecx, [ecx]
xor edi, edi
test eax, eax
jbe 0x41130a
lea edx, [ebx + 0x10971f8]
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x10]
cmp dword [eax], 0
je 0x4112fa
mov ecx, dword [esp + 0x38]
push edi
push esi
push ecx
mov ecx, dword [ebx + 0x10cc078]
call fcn.00401860
movzx eax, ax
cmp ax, word [esp + edi*2 + 0x1898]
jae 0x4112d6
mov edx, dword [esp + 0x38]
mov word [esp + edi*2 + 0x1898], ax
mov dword [esp + edi*8 + 0x98], edx
mov dword [esp + edi*8 + 0x9c], esi
cmp ax, word [esp + edi*2 + 0x1a98]
jbe 0x4112fa
mov word [esp + edi*2 + 0x1a98], ax
mov eax, dword [esp + 0x38]
mov dword [esp + edi*8 + 0x898], eax
mov dword [esp + edi*8 + 0x89c], esi
mov eax, dword [esp + 0x24]
add dword [esp + 0x10], 4
add edi, 1
cmp edi, eax
jb 0x411294
add dword [esp + 0x38], 1
adc esi, 0
cmp esi, dword [esp + 0x44]
jl 0x411280
jg 0x411445
mov ecx, dword [esp + 0x38]
cmp ecx, dword [esp + 0x40]
jb 0x411280
jmp 0x411445
test eax, eax
jbe 0x411366
lea esi, [eax*4]
mov ecx, esi
shr ecx, 2
mov eax, 0xce6e6b28
lea edi, [esp + 0x1498]
rep stosd dword es:[edi], eax
mov ecx, esi
shr ecx, 2
mov eax, 0x4e6e6b28
lea edi, [esp + 0x1098]
rep stosd dword es:[edi], eax
xor esi, esi
cmp esi, dword [esp + 0x44]
mov dword [esp + 0x38], edx
jg 0x411445
jl 0x411382
cmp edx, dword [esp + 0x40]
jae 0x411445
xor edi, edi
cmp dword [esp + 0x24], edi
jbe 0x411423
lea edx, [ebx + 0x10971f8]
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x10]
cmp dword [eax], 0
je 0x411411
mov ecx, dword [esp + 0x38]
push edi
push esi
push ecx
mov ecx, dword [ebx + 0x10cc078]
call fcn.004018f0
fstp dword [esp + 0xc]
fld dword [esp + 0xc]
fld dword [esp + edi*4 + 0x1098]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x4113e4
mov edx, dword [esp + 0x38]
fst dword [esp + edi*4 + 0x1098]
mov dword [esp + edi*8 + 0x98], edx
mov dword [esp + edi*8 + 0x9c], esi
fld dword [esp + edi*4 + 0x1498]
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x41140f
mov eax, dword [esp + 0x38]
fstp dword [esp + edi*4 + 0x1498]
mov dword [esp + edi*8 + 0x898], eax
mov dword [esp + edi*8 + 0x89c], esi
jmp 0x411411
fstp st(0)
add dword [esp + 0x10], 4
add edi, 1
cmp edi, dword [esp + 0x24]
jb 0x411398
add dword [esp + 0x38], 1
adc esi, 0
cmp esi, dword [esp + 0x44]
jl 0x411382
jg 0x411445
mov ecx, dword [esp + 0x38]
cmp ecx, dword [esp + 0x40]
jb 0x411382
mov esi, dword [esp + 0x20]
xor edi, edi
cmp dword [esp + 0x24], edi
jbe 0x41159b
lea edx, [ebx + 0x82508]
mov dword [esp + 0x10], edx
nop
mov eax, dword [esp + 0x10]
cmp dword [eax + 0x1014cf0], 0
je 0x411589
mov ecx, dword [esp + 0x30]
mov esi, dword [esp + 0x2c]
add ecx, 0xfffffffe
cmp ecx, esi
jae 0x4114af
mov edx, dword [esp + edi*8 + 0x9c]
mov eax, dword [esp + edi*8 + 0x98]
mov ecx, dword [ebx + 0x10cc078]
push edi
push edx
push eax
call fcn.004018f0
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x28]
add ecx, edi
fstp dword [ebx + ecx*4]
mov dword [edx], 1
mov eax, dword [esp + 0x30]
add eax, 0xffffffff
cmp eax, esi
jae 0x4114ee
mov ecx, dword [esp + edi*8 + 0x89c]
mov edx, dword [esp + edi*8 + 0x898]
push edi
push ecx
mov ecx, dword [ebx + 0x10cc078]
push edx
call fcn.004018f0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x28]
add eax, edi
fstp dword [ebx + eax*4 + 0x400]
mov dword [ecx + 4], 1
mov edx, dword [esp + 0x10]
mov eax, dword [edx]
mov ecx, dword [esp + 0x34]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0xc], 0
jmp 0x411510
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x20]
lea esi, [edx + eax]
cmp esi, dword [esp + 0x2c]
jae 0x411585
mov ecx, esi
shl ecx, 8
add ecx, edi
fld dword [ebx + ecx*4 + 0x84d94]
fsub qword [esp + 0x70]
fmul qword [esp + 0x68]
call fcn.00423f00
cmp dword [esp + 0xc], 0
je 0x41155a
mov edx, dword [ebx + 0x82504]
sub edx, eax
mov eax, dword [esp + 0x34]
push edx
push esi
push eax
call dword [sym.imp.GDI32.dll_LineTo]
jmp 0x411575
mov ecx, dword [ebx + 0x82504]
mov edx, dword [esp + 0x20]
push 0
sub ecx, eax
mov eax, dword [esp + 0x38]
push ecx
push edx
push eax
call dword [sym.imp.GDI32.dll_MoveToEx]
mov eax, dword [esp + 0xc]
add eax, 1
cmp eax, 3
mov dword [esp + 0xc], eax
jl 0x411510
mov esi, dword [esp + 0x20]
add dword [esp + 0x10], 4
add edi, 1
cmp edi, dword [esp + 0x24]
jb 0x411460
push 1
push 0
push 0
push 0
lea ecx, [esp + 0x8c]
push ecx
call dword [sym.imp.USER32.dll_PeekMessageW]
fld qword [esp + 0x60]
mov edi, dword [esp + 0x2c]
add dword [esp + 0x30], 3
add dword [esp + 0x28], 0xc
add dword [esp + 0x1c], 0x300
add esi, 3
cmp esi, edi
mov dword [esp + 0x20], esi
jb 0x410fd8
fstp st(0)
mov dword [ebx + 0x10975f8], 0
jmp 0x41180f
fld qword [ebx + 0x1097a18]
fld qword [esp + 0x58]
fucom st(1)
fnstsw ax
fstp st(1)
test ah, 0x44
jp 0x41162a
fld qword [ebx + 0x1097a20]
fcomp qword [ebx + 0x83568]
fnstsw ax
test ah, 0x44
jp 0x41162a
fld qword [ebx + 0x1097a28]
fcomp qword [ebx + 0x83570]
fnstsw ax
test ah, 0x44
jnp 0x41180d
fld qword [ebx + 0x83568]
push 0x10000
fnstcw word [esp + 0x10]
lea ecx, [ebx + 0x1084d94]
movzx eax, word [esp + 0x10]
or eax, 0xc00
mov dword [esp + 0x14], eax
push 0
push ecx
fldcw word [esp + 0x1c]
fistp qword [esp + 0x54]
mov edx, dword [esp + 0x54]
mov dword [esp + 0x28], edx
fldcw word [esp + 0x18]
fdivr qword [esp + 0x6c]
fnstcw word [esp + 0x18]
movzx eax, word [esp + 0x18]
or eax, 0xc00
mov dword [esp + 0x1c], eax
fldcw word [esp + 0x1c]
fistp qword [esp + 0x54]
mov eax, dword [esp + 0x54]
mov dword [esp + 0x3c], eax
fldcw word [esp + 0x18]
call fcn.004238f0
mov esi, dword [ebx + 0x824f8]
add esp, 0xc
cmp esi, edi
mov dword [esp + 0x20], esi
jae 0x41180f
mov ecx, esi
shl ecx, 8
lea edx, [ebx + esi*4 + 0x1084d94]
add ecx, 0x21365
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x28], ecx
mov eax, esi
sub eax, dword [ebx + 0x824f8]
test eax, eax
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
jge 0x4116e0
fadd qword [0x43d7e8]
fld qword [esp + 0x60]
fmul st(1), st(0)
fld qword [esp + 0x58]
fnstcw word [esp + 0xc]
fdiv st(2), st(0)
movzx eax, word [esp + 0xc]
or eax, 0xc00
mov dword [esp + 0x1c], eax
fxch st(2)
fadd qword [ebx + 0x83568]
fldcw word [esp + 0x1c]
fistp qword [esp + 0x48]
mov eax, dword [esp + 0x48]
cmp eax, edx
mov dword [esp + 0x1c], eax
fldcw word [esp + 0xc]
je 0x4117e9
fcompp
fnstsw ax
test ah, 0x41
jne 0x41175f
call fcn.00424dbe
mov edi, dword [esp + 0x30]
cmp edi, 0x7fff
mov ecx, eax
jbe 0x411755
mov eax, 0x20005
mul edi
mov eax, edi
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 0xe
mov edx, eax
imul ecx, edx
xor edx, edx
mov eax, ecx
div edi
add dword [esp + 0x1c], edx
mov eax, dword [ebx + 0x10cc078]
xor ecx, ecx
cmp ecx, dword [eax + 0x44]
mov dword [esp + 0x54], ecx
jl 0x41178f
jg 0x41177b
mov ecx, dword [esp + 0x1c]
cmp ecx, dword [eax + 0x40]
jb 0x41178f
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x2c], esi
mov edi, esi
mov esi, dword [esp + 0x20]
jmp 0x4117ed
mov edx, dword [esp + 0x10]
xor edi, edi
cmp dword [esp + 0x24], edi
mov dword [edx], 1
jbe 0x4117d7
lea esi, [ebx + 0x10971f8]
cmp dword [esi], 0
je 0x4117cb
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x1c]
push edi
push eax
push ecx
mov ecx, dword [ebx + 0x10cc078]
call fcn.004018f0
mov edx, dword [esp + 0x28]
add edx, edi
fstp dword [ebx + edx*4]
add edi, 1
add esi, 4
cmp edi, dword [esp + 0x24]
jb 0x4117a7
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov esi, dword [esp + 0x20]
jmp 0x4117ed
fstp st(1)
fstp st(0)
add dword [esp + 0x10], 4
add esi, 1
add ecx, 0x100
cmp esi, edi
mov dword [esp + 0x20], esi
mov dword [esp + 0x28], ecx
jb 0x4116c6
jmp 0x41180f
fstp st(0)
cmp dword [esp + 0x24], 0
fld qword [esp + 0x58]
fstp qword [ebx + 0x1097a18]
mov dword [esp + 0x28], 0
fld qword [ebx + 0x83568]
fstp qword [ebx + 0x1097a20]
fld qword [ebx + 0x83570]
fstp qword [ebx + 0x1097a28]
jbe 0x41198f
lea esi, [ebx + 0x82508]
mov dword [esp + 0xc], esi
mov edi, edi
cmp dword [esi + 0x1014cf0], 0
je 0x411973
mov eax, dword [esi]
mov ecx, dword [esp + 0x34]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov edi, dword [ebx + 0x824f8]
xor eax, eax
cmp edi, dword [esp + 0x2c]
mov dword [esp + 0x30], eax
mov dword [esp + 0x20], eax
jae 0x41195c
fld qword [esp + 0x68]
mov eax, edi
fld qword [esp + 0x70]
shl eax, 8
add eax, dword [esp + 0x28]
lea edx, [ebx + edi*4 + 0x1084d94]
lea ecx, [ebx + eax*4 + 0x84d94]
lea esi, [ebx + 0x1097a38]
mov dword [esp + 0x10], edx
mov dword [esp + 0x1c], ecx
mov edx, dword [esp + 0x10]
cmp dword [edx], 0
je 0x41193a
mov eax, dword [esp + 0x1c]
fld dword [eax]
fsub st(1)
fmul st(2)
call fcn.00423f00
mov ecx, dword [ebx + 0x82504]
sub ecx, eax
mov dword [esi - 4], edi
mov dword [esi], ecx
mov edx, dword [ebx + 0x10cc078]
test byte [edx + 0x7818], 8
jne 0x411932
cmp dword [esp + 0x20], 4
jl 0x41191c
mov eax, 0x55555556
imul dword [esp + 0x20]
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0x20]
lea eax, [eax + eax*2]
sub edx, eax
cmp edx, 1
jne 0x41191c
mov eax, dword [esi - 0x10]
add eax, ecx
cdq
sub eax, edx
sar eax, 1
mov dword [esi - 8], eax
cmp dword [esp + 0x20], 0
jle 0x411932
mov eax, edi
sub eax, dword [esi - 0xc]
cmp dword [esp + 0x30], eax
ja 0x411932
mov dword [esp + 0x30], eax
add dword [esp + 0x20], 1
add esi, 8
add dword [esp + 0x10], 4
add dword [esp + 0x1c], 0x400
add edi, 1
cmp edi, dword [esp + 0x2c]
jb 0x4118b2
mov esi, dword [esp + 0xc]
fstp st(0)
fstp st(0)
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x34]
push eax
lea ecx, [ebx + 0x1097a34]
push ecx
push edx
call dword [sym.imp.GDI32.dll_Polyline]
mov eax, dword [esp + 0x28]
add eax, 1
add esi, 4
cmp eax, dword [esp + 0x24]
mov dword [esp + 0x28], eax
mov dword [esp + 0xc], esi
jb 0x411850
cmp dword [ebx + 0x1097608], 0
jne 0x411beb
mov eax, dword [ebx + 0x82504]
sub eax, dword [ebx + 0x824fc]
mov ecx, dword [ebx + 0x10cc07c]
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
mov eax, dword [ebx + 0x1097604]
mov edx, dword [ecx + 0xe0]
mov ecx, dword [ecx + 0xe4]
fst qword [esp + 0x48]
push eax
fld qword [ebx + eax*8 + 0x83d88]
push ecx
fst qword [esp + 0x78]
mov ecx, dword [ebx + 0x10cc078]
fsubr qword [ebx + eax*8 + 0x83588]
push edx
fst qword [esp + 0x5c]
fdivp st(1)
fstp qword [esp + 0x74]
call fcn.004018f0
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fld qword [esp + 0x70]
fsubr st(1)
fmul qword [esp + 0x68]
call fcn.00423f00
mov ecx, dword [ebx + 0x82504]
mov edx, dword [ebx + 0x10cc07c]
sub ecx, eax
mov dword [edx + 0xd8], ecx
mov eax, dword [ebx + 0x10cc07c]
fstp dword [eax + 0xdc]
mov eax, dword [ebx + 0x10cc080]
mov ecx, dword [ebx + 0x1097604]
mov edx, dword [eax + 0xe0]
mov eax, dword [eax + 0xe4]
push ecx
mov ecx, dword [ebx + 0x10cc078]
push eax
push edx
call fcn.004018f0
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fld st(0)
fld qword [esp + 0x70]
fsub st(1), st(0)
fxch st(1)
fmul qword [esp + 0x68]
call fcn.00423f00
fxch st(1)
mov ecx, dword [ebx + 0x82504]
mov edx, dword [ebx + 0x10cc080]
sub ecx, eax
mov dword [edx + 0xd8], ecx
mov eax, dword [ebx + 0x10cc080]
fstp dword [eax + 0xdc]
mov esi, dword [ebx + 0x10cc07c]
fild qword [esi + 0xe0]
fsub qword [ebx + 0x83568]
fld qword [esp + 0x58]
fmul st(1), st(0)
fld qword [esp + 0x60]
fdiv st(2), st(0)
fild dword [ebx + 0x824f8]
faddp st(3)
fxch st(2)
call fcn.00423f00
mov ecx, dword [esi + 0xd4]
mov dword [esi + 0xd0], eax
mov edx, dword [esi + 0xd0]
sub eax, ecx
add dword [esi + 0x90], eax
mov eax, dword [esi + 0xd0]
sub edx, ecx
add dword [esi + 0x98], edx
mov dword [esi + 0xd4], eax
mov esi, dword [ebx + 0x10cc080]
fild qword [esi + 0xe0]
fsub qword [ebx + 0x83568]
fmulp st(1)
fdivrp st(1)
fiadd dword [ebx + 0x824f8]
call fcn.00423f00
mov ecx, dword [esi + 0xd4]
mov dword [esi + 0xd0], eax
mov edx, dword [esi + 0xd0]
sub eax, ecx
add dword [esi + 0x90], eax
mov eax, dword [esi + 0xd0]
sub edx, ecx
add dword [esi + 0x98], edx
mov dword [esi + 0xd4], eax
fild dword [ebx + 0x82504]
mov esi, dword [ebx + 0x10cc084]
fld dword [esi + 0xdc]
fsub st(2)
fld qword [esp + 0x48]
fmul st(1), st(0)
fld qword [esp + 0x50]
fdiv st(2), st(0)
fxch st(3)
fsubrp st(2)
fxch st(1)
call fcn.00423f00
mov ecx, dword [esi + 0xd4]
mov dword [esi + 0xd0], eax
mov edx, dword [esi + 0xd0]
sub eax, ecx
add dword [esi + 0x94], eax
mov eax, dword [esi + 0xd0]
sub edx, ecx
add dword [esi + 0x9c], edx
mov dword [esi + 0xd4], eax
fild dword [ebx + 0x82504]
mov esi, dword [ebx + 0x10cc088]
fld dword [esi + 0xdc]
fsubrp st(4)
fxch st(3)
fmulp st(1)
fdivrp st(1)
fsubp st(1)
call fcn.00423f00
mov ecx, dword [esi + 0xd4]
mov dword [esi + 0xd0], eax
mov edx, dword [esi + 0xd0]
sub eax, ecx
add dword [esi + 0x94], eax
mov eax, dword [esi + 0xd0]
sub edx, ecx
add dword [esi + 0x9c], edx
push 0
mov ecx, ebx
mov dword [esi + 0xd4], eax
call fcn.0040fca0
mov ecx, dword [ebx + 0x4b8]
mov esi, dword [esp + 0x34]
push ecx
mov ecx, dword [ebx + 0x10cc07c]
push esi
call fcn.00403860
mov edx, dword [ebx + 0x4b8]
mov ecx, dword [ebx + 0x10cc080]
push edx
push esi
call fcn.00403860
mov eax, dword [ebx + 0x4b8]
mov ecx, dword [ebx + 0x10cc084]
push eax
push esi
call fcn.00403e00
mov ecx, dword [ebx + 0x4b8]
push ecx
mov ecx, dword [ebx + 0x10cc088]
push esi
call fcn.00403e00
mov ecx, dword [esp + 0x1c9c]
pop edi
pop esi
pop ebx
xor ecx, esp
mov eax, 1
call fcn.00423284
mov esp, ebp
pop ebp
ret 0x18