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

Disassembly:
push 0xffffffffffffffff
push 0x558898
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5b2ae0]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x70]
lea ecx, [esp + 0x4c]
call fcn.004cd800
mov eax, dword [esp + 0x74]
mov edi, dword [esp + 0x7c]
mov esi, dword [esp + 0x78]
push eax
push ebp
mov ebx, edi
mov ecx, esi
mov dword [esp + 0x70], 0
call fcn.004ceb40
xor edx, edx
add esp, 8
cmp eax, edx
jne 0x4cf2b6
mov dword [esp + 0x68], 0xffffffff
mov eax, dword [esp + 0x58]
cmp eax, edx
je 0x4cf2a0
dec dword [eax + 4]
mov ecx, eax
add eax, 4
cmp dword [eax], edx
jg 0x4cf2a0
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
xor eax, eax
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret
mov ecx, dword [esi]
cmp word [ecx], 0x5e
je 0x4cf2e5
mov dword [esp + 0x68], 0xffffffff
mov eax, dword [esp + 0x58]
cmp eax, edx
je 0x4cf3ac
dec dword [eax + 4]
mov ecx, eax
add eax, 4
cmp dword [eax], edx
jmp 0x4cf3a2
xor edx, edx
mov esi, eax
add dword [esi], 2
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], edx
mov ecx, dword [esp + 0x74]
push ecx
push ebp
lea ebx, [esp + 0x24]
mov ecx, esi
mov byte [esp + 0x70], 1
call fcn.004ceb40
add esp, 8
cmp eax, 2
jne 0x4cf5b0
cmp dword [edi + 8], 1
mov ebx, dword [esp + 0x1c]
fld qword [ebx]
jne 0x4cf519
mov esi, dword [edi]
mov edi, dword [esi + 0xc]
test edi, edi
jne 0x4cf3f1
mov edi, dword [esi + 8]
test edi, edi
jne 0x4cf3c5
fld qword [esi]
fxch st(1)
call fcn.005429d0
fstp qword [esi]
mov edi, dword [esp + 0x7c]
mov byte [esp + 0x68], 0
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4cf377
mov edx, dword [eax - 4]
lea esi, [eax - 4]
push fcn.004cdb70
push edx
push 0x10
push eax
call fcn.00517315
push esi
call fcn.004efc12
add esp, 4
mov eax, dword [esp + 0x78]
mov ecx, dword [eax]
cmp word [ecx], 0x5e
je 0x4cf2e1
mov dword [esp + 0x68], 0xffffffff
mov eax, dword [esp + 0x58]
test eax, eax
je 0x4cf3ac
dec dword [eax + 4]
mov ecx, eax
add eax, 4
cmp dword [eax], 0
jg 0x4cf3ac
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov eax, 1
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret
fld st(0)
call fcn.0051d390
mov ecx, eax
mov dword [esp + 0x18], ecx
fisub dword [esp + 0x18]
fabs
fcomp qword [ebp + 0x38]
fnstsw ax
test ah, 0x41
je 0x4cf615
imul ecx, edi
mov dword [esi + 8], ecx
jmp 0x4cf349
fld st(0)
call fcn.0051d390
mov ebx, eax
mov dword [esp + 0x18], ebx
fisub dword [esp + 0x18]
fabs
fcomp qword [ebp + 0x38]
fnstsw ax
test ah, 0x41
je 0x4cf615
xor eax, eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
add edi, 8
push edi
lea ecx, [esp + 0x2c]
mov byte [esp + 0x6c], 2
call fcn.004cdd00
add esp, 4
test ebx, ebx
jbe 0x4cf466
mov edi, ebx
jmp 0x4cf440
mov eax, dword [esi + 0xc]
fld qword [ebp + 0x38]
sub esp, 8
lea edx, [eax + 8]
fstp qword [esp]
push edx
lea ecx, [esp + 0x34]
push ecx
add eax, 8
push eax
call fcn.004cebc0
add esp, 0x14
sub edi, 1
jne 0x4cf440
mov byte [esp + 0x68], 1
mov eax, dword [esp + 0x28]
test eax, eax
je 0x4cf490
mov edx, dword [eax - 4]
lea edi, [eax - 4]
push fcn.004cdb70
push edx
push 0x10
push eax
call fcn.00517315
push edi
call fcn.004efc12
add esp, 4
xor eax, eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov byte [esp + 0x68], 3
mov eax, dword [esi + 0xc]
add eax, 0x14
push eax
lea ecx, [esp + 0x38]
call fcn.004cdd00
add esp, 4
test ebx, ebx
jbe 0x4cf4e6
mov edi, ebx
lea esp, [esp]
mov eax, dword [esi + 0xc]
fld qword [ebp + 0x38]
sub esp, 8
lea ecx, [eax + 0x14]
fstp qword [esp]
push ecx
lea edx, [esp + 0x40]
push edx
add eax, 0x14
push eax
call fcn.004cebc0
add esp, 0x14
sub edi, 1
jne 0x4cf4c0
mov byte [esp + 0x68], 1
mov eax, dword [esp + 0x34]
test eax, eax
je 0x4cf349
mov ecx, dword [eax - 4]
lea esi, [eax - 4]
push fcn.004cdb70
push ecx
push 0x10
push eax
call fcn.00517315
push esi
call fcn.004efc12
add esp, 4
jmp 0x4cf349
fld st(0)
call fcn.0051d390
mov esi, eax
mov dword [esp + 0x18], esi
fisub dword [esp + 0x18]
fabs
fcomp qword [ebp + 0x38]
fnstsw ax
test ah, 0x41
je 0x4cf64a
xor ebx, ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
push edi
lea ecx, [esp + 0x44]
mov byte [esp + 0x6c], 4
call fcn.004cdd00
add esp, 4
cmp esi, ebx
jbe 0x4cf57d
mov edi, edi
fld qword [ebp + 0x38]
sub esp, 8
fstp qword [esp]
push edi
lea edx, [esp + 0x4c]
push edx
push edi
call fcn.004cebc0
add esp, 0x14
sub esi, 1
jne 0x4cf560
mov byte [esp + 0x68], 1
mov eax, dword [esp + 0x40]
cmp eax, ebx
je 0x4cf34d
mov ecx, dword [eax - 4]
lea esi, [eax - 4]
push fcn.004cdb70
push ecx
push 0x10
push eax
call fcn.00517315
push esi
call fcn.004efc12
add esp, 4
jmp 0x4cf34d
mov byte [esp + 0x68], 0
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4cf5da
mov edx, dword [eax - 4]
lea esi, [eax - 4]
push fcn.004cdb70
push edx
push 0x10
push eax
call fcn.00517315
push esi
call fcn.004efc12
add esp, 4
mov dword [esp + 0x68], 0xffffffff
mov eax, dword [esp + 0x58]
test eax, eax
je 0x4cf5ff
dec dword [eax + 4]
mov ecx, eax
add eax, 4
cmp dword [eax], 0
jg 0x4cf5ff
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
xor eax, eax
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret
lea eax, [esp + 0x1c]
mov byte [esp + 0x68], 0
call fcn.004d60f0
lea ecx, [esp + 0x4c]
mov dword [esp + 0x68], 0xffffffff
call fcn.004cdb70
xor eax, eax
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret
push fcn.004cdb70
mov byte [esp + 0x6c], 0
mov eax, dword [ebx - 4]
lea esi, [ebx - 4]
push eax
push 0x10
push ebx
call fcn.00517315
push esi
call fcn.004efc12
mov dword [esp + 0x6c], 0xffffffff
mov eax, dword [esp + 0x5c]
add esp, 4
test eax, eax
je 0x4cf2a0
dec dword [eax + 4]
mov ecx, eax
add eax, 4
cmp dword [eax], 0
jmp 0x4cf296