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

Disassembly:
push ebp
mov ebp, esp
mov ecx, 5
push 0
push 0
dec ecx
jne 0x4cf654
push ebx
push esi
push edi
mov esi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4cf8a4
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x41c5fc]
call fcn.004035d0
mov dword [ebp - 0x10], eax
lea eax, [ebp - 8]
call fcn.004043b0
lea eax, [ebp - 0xc]
call fcn.004043b0
mov byte [ebp - 0x12], 0
xor eax, eax
push ebp
push 0x4cf875
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
mov edx, esi
call fcn.004c3d80
mov ebx, 1
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
call fcn.004c42f4
mov eax, dword [ebp - 0x1c]
mov edx, 0x4cf8c0
call fcn.004047cc
jne 0x4cf741
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
call fcn.004c42b8
mov eax, dword [ebp - 0x20]
mov edx, 0x4cf8cc
call fcn.00408d68
test eax, eax
jne 0x4cf741
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
mov ebx, dword [eax + 0x54]
jmp 0x4cf6fc
inc ebx
mov eax, esi
call fcn.00404680
cmp ebx, eax
jg 0x4cf70e
cmp byte [esi + ebx - 1], 0xd
jne 0x4cf6fb
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
mov edi, dword [eax + 0x54]
mov ecx, ebx
sub ecx, edi
mov edx, edi
mov eax, esi
call fcn.004048e0
mov eax, dword [ebp - 0x28]
lea edx, [ebp - 0x24]
call fcn.00408ef0
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 4]
call fcn.004cdfe0
add ebx, 2
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
mov edx, ebx
call fcn.004c3d78
push ebp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, 0x4cf8e0
call fcn.004c2b8c
call fcn.004cecdc
pop ecx
test al, al
je 0x4cf83d
cmp dword [ebp - 8], 0
jne 0x4cf83d
lea eax, [ebp - 8]
call fcn.004043b0
lea eax, [ebp - 0xc]
call fcn.004043b0
mov dl, 1
mov eax, dword [0x41c8ec]
call fcn.004035d0
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x4cf836
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, 0x4cf8f0
xor edx, edx
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0x60]
mov ecx, 0x4cf910
mov edx, 1
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0x60]
mov edx, 0x4cf924
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x78]
push 0
push 0
mov eax, dword [ebp - 0x18]
call fcn.0042197c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x18]
call fcn.004c2f90
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, 0x4cf938
call fcn.004c2b8c
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 8]
call fcn.004c2ab4
pop edx
call fcn.004c2f00
mov byte [ebp - 0x12], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cf83d
mov eax, dword [ebp - 0x18]
call fcn.00403600
ret
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
add eax, 0x3c
mov edx, dword [ebp - 0xc]
call fcn.00404404
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
add eax, 0x38
mov edx, dword [ebp - 8]
call fcn.00404404
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cf87c
mov eax, dword [ebp - 0x10]
call fcn.00403600
ret