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

Disassembly:
sub esp, 0x1c8
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x1dc]
mov dword [esp + 0x148], 0
push edi
mov dword [esp + 0x150], 0
mov dword [esp + 0x154], 0x3f800000
call fcn.004a6f70
add esp, 4
test eax, eax
jne 0x4a79f0
push edi
call fcn.004a6ef0
add esp, 4
test eax, eax
je 0x4a8f7b
mov ebx, dword [esp + 0x1e0]
push ebx
call fcn.004a6f70
add esp, 4
test eax, eax
jne 0x4a7a15
push ebx
call fcn.004a6ef0
add esp, 4
test eax, eax
je 0x4a8f7b
mov eax, dword [0x1180458]
lea esi, [edi + edi*2]
lea ebx, [ebx + ebx*2]
push edi
mov eax, dword [eax + 0xd4]
shl esi, 4
shl ebx, 4
add esi, eax
add ebx, eax
mov dword [esp + 0x160], esi
mov dword [esp + 0x158], ebx
call fcn.004a6ef0
mov ebp, ebx
add esp, 4
xor edx, edx
mov dword [esp + 0x158], eax
lea edi, [ebx + 0xc]
lea ecx, [esi + 0x18]
sub ebp, esi
fld dword [ecx + ebp]
fadd dword [0x4d83a8]
fcomp dword [ecx - 0xc]
fnstsw ax
test ah, 1
jne 0x4a8f7b
fld dword [edi]
fsub dword [0x4d83a8]
fcomp dword [ecx]
fnstsw ax
test ah, 0x41
je 0x4a8f7b
inc edx
add ecx, 4
add edi, 4
cmp edx, 2
jl 0x4a7a5a
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
mov dword [esp + 0xf8], edi
mov dword [esp + 0x1c], 0x47c34f80
mov dword [esp + 0x11c], edi
mov dword [esp + 0xc4], edi
mov dword [esp + 0x10c], edi
mov dword [esp + 0xc0], 0x47c34f80
mov dword [esp + 0x100], edi
mov dword [esp + 0x120], edi
mov dword [esp + 0xfc], edi
jle 0x4a8f7b
mov ecx, dword [0x1180458]
mov edx, dword [esi + 8]
mov eax, dword [ecx + 0xcc]
add edx, edi
mov ebp, dword [eax + edx*4]
xor edx, edx
test ebp, ebp
setl dl
mov eax, ebp
mov dword [esp + 0x114], edx
cdq
xor eax, edx
sub eax, edx
mov edx, dword [ecx + 0xc4]
lea eax, [eax + eax*2]
lea ebp, [edx + eax*8]
mov dword [esp + 0x104], ebp
test byte [ebp + 4], 4
jne 0x4a7b87
mov eax, dword [esp + 0x158]
test eax, eax
je 0x4a8836
mov edx, dword [esp + 0x114]
xor eax, eax
test edx, edx
mov edx, dword [ebp]
sete al
fld dword [esp + 0x150]
xor eax, edx
mov edx, dword [ecx + 0xac]
lea eax, [eax + eax*4]
fmul dword [edx + eax*4 + 8]
fld dword [esp + 0x14c]
fmul dword [edx + eax*4 + 4]
lea eax, [edx + eax*4]
faddp st(1)
fld dword [esp + 0x148]
fmul dword [eax]
faddp st(1)
fcomp qword [0x4d7f50]
fnstsw ax
test ah, 1
jne 0x4a8836
mov edx, dword [ebp + 8]
xor eax, eax
test edx, edx
mov dword [esp + 0x118], eax
jle 0x4a8836
mov edx, dword [ebp + 0xc]
add edx, eax
mov eax, dword [ecx + 0xbc]
mov edi, dword [eax + edx*4]
mov al, byte [ebp + 4]
xor edx, edx
test edi, edi
setl dl
test al, 4
mov esi, edx
jne 0x4a7bc9
mov edx, dword [esp + 0x114]
xor eax, eax
cmp esi, edx
sete al
mov esi, eax
mov eax, edi
cdq
mov edi, eax
xor eax, eax
xor edi, edx
sub edi, edx
mov edx, dword [ecx + 0xb4]
mov ecx, dword [ecx + 0xa4]
test esi, esi
lea edx, [edx + edi*8]
sete al
mov eax, dword [edx + eax*4]
mov edx, dword [edx + esi*4]
lea eax, [eax + eax*2]
lea edx, [edx + edx*2]
mov ebp, dword [ecx + eax*4]
lea eax, [ecx + eax*4]
mov dword [esp + 0x2c], ebp
mov ebp, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x34], eax
lea eax, [ecx + edx*4]
mov dword [esp + 0x30], ebp
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x50], ecx
mov eax, dword [eax + 8]
fld dword [esp + 0x50]
fsub dword [esp + 0x2c]
mov dword [esp + 0x54], edx
mov dword [esp + 0x58], eax
lea ecx, [esp + 0xc8]
lea edx, [esp + 0x148]
push ecx
lea eax, [esp + 0x170]
fstp dword [esp + 0x170]
fld dword [esp + 0x58]
fsub dword [esp + 0x34]
push edx
push eax
fstp dword [esp + 0x17c]
fld dword [esp + 0x64]
fsub dword [esp + 0x40]
fstp dword [esp + 0x180]
call fcn.00428590
lea ecx, [esp + 0xd4]
push ecx
call fcn.00428370
fstp st(0)
fld dword [esp + 0xe0]
fmul dword [esp + 0x44]
fld dword [esp + 0xdc]
fmul dword [esp + 0x40]
mov eax, dword [ebx + 4]
mov ecx, dword [0x1180458]
add esp, 0x10
xor esi, esi
faddp st(1)
fld dword [esp + 0xc8]
fmul dword [esp + 0x2c]
test eax, eax
mov dword [esp + 0x110], esi
faddp st(1)
fstp dword [esp + 0x24]
jle 0x4a8807
mov edx, dword [ebx + 8]
mov eax, dword [ecx + 0xcc]
add edx, esi
mov eax, dword [eax + edx*4]
cdq
xor eax, edx
sub eax, edx
lea edx, [eax + eax*2]
mov eax, dword [ecx + 0xc4]
lea ebp, [eax + edx*8]
mov al, byte [eax + edx*8 + 4]
test al, 4
je 0x4a87f4
mov edx, dword [ebp + 8]
xor eax, eax
test edx, edx
mov dword [esp + 0x108], eax
jle 0x4a87f4
mov edx, dword [ebp + 0xc]
mov esi, dword [ecx + 0xa4]
add edx, eax
mov eax, dword [ecx + 0xbc]
mov eax, dword [eax + edx*4]
cdq
xor eax, edx
sub eax, edx
mov edx, dword [ecx + 0xb4]
lea edx, [edx + eax*8]
mov eax, dword [edx]
mov edx, dword [edx + 4]
lea eax, [eax + eax*2]
lea edx, [edx + edx*2]
mov ebx, dword [esi + eax*4]
lea eax, [esi + eax*4]
mov dword [esp + 0x44], ebx
mov ebx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x48], ebx
fld dword [esp + 0x4c]
fmul dword [esp + 0xd0]
fld dword [esp + 0x48]
fmul dword [esp + 0xcc]
lea eax, [esi + edx*4]
faddp st(1)
fld dword [esp + 0x44]
fmul dword [esp + 0xc8]
mov edx, dword [eax]
mov dword [esp + 0x38], edx
mov edx, dword [eax + 4]
faddp st(1)
mov eax, dword [eax + 8]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
fsub dword [esp + 0x24]
fcom qword [0x4d7448]
fnstsw ax
test ah, 1
jne 0x4a87ca
fcomp qword [0x4d73e0]
fnstsw ax
test ah, 0x41
je 0x4a87cc
fld dword [esp + 0x40]
fmul dword [esp + 0xd0]
fld dword [esp + 0x3c]
fmul dword [esp + 0xcc]
faddp st(1)
fld dword [esp + 0x38]
fmul dword [esp + 0xc8]
faddp st(1)
fsub dword [esp + 0x24]
fcom qword [0x4d7448]
fnstsw ax
test ah, 1
jne 0x4a87ca
fcomp qword [0x4d73e0]
fnstsw ax
test ah, 0x41
je 0x4a87cc
lea ecx, [esp + 0xb4]
lea edx, [esp + 0xc8]
push ecx
lea eax, [esp + 0x14c]
push edx
push eax
call fcn.00428590
fld dword [esp + 0xc8]
fmul dword [esp + 0xc8]
fld dword [esp + 0xc4]
fmul dword [esp + 0xc4]
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x64]
mov dword [esp + 0x68], eax
faddp st(1)
fld dword [esp + 0xc0]
fmul dword [esp + 0xc0]
mov dword [esp + 0x6c], ecx
mov ecx, dword [esp + 0x4c]
add esp, 0xc
mov dword [esp + 0x94], edx
faddp st(1)
fld dword [esp + 0xbc]
fmul dword [esp + 0x34]
fld dword [esp + 0xb8]
fmul dword [esp + 0x30]
mov dword [esp + 0xa4], ecx
faddp st(1)
fld dword [esp + 0xb4]
fmul dword [esp + 0x2c]
faddp st(1)
fdiv st(1)
fstp dword [esp + 0x18]
fld dword [esp + 0xbc]
fmul dword [esp + 0x58]
fld dword [esp + 0xb8]
fmul dword [esp + 0x54]
faddp st(1)
fld dword [esp + 0xb4]
fmul dword [esp + 0x50]
faddp st(1)
fdiv st(1)
fstp dword [esp + 0x10]
fld dword [esp + 0xbc]
fmul dword [esp + 0x4c]
fld dword [esp + 0xb8]
fmul dword [esp + 0x48]
faddp st(1)
fld dword [esp + 0xb4]
fmul dword [esp + 0x44]
faddp st(1)
fdiv st(1)
fstp dword [esp + 0x14]
fld dword [esp + 0xbc]
fmul dword [esp + 0x40]
fld dword [esp + 0xb8]
fmul dword [esp + 0x3c]
faddp st(1)
fld dword [esp + 0xb4]
fmul dword [esp + 0x38]
faddp st(1)
fdiv st(1)
fstp dword [esp + 0x20]
fstp st(0)
fld dword [esp + 0x18]
fcomp dword [esp + 0x10]
fnstsw ax
test ah, 0x41
jne 0x4a7f91
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x58]
fld dword [esp + 0x18]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x60], eax
fstp dword [esp + 0x10]
fld dword [esp + 0x2c]
mov dword [esp + 0x94], ecx
mov dword [esp + 0x140], edx
mov edx, dword [esp + 0x54]
mov eax, ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x144], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x140]
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x144]
mov dword [esp + 0x34], eax
fstp dword [esp + 0x50]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], edx
fld dword [esp + 0x14]
fcomp dword [esp + 0x20]
fnstsw ax
test ah, 0x41
jne 0x4a800d
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x40]
fld dword [esp + 0x14]
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x5c], ecx
fstp dword [esp + 0x20]
fld dword [esp + 0x44]
mov dword [esp + 0xa4], edx
mov dword [esp + 0x140], eax
mov eax, dword [esp + 0x3c]
mov ecx, edx
mov edx, dword [esp + 0x38]
mov dword [esp + 0x144], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x140]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x144]
mov dword [esp + 0x4c], ecx
fstp dword [esp + 0x38]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
fld dword [esp + 0x10]
fcomp dword [esp + 0x14]
fnstsw ax
test ah, 0x41
jne 0x4a87c2
fld dword [esp + 0x20]
fcomp dword [esp + 0x18]
fnstsw ax
test ah, 0x41
jne 0x4a87c2
fld dword [esp + 0x18]
fsub qword [0x4d73c0]
fld dword [esp + 0x14]
fcompp
fnstsw ax
test ah, 0x41
jne 0x4a8142
fld dword [esp + 0x20]
fld dword [esp + 0x10]
fadd qword [0x4d73c0]
fcompp
fnstsw ax
test ah, 0x41
jne 0x4a8142
fld dword [esp + 0x14]
fsub qword [0x4d73c0]
fld dword [esp + 0x18]
fcompp
fnstsw ax
test ah, 0x41
jne 0x4a8142
fld dword [esp + 0x10]
fld dword [esp + 0x20]
fadd qword [0x4d73c0]
fcompp
fnstsw ax
test ah, 0x41
jne 0x4a8142
fld dword [esp + 0x5c]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
mov dword [esp + 0xe0], ecx
fsub dword [esp + 0x60]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0xe4], edx
mov edx, dword [esp + 0x54]
mov dword [esp + 0xe8], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0xd4], ecx
fld dword [esp + 0xa4]
fsub dword [esp + 0x94]
mov ecx, dword [esp + 0x44]
mov dword [esp + 0xd8], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0xdc], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0xa8], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0xac], edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x98], ecx
fstp dword [esp + 0x10]
mov dword [esp + 0x9c], edx
mov dword [esp + 0xa0], eax
jmp 0x4a83f8
fld dword [esp + 0x18]
fld dword [esp + 0x14]
fsub qword [0x4d73e0]
fcompp
fnstsw ax
test ah, 1
je 0x4a81b8
fld dword [esp + 0x18]
fld dword [esp + 0x14]
fadd qword [0x4d73e0]
fcompp
fnstsw ax
test ah, 0x41
jne 0x4a81b8
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
mov dword [esp + 0xe0], ecx
fld dword [esp + 0x5c]
mov ecx, dword [esp + 0x44]
mov dword [esp + 0xe4], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0xe8], eax
fsub dword [esp + 0x60]
mov eax, dword [esp + 0x4c]
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], edx
jmp 0x4a8289
fld dword [esp + 0x18]
fcomp dword [esp + 0x14]
fnstsw ax
test ah, 1
je 0x4a822b
fld dword [esp + 0x14]
fsub dword [esp + 0x18]
fld dword [esp + 0x94]
fsub dword [esp + 0x60]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
fmulp st(1)
fld dword [esp + 0x10]
fsub dword [esp + 0x18]
mov dword [esp + 0xe0], ecx
mov dword [esp + 0xe4], edx
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], edx
fdivp st(1)
fadd dword [esp + 0x60]
fstp dword [esp + 0x28]
mov eax, dword [esp + 0x28]
fld dword [esp + 0x5c]
fsub dword [esp + 0x28]
mov dword [esp + 0xe8], eax
mov eax, dword [esp + 0x4c]
jmp 0x4a8289
fld dword [esp + 0x18]
fsub dword [esp + 0x14]
fld dword [esp + 0xa4]
fsub dword [esp + 0x5c]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x2c]
fmulp st(1)
fld dword [esp + 0x20]
fsub dword [esp + 0x14]
mov edx, dword [esp + 0x30]
mov dword [esp + 0xe8], eax
mov dword [esp + 0xe0], ecx
mov dword [esp + 0xe4], edx
fdivp st(1)
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], edx
fadd dword [esp + 0x5c]
fst dword [esp + 0x28]
fsub dword [esp + 0x60]
mov eax, dword [esp + 0x28]
fld dword [esp + 0x10]
fld dword [esp + 0x20]
fsub qword [0x4d73e0]
mov dword [esp + 0xb0], eax
fcompp
fnstsw ax
test ah, 1
je 0x4a8317
fld dword [esp + 0x10]
fld dword [esp + 0x20]
fadd qword [0x4d73e0]
fcompp
fnstsw ax
test ah, 0x41
jne 0x4a8317
fld dword [esp + 0xa4]
fsub dword [esp + 0x94]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x58]
mov dword [esp + 0xd4], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0xd8], edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0xdc], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x98], ecx
fstp dword [esp + 0x10]
mov dword [esp + 0x9c], edx
mov dword [esp + 0xa0], eax
jmp 0x4a83f8
fld dword [esp + 0x10]
fcomp dword [esp + 0x20]
fnstsw ax
test ah, 1
je 0x4a838e
fld dword [esp + 0x10]
fsub dword [esp + 0x14]
fld dword [esp + 0xa4]
fsub dword [esp + 0x5c]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x54]
fmulp st(1)
fld dword [esp + 0x20]
fsub dword [esp + 0x14]
mov eax, dword [esp + 0x58]
mov dword [esp + 0xd4], ecx
mov dword [esp + 0xd8], edx
mov dword [esp + 0xdc], eax
fdivp st(1)
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], edx
fadd dword [esp + 0x5c]
fld st(0)
fsub dword [esp + 0x94]
fstp dword [esp + 0x10]
fstp dword [esp + 0xa0]
jmp 0x4a83f8
fld dword [esp + 0x20]
fsub dword [esp + 0x18]
fld dword [esp + 0x94]
fsub dword [esp + 0x60]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
fmulp st(1)
fld dword [esp + 0x10]
fsub dword [esp + 0x18]
mov dword [esp + 0xd4], eax
mov edx, eax
mov dword [esp + 0xd8], ecx
mov eax, ecx
fdivp st(1)
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x98], edx
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], ecx
fadd dword [esp + 0x60]
fld dword [esp + 0xa4]
fsub st(1)
fstp dword [esp + 0x10]
fstp dword [esp + 0xdc]
fld dword [esp + 0x10]
fsub dword [0x4d7390]
fld st(1)
fcompp
fnstsw ax
test ah, 0x41
jne 0x4a84f8
fld dword [esp + 0x10]
fadd dword [0x4d7390]
fld st(1)
fcompp
fnstsw ax
test ah, 1
je 0x4a84f8
fstp dword [esp + 0x24]
fld dword [esp + 0xd4]
fadd dword [esp + 0xe0]
fld dword [esp + 0xd8]
fadd dword [esp + 0xe4]
fstp dword [esp + 0x8c]
fld dword [esp + 0xdc]
fadd dword [esp + 0xe8]
fstp dword [esp + 0x90]
fmul qword [0x4d73c0]
fstp dword [esp + 0x88]
fld dword [esp + 0x8c]
fmul qword [0x4d73c0]
fstp dword [esp + 0x8c]
fld dword [esp + 0x90]
fmul qword [0x4d73c0]
fstp dword [esp + 0x90]
fld dword [esp + 0x98]
fadd dword [esp + 0xa8]
fld dword [esp + 0x9c]
fadd dword [esp + 0xac]
fstp dword [esp + 0x74]
fld dword [esp + 0xa0]
fadd dword [esp + 0xb0]
fstp dword [esp + 0x78]
fmul qword [0x4d73c0]
fstp dword [esp + 0x70]
fld dword [esp + 0x74]
fmul qword [0x4d73c0]
fstp dword [esp + 0x74]
fld dword [esp + 0x78]
fmul qword [0x4d73c0]
fstp dword [esp + 0x78]
jmp 0x4a85a9
fcom dword [esp + 0x10]
fnstsw ax
test ah, 1
je 0x4a8554
mov edx, dword [esp + 0xe0]
mov eax, dword [esp + 0xe4]
mov ecx, dword [esp + 0xe8]
mov dword [esp + 0x88], edx
mov edx, dword [esp + 0xa8]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 0x90], ecx
mov ecx, dword [esp + 0xb0]
mov dword [esp + 0x70], edx
fstp dword [esp + 0x24]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
jmp 0x4a85a9
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xd4]
mov ecx, dword [esp + 0xd8]
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0xdc]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 0x8c], ecx
mov ecx, dword [esp + 0x9c]
mov dword [esp + 0x90], edx
mov edx, dword [esp + 0xa0]
mov dword [esp + 0x70], eax
fstp st(0)
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], edx
fld dword [esp + 0x98]
fsub dword [esp + 0xa8]
lea eax, [esp + 0x184]
push eax
fstp dword [esp + 0x188]
fld dword [esp + 0xa0]
fsub dword [esp + 0xb0]
fstp dword [esp + 0x18c]
fld dword [esp + 0xa4]
fsub dword [esp + 0xb4]
fstp dword [esp + 0x190]
call fcn.004285d0
mov ecx, dword [esp + 0x108]
add esp, 4
fstp dword [esp + 0x28]
mov al, byte [ecx + 4]
fld dword [esp + 0x24]
test al, 4
je 0x4a86e5
fcomp dword [esp + 0x1c]
fnstsw ax
test ah, 1
jne 0x4a864c
fld dword [esp + 0x1c]
fadd dword [0x4d7390]
fcomp dword [esp + 0x24]
fnstsw ax
test ah, 0x41
jne 0x4a87c2
fld dword [esp + 0x28]
fcomp dword [esp + 0x11c]
fnstsw ax
test ah, 0x41
jne 0x4a87c2
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x8c]
mov dword [esp + 0x11c], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0xec], ecx
mov ecx, dword [esp + 0xc8]
mov dword [esp + 0xf0], edx
mov edx, dword [esp + 0xcc]
mov dword [esp + 0xf4], eax
mov eax, dword [esp + 0xd0]
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x68], edx
mov edx, dword [esp + 0x74]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x7c], ecx
mov ecx, dword [0x1180458]
mov dword [esp + 0xf8], 1
mov dword [esp + 0xc4], edi
mov dword [esp + 0x80], edx
mov dword [esp + 0x84], eax
jmp 0x4a87cc
fcomp dword [esp + 0xc0]
fnstsw ax
test ah, 1
jne 0x4a8725
fld dword [esp + 0xc0]
fadd dword [0x4d7390]
fcomp dword [esp + 0x24]
fnstsw ax
test ah, 0x41
jne 0x4a87c2
fld dword [esp + 0x28]
fcomp dword [esp + 0x100]
fnstsw ax
test ah, 0x41
jne 0x4a87c2
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x88]
mov dword [esp + 0xc0], ecx
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0x100], edx
mov edx, dword [esp + 0x90]
mov dword [esp + 0x160], eax
mov eax, dword [esp + 0xc8]
mov dword [esp + 0x164], ecx
mov ecx, dword [esp + 0xcc]
mov dword [esp + 0x168], edx
mov edx, dword [esp + 0xd0]
mov dword [esp + 0x130], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x134], ecx
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x138], edx
mov edx, dword [esp + 0x78]
mov dword [esp + 0x10c], 1
mov dword [esp + 0x120], edi
mov dword [esp + 0x124], eax
mov dword [esp + 0x128], ecx
mov dword [esp + 0x12c], edx
mov ecx, dword [0x1180458]
jmp 0x4a87cc
fstp st(0)
mov eax, dword [esp + 0x108]
mov edx, dword [ebp + 8]
inc eax
cmp eax, edx
mov dword [esp + 0x108], eax
jl 0x4a7d01
mov ebx, dword [esp + 0x154]
mov esi, dword [esp + 0x110]
mov eax, dword [ebx + 4]
inc esi
cmp esi, eax
mov dword [esp + 0x110], esi
jl 0x4a7cc2
mov ebp, dword [esp + 0x104]
mov eax, dword [esp + 0x118]
inc eax
mov edx, dword [ebp + 8]
mov dword [esp + 0x118], eax
cmp eax, edx
jl 0x4a7b9b
mov esi, dword [esp + 0x15c]
mov edi, dword [esp + 0xfc]
mov eax, dword [esi + 4]
inc edi
cmp edi, eax
mov dword [esp + 0xfc], edi
jl 0x4a7ae9
mov eax, dword [esp + 0xf8]
xor ebx, ebx
cmp eax, ebx
je 0x4a8982
fld dword [esp + 0x1c]
fcomp dword [0x4d7378]
fnstsw ax
test ah, 1
jne 0x4a8982
fld dword [esp + 0x1c]
fcomp dword [0x11770b0]
fnstsw ax
test ah, 1
je 0x4a8982
call fcn.004a6940
mov esi, eax
cmp esi, ebx
je 0x4a8f7b
fld dword [esp + 0x64]
fmul qword [0x4d73e0]
mov edi, dword [esp + 0x1dc]
mov ebp, dword [esp + 0x1e0]
mov eax, dword [esp + 0xc4]
push edi
fadd dword [esp + 0xf0]
mov dword [esi], ebp
mov dword [esi + 4], ebx
mov dword [esi + 8], eax
mov dword [esi + 0x24], 2
mov word [esi + 0x28], bx
fstp dword [esi + 0xc]
fld dword [esp + 0x6c]
fmul qword [0x4d73e0]
fadd dword [esp + 0xf4]
fstp dword [esi + 0x10]
fld dword [esp + 0x70]
fmul qword [0x4d73e0]
fadd dword [esp + 0xf8]
fstp dword [esi + 0x14]
fld dword [esp + 0x68]
fmul dword [0x4d7934]
fadd dword [esp + 0x80]
fstp dword [esi + 0x18]
fld dword [esp + 0x6c]
fmul dword [0x4d7934]
fadd dword [esp + 0x84]
fstp dword [esi + 0x1c]
fld dword [esp + 0x70]
fmul dword [0x4d7934]
fadd dword [esp + 0x88]
fstp dword [esi + 0x20]
call fcn.004a6ec0
add esp, 4
test eax, eax
jne 0x4a8953
push ebp
call fcn.004a6ec0
add esp, 4
test eax, eax
je 0x4a8953
add word [esi + 0x28], 0x12c
mov ecx, dword [0x1177014]
mov edx, dword [ecx + edi*4]
mov dword [esi + 0x2c], edx
mov eax, dword [0x1177014]
mov dword [eax + edi*4], esi
mov eax, dword [0x117706c]
inc eax
pop edi
pop esi
mov dword [0x117706c], eax
pop ebp
mov eax, 1
pop ebx
add esp, 0x1c8
ret
mov ebp, dword [esp + 0x10c]
cmp ebp, ebx
je 0x4a8b0d
fld dword [esp + 0x130]
fadd st(0), st(0)
fsubr dword [esp + 0x124]
fstp dword [esp + 0x178]
fld dword [esp + 0x134]
fadd st(0), st(0)
fsubr dword [esp + 0x128]
fstp dword [esp + 0x17c]
fld dword [esp + 0x138]
fadd st(0), st(0)
fsubr dword [esp + 0x12c]
fsub dword [0x11770b8]
fstp dword [esp + 0x180]
mov edi, dword [ecx + 0xdc]
lea ecx, [esp + 0x178]
push ecx
call fcn.004afd90
shl eax, 5
add esp, 4
test byte [eax + edi + 4], 4
je 0x4a8b0d
fld dword [0x11770b8]
fadd dword [0x4d8348]
mov esi, dword [esp + 0x1dc]
fcomp dword [esp + 0xc0]
fnstsw ax
test ah, 0x41
jne 0x4a8b14
mov edx, esi
shl edx, 5
test byte [edx + edi + 8], 2
je 0x4a8b14
mov eax, dword [esp + 0x1e0]
shl eax, 5
test byte [eax + edi + 8], 2
je 0x4a8b14
call fcn.004a6940
cmp eax, ebx
je 0x4a8f7b
fld dword [esp + 0x130]
fmul dword [0x4d8438]
mov ecx, dword [esp + 0x1e0]
mov edx, dword [esp + 0x120]
mov dword [eax], ecx
mov ecx, dword [esp + 0x160]
fadd dword [esp + 0x124]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x164]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x168]
mov dword [eax + 4], ebx
mov dword [eax + 0x10], edx
fstp dword [eax + 0x18]
fld dword [esp + 0x134]
fmul dword [0x4d8438]
mov dword [eax + 0x14], ecx
mov dword [eax + 0x24], 9
mov word [eax + 0x28], 0x2bc
pop edi
fadd dword [esp + 0x124]
fstp dword [eax + 0x1c]
fld dword [esp + 0x134]
fmul dword [0x4d8438]
fadd dword [esp + 0x128]
fstp dword [eax + 0x20]
mov edx, dword [0x1177014]
mov ecx, dword [edx + esi*4]
mov dword [eax + 0x2c], ecx
mov edx, dword [0x1177014]
mov dword [edx + esi*4], eax
mov eax, dword [0x1177038]
inc eax
pop esi
mov dword [0x1177038], eax
pop ebp
mov eax, 1
pop ebx
add esp, 0x1c8
ret
mov esi, dword [esp + 0x1dc]
cmp dword [esp + 0xf8], ebx
je 0x4a8f7b
fld dword [esp + 0x1c]
fcomp dword [0x4d7378]
fnstsw ax
test ah, 0x41
jne 0x4a8c5f
fld dword [esp + 0x1c]
fcomp dword [0x11770bc]
fnstsw ax
test ah, 1
je 0x4a8c5f
cmp ebp, ebx
je 0x4a8b6b
fld dword [esp + 0x1c]
fsub dword [esp + 0xc0]
fcomp dword [0x4d7398]
fnstsw ax
test ah, 1
je 0x4a8c5f
push esi
call fcn.004a6ec0
add esp, 4
test eax, eax
jne 0x4a8c5f
mov edi, dword [esp + 0x1e0]
push edi
call fcn.004a6ec0
add esp, 4
test eax, eax
jne 0x4a8c5f
call fcn.004a6940
cmp eax, ebx
je 0x4a8f7b
fld dword [esp + 0x64]
fmul qword [0x4d73e0]
mov ecx, dword [esp + 0xc4]
mov dword [eax], edi
mov dword [eax + 4], ebx
mov dword [eax + 8], ecx
fadd dword [esp + 0xec]
mov dword [eax + 0x24], 4
mov word [eax + 0x28], 0x384
pop edi
fstp dword [eax + 0xc]
fld dword [esp + 0x64]
fmul qword [0x4d73e0]
fadd dword [esp + 0xec]
fstp dword [eax + 0x10]
fld dword [esp + 0x68]
fmul qword [0x4d73e0]
fadd dword [esp + 0xf0]
fstp dword [eax + 0x14]
fld dword [esp + 0x60]
fmul dword [0x4d7934]
fadd dword [esp + 0x78]
fstp dword [eax + 0x18]
fld dword [esp + 0x64]
fmul dword [0x4d7934]
fadd dword [esp + 0x7c]
fstp dword [eax + 0x1c]
fld dword [esp + 0x68]
fmul dword [0x4d7934]
fadd dword [esp + 0x80]
fstp dword [eax + 0x20]
mov edx, dword [0x1177014]
mov ecx, dword [edx + esi*4]
mov dword [eax + 0x2c], ecx
mov edx, dword [0x1177014]
mov dword [edx + esi*4], eax
mov eax, dword [0x1177048]
inc eax
pop esi
mov dword [0x1177048], eax
pop ebp
mov eax, 1
pop ebx
add esp, 0x1c8
ret
fld dword [esp + 0x1c]
fcomp dword [0x4d7378]
fnstsw ax
test ah, 1
je 0x4a8f7b
fld dword [0x11770b0]
fchs
fcomp dword [esp + 0x1c]
fnstsw ax
test ah, 1
je 0x4a8d5d
call fcn.004a6940
cmp eax, ebx
je 0x4a8f7b
fld dword [esp + 0x64]
fmul qword [0x4d73e0]
mov ecx, dword [esp + 0x1e0]
mov edx, dword [esp + 0xc4]
mov dword [eax], ecx
mov dword [eax + 4], ebx
fadd dword [esp + 0xec]
mov dword [eax + 8], edx
mov dword [eax + 0x24], 2
mov word [eax + 0x28], 1
pop edi
fstp dword [eax + 0xc]
fld dword [esp + 0x64]
fmul qword [0x4d73e0]
fadd dword [esp + 0xec]
fstp dword [eax + 0x10]
fld dword [esp + 0x68]
fmul qword [0x4d73e0]
fadd dword [esp + 0xf0]
fstp dword [eax + 0x14]
fld dword [esp + 0x60]
fmul dword [0x4d8438]
fadd dword [esp + 0x78]
fstp dword [eax + 0x18]
fld dword [esp + 0x64]
fmul dword [0x4d8438]
fadd dword [esp + 0x7c]
fstp dword [eax + 0x1c]
fld dword [esp + 0x68]
fmul dword [0x4d8438]
fadd dword [esp + 0x80]
fstp dword [eax + 0x20]
mov ecx, dword [0x1177014]
mov edx, dword [ecx + esi*4]
mov dword [eax + 0x2c], edx
mov ecx, dword [0x1177014]
mov dword [ecx + esi*4], eax
mov eax, dword [0x1177070]
inc eax
pop esi
mov dword [0x1177070], eax
pop ebp
mov eax, 1
pop ebx
add esp, 0x1c8
ret
fld dword [esp + 0x64]
fadd st(0), st(0)
mov edx, dword [esp + 0xf4]
push 0xffffffffffffffff
mov dword [esp + 0x94], edx
lea ecx, [esp + 0x74]
fadd dword [esp + 0x80]
push 2
lea edx, [esp + 0x90]
push ecx
push edx
fst dword [esp + 0x8c]
fld dword [esp + 0x78]
fadd st(0), st(0)
fadd dword [esp + 0x90]
fst dword [esp + 0x90]
fld dword [esp + 0x7c]
fadd st(0), st(0)
mov eax, dword [esp + 0x90]
mov dword [esp + 0x84], eax
lea eax, [esp + 0x1c4]
fadd dword [esp + 0x94]
push eax
fstp dword [esp + 0x98]
fld st(1)
fstp dword [esp + 0x9c]
fstp dword [esp + 0xa0]
fstp dword [esp + 0x84]
fld dword [esp + 0x98]
fadd dword [0x4d7450]
fstp dword [esp + 0x8c]
call fcn.004affd0
mov ecx, 9
mov esi, eax
lea edi, [esp + 0x1a4]
add esp, 0x14
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x190]
test eax, eax
jne 0x4a8f7b
fld dword [esp + 0x194]
fcomp qword [0x4d7428]
fnstsw ax
test ah, 1
jne 0x4a8f7b
fld dword [esp + 0x1a0]
fadd dword [0x4d7390]
lea ecx, [esp + 0x198]
push ecx
fstp dword [esp + 0x1a4]
call fcn.004afd90
mov edi, dword [esp + 0x1e4]
add esp, 4
cmp eax, edi
jne 0x4a8f7b
call fcn.004a6940
mov esi, eax
test esi, esi
je 0x4a8f7b
mov edx, dword [esp + 0xc4]
mov eax, dword [esp + 0xec]
fld dword [esp + 0x1c]
mov ecx, dword [esp + 0xf0]
mov dword [esi + 8], edx
mov edx, dword [esp + 0xf4]
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x7c]
mov dword [esi + 0x10], ecx
mov ecx, dword [esp + 0x80]
mov dword [esi + 0x14], edx
mov edx, dword [esp + 0x84]
mov dword [esi], edi
fabs
fmul qword [0x4d8430]
mov dword [esi + 4], 0
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x20], edx
mov dword [esi + 0x24], 7
fdiv dword [0x1177088]
fadd qword [0x4d8428]
call fcn.004c2730
push edi
mov word [esi + 0x28], ax
call fcn.004a6ef0
add esp, 4
test eax, eax
jne 0x4a8f44
push edi
call fcn.004a6fb0
add esp, 4
test eax, eax
jne 0x4a8f44
mov edi, dword [esp + 0x1c]
push edi
call fcn.004a6e40
fcomp dword [0x4d8420]
add esp, 4
fnstsw ax
test ah, 0x41
jne 0x4a8f28
add word [esi + 0x28], 0x190
push edi
call fcn.004a6e40
fcomp dword [0x4d8364]
add esp, 4
fnstsw ax
test ah, 0x41
jne 0x4a8f44
add word [esi + 0x28], 0x384
mov ecx, dword [0x1177014]
mov eax, dword [esp + 0x1dc]
pop edi
mov edx, dword [ecx + eax*4]
mov dword [esi + 0x2c], edx
mov ecx, dword [0x1177014]
mov dword [ecx + eax*4], esi
mov eax, dword [0x1177064]
inc eax
pop esi
mov dword [0x1177064], eax
pop ebp
mov eax, 1
pop ebx
add esp, 0x1c8
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1c8
ret