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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x6095ce
push eax
mov dword fs:[0], esp
sub esp, 0x1bc
push ebx
push ebp
push esi
mov esi, ecx
push edi
xor ebx, ebx
mov edi, dword [esi + 0xa8]
cmp edi, ebx
je 0x489e36
fld dword [edi + 0x28]
fcomp dword [0x61b584]
fnstsw ax
test ah, 0x41
jne 0x488d0a
mov eax, dword [0x6633d4]
mov ecx, dword [eax + 0x420]
call fcn.005eca20
fsubr dword [edi + 0x28]
mov ecx, dword [esi + 0xa8]
fstp dword [ecx + 0x28]
mov ecx, dword [esi + 0xa8]
fld dword [ecx + 0x28]
fcomp dword [0x61b584]
fnstsw ax
test ah, 0x41
je 0x489e2f
mov dword [ecx + 0x28], ebx
mov dword [esp + 0x54], ebx
mov eax, dword [esp + 0x54]
inc eax
cmp eax, 0x14
mov dword [esp + 0x54], eax
jg 0x489e36
mov eax, dword [esi + 0xa8]
mov ebx, dword [eax + 0x10]
test ebx, ebx
jne 0x488d55
mov ecx, dword [0x6633d4]
mov edx, dword [eax + 0x14]
push edx
mov ecx, dword [ecx + 0x420]
call fcn.005ec370
mov ebx, eax
test ebx, ebx
je 0x489e36
mov eax, dword [esi + 0xa8]
mov dword [eax + 0x10], ebx
mov ecx, dword [esi + 0xa8]
mov dword [esp + 0x58], 0x7f7fffff
mov dword [esp + 0x24], 0
mov eax, dword [ecx + 0x24]
cmp eax, 0xffffffff
jle 0x488da4
mov edx, dword [0x6633d4]
push eax
mov ecx, dword [edx + 0x420]
call fcn.005ebae0
test eax, eax
mov dword [esp + 0x24], eax
je 0x488da4
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0xc]
push ecx
mov ecx, dword [esi + 4]
push edx
push ecx
mov ecx, eax
call fcn.0052bce0
fstp dword [esp + 0x58]
mov ecx, dword [esi + 0xa8]
mov edi, dword [0x620894]
mov eax, dword [ecx + 0x30]
mov edx, eax
and edx, edi
xor edi, edi
cmp edi, edx
sbb edx, edx
neg edx
mov dword [esp + 0x1c], edx
mov edx, dword [0x62088c]
test edx, eax
jbe 0x488fd4
test dword [0x620890], eax
jbe 0x488e20
mov eax, dword [ebx + 0xc]
mov edx, dword [ecx + 0x18]
cmp edx, eax
jge 0x488e11
mov edi, dword [esi]
mov eax, edx
lea ecx, [esp + 0xac]
push eax
push ecx
mov ecx, ebx
call fcn.004a7280
mov ecx, dword [eax]
sub esp, 0xc
mov edx, esp
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [edx + 4], ecx
mov ecx, esi
mov dword [edx + 8], eax
call dword [edi + 8]
mov ecx, dword [esi + 0xa8]
push 0
push 1
call fcn.004a6f30
mov ecx, dword [esi + 0xa8]
push 0
push 0
call fcn.004a6f30
mov eax, dword [esi + 0xa8]
mov ecx, dword [eax + 0x18]
inc ecx
mov dword [eax + 0x18], ecx
mov ecx, dword [0x62088c]
test dword [ebx + 0x20], ecx
ja 0x488faa
mov edx, dword [esi + 0xa8]
lea ecx, [esp + 0xc4]
lea ebp, [esi + 4]
mov eax, dword [edx + 0x18]
dec eax
push eax
push ecx
mov ecx, ebx
call fcn.004a7280
lea edx, [esp + 0x184]
push eax
push edx
mov ecx, ebp
call fcn.005d0f40
mov ecx, dword [eax]
mov dword [esp + 0x5c], ecx
fld dword [esp + 0x5c]
mov edx, dword [eax + 4]
fmul dword [esp + 0x5c]
mov eax, dword [eax + 8]
mov dword [esp + 0x60], edx
fld dword [esp + 0x60]
fmul dword [esp + 0x60]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x24]
test eax, eax
faddp st(1)
fld dword [esp + 0x64]
fmul dword [esp + 0x64]
faddp st(1)
fsqrt
fstp dword [esp + 0x18]
je 0x488f00
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0xc]
mov eax, dword [ebp]
mov edi, dword [esi + 0xa8]
push ecx
mov ecx, dword [esp + 0x28]
push edx
push eax
call fcn.0052bce0
fsub dword [edi + 0x20]
mov ecx, dword [0x620894]
mov eax, dword [edi + 0x30]
test ecx, eax
fsub dword [0x61b59c]
fstp dword [esp + 0x10]
jbe 0x488f17
push 0
push 2
mov ecx, edi
mov dword [esp + 0x18], 0
call fcn.004a6f30
jmp 0x488f17
mov edx, dword [esi + 0xa8]
fld dword [esp + 0x18]
fsub dword [edx + 0x20]
fsub dword [0x61b59c]
fstp dword [esp + 0x10]
mov ecx, dword [esi + 0xa8]
mov eax, dword [ebx + 0xc]
mov edx, dword [ecx + 0x18]
cmp edx, eax
jl 0x488f9a
fld dword [esp + 0x10]
fcomp dword [0x61c9a0]
fnstsw ax
test ah, 1
je 0x488f44
mov dword [ecx + 0x1c], 4
jmp 0x488fd4
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x488f6d
fld dword [esp + 0x10]
fcomp dword [0x61b598]
fnstsw ax
test ah, 1
je 0x488f6d
mov eax, dword [ecx + 0xc]
test eax, eax
je 0x488f6d
mov dword [ecx + 0x1c], 4
jmp 0x488fd4
fld dword [esp + 0x18]
fcomp dword [0x61c9a0]
fnstsw ax
test ah, 1
je 0x488f87
mov dword [ecx + 0x1c], 4
jmp 0x488fd4
dec edx
mov dword [ecx + 0x18], edx
mov eax, dword [esi + 0xa8]
mov dword [eax + 0x1c], 2
jmp 0x488fd4
mov eax, dword [ecx + 0xc]
test eax, eax
jle 0x488fd4
mov dword [ecx + 0x1c], 2
jmp 0x488fd4
mov ecx, dword [esi + 0xa8]
push 1
mov edx, dword [ecx + 0x18]
mov ecx, ebx
dec edx
push edx
call fcn.004a74e0
mov ecx, dword [esi + 0xa8]
mov dword [ecx + 0x18], eax
mov edx, dword [esi + 0xa8]
mov dword [edx + 0x1c], 2
mov eax, dword [esi + 0xa8]
mov ecx, dword [eax + 0x1c]
cmp ecx, 4
je 0x488feb
cmp ecx, 5
jne 0x4890d6
mov eax, dword [ebx + 0xc]
mov edi, dword [esi]
dec eax
mov ecx, ebx
push eax
lea eax, [esp + 0xe0]
push eax
call fcn.004a7280
push eax
mov ecx, esi
call dword [edi + 0x8c]
mov ecx, dword [esi + 0xa8]
mov edi, dword [ecx + 4]
test edi, edi
je 0x489ef1
mov eax, ecx
mov ecx, dword [eax + 8]
cmp ecx, 1
je 0x489d46
cmp dword [esp + 0x1c], 1
je 0x489d46
mov ebp, 2
cmp ecx, ebp
jne 0x4890a2
mov dword [eax + 4], 0
mov ebx, dword [esi + 0xa8]
test ebx, ebx
je 0x48905e
mov ecx, ebx
call fcn.004a6d20
push ebx
call fcn.005faa32
add esp, 4
mov dword [esi + 0xa8], edi
mov dword [edi + 0x1c], ebp
mov eax, dword [esi + 0xa8]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x488d0e
mov edx, dword [0x62088c]
mov edi, dword [ecx + 0x20]
test edx, edi
jbe 0x488d0e
mov eax, dword [eax + 0x18]
push 1
push eax
call fcn.004a74e0
mov ecx, dword [esi + 0xa8]
mov dword [ecx + 0x18], eax
jmp 0x488d0e
cmp ecx, 3
jne 0x4890db
mov dword [eax + 4], 0
mov ebx, dword [esi + 0xa8]
test ebx, ebx
je 0x4890c8
mov ecx, ebx
call fcn.004a6d20
push ebx
call fcn.005faa32
add esp, 4
mov dword [esi + 0xa8], edi
mov dword [edi + 0x1c], ebp
jmp 0x488d0e
mov ebp, 2
cmp dword [eax + 0x1c], ebp
jne 0x489998
mov edx, dword [esi + 0xb8]
mov eax, dword [esp + 0x1dc]
cmp eax, 1
mov edi, dword [edx + 0xc]
mov dword [esp + 0x2c], edi
jne 0x489113
mov eax, dword [esi + 0xb4]
mov ecx, edi
push eax
call fcn.004ab5d0
test eax, eax
je 0x489d7d
mov ecx, edi
call fcn.004ab610
mov ecx, dword [esi + 0xa8]
xor ebp, ebp
mov dword [esi + 0xb4], ebp
call fcn.004a6db0
cmp eax, ebp
jne 0x489154
mov ecx, dword [0x6633d4]
mov edi, dword [ecx + 0x420]
mov ecx, dword [esi + 0xa8]
call fcn.004a6d90
push eax
mov ecx, edi
call fcn.005ec370
cmp eax, ebp
je 0x489161
mov edx, dword [0x62088c]
mov ecx, dword [eax + 0x20]
test edx, ecx
ja 0x489176
mov ecx, dword [esi + 0xa8]
push 1
call fcn.004a6e30
test eax, eax
jle 0x489d98
push 0x34
call fcn.005faa3d
add esp, 4
mov dword [esp + 0x28], eax
cmp eax, ebp
mov dword [esp + 0x1d4], ebp
je 0x489198
mov ecx, eax
call fcn.004a6cd0
mov ebp, eax
test ebp, ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1d4], 0xffffffff
je 0x489e19
mov eax, dword [0x6633d4]
mov ecx, dword [eax + 0x420]
call fcn.005ec3a0
mov edi, eax
test edi, edi
je 0x489dbc
mov edx, dword [esi + 0xa8]
xor eax, eax
lea ebp, [esi + 4]
lea ecx, [esp + 0x154]
mov dword [esp + 0x10], eax
mov dword [esp + 0x30], eax
mov eax, dword [edx + 0x18]
push ebp
push ecx
lea ecx, [esp + 0xfc]
push eax
push ecx
mov ecx, ebx
call fcn.004a7280
mov ecx, eax
call fcn.005d0f40
mov edx, dword [eax]
mov dword [esp + 0x34], edx
fld dword [esp + 0x34]
fmul dword [esp + 0x34]
mov ecx, dword [eax + 4]
mov dword [esp + 0x38], ecx
mov edx, dword [eax + 8]
mov eax, dword [esi + 0xa8]
fstp dword [esp + 0x1c]
mov dword [esp + 0x3c], edx
mov ecx, dword [eax + 0xc]
fld dword [esp + 0x3c]
fmul dword [esp + 0x3c]
cmp ecx, 2
fadd dword [esp + 0x1c]
fsqrt
fstp dword [esp + 0x18]
jne 0x4893c3
cmp dword [0x64c4dc], 1
jne 0x4893c3
fld dword [esp + 0x18]
fcomp dword [0x652260]
fnstsw ax
test ah, 0x41
jne 0x4893c3
mov ecx, dword [0x6633d4]
mov edx, dword [esi + 0xb8]
mov eax, dword [ecx + 0x420]
mov ecx, dword [edx + 8]
push ecx
mov ecx, dword [eax + 0x74]
call fcn.004876d0
test eax, eax
mov dword [esp + 0x14], eax
je 0x489362
mov edx, dword [esi + 0xa8]
mov dword [esp + 0x4c], 0
mov eax, dword [edx + 0x24]
cmp eax, 0xffffffff
je 0x4892c5
mov ecx, dword [0x6633d4]
push eax
mov ecx, dword [ecx + 0x420]
call fcn.005ebae0
test eax, eax
je 0x4892c5
mov edx, dword [eax + 8]
mov eax, dword [edx + 0x34]
mov dword [esp + 0x4c], eax
mov eax, dword [esi + 0xb8]
mov ecx, dword [esi + 0xa8]
fld dword [esp + 0x4c]
mov edx, dword [eax + 0xc]
mov eax, dword [eax + 8]
push 0
push 0
fadd dword [eax + 0x34]
push edx
mov edx, dword [ecx + 0x20]
push edx
push ecx
mov ecx, dword [ecx + 0x18]
lea edx, [esp + 0x1c8]
fstp dword [esp]
push ecx
push edx
mov ecx, ebx
call fcn.004a7280
mov ecx, dword [esi + 0xa8]
mov eax, dword [eax + 8]
push eax
lea eax, [esp + 0x124]
mov edx, dword [ecx + 0x18]
mov ecx, ebx
push edx
push eax
call fcn.004a7280
mov ecx, dword [eax]
mov edx, dword [esi + 0xc]
mov eax, dword [ebp]
push ecx
mov ecx, dword [esp + 0x30]
push edx
push eax
push edi
call fcn.00484260
and eax, 0xff
cmp eax, 3
je 0x489398
cmp eax, 4
je 0x489398
test eax, eax
je 0x489398
mov ecx, dword [esi + 0xb8]
mov eax, 1
push edi
push ecx
mov dword [esp + 0x38], eax
mov dword [esp + 0x18], eax
call fcn.0048c0e0
add esp, 8
jmp 0x489398
push ebp
mov ecx, edi
call fcn.004a72f0
mov edx, dword [esi + 0xa8]
lea ecx, [esp + 0x16c]
mov eax, dword [edx + 0x18]
push eax
push ecx
mov ecx, ebx
call fcn.004a7280
push eax
mov ecx, edi
call fcn.004a7390
mov eax, 1
mov dword [esp + 0x30], eax
mov dword [esp + 0x10], eax
mov ecx, edi
call fcn.004a7460
mov edx, dword [0x6633d4]
mov eax, dword [edx + 0x420]
mov ecx, dword [eax + 0x10]
mov eax, dword [esp + 0x10]
test eax, eax
mov dword [edi + 0x1c], ecx
je 0x4893c3
cmp dword [edi + 0xc], 2
jg 0x489541
cmp dword [0x64c4d8], 1
jne 0x489541
fld dword [esp + 0x18]
fcomp dword [0x61c99c]
fnstsw ax
test ah, 0x41
je 0x489541
xor eax, eax
mov dword [esp + 0x30], eax
mov dword [edi + 0xc], eax
mov eax, dword [esi + 0xb8]
mov ecx, dword [0x6633d4]
mov edx, dword [eax + 4]
mov dword [esp + 0x90], edx
mov eax, dword [eax + 0x78]
mov ecx, dword [ecx + 0x420]
push eax
call fcn.005ec820
mov edx, dword [0x6633d4]
test eax, eax
mov ecx, dword [edx + 0x420]
je 0x489499
mov edx, dword [eax + 0xd0]
mov eax, dword [eax + 0xd8]
mov dword [esp + 0x80], edx
mov edx, dword [esi + 0xb8]
mov dword [esp + 0x28], eax
mov ecx, dword [ecx + 0x60]
mov eax, dword [edx + 8]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0xa8]
mov edx, dword [edx + 0x9c]
push edx
mov edx, dword [esp + 0x18]
push 0
movsx edx, word [edx + 0x6e]
mov edx, dword [ecx + edx*4]
mov ecx, dword [esp + 0x88]
push edx
mov edx, dword [esp + 0x34]
push edi
push 0
push 0
push ecx
mov ecx, dword [eax + 0x24]
push edx
mov edx, dword [eax + 0x20]
mov eax, dword [eax + 0x18]
push ecx
mov ecx, dword [esp + 0x38]
push edx
mov edx, dword [ecx + 0x34]
lea ecx, [esp + 0x14c]
push edx
push eax
push ecx
jmp 0x4894f3
mov eax, dword [esi + 0xb8]
mov ecx, dword [ecx + 0x60]
mov edx, dword [eax + 8]
mov eax, dword [esi + 0xa8]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x2c]
mov edx, dword [edx + 0x9c]
push edx
mov edx, dword [esp + 0x18]
push 0
movsx edx, word [edx + 0x6e]
mov edx, dword [ecx + edx*4]
lea ecx, [esp + 0x98]
push edx
mov edx, dword [eax + 0x24]
push edi
push 0
push 0
push 1
push ecx
mov ecx, dword [eax + 0x20]
push edx
mov edx, dword [esp + 0x38]
push ecx
mov ecx, dword [edx + 0x34]
mov edx, dword [eax + 0x18]
push ecx
lea eax, [esp + 0x1c8]
push edx
push eax
mov ecx, ebx
call fcn.004a7280
push eax
push ebp
call fcn.004a7ac0
add esp, 0x34
mov ecx, edi
mov dword [esp + 0x14], eax
call fcn.004a7460
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx + 0x8c]
mov eax, dword [edx + 0x10]
mov dword [edi + 0x1c], eax
mov eax, dword [esp + 0x14]
cmp eax, 3
je 0x489541
cmp eax, 4
je 0x489541
fld dword [edi + 0x18]
fcomp dword [0x61c9a0]
fnstsw ax
test ah, 0x41
je 0x489661
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x489669
fld dword [esp + 0x18]
fcomp dword [0x61b598]
fnstsw ax
test ah, 1
jne 0x489573
fld dword [esp + 0x58]
fcomp dword [0x61b598]
fnstsw ax
test ah, 1
je 0x489683
mov eax, dword [esi + 0xb8]
mov edx, dword [0x6633d4]
mov ecx, dword [eax + 4]
mov dword [esp + 0x98], ecx
mov eax, dword [eax + 0x78]
mov ecx, dword [edx + 0x420]
push eax
call fcn.005ec820
test eax, eax
je 0x4895d5
mov ecx, dword [eax + 0xd0]
mov eax, dword [eax + 0xd8]
push 0x3f800000
push 1
push ecx
push eax
mov eax, dword [esi + 0xa8]
lea edx, [esp + 0x14c]
mov ecx, dword [eax + 0x18]
push ecx
push edx
mov ecx, ebx
call fcn.004a7280
push eax
mov eax, dword [esi + 0xb8]
push ebp
push eax
jmp 0x489608
mov edx, dword [esi + 0xa8]
push 0x3f800000
push 1
lea ecx, [esp + 0xa0]
mov eax, dword [edx + 0x18]
push 1
push ecx
lea ecx, [esp + 0xc8]
push eax
push ecx
mov ecx, ebx
call fcn.004a7280
mov edx, dword [esi + 0xb8]
push eax
push ebp
push edx
call fcn.0048be40
mov eax, dword [0x66d204]
add esp, 0x1c
test eax, eax
jne 0x489683
push ebp
mov ecx, edi
mov dword [edi + 0xc], 0
call fcn.004a72f0
mov eax, dword [esi + 0xa8]
lea edx, [esp + 0xd0]
mov ecx, dword [eax + 0x18]
push ecx
push edx
mov ecx, ebx
call fcn.004a7280
push eax
mov ecx, edi
call fcn.004a7390
mov eax, dword [0x6633d4]
mov ecx, dword [eax + 0x420]
mov edx, dword [ecx + 0x10]
mov ecx, edi
mov dword [edi + 0x1c], edx
call fcn.004a7460
mov dword [esp + 0x10], 1
cmp dword [edi + 0xc], 2
jl 0x489683
fld dword [edi + 0x18]
fcomp dword [0x61b950]
fnstsw ax
test ah, 1
je 0x4897db
cmp dword [0x64c4e0], 1
jne 0x4897db
mov dword [edi + 0xc], 0
mov eax, dword [esi + 0xa8]
push 0
push edi
mov ecx, dword [eax + 0x24]
mov edx, dword [eax + 0x20]
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
push ecx
mov ecx, dword [esi + 0xb8]
push edx
mov edx, dword [eax + 0x18]
push ecx
lea eax, [esp + 0x108]
push edx
push eax
mov ecx, ebx
call fcn.004a7280
fld dword [eax + 8]
call fcn.005faa4c
mov ecx, dword [esi + 0xa8]
push eax
lea eax, [esp + 0x124]
mov edx, dword [ecx + 0x18]
mov ecx, ebx
push edx
push eax
call fcn.004a7280
fld dword [eax]
call fcn.005faa4c
fld dword [esi + 0xc]
push eax
call fcn.005faa4c
fld dword [ebp]
push eax
call fcn.005faa4c
push eax
mov ecx, 0x66e860
call fcn.004a8750
mov ecx, dword [esp + 0x2c]
and eax, 0xff
mov dword [esp + 0x10], eax
mov edx, dword [ecx + 0x8c]
mov ecx, edi
mov eax, dword [edx + 0x10]
mov dword [edi + 0x1c], eax
call fcn.004a7460
fld dword [edi + 0x18]
fcomp dword [0x61c9a0]
fnstsw ax
test ah, 1
je 0x48974b
mov dword [esp + 0x10], 0
jmp 0x4897db
mov eax, dword [edi + 0xc]
lea ecx, [esp + 0x118]
dec eax
push eax
push ecx
mov ecx, edi
call fcn.004a7280
push eax
mov eax, dword [esi + 0xa8]
lea edx, [esp + 0x134]
mov ecx, dword [eax + 0x18]
push edx
lea edx, [esp + 0x150]
push ecx
push edx
mov ecx, ebx
call fcn.004a7280
mov ecx, eax
call fcn.005d0f40
mov ecx, dword [eax]
mov dword [esp + 0x74], ecx
mov ecx, dword [esp + 0x3c]
mov edx, dword [eax + 4]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x78], edx
mov eax, dword [eax + 8]
mov dword [esp + 0x7c], eax
fld dword [esp + 0x7c]
fld st(0)
fmulp st(1)
fld dword [esp + 0x74]
fmul dword [esp + 0x74]
faddp st(1)
fsqrt
fld dword [esp + 0x50]
fmul dword [esp + 0x50]
fadd dword [esp + 0x1c]
fsqrt
fxch st(1)
fxch st(1)
fcompp
fnstsw ax
test ah, 1
je 0x4897db
xor eax, eax
mov dword [edi + 0xc], eax
mov dword [edi + 0x18], eax
mov eax, dword [edi + 0xc]
mov ebp, 1
cmp eax, ebp
jg 0x4898a8
mov ebp, dword [esp + 0x20]
mov ecx, ebp
call fcn.004a6d20
push ebp
call fcn.005faa32
mov edx, dword [0x6633d4]
add esp, 4
mov ecx, dword [edx + 0x420]
push edi
call fcn.005ec4c0
cmp dword [esp + 0x10], 1
jne 0x48983c
mov eax, dword [0x62088c]
mov ecx, dword [ebx + 0x20]
test eax, ecx
jbe 0x489df4
mov ecx, dword [esi + 0xa8]
push 1
push 0
call fcn.004a6f30
jmp 0x488d0e
mov ecx, dword [esi + 0xa8]
mov edx, dword [ebx + 0xc]
dec edx
cmp dword [ecx + 0x18], edx
jge 0x489859
push 1
push 0
call fcn.004a6f30
jmp 0x488d0e
push 0
call fcn.004a6e30
test eax, eax
jg 0x489de6
mov eax, dword [0x62088c]
mov ecx, dword [ebx + 0x20]
test eax, ecx
mov ecx, dword [esi + 0xa8]
ja 0x489e0b
cmp dword [ecx + 0xc], 2
jge 0x489e19
call fcn.004a6df0
cmp eax, 1
jne 0x489e19
mov ecx, dword [esi + 0xa8]
mov dword [ecx + 0x1c], 5
jmp 0x488d0e
mov edx, dword [esi + 0xa8]
mov dword [edx + 0x1c], 0
mov eax, dword [esi + 0xa8]
mov dword [eax + 0x2c], 0xa
mov eax, dword [esi + 0xa8]
cmp dword [eax + 0xc], 2
jne 0x489945
cmp dword [esp + 0x30], ebp
jne 0x489945
mov ecx, dword [eax + 0x24]
mov edx, dword [eax + 0x20]
mov ebx, dword [esp + 0x20]
push ecx
push edx
push edi
mov ecx, ebx
call fcn.004a6e60
cmp dword [esp + 0x10], ebp
jne 0x4898f8
mov eax, dword [esi + 0xa8]
push ebp
push eax
jmp 0x489901
mov ecx, dword [esi + 0xa8]
push 2
push ecx
mov ecx, ebx
call fcn.004a6ef0
mov dword [ebx + 0xc], ebp
mov edx, dword [esi + 0xa8]
mov eax, dword [edx + 0x20]
mov dword [ebx + 0x20], eax
mov ecx, dword [esi + 0xa8]
mov edx, dword [ecx + 0x24]
mov dword [ebx + 0x24], edx
mov dword [esi + 0xa8], ebx
mov eax, dword [0x64c4d8]
mov ebx, edi
cmp eax, ebp
je 0x488d0e
cmp dword [0x64c4e0], ebp
jne 0x489998
jmp 0x488d0e
mov ebx, dword [esp + 0x20]
push edi
mov ecx, ebx
call fcn.004a6eb0
cmp dword [esp + 0x10], ebp
jne 0x489961
mov eax, dword [esi + 0xa8]
push ebp
push eax
jmp 0x48996a
mov ecx, dword [esi + 0xa8]
push 2
push ecx
mov ecx, ebx
call fcn.004a6ef0
mov dword [ebx + 0xc], 0
mov edx, dword [esi + 0xa8]
mov eax, dword [edx + 0x20]
mov dword [ebx + 0x20], eax
mov ecx, dword [esi + 0xa8]
mov edx, dword [ecx + 0x24]
mov dword [ebx + 0x24], edx
mov dword [esi + 0xa8], ebx
mov ebx, edi
mov eax, dword [esi + 0xa8]
lea edx, [esp + 0x160]
lea edi, [esi + 4]
mov ecx, dword [eax + 0x18]
push ecx
push edx
mov ecx, ebx
call fcn.004a7280
push eax
lea eax, [esp + 0x17c]
push eax
mov ecx, edi
call fcn.005d0f40
mov ecx, dword [eax]
mov dword [esp + 0x68], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x6c], edx
mov eax, dword [eax + 8]
mov dword [esp + 0x70], eax
fld dword [esp + 0x70]
fld st(0)
fmulp st(1)
fld dword [esp + 0x68]
fmul dword [esp + 0x68]
faddp st(1)
fsqrt
fcomp dword [0x61c9a0]
fnstsw ax
test ah, 1
je 0x489a1c
mov ecx, dword [esi + 0xa8]
push 1
push 1
call fcn.004a6f30
mov ecx, dword [esi + 0xa8]
push 1
push 0
call fcn.004a6f30
jmp 0x488d0e
mov edx, dword [esi + 0xa8]
lea ecx, [esp + 0xa0]
push ecx
lea ecx, [esp + 0x194]
mov eax, dword [edx + 0x18]
push eax
push ecx
mov ecx, ebx
call fcn.004a7280
push eax
push edi
mov ecx, esi
call fcn.0048a030
mov edx, dword [0x6633d4]
mov ecx, dword [edx + 0x420]
call fcn.005eca20
push ecx
lea eax, [esp + 0xa4]
lea ecx, [esp + 0x1ac]
fstp dword [esp]
push eax
push edi
push ecx
mov ecx, esi
call fcn.00489fc0
mov edx, dword [eax]
mov dword [esp + 0x84], edx
mov ecx, dword [eax + 4]
mov dword [esp + 0x88], ecx
lea ecx, [esp + 0x84]
mov edx, dword [eax + 8]
mov eax, dword [esp + 0x1e0]
mov dword [esp + 0x8c], edx
mov edx, dword [esi + 0xa8]
push eax
push ecx
mov eax, dword [edx + 0x18]
push edi
lea ecx, [esp + 0x1cc]
push eax
push ecx
mov ecx, ebx
call fcn.004a7280
push eax
mov ecx, esi
call fcn.0048a130
cmp eax, 2
je 0x4899f9
cmp eax, 1
jne 0x489aec
mov ecx, dword [esi + 0xa8]
push eax
push eax
call fcn.004a6f30
mov ecx, dword [esi + 0xa8]
push 1
push 0
call fcn.004a6f30
call fcn.0048c060
mov edx, dword [esi + 0xb8]
push edx
call fcn.0048c070
mov eax, dword [esi + 0xb8]
mov ecx, dword [0x6633d4]
add esp, 4
mov eax, dword [eax + 0x78]
mov ecx, dword [ecx + 0x420]
push eax
call fcn.005ec820
mov edi, eax
test edi, edi
je 0x489b6e
mov ecx, dword [edi + 0xd0]
mov eax, dword [edi + 0xd8]
xor ebp, ebp
test ecx, ecx
jle 0x489b6e
mov dword [esp + 0x18], eax
mov edx, dword [0x6633d4]
mov eax, dword [esp + 0x18]
mov ecx, dword [edx + 0x420]
mov edx, dword [eax]
push edx
call fcn.005ebae0
push eax
call fcn.0048c070
mov ecx, dword [esp + 0x1c]
mov eax, dword [edi + 0xd0]
add esp, 4
inc ebp
add ecx, 4
cmp ebp, eax
mov dword [esp + 0x18], ecx
jl 0x489b37
mov eax, dword [0x66d20c]
mov edx, dword [esi + 0xb8]
xor ebp, ebp
push 0x3f800000
push ebp
push eax
lea ecx, [esp + 0x90]
push 0x66cdf4
lea eax, [esi + 4]
push ecx
push eax
push edx
call fcn.0048be40
mov eax, dword [0x66d204]
add esp, 0x1c
cmp eax, ebp
jle 0x489ce3
mov dword [esp + 0x20], ebp
mov dword [esp + 0x14], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x18], 0x66d190
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov eax, dword [ecx + 8]
test eax, eax
je 0x489c43
mov edx, dword [0x6633d4]
mov eax, dword [eax + 4]
push eax
mov ecx, dword [edx + 0x420]
call fcn.005ebae0
mov edi, eax
test edi, edi
je 0x489c43
mov ecx, dword [edi + 4]
push ecx
mov ecx, ebx
call fcn.004a75e0
cmp eax, 1
je 0x489c43
mov ecx, dword [esi + 0xa8]
call fcn.004a6db0
test eax, eax
je 0x489c14
mov edx, dword [edi + 4]
mov ecx, eax
push edx
call fcn.004a75e0
cmp eax, 1
je 0x489c43
mov eax, dword [esi + 0xa8]
mov eax, dword [eax + 0x24]
test eax, eax
jl 0x489c2e
cmp dword [edi + 4], eax
jne 0x489c2e
mov dword [esp + 0x20], 1
mov edx, dword [edi]
mov ebp, dword [ebx + 0x1c]
mov ecx, edi
call dword [edx + 0x298]
cmp ebp, eax
jae 0x489c43
inc dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
mov eax, dword [0x66d204]
inc ecx
add edi, 4
cmp ecx, eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], edi
jl 0x489bbd
cmp eax, 1
jne 0x489c93
cmp dword [esp + 0x20], 1
jne 0x489c93
mov ecx, dword [esi + 0xa8]
push 1
push 0
call fcn.004a6f30
mov ecx, dword [esi + 0xa8]
push 1
push 2
call fcn.004a6f30
jmp 0x488d0e
mov eax, dword [esp + 0x14]
xor ebp, ebp
cmp eax, ebp
jle 0x489ce3
mov eax, dword [esi + 0xa8]
mov edi, dword [eax + 4]
cmp edi, ebp
je 0x489ef1
mov dword [edi + 0x1c], 2
mov ecx, dword [esi + 0xa8]
mov dword [ecx + 4], ebp
mov ebx, dword [esi + 0xa8]
cmp ebx, ebp
je 0x489cd8
mov ecx, ebx
call fcn.004a6d20
push ebx
call fcn.005faa32
add esp, 4
mov dword [esi + 0xa8], edi
jmp 0x488d0e
cmp dword [esp + 0x24], ebp
je 0x489e3d
mov edx, dword [0x6633d4]
mov eax, dword [esi + 0xa8]
mov ecx, dword [edx + 0x420]
mov edx, dword [eax + 0x24]
push edx
call fcn.005ebae0
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0xc]
mov edi, dword [esi + 0xa8]
push ecx
mov ecx, dword [esi + 4]
push edx
push ecx
mov ecx, eax
call fcn.0052bce0
fsub dword [edi + 0x20]
fabs
fcomp qword [0x61b590]
fnstsw ax
test ah, 1
je 0x489f08
push 1
push ebp
mov ecx, edi
call fcn.004a6f30
jmp 0x488d0e
mov dword [eax + 4], 0
mov ebx, dword [esi + 0xa8]
test ebx, ebx
je 0x489d67
mov ecx, ebx
call fcn.004a6d20
push ebx
call fcn.005faa32
add esp, 4
push 1
push 0
mov ecx, edi
mov dword [esi + 0xa8], edi
call fcn.004a6f30
jmp 0x488d0e
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x7c]
mov eax, dword [esi + 0xb4]
inc eax
mov dword [esi + 0xb4], eax
xor eax, eax
jmp 0x489fa3
mov ecx, dword [esi + 0xa8]
call fcn.004a6f10
mov ecx, dword [esi + 0xa8]
call fcn.004a6d30
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x7c]
xor eax, eax
jmp 0x489fa3
test ebp, ebp
je 0x489dd0
mov ecx, ebp
call fcn.004a6d20
push ebp
call fcn.005faa32
add esp, 4
mov ecx, dword [esi + 0xa8]
call fcn.004a6f10
mov ecx, dword [esi + 0xa8]
call fcn.004a6d30
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x7c]
xor eax, eax
jmp 0x489fa3
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x7c]
mov ecx, dword [esi + 0xa8]
call fcn.004a6d30
jmp 0x489f9e
mov dword [ecx + 0x28], 0x3f000000
xor eax, eax
jmp 0x489fa3
mov ecx, dword [esi + 0xa8]
call fcn.004a6f10
mov ecx, dword [esi + 0xa8]
call fcn.004a6d30
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x7c]
xor eax, eax
jmp 0x489fa3
mov ecx, dword [0x62088c]
mov eax, dword [ebx + 0x20]
test ecx, eax
ja 0x489f08
mov ecx, dword [esi + 0xa8]
fld dword [ecx + 0x20]
fcomp dword [0x61b59c]
fnstsw ax
test ah, 0x41
jne 0x489f08
call fcn.004a6db0
cmp eax, ebp
je 0x489f08
mov ecx, dword [eax + 0xc]
lea edx, [esp + 0x68]
dec ecx
push ecx
push edx
mov ecx, eax
call fcn.004a7280
push eax
lea eax, [esp + 0x78]
push eax
lea ecx, [esi + 4]
call fcn.005d0f40
mov ecx, dword [eax]
mov dword [esp + 0x34], ecx
mov ecx, dword [esi + 0xa8]
mov edx, dword [eax + 4]
mov dword [esp + 0x38], edx
mov eax, dword [eax + 8]
fld dword [esp + 0x38]
mov dword [esp + 0x3c], eax
fld dword [esp + 0x3c]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fld dword [esp + 0x34]
fmul dword [esp + 0x34]
faddp st(1)
fsqrt
fstp st(2)
fstp st(0)
fsub dword [ecx + 0x20]
fcomp dword [0x61c9a0]
fnstsw ax
test ah, 1
je 0x489f08
call fcn.004a6d30
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x7c]
jmp 0x489f9e
mov ecx, dword [esi + 0xa8]
call fcn.004a6d30
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x7c]
jmp 0x489f9e
lea ecx, [esi + 0x10]
push 1
mov edx, dword [ecx]
mov dword [esp + 0x44], edx
mov edx, dword [0x6633d4]
mov eax, dword [ecx + 4]
mov dword [esp + 0x48], eax
mov ecx, dword [ecx + 8]
mov dword [esp + 0x4c], ecx
fld dword [esp + 0x4c]
fmul dword [esp + 0x4c]
fld dword [esp + 0x44]
fmul dword [esp + 0x44]
faddp st(1)
fsqrt
fld dword [esp + 0x44]
fdiv st(1)
fstp dword [esp + 0x44]
fld dword [0x61b584]
fdiv st(1)
fstp dword [esp + 0x48]
fld dword [esp + 0x4c]
fdiv st(1)
fstp dword [esp + 0x4c]
mov ecx, dword [edx + 0x420]
fstp st(0)
call fcn.005eca20
push ecx
lea eax, [esp + 0xa8]
lea ecx, [esp + 0x48]
fstp dword [esp]
push eax
push ecx
mov ecx, esi
call fcn.0048a0a0
fstp dword [esp + 0x28]
mov edx, dword [esp + 0x28]
mov ecx, esi
push edx
call fcn.0048a370
mov ecx, dword [esi + 0xb0]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x28]
mov eax, 1
mov ecx, dword [esp + 0x1cc]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x1c8
ret 8