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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4a6da0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x74
mov eax, 0x7fff
push ebx
mov word [esp + 0x34], ax
mov word [esp + 0x36], ax
mov eax, 0xffff8001
push esi
push edi
mov word [esp + 0x40], ax
mov word [esp + 0x42], ax
mov esi, dword [ebp + 8]
xor edi, edi
lea ecx, [esp + 0x48]
mov dword [esp + 0x88], edi
lea eax, [esi + 0x20]
push eax
call fcn.0040f9a0
mov ebx, dword [esp + 0x50]
mov dword [esp + 0x64], edi
test ebx, ebx
je 0x48d9fa
mov dword [esp + 0x5c], ebx
jmp 0x48d9ff
mov byte [esp + 0x59], 1
mov byte [esp + 0x60], 0
mov ecx, dword [esp + 0x48]
cmp dword [ecx], 0
je 0x48da5f
cmp ebx, dword [esp + 0x5c]
jne 0x48da1b
mov al, byte [esp + 0x60]
test al, al
jne 0x48da5f
mov ax, word [ebx + 6]
mov dl, al
shr dl, 6
test dl, 1
jne 0x48da30
shr al, 7
test al, 1
je 0x48da46
push 0
push 2
push 0x4b4838
push 0x4dcd88
call fcn.00441210
add esp, 0x10
lea ecx, [ebx + 0x10]
call fcn.0043ff80
lea ecx, [esp + 0x48]
add edi, eax
call fcn.004403e0
mov ebx, dword [esp + 0x50]
jmp 0x48da04
test edi, edi
je 0x48decf
mov ecx, dword [esi + 0x24]
lea ebx, [esi + 0x24]
mov eax, edi
mov dword [esp + 0x1c], ebx
add eax, ecx
lea ecx, [eax*4 + 4]
push ecx
call fcn.00442a90
mov dword [esp + 0x10], eax
mov eax, dword [ebx]
add edi, eax
lea edx, [edi + edi*2]
shl edx, 3
push edx
call fcn.00442a90
mov edx, dword [esp + 0x14]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x28]
add esp, 8
xor ebx, ebx
xor edi, edi
mov ecx, dword [eax]
mov dword [esp + 0x18], ebx
mov dword [edx], ecx
mov ecx, dword [esp + 0x50]
test ecx, ecx
je 0x48dabe
mov dword [esp + 0x5c], ecx
jmp 0x48dac3
mov byte [esp + 0x59], 1
mov byte [esp + 0x60], 0
mov eax, dword [esp + 0x48]
cmp dword [eax], 0
je 0x48dde1
cmp ecx, dword [esp + 0x5c]
jne 0x48dae7
mov al, byte [esp + 0x60]
test al, al
jne 0x48dde1
mov ax, word [ecx + 6]
mov dword [esp + 0x24], ecx
mov dl, al
shr dl, 6
test dl, 1
jne 0x48db00
shr al, 7
test al, 1
je 0x48db1a
push 0
push 2
push 0x4b4838
push 0x4dcd88
call fcn.00441210
mov ecx, dword [esp + 0x34]
add esp, 0x10
lea edx, [ecx + 0x10]
mov dword [esp + 0x64], edx
mov eax, dword [edx]
mov dword [esp + 0x68], eax
mov eax, dword [edx]
test eax, eax
je 0x48db31
mov eax, dword [eax]
jmp 0x48db33
xor eax, eax
mov ecx, eax
test ecx, ecx
mov dword [esp + 0x6c], ecx
je 0x48db41
mov eax, dword [ecx]
jmp 0x48db43
xor eax, eax
test ecx, ecx
mov dword [esp + 0x70], eax
mov dword [esp + 0x78], 0
mov byte [esp + 0x74], 0
mov byte [esp + 0x75], 0
je 0x48db63
mov dword [esp + 0x78], ecx
jmp 0x48db68
mov byte [esp + 0x75], 1
mov byte [esp + 0x7c], 0
cmp dword [edx], 0
je 0x48ddcf
cmp ecx, dword [esp + 0x78]
jne 0x48db88
mov al, byte [esp + 0x7c]
test al, al
jne 0x48ddcf
lea edx, [esp + 0x30]
push edx
call fcn.0043b8f0
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], eax
movsx ecx, word [esp + 0x3c]
movsx eax, ax
mov dword [esp + 0x28], ecx
add ecx, eax
movsx edx, word [esp + 0x3e]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x1c]
fild dword [esp + 0x24]
mov dword [esp + 0x24], edx
sub esp, 8
mov dword [esp + 0x34], eax
fmul qword [0x4a8220]
fstp dword [esp + 0x1c]
fild dword [esp + 0x2c]
fstp dword [esp + 0x28]
fld dword [esp + 0x1c]
fstp qword [esp]
call fcn.00437ae0
fsubr dword [esp + 0x20]
fcom dword [0x4a8234]
fdiv dword [esi + 0x14]
fnstsw ax
test ah, 1
je 0x48dbfd
fchs
fcomp qword [0x4dcc28]
fnstsw ax
test ah, 1
je 0x48dc89
mov ax, word [esp + 0x40]
cmp word [esp + 0x3c], ax
jg 0x48dc27
mov eax, dword [esp + 0x42]
cmp ax, word [esp + 0x3e]
jl 0x48dc27
sub eax, dword [esp + 0x3e]
jmp 0x48dc29
xor eax, eax
movsx ecx, ax
mov dword [esp + 0x20], ecx
fild dword [esp + 0x20]
fdiv dword [esi + 0x14]
fcomp qword [0x4dcc18]
fnstsw ax
test ah, 0x41
jne 0x48dc89
mov ecx, dword [esp + 0xc]
fild dword [ecx + edi*4]
fcomp dword [esp + 0x14]
fnstsw ax
test ah, 1
jne 0x48dc5d
mov edx, dword [esp + 0x28]
mov dword [ecx + edi*4], edx
mov edx, dword [esp + 0x10]
lea eax, [edi + edi*2]
fild dword [esp + 0x24]
lea eax, [edx + eax*8]
xor edx, edx
inc edi
mov dword [eax], edx
mov dword [eax + 4], edx
mov dword [eax + 8], edx
mov dword [eax + 0xc], edx
fstp qword [eax + 0x10]
mov eax, dword [esp + 0x2c]
inc eax
mov dword [ecx + edi*4], eax
jmp 0x48ddb9
mov ecx, dword [esp + 0xc]
fild dword [ecx + edi*4]
lea eax, [ecx + edi*4]
mov dword [esp + 0x2c], eax
fcomp dword [esp + 0x14]
fnstsw ax
test ah, 0x41
je 0x48ddb9
mov eax, dword [esi + 0x28]
lea edx, [ebx*4 + 4]
fild dword [edx + eax]
fcomp dword [esp + 0x14]
fnstsw ax
test ah, 0x41
je 0x48dd72
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x10]
lea eax, [edi + edi*2]
mov ecx, ebx
shl ecx, 4
lea edx, [edx + eax*8 + 0x10]
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
dec eax
cmp ebx, eax
jge 0x48dd72
mov eax, dword [esi + 0x28]
mov ebx, dword [esp + 0x24]
mov eax, dword [eax + ebx]
mov ebx, dword [esp + 0x20]
cmp eax, dword [ebx]
jle 0x48dd42
mov eax, dword [esi + 0x2c]
inc edi
add edx, 0x18
mov ebx, dword [eax + ecx]
mov dword [edx - 0x28], ebx
mov ebx, dword [esp + 0x24]
mov eax, dword [eax + ecx + 4]
mov dword [edx - 0x24], eax
mov eax, dword [esi + 0x2c]
fld dword [eax + ecx + 8]
fstp qword [edx - 0x20]
mov eax, dword [esi + 0x2c]
fld dword [eax + ecx + 0xc]
mov eax, dword [esp + 0x20]
fstp qword [edx - 0x18]
add eax, 4
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x28]
mov eax, dword [eax + ebx]
mov ebx, dword [esp + 0x20]
mov dword [ebx], eax
mov eax, dword [esp + 0x18]
mov ebx, dword [esi + 0x28]
inc eax
add ecx, 0x10
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x24]
add eax, 4
mov dword [esp + 0x24], eax
fild dword [ebx + eax]
mov ebx, dword [esp + 0x18]
fcomp dword [esp + 0x14]
fnstsw ax
test ah, 0x41
jne 0x48dcde
mov edx, dword [esp + 0x10]
mov eax, ebx
mov ebx, dword [esi + 0x2c]
lea ecx, [edi + edi*2]
shl eax, 4
lea ecx, [edx + ecx*8]
mov edx, eax
add edx, ebx
inc edi
mov ebx, dword [edx]
mov dword [ecx], ebx
mov ebx, dword [esp + 0x18]
mov edx, dword [edx + 4]
mov dword [ecx + 4], edx
mov edx, dword [esi + 0x2c]
fld dword [eax + edx + 8]
fstp qword [ecx + 8]
mov edx, dword [esi + 0x2c]
fld dword [eax + edx + 0xc]
mov edx, dword [esp + 0xc]
fstp qword [ecx + 0x10]
mov eax, dword [esi + 0x28]
mov ecx, dword [eax + ebx*4 + 4]
mov dword [edx + edi*4], ecx
lea ecx, [esp + 0x64]
call fcn.004403e0
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x64]
jmp 0x48db6d
lea ecx, [esp + 0x48]
call fcn.004403e0
mov ecx, dword [esp + 0x50]
jmp 0x48dac8
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
cmp ebx, ecx
jge 0x48de81
mov edx, dword [esp + 0xc]
mov eax, dword [esi + 0x28]
mov edx, dword [edx + edi*4]
lea eax, [eax + ebx*4 + 4]
cmp dword [eax], edx
jg 0x48de09
inc ebx
add eax, 4
cmp ebx, ecx
jl 0x48ddfd
cmp ebx, ecx
jge 0x48de81
mov edx, dword [esp + 0xc]
mov ecx, ebx
shl ecx, 4
lea eax, [edx + edi*4]
lea edx, [edi + edi*2]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x24], ecx
lea eax, [eax + edx*8 + 0x10]
jmp 0x48de32
mov ecx, dword [esp + 0x24]
mov edx, dword [esi + 0x2c]
inc edi
add eax, 0x18
mov ecx, dword [edx + ecx]
mov dword [eax - 0x28], ecx
mov ecx, dword [esp + 0x24]
mov edx, dword [edx + ecx + 4]
add ecx, 0x10
mov dword [eax - 0x24], edx
mov edx, dword [esi + 0x2c]
mov dword [esp + 0x24], ecx
fld dword [edx + ecx - 8]
fstp qword [eax - 0x20]
mov edx, dword [esi + 0x2c]
fld dword [edx + ecx - 4]
mov edx, dword [esp + 0x20]
fstp qword [eax - 0x18]
mov ecx, dword [esi + 0x28]
add edx, 4
inc ebx
mov dword [esp + 0x20], edx
mov ecx, dword [ecx + ebx*4]
mov dword [edx], ecx
mov edx, dword [esp + 0x1c]
cmp ebx, dword [edx]
jl 0x48de2e
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push eax
push ecx
push edi
lea ecx, [esp + 0x3c]
call fcn.00437640
mov ecx, dword [esp + 0x1c]
push eax
mov byte [esp + 0x8c], 1
call fcn.004379d0
lea ecx, [esp + 0x30]
mov byte [esp + 0x88], 0
call fcn.00437990
mov edx, dword [esp + 0xc]
push edx
call fcn.00442aa0
mov eax, dword [esp + 0x14]
push eax
call fcn.00442aa0
add esp, 8
mov ecx, dword [esp + 0x80]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret