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

Disassembly:
mov eax, 0x74
call fcn.0057aae0
mov eax, dword [0x5fbea4]
xor eax, esp
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x94]
xorps xmm4, xmm4
movsd xmm3, qword [esp + 0x88]
test eax, eax
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x84]
push esi
mov esi, dword [esp + 0x80]
mov dword [esp + 0x34], esi
mov esi, 6
cmovns esi, eax
mov dword [esp + 0x2c], ecx
comisd xmm4, xmm3
push edi
mov edi, dword [esp + 0x80]
mov dword [esp + 0x34], edx
mov dword [esp + 0x24], 0
mov dword [esp + 0x10], 0
mov dword [esp + 8], 0
mov dword [esp + 0x2c], esi
jbe 0x47f168
mov dword [esp + 0x14], 0x2d
jmp 0x47f190
mov eax, dword [esp + 0xa0]
test al, 2
je 0x47f17d
mov dword [esp + 0x14], 0x2b
jmp 0x47f190
test al, 4
mov esi, 0x20
mov eax, 0
cmovne eax, esi
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0xa4]
movsd xmm1, qword [0x59b920]
movsd xmm2, qword [0x59b918]
mov esi, dword [esp + 0x38]
mov dword [esp + 0xc], 1
cmp eax, 2
jne 0x47f221
ucomisd xmm3, xmm4
lahf
test ah, 0x44
jp 0x47f1cc
mov dword [esp + 0x20], 0
jmp 0x47f23b
movsd xmm0, qword [0x59b908]
comisd xmm0, xmm3
jbe 0x47f1e4
mov dword [esp + 0x20], 1
jmp 0x47f23b
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x47f1f8
comisd xmm3, xmm1
jae 0x47f217
mov dword [esp + 0x20], eax
jmp 0x47f23b
jle 0x47f1c2
push eax
call fcn.0047fc50
movsd xmm1, qword [0x59b920]
add esp, 4
fstp qword [esp + 0x18]
comisd xmm3, xmmword [esp + 0x18]
jb 0x47f1c2
mov dword [esp + 0x20], 1
jmp 0x47f23b
cmp dword [esp + 0xa4], 0
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x28], eax
je 0x47f2de
ucomisd xmm3, xmm4
movaps xmm0, xmm3
lahf
test ah, 0x44
jnp 0x47f274
xor eax, eax
comisd xmm2, xmm3
jbe 0x47f25f
mulsd xmm0, xmm1
dec eax
comisd xmm2, xmm0
ja 0x47f250
mov dword [esp + 8], eax
comisd xmm0, xmm1
jbe 0x47f274
divsd xmm0, xmm1
inc eax
comisd xmm0, xmm1
ja 0x47f265
mov dword [esp + 8], eax
cmp dword [esp + 0xa4], 2
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x28], eax
jne 0x47f2cb
test eax, eax
cmove eax, dword [esp + 0xc]
cmp dword [esp + 0x20], 0
mov dword [esp + 0x28], eax
jne 0x47f2c6
or eax, 0xffffffff
sub eax, dword [esp + 8]
add dword [esp + 0x28], eax
jns 0x47f2de
push 0
push edx
push ecx
push esi
push edi
call fcn.0047f010
add esp, 0x14
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.0057a738
add esp, 0x74
ret
dec eax
mov dword [esp + 0x28], eax
cmp dword [esp + 0x20], 1
jne 0x47f2de
movaps xmm3, xmm0
movsd qword [esp + 0x90], xmm3
comisd xmm4, xmm3
jbe 0x47f2f4
xorps xmm3, xmmword [0x59b930]
movsd qword [esp + 0x90], xmm3
comisd xmm3, xmmword [0x59b928]
jae 0x47f2a5
movaps xmm0, xmm3
call fcn.0057ad21
movsd xmm3, qword [0x59b918]
mov edx, eax
mov eax, dword [esp + 0x28]
mov ecx, 9
movsd xmm2, qword [0x59b920]
cmp eax, ecx
mov dword [esp + 0xc], edx
movaps xmm1, xmm3
cmovg eax, ecx
mov dword [esp + 0x28], eax
mov ecx, eax
test eax, eax
je 0x47f340
mulsd xmm1, xmm2
sub ecx, 1
jne 0x47f337
movsd xmm4, qword [0x59b910]
cvttsd2si ecx, xmm1
mov dword [esp + 0x2c], ecx
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
subsd xmm1, xmm0
comisd xmm1, xmm4
jb 0x47f367
inc ecx
mov dword [esp + 0x2c], ecx
mov ecx, eax
test eax, eax
je 0x47f379
nop dword [eax]
mulsd xmm3, xmm2
sub ecx, 1
jne 0x47f370
movsd xmm1, qword [esp + 0x90]
mov eax, edx
movd xmm0, edx
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x57ec30]
subsd xmm1, xmm0
mulsd xmm1, xmm3
cvttsd2si ecx, xmm1
mov dword [esp + 0x1c], ecx
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
subsd xmm1, xmm0
comisd xmm1, xmm4
jb 0x47f3bf
inc ecx
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x2c]
cmp ecx, eax
jb 0x47f3d2
inc edx
sub ecx, eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x1c], ecx
mov esi, dword [esp + 0xc]
xor ecx, ecx
nop dword [eax + eax]
mov eax, 0xcccccccd
mov dword [esp + 0x2c], ecx
mul esi
shr edx, 3
lea eax, [edx + edx*4]
add eax, eax
sub esi, eax
mov al, byte [esi + str.0123456789]
mov esi, edx
mov byte [esp + ecx + 0x64], al
inc ecx
test esi, esi
je 0x47f40b
cmp ecx, 0x14
jl 0x47f3e0
mov eax, dword [esp + 0x2c]
cmp ecx, 0x14
mov esi, dword [esp + 0x38]
cmovne eax, ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x2c], eax
cmp eax, 0x14
jae 0x47f84e
mov byte [esp + eax + 0x64], 0
xor eax, eax
cmp dword [esp + 0x28], eax
jle 0x47f4bb
nop dword [eax + eax]
cmp dword [esp + 0xa4], 2
jne 0x47f480
test eax, eax
jne 0x47f480
mov eax, 0xcccccccd
mul ecx
mov eax, dword [esp + 0x1c]
shr edx, 3
lea ecx, [edx + edx*4]
add ecx, ecx
sub eax, ecx
jne 0x47f47c
mov eax, dword [esp + 0x28]
mov ecx, edx
dec eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x28], eax
test eax, eax
mov eax, dword [esp + 0x24]
jmp 0x47f435
mov ecx, dword [esp + 0x1c]
mov eax, 0xcccccccd
mul ecx
shr edx, 3
lea eax, [edx + edx*4]
add eax, eax
sub ecx, eax
mov al, byte [ecx + str.0123456789]
mov ecx, dword [esp + 0x24]
mov byte [esp + ecx + 0x50], al
mov eax, ecx
inc eax
mov ecx, edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], ecx
cmp eax, dword [esp + 0x28]
jl 0x47f440
cmp eax, 0x14
jae 0x47f84e
cmp dword [esp + 0x20], 1
mov byte [esp + eax + 0x50], 0
jne 0x47f540
mov eax, dword [esp + 8]
mov ecx, eax
test eax, eax
jns 0x47f4d9
neg ecx
mov dword [esp + 0x1c], ecx
jmp 0x47f4e0
mov dword [esp + 0x1c], eax
nop dword [eax]
mov eax, 0x66666667
imul ecx
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x1c], ecx
lea eax, [ecx + ecx*4]
add eax, eax
sub edx, eax
mov al, byte [edx + str.0123456789]
mov edx, dword [esp + 0x10]
mov byte [esp + edx + 0x3c], al
inc edx
mov dword [esp + 0x10], edx
test ecx, ecx
jle 0x47f52b
cmp edx, 0x14
jl 0x47f4e0
push 0
push dword [esp + 0x38]
push dword [esp + 0x38]
jmp 0x47f2a9
cmp edx, 1
jne 0x47f542
mov edx, 2
mov byte [esp + 0x3d], 0x30
mov dword [esp + 0x10], edx
jmp 0x47f542
xor edx, edx
mov esi, dword [esp + 0x14]
xor eax, eax
mov ecx, dword [esp + 0x28]
test esi, esi
mov esi, dword [esp + 0x98]
setne al
sub esi, eax
xor eax, eax
test ecx, ecx
setg al
sub esi, eax
sub esi, dword [esp + 0x2c]
sub esi, ecx
cmp dword [esp + 0x20], 1
jne 0x47f579
mov eax, 0xfffffffe
sub eax, edx
add esi, eax
mov eax, ecx
mov ecx, 0
sub eax, dword [esp + 0x24]
cmovns ecx, eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x1c], ecx
xor ecx, ecx
test esi, esi
cmovns ecx, esi
mov edx, ecx
neg edx
and al, 1
cmove edx, ecx
test byte [esp + 0xa0], 0x10
mov dword [esp + 0xc], edx
mov esi, edx
je 0x47f616
test edx, edx
jle 0x47f616
mov eax, dword [esp + 0x14]
test eax, eax
je 0x47f5e5
push eax
push dword [esp + 0x38]
push dword [esp + 0x38]
push dword [esp + 0x44]
push edi
call fcn.0047f010
add esp, 0x14
test eax, eax
je 0x47f2b3
dec esi
mov dword [esp + 0x14], 0
test esi, esi
jle 0x47f644
nop dword [eax]
push 0x30
push dword [esp + 0x38]
push dword [esp + 0x38]
push dword [esp + 0x44]
push edi
call fcn.0047f010
add esp, 0x14
test eax, eax
je 0x47f2b3
dec esi
test esi, esi
jg 0x47f5f0
jmp 0x47f644
test esi, esi
jle 0x47f644
nop word [eax + eax]
push 0x20
push dword [esp + 0x38]
push dword [esp + 0x38]
push dword [esp + 0x44]
push edi
call fcn.0047f010
add esp, 0x14
test eax, eax
je 0x47f2b3
dec esi
test esi, esi
jg 0x47f620
mov eax, dword [esp + 0x14]
test eax, eax
je 0x47f66a
push eax
push dword [esp + 0x38]
push dword [esp + 0x38]
push dword [esp + 0x44]
push edi
call fcn.0047f010
add esp, 0x14
test eax, eax
je 0x47f2b3
mov eax, dword [esp + 0x2c]
test eax, eax
jle 0x47f6a2
dec eax
mov dword [esp + 0x2c], eax
movsx eax, byte [esp + eax + 0x64]
push eax
push dword [esp + 0x38]
push dword [esp + 0x38]
push dword [esp + 0x44]
push edi
call fcn.0047f010
add esp, 0x14
test eax, eax
je 0x47f2b3
mov eax, dword [esp + 0x2c]
test eax, eax
jg 0x47f672
cmp dword [esp + 0x28], 0
jg 0x47f6b3
test byte [esp + 0xa0], 8
je 0x47f710
push 0x2e
push dword [esp + 0x38]
push dword [esp + 0x38]
push dword [esp + 0x44]
push edi
call fcn.0047f010
add esp, 0x14
test eax, eax
je 0x47f2b3
mov eax, dword [esp + 0x24]
test eax, eax
jle 0x47f710
nop word [eax + eax]
dec eax
mov dword [esp + 0x24], eax
movsx eax, byte [esp + eax + 0x50]
push eax
push dword [esp + 0x38]
push dword [esp + 0x38]
push dword [esp + 0x44]
push edi
call fcn.0047f010
add esp, 0x14
test eax, eax
je 0x47f2b3
mov eax, dword [esp + 0x24]
test eax, eax
jg 0x47f6e0
cmp dword [esp + 0x1c], 0
jle 0x47f74c
nop word [eax + eax]
push 0x30
push dword [esp + 0x38]
push dword [esp + 0x38]
push dword [esp + 0x44]
push edi
call fcn.0047f010
add esp, 0x14
test eax, eax
je 0x47f2b3
mov eax, dword [esp + 0x1c]
dec eax
mov dword [esp + 0x1c], eax
test eax, eax
jg 0x47f720
cmp dword [esp + 0x20], 1
jne 0x47f810
mov eax, dword [esp + 0xa0]
not eax
and eax, 0x20
or eax, 0x45
push eax
push dword [esp + 0x38]
push dword [esp + 0x38]
push dword [esp + 0x44]
push edi
call fcn.0047f010
add esp, 0x14
test eax, eax
je 0x47f2b3
cmp dword [esp + 8], 0
jge 0x47f7b7
push 0x2d
push dword [esp + 0x38]
push dword [esp + 0x38]
push dword [esp + 0x44]
push edi
call fcn.0047f010
add esp, 0x14
test eax, eax
jne 0x47f7d6
pop edi
pop esi
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.0057a738
add esp, 0x74
ret
push 0x2b
push dword [esp + 0x38]
push dword [esp + 0x38]
push dword [esp + 0x44]
push edi
call fcn.0047f010
add esp, 0x14
test eax, eax
je 0x47f2b3
mov eax, dword [esp + 0x10]
test eax, eax
jle 0x47f810
nop
dec eax
mov dword [esp + 0x10], eax
movsx eax, byte [esp + eax + 0x3c]
push eax
push dword [esp + 0x38]
push dword [esp + 0x38]
push dword [esp + 0x44]
push edi
call fcn.0047f010
add esp, 0x14
test eax, eax
je 0x47f2b3
mov eax, dword [esp + 0x10]
test eax, eax
jg 0x47f7e0
test esi, esi
jns 0x47f838
push 0x20
push dword [esp + 0x38]
push dword [esp + 0x38]
push dword [esp + 0x44]
push edi
call fcn.0047f010
add esp, 0x14
test eax, eax
je 0x47f2b3
add esi, 1
js 0x47f814
mov ecx, dword [esp + 0x78]
mov eax, 1
pop edi
pop esi
xor ecx, esp
call fcn.0057a738
add esp, 0x74
ret
call fcn.0057afda
int3