Function at 0x4a7e40
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.004a7410
add esp, 4
test eax, eax
jne 0x4a7e90
push edi
call fcn.004a7390
add esp, 4
test eax, eax
je 0x4a941b
mov ebx, dword [esp + 0x1e0]
push ebx
call fcn.004a7410
add esp, 4
test eax, eax
jne 0x4a7eb5
push ebx
call fcn.004a7390
add esp, 4
test eax, eax
je 0x4a941b
mov eax, dword [0x11919f8]
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.004a7390
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 0x4a941b
fld dword [edi]
fsub dword [0x4d83a8]
fcomp dword [ecx]
fnstsw ax
test ah, 0x41
je 0x4a941b
inc edx
add ecx, 4
add edi, 4
cmp edx, 2
jl 0x4a7efa
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 0x4a941b
mov ecx, dword [0x11919f8]
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 0x4a8027
mov eax, dword [esp + 0x158]
test eax, eax
je 0x4a8cd6
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 0x4a8cd6
mov edx, dword [ebp + 8]
xor eax, eax
test edx, edx
mov dword [esp + 0x118], eax
jle 0x4a8cd6
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 0x4a8069
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.00428910
lea ecx, [esp + 0xd4]
push ecx
call fcn.004286f0
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 [0x11919f8]
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 0x4a8ca7
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 0x4a8c94
mov edx, dword [ebp + 8]
xor eax, eax
test edx, edx
mov dword [esp + 0x108], eax
jle 0x4a8c94
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 0x4a8c6a
fcomp qword [0x4d73e0]
fnstsw ax
test ah, 0x41
je 0x4a8c6c
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 0x4a8c6a
fcomp qword [0x4d73e0]
fnstsw ax
test ah, 0x41
je 0x4a8c6c
lea ecx, [esp + 0xb4]
lea edx, [esp + 0xc8]
push ecx
lea eax, [esp + 0x14c]
push edx
push eax
call fcn.00428910
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 0x4a8431
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 0x4a84ad
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 0x4a8c62
fld dword [esp + 0x20]
fcomp dword [esp + 0x18]
fnstsw ax
test ah, 0x41
jne 0x4a8c62
fld dword [esp + 0x18]
fsub qword [0x4d73c0]
fld dword [esp + 0x14]
fcompp
fnstsw ax
test ah, 0x41
jne 0x4a85e2
fld dword [esp + 0x20]
fld dword [esp + 0x10]
fadd qword [0x4d73c0]
fcompp
fnstsw ax
test ah, 0x41
jne 0x4a85e2
fld dword [esp + 0x14]
fsub qword [0x4d73c0]
fld dword [esp + 0x18]
fcompp
fnstsw ax
test ah, 0x41
jne 0x4a85e2
fld dword [esp + 0x10]
fld dword [esp + 0x20]
fadd qword [0x4d73c0]
fcompp
fnstsw ax
test ah, 0x41
jne 0x4a85e2
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 0x4a8898
fld dword [esp + 0x18]
fld dword [esp + 0x14]
fsub qword [0x4d73e0]
fcompp
fnstsw ax
test ah, 1
je 0x4a8658
fld dword [esp + 0x18]
fld dword [esp + 0x14]
fadd qword [0x4d73e0]
fcompp
fnstsw ax
test ah, 0x41
jne 0x4a8658
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 0x4a8729
fld dword [esp + 0x18]
fcomp dword [esp + 0x14]
fnstsw ax
test ah, 1
je 0x4a86cb
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 0x4a8729
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 0x4a87b7
fld dword [esp + 0x10]
fld dword [esp + 0x20]
fadd qword [0x4d73e0]
fcompp
fnstsw ax
test ah, 0x41
jne 0x4a87b7
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 0x4a8898
fld dword [esp + 0x10]
fcomp dword [esp + 0x20]
fnstsw ax
test ah, 1
je 0x4a882e
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 0x4a8898
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 0x4a8998
fld dword [esp + 0x10]
fadd dword [0x4d7390]
fld st(1)
fcompp
fnstsw ax
test ah, 1
je 0x4a8998
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 0x4a8a49
fcom dword [esp + 0x10]
fnstsw ax
test ah, 1
je 0x4a89f4
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 0x4a8a49
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.00428950
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 0x4a8b85
fcomp dword [esp + 0x1c]
fnstsw ax
test ah, 1
jne 0x4a8aec
fld dword [esp + 0x1c]
fadd dword [0x4d7390]
fcomp dword [esp + 0x24]
fnstsw ax
test ah, 0x41
jne 0x4a8c62
fld dword [esp + 0x28]
fcomp dword [esp + 0x11c]
fnstsw ax
test ah, 0x41
jne 0x4a8c62
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 [0x11919f8]
mov dword [esp + 0xf8], 1
mov dword [esp + 0xc4], edi
mov dword [esp + 0x80], edx
mov dword [esp + 0x84], eax
jmp 0x4a8c6c
fcomp dword [esp + 0xc0]
fnstsw ax
test ah, 1
jne 0x4a8bc5
fld dword [esp + 0xc0]
fadd dword [0x4d7390]
fcomp dword [esp + 0x24]
fnstsw ax
test ah, 0x41
jne 0x4a8c62
fld dword [esp + 0x28]
fcomp dword [esp + 0x100]
fnstsw ax
test ah, 0x41
jne 0x4a8c62
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 [0x11919f8]
jmp 0x4a8c6c
fstp st(0)
mov eax, dword [esp + 0x108]
mov edx, dword [ebp + 8]
inc eax
cmp eax, edx
mov dword [esp + 0x108], eax
jl 0x4a81a1
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 0x4a8162
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 0x4a803b
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 0x4a7f89
mov eax, dword [esp + 0xf8]
xor ebx, ebx
cmp eax, ebx
je 0x4a8e22
fld dword [esp + 0x1c]
fcomp dword [0x4d7378]
fnstsw ax
test ah, 1
jne 0x4a8e22
fld dword [esp + 0x1c]
fcomp dword [0x1188650]
fnstsw ax
test ah, 1
je 0x4a8e22
call fcn.004a6de0
mov esi, eax
cmp esi, ebx
je 0x4a941b
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.004a7360
add esp, 4
test eax, eax
jne 0x4a8df3
push ebp
call fcn.004a7360
add esp, 4
test eax, eax
je 0x4a8df3
add word [esi + 0x28], 0x12c
mov ecx, dword [0x11885b4]
mov edx, dword [ecx + edi*4]
mov dword [esi + 0x2c], edx
mov eax, dword [0x11885b4]
mov dword [eax + edi*4], esi
mov eax, dword [0x118860c]
inc eax
pop edi
pop esi
mov dword [0x118860c], eax
pop ebp
mov eax, 1
pop ebx
add esp, 0x1c8
ret
mov ebp, dword [esp + 0x10c]
cmp ebp, ebx
je 0x4a8fad
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 [0x1188658]
fstp dword [esp + 0x180]
mov edi, dword [ecx + 0xdc]
lea ecx, [esp + 0x178]
push ecx
call fcn.004b0230
shl eax, 5
add esp, 4
test byte [eax + edi + 4], 4
je 0x4a8fad
fld dword [0x1188658]
fadd dword [0x4d8348]
mov esi, dword [esp + 0x1dc]
fcomp dword [esp + 0xc0]
fnstsw ax
test ah, 0x41
jne 0x4a8fb4
mov edx, esi
shl edx, 5
test byte [edx + edi + 8], 2
je 0x4a8fb4
mov eax, dword [esp + 0x1e0]
shl eax, 5
test byte [eax + edi + 8], 2
je 0x4a8fb4
call fcn.004a6de0
cmp eax, ebx
je 0x4a941b
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 [0x11885b4]
mov ecx, dword [edx + esi*4]
mov dword [eax + 0x2c], ecx
mov edx, dword [0x11885b4]
mov dword [edx + esi*4], eax
mov eax, dword [0x11885d8]
inc eax
pop esi
mov dword [0x11885d8], eax
pop ebp
mov eax, 1
pop ebx
add esp, 0x1c8
ret
mov esi, dword [esp + 0x1dc]
cmp dword [esp + 0xf8], ebx
je 0x4a941b
fld dword [esp + 0x1c]
fcomp dword [0x4d7378]
fnstsw ax
test ah, 0x41
jne 0x4a90ff
fld dword [esp + 0x1c]
fcomp dword [0x118865c]
fnstsw ax
test ah, 1
je 0x4a90ff
cmp ebp, ebx
je 0x4a900b
fld dword [esp + 0x1c]
fsub dword [esp + 0xc0]
fcomp dword [0x4d7398]
fnstsw ax
test ah, 1
je 0x4a90ff
push esi
call fcn.004a7360
add esp, 4
test eax, eax
jne 0x4a90ff
mov edi, dword [esp + 0x1e0]
push edi
call fcn.004a7360
add esp, 4
test eax, eax
jne 0x4a90ff
call fcn.004a6de0
cmp eax, ebx
je 0x4a941b
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 [0x11885b4]
mov ecx, dword [edx + esi*4]
mov dword [eax + 0x2c], ecx
mov edx, dword [0x11885b4]
mov dword [edx + esi*4], eax
mov eax, dword [0x11885e8]
inc eax
pop esi
mov dword [0x11885e8], 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 0x4a941b
fld dword [0x1188650]
fchs
fcomp dword [esp + 0x1c]
fnstsw ax
test ah, 1
je 0x4a91fd
call fcn.004a6de0
cmp eax, ebx
je 0x4a941b
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 [0x11885b4]
mov edx, dword [ecx + esi*4]
mov dword [eax + 0x2c], edx
mov ecx, dword [0x11885b4]
mov dword [ecx + esi*4], eax
mov eax, dword [0x1188610]
inc eax
pop esi
mov dword [0x1188610], 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.004b0470
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 0x4a941b
fld dword [esp + 0x194]
fcomp qword [0x4d7428]
fnstsw ax
test ah, 1
jne 0x4a941b
fld dword [esp + 0x1a0]
fadd dword [0x4d7390]
lea ecx, [esp + 0x198]
push ecx
fstp dword [esp + 0x1a4]
call fcn.004b0230
mov edi, dword [esp + 0x1e4]
add esp, 4
cmp eax, edi
jne 0x4a941b
call fcn.004a6de0
mov esi, eax
test esi, esi
je 0x4a941b
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 [0x1188628]
fadd qword [0x4d8428]
call fcn.004c2c10
push edi
mov word [esi + 0x28], ax
call fcn.004a7390
add esp, 4
test eax, eax
jne 0x4a93e4
push edi
call fcn.004a7450
add esp, 4
test eax, eax
jne 0x4a93e4
mov edi, dword [esp + 0x1c]
push edi
call fcn.004a72e0
fcomp dword [0x4d8420]
add esp, 4
fnstsw ax
test ah, 0x41
jne 0x4a93c8
add word [esi + 0x28], 0x190
push edi
call fcn.004a72e0
fcomp dword [0x4d8364]
add esp, 4
fnstsw ax
test ah, 0x41
jne 0x4a93e4
add word [esi + 0x28], 0x384
mov ecx, dword [0x11885b4]
mov eax, dword [esp + 0x1dc]
pop edi
mov edx, dword [ecx + eax*4]
mov dword [esi + 0x2c], edx
mov ecx, dword [0x11885b4]
mov dword [ecx + eax*4], esi
mov eax, dword [0x1188604]
inc eax
pop esi
mov dword [0x1188604], 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