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

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x51f584]
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 0x4cfadb
test byte [esi + 0x84], 1
je 0x4cfaa3
mov edi, dword [esi + 8]
mov eax, dword [edi + 0x10]
cmp eax, 0x80
jae 0x4cfa90
lea eax, [ebx + 1]
jmp 0x4cfa99
push eax
call fcn.004bf680
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 0x4cfadb
mov edi, dword [esi + 0xc]
mov eax, dword [edi + 0x10]
cmp eax, 0x80
jae 0x4cfac3
mov eax, 1
jmp 0x4cfacc
push eax
call fcn.004bf680
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 0x4cfb7b
shr eax, 9
test al, 1
je 0x4cfb30
mov eax, dword [esi + 0x78]
cmp eax, ebx
jne 0x4cfb03
mov ecx, dword [0x5270d4]
mov eax, dword [ecx + 0x78]
mov ecx, eax
call fcn.004c8c60
mov edi, eax
cmp edi, 0x80
jae 0x4cfb1b
mov eax, 1
jmp 0x4cfb24
push edi
call fcn.004bf680
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 0x4cfb7b
mov eax, dword [esi + 0x7c]
cmp eax, ebx
jne 0x4cfb4e
mov edx, dword [0x5270d4]
mov eax, dword [edx + 0x7c]
mov ecx, eax
call fcn.004c7950
mov edi, eax
cmp edi, 0x80
jae 0x4cfb66
mov eax, 1
jmp 0x4cfb6f
push edi
call fcn.004bf680
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 0x4cfbb5
mov eax, dword [esi + 0x10]
mov ebx, dword [eax + edi*4]
mov eax, dword [ebx + 0x10]
cmp eax, 0x80
jae 0x4cfb9e
mov eax, 1
jmp 0x4cfba7
push eax
call fcn.004bf680
add esp, 4
mov ecx, dword [ebx + 0x10]
add ecx, eax
add dword [ebp - 8], ecx
inc edi
cmp edi, dword [esi + 0x14]
jl 0x4cfb87
xor ebx, ebx
xor edi, edi
cmp dword [esi + 0x24], ebx
jle 0x4cfbf0
mov edi, edi
mov edx, dword [esi + 0x20]
mov eax, dword [edx + edi*4]
test eax, eax
jns 0x4cfbd1
mov eax, 0xa
jmp 0x4cfbe8
cmp eax, 0x80
jae 0x4cfbdf
mov eax, 1
jmp 0x4cfbe8
push eax
call fcn.004bf680
add esp, 4
inc edi
add ebx, eax
cmp edi, dword [esi + 0x24]
jl 0x4cfbc0
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 0x4cfc31
mov ecx, dword [esi + 0x2c]
mov eax, dword [ecx + edi*4]
test eax, eax
jns 0x4cfc12
mov eax, 0xa
jmp 0x4cfc29
cmp eax, 0x80
jae 0x4cfc20
mov eax, 1
jmp 0x4cfc29
push eax
call fcn.004bf680
add esp, 4
inc edi
add ebx, eax
cmp edi, dword [esi + 0x30]
jl 0x4cfc01
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 0x4cfc83
jmp 0x4cfc50
mov eax, dword [esi + 0x38]
mov ecx, dword [eax + edi*4]
call fcn.004cdef0
mov ebx, eax
cmp ebx, 0x80
jae 0x4cfc6c
mov eax, 1
jmp 0x4cfc75
push ebx
call fcn.004bf680
add esp, 4
add eax, ebx
add dword [ebp - 8], eax
inc edi
cmp edi, dword [esi + 0x3c]
jl 0x4cfc50
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 0x4cfcc4
mov ecx, dword [esi + 0x48]
mov ecx, dword [ecx + edi*4]
call fcn.004cb410
mov ebx, eax
cmp ebx, 0x80
jae 0x4cfcad
mov eax, 1
jmp 0x4cfcb6
push ebx
call fcn.004bf680
add esp, 4
add eax, ebx
add dword [ebp - 8], eax
inc edi
cmp edi, dword [esi + 0x4c]
jl 0x4cfc91
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 0x4cfd05
mov edx, dword [esi + 0x58]
mov ecx, dword [edx + edi*4]
call fcn.004cb5f0
mov ebx, eax
cmp ebx, 0x80
jae 0x4cfcee
mov eax, 1
jmp 0x4cfcf7
push ebx
call fcn.004bf680
add esp, 4
add eax, ebx
add dword [ebp - 8], eax
inc edi
cmp edi, dword [esi + 0x5c]
jl 0x4cfcd2
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 0x4cfd46
mov eax, dword [esi + 0x68]
mov ecx, dword [eax + edi*4]
call fcn.004ca4b0
mov ebx, eax
cmp ebx, 0x80
jae 0x4cfd2f
mov eax, 1
jmp 0x4cfd38
push ebx
call fcn.004bf680
add esp, 4
add eax, ebx
add dword [ebp - 8], eax
inc edi
cmp edi, dword [esi + 0x6c]
jl 0x4cfd13
mov ebx, dword [ebp - 8]
mov ecx, dword [esi + 4]
lea eax, [esi + 4]
test ecx, ecx
je 0x4cfd62
mov edx, dword [ecx]
cmp edx, dword [ecx + 4]
je 0x4cfd62
push eax
call fcn.004bb1c0
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.004822c9
mov esp, ebp
pop ebp
ret