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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x7c
mov eax, dword [ebp + 0x18]
xor ecx, ecx
push ebx
push esi
mov esi, dword [ebp + 0x1c]
cmp eax, ecx
push edi
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x10], ecx
jne 0x10048be1
cmp esi, ecx
jne 0x10048be1
mov dword [esp + 0x10], 1
jmp 0x100494f8
mov edi, dword [ebp + 0x20]
mov edx, dword [ebp + 8]
dec edx
cmp eax, ecx
lea ebx, [edi - 1]
mov dword [esp + 0x28], edx
mov dword [esp + 0x14], ebx
je 0x10048f54
cmp esi, ecx
jne 0x10048f4c
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x40], ecx
mov ecx, dword [eax + 8]
mov esi, dword [ebp + 0x2c]
mov dword [esp + 0x44], edx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x48], ecx
mov ecx, dword [eax + 0x10]
mov dword [esp + 0x4c], edx
mov edx, dword [eax + 0x14]
mov dword [esp + 0x50], ecx
lea eax, [esp + 0x40]
lea ecx, [esp + 0x40]
push eax
push ecx
push esi
push 3
mov dword [esp + 0x64], edx
call fcn.10044980
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x68], edx
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x70], ecx
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x78], eax
mov eax, dword [ebp + 0x30]
mov dword [esp + 0x74], edx
mov edx, dword [esp + 0x58]
mov dword [esp + 0x7c], ecx
mov ecx, dword [esp + 0x5c]
mov dword [eax + 8], edx
fld qword [esp + 0x50]
mov edx, dword [esp + 0x60]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x64]
mov ebx, 1
fstp qword [eax]
add esp, 0x10
mov dword [eax + 0x10], edx
cmp edi, ebx
mov dword [eax + 0x14], ecx
jle 0x100494f8
mov ecx, dword [ebp + 0x24]
lea edx, [eax + 0x18]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x14]
add ecx, 8
sub eax, esi
mov dword [esp + 0x18], ecx
lea edi, [esi + 0x20]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], edx
mov eax, dword [ebp + 0xc]
mov edx, dword [esp + 0x18]
fld qword [eax + ebx*8]
fcomp qword [edx]
lea ecx, [eax + ebx*8]
fnstsw ax
test ah, 1
je 0x10048df1
mov dword [esp + 0x14], ecx
mov ecx, dword [ebp + 0x14]
lea eax, [ebx + ebx*2]
lea esi, [ecx + eax*8]
lea edx, [esp + 0x40]
lea eax, [esp + 0x58]
push edx
push eax
push esi
push 3
call fcn.10044980
add esp, 0x10
test eax, eax
je 0x10048db5
fld qword [esi - 8]
fld qword [esi - 0x10]
fmul qword [esp + 0x68]
fxch st(1)
fmul qword [esp + 0x60]
lea ecx, [esp + 0x70]
lea edx, [esp + 0x70]
push ecx
push edx
fsubp st(1)
push esi
push 3
fstp qword [esp + 0x80]
fld qword [esi - 0x18]
fld qword [esi - 8]
fmul qword [esp + 0x68]
fxch st(1)
fmul qword [esp + 0x78]
fsubp st(1)
fstp qword [esp + 0x88]
fld qword [esi - 0x10]
fld qword [esi - 0x18]
fmul qword [esp + 0x70]
fxch st(1)
fmul qword [esp + 0x68]
fsubp st(1)
fstp qword [esp + 0x90]
call fcn.10044980
fld qword [esi + 0x10]
fld qword [esi + 8]
fmul qword [esp + 0x90]
fxch st(1)
fmul qword [esp + 0x88]
add esp, 0x10
fsubp st(1)
fstp qword [esp + 0x40]
fld qword [esi]
fld qword [esi + 0x10]
fmul qword [esp + 0x70]
fxch st(1)
fmul qword [esp + 0x80]
fsubp st(1)
fstp qword [esp + 0x48]
fld qword [esi + 8]
fld qword [esi]
fmul qword [esp + 0x78]
fxch st(1)
fmul qword [esp + 0x70]
fsubp st(1)
fstp qword [esp + 0x50]
fld qword [esp + 0x40]
fld qword [esp + 0x48]
fld qword [esp + 0x50]
fxch st(2)
fstp qword [esp + 0x58]
mov eax, dword [esp + 0x14]
add esi, 0x18
fstp qword [esp + 0x60]
add eax, 8
inc ebx
fstp qword [esp + 0x68]
fld qword [eax]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x18]
fcomp qword [eax]
fnstsw ax
test ah, 1
jne 0x10048cef
lea ecx, [esp + 0x40]
lea edx, [esp + 0x58]
lea esi, [edi - 8]
push ecx
push edx
push esi
push 3
call fcn.10044980
add esp, 0x10
mov dword [esp + 0x10], eax
test eax, eax
je 0x10048ec9
lea eax, [esp + 0x70]
lea edx, [ebx + ebx*2]
push eax
mov eax, dword [ebp + 0x14]
lea ecx, [esp + 0x74]
fld qword [eax + edx*8 - 8]
fld qword [eax + edx*8 - 0x10]
fmul qword [esp + 0x6c]
fxch st(1)
fmul qword [esp + 0x64]
lea eax, [eax + edx*8]
push ecx
push esi
push 3
fsubp st(1)
fstp qword [esp + 0x80]
fld qword [eax - 0x18]
fld qword [eax - 8]
fmul qword [esp + 0x68]
fxch st(1)
fmul qword [esp + 0x78]
fsubp st(1)
fstp qword [esp + 0x88]
fld qword [eax - 0x10]
fld qword [eax - 0x18]
fmul qword [esp + 0x70]
fxch st(1)
fmul qword [esp + 0x68]
fsubp st(1)
fstp qword [esp + 0x90]
call fcn.10044980
fld qword [edi]
fld qword [edi + 8]
fxch st(1)
fmul qword [esp + 0x90]
fxch st(1)
fmul qword [esp + 0x88]
add esp, 0x10
fsubp st(1)
fstp qword [esp + 0x40]
fld qword [esi]
fld qword [edi + 8]
fmul qword [esp + 0x70]
fxch st(1)
fmul qword [esp + 0x80]
fsubp st(1)
fstp qword [esp + 0x48]
fld qword [edi]
fld qword [esi]
fmul qword [esp + 0x78]
fxch st(1)
fmul qword [esp + 0x70]
fsubp st(1)
fstp qword [esp + 0x50]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov esi, dword [esp + 0x18]
mov dword [eax], ecx
mov ecx, dword [esp + 0x1c]
mov dword [eax + 4], edx
add eax, 0x18
fld qword [esp + 0x48]
mov dword [esp + 0x20], eax
add esi, 8
fstp qword [ecx + edi]
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x54]
mov dword [eax - 8], edx
mov dword [eax - 4], ecx
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x58], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x5c], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x60], edx
mov edx, dword [esp + 0x50]
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + 0x54]
add edi, 0x18
dec eax
mov dword [esp + 0x68], edx
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x18], esi
mov dword [esp + 0x24], eax
jne 0x10048cc8
jmp 0x100494f8
cmp eax, ecx
jne 0x10049303
cmp esi, ecx
je 0x10049303
mov edx, dword [esi]
mov eax, dword [esi + 4]
mov ecx, dword [esi + 8]
mov dword [esp + 0x40], edx
mov edx, dword [esi + 0xc]
mov dword [esp + 0x44], eax
mov eax, dword [esi + 0x10]
mov dword [esp + 0x48], ecx
mov ecx, dword [esi + 0x14]
mov esi, dword [ebp + 0x2c]
lea ebx, [ebx + ebx*2]
mov dword [esp + 0x4c], edx
shl ebx, 3
mov dword [esp + 0x50], eax
lea edx, [esp + 0x40]
mov dword [esp + 0x54], ecx
lea eax, [esp + 0x40]
push edx
lea ecx, [ebx + esi]
push eax
push ecx
push 3
call fcn.10044980
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x50]
fld qword [esp + 0x50]
mov eax, dword [esp + 0x54]
mov dword [esp + 0x70], ecx
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x68], edx
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x7c], ecx
mov ecx, dword [ebp + 0x30]
mov edi, dword [esp + 0x38]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x60]
fstp qword [ebx + ecx]
fld qword [esp + 0x58]
mov dword [esp + 0x74], edx
mov edx, dword [esp + 0x24]
fstp qword [ebx + ecx + 8]
fld qword [esp + 0x60]
mov dword [esp + 0x78], eax
lea eax, [edx - 1]
fstp qword [ebx + ecx + 0x10]
add esp, 0x10
mov dword [esp + 0x18], edi
test eax, eax
jl 0x100494f8
lea ebx, [eax + eax*2]
shl ebx, 3
lea edx, [ebx + ecx]
sub ecx, esi
mov dword [esp + 0x20], edx
mov edx, dword [ebp + 0x24]
lea ebx, [ebx + esi + 8]
mov dword [esp + 0x1c], ecx
lea edx, [edx + eax*8]
inc eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0xc]
mov edx, dword [esp + 0x14]
fld qword [eax + edi*8]
fcomp qword [edx]
lea ecx, [eax + edi*8]
fnstsw ax
test ah, 0x41
jne 0x10049178
lea eax, [edi + 1]
mov dword [esp + 0x24], ecx
mov ecx, dword [ebp + 0x14]
lea eax, [eax + eax*2]
lea esi, [ecx + eax*8]
lea edx, [esp + 0x40]
lea eax, [esp + 0x58]
lea edi, [esi - 0x18]
push edx
push eax
push edi
push 3
call fcn.10044980
add esp, 0x10
test eax, eax
je 0x10049132
fld qword [esi]
fld qword [esi]
fld qword [esi + 8]
fld qword [esi + 0x10]
fld qword [esi + 0x10]
fld qword [esi + 8]
fxch st(3)
fmul qword [esp + 0x68]
fxch st(2)
fmul qword [esp + 0x60]
lea ecx, [esp + 0x70]
lea edx, [esp + 0x70]
push ecx
push edx
fsubp st(2)
push edi
push 3
fmul qword [esp + 0x68]
fxch st(1)
fstp qword [esp + 0x80]
fxch st(3)
fmul qword [esp + 0x78]
fxch st(2)
fmul qword [esp + 0x70]
fxch st(2)
fsubp st(3)
fmul qword [esp + 0x68]
fxch st(2)
fstp qword [esp + 0x88]
fxch st(1)
fsubp st(1)
fstp qword [esp + 0x90]
call fcn.10044980
fld qword [edi]
fld qword [edi]
fld qword [esi - 0x10]
fld qword [esi - 8]
fld qword [esi - 8]
fld qword [esi - 0x10]
fxch st(3)
fmul qword [esp + 0x90]
fxch st(2)
fmul qword [esp + 0x88]
add esp, 0x10
fsubp st(2)
fmul qword [esp + 0x70]
fxch st(1)
fstp qword [esp + 0x40]
fxch st(3)
fmul qword [esp + 0x80]
fxch st(2)
fmul qword [esp + 0x78]
fxch st(2)
fsubp st(3)
fmul qword [esp + 0x70]
fxch st(2)
fstp qword [esp + 0x48]
fxch st(1)
fsubp st(1)
fstp qword [esp + 0x50]
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x18]
sub eax, 8
dec edx
mov dword [esp + 0x24], eax
sub esi, 0x18
fld qword [eax]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x18], edx
fcomp qword [eax]
fld qword [esp + 0x40]
fld qword [esp + 0x48]
fld qword [esp + 0x50]
fxch st(2)
fstp qword [esp + 0x58]
fnstsw ax
fstp qword [esp + 0x60]
test ah, 0x41
fstp qword [esp + 0x68]
je 0x10049057
mov edi, edx
lea ecx, [esp + 0x40]
lea edx, [esp + 0x58]
lea esi, [ebx - 8]
push ecx
push edx
push esi
push 3
call fcn.10044980
add esp, 0x10
mov dword [esp + 0x10], eax
test eax, eax
je 0x10049280
lea eax, [edi + 1]
lea edx, [edi + edi*2]
lea ecx, [esp + 0x70]
mov dword [esp + 0x24], edx
lea edx, [eax + eax*2]
mov eax, dword [esp + 0x24]
push ecx
mov ecx, dword [ebp + 0x14]
lea edi, [esp + 0x74]
fld qword [ecx + eax*8 + 0x20]
fld qword [ecx + eax*8 + 0x28]
fld qword [ecx + eax*8 + 0x28]
lea eax, [ecx + eax*8]
push edi
push esi
push 3
fld qword [eax + 0x20]
fxch st(3)
fmul qword [esp + 0x78]
fld qword [ecx + edx*8]
fld qword [ecx + edx*8]
fxch st(4)
fmul qword [esp + 0x70]
lea eax, [ecx + edx*8]
fsubp st(2)
fxch st(2)
fmul qword [esp + 0x68]
fxch st(1)
fstp qword [esp + 0x80]
fxch st(1)
fmul qword [esp + 0x78]
fxch st(2)
fmul qword [esp + 0x70]
fxch st(2)
fsubp st(1)
fxch st(2)
fmul qword [esp + 0x68]
fxch st(2)
fstp qword [esp + 0x88]
fxch st(1)
fsubp st(1)
fstp qword [esp + 0x90]
call fcn.10044980
fld qword [ebx]
fld qword [esi]
fld qword [esi]
fld qword [ebx]
fld qword [ebx + 8]
fld qword [ebx + 8]
fxch st(5)
fmul qword [esp + 0x90]
fxch st(1)
fmul qword [esp + 0x88]
mov edi, dword [esp + 0x28]
add esp, 0x10
fsubp st(1)
fxch st(4)
fmul qword [esp + 0x70]
fxch st(4)
fstp qword [esp + 0x40]
fxch st(2)
fmul qword [esp + 0x80]
fxch st(1)
fmul qword [esp + 0x78]
fxch st(1)
fsubp st(3)
fxch st(1)
fmul qword [esp + 0x70]
fxch st(2)
fstp qword [esp + 0x48]
fxch st(1)
fsubp st(1)
fstp qword [esp + 0x50]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov esi, dword [esp + 0x14]
fld qword [esp + 0x48]
mov dword [eax], ecx
mov ecx, dword [esp + 0x1c]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x50]
fstp qword [ebx + ecx]
mov ecx, dword [esp + 0x54]
mov dword [eax + 0x10], edx
mov edx, dword [esp + 0x40]
mov dword [eax + 0x14], ecx
mov ecx, dword [esp + 0x44]
sub eax, 0x18
mov dword [esp + 0x58], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x5c], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x60], edx
mov edx, dword [esp + 0x50]
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + 0x54]
sub esi, 8
sub ebx, 0x18
dec eax
mov dword [esp + 0x68], edx
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x14], esi
mov dword [esp + 0x28], eax
jne 0x1004902d
jmp 0x100494f8
lea edx, [edi + edi*2]
shl edx, 4
push edx
call fcn.10003ce0
mov ebx, eax
add esp, 4
test ebx, ebx
mov dword [esp + 0x2c], ebx
jne 0x10049329
mov dword [esp + 0x10], 2
jmp 0x100494f8
mov edx, dword [ebp + 0x2c]
lea eax, [edi + edi*2]
push ebx
push edx
mov edx, dword [ebp + 0x18]
lea ecx, [ebx + eax*8]
mov eax, dword [ebp + 0x28]
mov dword [esp + 0x20], ecx
mov ecx, dword [ebp + 0x24]
push eax
mov eax, dword [ebp + 0x14]
push ecx
mov ecx, dword [ebp + 0x10]
push edi
push 0
push edx
mov edx, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push ecx
push edx
push eax
call fcn.10048bb0
add esp, 0x2c
test eax, eax
je 0x10049370
mov dword [esp + 0x10], 3
jmp 0x100494f8
mov ecx, dword [esp + 0x18]
mov edx, dword [ebp + 0x2c]
mov eax, dword [ebp + 0x28]
push ecx
mov ecx, dword [ebp + 0x24]
push edx
mov edx, dword [ebp + 0x14]
push eax
mov eax, dword [ebp + 0x10]
push ecx
mov ecx, dword [ebp + 0xc]
push edi
push esi
push 0
push edx
mov edx, dword [ebp + 8]
push eax
push ecx
push edx
call fcn.10048bb0
add esp, 0x2c
test eax, eax
je 0x100493ae
mov dword [esp + 0x10], 3
jmp 0x100494f8
mov eax, dword [ebp + 0x30]
mov ecx, dword [ebx]
mov dword [eax], ecx
mov edx, dword [ebx + 4]
mov dword [eax + 4], edx
mov ecx, dword [ebx + 8]
mov dword [eax + 8], ecx
mov edx, dword [ebx + 0xc]
mov dword [eax + 0xc], edx
mov ecx, dword [ebx + 0x10]
mov dword [eax + 0x10], ecx
mov edx, dword [ebx + 0x14]
mov ecx, dword [esp + 0x14]
mov dword [eax + 0x14], edx
mov edx, dword [ebp + 0x24]
cmp ecx, 1
fld qword [edx + ecx*8]
fsub qword [edx]
fdivr qword [0x10059dc8]
fstp qword [esp + 0x38]
jle 0x100494c0
mov ecx, dword [esp + 0x18]
add edx, 8
fld qword [0x10059dc8]
fsub qword [esp + 0x38]
mov dword [esp + 0x1c], edx
mov edx, eax
lea esi, [ebx + 0x20]
sub ecx, ebx
sub edx, ebx
mov ebx, dword [esp + 0x18]
fstp qword [esp + 0x30]
lea edi, [eax + 0x18]
sub ebx, eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x24], ecx
dec eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x28], eax
jmp 0x10049434
mov ecx, dword [esp + 0x24]
mov edx, dword [ebp + 0x24]
mov eax, dword [esp + 0x14]
push 0
push edi
fld qword [edx + eax*8]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
push 3
fsub qword [edx]
fld qword [ebx + edi]
fld qword [esi - 8]
fxch st(2)
fmul qword [esp + 0x44]
fxch st(1)
fmul qword [esp + 0x3c]
fxch st(2)
fmul st(1)
faddp st(2)
fxch st(1)
fstp qword [edi]
fld qword [esi]
fld qword [ecx + esi]
fmul qword [esp + 0x3c]
fxch st(1)
fmul st(2)
faddp st(1)
fstp qword [eax + esi]
fld qword [esi + 8]
fld qword [ebx + edi + 0x10]
fmul qword [esp + 0x3c]
fxch st(1)
fmul st(2)
faddp st(1)
fstp qword [edi + 0x10]
fstp st(0)
call fcn.100448e0
mov eax, dword [esp + 0x28]
add esp, 0xc
add eax, 8
add esi, 0x18
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x28]
add edi, 0x18
dec eax
mov dword [esp + 0x28], eax
jne 0x10049430
mov eax, dword [ebp + 0x30]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
lea ecx, [ecx + ecx*2]
shl ecx, 3
mov esi, dword [ecx + edx]
mov dword [ecx + eax], esi
mov esi, dword [ecx + edx + 4]
mov dword [ecx + eax + 4], esi
mov esi, dword [ecx + edx + 8]
mov dword [ecx + eax + 8], esi
mov esi, dword [ecx + edx + 0xc]
mov dword [ecx + eax + 0xc], esi
mov esi, dword [ecx + edx + 0x10]
mov dword [ecx + eax + 0x10], esi
mov edx, dword [ecx + edx + 0x14]
mov dword [ecx + eax + 0x14], edx
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x10049509
push eax
call fcn.10003d40
add esp, 4
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret