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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x18c
fld qword [ebp + 0x14]
mov edx, dword [ebp + 8]
fmul qword [0x5b0148]
mov eax, dword [edx + 0x474]
push ebx
push esi
fadd qword [ebp + 0x1c]
push edi
mov edi, dword [ebp + 0xc]
test edi, edi
mov dword [esp + 0x54], eax
jne 0x472044
mov eax, dword [edx + 0x14]
test eax, eax
je 0x472009
mov ecx, dword [edx + 0x1c]
add ecx, 6
shl ecx, 4
mov ecx, dword [ecx + edx]
cmp eax, dword [ecx]
je 0x472009
fadd qword [ebp + 0x14]
fcom qword [edx + 0x458]
fnstsw ax
test ah, 1
je 0x472bbc
mov ecx, dword [ebp + 0x10]
shl ecx, 4
mov eax, ecx
shr ecx, 2
lea esi, [edx + 0x58]
lea edi, [edx + 0x258]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
fstp qword [edx + 0x458]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
fcomp qword [edx + 0x458]
fnstsw ax
test ah, 1
je 0x472bbe
mov ecx, dword [ebp + 0x10]
mov esi, dword [edx + 4]
lea eax, [ecx*4]
mov ebx, dword [eax + esi]
add eax, esi
test ebx, ebx
mov dword [esp + 0x78], 0xffffffff
mov dword [esp + 0x7c], 0x7fefffff
mov dword [esp + 0x80], 0xffffffff
mov dword [esp + 0x84], 0x7fefffff
mov dword [esp + 0x64], eax
mov dword [esp + 0x30], ebx
je 0x472bbe
mov esi, dword [ebx]
mov ecx, dword [esi + 0x194]
test edi, ecx
mov dword [esp + 0x18], esi
mov dword [esp + 0x94], ecx
je 0x472b9f
test dword [ebx + 0xa0], edi
jne 0x472b9f
mov ecx, dword [ebx + 4]
xor edx, edx
cmp ecx, edx
mov dword [esp + 0x10], 0xffffffff
mov dword [esp + 0x14], 0x7fefffff
mov dword [esp + 0x88], 0xffffffff
mov dword [esp + 0x8c], 0x7fefffff
mov dword [esp + 0x58], 0xffffffff
mov dword [esp + 0x5c], 0x7fefffff
mov dword [esp + 0x38], edx
mov dword [esp + 0x48], edx
mov byte [esp + 0x1f], dl
je 0x4727dd
mov dword [esp + 0x3c], edx
mov eax, 0xcccccccd
mul dword [ebx + 0x94]
mov edi, ecx
mov eax, dword [edi]
shr edx, 3
cmp eax, esi
mov dword [esp + 0x70], 0xffffffff
mov dword [esp + 0x74], 0x7fefffff
mov dword [esp + 0x2c], edx
jne 0x4727cb
mov ebx, dword [edi + 8]
mov esi, dword [esp + 0x2c]
xor eax, eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x98]
lea edx, [ebx + ebx*4]
lea edx, [ecx + edx*8]
mov ecx, dword [edi + 0xc]
xor eax, eax
cmp ecx, 0x1a
sete al
mov dword [esp + 0x34], edx
mov dword [esp + 0x68], edi
mov dword [esp + 0x20], eax
mov ecx, dword [edi + 0xc]
mov dword [esp + 0x2c], ecx
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x4721f1
mov edx, dword [edi + 0x10]
mov eax, dword [ebp + 0xc]
test eax, edx
jne 0x4721b1
mov eax, 1
shl eax, cl
mov ecx, dword [esp + 0x40]
or ecx, eax
mov eax, dword [esp + 0x44]
or eax, edx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], eax
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x3c]
not eax
and eax, edx
test eax, edx
je 0x4721f1
xor edx, edx
test al, 1
jne 0x4721cc
shr eax, 1
inc edx
test al, 1
je 0x4721c5
cmp eax, 1
jne 0x4721f1
mov ecx, dword [ecx + 0x10]
mov edx, dword [ecx + edx*4]
mov edx, dword [edx]
mov eax, dword [edx + 0x48]
cmp esi, eax
jbe 0x4721f1
cmp esi, 0x64
jbe 0x4721f1
cmp eax, 0x64
mov esi, eax
ja 0x4721f1
mov esi, 0x64
mov eax, dword [edi + 0x14]
mov ecx, dword [esp + 0x18]
add edi, 0x14
cmp eax, ecx
jne 0x472211
cmp dword [edi + 8], ebx
jne 0x472211
mov ecx, dword [esp + 0x2c]
cmp dword [edi + 0xc], ecx
je 0x472184
mov ecx, dword [esp + 0x18]
cmp dword [edi], ecx
jne 0x472222
cmp dword [edi + 8], ebx
je 0x47217d
mov eax, dword [esp + 0x40]
test eax, eax
mov dword [esp + 0x2c], esi
jne 0x47223a
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4727bb
test esi, esi
jne 0x472247
mov esi, 1
mov dword [esp + 0x2c], esi
mov eax, dword [esp + 0x20]
test eax, eax
je 0x47225a
mov edx, dword [esp + 0x44]
mov eax, dword [ebp + 8]
push edx
push eax
jmp 0x472296
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 8]
mov edx, 1
shl edx, cl
mov byte [esp + 0x1f], 1
dec edx
cmp dword [esp + 0x40], edx
jne 0x4724c7
mov eax, dword [eax + 4]
and eax, 0x1041
cmp eax, 1
mov dword [esp + 0x3c], 0xffffffff
jne 0x4722b3
mov ecx, dword [esp + 0x44]
mov edx, dword [ebp + 8]
push ecx
push edx
call fcn.00472d20
add esp, 8
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0x3ff00000
jmp 0x47276a
mov eax, dword [esp + 0x44]
xor edx, edx
cmp eax, edx
jne 0x472338
mov ecx, ebx
mov eax, 1
shl eax, cl
mov ecx, eax
mov eax, dword [esp + 0x18]
test dword [eax + 0x8c], ecx
je 0x4722f9
mov eax, dword [eax + ebx*4 + 0x1b4]
mov dword [esp + 0xc8], eax
mov dword [esp + 0xcc], edx
fild qword [esp + 0xc8]
fstp qword [esp + 0x10]
jmp 0x472405
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx + 0x94]
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], edx
fild qword [esp + 0xa8]
mov dword [esp + 0x158], esi
mov dword [esp + 0x15c], edx
fild qword [esp + 0x158]
fdivp st(1)
fstp qword [esp + 0x10]
jmp 0x472405
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 0x20]
mov ecx, dword [eax + ecx*4 - 4]
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xbc], edx
fild qword [esp + 0xb8]
fst qword [esp + 0x10]
fcomp qword [0x5aa3b0]
fnstsw ax
test ah, 0x40
je 0x472405
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 0x68]
mov edx, dword [esp + 0x34]
mov ecx, eax
sub ecx, dword [edx]
xor edx, edx
mov dword [esp + 0x128], ecx
mov dword [esp + 0x98], eax
mov dword [esp + 0x12c], edx
fild qword [esp + 0x128]
mov dword [esp + 0x9c], edx
fild qword [esp + 0x98]
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 0x94]
mov dword [esp + 0x178], ecx
fdivp st(1)
mov dword [esp + 0x17c], edx
mov dword [esp + 0xd8], esi
mov dword [esp + 0xdc], edx
fadd qword [0x5abe78]
fild qword [esp + 0x178]
fild qword [esp + 0xd8]
fdivp st(1)
fmulp st(1)
fst qword [esp + 0x10]
fcomp qword [0x5abe58]
fnstsw ax
test ah, 1
je 0x472405
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], 0x40000000
mov eax, dword [esp + 0x54]
fld qword [esp + 0x10]
mov ecx, dword [eax + 0x574]
mov dword [esp + 0x138], ecx
mov dword [esp + 0x13c], edx
fild qword [esp + 0x138]
fstp qword [esp + 0x20]
fld qword [esp + 0x10]
fcomp qword [esp + 0x20]
fnstsw ax
test ah, 0x41
jne 0x472441
fstp st(0)
fld qword [esp + 0x20]
mov eax, dword [esp + 0x18]
mov ecx, ebx
mov edx, 1
shl edx, cl
test dword [eax + 0x90], edx
je 0x4724a2
mov edx, dword [esp + 0x34]
mov esi, dword [edx]
mov ecx, eax
mov eax, dword [ecx]
mov ecx, dword [eax + 0x74]
mov eax, dword [eax + 0x78]
add ecx, esi
shr eax, 1
xor edx, edx
div ecx
mov dword [esp + 0xec], 0
inc eax
mov dword [esp + 0xe8], eax
fild qword [esp + 0xe8]
fld st(0)
faddp st(2)
fxch st(1)
fsub qword [0x5abe78]
fmul qword [ebp + 0x14]
fdiv st(1)
fxch st(1)
fstp st(0)
jmp 0x47276a
mov ecx, dword [esp + 0x30]
fld qword [ecx + 0x80]
fld st(1)
fcompp
fnstsw ax
test ah, 1
jne 0x4724bf
fstp st(0)
fld qword [ecx + 0x80]
fmul qword [ebp + 0x14]
jmp 0x47276a
test byte [esp + 0x40], 1
je 0x472763
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx]
push ebx
call dword [edx + 0x10c]
test al, 0x10
jne 0x472763
mov eax, dword [esp + 0x40]
push eax
call fcn.00472bd0
mov ecx, ebx
mov esi, 1
shl esi, cl
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x40], eax
mov eax, dword [ecx + 0x8c]
add esp, 4
test esi, eax
je 0x472549
mov eax, ecx
mov edx, dword [eax + ebx*4 + 0x234]
cmp edx, dword [esp + 0x3c]
ja 0x472549
mov eax, dword [eax + ebx*4 + 0x1b4]
mov dword [esp + 0x168], eax
mov dword [esp + 0x16c], 0
fild qword [esp + 0x168]
fst qword [esp + 0x10]
jmp 0x4726d2
mov ecx, dword [esp + 0x34]
mov ecx, dword [ecx + 0x20]
mov edx, dword [esp + 0x3c]
mov eax, dword [ecx + edx*4 - 4]
mov dword [esp + 0xf8], eax
mov dword [esp + 0xfc], 0
fild qword [esp + 0xf8]
fst qword [esp + 0x10]
fcomp qword [0x5aa3b0]
fnstsw ax
test ah, 0x40
jne 0x47258b
fld qword [esp + 0x10]
jmp 0x4726d2
mov edx, dword [esp + 0x34]
mov edx, dword [edx + 8]
mov eax, dword [ecx + edx*4 - 4]
xor ebx, ebx
mov dword [esp + 0x148], eax
mov dword [esp + 0x14c], ebx
fild qword [esp + 0x148]
fld st(0)
fcomp qword [0x5aa3b0]
fnstsw ax
test ah, 0x40
je 0x4725fe
mov ecx, dword [esp + 0x30]
fstp st(0)
mov eax, dword [ecx + 0x94]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x108], eax
mov dword [esp + 0x10c], ebx
fild qword [esp + 0x108]
mov dword [esp + 0x188], ecx
mov dword [esp + 0x18c], ebx
fild qword [esp + 0x188]
fdivp st(1)
fadd qword [0x5abe78]
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 0x94]
cmp eax, ebx
jne 0x472619
fstp st(0)
fld qword [0x5aa3b0]
jmp 0x4726b2
mov dword [esp + 0x118], eax
mov dword [esp + 0x11c], ebx
fild qword [esp + 0x118]
fld st(1)
fdiv st(1)
fcomp qword [0x5b09f0]
fnstsw ax
test ah, 1
jne 0x472643
fstp st(0)
jmp 0x4726b2
fmul qword [0x5b09f0]
mov ecx, dword [esp + 0x3c]
fld st(1)
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], ebx
fsub st(1)
mov dword [esp + 0xb0], edx
fild qword [esp + 0xa0]
mov dword [esp + 0xb4], ebx
dec edx
fmulp st(1)
mov dword [esp + 0xc0], edx
fild qword [esp + 0xb0]
mov dword [esp + 0xc4], ebx
fmul st(2)
faddp st(1)
fsubrp st(2)
fild qword [esp + 0xc0]
fdivp st(2)
fstp st(0)
fcom qword [0x5abe78]
fnstsw ax
test ah, 1
je 0x4726b2
fstp st(0)
fld qword [0x5abe78]
fld st(0)
call fcn.0059989c
mov dword [esp + 0xd0], eax
mov dword [esp + 0xd4], ebx
fild qword [esp + 0xd0]
fstp qword [esp + 0x10]
mov edx, dword [esp + 0x54]
mov eax, dword [edx + 0x574]
mov dword [esp + 0xe0], eax
mov dword [esp + 0xe4], 0
fild qword [esp + 0xe0]
fstp qword [esp + 0x20]
fcom qword [esp + 0x20]
fnstsw ax
test ah, 0x41
jne 0x47270a
fstp st(0)
fld qword [esp + 0x20]
mov ecx, dword [esp + 0x18]
test dword [ecx + 0x90], esi
je 0x4724a2
mov edx, ecx
mov eax, dword [edx]
mov ecx, dword [eax + 0x74]
mov edx, dword [esp + 0x34]
mov esi, dword [edx]
mov eax, dword [eax + 0x78]
add ecx, esi
shr eax, 1
xor edx, edx
div ecx
mov dword [esp + 0xf4], 0
inc eax
mov dword [esp + 0xf0], eax
fild qword [esp + 0xf0]
fld st(0)
faddp st(2)
fxch st(1)
fsub qword [0x5abe78]
fmul qword [ebp + 0x14]
fdiv st(1)
fxch st(1)
fstp st(0)
jmp 0x47276a
fld qword [esp + 0x88]
fld qword [esp + 0x10]
fmul qword [0x5b0148]
fld qword [esp + 0x88]
fsub st(1)
fld st(2)
fcompp
fnstsw ax
test ah, 1
je 0x4727b7
mov eax, dword [esp + 0x10]
fadd st(1)
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x68]
fstp qword [esp + 0x88]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x3c]
fstp qword [esp + 0x58]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x38], edx
mov dword [esp + 0x48], eax
jmp 0x4727bb
fstp st(0)
fstp st(0)
mov ecx, dword [esp + 0x18]
cmp dword [edi], ecx
je 0x472145
mov ebx, dword [esp + 0x30]
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x74]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], eax
xor edx, edx
mov ecx, dword [ebx + 0x98]
mov dword [esp + 0x100], ecx
mov dword [esp + 0x104], edx
fild qword [esp + 0x100]
fcomp qword [esp + 0x10]
fnstsw ax
test ah, 0x41
jne 0x47282f
mov eax, dword [ebx + 0x9c]
mov dword [esp + 0x110], eax
mov dword [esp + 0x114], edx
fild qword [esp + 0x110]
fcomp qword [esp + 0x58]
fnstsw ax
test ah, 1
je 0x472a10
xor edx, edx
mov ecx, dword [ebx + 0x10]
cmp ecx, edx
je 0x472859
mov eax, dword [esp + 0x38]
cmp eax, edx
je 0x472859
mov eax, dword [eax + 8]
cmp dword [ecx + 0x14], eax
jne 0x472859
mov ecx, dword [ebx]
mov edx, dword [esp + 0x48]
cmp edx, dword [ecx + eax*4 + 0x234]
jae 0x472a10
mov eax, dword [ebx]
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 0x108]
test al, 4
je 0x472881
mov eax, dword [ebx]
mov ecx, dword [eax + 0x90]
test ecx, ecx
je 0x472881
mov eax, dword [esp + 0x38]
test eax, eax
jne 0x472a10
mov edx, dword [ebx]
mov al, byte [edx + 0x110]
test al, al
je 0x472899
mov eax, dword [esp + 0x38]
test eax, eax
jne 0x472a10
mov cl, byte [esp + 0x1f]
test cl, cl
mov eax, dword [ebx + 0x98]
mov esi, eax
je 0x4728b0
mov ecx, esi
shr ecx, 2
sub esi, ecx
mov ecx, dword [ebx + 0x10]
xor edi, edi
cmp ecx, edi
je 0x4728e1
sub eax, esi
mov dword [esp + 0x120], eax
mov dword [esp + 0x124], edi
fild qword [esp + 0x120]
fmul qword [0x5b0148]
fadd qword [ecx + 0x70]
fmul qword [ebp + 0x14]
jmp 0x4729a0
mov ecx, dword [edx]
mov edx, dword [ecx]
call dword [edx + 8]
fstp qword [esp + 0x68]
cmp dword [ebx + 0x14], edi
je 0x472920
mov eax, dword [ebx + 0x94]
sub eax, esi
mov dword [esp + 0x130], eax
mov dword [esp + 0x134], edi
fild qword [esp + 0x130]
fmul qword [0x5b0148]
fadd qword [esp + 0x68]
fmul qword [ebp + 0x14]
jmp 0x4729a0
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 8]
push ecx
push edx
call fcn.00472bf0
mov dword [esp + 0x148], eax
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax + 0x51c]
mov dword [esp + 0x14c], edi
fild qword [esp + 0x148]
mov dword [esp + 0x158], ecx
mov dword [esp + 0x15c], edi
fmul qword [ebp + 0x14]
fild qword [esp + 0x158]
fdivp st(1)
fstp qword [esp]
call fcn.005997cd
fadd qword [0x5abe78]
mov edx, dword [ebx + 0x94]
add esp, 8
sub edx, esi
fmul qword [esp + 0x68]
mov dword [esp + 0x160], edx
mov dword [esp + 0x164], edi
fild qword [esp + 0x160]
fmul qword [0x5b0148]
faddp st(1)
fld qword [esp + 0x58]
fcomp qword [0x5afb20]
fnstsw ax
test ah, 0x40
jne 0x4729eb
mov dword [esp + 0x170], esi
mov dword [esp + 0x174], edi
fild qword [esp + 0x170]
fmul qword [ebp + 0x14]
fmul qword [0x5b0148]
fadd st(1)
fld qword [esp + 0x10]
fmul qword [ebp + 0x14]
fmul qword [0x5b0148]
fadd qword [esp + 0x58]
fcompp
fnstsw ax
test ah, 0x41
jne 0x472a0e
fstp qword [esp + 0x58]
mov dword [esp + 0x180], esi
mov dword [esp + 0x184], edi
fild qword [esp + 0x180]
mov dword [esp + 0x38], edi
fstp qword [esp + 0x10]
jmp 0x472a10
fstp st(0)
mov edx, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov eax, edx
shl eax, 4
add eax, esi
mov dword [eax + 0x58], ecx
mov ecx, dword [esp + 0x38]
mov dword [eax + 0x5c], edi
mov dword [eax + 0x64], ecx
lea eax, [edx + 6]
shl eax, 4
test ecx, ecx
mov dword [eax + esi], ebx
jne 0x472a82
cmp edx, dword [esi + 0x1c]
jne 0x472a82
mov ecx, dword [ebx]
cmp ecx, dword [esi + 0x14]
jne 0x472a82
mov eax, dword [esi + 0x474]
mov ecx, dword [eax + 0x778]
mov dword [esp + 0x190], ecx
mov dword [esp + 0x194], 0
fild qword [esp + 0x190]
fcomp qword [esp + 0x10]
fnstsw ax
test ah, 1
jne 0x472a82
mov dword [esi + 0x14], 1
fld qword [esp + 0x10]
fmul qword [ebp + 0x14]
fstp qword [esp + 0x20]
fld qword [esp + 0x58]
fadd qword [ebp + 0x1c]
fstp qword [esp + 0x48]
fld qword [esp + 0x78]
fcomp qword [esp + 0x20]
fnstsw ax
test ah, 0x41
je 0x472acd
fld qword [esp + 0x80]
fcomp qword [esp + 0x48]
fnstsw ax
test ah, 0x41
je 0x472acd
cmp edx, dword [esi + 0x1c]
jne 0x472b8f
mov eax, dword [ebx]
cmp eax, dword [esi + 0x14]
jne 0x472b8f
fld qword [esp + 0x78]
fcomp qword [esp + 0x20]
fnstsw ax
test ah, 1
jne 0x472b30
fld qword [esp + 0x80]
fcomp qword [esp + 0x48]
fnstsw ax
test ah, 1
jne 0x472b30
mov ecx, dword [ebp + 0xc]
test dword [ebx + 0xa4], ecx
je 0x472b0a
fld qword [esp + 0x10]
fcomp qword [0x5abe58]
fnstsw ax
test ah, 1
je 0x472b30
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x7c], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], ecx
mov ecx, dword [esi + 4]
mov edi, dword [esp + 0x64]
mov ebx, dword [edi]
lea eax, [edx*4]
mov dword [esp + 0x68], eax
add eax, ecx
mov ecx, dword [eax]
mov dword [eax], ebx
mov eax, dword [esp + 0x4c]
mov ebx, dword [ebp + 0xc]
push eax
mov eax, dword [esp + 0x28]
mov dword [edi], ecx
mov ecx, dword [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0xa0]
push ecx
inc edx
not eax
push edx
and eax, ebx
push eax
push esi
call fcn.00471fc0
mov edx, dword [esi + 4]
mov eax, dword [esp + 0x84]
mov ecx, dword [eax + edx]
add esp, 0x1c
add eax, edx
mov edx, dword [edi]
mov dword [eax], edx
mov dword [edi], ecx
test byte [esi + 0x484], 2
jne 0x472bbe
mov edi, dword [ebp + 0xc]
mov eax, dword [esp + 0x64]
mov ebx, dword [eax + 4]
add eax, 4
test ebx, ebx
mov dword [esp + 0x64], eax
mov dword [esp + 0x30], ebx
jne 0x47209d
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
fstp st(0)
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret