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

Disassembly:
mov edx, dword [esp + 0x10]
sub esp, 0x7c
push ebx
push ebp
push esi
push edi
cmp edx, 0xa
jb 0x100cbe20
mov ecx, dword [esp + 0x94]
mov edi, dword [esp + 0x90]
lea eax, [edi + ecx]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0xa0]
lea ebp, [eax + 2]
movzx eax, word [eax]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 0x10], ebp
movzx ebx, word [eax + 2]
movzx esi, word [eax]
mov dword [esp + 0x20], ebx
movzx ebx, word [eax + 4]
add eax, 6
mov dword [esp + 0x40], eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x3c], esi
lea ebx, [eax + esi]
mov eax, dword [esp + 0x20]
add eax, ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x28], eax
mov esi, edx
sub esi, dword [esp + 0x24]
lea eax, [ecx + 3]
sub esi, dword [esp + 0x20]
shr eax, 2
lea ecx, [eax + edi]
lea ebx, [ecx + eax]
mov dword [esp + 0x48], ecx
add eax, ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x18], ebx
mov ebx, eax
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x3c]
sub esi, eax
sub esi, 6
mov dword [esp + 0x14], ecx
mov dword [esp + 0x1c], ebx
cmp esi, edx
ja 0x100cbe20
push eax
push dword [esp + 0x44]
lea eax, [esp + 0x84]
push eax
call fcn.100cad40
cmp eax, 0xffffff88
ja 0x100cbe25
push dword [esp + 0x20]
lea eax, [esp + 0x70]
push dword [esp + 0x48]
push eax
call fcn.100cad40
cmp eax, 0xffffff88
ja 0x100cbe25
push dword [esp + 0x24]
lea eax, [esp + 0x60]
push dword [esp + 0x2c]
push eax
call fcn.100cad40
cmp eax, 0xffffff88
ja 0x100cbe25
mov eax, dword [esp + 0x24]
add eax, dword [esp + 0x28]
push esi
push eax
lea eax, [esp + 0x54]
push eax
call fcn.100cad40
cmp eax, 0xffffff88
ja 0x100cbe25
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 0x100cbd61
mov eax, dword [esp + 0x38]
add eax, 0xfffffff9
mov dword [esp + 0x44], eax
cmp ebx, eax
jae 0x100cbd5a
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 0x100cbb86
mov edi, dword [esp + 0x90]
mov eax, dword [esp + 0x48]
cmp edi, eax
ja 0x100cbe20
mov ecx, dword [esp + 0x30]
cmp dword [esp + 0x14], ecx
ja 0x100cbe20
mov ecx, dword [esp + 0x34]
cmp dword [esp + 0x18], ecx
ja 0x100cbe20
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