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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5b4bbe
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb0
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x54]
test eax, eax
jne 0x4cbb16
mov ax, word [esi + 0x58]
cmp ax, 8
jl 0x4cba13
mov edi, 8
jmp 0x4cba25
xor ecx, ecx
cmp ax, 5
setl cl
dec ecx
and ecx, 2
add ecx, 3
mov edi, ecx
mov eax, dword [esi + 0x60]
mov ecx, dword [esi + 0x5c]
movsx edx, di
push edx
push eax
push ecx
mov ecx, esi
call fcn.004cc9d0
sub esp, 8
fstp qword [esp]
call fcn.0056c41b
fstp dword [esp + 0x1c]
add esp, 8
test di, di
jle 0x4cbaff
fld dword [esp + 0x14]
fcomp qword [0x5cb1a8]
fnstsw ax
test ah, 0x41
jne 0x4cbaff
fld dword [esi + 0x5c]
fdiv dword [esp + 0x14]
sub esp, 8
fstp qword [esp]
call fcn.0056c41b
fmul dword [esp + 0x1c]
add esp, 8
fcom dword [0x5cad98]
fnstsw ax
test ah, 0x40
je 0x4cba92
fadd dword [esp + 0x14]
fcom dword [esi + 0x60]
xor ecx, ecx
fnstsw ax
test ah, 1
je 0x4cbaba
cmp cx, 0x14
jge 0x4cbaba
movsx edx, cx
inc ecx
fst dword [esp + edx*4 + 0x70]
fadd dword [esp + 0x14]
fcom dword [esi + 0x60]
fnstsw ax
test ah, 1
jne 0x4cba9e
fstp st(0)
movsx ebx, cx
lea eax, [ebx + ebx*4]
lea ecx, [eax*4 + 4]
push ecx
call fcn.00586401
add esp, 4
mov dword [esp + 0x48], eax
test eax, eax
mov dword [esp + 0xc8], 0
je 0x4cbb44
push 0x44f890
push 0x44f840
lea edi, [eax + 4]
push ebx
push 0x14
push edi
mov dword [eax], ebx
call fcn.0056c8b6
jmp 0x4cbb46
fld dword [esi + 0x60]
fadd dword [esi + 0x5c]
mov ecx, 1
fmul dword [0x5cb160]
fstp dword [esp + 0x70]
jmp 0x4cbabc
mov cx, word [esi + 0x88]
movsx edi, cx
test edi, edi
jle 0x4cbabc
mov edx, dword [esi + 0x84]
lea ebx, [esp + 0x70]
lea eax, [esp + 0x70]
sub edx, ebx
mov ebx, dword [edx + eax]
mov dword [eax], ebx
add eax, 4
dec edi
jne 0x4cbb34
jmp 0x4cbabc
xor edi, edi
mov dword [esi + 0x48], edi
mov dword [esp + 0xc8], 0xffffffff
lea edi, [esp + 0x4c]
mov ebp, 4
mov ecx, edi
call fcn.0041dea0
add edi, 8
dec ebp
jne 0x4cbb5d
lea ecx, [esp + 0x3c]
call fcn.0041dea0
mov eax, dword [esi + 0x7c]
mov ecx, dword [esi + 0x80]
fld dword [esi + 0x68]
fsub dword [esi + 0x64]
dec eax
dec ecx
mov dword [esp + 0x38], eax
mov dword [esp + 0x44], ecx
fidiv dword [esp + 0x38]
test ecx, ecx
mov dword [esp + 0x14], 0
fstp dword [esp + 0x20]
fld dword [esi + 0x70]
fsub dword [esi + 0x6c]
fidiv dword [esp + 0x44]
fstp dword [esp + 0x24]
jle 0x4cbd74
fld dword [esp + 0x24]
fmul dword [0x5cb160]
fstp dword [esp + 0x6c]
fild dword [esp + 0x14]
mov edx, dword [esp + 0x14]
xor edi, edi
inc edx
mov dword [esp + 0x18], edi
fmul dword [esp + 0x24]
mov dword [esp + 0x1c], edx
test eax, eax
fadd dword [esi + 0x6c]
fst dword [esp + 0x50]
fstp dword [esp + 0x58]
fild dword [esp + 0x1c]
fmul dword [esp + 0x24]
fadd dword [esi + 0x6c]
fst dword [esp + 0x60]
fstp dword [esp + 0x68]
fld dword [esp + 0x50]
fadd dword [esp + 0x6c]
fstp dword [esp + 0x40]
jle 0x4cbd64
fld dword [esp + 0x20]
fmul dword [0x5cb160]
fstp dword [esp + 0x48]
fild dword [esp + 0x18]
lea ebp, [edi + 1]
mov edx, dword [esi]
mov dword [esp + 0x18], ebp
push edi
fmul dword [esp + 0x24]
mov ecx, esi
fadd dword [esi + 0x64]
fstp dword [esp + 0x50]
fild dword [esp + 0x1c]
mov eax, dword [esp + 0x50]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x18]
fmul dword [esp + 0x24]
push eax
fadd dword [esi + 0x64]
fst dword [esp + 0x5c]
fstp dword [esp + 0x64]
fld dword [esp + 0x50]
fadd dword [esp + 0x54]
fstp dword [esp + 0x44]
call dword [edx + 0x24]
mov eax, dword [esp + 0x14]
mov edx, dword [esi]
fstp dword [esp + 0x28]
push ebp
push eax
mov ecx, esi
call dword [edx + 0x24]
mov eax, dword [esp + 0x1c]
mov edx, dword [esi]
fstp dword [esp + 0x2c]
push ebp
push eax
mov ecx, esi
call dword [edx + 0x24]
mov eax, dword [esp + 0x1c]
mov edx, dword [esi]
fstp dword [esp + 0x30]
push edi
push eax
mov ecx, esi
call dword [edx + 0x24]
fst dword [esp + 0x34]
fadd dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x70]
fadd dword [esp + 0x2c]
push ecx
lea ecx, [esp + 0x40]
fadd dword [esp + 0x2c]
fmul dword [0x5cb2bc]
fstp dword [esp + 0x1c]
mov edi, dword [esp + 0x1c]
push edi
push edx
push eax
push ebx
lea edx, [esp + 0x68]
push ecx
lea eax, [esp + 0x64]
push edx
push eax
mov ecx, esi
call fcn.004cb750
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x70]
push ecx
push edi
push edx
push eax
lea ecx, [esp + 0x4c]
push ebx
lea edx, [esp + 0x70]
push ecx
push edx
lea eax, [esp + 0x70]
mov ecx, esi
push eax
call fcn.004cb750
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x70]
push ecx
push edi
push edx
push eax
lea ecx, [esp + 0x4c]
push ebx
lea edx, [esp + 0x78]
push ecx
lea eax, [esp + 0x74]
push edx
push eax
mov ecx, esi
call fcn.004cb750
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x70]
push ecx
push edi
push edx
push eax
lea ecx, [esp + 0x4c]
push ebx
lea edx, [esp + 0x60]
push ecx
lea eax, [esp + 0x7c]
push edx
push eax
mov ecx, esi
call fcn.004cb750
mov eax, dword [esp + 0x38]
mov edi, ebp
cmp edi, eax
mov dword [esp + 0x18], edi
jl 0x4cbc17
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x1c]
cmp edx, ecx
mov dword [esp + 0x14], edx
jl 0x4cbbc0
test ebx, ebx
jle 0x4cbd9a
xor ebp, ebp
lea edi, [esp + 0x70]
mov ecx, dword [edi]
mov edx, dword [esi + 0x4c]
mov eax, dword [esi + 0x48]
push ecx
mov ecx, ebp
push edx
add ecx, eax
call fcn.0044fe00
add edi, 4
add ebp, 0x14
dec ebx
jne 0x4cbd7e
mov esi, dword [esi + 0x48]
test esi, esi
je 0x4cbdbe
mov eax, dword [esi - 4]
lea edi, [esi - 4]
push 0x44f890
push eax
push 0x14
push esi
call fcn.0056c7c2
push edi
call fcn.0058642a
add esp, 4
mov ecx, dword [esp + 0xc0]
pop edi
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret