Function at 0x100cc40b
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 0x100cc4a0
push eax
push edi
push ebx
call fcn.100cb7de
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.100ccd8a
push ebp
push dword [edi + 0xd0]
push ebx
call fcn.100cb76b
mov dword [edi + 0xd0], eax
test esi, esi
jne 0x100cc4a0
mov eax, dword [edi + 0x154]
test eax, eax
jle 0x100cc4a0
or dword [edi + 0xb8], 2
mov esi, eax
mov ecx, dword [edi + 0xd4]
test ecx, ecx
je 0x100cc53a
movzx edx, word [edi + 0xbc]
push 6
pop ebp
cmp dx, bp
je 0x100cca82
test byte [edi + 0xb4], 0x20
jne 0x100cca82
push ecx
push edi
push ebx
call fcn.100cb7de
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.100ccd8a
test byte [esp + 0x28], 2
je 0x100cc502
or dword [edi + 0xb4], 0x10
push ebp
push dword [edi + 0xd4]
push ebx
call fcn.100cb76b
mov dword [edi + 0xd4], eax
test esi, esi
jne 0x100cc52b
mov eax, dword [edi + 0x154]
test eax, eax
jle 0x100cc52b
or dword [edi + 0xb8], ebp
mov esi, eax
cmp dword [edi + 0x154], esi
je 0x100cc53a
and dword [edi + 0xb8], 0xfffffffd
mov eax, dword [edi + 0xdc]
test eax, eax
jle 0x100cc8c0
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 0x100cc580
cmp word [edi + 0xbc], ax
jne 0x100cc5a0
push 0x20
push ebx
call fcn.10091987
mov dword [esp + 0x44], eax
test eax, eax
jne 0x100cc59a
push 0xfffff401
jmp 0x100ccaa9
mov word [eax + 4], 0xa
cmp ebp, esi
jae 0x100cc8c0
add ebp, 0x28
mov dword [esp + 0x48], ebp
push dword [ebp - 0x24]
push edi
push ebx
call fcn.100cb7de
mov esi, eax
mov eax, dword [ebp]
or eax, 0x20000
push 9
pop ecx
mov dword [ebp], eax
cmp word [edi + 0xbc], cx
jne 0x100cc5da
or eax, 0x10000
mov dword [ebp], eax
and dword [esp + 0x10], 0
test byte [edi + 0xb4], 0x20
jne 0x100cc6cf
cmp byte [esi + 4], 7
jne 0x100cc6cf
mov al, byte [esi + 6]
cmp al, 2
je 0x100cc605
cmp al, 3
jne 0x100cc6cf
mov eax, dword [esi + 8]
and eax, 0x7fff
cmp eax, 2
jne 0x100cc618
movsx esi, word [esi + 0x14]
jmp 0x100cc61b
mov esi, dword [esi + 0x14]
dec esi
test esi, esi
js 0x100cc8de
cmp esi, dword [edi + 8]
jge 0x100cc8de
imul eax, esi, 0x34
add eax, dword [edi + 4]
mov dword [esp + 0x1c], eax
test dword [eax + 0x28], 0x2020
jne 0x100cc8de
lea eax, [esp + 0x14]
push eax
push 0
push 0xe
push ebx
call fcn.100c9ea3
mov edx, dword [esp + 0x1c]
mov ecx, 0xff
movzx eax, word [edx + 0x2c]
cmp ax, cx
jae 0x100cc590
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.100f3eb3
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.100cb6e5
movzx eax, al
push eax
push esi
push ebx
call fcn.100924bd
mov esi, eax
test esi, esi
je 0x100cc590
mov dword [esp + 0x10], 1
mov al, byte [esi + 6]
cmp al, 0x10
jae 0x100cc6da
test al, al
jne 0x100cc6ef
push esi
push 8
pop eax
push eax
push ebx
call fcn.100925e2
mov esi, eax
test esi, esi
je 0x100cc590
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.100ccd8a
test byte [esp + 0x28], 2
je 0x100cc726
or dword [edi + 0xb4], 0x10
push 0
push esi
push ebx
call fcn.100cb76b
cmp dword [esp + 0x10], 0
mov ecx, eax
mov dword [esp + 0x1c], ecx
mov dword [ebp - 0x24], ecx
jne 0x100cc8ac
cmp dword [esp + 0x40], 0
jne 0x100cc757
test dword [ebp], 0x10000
je 0x100cc8ac
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 0x100cc7d7
mov edi, dword [esp + 0x1c]
mov ebp, dword [esp + 0x18]
test byte [esi + 0x28], 2
je 0x100cc78e
mov eax, dword [esi + 4]
jmp 0x100cc79a
mov ecx, dword [esp + 0x44]
lea eax, [esi + 4]
mov dword [ecx + 8], eax
mov eax, ecx
push 0x10095190
push edi
push eax
push ebx
push ebp
call fcn.10091b3d
mov edx, dword [esp + 0x10]
test eax, eax
mov eax, dword [esp + 0x24]
jne 0x100cc7c9
add edx, 0x34
cmp edx, eax
cmove edx, dword [esp + 0x20]
add esi, 0x34
mov dword [esp + 0x10], edx
cmp esi, eax
jb 0x100cc783
mov edi, dword [esp + 0x3c]
cmp esi, eax
mov ebp, dword [esp + 0x48]
mov ecx, dword [esp + 0x1c]
je 0x100cc91b
test dword [ebp], 0x10000
je 0x100cc8ac
movzx eax, byte [esi + 0xc]
imul ecx, eax, 0x12
movzx eax, byte [edx + 0xc]
push 0x10
add ecx, eax
mov al, byte [ecx*4 + 0x1000c0b0]
pop ecx
mov byte [ebp - 0x1c], al
cmp al, cl
jne 0x100cc89f
mov al, byte [esi + 0xc]
cmp al, cl
jne 0x100cc829
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 0x100cc83f
cmp al, 5
jne 0x100cc838
push 4
pop edi
mov esi, ecx
mov dword [esp + 0x10], edi
jmp 0x100cc842
and dword [esp + 0x10], 0
xor esi, esi
push 4
pop edi
mov al, byte [edx + 0xc]
cmp al, cl
jne 0x100cc853
movzx eax, word [edx + 0xe]
movzx ecx, word [edx + 0x10]
jmp 0x100cc861
cmp al, 5
jne 0x100cc85d
mov eax, ecx
mov ecx, edi
jmp 0x100cc861
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 0x100cc891
mov byte [ebp - 0x1c], 7
mov eax, dword [0x1000a72c]
jmp 0x100cc8a9
mov byte [ebp - 0x1c], 0x10
mov word [ebp - 0x1a], ax
mov word [ebp - 0x18], cx
jmp 0x100cc8ac
movzx eax, al
mov eax, dword [eax*4 + 0x1000a710]
mov dword [ebp - 0x1a], eax
add ebp, 0x34
mov dword [esp + 0x48], ebp
lea eax, [ebp - 0x28]
cmp eax, dword [esp + 0x4c]
jb 0x100cc5af
mov eax, dword [edi + 0xf0]
test eax, eax
jle 0x100cc9b1
mov esi, dword [edi + 0xec]
imul ebp, eax, 0x34
add ebp, esi
jmp 0x100cc9ad
push 0xa
lea eax, [esi + 1]
push eax
push 0xa
lea eax, [esp + 0x64]
push eax
call fcn.1001b090
mov esi, dword [esp + 0x54]
push esi
call fcn.10037140
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.10037780
push 0xfffff440
jmp 0x100ccaa9
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.10095bef
push 0xfffff439
jmp 0x100ccaa9
push dword [esi + 4]
push edi
push ebx
call fcn.100cb7de
mov cl, byte [eax + 6]
cmp cl, 0x10
jae 0x100cc962
test cl, cl
jne 0x100cc975
push eax
push 8
pop eax
push eax
push ebx
call fcn.100925e2
test eax, eax
je 0x100cc590
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.100ccd8a
push 0
push dword [esi + 4]
push ebx
call fcn.100cb76b
or dword [esi + 0x28], 0x60000
mov dword [esi + 4], eax
add esi, 0x34
cmp esi, ebp
jb 0x100cc94c
mov ebp, dword [edi + 0x108]
test ebp, ebp
jle 0x100cca1d
mov esi, dword [edi + 0x104]
shl ebp, 5
add ebp, esi
jmp 0x100cca19
push dword [esi + 8]
push edi
push ebx
call fcn.100cb7de
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.100ccd8a
push 1
push dword [esi + 8]
push ebx
call fcn.100cb76b
mov dword [esi + 8], eax
push 0x20
pop eax
add esi, eax
cmp esi, ebp
jb 0x100cc9c8
mov eax, dword [edi + 0xd4]
test eax, eax
je 0x100cca4f
cmp dword [edi], 4
je 0x100cca3a
cmp dword [edi], 2
jne 0x100cca43
test byte [edi + 0xb4], 0x10
je 0x100cca43
test byte [edi + 0xb4], 0x40
je 0x100cca4f
push 0
push 0
push 0xffffe080
push eax
jmp 0x100cca98
mov eax, dword [edi + 0xb4]
test al, 0x10
je 0x100cca6d
cmp dword [edi + 0xf0], 0
jne 0x100cca6d
test al, 0x20
jne 0x100cca6d
push edi
push ebx
call fcn.100d1cc7
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1011720d
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.10095bef
push 0xfffff43c
push ebx
call fcn.100c4b3b
int3