Function at 0x4cf010
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 0x4cf09b
test byte [esi + 0x84], 1
je 0x4cf063
mov edi, dword [esi + 8]
mov eax, dword [edi + 0x10]
cmp eax, 0x80
jae 0x4cf050
lea eax, [ebx + 1]
jmp 0x4cf059
push eax
call fcn.004bec90
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 0x4cf09b
mov edi, dword [esi + 0xc]
mov eax, dword [edi + 0x10]
cmp eax, 0x80
jae 0x4cf083
mov eax, 1
jmp 0x4cf08c
push eax
call fcn.004bec90
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 0x4cf13b
shr eax, 9
test al, 1
je 0x4cf0f0
mov eax, dword [esi + 0x78]
cmp eax, ebx
jne 0x4cf0c3
mov ecx, dword [0x526094]
mov eax, dword [ecx + 0x78]
mov ecx, eax
call fcn.004c8220
mov edi, eax
cmp edi, 0x80
jae 0x4cf0db
mov eax, 1
jmp 0x4cf0e4
push edi
call fcn.004bec90
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 0x4cf13b
mov eax, dword [esi + 0x7c]
cmp eax, ebx
jne 0x4cf10e
mov edx, dword [0x526094]
mov eax, dword [edx + 0x7c]
mov ecx, eax
call fcn.004c6fc0
mov edi, eax
cmp edi, 0x80
jae 0x4cf126
mov eax, 1
jmp 0x4cf12f
push edi
call fcn.004bec90
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 0x4cf175
mov eax, dword [esi + 0x10]
mov ebx, dword [eax + edi*4]
mov eax, dword [ebx + 0x10]
cmp eax, 0x80
jae 0x4cf15e
mov eax, 1
jmp 0x4cf167
push eax
call fcn.004bec90
add esp, 4
mov ecx, dword [ebx + 0x10]
add ecx, eax
add dword [ebp - 8], ecx
inc edi
cmp edi, dword [esi + 0x14]
jl 0x4cf147
xor ebx, ebx
xor edi, edi
cmp dword [esi + 0x24], ebx
jle 0x4cf1b0
mov edi, edi
mov edx, dword [esi + 0x20]
mov eax, dword [edx + edi*4]
test eax, eax
jns 0x4cf191
mov eax, 0xa
jmp 0x4cf1a8
cmp eax, 0x80
jae 0x4cf19f
mov eax, 1
jmp 0x4cf1a8
push eax
call fcn.004bec90
add esp, 4
inc edi
add ebx, eax
cmp edi, dword [esi + 0x24]
jl 0x4cf180
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 0x4cf1f1
mov ecx, dword [esi + 0x2c]
mov eax, dword [ecx + edi*4]
test eax, eax
jns 0x4cf1d2
mov eax, 0xa
jmp 0x4cf1e9
cmp eax, 0x80
jae 0x4cf1e0
mov eax, 1
jmp 0x4cf1e9
push eax
call fcn.004bec90
add esp, 4
inc edi
add ebx, eax
cmp edi, dword [esi + 0x30]
jl 0x4cf1c1
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 0x4cf243
jmp 0x4cf210
mov eax, dword [esi + 0x38]
mov ecx, dword [eax + edi*4]
call fcn.004cd4b0
mov ebx, eax
cmp ebx, 0x80
jae 0x4cf22c
mov eax, 1
jmp 0x4cf235
push ebx
call fcn.004bec90
add esp, 4
add eax, ebx
add dword [ebp - 8], eax
inc edi
cmp edi, dword [esi + 0x3c]
jl 0x4cf210
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 0x4cf284
mov ecx, dword [esi + 0x48]
mov ecx, dword [ecx + edi*4]
call fcn.004ca9d0
mov ebx, eax
cmp ebx, 0x80
jae 0x4cf26d
mov eax, 1
jmp 0x4cf276
push ebx
call fcn.004bec90
add esp, 4
add eax, ebx
add dword [ebp - 8], eax
inc edi
cmp edi, dword [esi + 0x4c]
jl 0x4cf251
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 0x4cf2c5
mov edx, dword [esi + 0x58]
mov ecx, dword [edx + edi*4]
call fcn.004cabb0
mov ebx, eax
cmp ebx, 0x80
jae 0x4cf2ae
mov eax, 1
jmp 0x4cf2b7
push ebx
call fcn.004bec90
add esp, 4
add eax, ebx
add dword [ebp - 8], eax
inc edi
cmp edi, dword [esi + 0x5c]
jl 0x4cf292
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 0x4cf306
mov eax, dword [esi + 0x68]
mov ecx, dword [eax + edi*4]
call fcn.004c9a70
mov ebx, eax
cmp ebx, 0x80
jae 0x4cf2ef
mov eax, 1
jmp 0x4cf2f8
push ebx
call fcn.004bec90
add esp, 4
add eax, ebx
add dword [ebp - 8], eax
inc edi
cmp edi, dword [esi + 0x6c]
jl 0x4cf2d3
mov ebx, dword [ebp - 8]
mov ecx, dword [esi + 4]
lea eax, [esi + 4]
test ecx, ecx
je 0x4cf322
mov edx, dword [ecx]
cmp edx, dword [ecx + 4]
je 0x4cf322
push eax
call fcn.004ba7d0
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.004815c9
mov esp, ebp
pop ebp
ret