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

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0xcaf584]
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 0xc5fbeb
test byte [esi + 0x84], 1
je 0xc5fbb3
mov edi, dword [esi + 8]
mov eax, dword [edi + 0x10]
cmp eax, 0x80
jae 0xc5fba0
lea eax, [ebx + 1]
jmp 0xc5fba9
push eax
call fcn.00c4f770
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 0xc5fbeb
mov edi, dword [esi + 0xc]
mov eax, dword [edi + 0x10]
cmp eax, 0x80
jae 0xc5fbd3
mov eax, 1
jmp 0xc5fbdc
push eax
call fcn.00c4f770
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 0xc5fc8b
shr eax, 9
test al, 1
je 0xc5fc40
mov eax, dword [esi + 0x78]
cmp eax, ebx
jne 0xc5fc13
mov ecx, dword [0xcb70d4]
mov eax, dword [ecx + 0x78]
mov ecx, eax
call fcn.00c58d60
mov edi, eax
cmp edi, 0x80
jae 0xc5fc2b
mov eax, 1
jmp 0xc5fc34
push edi
call fcn.00c4f770
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 0xc5fc8b
mov eax, dword [esi + 0x7c]
cmp eax, ebx
jne 0xc5fc5e
mov edx, dword [0xcb70d4]
mov eax, dword [edx + 0x7c]
mov ecx, eax
call fcn.00c57b00
mov edi, eax
cmp edi, 0x80
jae 0xc5fc76
mov eax, 1
jmp 0xc5fc7f
push edi
call fcn.00c4f770
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 0xc5fcc5
mov eax, dword [esi + 0x10]
mov ebx, dword [eax + edi*4]
mov eax, dword [ebx + 0x10]
cmp eax, 0x80
jae 0xc5fcae
mov eax, 1
jmp 0xc5fcb7
push eax
call fcn.00c4f770
add esp, 4
mov ecx, dword [ebx + 0x10]
add ecx, eax
add dword [ebp - 8], ecx
inc edi
cmp edi, dword [esi + 0x14]
jl 0xc5fc97
xor ebx, ebx
xor edi, edi
cmp dword [esi + 0x24], ebx
jle 0xc5fd00
mov edi, edi
mov edx, dword [esi + 0x20]
mov eax, dword [edx + edi*4]
test eax, eax
jns 0xc5fce1
mov eax, 0xa
jmp 0xc5fcf8
cmp eax, 0x80
jae 0xc5fcef
mov eax, 1
jmp 0xc5fcf8
push eax
call fcn.00c4f770
add esp, 4
inc edi
add ebx, eax
cmp edi, dword [esi + 0x24]
jl 0xc5fcd0
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 0xc5fd41
mov ecx, dword [esi + 0x2c]
mov eax, dword [ecx + edi*4]
test eax, eax
jns 0xc5fd22
mov eax, 0xa
jmp 0xc5fd39
cmp eax, 0x80
jae 0xc5fd30
mov eax, 1
jmp 0xc5fd39
push eax
call fcn.00c4f770
add esp, 4
inc edi
add ebx, eax
cmp edi, dword [esi + 0x30]
jl 0xc5fd11
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 0xc5fd93
jmp 0xc5fd60
mov eax, dword [esi + 0x38]
mov ecx, dword [eax + edi*4]
call fcn.00c5dff0
mov ebx, eax
cmp ebx, 0x80
jae 0xc5fd7c
mov eax, 1
jmp 0xc5fd85
push ebx
call fcn.00c4f770
add esp, 4
add eax, ebx
add dword [ebp - 8], eax
inc edi
cmp edi, dword [esi + 0x3c]
jl 0xc5fd60
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 0xc5fdd4
mov ecx, dword [esi + 0x48]
mov ecx, dword [ecx + edi*4]
call fcn.00c5b510
mov ebx, eax
cmp ebx, 0x80
jae 0xc5fdbd
mov eax, 1
jmp 0xc5fdc6
push ebx
call fcn.00c4f770
add esp, 4
add eax, ebx
add dword [ebp - 8], eax
inc edi
cmp edi, dword [esi + 0x4c]
jl 0xc5fda1
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 0xc5fe15
mov edx, dword [esi + 0x58]
mov ecx, dword [edx + edi*4]
call fcn.00c5b6f0
mov ebx, eax
cmp ebx, 0x80
jae 0xc5fdfe
mov eax, 1
jmp 0xc5fe07
push ebx
call fcn.00c4f770
add esp, 4
add eax, ebx
add dword [ebp - 8], eax
inc edi
cmp edi, dword [esi + 0x5c]
jl 0xc5fde2
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 0xc5fe56
mov eax, dword [esi + 0x68]
mov ecx, dword [eax + edi*4]
call fcn.00c5a5b0
mov ebx, eax
cmp ebx, 0x80
jae 0xc5fe3f
mov eax, 1
jmp 0xc5fe48
push ebx
call fcn.00c4f770
add esp, 4
add eax, ebx
add dword [ebp - 8], eax
inc edi
cmp edi, dword [esi + 0x6c]
jl 0xc5fe23
mov ebx, dword [ebp - 8]
mov ecx, dword [esi + 4]
lea eax, [esi + 4]
test ecx, ecx
je 0xc5fe72
mov edx, dword [ecx]
cmp edx, dword [ecx + 4]
je 0xc5fe72
push eax
call fcn.00c4b2b0
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.00c12239
mov esp, ebp
pop ebp
ret