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

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x78], 0xfffffffe
jne 0xc5faae
mov al, byte [esi + 0x84]
test al, al
jne 0xc5fa51
mov ecx, dword [esi + 0x80]
mov eax, 1
shl eax, cl
lea ecx, [esi + 0x10]
push eax
call fcn.00beb939
test al, al
jne 0xc5fa4a
pop edi
pop esi
pop ebp
mov eax, 0x8007000e
pop ebx
add esp, 0xc
ret 4
mov ecx, esi
call fcn.00c5f894
push 0x100000
lea ecx, [esi + 0x50]
call fcn.00be9e5d
test al, al
jne 0xc5fa71
pop edi
pop esi
pop ebp
mov eax, 0x8007000e
pop ebx
add esp, 0xc
ret 4
lea edi, [esi + 0x48]
lea ecx, [edi + 8]
call fcn.00be9ebb
xor ebx, ebx
mov dword [edi], 0x10000
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], 0x10000
mov ebp, 0x10
mov ecx, edi
call fcn.00c5fe74
lea ecx, [ebx + ebx]
or eax, ecx
dec ebp
mov ebx, eax
jne 0xc5fa93
mov dword [esi + 0x40], ebx
mov dword [esi + 0x78], 0
mov edi, dword [esp + 0x20]
test edi, edi
jne 0xc5fac2
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret 4
mov eax, dword [esi + 0x78]
test eax, eax
jle 0xc5fb18
test edi, edi
jbe 0xc5fe51
mov edx, dword [esi + 0x7c]
dec eax
lea ecx, [esi + 0x10]
mov dword [esi + 0x78], eax
mov eax, dword [ecx + 4]
sub eax, edx
mov edx, dword [ecx + 0x10]
dec eax
cmp eax, edx
jb 0xc5faea
add eax, edx
mov edx, dword [ecx]
mov ebx, dword [ecx + 4]
mov ebp, edx
mov al, byte [edx + eax]
mov byte [ebx + ebp], al
mov ebx, dword [ecx + 4]
mov edx, dword [ecx + 8]
inc ebx
mov eax, ebx
mov dword [ecx + 4], ebx
cmp eax, edx
jne 0xc5fb0c
call fcn.00beba81
mov eax, dword [esi + 0x78]
dec edi
test eax, eax
jg 0xc5fac9
mov dword [esp + 0x20], edi
test edi, edi
jbe 0xc5fe55
mov al, byte [esi + 0x6c]
test al, al
jne 0xc5fe28
mov eax, dword [esi + 0x40]
lea ebp, [esi + 0x90]
xor ecx, ecx
inc eax
mov cx, word [ebp]
xor edx, edx
imul eax, ecx
dec eax
xor ebx, ebx
div dword [esi + 0x3c]
mov bx, word [esi + 0x92]
lea edx, [esi + 0x92]
mov edi, 1
cmp ebx, eax
jbe 0xc5fb69
add edx, 2
xor ebx, ebx
inc edi
mov bx, word [edx]
cmp ebx, eax
ja 0xc5fb5c
push ecx
xor ecx, ecx
mov cx, word [esi + edi*2 + 0x8e]
xor edx, edx
mov dx, word [esi + edi*2 + 0x90]
push ecx
push edx
lea ecx, [esi + 0x38]
call fcn.00c5fec4
dec edi
xor ebx, ebx
mov bl, byte [edi + esi + 0x112]
lea eax, [esi + edi*2 + 0x90]
mov dword [esp + 0x10], ebx
add word [eax], 8
mov ecx, edi
dec edi
sub eax, 2
test ecx, ecx
jne 0xc5fb9d
cmp word [ebp], 0xed8
jbe 0xc5fcc4
mov eax, dword [esi + 0x8c]
dec eax
mov dword [esi + 0x8c], eax
jne 0xc5fc99
mov eax, dword [esi + 0x88]
mov dword [esi + 0x8c], 0x32
test eax, eax
jbe 0xc5fc02
mov eax, ebp
xor edx, edx
xor edi, edi
mov dx, word [eax + 2]
mov di, word [eax]
sub edi, edx
add eax, 2
inc edi
sar edi, 1
mov word [eax - 2], di
mov edx, dword [esi + 0x88]
inc ecx
cmp ecx, edx
jb 0xc5fbe0
mov edx, dword [esi + 0x88]
xor eax, eax
lea ecx, [edx - 1]
test ecx, ecx
jbe 0xc5fc7f
lea ecx, [eax + 1]
cmp ecx, edx
mov dword [esp + 0x18], ecx
jae 0xc5fc6d
lea edi, [ebp + 2]
mov dx, word [ebp]
mov bx, word [edi]
cmp dx, bx
mov dword [esp + 0x14], edx
jae 0xc5fc57
mov dl, byte [esi + eax + 0x112]
mov word [ebp], bx
mov bl, byte [esi + ecx + 0x112]
mov byte [esi + eax + 0x112], bl
mov bx, word [esp + 0x14]
mov word [edi], bx
mov byte [esi + ecx + 0x112], dl
mov edx, dword [esi + 0x88]
inc ecx
add edi, 2
cmp ecx, edx
jb 0xc5fc1f
mov ebx, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov edx, dword [esi + 0x88]
mov eax, ecx
add ebp, 2
lea ecx, [edx - 1]
cmp eax, ecx
jb 0xc5fc11
lea ecx, [esi + eax*2 + 0x90]
mov dx, word [ecx + 2]
add word [ecx], dx
mov edx, eax
dec eax
sub ecx, 2
test edx, edx
jne 0xc5fc86
jmp 0xc5fcc4
mov ecx, dword [esi + 0x88]
dec ecx
lea eax, [esi + ecx*2 + 0x90]
shr word [eax], 1
mov di, word [eax]
mov dx, word [eax + 2]
cmp di, dx
ja 0xc5fcba
inc edx
mov word [eax], dx
mov edx, ecx
dec ecx
sub eax, 2
test edx, edx
jne 0xc5fca7
cmp ebx, 4
jae 0xc5fd12
lea eax, [esi + 0x38]
push eax
mov eax, ebx
shl eax, 4
add eax, ebx
lea eax, [eax + eax*2]
lea ecx, [esi + eax*4 + 0x154]
call fcn.00c5ffa4
mov edx, dword [esi + 0x14]
mov edi, dword [esi + 0x10]
lea ecx, [esi + 0x10]
shl bl, 6
add al, bl
mov byte [edx + edi], al
mov edi, dword [ecx + 4]
mov edx, dword [ecx + 8]
inc edi
mov eax, edi
mov dword [ecx + 4], edi
cmp eax, edx
jne 0xc5fd09
call fcn.00beba81
dec dword [esp + 0x20]
jmp 0xc5fe08
add ebx, 0xfffffffc
cmp ebx, 2
mov dword [esp + 0x18], ebx
lea edi, [ebx + 3]
mov dword [esp + 0x10], edi
jne 0xc5fd8a
lea eax, [esi + 0x38]
lea ecx, [esi + 0x6e8]
push eax
call fcn.00c5ffa4
cmp eax, 6
jb 0xc5fd7e
sub eax, ebx
mov ecx, eax
and eax, 3
shr ecx, 2
or al, 4
shl eax, cl
cmp ecx, 6
lea eax, [edi + eax - 2]
mov dword [esp + 0x10], eax
jge 0xc5fd86
mov ebp, ecx
xor edi, edi
lea ebx, [esi + 0x48]
mov ecx, ebx
call fcn.00c5fe74
lea ecx, [edi + edi]
or eax, ecx
dec ebp
mov edi, eax
jne 0xc5fd5b
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x18]
add eax, edi
mov dword [esp + 0x10], eax
mov edi, eax
jmp 0xc5fd8a
add edi, eax
mov dword [esp + 0x10], edi
jmp 0xc5fd8a
mov edi, dword [esp + 0x10]
lea eax, [esi + 0x38]
push eax
mov eax, ebx
shl eax, 4
add eax, ebx
lea edx, [eax + eax*2]
lea ecx, [esi + edx*4 + 0x484]
call fcn.00c5ffa4
mov ebp, eax
cmp ebp, 4
jb 0xc5fde0
mov edi, ebp
shr edi, 1
dec edi
xor ebx, ebx
mov dword [esp + 0x14], edi
lea ecx, [esi + 0x48]
call fcn.00c5fe74
lea ecx, [ebx + ebx]
or eax, ecx
mov ebx, eax
mov eax, dword [esp + 0x14]
dec eax
mov dword [esp + 0x14], eax
jne 0xc5fdb6
and ebp, 1
mov ecx, edi
mov edi, dword [esp + 0x10]
or ebp, 2
shl ebp, cl
add ebp, ebx
mov eax, dword [esp + 0x20]
mov ebx, edi
cmp edi, eax
jbe 0xc5fdec
mov ebx, eax
push ebx
push ebp
lea ecx, [esi + 0x10]
call fcn.00bf4faa
test al, al
je 0xc5fe28
mov ecx, dword [esp + 0x20]
sub ecx, ebx
sub edi, ebx
mov dword [esp + 0x20], ecx
jne 0xc5fe37
mov eax, dword [esp + 0x20]
test eax, eax
ja 0xc5fb20
mov cl, byte [esi + 0x6c]
xor eax, eax
pop edi
pop esi
test cl, cl
pop ebp
pop ebx
setne al
add esp, 0xc
ret 4
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xc
ret 4
mov dword [esi + 0x78], edi
mov dword [esi + 0x7c], ebp
mov cl, byte [esi + 0x6c]
xor eax, eax
pop edi
pop esi
test cl, cl
pop ebp
pop ebx
setne al
add esp, 0xc
ret 4
mov dword [esp + 0x20], edi
mov cl, byte [esi + 0x6c]
xor eax, eax
pop edi
pop esi
test cl, cl
pop ebp
pop ebx
setne al
add esp, 0xc
ret 4