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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x44
push ebx
push esi
mov esi, dword [ecx + 4]
push edi
mov edi, dword [ecx + 0x18]
mov dword [esp + 0x24], esi
mov esi, dword [esi + 4]
mov ebx, edx
mov eax, dword [esi]
mov dword [esp + 0x20], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x34], ecx
mov eax, dword [eax + 0x24]
mov ecx, dword [esi + 0x24]
cmp eax, ecx
mov edx, ecx
cmovl edx, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x44], edx
cdq
mov dword [esp + 0x28], ecx
mov ecx, eax
mov eax, edx
push eax
push ecx
push 0
push ebx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x3c], eax
call fcn.100070f0
mov ecx, dword [edi + 4]
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x38], eax
mov eax, dword [ecx + 0x24]
sub eax, dword [ecx + 0x28]
cmp byte [ebx + 9], 0
mov dword [esp + 0x3c], edx
mov dword [esp + 0x10], eax
je 0x100cc377
inc dword [ebx + 0xc]
cmp byte [ebx + 0xa], 0
jne 0x100cc377
mov ecx, ebx
call fcn.100d79b0
mov eax, dword [ebx + 4]
mov esi, dword [eax + 0x24]
sub esi, dword [eax + 0x28]
movzx eax, byte [eax + 0x16]
cmp esi, eax
cmovl esi, eax
cmp byte [ebx + 9], 0
je 0x100cc39b
dec dword [ebx + 0xc]
jne 0x100cc39b
mov ecx, ebx
call fcn.100d7a70
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
xor edi, edi
lea eax, [edi + 8]
cmp ebx, dword [esp + 0x28]
je 0x100cc3bf
cmp byte [ecx + 0xc], 0
cmovne edi, eax
cmp dword [ecx + 0xd8], 0
cmovne edi, eax
mov eax, dword [esp + 0x10]
cmp eax, esi
je 0x100cc3ea
push eax
lea edx, [esp + 0x28]
mov dword [esp + 0x28], ebx
call fcn.100dddb0
mov edi, eax
add esp, 4
test edi, edi
jne 0x100cc3ea
cmp dword [esp + 0x24], ebx
mov eax, 8
cmovne edi, eax
mov edx, dword [esp + 0x38]
mov esi, dword [esp + 0x3c]
mov ecx, edx
sub ecx, dword [esp + 0x30]
mov ebx, esi
sbb ebx, dword [esp + 0x2c]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x1c], ebx
test edi, edi
jne 0x100cc5ed
mov edi, edi
cmp ebx, esi
jg 0x100cc5ed
jl 0x100cc422
cmp ecx, edx
jae 0x100cc5ed
mov eax, dword [esp + 0x28]
cdq
push edx
push eax
push ebx
push ecx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], edx
call fcn.1000a9e0
mov dword [esp + 0x40], ecx
lea ecx, [eax + 1]
mov eax, dword [esp + 0x34]
mov dword [esp + 0x14], ebx
mov eax, dword [eax + 4]
mov dword [esp + 0x14], edx
mov esi, dword [eax + 4]
mov eax, dword [0x101270ac]
xor edx, edx
div dword [esi + 0x24]
inc eax
cmp ecx, eax
je 0x100cc5c4
push 0
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0x28]
push ecx
push eax
mov eax, dword [eax + 0xc8]
call eax
mov edi, eax
add esp, 0x10
mov dword [esp + 0x10], edi
test edi, edi
jne 0x100cc56c
mov esi, dword [esp + 0xc]
test byte [esi + 0x1c], 4
mov ecx, dword [esi + 0x14]
je 0x100cc4dc
mov eax, dword [ecx + 0x18]
cmp eax, dword [esi + 0x18]
jb 0x100cc4dc
cmp dword [ecx + 0x60], edi
je 0x100cc4d4
mov ecx, esi
call fcn.100e0e80
test eax, eax
je 0x100cc4ca
mov ecx, esi
call fcn.100dd450
mov esi, dword [esp + 0xc]
mov dword [esp + 0x10], eax
mov edi, eax
jmp 0x100cc511
xor eax, eax
mov dword [esp + 0x10], eax
mov edi, eax
jmp 0x100cc511
xor edi, edi
mov dword [esp + 0x10], edi
jmp 0x100cc515
mov edi, dword [ecx + 0x28]
mov dword [esp + 0x10], edi
test edi, edi
jne 0x100cc570
mov eax, dword [ecx + 0x94]
cmp eax, dword [ecx + 0x98]
mov ecx, esi
jbe 0x100cc502
call fcn.100dbe60
jmp 0x100cc507
call fcn.100dc0b0
mov esi, dword [esp + 0xc]
mov edi, eax
mov dword [esp + 0x10], edi
test edi, edi
jne 0x100cc570
push dword [esp + 0x44]
mov ebx, dword [esp + 0x28]
push dword [esp + 0x30]
mov esi, dword [esi + 4]
push dword [esp + 0x38]
add esi, dword [esp + 0x4c]
push dword [esp + 0x28]
push ebx
call fcn.10004030
add eax, dword [ebp + 8]
push eax
push esi
call fcn.100086a0
mov eax, dword [esp + 0x18]
add esp, 0xc
mov eax, dword [eax + 8]
mov byte [eax], 0
mov eax, ebx
or eax, dword [esp + 0x1c]
jne 0x100cc56c
cmp dword [ebp + 0xc], eax
jne 0x100cc56c
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x30]
bswap eax
mov dword [esi + 0x1c], eax
mov esi, dword [esp + 0xc]
test esi, esi
je 0x100cc5c4
test byte [esi + 0x1c], 0x20
je 0x100cc5bd
mov eax, dword [esi + 0x14]
dec dword [eax + 0x78]
mov ecx, dword [eax + 0x88]
mov dword [esi + 0x10], ecx
mov edi, dword [eax + 0x3c]
mov dword [eax + 0x88], esi
push dword [esi + 4]
mov eax, dword [eax + 0x98]
mov ecx, dword [esi + 0x18]
mov ebx, dword [edi]
cdq
push edx
push eax
dec ecx
push 0
push ecx
call fcn.100070f0
push edx
push eax
mov eax, dword [ebx + 0x48]
push edi
call eax
mov edi, dword [esp + 0x20]
add esp, 0x10
jmp 0x100cc5c4
mov ecx, esi
call fcn.100e2fe0
mov ecx, dword [esp + 0x24]
add ecx, dword [esp + 0x48]
mov ebx, dword [esp + 0x1c]
adc ebx, dword [esp + 0x4c]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x1c], ebx
test edi, edi
jne 0x100cc5ed
mov edx, dword [esp + 0x38]
mov esi, dword [esp + 0x3c]
jmp 0x100cc410
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret