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

Disassembly:
push 0xffffffffffffffff
push 0x6caca6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1b8
mov eax, dword [0x1209e28]
push ebx
push ebp
xor ebx, ebx
cmp eax, ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0xc4], edi
mov dword [esp + 0x84], ebx
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x88], ebx
je 0x5d880a
fld dword [esp + 0x1d8]
fadd dword [0x6ef034]
lea edx, [esp + 0x84]
push edx
sub esp, 0xc
fstp dword [esp + 0x30]
mov edx, esp
fld dword [esp + 0x1ec]
mov esi, dword [esp + 0x30]
fadd dword [0x6ef034]
mov eax, esi
mov dword [edx], eax
mov dword [edx + 4], ebx
fstp dword [esp + 0x30]
mov dword [esp + 0x1e0], ebx
mov ebp, dword [esp + 0x30]
mov ecx, ebp
mov dword [edx + 8], ecx
mov ecx, 0x106cb40
call fcn.005bc510
sub esp, 0xc
mov eax, esp
mov dword [eax], esi
mov dword [eax + 4], ebx
mov ecx, 0x106cb40
mov dword [eax + 8], ebp
call fcn.005bc9c0
fld dword [esp + 0x1d8]
fadd dword [0x6ef014]
mov esi, dword [esp + 0x1d8]
mov ebp, dword [esp + 0x1e0]
lea ecx, [edi + 0xbc]
fstp dword [esp + 0x34]
mov dword [ecx], esi
fld dword [esp + 0x1dc]
mov dword [ecx + 4], ebx
fadd dword [0x6ef014]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x1dc]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x34]
fstp dword [esp + 0x3c]
fild dword [0x720614]
mov ecx, dword [esp + 0x3c]
lea edx, [edi + 0xc8]
mov dword [edx], eax
mov dword [edx + 4], ebx
fstp dword [esp + 0x18]
mov dword [edx + 8], ecx
mov dword [edi + 0xb8], ebp
fild dword [0x71c798]
mov eax, dword [edi + 0xd8]
mov edx, dword [eax]
fstp dword [esp + 0x74]
push ebx
fld dword [esp + 0x1c]
lea ecx, [esp + 0x14]
fdiv dword [esp + 0x78]
push ecx
push ebx
push ebx
push eax
mov dword [esp + 0x34], 0xcb189680
mov dword [esp + 0x78], 0x4b189680
fstp dword [esp + 0x8c]
call dword [edx + 0x2c]
mov edx, dword [esp + 0x1dc]
lea eax, [esp + 0x24]
push eax
lea ecx, [edi + 0x1c]
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], edx
call fcn.005e5bc6
call fcn.006935b2
cdq
mov ecx, 0x3e8
idiv ecx
mov dword [esp + 0x18], edx
fild dword [esp + 0x18]
cmp ebp, ebx
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
mov dword [esp + 0x6c], ebx
fmul dword [0x6ef030]
fstp dword [edi + 0xd4]
jle 0x5d87ed
xor esi, esi
mov dword [esp + 0x7c], ebp
mov edi, edi
call fcn.006935b2
cdq
mov ecx, 0x1ec
idiv ecx
mov dword [esp + 0x18], edx
fild dword [esp + 0x18]
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fadd dword [esp + 0x1d8]
fstp dword [esp + 0x34]
call fcn.006935b2
cdq
mov ecx, 0x1ec
idiv ecx
mov dword [esp + 0x18], edx
fild dword [esp + 0x18]
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fadd dword [esp + 0x1dc]
fstp dword [esp + 0x3c]
fild dword [0x720614]
fstp dword [esp + 0x40]
fld dword [esp + 0x34]
fdiv dword [esp + 0x40]
call fcn.00693530
mov ebp, dword [0x720614]
imul eax, ebp
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
fstp dword [esp + 0x18]
fld dword [esp + 0x34]
fsub dword [esp + 0x18]
fstp dword [esp + 0x50]
fld dword [esp + 0x3c]
fdiv dword [esp + 0x40]
call fcn.00693530
imul eax, ebp
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
fstp dword [esp + 0x18]
fld dword [esp + 0x3c]
fsub dword [esp + 0x18]
fstp dword [esp + 0x54]
fld dword [esp + 0x50]
fcomp dword [0x6f3614]
fnstsw ax
test ah, 5
jnp 0x5d87e3
fld dword [esp + 0x54]
fcomp dword [0x6f3614]
fnstsw ax
test ah, 5
jnp 0x5d87e3
cmp dword [esp + 0x70], ebx
je 0x5d87e3
fld dword [esp + 0x54]
fdiv dword [esp + 0x78]
fstp dword [esp + 0x60]
fld dword [esp + 0x50]
fdiv dword [esp + 0x78]
fstp dword [esp + 0x80]
fld dword [esp + 0x60]
call fcn.00693530
fld dword [esp + 0x80]
mov ebp, eax
imul ebp, dword [0x71c798]
call fcn.00693530
add ebp, dword [esp + 0x70]
mov dl, byte [eax + ebp]
and dl, 0xf0
cmp dl, 0x80
jne 0x5d87e3
mov ecx, dword [esp + 0x88]
mov eax, 0x55555556
imul ecx
mov eax, edx
shr eax, 0x1f
add eax, edx
test eax, eax
mov dword [esp + 0x44], ebx
jle 0x5d87e3
xor ebp, ebp
jmp 0x5d8040
mov edx, dword [esp + 0x84]
lea eax, [edx + ebp]
lea ecx, [esp + 0x58]
push ecx
push eax
mov eax, dword [esp + 0x3c]
sub esp, 0xc
mov edx, esp
mov dword [edx], eax
mov ecx, 0x47c35000
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x50]
mov dword [edx + 8], ecx
mov edx, dword [esp + 0x50]
sub esp, 0xc
mov ecx, esp
mov dword [ecx], eax
xor eax, eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], edx
call fcn.005e63c6
add esp, 0x20
test eax, eax
jne 0x5d80b7
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x88]
inc eax
mov dword [esp + 0x44], eax
mov eax, 0x55555556
imul ecx
mov ecx, dword [esp + 0x44]
mov eax, edx
shr eax, 0x1f
add eax, edx
add ebp, 0x24
cmp ecx, eax
jl 0x5d8040
jmp 0x5d87e3
call fcn.006935b2
fld dword [esp + 0x58]
fcomp dword [esp + 0x20]
mov ecx, dword [esp + 0x58]
fnstsw ax
test ah, 0x41
jne 0x5d80d3
mov dword [esp + 0x20], ecx
fld dword [esp + 0x58]
fcomp dword [esp + 0x64]
fnstsw ax
test ah, 5
jp 0x5d80e6
mov dword [esp + 0x64], ecx
call fcn.006935b2
mov ecx, eax
and ecx, 0x80000003
jns 0x5d80fc
dec ecx
or ecx, 0xfffffffc
inc ecx
js 0x5d8111
cmp ecx, 4
jg 0x5d8111
mov dword [esp + 0x74], 0x42c80000
mov dword [esp + 0x68], 0x42200000
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
and ecx, 0x80000001
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fmul dword [0x6d126c]
fstp dword [esp + 0x5c]
jns 0x5d813f
dec ecx
or ecx, 0xfffffffe
inc ecx
mov dword [esp + 0x18], ecx
fild dword [esp + 0x18]
sub esp, 8
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fmul dword [0x6d126c]
fstp dword [esp + 0x54]
fld dword [esp + 0x3c]
fmul dword [0x6ef02c]
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fstp qword [esp]
call fcn.00693ae4
fstp st(0)
add esp, 8
fld dword [esp + 0x34]
fdiv dword [0x6d05b4]
call fcn.00693530
cdq
mov ecx, 0x13
idiv ecx
mov eax, esi
mov ecx, 8
lea edx, [edx*4 + 4]
mov dword [esp + 0x18], edx
fild dword [esp + 0x18]
fstp dword [esp + 0x18]
mov edx, dword [esp + 0x18]
mov edi, dword [esp + 0x10]
mov dword [eax + edi + 0x14], edx
mov edi, dword [esp + 0x10]
mov dword [eax + edi + 0x18], ebx
fld dword [esp + 0x58]
fsub dword [0x6ee0b0]
mov edi, dword [esp + 0x10]
add eax, 0x28
dec ecx
fstp dword [eax + edi - 0x18]
jne 0x5d81b0
fld dword [esp + 0x68]
mov edi, dword [esp + 0x10]
fchs
mov dword [esp + 0x14], eax
fstp dword [esp + 0x18]
add edi, esi
mov eax, dword [esp + 0x18]
fld dword [esp + 0x3c]
fadd dword [0x6f3614]
mov dword [esp + 0xcc], eax
mov ebp, edi
mov dword [esp + 0xd8], eax
fstp dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
fld dword [esp + 0x74]
fadd dword [0x6ee0b0]
mov dword [esp + 0xb4], ecx
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xbc], ecx
fstp dword [esp + 0x18]
fld dword [esp + 0xcc]
mov edx, dword [esp + 0x18]
fadd dword [esp + 0x34]
mov dword [esp + 0x9c], edx
mov dword [esp + 0xb0], edx
fstp dword [esp + 0x1b0]
fld dword [esp + 0xb4]
fsub dword [esp + 0x2c]
fstp dword [esp + 0x1c]
fld dword [esp + 0x9c]
fsub dword [esp + 0x28]
fstp dword [esp + 0x18]
fld dword [esp + 0x1b0]
fsub dword [esp + 0x24]
fstp dword [esp + 0xf0]
mov edi, dword [esp + 0xf0]
fld dword [0x6f3614]
mov dword [ebp], edi
fadd dword [0x6ee0b0]
mov edi, dword [esp + 0x18]
mov dword [ebp + 4], edi
mov edi, dword [esp + 0x1c]
fstp dword [esp + 0x40]
mov dword [ebp + 8], edi
fld dword [esp + 0xd8]
mov edi, dword [esp + 0x10]
fadd dword [esp + 0x34]
mov dword [esi + edi + 0xc], 0x3f800000
mov edi, dword [esp + 0x40]
mov dword [esp + 0xc0], edi
mov edi, dword [esp + 0x10]
fstp dword [esp + 0x108]
fld dword [esp + 0xa4]
lea edi, [esi + edi + 0x28]
fsub dword [esp + 0x2c]
mov ebp, edi
fstp dword [esp + 0x1c]
fld dword [esp + 0xc0]
fsub dword [esp + 0x28]
fstp dword [esp + 0x18]
fld dword [esp + 0x108]
fsub dword [esp + 0x24]
fstp dword [esp + 0x168]
mov edi, dword [esp + 0x168]
fld dword [esp + 0x68]
mov dword [ebp], edi
fadd dword [esp + 0x34]
mov edi, dword [esp + 0x18]
mov dword [ebp + 4], edi
mov edi, dword [esp + 0x1c]
fstp dword [esp + 0x1c]
mov dword [ebp + 8], edi
mov edi, dword [esp + 0x10]
fld dword [esp + 0xbc]
mov dword [esi + edi + 0x34], ebx
fsub dword [esp + 0x2c]
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x120], edi
fstp dword [esp + 0x48]
fld dword [esp + 0xb0]
fsub dword [esp + 0x28]
mov edi, dword [esp + 0x10]
fstp dword [esp + 0x18]
fld dword [esp + 0x120]
lea edi, [esi + edi + 0x50]
fsub dword [esp + 0x24]
mov ebp, edi
mov dword [esp + 0xb8], ecx
mov ecx, dword [esp + 0x40]
fstp dword [esp + 0x198]
mov edi, dword [esp + 0x198]
mov dword [ebp], edi
fld dword [esp + 0xb8]
mov edi, dword [esp + 0x18]
mov dword [ebp + 4], edi
mov edi, dword [esp + 0x48]
mov dword [ebp + 8], edi
mov edi, dword [esp + 0x10]
mov dword [esi + edi + 0x5c], 0x3f800000
fsub dword [esp + 0x2c]
mov edi, dword [esp + 0x10]
mov dword [esp + 0xa0], ecx
mov ecx, dword [esp + 0x1c]
fstp dword [esp + 0x1c]
fld dword [esp + 0xa0]
mov dword [esp + 0x138], ecx
fsub dword [esp + 0x28]
lea edi, [esi + edi + 0x78]
mov dword [esp + 0x158], eax
mov dword [esp + 0x94], edx
fstp dword [esp + 0x18]
fld dword [esp + 0x138]
mov ecx, dword [esp + 0x18]
fsub dword [esp + 0x24]
fstp dword [esp + 0x180]
mov ebp, dword [esp + 0x180]
fld dword [esp + 0x4c]
mov dword [edi], ebp
fadd dword [0x6dc420]
mov dword [edi + 4], ecx
mov ecx, dword [esp + 0x1c]
mov dword [edi + 8], ecx
mov ecx, dword [esp + 0x10]
fstp dword [esp + 0x18]
fld dword [esp + 0x5c]
mov dword [esi + ecx + 0x84], ebx
fadd dword [0x6dc420]
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov dword [esi + edi + 0x1c], ecx
mov edi, dword [esp + 0x10]
fstp dword [esp + 0x44]
fld dword [esp + 0x5c]
mov ebp, dword [esp + 0x44]
fadd dword [0x6d126c]
mov dword [esi + edi + 0x20], ebp
mov edi, dword [esp + 0x10]
mov dword [esi + edi + 0x44], ecx
mov edi, dword [esp + 0x10]
fstp dword [esp + 0x48]
fld dword [esp + 0x4c]
mov ebp, dword [esp + 0x48]
fadd dword [0x6d126c]
mov dword [esi + edi + 0x48], ebp
mov edi, dword [esp + 0x10]
fstp dword [esp + 0x4c]
mov ebp, dword [esp + 0x4c]
fld dword [esp + 0x158]
fadd dword [esp + 0x3c]
mov dword [esi + edi + 0x6c], ebp
mov edi, dword [esp + 0x10]
mov ebp, dword [esp + 0x44]
mov dword [esi + edi + 0x70], ebp
fstp dword [esp + 0x18]
mov edi, dword [esp + 0x10]
fld dword [esp + 0x34]
mov ebp, dword [esp + 0x4c]
fadd dword [0x6f3614]
mov dword [esi + edi + 0x94], ebp
mov edi, dword [esp + 0x10]
mov ebp, dword [esp + 0x48]
mov dword [esi + edi + 0x98], ebp
fstp dword [esp + 0x1c]
mov dword [esp + 0x11c], eax
fld dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
fsub dword [esp + 0x2c]
mov dword [esp + 0xe4], edi
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x40]
fstp dword [esp + 0x5c]
lea edi, [esi + edi + 0xa0]
fld dword [esp + 0x94]
mov ebp, edi
fsub dword [esp + 0x28]
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x12c], eax
fstp dword [esp + 0x18]
mov dword [esp + 0x30], edx
fld dword [esp + 0xe4]
mov dword [esp + 0x15c], eax
fsub dword [esp + 0x24]
fstp dword [esp + 0xfc]
mov edi, dword [esp + 0xfc]
fld dword [esp + 0x11c]
mov dword [ebp], edi
fadd dword [esp + 0x3c]
mov edi, dword [esp + 0x18]
mov dword [ebp + 4], edi
mov edi, dword [esp + 0x5c]
mov dword [ebp + 8], edi
fstp dword [esp + 0x18]
mov edi, dword [esp + 0x10]
fld dword [esp + 0x18]
mov dword [esi + edi + 0xac], 0x3f800000
fsub dword [esp + 0x2c]
mov edi, dword [esp + 0x10]
lea edi, [esi + edi + 0xc8]
fstp dword [esp + 0x1c]
mov ebp, edi
fld dword [esp + 0xa8]
fsub dword [esp + 0x28]
fstp dword [esp + 0x18]
fld dword [esp + 0x12c]
fsub dword [esp + 0x24]
fstp dword [esp + 0x144]
mov edi, dword [esp + 0x144]
fld dword [esp + 0x68]
mov dword [ebp], edi
fadd dword [esp + 0x3c]
mov edi, dword [esp + 0x18]
mov dword [ebp + 4], edi
mov edi, dword [esp + 0x1c]
mov dword [ebp + 8], edi
fstp dword [esp + 0x18]
mov edi, dword [esp + 0x10]
mov dword [esi + edi + 0xd4], ebx
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov dword [esp + 0xac], edi
fld dword [esp + 0xac]
lea edx, [esi + edx + 0xf0]
fsub dword [esp + 0x2c]
mov ebp, edx
mov dword [esp + 0x98], edi
fstp dword [esp + 0x1c]
fld dword [esp + 0x30]
fsub dword [esp + 0x28]
fstp dword [esp + 0x18]
fld dword [esp + 0x15c]
fsub dword [esp + 0x24]
fstp dword [esp + 0x174]
mov edx, dword [esp + 0x174]
mov dword [ebp], edx
mov edx, dword [esp + 0x18]
mov dword [ebp + 4], edx
mov edx, dword [esp + 0x1c]
mov dword [ebp + 8], edx
mov edx, dword [esp + 0x10]
mov dword [esi + edx + 0xfc], 0x3f800000
mov edx, dword [esp + 0x40]
mov dword [esp + 0x90], edx
fld dword [esp + 0x98]
mov edi, dword [esp + 0x10]
fsub dword [esp + 0x2c]
mov dword [esp + 0x18c], eax
lea edi, [esi + edi + 0x118]
fstp dword [esp + 0x1c]
fld dword [esp + 0x90]
mov edx, dword [esp + 0x1c]
fsub dword [esp + 0x28]
fstp dword [esp + 0x18]
fld dword [esp + 0x18c]
mov eax, dword [esp + 0x18]
fsub dword [esp + 0x24]
fstp dword [esp + 0x1a4]
mov ebp, dword [esp + 0x1a4]
mov dword [edi], ebp
mov dword [edi + 4], eax
mov dword [edi + 8], edx
mov eax, dword [esp + 0x10]
mov dword [esi + eax + 0x124], ebx
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x44]
mov dword [esi + edx + 0xbc], ecx
mov edx, dword [esp + 0x10]
mov dword [esi + edx + 0xc0], eax
mov edx, dword [esp + 0x10]
mov dword [esi + edx + 0xe4], ecx
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x48]
mov dword [esi + edx + 0xe8], ecx
mov edi, dword [esp + 0x10]
mov edx, dword [esp + 0x4c]
mov dword [esi + edi + 0x10c], edx
mov edi, dword [esp + 0x10]
mov dword [esi + edi + 0x110], eax
mov eax, dword [esp + 0x10]
mov dword [esi + eax + 0x134], edx
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x80]
mov dword [esi + edx + 0x138], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x54], ecx
fld dword [esp + 0x54]
mov dword [esp + 0x50], eax
call fcn.00693530
fld dword [esp + 0x50]
mov edi, eax
imul edi, dword [0x71c798]
call fcn.00693530
mov edx, dword [esp + 0x70]
mov ecx, dword [esp + 0x10]
add edi, edx
mov dl, byte [eax + edi]
and dl, 0xf
cmp dl, 1
mov eax, 0x3f333333
je 0x5d8784
mov eax, 0x3f800000
mov dword [esi + ecx + 0x24], eax
mov edx, dword [esp + 0x10]
mov dword [esi + edx + 0x4c], eax
mov ecx, dword [esp + 0x10]
mov dword [esi + ecx + 0x74], eax
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0xc4]
mov dword [esi + edx + 0x9c], eax
mov ecx, dword [esp + 0x10]
mov dword [esi + ecx + 0xc4], eax
mov edx, dword [esp + 0x10]
mov dword [esi + edx + 0xec], eax
mov ecx, dword [esp + 0x10]
mov dword [esi + ecx + 0x114], eax
mov edx, dword [esp + 0x10]
mov dword [esi + edx + 0x13c], eax
mov eax, dword [esp + 0x6c]
mov esi, dword [esp + 0x14]
inc eax
mov dword [esp + 0x6c], eax
dec dword [esp + 0x7c]
jne 0x5d7ee0
mov eax, dword [edi + 0xd8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x30]
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x20]
jmp 0x5d9294
fld dword [esp + 0x1d8]
fadd dword [0x6ef034]
lea edx, [esp + 0x84]
push edx
sub esp, 0xc
fstp dword [esp + 0x30]
mov edx, esp
fld dword [esp + 0x1ec]
mov esi, dword [esp + 0x30]
fadd dword [0x6ef034]
mov eax, esi
mov dword [edx], eax
mov dword [edx + 4], ebx
fstp dword [esp + 0x30]
mov dword [esp + 0x1e0], 1
mov ebp, dword [esp + 0x30]
mov ecx, ebp
mov dword [edx + 8], ecx
mov ecx, 0x106cb40
call fcn.005bc510
sub esp, 0xc
mov eax, esp
mov dword [eax], esi
mov dword [eax + 4], ebx
mov ecx, 0x106cb40
mov dword [eax + 8], ebp
call fcn.005bc9c0
fld dword [esp + 0x1d8]
fadd dword [0x6ef014]
mov esi, dword [esp + 0x1d8]
mov ebp, dword [esp + 0x1e0]
lea ecx, [edi + 0xbc]
fstp dword [esp + 0x34]
mov dword [ecx], esi
fld dword [esp + 0x1dc]
mov dword [ecx + 4], ebx
fadd dword [0x6ef014]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x1dc]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x34]
fstp dword [esp + 0x3c]
fild dword [0x720614]
mov ecx, dword [esp + 0x3c]
lea edx, [edi + 0xc8]
mov dword [edx], eax
mov dword [edx + 4], ebx
fstp dword [esp + 0x14]
mov dword [edx + 8], ecx
mov dword [edi + 0xb8], ebp
fild dword [0x71c798]
mov eax, dword [edi + 0xd8]
push ebx
fstp dword [esp + 0x94]
lea ecx, [esp + 0x14]
fld dword [esp + 0x18]
push ecx
fdiv dword [esp + 0x98]
push ebx
push ebx
mov dword [edi + 0xe0], 0xffffff
mov dword [edi + 0xe4], 0x500000
mov dword [edi + 0xe8], ebx
mov edx, dword [eax]
push eax
mov dword [esp + 0x8c], 0xcb189680
mov dword [esp + 0x30], 0x4b189680
fstp dword [esp + 0x90]
call dword [edx + 0x2c]
mov edx, dword [esp + 0x1dc]
lea eax, [esp + 0x24]
push eax
lea ecx, [edi + 0x1c]
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], edx
call fcn.005e5bc6
call fcn.006935b2
cdq
mov ecx, 0x3e8
idiv ecx
cmp ebp, ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x14], edx
fild dword [esp + 0x14]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fmul dword [0x6ef030]
fstp dword [edi + 0xd4]
jle 0x5d927c
xor esi, esi
mov dword [esp + 0x18], ebp
call fcn.006935b2
cdq
mov ecx, 0x1ec
idiv ecx
mov dword [esp + 0x14], edx
fild dword [esp + 0x14]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fadd dword [esp + 0x1d8]
fstp dword [esp + 0x34]
call fcn.006935b2
cdq
mov ecx, 0x1ec
idiv ecx
mov dword [esp + 0x14], edx
fild dword [esp + 0x14]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fadd dword [esp + 0x1dc]
fstp dword [esp + 0x3c]
fild dword [0x720614]
fstp dword [esp + 0x40]
fld dword [esp + 0x34]
fdiv dword [esp + 0x40]
call fcn.00693530
mov ebp, dword [0x720614]
imul eax, ebp
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fstp dword [esp + 0x14]
fld dword [esp + 0x34]
fsub dword [esp + 0x14]
fstp dword [esp + 0x44]
fld dword [esp + 0x3c]
fdiv dword [esp + 0x40]
call fcn.00693530
imul eax, ebp
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fstp dword [esp + 0x14]
fld dword [esp + 0x3c]
fsub dword [esp + 0x14]
fstp dword [esp + 0x58]
fld dword [esp + 0x44]
fcomp dword [0x6f3614]
fnstsw ax
test ah, 5
jnp 0x5d9272
fld dword [esp + 0x58]
fcomp dword [0x6f3614]
fnstsw ax
test ah, 5
jnp 0x5d9272
cmp dword [esp + 0x68], ebx
je 0x5d9272
fld dword [esp + 0x58]
fdiv dword [esp + 0x7c]
fstp dword [esp + 0x74]
fld dword [esp + 0x44]
fdiv dword [esp + 0x7c]
fstp dword [esp + 0x40]
fld dword [esp + 0x74]
call fcn.00693530
fld dword [esp + 0x40]
mov ebp, eax
imul ebp, dword [0x71c798]
call fcn.00693530
add ebp, dword [esp + 0x68]
mov dl, byte [eax + ebp]
and dl, 0xf0
cmp dl, 0x80
jne 0x5d9272
mov ecx, dword [esp + 0x88]
mov eax, 0x55555556
imul ecx
mov eax, edx
shr eax, 0x1f
add eax, edx
test eax, eax
mov dword [esp + 0x20], ebx
jle 0x5d9272
xor ebp, ebp
mov edx, dword [esp + 0x84]
lea eax, [edx + ebp]
lea ecx, [esp + 0x64]
push ecx
push eax
mov eax, dword [esp + 0x3c]
sub esp, 0xc
mov edx, esp
mov dword [edx], eax
mov ecx, 0x47c35000
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x50]
mov dword [edx + 8], ecx
mov edx, dword [esp + 0x50]
sub esp, 0xc
mov ecx, esp
mov dword [ecx], eax
xor eax, eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], edx
call fcn.005e63c6
add esp, 0x20
test eax, eax
jne 0x5d8b67
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x88]
inc eax
mov dword [esp + 0x20], eax
mov eax, 0x55555556
imul ecx
mov ecx, dword [esp + 0x20]
mov eax, edx
shr eax, 0x1f
add eax, edx
add ebp, 0x24
cmp ecx, eax
jl 0x5d8af0
jmp 0x5d9272
call fcn.006935b2
fld dword [esp + 0x64]
fcomp dword [esp + 0x78]
mov ecx, dword [esp + 0x64]
mov dword [esp + 0xd0], ecx
fnstsw ax
test ah, 0x41
jne 0x5d8b8a
mov dword [esp + 0x78], ecx
fld dword [esp + 0x64]
fcomp dword [esp + 0x1c]
fnstsw ax
test ah, 5
jp 0x5d8b9d
mov dword [esp + 0x1c], ecx
call fcn.006935b2
mov edi, eax
and edi, 0x80000003
jns 0x5d8bb3
dec edi
or edi, 0xfffffffc
inc edi
js 0x5d8bc8
cmp edi, 3
jg 0x5d8bc8
mov dword [esp + 0x6c], 0x42c80000
mov dword [esp + 0x70], 0x42700000
call fcn.006935b2
cdq
mov ecx, 0x64
idiv ecx
mov eax, edi
mov dword [esp + 0x14], edx
fild dword [esp + 0x14]
cdq
sub eax, edx
sar eax, 1
and edi, 0x80000001
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
mov dword [esp + 0x14], eax
fdiv dword [0x6d0980]
fadd dword [0x6d4fc8]
fmul dword [esp + 0x6c]
fstp dword [esp + 0x6c]
fild dword [esp + 0x14]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fmul dword [0x6d126c]
fstp dword [esp + 0x80]
jns 0x5d8c2a
dec edi
or edi, 0xfffffffe
inc edi
mov dword [esp + 0x14], edi
fild dword [esp + 0x14]
sub esp, 8
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fmul dword [0x6d126c]
fstp dword [esp + 0x50]
fld dword [esp + 0x3c]
fmul dword [0x6ef02c]
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fstp qword [esp]
call fcn.00693ae4
fstp dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
fld dword [esp + 0x1c]
add esp, 8
fstp dword [esp + 0x50]
fld dword [esp + 0x70]
add edi, esi
fchs
mov ebp, edi
fstp dword [esp + 0x14]
mov eax, dword [esp + 0x14]
fld dword [esp + 0x3c]
fadd dword [0x6f3614]
mov dword [esp + 0x1a4], eax
mov dword [esp + 0x15c], eax
fstp dword [esp + 0x14]
fld dword [esp + 0x6c]
mov ecx, dword [esp + 0x14]
fadd dword [esp + 0xd0]
mov dword [esp + 0x90], ecx
mov dword [esp + 0xac], ecx
fstp dword [esp + 0x14]
fld dword [esp + 0x1a4]
mov edx, dword [esp + 0x14]
fadd dword [esp + 0x34]
mov dword [esp + 0x98], edx
fstp dword [esp + 0x18c]
fld dword [esp + 0x90]
fsub dword [esp + 0x2c]
fstp dword [esp + 0x30]
fld dword [esp + 0x98]
fsub dword [esp + 0x28]
fstp dword [esp + 0x14]
fld dword [esp + 0x18c]
fsub dword [esp + 0x24]
fstp dword [esp + 0x174]
mov edi, dword [esp + 0x174]
fld dword [esp + 0xd0]
mov dword [ebp], edi
fadd dword [0x6f3614]
mov edi, dword [esp + 0x14]
mov dword [ebp + 4], edi
mov edi, dword [esp + 0x30]
fstp dword [esp + 0x54]
mov dword [ebp + 8], edi
fld dword [esp + 0x15c]
mov edi, dword [esp + 0x10]
fadd dword [esp + 0x34]
mov ebp, dword [esp + 0x50]
mov dword [esi + edi + 0xc], ebp
mov edi, dword [esp + 0x54]
fstp dword [esp + 0x144]
mov dword [esp + 0xa8], edi
fld dword [esp + 0xac]
mov edi, dword [esp + 0x10]
fsub dword [esp + 0x2c]
lea edi, [esi + edi + 0x1c]
mov ebp, edi
fstp dword [esp + 0x30]
fld dword [esp + 0xa8]
fsub dword [esp + 0x28]
fstp dword [esp + 0x14]
fld dword [esp + 0x144]
fsub dword [esp + 0x24]
fstp dword [esp + 0x12c]
mov edi, dword [esp + 0x12c]
mov dword [ebp], edi
mov edi, dword [esp + 0x14]
fld dword [esp + 0x70]
fadd dword [esp + 0x34]
mov dword [ebp + 4], edi
mov edi, dword [esp + 0x30]
mov dword [ebp + 8], edi
mov edi, dword [esp + 0x10]
fstp dword [esp + 0x60]
mov dword [esi + edi + 0x28], ebx
mov edi, dword [esp + 0x60]
mov dword [esp + 0x94], ecx
fld dword [esp + 0x94]
mov dword [esp + 0x114], edi
fsub dword [esp + 0x2c]
mov edi, dword [esp + 0x10]
mov dword [esp + 0xa0], edx
lea edi, [esi + edi + 0x38]
fstp dword [esp + 0x30]
mov ebp, edi
fld dword [esp + 0xa0]
mov dword [esp + 0xb8], ecx
fsub dword [esp + 0x28]
mov ecx, dword [esp + 0x54]
mov dword [esp + 0xb0], ecx
mov ecx, dword [esp + 0x60]
fstp dword [esp + 0x14]
mov dword [esp + 0xe4], ecx
fld dword [esp + 0x114]
fsub dword [esp + 0x24]
fstp dword [esp + 0xfc]
mov edi, dword [esp + 0xfc]
mov dword [ebp], edi
fld dword [esp + 0xb8]
mov edi, dword [esp + 0x14]
mov dword [ebp + 4], edi
mov edi, dword [esp + 0x30]
mov dword [ebp + 8], edi
mov edi, dword [esp + 0x10]
mov ebp, dword [esp + 0x50]
mov dword [esi + edi + 0x44], ebp
fsub dword [esp + 0x2c]
mov edi, dword [esp + 0x10]
lea edi, [esi + edi + 0x54]
fstp dword [esp + 0x30]
fld dword [esp + 0xb0]
fsub dword [esp + 0x28]
fstp dword [esp + 0x14]
fld dword [esp + 0xe4]
mov ecx, dword [esp + 0x14]
fsub dword [esp + 0x24]
fstp dword [esp + 0x150]
mov ebp, dword [esp + 0x150]
fld dword [esp + 0x48]
mov dword [edi], ebp
fadd dword [0x6dc420]
mov dword [edi + 4], ecx
mov ecx, dword [esp + 0x30]
mov dword [edi + 8], ecx
mov ecx, dword [esp + 0x10]
fstp dword [esp + 0x14]
fld dword [esp + 0x80]
mov dword [esi + ecx + 0x60], ebx
fadd dword [0x6dc420]
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esi + edi + 0x14], ecx
mov edi, dword [esp + 0x10]
fstp dword [esp + 0x20]
fld dword [esp + 0x80]
mov ebp, dword [esp + 0x20]
fadd dword [0x6d126c]
mov dword [esi + edi + 0x18], ebp
mov edi, dword [esp + 0x10]
mov dword [esi + edi + 0x30], ecx
mov edi, dword [esp + 0x10]
fstp dword [esp + 0x4c]
fld dword [esp + 0x48]
mov ebp, dword [esp + 0x4c]
fadd dword [0x6d126c]
mov dword [esi + edi + 0x34], ebp
fstp dword [esp + 0x48]
mov edi, dword [esp + 0x10]
mov ebp, dword [esp + 0x48]
mov dword [esi + edi + 0x4c], ebp
mov edi, dword [esp + 0x10]
mov ebp, dword [esp + 0x20]
mov dword [esi + edi + 0x50], ebp
mov edi, dword [esp + 0x10]
mov ebp, dword [esp + 0x48]
mov dword [esi + edi + 0x68], ebp
mov edi, dword [esp + 0x10]
mov ebp, dword [esp + 0x4c]
mov dword [esi + edi + 0x6c], ebp
mov dword [esp + 0x188], eax
fld dword [esp + 0x188]
fadd dword [esp + 0x3c]
mov dword [esp + 0xbc], edx
mov dword [esp + 0x128], eax
mov eax, dword [esp + 0x54]
fstp dword [esp + 0x14]
mov dword [esp + 0xc0], eax
fld dword [esp + 0x34]
mov dword [esp + 0x9c], edx
fadd dword [0x6f3614]
fstp dword [esp + 0x60]
fld dword [esp + 0x14]
mov edi, dword [esp + 0x60]
fsub dword [esp + 0x2c]
mov dword [esp + 0x138], edi
mov edi, dword [esp + 0x10]
lea edi, [esi + edi + 0x70]
fstp dword [esp + 0x30]
mov ebp, edi
fld dword [esp + 0xbc]
mov eax, dword [esp + 0x60]
fsub dword [esp + 0x28]
mov dword [esp + 0x168], eax
mov dword [esp + 0xd8], eax
fstp dword [esp + 0x14]
fld dword [esp + 0x138]
fsub dword [esp + 0x24]
fstp dword [esp + 0x198]
mov edi, dword [esp + 0x198]
fld dword [esp + 0x128]
mov dword [ebp], edi
fadd dword [esp + 0x3c]
mov edi, dword [esp + 0x14]
mov dword [ebp + 4], edi
mov edi, dword [esp + 0x30]
mov dword [ebp + 8], edi
fstp dword [esp + 0x14]
mov edi, dword [esp + 0x10]
fld dword [esp + 0x14]
mov ebp, dword [esp + 0x50]
mov dword [esi + edi + 0x7c], ebp
fsub dword [esp + 0x2c]
mov edi, dword [esp + 0x10]
lea edi, [esi + edi + 0x8c]
fstp dword [esp + 0x30]
mov ebp, edi
fld dword [esp + 0xc0]
fsub dword [esp + 0x28]
fstp dword [esp + 0x14]
fld dword [esp + 0x168]
fsub dword [esp + 0x24]
fstp dword [esp + 0x108]
mov edi, dword [esp + 0x108]
fld dword [esp + 0x70]
mov dword [ebp], edi
mov edi, dword [esp + 0x14]
fadd dword [esp + 0x3c]
mov dword [ebp + 4], edi
mov edi, dword [esp + 0x30]
mov dword [ebp + 8], edi
fstp dword [esp + 0x14]
mov edi, dword [esp + 0x10]
mov dword [esi + edi + 0x98], ebx
mov edi, dword [esp + 0x14]
mov dword [esp + 0xa4], edi
fld dword [esp + 0xa4]
fsub dword [esp + 0x2c]
fstp dword [esp + 0x30]
mov edx, dword [esp + 0x10]
fld dword [esp + 0x9c]
fsub dword [esp + 0x28]
lea edx, [esi + edx + 0xa8]
mov ebp, edx
mov dword [esp + 0xb4], edi
fstp dword [esp + 0x14]
mov dword [esp + 0x1b0], eax
fld dword [esp + 0xd8]
fsub dword [esp + 0x24]
fstp dword [esp + 0xf0]
mov edx, dword [esp + 0xf0]
mov dword [ebp], edx
fld dword [esp + 0xb4]
mov edx, dword [esp + 0x14]
mov dword [ebp + 4], edx
mov edx, dword [esp + 0x30]
mov dword [ebp + 8], edx
mov edx, dword [esp + 0x10]
mov ebp, dword [esp + 0x50]
mov dword [esi + edx + 0xb4], ebp
fsub dword [esp + 0x2c]
mov edx, dword [esp + 0x54]
mov edi, dword [esp + 0x10]
mov dword [esp + 0xc8], edx
fstp dword [esp + 0x30]
fld dword [esp + 0xc8]
mov edx, dword [esp + 0x30]
fsub dword [esp + 0x28]
lea edi, [esi + edi + 0xc4]
fstp dword [esp + 0x14]
fld dword [esp + 0x1b0]
mov eax, dword [esp + 0x14]
fsub dword [esp + 0x24]
fstp dword [esp + 0x1bc]
mov ebp, dword [esp + 0x1bc]
mov dword [edi], ebp
mov dword [edi + 4], eax
mov dword [edi + 8], edx
mov eax, dword [esp + 0x10]
mov dword [esi + eax + 0xd0], ebx
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x20]
mov dword [esi + edx + 0x84], ecx
mov edx, dword [esp + 0x10]
mov dword [esi + edx + 0x88], eax
mov edx, dword [esp + 0x10]
mov dword [esi + edx + 0xa0], ecx
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x4c]
mov dword [esi + edx + 0xa4], ecx
mov edi, dword [esp + 0x10]
mov edx, dword [esp + 0x48]
mov dword [esi + edi + 0xbc], edx
mov edi, dword [esp + 0x10]
mov dword [esi + edi + 0xc0], eax
mov eax, dword [esp + 0x10]
mov dword [esi + eax + 0xd8], edx
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x40]
mov dword [esi + edx + 0xdc], ecx
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x58], ecx
fld dword [esp + 0x58]
mov dword [esp + 0x44], eax
call fcn.00693530
fld dword [esp + 0x44]
mov edi, eax
imul edi, dword [0x71c798]
call fcn.00693530
mov edx, dword [esp + 0x68]
mov ecx, dword [esp + 0x10]
add edi, edx
mov dl, byte [eax + edi]
and dl, 0xf
cmp dl, 1
jne 0x5d9211
mov eax, 0xff888888
jmp 0x5d9214
or eax, 0xffffffff
mov dword [esi + ecx + 0x10], eax
mov edx, dword [esp + 0x10]
mov dword [esi + edx + 0x2c], eax
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0xc4]
mov dword [esi + ecx + 0x48], eax
mov edx, dword [esp + 0x10]
mov dword [esi + edx + 0x64], eax
mov ecx, dword [esp + 0x10]
mov dword [esi + ecx + 0x80], eax
mov edx, dword [esp + 0x10]
mov dword [esi + edx + 0x9c], eax
mov ecx, dword [esp + 0x10]
mov dword [esi + ecx + 0xb8], eax
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x10]
inc ecx
mov dword [esi + edx + 0xd4], eax
mov dword [esp + 0x5c], ecx
add esi, 0xe0
dec dword [esp + 0x18]
jne 0x5d89a3
mov eax, dword [edi + 0xd8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x30]
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x78]
mov dword [edi + 0xc0], eax
mov eax, dword [esp + 0x84]
cmp eax, ebx
mov dword [edi + 0xb8], edx
mov dword [edi + 0xcc], ecx
mov dword [esp + 0x88], ebx
je 0x5d92c1
push eax
call fcn.00693d31
add esp, 4
mov ecx, dword [esp + 0x1c8]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x1c4
ret 0xc