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

Disassembly:
sub esp, 0xb4
push ebx
push ebp
push esi
mov esi, ecx
movzx eax, word [esi + 0x9a]
xor ebp, ebp
push edi
xor ebx, ebx
push eax
mov dword [esp + 0x84], esi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x70], ebp
call fcn.04c99fd0
mov edi, eax
mov eax, dword [edi + 0x7b8]
add esp, 4
cmp eax, 1
mov dword [esp + 0x50], edi
je 0x4cfbb40
cmp eax, ebp
jne 0x4cfc2a4
mov ecx, dword [0x4e83f60]
mov edx, dword [ecx]
mov edx, dword [edx + 0x98]
lea eax, [esp + 0xd8]
push eax
mov eax, dword [esi + 0xc]
push eax
call edx
fld dword [esi + 0x80]
fsubr qword [0x4e55fd8]
sub esp, 0x10
fld dword [esp + 0xec]
mov eax, esp
fsub qword [0x4e38b38]
push edi
mov ecx, esi
fstp dword [esp + 0x2c]
fadd dword [esp + 0x2c]
fstp dword [esp + 0xf0]
fld dword [esp + 0xdc]
fstp dword [eax]
fld dword [esp + 0xe0]
fstp dword [eax + 4]
fld dword [esp + 0xe4]
fstp dword [eax + 8]
fld dword [esp + 0xe8]
fstp dword [eax + 0xc]
lea eax, [esp + 0x84]
push eax
call fcn.04cfb600
fldz
fst dword [esp + 0x9c]
or eax, 0xffffffff
fst dword [esp + 0xa0]
mov dword [esp + 0xb4], ebp
fst dword [esp + 0xa4]
mov dword [esp + 0xb0], ebp
fst dword [esp + 0x20]
mov dword [esp + 0xbc], ebp
fst dword [esp + 0x24]
mov dword [esp + 0xb8], ebp
fst dword [esp + 0x28]
mov dword [esp + 0x3c], ebp
fst dword [esp + 0x2c]
mov dword [esp + 0x44], eax
fst dword [esp + 0x30]
mov dword [esp + 0x40], eax
fst dword [esp + 0x34]
mov dword [esp + 0x48], ebp
fstp dword [esp + 0x38]
mov dword [esp + 0x4c], eax
fld dword [esp + 0xd8]
fst dword [esp + 0x84]
fld dword [esp + 0xdc]
fst dword [esp + 0x88]
fld dword [esp + 0xe0]
fst dword [esp + 0x8c]
fld dword [edi + 0x798]
fstp dword [esp + 0x18]
fld dword [esp + 0x70]
fld dword [esp + 0x18]
fld st(0)
fmulp st(2)
fxch st(1)
fstp dword [esp + 0x54]
fld dword [esp + 0x74]
fmul st(1)
fstp dword [esp + 0x58]
fmul dword [esp + 0x78]
fstp dword [esp + 0x5c]
fld dword [esp + 0x54]
faddp st(3)
fxch st(2)
fstp dword [esp + 0x60]
fadd dword [esp + 0x58]
fstp dword [esp + 0x64]
fadd dword [esp + 0x5c]
fstp dword [esp + 0x68]
fld dword [esp + 0x60]
fstp dword [esp + 0x90]
fld dword [esp + 0x64]
mov eax, dword [0x4e83f60]
fstp dword [esp + 0x94]
fld dword [esp + 0x68]
lea ecx, [esp + 0x20]
push ecx
fstp dword [esp + 0x9c]
lea edx, [esp + 0x88]
mov dword [esp + 0xac], 1
mov dword [esp + 0xb0], 0x4d34bf0
mov ecx, dword [eax + 0x64]
push edx
xor edi, edi
call ecx
add esp, 8
test al, al
je 0x4cfc2a4
mov esi, dword [esp + 0xfc]
jmp 0x4cfbd08
mov edi, dword [esp + 0x7c]
mov ebx, dword [esp + 0x10]
cmp dword [esp + 0x14], ebp
jne 0x4cfc2a4
cmp edi, 0xa
jge 0x4cfc2a4
mov ecx, dword [esi]
cmp ecx, 4
jge 0x4cfc2a4
add edi, 1
xor edx, edx
xor eax, eax
cmp ecx, ebp
mov dword [esp + 0x7c], edi
mov edi, dword [esp + 0x3c]
jle 0x4cfbd62
lea esp, [esp]
mov ebx, dword [esp + 0xf0]
cmp edi, dword [ebx + eax*4]
jne 0x4cfbd51
mov edx, 1
add eax, 1
cmp eax, ecx
jl 0x4cfbd40
cmp edx, ebp
jne 0x4cfc208
jmp 0x4cfbd69
mov ebx, dword [esp + 0xf0]
mov ecx, dword [0x4e7ffd0]
mov edx, dword [ecx]
mov edx, dword [edx + 0x44]
lea eax, [esp + 0x18]
push eax
push ebp
push edi
call edx
test dword [esp + 0x18], 0x2000
je 0x4cfbfc3
mov ecx, dword [0x4e7ffd4]
mov eax, dword [ecx]
mov edx, dword [esp + 0x3c]
mov eax, dword [eax + 4]
push edx
call eax
cmp eax, 0x56
jne 0x4cfbe81
mov eax, dword [esi]
fld dword [esp + 0x20]
mov edx, dword [esp + 0xe4]
lea ecx, [eax + eax*2]
fstp dword [edx + ecx*4]
lea eax, [edx + ecx*4]
fld dword [esp + 0x24]
mov ecx, dword [esp + 0xe8]
fstp dword [eax + 4]
mov edi, 1
fld dword [esp + 0x28]
mov dword [esp + 0x14], edi
fstp dword [eax + 8]
mov eax, dword [esi]
fld dword [esp + 0x2c]
lea eax, [eax + eax*2]
fstp dword [ecx + eax*4]
lea eax, [ecx + eax*4]
fld dword [esp + 0x30]
mov ecx, dword [esp + 0xec]
fstp dword [eax + 4]
fld dword [esp + 0x34]
fstp dword [eax + 8]
mov dl, byte [esp + 0x48]
mov eax, dword [esi]
fldz
add dl, 2
mov byte [ecx + eax], dl
mov edx, dword [esi]
mov eax, dword [esp + 0x3c]
mov dword [ebx + edx*4], eax
mov ecx, dword [esi]
mov edx, dword [esp + 0xf4]
fstp dword [edx + ecx*4]
mov eax, dword [esp + 0x48]
add dword [esi], edi
push eax
call fcn.04c98b80
add esp, 4
cmp eax, ebp
je 0x4cfbe46
cmp dword [eax + 0x46c], ebp
je 0x4cfbe46
cmp dword [esp + 0x1c], ebp
jne 0x4cfbe46
mov dword [esp + 0x14], ebp
mov ecx, dword [esp + 0x50]
cmp dword [ecx + 0x2270], ebp
jne 0x4cfbe56
mov dword [esp + 0x14], edi
cmp eax, ebp
je 0x4cfbe68
mov eax, dword [eax + 0x470]
cmp eax, ebp
je 0x4cfbe7b
mov dword [esp + 0x14], ebp
cmp dword [esp + 0x14], ebp
mov dword [esp + 0x10], edi
jne 0x4cfc271
jmp 0x4cfc208
add dword [esp + 0x1c], edi
jmp 0x4cfbe68
test byte [esp + 0x18], 1
je 0x4cfbf97
mov ecx, dword [0x4e7ffd0]
mov edx, dword [ecx]
mov edx, dword [edx + 4]
lea eax, [esp + 0xc0]
push eax
mov eax, dword [esp + 0x40]
push eax
call edx
mov eax, dword [esp + 0x3c]
mov ecx, dword [0x4e83f60]
mov edx, dword [ecx + 0x228]
push eax
call edx
add esp, 4
cmp eax, ebp
je 0x4cfbee0
cmp dword [eax], 1
jne 0x4cfbee0
mov eax, dword [eax + 4]
cmp eax, ebp
je 0x4cfc208
lea ecx, [eax + 0x220]
call fcn.04cb1a80
jmp 0x4cfc208
mov eax, dword [esi]
fld dword [esp + 0x20]
mov ecx, dword [esp + 0xe4]
lea eax, [eax + eax*2]
fstp dword [ecx + eax*4]
lea eax, [ecx + eax*4]
fld dword [esp + 0x24]
mov edi, 1
fstp dword [eax + 4]
mov dword [esp + 0x14], edi
fld dword [esp + 0x28]
fstp dword [eax + 8]
mov eax, dword [esi]
fld dword [esp + 0x2c]
lea edx, [eax + eax*2]
mov eax, dword [esp + 0xe8]
fstp dword [eax + edx*4]
lea eax, [eax + edx*4]
fld dword [esp + 0x30]
fstp dword [eax + 4]
fld dword [esp + 0x34]
fstp dword [eax + 8]
mov cl, byte [esp + 0x48]
mov edx, dword [esi]
fldz
mov eax, dword [esp + 0xec]
add cl, 2
mov byte [eax + edx], cl
mov ecx, dword [esi]
mov edx, dword [esp + 0x3c]
mov dword [ebx + ecx*4], edx
mov eax, dword [esi]
mov ecx, dword [esp + 0xf4]
fstp dword [ecx + eax*4]
mov edx, dword [esp + 0x48]
push edx
call fcn.04c98b80
add esp, 4
cmp eax, ebp
je 0x4cfbe68
cmp dword [eax + 0x46c], ebp
jne 0x4cfbf80
cmp dword [eax + 0x470], ebp
je 0x4cfbf90
cmp dword [eax + 0x470], ebp
mov dword [esp + 0x14], ebp
jne 0x4cfbe68
add dword [esi], edi
jmp 0x4cfbe68
mov eax, dword [esp + 0x3c]
mov ecx, dword [0x4e83f60]
mov edx, dword [ecx + 0x228]
push eax
call edx
add esp, 4
cmp eax, ebp
je 0x4cfc208
cmp dword [eax], 1
jne 0x4cfc208
jmp 0x4cfbec5
mov eax, dword [esp + 0x3c]
mov ecx, dword [0x4e83f60]
mov edx, dword [ecx + 0x228]
push eax
call edx
add esp, 4
cmp eax, ebp
je 0x4cfc208
cmp dword [eax], 2
jne 0x4cfc208
mov ebx, dword [eax + 4]
cmp ebx, ebp
je 0x4cfc208
mov eax, dword [ebx + 8]
mov edi, dword [eax + 0x1414]
cmp edi, ebp
je 0x4cfc208
mov ebp, dword [0x4e83f6c]
mov edx, dword [edi + 0x70]
xor eax, eax
lea ecx, [ebp + 0xff50]
cmp dword [ecx - 0x380], edx
je 0x4cfc050
cmp dword [ecx - 0x1c0], edx
je 0x4cfc043
cmp dword [ecx], edx
je 0x4cfc048
cmp dword [ecx + 0x1c0], edx
je 0x4cfc04d
add eax, 4
add ecx, 0x700
cmp eax, 0x10
jl 0x4cfc017
jmp 0x4cfc050
add eax, 1
jmp 0x4cfc050
add eax, 2
jmp 0x4cfc050
add eax, 3
cmp dword [edi + 0x1a0], 0
jne 0x4cfc206
mov edx, dword [esp + 0x80]
imul eax, eax, 0x1c0
movzx ecx, byte [eax + ebp + 0xfbd5]
movsx eax, byte [edx + 9]
cmp ecx, eax
je 0x4cfc206
mov eax, dword [esi]
fld dword [esp + 0x20]
mov edx, dword [esp + 0xe4]
lea ecx, [eax + eax*2]
fstp dword [edx + ecx*4]
lea eax, [edx + ecx*4]
fld dword [esp + 0x24]
mov ecx, dword [esp + 0xe8]
fstp dword [eax + 4]
mov ebp, dword [esp + 0xf4]
fld dword [esp + 0x28]
fstp dword [eax + 8]
mov eax, dword [esi]
fld dword [esp + 0x2c]
lea eax, [eax + eax*2]
fstp dword [ecx + eax*4]
lea eax, [ecx + eax*4]
fld dword [esp + 0x30]
fstp dword [eax + 4]
fld dword [esp + 0x34]
fstp dword [eax + 8]
mov edx, dword [esi]
mov eax, dword [esp + 0xec]
fldz
mov byte [eax + edx], 1
mov ecx, dword [esi]
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0xf0]
mov dword [eax + ecx*4], edx
mov ecx, dword [esi]
lea edx, [esp + 0x20]
fstp dword [ebp + ecx*4]
push edx
lea ecx, [esp + 0xdc]
call fcn.04ca1cd0
fmul qword [0x4e55f90]
mov edi, dword [esp + 0x50]
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fmul dword [edi + 0x7c0]
fld1
fsubrp st(1)
fstp dword [esp + 0x10]
fldz
fcom dword [esp + 0x10]
fnstsw ax
test ah, 0x41
jne 0x4cfc136
fstp dword [esp + 0x10]
jmp 0x4cfc138
fstp st(0)
mov eax, dword [ebx]
push eax
call fcn.04c910b0
mov edx, dword [eax + 0x54]
mov ecx, dword [esi]
mov ebx, dword [esp + 0xfc]
mov dword [ebx + ecx*4], edx
fld dword [eax + 0x24]
fmul dword [edi + 0x7a4]
mov ebx, dword [esp + 0x70]
mov eax, dword [esi]
add esp, 4
test ebx, ebx
fmul dword [esp + 0x10]
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fstp dword [ebp + eax*4]
jle 0x4cfc196
mov ecx, dword [esi]
fld dword [0x4e0ee1c]
push ebx
push ecx
fstp dword [esp]
lea edi, [ebp + ecx*4]
call fcn.04cd6c70
fmul dword [edi]
add esp, 8
fstp dword [edi]
mov edi, dword [esp + 0x50]
cmp dword [esp + 0x1c], 0
jle 0x4cfc1af
mov edx, dword [esi]
fld dword [ebp + edx*4]
lea eax, [ebp + edx*4]
fmul qword [0x4e55f80]
fstp dword [eax]
mov eax, dword [esi]
fld1
fcomp dword [ebp + eax*4]
lea ecx, [ebp + eax*4]
fnstsw ax
test ah, 5
jp 0x4cfc1df
mov eax, dword [0x4e83f60]
fld dword [ecx]
mov edx, dword [eax]
sub esp, 8
fstp qword [esp]
push 0x4e39380
push eax
mov eax, dword [edx + 0x18]
call eax
add esp, 0x10
add dword [esi], 1
add ebx, 1
cmp dword [edi + 0x226c], 0
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x10], 1
jne 0x4cfc206
mov dword [esp + 0x14], 1
xor ebp, ebp
jmp 0x4cfc271
xor ebp, ebp
fld dword [esp + 0x70]
fld qword [0x4e0e230]
fmul st(1), st(0)
fxch st(1)
fstp dword [esp + 0x60]
fld dword [esp + 0x74]
fmul st(1)
fstp dword [esp + 0x64]
fmul dword [esp + 0x78]
fstp dword [esp + 0x68]
fld dword [esp + 0x60]
fadd dword [esp + 0x20]
fstp dword [esp + 0x54]
fld dword [esp + 0x64]
fadd dword [esp + 0x24]
fstp dword [esp + 0x58]
fld dword [esp + 0x68]
fadd dword [esp + 0x28]
fstp dword [esp + 0x5c]
fld dword [esp + 0x54]
fstp dword [esp + 0x84]
fld dword [esp + 0x58]
fstp dword [esp + 0x88]
fld dword [esp + 0x5c]
fstp dword [esp + 0x8c]
mov eax, dword [0x4e83f60]
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [eax + 0x64]
lea edx, [esp + 0x88]
push edx
call ecx
add esp, 8
test al, al
jne 0x4cfbd00
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb4
ret 0x38
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0xb4
ret 0x38