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

Disassembly:
mov eax, 0x74
call fcn.00581890
mov eax, dword [0x634f14]
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 0x484978
mov dword [esp + 0x14], 0x2d
jmp 0x4849a0
mov eax, dword [esp + 0xa0]
test al, 2
je 0x48498d
mov dword [esp + 0x14], 0x2b
jmp 0x4849a0
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 [0x5c77d0]
movsd xmm2, qword [0x5c77c8]
mov esi, dword [esp + 0x38]
mov dword [esp + 0xc], 1
cmp eax, 2
jne 0x484a31
ucomisd xmm3, xmm4
lahf
test ah, 0x44
jp 0x4849dc
mov dword [esp + 0x20], 0
jmp 0x484a4b
movsd xmm0, qword [0x5c77b8]
comisd xmm0, xmm3
jbe 0x4849f4
mov dword [esp + 0x20], 1
jmp 0x484a4b
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x484a08
comisd xmm3, xmm1
jae 0x484a27
mov dword [esp + 0x20], eax
jmp 0x484a4b
jle 0x4849d2
push eax
call fcn.00485460
movsd xmm1, qword [0x5c77d0]
add esp, 4
fstp qword [esp + 0x18]
comisd xmm3, xmmword [esp + 0x18]
jb 0x4849d2
mov dword [esp + 0x20], 1
jmp 0x484a4b
cmp dword [esp + 0xa4], 0
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x28], eax
je 0x484aee
ucomisd xmm3, xmm4
movaps xmm0, xmm3
lahf
test ah, 0x44
jnp 0x484a84
xor eax, eax
comisd xmm2, xmm3
jbe 0x484a6f
mulsd xmm0, xmm1
dec eax
comisd xmm2, xmm0
ja 0x484a60
mov dword [esp + 8], eax
comisd xmm0, xmm1
jbe 0x484a84
divsd xmm0, xmm1
inc eax
comisd xmm0, xmm1
ja 0x484a75
mov dword [esp + 8], eax
cmp dword [esp + 0xa4], 2
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x28], eax
jne 0x484adb
test eax, eax
cmove eax, dword [esp + 0xc]
cmp dword [esp + 0x20], 0
mov dword [esp + 0x28], eax
jne 0x484ad6
or eax, 0xffffffff
sub eax, dword [esp + 8]
add dword [esp + 0x28], eax
jns 0x484aee
push 0
push edx
push ecx
push esi
push edi
call fcn.00484820
add esp, 0x14
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.00581041
add esp, 0x74
ret
dec eax
mov dword [esp + 0x28], eax
cmp dword [esp + 0x20], 1
jne 0x484aee
movaps xmm3, xmm0
movsd qword [esp + 0x90], xmm3
comisd xmm4, xmm3
jbe 0x484b04
xorps xmm3, xmmword [0x5c77e0]
movsd qword [esp + 0x90], xmm3
comisd xmm3, xmmword [0x5c77d8]
jae 0x484ab5
movaps xmm0, xmm3
call fcn.00581ad1
movsd xmm3, qword [0x5c77c8]
mov edx, eax
mov eax, dword [esp + 0x28]
mov ecx, 9
movsd xmm2, qword [0x5c77d0]
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 0x484b50
mulsd xmm1, xmm2
sub ecx, 1
jne 0x484b47
movsd xmm4, qword [0x5c77c0]
cvttsd2si ecx, xmm1
mov dword [esp + 0x2c], ecx
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
subsd xmm1, xmm0
comisd xmm1, xmm4
jb 0x484b77
inc ecx
mov dword [esp + 0x2c], ecx
mov ecx, eax
test eax, eax
je 0x484b89
nop dword [eax]
mulsd xmm3, xmm2
sub ecx, 1
jne 0x484b80
movsd xmm1, qword [esp + 0x90]
mov eax, edx
movd xmm0, edx
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x5aaae0]
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 0x484bcf
inc ecx
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x2c]
cmp ecx, eax
jb 0x484be2
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 0x484c1b
cmp ecx, 0x14
jl 0x484bf0
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 0x48505e
mov byte [esp + eax + 0x64], 0
xor eax, eax
cmp dword [esp + 0x28], eax
jle 0x484ccb
nop dword [eax + eax]
cmp dword [esp + 0xa4], 2
jne 0x484c90
test eax, eax
jne 0x484c90
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 0x484c8c
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 0x484c45
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 0x484c50
cmp eax, 0x14
jae 0x48505e
cmp dword [esp + 0x20], 1
mov byte [esp + eax + 0x50], 0
jne 0x484d50
mov eax, dword [esp + 8]
mov ecx, eax
test eax, eax
jns 0x484ce9
neg ecx
mov dword [esp + 0x1c], ecx
jmp 0x484cf0
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 0x484d3b
cmp edx, 0x14
jl 0x484cf0
push 0
push dword [esp + 0x38]
push dword [esp + 0x38]
jmp 0x484ab9
cmp edx, 1
jne 0x484d52
mov edx, 2
mov byte [esp + 0x3d], 0x30
mov dword [esp + 0x10], edx
jmp 0x484d52
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 0x484d89
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 0x484e26
test edx, edx
jle 0x484e26
mov eax, dword [esp + 0x14]
test eax, eax
je 0x484df5
push eax
push dword [esp + 0x38]
push dword [esp + 0x38]
push dword [esp + 0x44]
push edi
call fcn.00484820
add esp, 0x14
test eax, eax
je 0x484ac3
dec esi
mov dword [esp + 0x14], 0
test esi, esi
jle 0x484e54
nop dword [eax]
push 0x30
push dword [esp + 0x38]
push dword [esp + 0x38]
push dword [esp + 0x44]
push edi
call fcn.00484820
add esp, 0x14
test eax, eax
je 0x484ac3
dec esi
test esi, esi
jg 0x484e00
jmp 0x484e54
test esi, esi
jle 0x484e54
nop word [eax + eax]
push 0x20
push dword [esp + 0x38]
push dword [esp + 0x38]
push dword [esp + 0x44]
push edi
call fcn.00484820
add esp, 0x14
test eax, eax
je 0x484ac3
dec esi
test esi, esi
jg 0x484e30
mov eax, dword [esp + 0x14]
test eax, eax
je 0x484e7a
push eax
push dword [esp + 0x38]
push dword [esp + 0x38]
push dword [esp + 0x44]
push edi
call fcn.00484820
add esp, 0x14
test eax, eax
je 0x484ac3
mov eax, dword [esp + 0x2c]
test eax, eax
jle 0x484eb2
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.00484820
add esp, 0x14
test eax, eax
je 0x484ac3
mov eax, dword [esp + 0x2c]
test eax, eax
jg 0x484e82
cmp dword [esp + 0x28], 0
jg 0x484ec3
test byte [esp + 0xa0], 8
je 0x484f20
push 0x2e
push dword [esp + 0x38]
push dword [esp + 0x38]
push dword [esp + 0x44]
push edi
call fcn.00484820
add esp, 0x14
test eax, eax
je 0x484ac3
mov eax, dword [esp + 0x24]
test eax, eax
jle 0x484f20
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.00484820
add esp, 0x14
test eax, eax
je 0x484ac3
mov eax, dword [esp + 0x24]
test eax, eax
jg 0x484ef0
cmp dword [esp + 0x1c], 0
jle 0x484f5c
nop word [eax + eax]
push 0x30
push dword [esp + 0x38]
push dword [esp + 0x38]
push dword [esp + 0x44]
push edi
call fcn.00484820
add esp, 0x14
test eax, eax
je 0x484ac3
mov eax, dword [esp + 0x1c]
dec eax
mov dword [esp + 0x1c], eax
test eax, eax
jg 0x484f30
cmp dword [esp + 0x20], 1
jne 0x485020
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.00484820
add esp, 0x14
test eax, eax
je 0x484ac3
cmp dword [esp + 8], 0
jge 0x484fc7
push 0x2d
push dword [esp + 0x38]
push dword [esp + 0x38]
push dword [esp + 0x44]
push edi
call fcn.00484820
add esp, 0x14
test eax, eax
jne 0x484fe6
pop edi
pop esi
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.00581041
add esp, 0x74
ret
push 0x2b
push dword [esp + 0x38]
push dword [esp + 0x38]
push dword [esp + 0x44]
push edi
call fcn.00484820
add esp, 0x14
test eax, eax
je 0x484ac3
mov eax, dword [esp + 0x10]
test eax, eax
jle 0x485020
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.00484820
add esp, 0x14
test eax, eax
je 0x484ac3
mov eax, dword [esp + 0x10]
test eax, eax
jg 0x484ff0
test esi, esi
jns 0x485048
push 0x20
push dword [esp + 0x38]
push dword [esp + 0x38]
push dword [esp + 0x44]
push edi
call fcn.00484820
add esp, 0x14
test eax, eax
je 0x484ac3
add esi, 1
js 0x485024
mov ecx, dword [esp + 0x78]
mov eax, 1
pop edi
pop esi
xor ecx, esp
call fcn.00581041
add esp, 0x74
ret
call fcn.00581d8a
int3