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

Disassembly:
sub esp, 0x1a0
push ebx
mov ebx, ecx
push ebp
push esi
mov eax, dword [ebx + 0x198]
push edi
test eax, eax
je 0x45fdbf
mov eax, dword [ebx + 0x18c]
test eax, eax
jl 0x45fdbf
cmp eax, 4
jg 0x45fdbf
lea ebp, [eax + 2]
cmp ebp, 4
mov dword [esp + 0x8c], ebp
jge 0x45fdbf
mov dword [ebx + 0x18c], ebp
mov eax, dword [0x6e29a4]
lea esi, [ebx + 0xa4]
mov ecx, dword [eax]
push esi
push 0x100
push eax
call dword [ecx + 0x94]
lea edi, [ebx + 0x50]
mov ecx, edi
call fcn.00418e00
push ebp
mov ecx, edi
call fcn.0041a780
mov eax, dword [0x6e29a4]
lea ecx, [esp + 0x170]
mov dword [esp + 0x78], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x7c], 0x3f800000
mov dword [esp + 0x68], 0x3f800000
mov dword [esp + 0x54], 0x3f800000
mov dword [esp + 0x40], 0x3f800000
mov edx, dword [eax]
push ecx
push 0x100
push eax
call dword [edx + 0x98]
mov al, byte [0x81a25c]
test al, 1
jne 0x45e812
mov dl, al
push fcn.004465e0
or dl, 1
mov byte [0x81a25c], dl
call fcn.00673ac4
add esp, 4
fld dword [esi + 0x38]
fld dword [esi + 0x34]
fld dword [esi + 0x30]
fstp dword [0x81a260]
mov eax, dword [0x6e29a4]
mov esi, dword [0x81a260]
fstp dword [0x81a264]
mov edx, dword [0x81a264]
mov dword [esp + 0x18], esi
fstp dword [0x81a268]
mov edi, dword [0x81a268]
mov ecx, dword [eax]
mov dword [esp + 0x1c], edx
lea edx, [esp + 0x40]
push edx
push 0x100
push eax
mov dword [esp + 0x2c], edi
call dword [ecx + 0x94]
mov eax, dword [0x81878c]
mov ecx, dword [eax + 0x1c]
lea eax, [esp + 0x80]
push eax
push edi
mov edx, dword [ecx]
push esi
call dword [edx + 0x3c]
fld dword [esp + 0x84]
fld dword [esp + 0x88]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fld dword [esp + 0x80]
fmul dword [esp + 0x80]
faddp st(1)
fsqrt
fstp st(2)
fstp st(0)
fcom dword [0x6a37dc]
fnstsw ax
test ah, 0x40
jne 0x45e8e5
fld dword [esp + 0x80]
fdiv st(1)
fstp dword [esp + 0x80]
fld dword [esp + 0x84]
fdiv st(1)
fstp dword [esp + 0x84]
fld dword [esp + 0x88]
fdiv st(1)
fstp dword [esp + 0x88]
fstp st(0)
fld dword [esp + 0x88]
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
call fcn.00674d30
fld st(0)
fcos
fstp dword [esp + 0x12c]
fsin
fst dword [esp + 0x130]
fchs
fstp dword [esp + 0x13c]
fld dword [esp + 0x80]
fchs
call fcn.00674d30
fld st(0)
fcos
mov al, byte [0x81a27c]
test al, 1
fstp dword [esp + 0x90]
fsin
fst dword [esp + 0x94]
fchs
fstp dword [esp + 0xa0]
jne 0x45e974
mov dl, al
push fcn.004465e0
or dl, 1
mov byte [0x81a27c], dl
call fcn.00673ac4
add esp, 4
fld dword [esp + 0x44]
fmul dword [esp + 0xa0]
fld dword [esp + 0x90]
fmul dword [esp + 0x40]
mov ecx, 0x10
lea esi, [esp + 0x40]
mov edi, 0x81a280
mov dword [esp + 0x24], 0
faddp st(1)
rep movsd dword es:[edi], dword [esi]
fstp dword [esp + 0x40]
fld dword [0x6a37dc]
fld dword [esp + 0x94]
fmul dword [0x81a280]
fld dword [0x81a284]
fmul dword [esp + 0x90]
faddp st(1)
fadd dword [esp + 0x24]
mov dword [esp + 0x30], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x28], 0
fadd st(1)
mov dword [esp + 0x38], 0
fstp dword [esp + 0x44]
fld dword [0x81a288]
fadd dword [esp + 0x30]
fadd dword [esp + 0x10]
fadd st(1)
fstp dword [esp + 0x48]
fstp st(0)
fld dword [0x81a28c]
fadd dword [esp + 0x30]
fadd dword [esp + 0x10]
fadd dword [esp + 0x24]
mov dword [esp + 0x24], 0
fstp dword [esp + 0x4c]
fld dword [0x6a37dc]
fld dword [esp + 0x3c]
fadd st(1)
fld dword [esp + 0xa0]
fmul dword [0x81a294]
fld dword [0x81a290]
fmul dword [esp + 0x90]
faddp st(1)
fadd st(1)
fstp dword [esp + 0x50]
fld dword [esp + 0x94]
fmul dword [0x81a290]
fld dword [0x81a294]
fmul dword [esp + 0x90]
faddp st(1)
fadd st(1)
fstp dword [esp + 0x54]
fstp st(0)
fld dword [0x81a298]
fadd dword [esp + 0x28]
fadd dword [esp + 0x38]
fadd st(1)
fstp dword [esp + 0x58]
fstp st(0)
fld dword [0x81a29c]
fadd dword [esp + 0x28]
fadd dword [esp + 0x38]
fadd dword [esp + 0x3c]
fstp dword [esp + 0x5c]
fld dword [0x6a37dc]
fld dword [esp + 0x24]
fadd st(1)
fld dword [esp + 0xa0]
fmul dword [0x81a2a4]
fld dword [0x81a2a0]
fmul dword [esp + 0x90]
faddp st(1)
fadd st(1)
fstp dword [esp + 0x60]
fld dword [esp + 0x94]
fmul dword [0x81a2a0]
fld dword [0x81a2a4]
fmul dword [esp + 0x90]
faddp st(1)
fadd st(1)
mov dword [esp + 0x2c], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov al, byte [0x81a27c]
fstp dword [esp + 0x64]
test al, 1
fstp st(0)
fld dword [esp + 0x2c]
fadd dword [esp + 0x34]
fadd dword [0x81a2a8]
fadd st(1)
fstp dword [esp + 0x68]
fstp st(0)
fld dword [esp + 0x2c]
fadd dword [esp + 0x34]
fadd dword [0x81a2ac]
fadd dword [esp + 0x24]
fstp dword [esp + 0x6c]
fld dword [0x6a37dc]
fld dword [esp + 0xa0]
fmul dword [0x81a2b4]
fld dword [0x81a2b0]
fmul dword [esp + 0x90]
faddp st(1)
fadd dword [esp + 0x10]
fadd st(1)
fstp dword [esp + 0x70]
fld dword [esp + 0x94]
fmul dword [0x81a2b0]
fld dword [0x81a2b4]
fmul dword [esp + 0x90]
faddp st(1)
fadd dword [esp + 0x10]
fadd st(1)
fstp dword [esp + 0x74]
fld dword [0x81a2b8]
fadd dword [esp + 0x14]
fadd st(1)
fstp dword [esp + 0x78]
fstp st(0)
fld dword [0x81a2bc]
fadd dword [esp + 0x14]
fadd dword [esp + 0x10]
fstp dword [esp + 0x7c]
jne 0x45ebe3
mov dl, al
push fcn.004465e0
or dl, 1
mov byte [0x81a27c], dl
call fcn.00673ac4
add esp, 4
fld dword [0x6a37dc]
fld dword [esp + 0x13c]
mov ecx, 0x10
lea esi, [esp + 0x40]
mov edi, 0x81a280
mov dword [esp + 0x30], 0
rep movsd dword es:[edi], dword [esi]
fmul dword [0x81a288]
fld dword [esp + 0x12c]
fmul dword [0x81a284]
faddp st(1)
fadd dword [esp + 0x30]
fadd st(1)
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x2c], 0
fstp dword [esp + 0x44]
fld dword [esp + 0x130]
fmul dword [0x81a284]
fld dword [esp + 0x12c]
fmul dword [0x81a288]
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x40], ecx
faddp st(1)
fadd dword [esp + 0x30]
fadd st(1)
fstp dword [esp + 0x48]
fstp st(0)
fld dword [0x81a28c]
fadd dword [esp + 0x30]
fstp dword [esp + 0x4c]
fld dword [0x6a37dc]
fld dword [0x81a290]
fadd dword [esp + 0x38]
fadd dword [esp + 0x3c]
fadd st(1)
fstp dword [esp + 0x50]
fld dword [esp + 0x13c]
fmul dword [0x81a298]
fld dword [esp + 0x12c]
fmul dword [0x81a294]
faddp st(1)
fadd dword [esp + 0x28]
fadd st(1)
fstp dword [esp + 0x54]
fld dword [esp + 0x130]
fmul dword [0x81a294]
fld dword [esp + 0x12c]
fmul dword [0x81a298]
faddp st(1)
fadd dword [esp + 0x28]
fadd st(1)
fstp dword [esp + 0x58]
fstp st(0)
fld dword [0x81a29c]
fadd dword [esp + 0x28]
fadd dword [esp + 0x38]
fadd dword [esp + 0x3c]
fstp dword [esp + 0x5c]
fld dword [0x6a37dc]
fld dword [esp + 0x34]
fadd dword [0x81a2a0]
fadd dword [esp + 0x24]
fadd st(1)
fstp dword [esp + 0x60]
fld dword [esp + 0x13c]
fmul dword [0x81a2a8]
fld dword [esp + 0x12c]
fmul dword [0x81a2a4]
faddp st(1)
fadd dword [esp + 0x2c]
fadd st(1)
fstp dword [esp + 0x64]
fld dword [esp + 0x130]
fmul dword [0x81a2a4]
fld dword [esp + 0x12c]
fmul dword [0x81a2a8]
faddp st(1)
fadd dword [esp + 0x2c]
mov edx, dword [0x81a2bc]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x7c], edx
fadd st(1)
mov dword [esp + 0x70], eax
mov dword [esp + 0x78], ecx
lea esi, [ebx + 0x544]
mov ebp, 0x20
fstp dword [esp + 0x68]
fstp st(0)
fld dword [esp + 0x2c]
fadd dword [esp + 0x34]
fadd dword [0x81a2ac]
fadd dword [esp + 0x24]
fstp dword [esp + 0x6c]
fld dword [esp + 0x1c]
fadd dword [0x6a3d1c]
fstp dword [esp + 0x74]
mov eax, dword [esi]
mov dword [esi + 4], 2
test eax, eax
je 0x45ede0
push eax
call fcn.006713a0
add esp, 4
mov dword [esi], 0
mov edx, dword [esi + 4]
shl edx, 2
push edx
call fcn.00673b05
mov ecx, dword [esi + 4]
mov edi, eax
shl ecx, 2
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [esi], edi
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, edx
add esi, 8
and ecx, 3
dec ebp
rep stosb byte es:[edi], al
jne 0x45edc4
lea esi, [ebx + 0x64c]
mov ebp, 4
mov edi, esi
mov eax, dword [edi - 8]
mov dword [edi + 0x84], eax
mov ecx, dword [edi - 4]
mov dword [edi + 0x88], ecx
mov edx, dword [edi]
lea eax, [edi + 4]
lea ecx, [edi + 0x90]
push eax
mov dword [edi + 0x8c], edx
call fcn.0041ea40
mov ecx, dword [edi + 0x10]
mov dword [edi + 0x9c], ecx
mov edx, dword [edi + 0x14]
mov dword [edi + 0xa0], edx
mov al, byte [0x81a23c]
test al, 1
jne 0x45ee78
mov dl, al
push fcn.004465e0
or dl, 1
mov byte [0x81a23c], dl
call fcn.00673ac4
add esp, 4
fld dword [edi + 0x8c]
fld dword [edi + 0x88]
fld dword [edi + 0x84]
fstp dword [0x81a240]
add edi, 0x20
dec ebp
fst dword [0x81a244]
fld st(1)
fstp dword [0x81a248]
fld dword [0x81a240]
fmul dword [esp + 0x40]
fld dword [esp + 0x50]
fmul st(2)
faddp st(1)
fld dword [esp + 0x60]
fmul st(3)
faddp st(1)
fadd dword [esp + 0x70]
fstp dword [edi + 0x64]
fstp st(0)
fstp st(0)
fld dword [esp + 0x64]
fmul dword [0x81a248]
fld dword [esp + 0x54]
fmul dword [0x81a244]
faddp st(1)
fld dword [esp + 0x44]
fmul dword [0x81a240]
faddp st(1)
fadd dword [esp + 0x74]
fstp dword [edi + 0x68]
fld dword [esp + 0x68]
fmul dword [0x81a248]
fld dword [esp + 0x58]
fmul dword [0x81a244]
faddp st(1)
fld dword [esp + 0x48]
fmul dword [0x81a240]
faddp st(1)
fadd dword [esp + 0x78]
fstp dword [edi + 0x6c]
jne 0x45ee1c
mov eax, dword [ebx + 0x450]
test eax, eax
je 0x45ef7b
lea ecx, [eax + 0x54]
lea edx, [esp + 0x158]
push ecx
push edx
lea ecx, [eax + 0x128]
call fcn.0041d0d0
mov ecx, dword [ebx + 0x450]
lea eax, [ecx + 0x3c]
mov edx, dword [ecx + 0x3c]
mov dword [esp + 0x18], edx
mov edx, dword [eax + 4]
mov dword [esp + 0x1c], edx
lea edx, [esp + 0x164]
mov eax, dword [eax + 8]
push edx
mov dword [esp + 0x24], eax
call fcn.00459ed0
fld dword [esp + 0x15c]
fsub dword [eax + 4]
fmul dword [esp + 0x1c]
jmp 0x45ef87
fld dword [ebx + 0x17c]
fmul dword [ebx + 0x90]
mov eax, dword [ebx + 0x450]
test eax, eax
je 0x45ef9c
fld dword [eax + 0x118]
fmul dword [eax + 0x40]
jmp 0x45efa8
fld dword [ebx + 0x168]
fmul dword [ebx + 0x90]
fmul st(1)
mov dword [ebx + 0x750], 0x3f800000
mov al, byte [0x81a25c]
test al, 1
fstp dword [esp + 0x10]
fstp st(0)
jne 0x45efdb
mov dl, al
push fcn.004465e0
or dl, 1
mov byte [0x81a25c], dl
call fcn.00673ac4
add esp, 4
fld dword [esp + 0x70]
fstp dword [0x81a260]
fld dword [esp + 0x74]
fstp dword [0x81a264]
fld dword [esp + 0x78]
mov eax, dword [0x81a260]
mov ecx, dword [0x81a264]
fstp dword [0x81a268]
fld dword [esp + 0x10]
fcomp dword [0x6a410c]
mov edx, dword [0x81a268]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
fnstsw ax
test ah, 0x41
jne 0x45f11e
mov dword [ebx + 0x750], 0x400ccccd
mov edi, 4
mov eax, dword [esi - 8]
mov dword [esi + 0x84], eax
mov ecx, dword [esi - 4]
mov dword [esi + 0x88], ecx
mov edx, dword [esi]
lea eax, [esi + 4]
lea ecx, [esi + 0x90]
push eax
mov dword [esi + 0x8c], edx
call fcn.0041ea40
mov ecx, dword [esi + 0x10]
mov dword [esi + 0x9c], ecx
mov edx, dword [esi + 0x14]
mov dword [esi + 0xa0], edx
fld dword [ebx + 0x750]
fld st(0)
fmul dword [esi + 0x84]
fstp dword [esi + 0x84]
fld st(0)
fmul dword [esi + 0x88]
fstp dword [esi + 0x88]
fmul dword [esi + 0x8c]
fstp dword [esi + 0x8c]
mov al, byte [0x81a23c]
test al, 1
jne 0x45f0c4
mov dl, al
push fcn.004465e0
or dl, 1
mov byte [0x81a23c], dl
call fcn.00673ac4
add esp, 4
fld dword [esi + 0x8c]
fld dword [esi + 0x88]
fld dword [esi + 0x84]
fstp dword [0x81a240]
add esi, 0x20
dec edi
fstp dword [0x81a244]
fstp dword [0x81a248]
fld dword [esp + 0x18]
fadd dword [0x81a240]
fstp dword [esi + 0x64]
fld dword [esp + 0x1c]
fadd dword [0x81a244]
fstp dword [esi + 0x68]
fld dword [esp + 0x20]
fadd dword [0x81a248]
fstp dword [esi + 0x6c]
jne 0x45f03a
jmp 0x45f1ba
lea esi, [ebx + 0x6dc]
mov ebp, 4
lea edi, [esi - 0xc]
lea eax, [esi - 0x98]
push eax
mov ecx, edi
call fcn.0041ea40
lea ecx, [esi - 0x8c]
push ecx
mov ecx, esi
call fcn.0041ea40
mov edx, dword [esi - 0x80]
mov dword [esi + 0xc], edx
mov eax, dword [esi - 0x7c]
mov dword [esi + 0x10], eax
mov al, byte [0x81a23c]
test al, 1
jne 0x45f175
mov dl, al
push fcn.004465e0
or dl, 1
mov byte [0x81a23c], dl
call fcn.00673ac4
add esp, 4
mov ecx, dword [esi - 4]
mov edx, dword [esi - 8]
mov eax, dword [edi]
push ecx
push edx
push eax
mov ecx, 0x81a240
call fcn.0041d0b0
fld dword [esp + 0x18]
fadd dword [0x81a240]
add esi, 0x20
dec ebp
fstp dword [edi]
fld dword [esp + 0x1c]
fadd dword [0x81a244]
fstp dword [esi - 0x28]
fld dword [esp + 0x20]
fadd dword [0x81a248]
fstp dword [esi - 0x24]
jne 0x45f129
fld dword [0x6a4038]
fadd st(0), st(0)
fstp dword [esp + 0x14]
fld dword [esp + 0x1b4]
fcom dword [esp + 0x14]
fnstsw ax
test ah, 0x41
jne 0x45f1dc
fsub dword [esp + 0x14]
fcom dword [0x6a4108]
fnstsw ax
test ah, 1
jne 0x45f1f6
fcom dword [0x6a4104]
fnstsw ax
test ah, 0x41
jne 0x45f20f
fcom dword [0x6a4038]
fnstsw ax
test ah, 0x41
jne 0x45f20f
fsub dword [0x6a4038]
fsubr dword [0x6a4038]
fld dword [0x8135dc]
fld dword [0x8135e0]
fld dword [0x8135d8]
fmul dword [0x8135d8]
fld st(1)
fmul st(2)
faddp st(1)
fld st(2)
fmul st(3)
faddp st(1)
fsqrt
fstp st(2)
fstp st(0)
fstp dword [esp + 0x24]
fmul dword [0x6a4100]
call fcn.00674278
cdq
mov ecx, 0xb4
idiv ecx
mov dword [esp + 0x14], edx
fild dword [esp + 0x14]
fcom dword [0x6a37dc]
fnstsw ax
test ah, 1
jne 0x45f27c
fcom dword [0x6a40fc]
fnstsw ax
test ah, 1
je 0x45f27c
fstp st(0)
fld dword [0x6a40fc]
jmp 0x45f29e
fcom dword [0x6a40f8]
fnstsw ax
test ah, 0x41
jne 0x45f29e
fcom dword [0x6a40f4]
fnstsw ax
test ah, 0x41
je 0x45f29e
fstp st(0)
fld dword [0x6a40f8]
fmul dword [0x6a40f0]
lea ecx, [esp + 0xd0]
fstp dword [esp + 0x14]
call fcn.0041d580
fld dword [esp + 0x14]
fcos
mov al, byte [0x81a23c]
test al, 1
fst dword [esp + 0xd0]
fld dword [esp + 0x14]
fsin
fst dword [esp + 0xd4]
fchs
fstp dword [esp + 0xe0]
fstp dword [esp + 0xe4]
fld dword [esp + 0x24]
fchs
fstp dword [esp + 0x18]
jne 0x45f309
mov dl, al
push fcn.004465e0
or dl, 1
mov byte [0x81a23c], dl
call fcn.00673ac4
add esp, 4
mov edx, dword [esp + 0x18]
push 0
push 0
push edx
mov ecx, 0x81a240
call fcn.0041d0b0
fld dword [esp + 0xd0]
fmul dword [0x81a240]
fld dword [0x81a248]
fmul dword [esp + 0xf0]
faddp st(1)
fld dword [0x81a244]
fmul dword [esp + 0xe0]
faddp st(1)
fadd dword [esp + 0x100]
fstp dword [esp + 0x18]
fld dword [0x81a248]
fmul dword [esp + 0xf4]
fld dword [0x81a244]
fmul dword [esp + 0xe4]
faddp st(1)
fld dword [0x81a240]
fmul dword [esp + 0xd4]
faddp st(1)
fadd dword [esp + 0x104]
fstp dword [esp + 0x1c]
fld dword [0x81a248]
fmul dword [esp + 0xf8]
fld dword [0x81a244]
fmul dword [esp + 0xe8]
faddp st(1)
fld dword [0x81a240]
fmul dword [esp + 0xd8]
faddp st(1)
fadd dword [esp + 0x108]
fstp dword [esp + 0x20]
fld dword [esp + 0x1c]
fld dword [esp + 0x20]
fld dword [esp + 0x18]
fmul dword [esp + 0x18]
fld st(1)
fmul st(2)
faddp st(1)
fld st(2)
fmul st(3)
faddp st(1)
fsqrt
fstp st(2)
fstp st(0)
fcom dword [0x6a37dc]
fnstsw ax
test ah, 0x40
jne 0x45f40b
fld dword [esp + 0x18]
fdiv st(1)
fstp dword [esp + 0x18]
fld dword [esp + 0x1c]
fdiv st(1)
fstp dword [esp + 0x1c]
fld dword [esp + 0x20]
fdiv st(1)
fstp dword [esp + 0x20]
lea ecx, [ebx + 0x1cc]
fstp st(0)
call fcn.0049cab0
mov edi, eax
xor esi, esi
test edi, edi
jle 0x45f46e
mov ebp, dword [esp + 0x8c]
test esi, esi
jl 0x45f445
lea ecx, [ebx + 0x1cc]
call fcn.0049cab0
cmp esi, eax
jae 0x45f445
mov eax, dword [ebx + 0x1d0]
mov eax, dword [eax + esi*4]
jmp 0x45f447
xor eax, eax
mov edx, dword [esp + 0x18]
sub esp, 0xc
mov ecx, esp
push ebp
push eax
mov dword [ecx], edx
mov edx, dword [esp + 0x30]
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x34]
mov dword [ecx + 8], edx
mov ecx, ebx
call fcn.00460260
inc esi
cmp esi, edi
jl 0x45f427
lea ecx, [ebx + 0x1dc]
call fcn.0049cab0
xor esi, esi
mov dword [esp + 0x8c], eax
test eax, eax
jle 0x45f521
test esi, esi
jl 0x45f4a8
lea ecx, [ebx + 0x1dc]
call fcn.0049cab0
cmp esi, eax
jae 0x45f4a8
mov eax, dword [ebx + 0x1e0]
mov eax, dword [eax + esi*4]
jmp 0x45f4aa
xor eax, eax
mov edi, dword [eax + 0x34]
lea ecx, [ebx + 0x1ac]
call fcn.00462f80
cmp eax, edi
jbe 0x45f4cd
test edi, edi
jl 0x45f4cd
mov ebp, dword [ebx + 0x1b0]
shl edi, 6
add ebp, edi
jmp 0x45f4cf
xor ebp, ebp
test esi, esi
jl 0x45f4ed
lea ecx, [ebx + 0x1dc]
call fcn.0049cab0
cmp esi, eax
jae 0x45f4ed
mov ecx, dword [ebx + 0x1e0]
mov eax, dword [ecx + esi*4]
jmp 0x45f4ef
xor eax, eax
mov ecx, dword [esp + 0x18]
sub esp, 0xc
mov edx, esp
push ebp
push eax
mov dword [edx], ecx
mov ecx, dword [esp + 0x30]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x34]
mov dword [edx + 8], ecx
mov ecx, ebx
call fcn.00460400
mov eax, dword [esp + 0x8c]
inc esi
cmp esi, eax
jl 0x45f48a
fld dword [esp + 0x10]
fcomp dword [0x6a410c]
fnstsw ax
test ah, 0x41
jne 0x45f66d
lea esi, [ebx + 0x6d4]
mov dword [esp + 0x14], 4
lea edi, [esi - 4]
lea edx, [esi - 0x90]
push edx
mov ecx, edi
call fcn.0041ea40
lea ebp, [esi + 8]
mov ecx, ebp
lea eax, [ebp - 0x8c]
push eax
call fcn.0041ea40
mov ecx, dword [ebp - 0x80]
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp - 0x7c]
mov dword [ebp + 0x10], edx
fld dword [edi]
fmul dword [0x6a40ec]
fstp dword [edi]
fld dword [esi]
fmul dword [0x6a40ec]
fstp dword [esi]
fld dword [esi + 4]
fmul dword [0x6a40ec]
fstp dword [esi + 4]
fld dword [ebx + 0x750]
fld st(0)
fmul dword [edi]
fstp dword [edi]
fld st(0)
fmul dword [esi]
fstp dword [esi]
fmul dword [esi + 4]
fstp dword [esi + 4]
mov al, byte [0x81a23c]
test al, 1
jne 0x45f5cb
mov dl, al
push fcn.004465e0
or dl, 1
mov byte [0x81a23c], dl
call fcn.00673ac4
add esp, 4
mov eax, dword [esi + 4]
mov ecx, dword [esi]
mov edx, dword [edi]
push eax
push ecx
push edx
mov ecx, 0x81a240
call fcn.0041d0b0
fld dword [0x81a240]
fmul dword [esp + 0x40]
fld dword [esp + 0x60]
fmul dword [0x81a248]
mov eax, dword [esp + 0x14]
add esi, 0x20
dec eax
faddp st(1)
fld dword [esp + 0x50]
fmul dword [0x81a244]
mov dword [esp + 0x14], eax
faddp st(1)
fadd dword [esp + 0x70]
fstp dword [edi]
fld dword [esp + 0x64]
fmul dword [0x81a248]
fld dword [esp + 0x54]
fmul dword [0x81a244]
faddp st(1)
fld dword [esp + 0x44]
fmul dword [0x81a240]
faddp st(1)
fadd dword [esp + 0x74]
fstp dword [esi - 0x20]
fld dword [esp + 0x68]
fmul dword [0x81a248]
fld dword [esp + 0x58]
fmul dword [0x81a244]
faddp st(1)
fld dword [esp + 0x48]
fmul dword [0x81a240]
faddp st(1)
fadd dword [esp + 0x78]
fstp dword [esi - 0x1c]
jne 0x45f544
jmp 0x45f6bb
lea esi, [ebx + 0x6d8]
mov ebp, 4
lea edi, [esi - 8]
lea eax, [esi - 0x94]
push eax
mov ecx, edi
call fcn.0045fdd0
fld dword [edi]
fmul dword [0x6a36f0]
lea ecx, [esp + 0x40]
push ecx
mov ecx, edi
fstp dword [edi]
fld dword [esi - 4]
fmul dword [0x6a36f0]
fstp dword [esi - 4]
fld dword [esi]
fmul dword [0x6a36f0]
fstp dword [esi]
call fcn.0043a0c0
add esi, 0x20
dec ebp
jne 0x45f678
mov eax, dword [ebx + 0x79c]
test eax, eax
je 0x45fdbf
mov edx, dword [eax]
push 0
lea ecx, [esp + 0x114]
push 0
push ecx
push 0
push eax
call dword [edx + 0x40]
test eax, eax
jne 0x45fdbf
mov esi, dword [esp + 0x114]
lea eax, [ebx + 0x544]
xor edx, edx
mov dword [esp + 0x10], eax
xor eax, eax
mov ebp, dword [esp + 0x10]
mov ecx, eax
and ecx, 0x1f
mov edi, 1
mov ebp, dword [ebp]
shl edi, cl
mov ecx, eax
sar ecx, 5
test dword [ebp + ecx*4], edi
lea ecx, [edx + eax]
je 0x45f723
mov word [esi + ecx*2], 0xb000
jmp 0x45f729
mov word [esi + ecx*2], 0
inc eax
cmp eax, 0x20
jl 0x45f6fa
mov edi, dword [esp + 0x10]
add edx, 0x20
add edi, 8
cmp edx, 0x400
mov dword [esp + 0x10], edi
jl 0x45f6f8
mov eax, dword [ebx + 0x79c]
push 0
push eax
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [0x6e29a4]
push 0x8135b8
push 0x1b
push eax
mov ecx, dword [eax]
call dword [ecx + 0xcc]
mov eax, dword [0x6e29a4]
push 0x8136f8
push 0x1c
push eax
mov edx, dword [eax]
call dword [edx + 0xcc]
mov eax, dword [0x6e29a4]
push 0x813700
push 0x16
push eax
mov ecx, dword [eax]
call dword [ecx + 0xcc]
mov eax, dword [0x6e29a4]
push 0x8136f4
push 0x8d
push eax
mov edx, dword [eax]
call dword [edx + 0xcc]
mov eax, dword [0x6e29a4]
push 0x8135e4
push 0x91
push eax
mov ecx, dword [eax]
call dword [ecx + 0xcc]
mov eax, dword [0x6e29a4]
push 0x813634
push 0xe
push eax
mov edx, dword [eax]
call dword [edx + 0xcc]
mov eax, dword [0x6e29a4]
push 0x8136c4
push 1
push 0
mov ecx, dword [eax]
push eax
call dword [ecx + 0xf8]
mov eax, dword [0x6e29a4]
push 0x8135ac
push 2
push 0
mov edx, dword [eax]
push eax
call dword [edx + 0xf8]
mov eax, dword [0x6e29a4]
push 0x8135c8
push 3
push 0
mov ecx, dword [eax]
push eax
call dword [ecx + 0xf8]
mov eax, dword [0x6e29a4]
push 0x8135bc
push 1
push 1
mov edx, dword [eax]
push eax
call dword [edx + 0xf8]
mov eax, dword [0x6e29a4]
push 0x81362c
push 2
push 1
mov ecx, dword [eax]
push eax
call dword [ecx + 0xf8]
mov eax, dword [0x6e29a4]
push 0x8135cc
push 3
push 1
mov edx, dword [eax]
push eax
call dword [edx + 0xf8]
mov eax, dword [0x6e29a4]
push 0x8136e8
push 4
push 0
mov ecx, dword [eax]
push eax
call dword [ecx + 0xf8]
mov eax, dword [0x6e29a4]
push 0x813628
push 5
push 0
mov edx, dword [eax]
push eax
call dword [edx + 0xf8]
mov eax, dword [0x6e29a4]
push 0x8135b0
push 6
push 0
mov ecx, dword [eax]
push eax
call dword [ecx + 0xf8]
mov eax, dword [0x6e29a4]
push 0x8136ec
push 4
push 1
mov edx, dword [eax]
push eax
call dword [edx + 0xf8]
mov eax, dword [0x6e29a4]
push 0x813714
push 5
push 1
mov ecx, dword [eax]
push eax
call dword [ecx + 0xf8]
mov eax, dword [0x6e29a4]
push 0x8136e4
push 6
push 1
mov edx, dword [eax]
push eax
call dword [edx + 0xf8]
mov eax, dword [0x6e29a4]
push 0x8135c0
push 0x10
push 0
mov ecx, dword [eax]
push eax
call dword [ecx + 0xf8]
mov eax, dword [0x6e29a4]
push 0x8136fc
push 0x11
push 0
mov edx, dword [eax]
push eax
call dword [edx + 0xf8]
mov eax, dword [0x6e29a4]
push 0x8135d0
push 0x10
push 1
mov ecx, dword [eax]
push eax
call dword [ecx + 0xf8]
mov eax, dword [0x6e29a4]
push 0x8136f0
push 0x11
push 1
mov edx, dword [eax]
push eax
call dword [edx + 0xf8]
mov eax, dword [0x6e29a4]
push 0x8135c4
push 0x13
push eax
mov ecx, dword [eax]
call dword [ecx + 0xcc]
mov eax, dword [0x6e29a4]
push 0x8136cc
mov edx, dword [eax]
push 0x14
push eax
call dword [edx + 0xcc]
mov eax, dword [0x6e29a4]
push 0x8136c8
push 0xab
push eax
mov ecx, dword [eax]
call dword [ecx + 0xcc]
mov eax, dword [0x6e29a4]
push 1
push 0x1b
push eax
mov edx, dword [eax]
call dword [edx + 0xc8]
mov eax, dword [0x6e29a4]
push 3
push 0x16
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc8]
mov eax, dword [0x6e29a4]
push 1
push 0x8d
push eax
mov edx, dword [eax]
call dword [edx + 0xc8]
mov eax, dword [0x6e29a4]
push 0
push 0x91
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc8]
mov eax, dword [0x6e29a4]
push 0
push 0xe
push eax
mov edx, dword [eax]
call dword [edx + 0xc8]
mov eax, dword [0x6e29a4]
push 4
push 1
push 0
mov ecx, dword [eax]
push eax
call dword [ecx + 0xfc]
mov eax, dword [0x6e29a4]
push 2
push 2
push 0
mov edx, dword [eax]
push eax
call dword [edx + 0xfc]
mov eax, dword [0x6e29a4]
push 1
push 3
push 0
mov ecx, dword [eax]
push eax
call dword [ecx + 0xfc]
mov eax, dword [0x6e29a4]
push 4
push 4
push 0
mov edx, dword [eax]
push eax
call dword [edx + 0xfc]
mov eax, dword [0x6e29a4]
push 2
push 5
push 0
mov ecx, dword [eax]
push eax
call dword [ecx + 0xfc]
mov eax, dword [0x6e29a4]
push 1
push 6
push 0
mov edx, dword [eax]
push eax
call dword [edx + 0xfc]
mov eax, dword [0x6e29a4]
mov edx, dword [ebx + 0x79c]
push edx
push 0
mov ecx, dword [eax]
push eax
call dword [ecx + 0xf4]
mov eax, dword [0x6e29a4]
push 1
push 0xab
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc8]
mov eax, dword [0x6e29a4]
push 5
push 0x13
push eax
mov edx, dword [eax]
call dword [edx + 0xc8]
mov eax, dword [0x6e29a4]
push 6
push 0x14
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc8]
mov eax, dword [0x6e29a4]
push 2
push 0x10
push 0
mov edx, dword [eax]
push eax
call dword [edx + 0xfc]
mov eax, dword [0x6e29a4]
push 2
push 0x11
push 0
mov ecx, dword [eax]
push eax
call dword [ecx + 0xfc]
mov eax, dword [0x6e29a4]
push 2
push 0x10
push 1
mov edx, dword [eax]
push eax
call dword [edx + 0xfc]
mov eax, dword [0x6e29a4]
push 2
push 0x11
push 1
mov ecx, dword [eax]
push eax
call dword [ecx + 0xfc]
mov eax, dword [0x6e29a4]
push 0x112
push eax
mov edx, dword [eax]
call dword [edx + 0x130]
mov eax, dword [0x6e29a4]
lea edx, [ebx + 0x6d0]
push 0x20
push edx
mov ecx, dword [eax]
add ebx, 0x6c4
push 0x65
push ebx
push 2
push 4
push 0
push 4
push eax
call dword [ecx + 0x124]
mov edx, dword [0x8136c4]
mov eax, dword [0x6e29a4]
push edx
push 1
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0xfc]
mov eax, dword [0x6e29a4]
mov edx, dword [0x8135ac]
mov ecx, dword [eax]
push edx
push 2
push 0
push eax
call dword [ecx + 0xfc]
mov edx, dword [0x8135c8]
mov eax, dword [0x6e29a4]
push edx
push 3
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0xfc]
mov edx, dword [0x8135bc]
mov eax, dword [0x6e29a4]
push edx
push 1
mov ecx, dword [eax]
push 1
push eax
call dword [ecx + 0xfc]
mov edx, dword [0x81362c]
mov eax, dword [0x6e29a4]
push edx
push 2
mov ecx, dword [eax]
push 1
push eax
call dword [ecx + 0xfc]
mov edx, dword [0x8135cc]
mov eax, dword [0x6e29a4]
push edx
push 3
mov ecx, dword [eax]
push 1
push eax
call dword [ecx + 0xfc]
mov edx, dword [0x8136e8]
mov eax, dword [0x6e29a4]
push edx
push 4
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0xfc]
mov edx, dword [0x813628]
mov eax, dword [0x6e29a4]
push edx
push 5
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0xfc]
mov edx, dword [0x8135b0]
mov eax, dword [0x6e29a4]
push edx
push 6
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0xfc]
mov edx, dword [0x8136ec]
mov eax, dword [0x6e29a4]
push edx
push 4
mov ecx, dword [eax]
push 1
push eax
call dword [ecx + 0xfc]
mov edx, dword [0x813714]
mov eax, dword [0x6e29a4]
push edx
push 5
mov ecx, dword [eax]
push 1
push eax
call dword [ecx + 0xfc]
mov eax, dword [0x6e29a4]
mov ecx, dword [eax]
mov edx, dword [0x8136e4]
push edx
push 6
push 1
push eax
call dword [ecx + 0xfc]
mov edx, dword [0x8135c0]
mov eax, dword [0x6e29a4]
push edx
push 0x10
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0xfc]
mov edx, dword [0x8136fc]
mov eax, dword [0x6e29a4]
push edx
push 0x11
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0xfc]
mov edx, dword [0x8135d0]
mov eax, dword [0x6e29a4]
push edx
push 0x10
mov ecx, dword [eax]
push 1
push eax
call dword [ecx + 0xfc]
mov edx, dword [0x8136f0]
mov eax, dword [0x6e29a4]
push edx
push 0x11
mov ecx, dword [eax]
push 1
push eax
call dword [ecx + 0xfc]
mov eax, dword [0x6e29a4]
mov edx, dword [0x8136f4]
push edx
push 0x8d
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc8]
mov eax, dword [0x6e29a4]
mov edx, dword [0x8135e4]
push edx
push 0x91
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc8]
mov eax, dword [0x6e29a4]
mov edx, dword [0x813634]
push edx
push 0xe
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc8]
mov eax, dword [0x6e29a4]
mov edx, dword [0x8135b8]
push edx
push 0x1b
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc8]
mov eax, dword [0x6e29a4]
mov edx, dword [0x8136f8]
push edx
push 0x1c
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc8]
mov eax, dword [0x6e29a4]
mov edx, dword [0x813700]
push edx
push 0x16
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc8]
mov eax, dword [0x6e29a4]
mov edx, dword [0x8136c8]
mov ecx, dword [eax]
push edx
push 0xab
push eax
call dword [ecx + 0xc8]
mov eax, dword [0x6e29a4]
mov edx, dword [0x8135c4]
push edx
push 0x13
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc8]
mov eax, dword [0x6e29a4]
mov edx, dword [0x8136cc]
push edx
push 0x14
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc8]
mov eax, dword [0x6e29a4]
lea edx, [esp + 0x170]
push edx
push 0x100
mov ecx, dword [eax]
push eax
call dword [ecx + 0x94]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1a0
ret 4