Function at 0x4cfbd0
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 0x4cfc5b
test byte [esi + 0x84], 1
je 0x4cfc23
mov edi, dword [esi + 8]
mov eax, dword [edi + 0x10]
cmp eax, 0x80
jae 0x4cfc10
lea eax, [ebx + 1]
jmp 0x4cfc19
push eax
call fcn.004bf7b0
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 0x4cfc5b
mov edi, dword [esi + 0xc]
mov eax, dword [edi + 0x10]
cmp eax, 0x80
jae 0x4cfc43
mov eax, 1
jmp 0x4cfc4c
push eax
call fcn.004bf7b0
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 0x4cfcfb
shr eax, 9
test al, 1
je 0x4cfcb0
mov eax, dword [esi + 0x78]
cmp eax, ebx
jne 0x4cfc83
mov ecx, dword [0x5270d4]
mov eax, dword [ecx + 0x78]
mov ecx, eax
call fcn.004c8de0
mov edi, eax
cmp edi, 0x80
jae 0x4cfc9b
mov eax, 1
jmp 0x4cfca4
push edi
call fcn.004bf7b0
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 0x4cfcfb
mov eax, dword [esi + 0x7c]
cmp eax, ebx
jne 0x4cfcce
mov edx, dword [0x5270d4]
mov eax, dword [edx + 0x7c]
mov ecx, eax
call fcn.004c7b80
mov edi, eax
cmp edi, 0x80
jae 0x4cfce6
mov eax, 1
jmp 0x4cfcef
push edi
call fcn.004bf7b0
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 0x4cfd35
mov eax, dword [esi + 0x10]
mov ebx, dword [eax + edi*4]
mov eax, dword [ebx + 0x10]
cmp eax, 0x80
jae 0x4cfd1e
mov eax, 1
jmp 0x4cfd27
push eax
call fcn.004bf7b0
add esp, 4
mov ecx, dword [ebx + 0x10]
add ecx, eax
add dword [ebp - 8], ecx
inc edi
cmp edi, dword [esi + 0x14]
jl 0x4cfd07
xor ebx, ebx
xor edi, edi
cmp dword [esi + 0x24], ebx
jle 0x4cfd70
mov edi, edi
mov edx, dword [esi + 0x20]
mov eax, dword [edx + edi*4]
test eax, eax
jns 0x4cfd51
mov eax, 0xa
jmp 0x4cfd68
cmp eax, 0x80
jae 0x4cfd5f
mov eax, 1
jmp 0x4cfd68
push eax
call fcn.004bf7b0
add esp, 4
inc edi
add ebx, eax
cmp edi, dword [esi + 0x24]
jl 0x4cfd40
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 0x4cfdb1
mov ecx, dword [esi + 0x2c]
mov eax, dword [ecx + edi*4]
test eax, eax
jns 0x4cfd92
mov eax, 0xa
jmp 0x4cfda9
cmp eax, 0x80
jae 0x4cfda0
mov eax, 1
jmp 0x4cfda9
push eax
call fcn.004bf7b0
add esp, 4
inc edi
add ebx, eax
cmp edi, dword [esi + 0x30]
jl 0x4cfd81
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 0x4cfe03
jmp 0x4cfdd0
mov eax, dword [esi + 0x38]
mov ecx, dword [eax + edi*4]
call fcn.004ce070
mov ebx, eax
cmp ebx, 0x80
jae 0x4cfdec
mov eax, 1
jmp 0x4cfdf5
push ebx
call fcn.004bf7b0
add esp, 4
add eax, ebx
add dword [ebp - 8], eax
inc edi
cmp edi, dword [esi + 0x3c]
jl 0x4cfdd0
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 0x4cfe44
mov ecx, dword [esi + 0x48]
mov ecx, dword [ecx + edi*4]
call fcn.004cb590
mov ebx, eax
cmp ebx, 0x80
jae 0x4cfe2d
mov eax, 1
jmp 0x4cfe36
push ebx
call fcn.004bf7b0
add esp, 4
add eax, ebx
add dword [ebp - 8], eax
inc edi
cmp edi, dword [esi + 0x4c]
jl 0x4cfe11
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 0x4cfe85
mov edx, dword [esi + 0x58]
mov ecx, dword [edx + edi*4]
call fcn.004cb770
mov ebx, eax
cmp ebx, 0x80
jae 0x4cfe6e
mov eax, 1
jmp 0x4cfe77
push ebx
call fcn.004bf7b0
add esp, 4
add eax, ebx
add dword [ebp - 8], eax
inc edi
cmp edi, dword [esi + 0x5c]
jl 0x4cfe52
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 0x4cfec6
mov eax, dword [esi + 0x68]
mov ecx, dword [eax + edi*4]
call fcn.004ca630
mov ebx, eax
cmp ebx, 0x80
jae 0x4cfeaf
mov eax, 1
jmp 0x4cfeb8
push ebx
call fcn.004bf7b0
add esp, 4
add eax, ebx
add dword [ebp - 8], eax
inc edi
cmp edi, dword [esi + 0x6c]
jl 0x4cfe93
mov ebx, dword [ebp - 8]
mov ecx, dword [esi + 4]
lea eax, [esi + 4]
test ecx, ecx
je 0x4cfee2
mov edx, dword [ecx]
cmp edx, dword [ecx + 4]
je 0x4cfee2
push eax
call fcn.004bb2f0
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.00482279
mov esp, ebp
pop ebp
ret