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

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x51e584]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
push esi
mov esi, ecx
mov dword [ebp - 8], ebx
push edi
mov dword [ebp - 8], ebx
cmp byte [esi + 0x84], bl
je 0x4cf01b
test byte [esi + 0x84], 1
je 0x4cefe3
mov edi, dword [esi + 8]
mov eax, dword [edi + 0x10]
cmp eax, 0x80
jae 0x4cefd0
lea eax, [ebx + 1]
jmp 0x4cefd9
push eax
call fcn.004beba0
add esp, 4
mov ecx, dword [edi + 0x10]
lea edx, [eax + ecx + 1]
mov dword [ebp - 8], edx
mov eax, dword [esi + 0x84]
shr eax, 1
test al, 1
je 0x4cf01b
mov edi, dword [esi + 0xc]
mov eax, dword [edi + 0x10]
cmp eax, 0x80
jae 0x4cf003
mov eax, 1
jmp 0x4cf00c
push eax
call fcn.004beba0
add esp, 4
mov ecx, dword [edi + 0x10]
mov edx, dword [ebp - 8]
add ecx, eax
lea eax, [edx + ecx + 1]
mov dword [ebp - 8], eax
mov eax, dword [esi + 0x84]
test eax, 0x1fe00
je 0x4cf0bb
shr eax, 9
test al, 1
je 0x4cf070
mov eax, dword [esi + 0x78]
cmp eax, ebx
jne 0x4cf043
mov ecx, dword [0x526094]
mov eax, dword [ecx + 0x78]
mov ecx, eax
call fcn.004c81a0
mov edi, eax
cmp edi, 0x80
jae 0x4cf05b
mov eax, 1
jmp 0x4cf064
push edi
call fcn.004beba0
add esp, 4
mov edx, dword [ebp - 8]
add eax, edi
lea eax, [edx + eax + 1]
mov dword [ebp - 8], eax
mov ecx, dword [esi + 0x84]
shr ecx, 0xa
test cl, 1
je 0x4cf0bb
mov eax, dword [esi + 0x7c]
cmp eax, ebx
jne 0x4cf08e
mov edx, dword [0x526094]
mov eax, dword [edx + 0x7c]
mov ecx, eax
call fcn.004c6f40
mov edi, eax
cmp edi, 0x80
jae 0x4cf0a6
mov eax, 1
jmp 0x4cf0af
push edi
call fcn.004beba0
add esp, 4
mov ecx, dword [ebp - 8]
add eax, edi
lea edx, [ecx + eax + 1]
mov dword [ebp - 8], edx
mov eax, dword [esi + 0x14]
add dword [ebp - 8], eax
xor edi, edi
cmp eax, ebx
jle 0x4cf0f5
mov eax, dword [esi + 0x10]
mov ebx, dword [eax + edi*4]
mov eax, dword [ebx + 0x10]
cmp eax, 0x80
jae 0x4cf0de
mov eax, 1
jmp 0x4cf0e7
push eax
call fcn.004beba0
add esp, 4
mov ecx, dword [ebx + 0x10]
add ecx, eax
add dword [ebp - 8], ecx
inc edi
cmp edi, dword [esi + 0x14]
jl 0x4cf0c7
xor ebx, ebx
xor edi, edi
cmp dword [esi + 0x24], ebx
jle 0x4cf130
mov edi, edi
mov edx, dword [esi + 0x20]
mov eax, dword [edx + edi*4]
test eax, eax
jns 0x4cf111
mov eax, 0xa
jmp 0x4cf128
cmp eax, 0x80
jae 0x4cf11f
mov eax, 1
jmp 0x4cf128
push eax
call fcn.004beba0
add esp, 4
inc edi
add ebx, eax
cmp edi, dword [esi + 0x24]
jl 0x4cf100
mov eax, dword [esi + 0x24]
add eax, ebx
add dword [ebp - 8], eax
xor ebx, ebx
xor edi, edi
cmp dword [esi + 0x30], ebx
jle 0x4cf171
mov ecx, dword [esi + 0x2c]
mov eax, dword [ecx + edi*4]
test eax, eax
jns 0x4cf152
mov eax, 0xa
jmp 0x4cf169
cmp eax, 0x80
jae 0x4cf160
mov eax, 1
jmp 0x4cf169
push eax
call fcn.004beba0
add esp, 4
inc edi
add ebx, eax
cmp edi, dword [esi + 0x30]
jl 0x4cf141
mov eax, dword [esi + 0x3c]
lea edx, [eax + ebx]
add edx, dword [esi + 0x30]
mov ebx, dword [ebp - 8]
add ebx, edx
xor edi, edi
mov dword [ebp - 8], ebx
test eax, eax
jle 0x4cf1c3
jmp 0x4cf190
mov eax, dword [esi + 0x38]
mov ecx, dword [eax + edi*4]
call fcn.004cd430
mov ebx, eax
cmp ebx, 0x80
jae 0x4cf1ac
mov eax, 1
jmp 0x4cf1b5
push ebx
call fcn.004beba0
add esp, 4
add eax, ebx
add dword [ebp - 8], eax
inc edi
cmp edi, dword [esi + 0x3c]
jl 0x4cf190
mov ebx, dword [ebp - 8]
mov eax, dword [esi + 0x4c]
add ebx, eax
xor edi, edi
mov dword [ebp - 8], ebx
test eax, eax
jle 0x4cf204
mov ecx, dword [esi + 0x48]
mov ecx, dword [ecx + edi*4]
call fcn.004ca950
mov ebx, eax
cmp ebx, 0x80
jae 0x4cf1ed
mov eax, 1
jmp 0x4cf1f6
push ebx
call fcn.004beba0
add esp, 4
add eax, ebx
add dword [ebp - 8], eax
inc edi
cmp edi, dword [esi + 0x4c]
jl 0x4cf1d1
mov ebx, dword [ebp - 8]
mov eax, dword [esi + 0x5c]
add ebx, eax
xor edi, edi
mov dword [ebp - 8], ebx
test eax, eax
jle 0x4cf245
mov edx, dword [esi + 0x58]
mov ecx, dword [edx + edi*4]
call fcn.004cab30
mov ebx, eax
cmp ebx, 0x80
jae 0x4cf22e
mov eax, 1
jmp 0x4cf237
push ebx
call fcn.004beba0
add esp, 4
add eax, ebx
add dword [ebp - 8], eax
inc edi
cmp edi, dword [esi + 0x5c]
jl 0x4cf212
mov ebx, dword [ebp - 8]
mov eax, dword [esi + 0x6c]
add ebx, eax
xor edi, edi
mov dword [ebp - 8], ebx
test eax, eax
jle 0x4cf286
mov eax, dword [esi + 0x68]
mov ecx, dword [eax + edi*4]
call fcn.004c99f0
mov ebx, eax
cmp ebx, 0x80
jae 0x4cf26f
mov eax, 1
jmp 0x4cf278
push ebx
call fcn.004beba0
add esp, 4
add eax, ebx
add dword [ebp - 8], eax
inc edi
cmp edi, dword [esi + 0x6c]
jl 0x4cf253
mov ebx, dword [ebp - 8]
mov ecx, dword [esi + 4]
lea eax, [esi + 4]
test ecx, ecx
je 0x4cf2a2
mov edx, dword [ecx]
cmp edx, dword [ecx + 4]
je 0x4cf2a2
push eax
call fcn.004ba6e0
add esp, 4
add ebx, eax
mov ecx, dword [ebp - 4]
pop edi
mov dword [esi + 0x80], ebx
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.004815a9
mov esp, ebp
pop ebp
ret