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

Disassembly:
sub esp, 0x60
mov eax, dword [0x1013567c]
xor eax, esp
mov dword [esp + 0x5c], eax
push ebx
mov ebx, dword [esp + 0x68]
push ebp
push esi
push edi
mov edi, dword [esp + 0x78]
xor ebp, ebp
mov eax, dword [ebx + 0x48]
inc ebp
mov dword [esp + 0x54], eax
mov dword [esp + 0x3c], edi
mov eax, dword [edi + 0xb4]
mov esi, dword [edi + 0x154]
and eax, 2
mov dword [esp + 0x40], eax
mov eax, dword [edi + 0xd0]
test eax, eax
je 0x100cc2a0
push eax
push edi
push ebx
call fcn.100cb5de
push 8
pop ecx
mov word [esp + 0x28], cx
lea ecx, [esp + 0x28]
push ecx
push eax
push ebx
mov dword [edi + 0xd0], eax
mov dword [esp + 0x44], eax
call fcn.100ccb8a
push ebp
push dword [edi + 0xd0]
push ebx
call fcn.100cb56b
mov dword [edi + 0xd0], eax
test esi, esi
jne 0x100cc2a0
mov eax, dword [edi + 0x154]
test eax, eax
jle 0x100cc2a0
or dword [edi + 0xb8], 2
mov esi, eax
mov ecx, dword [edi + 0xd4]
test ecx, ecx
je 0x100cc33a
movzx edx, word [edi + 0xbc]
push 6
pop ebp
cmp dx, bp
je 0x100cc882
test byte [edi + 0xb4], 0x20
jne 0x100cc882
push ecx
push edi
push ebx
call fcn.100cb5de
lea ecx, [esp + 0x28]
mov dword [edi + 0xd4], eax
push ecx
xor ebp, ebp
mov dword [esp + 0x3c], eax
push eax
inc ebp
push ebx
mov word [esp + 0x34], bp
call fcn.100ccb8a
test byte [esp + 0x28], 2
je 0x100cc302
or dword [edi + 0xb4], 0x10
push ebp
push dword [edi + 0xd4]
push ebx
call fcn.100cb56b
mov dword [edi + 0xd4], eax
test esi, esi
jne 0x100cc32b
mov eax, dword [edi + 0x154]
test eax, eax
jle 0x100cc32b
or dword [edi + 0xb8], ebp
mov esi, eax
cmp dword [edi + 0x154], esi
je 0x100cc33a
and dword [edi + 0xb8], 0xfffffffd
mov eax, dword [edi + 0xdc]
test eax, eax
jle 0x100cc6c0
imul ecx, dword [edi + 8], 0x34
mov edx, dword [edi + 4]
mov ebp, dword [edi + 0xd8]
and dword [esp + 0x44], 0
imul esi, eax, 0x34
add ecx, edx
mov dword [esp + 0x20], edx
push 9
mov dword [esp + 0x28], ecx
pop eax
add esi, ebp
cmp dword [esp + 0x40], 0
mov dword [esp + 0x4c], esi
jne 0x100cc380
cmp word [edi + 0xbc], ax
jne 0x100cc3a0
push 0x20
push ebx
call fcn.10091787
mov dword [esp + 0x44], eax
test eax, eax
jne 0x100cc39a
push 0xfffff401
jmp 0x100cc8a9
mov word [eax + 4], 0xa
cmp ebp, esi
jae 0x100cc6c0
add ebp, 0x28
mov dword [esp + 0x48], ebp
push dword [ebp - 0x24]
push edi
push ebx
call fcn.100cb5de
mov esi, eax
mov eax, dword [ebp]
or eax, 0x20000
push 9
pop ecx
mov dword [ebp], eax
cmp word [edi + 0xbc], cx
jne 0x100cc3da
or eax, 0x10000
mov dword [ebp], eax
and dword [esp + 0x10], 0
test byte [edi + 0xb4], 0x20
jne 0x100cc4cf
cmp byte [esi + 4], 7
jne 0x100cc4cf
mov al, byte [esi + 6]
cmp al, 2
je 0x100cc405
cmp al, 3
jne 0x100cc4cf
mov eax, dword [esi + 8]
and eax, 0x7fff
cmp eax, 2
jne 0x100cc418
movsx esi, word [esi + 0x14]
jmp 0x100cc41b
mov esi, dword [esi + 0x14]
dec esi
test esi, esi
js 0x100cc6de
cmp esi, dword [edi + 8]
jge 0x100cc6de
imul eax, esi, 0x34
add eax, dword [edi + 4]
mov dword [esp + 0x1c], eax
test dword [eax + 0x28], 0x2020
jne 0x100cc6de
lea eax, [esp + 0x14]
push eax
push 0
push 0xe
push ebx
call fcn.100c9ca3
mov edx, dword [esp + 0x1c]
mov ecx, 0xff
movzx eax, word [edx + 0x2c]
cmp ax, cx
jae 0x100cc390
inc eax
movzx ecx, si
mov word [edx + 0x2c], ax
mov eax, dword [esp + 0x14]
mov byte [eax + 9], 2
mov eax, dword [esp + 0x14]
mov dword [eax], edi
mov eax, dword [esp + 0x14]
mov dword [eax + 4], ecx
lea eax, [esp + 0x50]
push eax
push edx
push ebx
call fcn.100f3cb0
mov ecx, dword [esp + 0x14]
mov byte [ecx + 8], al
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x50]
mov dword [ecx + 0xa], eax
mov esi, dword [esp + 0x14]
movzx eax, byte [esi + 8]
push eax
call fcn.100cb4e5
movzx eax, al
push eax
push esi
push ebx
call fcn.100922bd
mov esi, eax
test esi, esi
je 0x100cc390
mov dword [esp + 0x10], 1
mov al, byte [esi + 6]
cmp al, 0x10
jae 0x100cc4da
test al, al
jne 0x100cc4ef
push esi
push 8
pop eax
push eax
push ebx
call fcn.100923e2
mov esi, eax
test esi, esi
je 0x100cc390
mov dword [ebp - 0x24], esi
mov eax, dword [edi + 0xb4]
shr eax, 5
not eax
mov dword [esp + 0x38], esi
and eax, 1
or eax, 0x10
mov word [esp + 0x28], ax
lea eax, [esp + 0x28]
push eax
push esi
push ebx
call fcn.100ccb8a
test byte [esp + 0x28], 2
je 0x100cc526
or dword [edi + 0xb4], 0x10
push 0
push esi
push ebx
call fcn.100cb56b
cmp dword [esp + 0x10], 0
mov ecx, eax
mov dword [esp + 0x1c], ecx
mov dword [ebp - 0x24], ecx
jne 0x100cc6ac
cmp dword [esp + 0x40], 0
jne 0x100cc557
test dword [ebp], 0x10000
je 0x100cc6ac
mov eax, dword [edi + 8]
mov esi, dword [esp + 0x20]
cdq
sub eax, edx
sar eax, 1
imul edx, eax, 0x34
mov eax, dword [ebx + 0x4c]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x24]
add edx, esi
mov dword [esp + 0x10], edx
cmp esi, eax
jae 0x100cc5d7
mov edi, dword [esp + 0x1c]
mov ebp, dword [esp + 0x18]
test byte [esi + 0x28], 2
je 0x100cc58e
mov eax, dword [esi + 4]
jmp 0x100cc59a
mov ecx, dword [esp + 0x44]
lea eax, [esi + 4]
mov dword [ecx + 8], eax
mov eax, ecx
push 0x10094f90
push edi
push eax
push ebx
push ebp
call fcn.1009193d
mov edx, dword [esp + 0x10]
test eax, eax
mov eax, dword [esp + 0x24]
jne 0x100cc5c9
add edx, 0x34
cmp edx, eax
cmove edx, dword [esp + 0x20]
add esi, 0x34
mov dword [esp + 0x10], edx
cmp esi, eax
jb 0x100cc583
mov edi, dword [esp + 0x3c]
cmp esi, eax
mov ebp, dword [esp + 0x48]
mov ecx, dword [esp + 0x1c]
je 0x100cc71b
test dword [ebp], 0x10000
je 0x100cc6ac
movzx eax, byte [esi + 0xc]
imul ecx, eax, 0x12
movzx eax, byte [edx + 0xc]
push 0x10
add ecx, eax
mov al, byte [ecx*4 + 0x1000c0a0]
pop ecx
mov byte [ebp - 0x1c], al
cmp al, cl
jne 0x100cc69f
mov al, byte [esi + 0xc]
cmp al, cl
jne 0x100cc629
movzx eax, word [esi + 0xe]
mov dword [esp + 0x18], eax
movzx eax, word [esi + 0x10]
mov esi, dword [esp + 0x18]
mov dword [esp + 0x10], eax
jmp 0x100cc63f
cmp al, 5
jne 0x100cc638
push 4
pop edi
mov esi, ecx
mov dword [esp + 0x10], edi
jmp 0x100cc642
and dword [esp + 0x10], 0
xor esi, esi
push 4
pop edi
mov al, byte [edx + 0xc]
cmp al, cl
jne 0x100cc653
movzx eax, word [edx + 0xe]
movzx ecx, word [edx + 0x10]
jmp 0x100cc661
cmp al, 5
jne 0x100cc65d
mov eax, ecx
mov ecx, edi
jmp 0x100cc661
xor ecx, ecx
xor eax, eax
mov edx, dword [esp + 0x10]
mov edi, ecx
cmp edx, ecx
cmovg edi, edx
sub eax, ecx
sub esi, edx
mov dword [esp + 0x18], edi
cmp esi, eax
mov ecx, edi
mov edi, dword [esp + 0x3c]
cmovg eax, esi
add eax, ecx
cmp eax, 0x1c
jle 0x100cc691
mov byte [ebp - 0x1c], 7
mov eax, dword [0x1000a71c]
jmp 0x100cc6a9
mov byte [ebp - 0x1c], 0x10
mov word [ebp - 0x1a], ax
mov word [ebp - 0x18], cx
jmp 0x100cc6ac
movzx eax, al
mov eax, dword [eax*4 + 0x1000a700]
mov dword [ebp - 0x1a], eax
add ebp, 0x34
mov dword [esp + 0x48], ebp
lea eax, [ebp - 0x28]
cmp eax, dword [esp + 0x4c]
jb 0x100cc3af
mov eax, dword [edi + 0xf0]
test eax, eax
jle 0x100cc7b1
mov esi, dword [edi + 0xec]
imul ebp, eax, 0x34
add ebp, esi
jmp 0x100cc7ad
push 0xa
lea eax, [esi + 1]
push eax
push 0xa
lea eax, [esp + 0x64]
push eax
call fcn.1001b060
mov esi, dword [esp + 0x54]
push esi
call fcn.100370f0
xor eax, eax
lea ecx, [esp + 0x58]
push eax
push eax
push eax
push 0xffffe040
push eax
push ecx
push eax
push esi
call fcn.10037730
push 0xfffff440
jmp 0x100cc8a9
push 0
push 0
push 9
pop esi
cmp word [edi + 0xbc], si
mov eax, 0xffffe070
lea edx, [eax - 0x6d]
cmove eax, edx
push eax
push ecx
push dword [edi + 0x80]
push ebx
call fcn.100959ef
push 0xfffff439
jmp 0x100cc8a9
push dword [esi + 4]
push edi
push ebx
call fcn.100cb5de
mov cl, byte [eax + 6]
cmp cl, 0x10
jae 0x100cc762
test cl, cl
jne 0x100cc775
push eax
push 8
pop eax
push eax
push ebx
call fcn.100923e2
test eax, eax
je 0x100cc390
mov dword [esi + 4], eax
push 0x20
pop eax
mov word [esp + 0x28], ax
mov eax, dword [esi + 4]
mov dword [esp + 0x38], eax
lea eax, [esp + 0x28]
push eax
push dword [esi + 4]
push ebx
call fcn.100ccb8a
push 0
push dword [esi + 4]
push ebx
call fcn.100cb56b
or dword [esi + 0x28], 0x60000
mov dword [esi + 4], eax
add esi, 0x34
cmp esi, ebp
jb 0x100cc74c
mov ebp, dword [edi + 0x108]
test ebp, ebp
jle 0x100cc81d
mov esi, dword [edi + 0x104]
shl ebp, 5
add ebp, esi
jmp 0x100cc819
push dword [esi + 8]
push edi
push ebx
call fcn.100cb5de
mov dword [esi + 8], eax
push 4
pop eax
mov word [esp + 0x28], ax
mov dword [esp + 0x2c], edi
movsx eax, byte [esi + 0x10]
mov dword [esp + 0x30], eax
movsx eax, byte [esi + 0x11]
mov dword [esp + 0x34], eax
mov eax, dword [esi + 8]
mov dword [esp + 0x38], eax
lea eax, [esp + 0x28]
push eax
push dword [esi + 8]
push ebx
call fcn.100ccb8a
push 1
push dword [esi + 8]
push ebx
call fcn.100cb56b
mov dword [esi + 8], eax
push 0x20
pop eax
add esi, eax
cmp esi, ebp
jb 0x100cc7c8
mov eax, dword [edi + 0xd4]
test eax, eax
je 0x100cc84f
cmp dword [edi], 4
je 0x100cc83a
cmp dword [edi], 2
jne 0x100cc843
test byte [edi + 0xb4], 0x10
je 0x100cc843
test byte [edi + 0xb4], 0x40
je 0x100cc84f
push 0
push 0
push 0xffffe080
push eax
jmp 0x100cc898
mov eax, dword [edi + 0xb4]
test al, 0x10
je 0x100cc86d
cmp dword [edi + 0xf0], 0
jne 0x100cc86d
test al, 0x20
jne 0x100cc86d
push edi
push ebx
call fcn.100d1ac4
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1011705d
add esp, 0x60
ret 8
mov eax, 0xffffe07f
cmp dx, bp
push 0
push 0
lea esi, [eax + 2]
cmove eax, esi
push eax
push dword [ecx + 8]
push dword [edi + 0x80]
push ebx
call fcn.100959ef
push 0xfffff43c
push ebx
call fcn.100c493b
int3