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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x4ff078
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push esi
push edi
mov eax, dword [0x646274]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov ecx, dword [edi + 8]
xor esi, esi
cmp ecx, esi
jbe 0x483e1b
cmp ecx, 1
jne 0x483dd5
fldz
mov ecx, dword [edi]
fcom qword [ecx]
fnstsw ax
test ah, 0x44
jnp 0x483e19
cmp dword [ecx + 8], esi
je 0x483e19
mov ecx, dword [ebp + 0x14]
fstp qword [esp + 0x1c]
lea eax, [esp + 0x1c]
push eax
call fcn.0047fa40
jmp 0x484183
cmp ecx, 2
jne 0x483e54
mov edx, dword [edi]
cmp dword [edx + 0x18], esi
jne 0x483e54
fld qword [edx + 0x10]
fdiv qword [edx]
fchs
fldz
fcom st(1)
fnstsw ax
test ah, 0x41
jne 0x483e30
fld qword [ebp + 0xc]
fchs
fcomp st(2)
fnstsw ax
test ah, 5
jp 0x483e05
fstp st(1)
jmp 0x483e32
mov ecx, dword [edx + 8]
fstp st(0)
and ecx, 0x80000001
jns 0x483e17
dec ecx
or ecx, 0xfffffffe
inc ecx
jne 0x483e32
fstp st(0)
xor eax, eax
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
fstp st(0)
fild dword [edx + 8]
fld1
fdivrp st(1)
call fcn.004c1cf0
fstp qword [esp + 0x1c]
mov ecx, dword [ebp + 0x14]
lea edx, [esp + 0x1c]
push edx
call fcn.0047fa40
jmp 0x484183
xor eax, eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
xor ebx, ebx
mov dword [esp + 0x80], esi
cmp ecx, esi
jbe 0x483f1a
mov eax, dword [edi]
mov ecx, dword [eax + esi + 8]
fld qword [eax + esi]
add eax, esi
mov eax, dword [eax + 0xc]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], eax
test eax, eax
je 0x483e90
inc dword [eax + 4]
mov byte [esp + 0x80], 1
test ecx, ecx
je 0x483eeb
fimul dword [esp + 0x24]
dec ecx
lea eax, [esp + 0x1c]
mov dword [esp + 0x24], ecx
push eax
lea ecx, [esp + 0x3c]
fstp qword [esp + 0x20]
call fcn.004838b0
mov ecx, dword [esp + 0x28]
mov byte [esp + 0x80], 0
test ecx, ecx
je 0x483ee0
dec dword [ecx + 4]
cmp dword [ecx + 4], 0
jg 0x483ed8
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov dword [esp + 0x28], 0
inc ebx
add esi, 0x10
cmp ebx, dword [edi + 8]
jb 0x483e73
jmp 0x483f0c
fstp st(0)
mov byte [esp + 0x80], 0
test eax, eax
je 0x483f0c
dec dword [eax + 4]
cmp dword [eax + 4], 0
jg 0x483f0c
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx]
push 1
call eax
xor eax, eax
cmp dword [esp + 0x40], eax
ja 0x483f5b
mov eax, dword [esp + 0x38]
xor esi, esi
cmp eax, esi
mov dword [esp + 0x80], 0xffffffff
je 0x483f46
mov ecx, dword [eax - 4]
lea esi, [eax - 4]
push fcn.004802a0
push ecx
push 0x10
push eax
call fcn.004be8a8
push esi
call fcn.0049f935
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
fld qword [ebp + 0xc]
lea edx, [esp + 0x2c]
push edx
sub esp, 8
lea eax, [esp + 0x44]
fstp qword [esp]
push eax
mov byte [esp + 0x90], 2
call fcn.00483d70
add esp, 0x10
test eax, eax
jne 0x48406a
mov ecx, dword [esp + 0x34]
inc ecx
push ecx
lea ecx, [esp + 0x30]
call fcn.004751b0
fldz
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x2c]
fstp qword [eax + edx*8]
inc dword [esp + 0x34]
fld qword [ebp + 0xc]
lea ecx, [esp + 0x1c]
push ecx
sub esp, 8
fstp qword [esp]
push 1
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x4c]
push eax
xor eax, eax
call fcn.0047fc80
add esp, 0x18
test eax, eax
je 0x484031
mov esi, dword [ebp + 0x14]
mov ecx, dword [esi + 8]
inc ecx
push ecx
mov ecx, esi
call fcn.004751b0
fld qword [esp + 0x1c]
mov edx, dword [esi + 8]
mov eax, dword [esi]
fstp qword [eax + edx*8]
mov eax, dword [esp + 0x2c]
inc dword [esi + 8]
test eax, eax
je 0x484009
push eax
call fcn.0049f935
add esp, 4
mov eax, dword [esp + 0x38]
mov dword [esp + 0x80], 0xffffffff
test eax, eax
je 0x484183
mov ecx, dword [eax - 4]
lea esi, [eax - 4]
push fcn.004802a0
push ecx
jmp 0x484172
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x484042
push eax
call fcn.0049f935
add esp, 4
mov eax, dword [esp + 0x38]
mov dword [esp + 0x80], 0xffffffff
test eax, eax
je 0x483f46
mov edx, dword [eax - 4]
lea esi, [eax - 4]
push fcn.004802a0
push edx
jmp 0x483f35
fld qword [ebp + 0xc]
lea eax, [esp + 0x1c]
push eax
sub esp, 8
fstp qword [esp]
push 1
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x4c]
push edx
xor eax, eax
call fcn.0047fc80
mov esi, dword [ebp + 0x14]
add esp, 0x18
test eax, eax
je 0x4840b0
mov eax, dword [esi + 8]
inc eax
push eax
mov ecx, esi
call fcn.004751b0
fld qword [esp + 0x1c]
mov ecx, dword [esi + 8]
mov edx, dword [esi]
fstp qword [edx + ecx*8]
inc dword [esi + 8]
xor ebx, ebx
cmp dword [esp + 0x34], ebx
jbe 0x484124
fld qword [ebp + 0xc]
lea eax, [esp + 0x1c]
push eax
sub esp, 8
fstp qword [esp]
push 0
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x4c]
push edx
mov eax, ebx
call fcn.0047fc80
add esp, 0x18
test eax, eax
je 0x48411d
mov ecx, dword [esi + 8]
test ecx, ecx
jbe 0x484105
mov eax, dword [esi]
fld qword [esp + 0x1c]
fsub qword [eax + ecx*8 - 8]
lea eax, [eax + ecx*8 - 8]
fabs
fld qword [ebp + 0xc]
fadd st(0), st(0)
fcompp
fnstsw ax
test ah, 0x41
je 0x48411d
inc ecx
push ecx
mov ecx, esi
call fcn.004751b0
fld qword [esp + 0x1c]
mov ecx, dword [esi + 8]
mov edx, dword [esi]
fstp qword [edx + ecx*8]
inc dword [esi + 8]
inc ebx
cmp ebx, dword [esp + 0x34]
jb 0x4840b8
cmp dword [esi + 8], 0
mov eax, dword [esp + 0x2c]
ja 0x484146
test eax, eax
je 0x48413b
push eax
call fcn.0049f935
add esp, 4
mov eax, dword [esp + 0x38]
test eax, eax
jmp 0x483f1c
test eax, eax
je 0x484153
push eax
call fcn.0049f935
add esp, 4
mov eax, dword [esp + 0x38]
mov dword [esp + 0x80], 0xffffffff
test eax, eax
je 0x484183
mov edx, dword [eax - 4]
lea esi, [eax - 4]
push fcn.004802a0
push edx
push 0x10
push eax
call fcn.004be8a8
push esi
call fcn.0049f935
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret