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

Disassembly:
sub esp, 0x7c
push ebx
mov ebx, dword [esp + 0x90]
push ebp
push esi
push edi
cmp ebx, 0xa
jb 0x100cf61e
mov edx, dword [esp + 0x94]
mov edi, dword [esp + 0x90]
mov ecx, dword [esp + 0xa0]
lea eax, [edi + edx]
mov dword [esp + 0x38], eax
lea ebp, [ecx + 4]
mov eax, dword [esp + 0x98]
mov dword [esp + 0x10], ebp
movzx esi, word [eax]
mov dword [esp + 0x3c], esi
movzx esi, word [eax + 2]
mov dword [esp + 0x20], esi
movzx esi, word [eax + 4]
mov dword [esp + 0x24], esi
mov esi, ebx
movzx ebx, word [eax]
add eax, 6
sub esi, dword [esp + 0x24]
sub esi, dword [esp + 0x20]
mov dword [esp + 0x40], eax
sub esi, ebx
add ebx, eax
sub esi, 6
mov eax, dword [esp + 0x20]
add eax, ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x28], eax
lea eax, [edx + 3]
shr eax, 2
lea edx, [eax + edi]
lea ebx, [edx + eax]
mov dword [esp + 0x48], edx
add eax, ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], eax
mov dword [esp + 0x18], ebx
mov ebx, eax
mov eax, dword [ecx]
shr eax, 0x10
movzx eax, al
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x2c], eax
cmp esi, dword [esp + 0x9c]
ja 0x100cf61e
push dword [esp + 0x3c]
lea eax, [esp + 0x80]
push dword [esp + 0x44]
push eax
call fcn.100ce6f0
cmp eax, 0xffffff88
ja 0x100cf623
push dword [esp + 0x20]
lea eax, [esp + 0x70]
push dword [esp + 0x48]
push eax
call fcn.100ce6f0
cmp eax, 0xffffff88
ja 0x100cf623
push dword [esp + 0x24]
lea eax, [esp + 0x60]
push dword [esp + 0x2c]
push eax
call fcn.100ce6f0
cmp eax, 0xffffff88
ja 0x100cf623
mov eax, dword [esp + 0x24]
add eax, dword [esp + 0x28]
push esi
push eax
lea eax, [esp + 0x54]
push eax
call fcn.100ce6f0
cmp eax, 0xffffff88
ja 0x100cf623
lea eax, [esp + 0x4c]
push eax
call fcn.100c6910
mov esi, eax
lea eax, [esp + 0x5c]
push eax
call fcn.100c6910
or esi, eax
lea eax, [esp + 0x6c]
push eax
call fcn.100c6910
or esi, eax
lea eax, [esp + 0x7c]
push eax
call fcn.100c6910
or esi, eax
jne 0x100cf55f
mov eax, dword [esp + 0x38]
add eax, 0xfffffff9
mov dword [esp + 0x44], eax
cmp ebx, eax
jae 0x100cf558
mov edi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x80]
neg edi
mov edx, dword [esp + 0x7c]
and ecx, 0x1f
shl edx, cl
and edi, 0x1f
mov eax, dword [esp + 0x10]
mov ecx, edi
shr edx, cl
mov ecx, dword [esp + 0x90]
mov esi, dword [esp + 0x50]
mov dword [esp + 0x24], edi
movzx eax, byte [eax + edx*2]
movzx ebp, byte [ebp + edx*2 + 1]
mov byte [ecx], al
inc ecx
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x90], ecx
mov ecx, dword [esp + 0x70]
and ecx, 0x1f
add ebp, dword [esp + 0x80]
shl edx, cl
mov ecx, edi
shr edx, cl
mov ecx, dword [esp + 0x10]
movzx ebx, byte [ecx + edx*2 + 1]
movzx eax, byte [ecx + edx*2]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x5c]
add ebx, dword [esp + 0x70]
mov byte [ecx], al
inc ecx
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x60]
and ecx, 0x1f
shl edx, cl
mov ecx, edi
shr edx, cl
mov ecx, dword [esp + 0x10]
movzx edi, byte [ecx + edx*2 + 1]
movzx eax, byte [ecx + edx*2]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x4c]
add edi, dword [esp + 0x60]
mov byte [ecx], al
inc ecx
mov dword [esp + 0x18], ecx
mov ecx, esi
and ecx, 0x1f
shl edx, cl
mov ecx, dword [esp + 0x24]
shr edx, cl
mov ecx, dword [esp + 0x10]
movzx eax, byte [ecx + edx*2 + 1]
add esi, eax
movzx eax, byte [ecx + edx*2]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x7c]
mov byte [ecx], al
inc ecx
mov dword [esp + 0x1c], ecx
mov ecx, ebp
and ecx, 0x1f
shl edx, cl
mov ecx, dword [esp + 0x24]
shr edx, cl
mov ecx, dword [esp + 0x10]
movzx eax, byte [ecx + edx*2 + 1]
add eax, ebp
mov ebp, dword [esp + 0x24]
mov dword [esp + 0x80], eax
movzx eax, byte [ecx + edx*2]
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x6c]
mov byte [ecx], al
inc ecx
mov dword [esp + 0x90], ecx
mov ecx, ebx
and ecx, 0x1f
shl edx, cl
mov eax, dword [esp + 0x10]
mov ecx, ebp
shr edx, cl
mov ecx, dword [esp + 0x14]
movzx eax, byte [eax + edx*2 + 1]
add eax, ebx
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x70], eax
movzx eax, byte [ebx + edx*2]
mov edx, dword [esp + 0x5c]
mov byte [ecx], al
inc ecx
mov dword [esp + 0x14], ecx
mov ecx, edi
and ecx, 0x1f
shl edx, cl
mov ecx, ebp
shr edx, cl
mov ecx, dword [esp + 0x18]
movzx eax, byte [ebx + edx*2 + 1]
add eax, edi
mov dword [esp + 0x60], eax
movzx eax, byte [ebx + edx*2]
mov edx, dword [esp + 0x4c]
mov byte [ecx], al
inc ecx
mov dword [esp + 0x18], ecx
mov ecx, esi
and ecx, 0x1f
shl edx, cl
mov ecx, ebp
shr edx, cl
movzx eax, byte [ebx + edx*2 + 1]
add eax, esi
mov dword [esp + 0x50], eax
movzx eax, byte [ebx + edx*2]
mov ebx, dword [esp + 0x1c]
mov byte [ebx], al
lea eax, [esp + 0x4c]
inc ebx
push eax
mov dword [esp + 0x20], ebx
call fcn.100c6910
mov esi, eax
lea eax, [esp + 0x5c]
push eax
call fcn.100c6910
or esi, eax
lea eax, [esp + 0x6c]
push eax
call fcn.100c6910
or esi, eax
lea eax, [esp + 0x7c]
push eax
call fcn.100c6910
mov ebp, dword [esp + 0x10]
or esi, eax
mov eax, dword [esp + 0x44]
je 0x100cf384
mov edi, dword [esp + 0x90]
mov eax, dword [esp + 0x48]
cmp edi, eax
ja 0x100cf61e
mov ecx, dword [esp + 0x30]
cmp dword [esp + 0x14], ecx
ja 0x100cf61e
mov ecx, dword [esp + 0x34]
cmp dword [esp + 0x18], ecx
ja 0x100cf61e
mov esi, dword [esp + 0x2c]
push esi
push ebp
push eax
lea eax, [esp + 0x88]
push eax
push edi
call fcn.100c7720
push esi
push ebp
push dword [esp + 0x38]
lea eax, [esp + 0x78]
push eax
push dword [esp + 0x24]
call fcn.100c7720
push esi
push ebp
push dword [esp + 0x3c]
lea eax, [esp + 0x68]
push eax
push dword [esp + 0x28]
call fcn.100c7720
push esi
push ebp
push dword [esp + 0x40]
lea eax, [esp + 0x58]
push eax
push ebx
call fcn.100c7720
lea eax, [esp + 0x4c]
push eax
call fcn.100bcbb0
mov edx, eax
lea eax, [esp + 0x5c]
push eax
call fcn.100bcbb0
and edx, eax
lea eax, [esp + 0x6c]
push eax
call fcn.100bcbb0
and edx, eax
lea eax, [esp + 0x7c]
push eax
call fcn.100bcbb0
pop edi
pop esi
test eax, edx
mov ecx, 0xffffffec
mov eax, dword [esp + 0x8c]
pop ebp
cmove eax, ecx
pop ebx
add esp, 0x7c
ret 0x14
mov eax, 0xffffffec
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x7c
ret 0x14