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

Disassembly:
sub esp, 0x38
push ebx
mov ebx, ecx
push ebp
mov ebp, 1
mov eax, dword [ebx + 0xf4]
push esi
cmp eax, ebp
push edi
je 0x4711dd
mov eax, dword [0x6633d4]
mov edx, dword [ebx + 0xd8]
mov ecx, dword [eax + 0x420]
mov eax, dword [edx]
push eax
call fcn.005ebae0
test eax, eax
mov dword [esp + 0x20], eax
je 0x4711dd
cmp dword [ebx + 0x350], ebp
jne 0x471159
mov ecx, dword [0x6633d4]
mov edx, dword [ebx + 0x34c]
push edx
mov ecx, dword [ecx + 0x420]
call fcn.005ebae0
mov esi, eax
mov dword [esp + 0x10], esi
jmp 0x47119e
mov eax, dword [0x6633d4]
mov edx, dword [ebx + 0x34c]
push edx
mov ecx, dword [eax + 0x420]
call fcn.005ec820
test eax, eax
je 0x4711a2
mov ecx, dword [eax + 0xd0]
test ecx, ecx
jle 0x4711a2
mov eax, dword [eax + 0xd8]
mov ecx, dword [0x6633d4]
mov edx, dword [eax]
mov ecx, dword [ecx + 0x420]
push edx
call fcn.005ebae0
mov dword [esp + 0x10], eax
mov esi, eax
test esi, esi
jne 0x4711e9
lea eax, [ebx + 0x354]
mov edx, dword [ebx + 0x360]
mov dword [esp + 0x1c], edx
mov esi, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 0x28], ecx
mov ecx, ebx
mov edi, dword [eax + 8]
call fcn.00471e30
mov eax, dword [esp + 0x1c]
push 0
push eax
push edi
push esi
push 0
mov ecx, ebx
call fcn.0046e0c0
mov ecx, dword [esp + 0x4c]
mov dword [ecx], ebp
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x38
ret 4
mov edx, dword [0x6633d4]
mov eax, dword [edx + 0x420]
mov ecx, dword [eax + 0x1e4]
xor eax, eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], eax
push eax
lea ecx, [ebx + 0x174]
call fcn.0046a6c0
mov ebp, eax
test ebp, ebp
je 0x4712f5
mov eax, dword [ebp + 0xc]
test eax, eax
jle 0x4712f5
fld dword [ebp + 0x1c]
fcomp dword [0x61b584]
fnstsw ax
test ah, 0x41
jne 0x4712f5
mov edx, dword [0x61f9e8]
fld dword [ebp + 0x1c]
push edx
push ecx
fstp dword [esp]
push esi
mov ecx, ebp
call fcn.00469fd0
test eax, eax
je 0x4712f5
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x14]
mov ecx, edx
mov edi, 0x66c2d0
rep movsd dword es:[edi], dword [esi]
fld dword [ebp + 0x1c]
fcomp dword [0x61fb80]
mov dword [esp + 0x14], edx
fnstsw ax
test ah, 1
jne 0x471294
mov eax, dword [esp + 0x10]
push 1
mov ecx, dword [eax + 4]
push ecx
push edx
push 0x66c2d0
mov ecx, ebx
call fcn.00472080
jmp 0x4712f1
mov eax, dword [ebx + 0xa8]
mov edi, dword [esp + 0x10]
fld dword [ebp + 0x1c]
push ecx
mov ecx, dword [eax + 0x10]
fstp dword [esp]
lea esi, [ebx + 0x340]
push ecx
mov ecx, dword [esp + 0x24]
push esi
push edi
push edx
push 0x66c2d0
push ebx
call fcn.0043fbb0
cmp dword [esi], 0
jg 0x4712df
mov edx, dword [edi + 4]
mov eax, dword [esp + 0x14]
push 1
push edx
push eax
push 0x66c2d0
mov ecx, ebx
call fcn.00472080
jmp 0x4712f1
mov ecx, dword [esp + 0x14]
push ecx
push 0x66c2d0
push esi
mov ecx, ebx
call fcn.004721b0
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
inc eax
cmp eax, 4
mov dword [esp + 0x18], eax
jl 0x471205
cmp dword [ebx + 0x350], 1
jne 0x4713ef
mov eax, dword [esi]
lea edi, [ebx + 0x354]
lea edx, [esp + 0x30]
push edi
lea ecx, [esp + 0x40]
push edx
push ecx
mov ecx, esi
call dword [eax + 0x23c]
mov ecx, eax
call fcn.005d0f40
mov edx, dword [eax]
mov dword [esp + 0x24], edx
mov ecx, dword [eax + 4]
mov dword [esp + 0x28], ecx
mov edx, dword [eax + 8]
mov dword [esp + 0x2c], edx
fld dword [esp + 0x2c]
fmul dword [esp + 0x2c]
fld dword [esp + 0x24]
fmul dword [esp + 0x24]
faddp st(1)
fsqrt
fcomp dword [0x61b598]
fnstsw ax
test ah, 0x41
jne 0x4713ef
mov ecx, dword [esp + 0x20]
mov eax, dword [esi]
mov edx, dword [ecx + 0xc]
mov ecx, esi
push edx
call dword [eax + 0xfc]
cmp al, 0xf
je 0x4713b6
cmp al, 0x80
jne 0x471393
mov eax, dword [esi + 8]
mov cl, byte [eax + 0x6d]
test cl, cl
jne 0x4713b6
mov ecx, dword [ebx + 0x35c]
mov edx, dword [edi]
push 0
push 0
push ecx
push edx
push 0
mov ecx, ebx
call fcn.0046e0c0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x38
ret 4
mov eax, dword [esi]
lea ecx, [esp + 0x3c]
push ecx
mov ecx, esi
call dword [eax + 0x23c]
mov edx, dword [eax + 8]
mov eax, dword [esi]
lea ecx, [esp + 0x30]
push edx
push ecx
mov ecx, esi
call dword [eax + 0x23c]
mov edx, dword [eax]
mov ecx, ebx
push edx
push esi
call fcn.0046e4f0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x38
ret 4
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x78]
cmp eax, 1
jne 0x471403
mov ecx, dword [esp + 0x4c]
mov dword [ecx], eax
jmp 0x471422
mov ecx, ebx
call fcn.00488a20
test eax, eax
jne 0x471422
mov edx, dword [0x61f974]
mov eax, dword [ebx + 0xfc]
or eax, edx
mov dword [ebx + 0xfc], eax
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 0xc]
mov edx, dword [ebx + 4]
push eax
push ecx
push edx
mov ecx, esi
call fcn.0052bce0
fcomp dword [ebx + 0x360]
fnstsw ax
test ah, 0x41
je 0x471460
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x80]
mov ecx, dword [0x61f974]
mov eax, dword [ebx + 0xfc]
or eax, ecx
mov dword [ebx + 0xfc], eax
mov ecx, dword [ebx + 0xfc]
mov eax, dword [0x61f974]
test ecx, eax
jbe 0x4711dd
mov eax, dword [0x61f978]
test eax, ecx
jbe 0x4711dd
not eax
and ecx, eax
mov edi, 0x66c2d0
mov dword [ebx + 0xfc], ecx
mov ebp, dword [ebx + 0xd0]
mov esi, dword [ebx + 0xd8]
mov ecx, ebp
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebx + 0xa8]
mov edx, dword [ebx + 0x360]
mov edi, dword [esp + 0x10]
lea esi, [ebx + 0x340]
mov ecx, dword [eax + 0x10]
mov eax, dword [ebx + 0xd8]
push edx
mov edx, dword [ebx + 0xd0]
push ecx
mov ecx, dword [esp + 0x24]
push esi
push edi
push edx
push eax
push ebx
call fcn.0043fbb0
cmp dword [esi], 0
jg 0x4714fb
mov ecx, dword [edi + 4]
push 1
push ecx
push ebp
push 0x66c2d0
mov ecx, ebx
call fcn.00472080
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x38
ret 4
push ebp
push 0x66c2d0
push esi
mov ecx, ebx
call fcn.004721b0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x38
ret 4