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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
push ebx
push esi
mov esi, eax
mov eax, dword [ebp + 0xc]
sub eax, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
mov ebx, dword [edi + 8]
neg eax
sbb eax, eax
lea ecx, [esp + 0x2c]
and eax, ecx
push eax
push 3
push esi
push edi
mov dword [esp + 0x3c], 0
call fcn.100cb340
add esp, 0x10
mov dword [esp + 0x30], eax
call fcn.100c9690
mov byte [esp + 0x13], al
mov al, byte [edi + 0x13]
mov ecx, 1
add dword [edi + 0x6c], ecx
test al, al
jne 0x100cbc51
add dword [edi + 0x4c], ecx
mov edx, dword [edi + 0x4c]
mov dword [esp + 0x14], edx
jmp 0x100cbc61
sub al, 1
mov byte [edi + 0x13], al
movzx eax, al
mov ecx, dword [edi + eax*4 + 0x1c]
mov dword [esp + 0x14], ecx
mov edx, dword [esp + 0x14]
mov eax, dword [esi + 0xc]
push edx
push eax
push edi
call fcn.100cd6a0
add esp, 0xc
cmp dword [esp + 0x30], 5
jne 0x100cbf88
mov ecx, dword [esi + 0x14]
mov dword [esp + 0x20], ecx
mov ecx, dword [esi + 0xc]
push edi
call fcn.100c9510
mov dword [esp + 0x1c], eax
add esp, 4
mov eax, ebx
call fcn.100b7530
mov edx, dword [ebp + 0x10]
xor esi, esi
cmp edx, dword [ebp + 0xc]
mov dword [esp + 0x30], eax
mov dword [esp + 0x1c], esi
je 0x100cbcec
mov al, byte [edi + 0x13]
test al, al
jne 0x100cbcc2
add dword [edi + 0x4c], 1
mov eax, dword [edi + 0x4c]
mov dword [esp + 0x1c], eax
jmp 0x100cbcd2
sub al, 1
movzx ecx, al
mov byte [edi + 0x13], al
mov edx, dword [edi + ecx*4 + 0x1c]
mov dword [esp + 0x1c], edx
mov eax, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x18]
push eax
push eax
push 0x2b
push ebx
call fcn.100b71b0
mov esi, dword [esp + 0x30]
add esp, 0x14
mov ecx, dword [esp + 0x20]
xor eax, eax
cmp dword [ecx], eax
mov dword [esp + 0x28], eax
jle 0x100cbeef
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 4]
lea edx, [esp + 0x34]
push edx
mov edx, dword [esp + 0x28]
mov eax, dword [edx + ecx]
mov ecx, edi
call fcn.100cd580
add esp, 4
cmp dword [esp + 0x1c], 0
mov esi, eax
je 0x100cbd51
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0x24]
mov eax, dword [edx + ecx]
call fcn.100cb050
test eax, eax
je 0x100cbd51
mov eax, dword [esp + 0x1c]
push eax
push esi
push eax
push 0x2b
push ebx
call fcn.100b71b0
add esp, 0x14
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
sub ecx, 1
cmp dword [esp + 0x28], ecx
jl 0x100cbe07
mov eax, dword [ebp + 0xc]
cmp dword [ebp + 0x10], eax
jne 0x100cbe07
mov edx, dword [esp + 0x14]
push esi
push eax
push edx
push 0x24
push ebx
call fcn.100b71b0
mov edx, dword [ebx]
add esp, 0x14
cmp byte [edx + 0x45], 0
je 0x100cbd9f
mov ecx, dword [esp + 0x18]
mov eax, 0xfffffffc
mov edi, edx
call fcn.100b78b0
mov edi, dword [ebp + 8]
jmp 0x100cbde2
test eax, eax
jge 0x100cbda9
mov eax, dword [ebx + 0x20]
sub eax, 1
mov ecx, dword [ebx + 4]
lea eax, [eax + eax*4]
cmp byte [ecx + eax*4 + 1], 0
lea eax, [ecx + eax*4]
je 0x100cbdd0
mov edx, dword [esp + 0x18]
push edx
push eax
mov eax, 0xfffffffc
mov ecx, ebx
call fcn.100b7a90
add esp, 8
jmp 0x100cbde2
cmp dword [esp + 0x18], 0
je 0x100cbde2
mov ecx, dword [esp + 0x18]
mov dword [eax + 0x10], ecx
mov byte [eax + 1], 0xfc
mov edx, dword [ebx]
cmp byte [edx + 0x45], 0
jne 0x100cbe96
mov eax, dword [ebx + 0x20]
mov cl, byte [esp + 0x13]
lea edx, [eax + eax*4]
mov eax, dword [ebx + 4]
or cl, 0x10
mov byte [eax + edx*4 - 0x11], cl
jmp 0x100cbe96
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x14]
push esi
push ecx
push edx
push 0x25
push ebx
call fcn.100b71b0
mov edx, dword [ebx]
add esp, 0x14
cmp byte [edx + 0x45], 0
je 0x100cbe3a
mov ecx, dword [esp + 0x18]
mov eax, 0xfffffffc
mov edi, edx
call fcn.100b78b0
mov edi, dword [ebp + 8]
jmp 0x100cbe7d
test eax, eax
jge 0x100cbe44
mov eax, dword [ebx + 0x20]
sub eax, 1
mov ecx, dword [ebx + 4]
lea eax, [eax + eax*4]
cmp byte [ecx + eax*4 + 1], 0
lea eax, [ecx + eax*4]
je 0x100cbe6b
mov edx, dword [esp + 0x18]
push edx
push eax
mov eax, 0xfffffffc
mov ecx, ebx
call fcn.100b7a90
add esp, 8
jmp 0x100cbe7d
cmp dword [esp + 0x18], 0
je 0x100cbe7d
mov ecx, dword [esp + 0x18]
mov dword [eax + 0x10], ecx
mov byte [eax + 1], 0xfc
mov edx, dword [ebx]
cmp byte [edx + 0x45], 0
jne 0x100cbe96
mov eax, dword [ebx + 0x20]
mov ecx, dword [ebx + 4]
mov dl, byte [esp + 0x13]
lea eax, [eax + eax*4]
mov byte [ecx + eax*4 - 0x11], dl
mov esi, dword [esp + 0x34]
test esi, esi
je 0x100cbecf
mov dl, byte [edi + 0x13]
cmp dl, 8
jae 0x100cbecf
xor eax, eax
lea ecx, [edi + 0x7c]
jmp 0x100cbeb0
cmp dword [ecx + 0xc], esi
je 0x100cbf76
add eax, 1
add ecx, 0x14
cmp eax, 0xa
jl 0x100cbeb0
movzx eax, dl
mov dword [edi + eax*4 + 0x1c], esi
add byte [edi + 0x13], 1
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
add dword [esp + 0x24], 0x18
add eax, 1
cmp eax, dword [ecx]
mov dword [esp + 0x28], eax
jl 0x100cbd02
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x100cbf18
mov edx, dword [ebp + 0x10]
push 0
push edx
push esi
push 0x22
push ebx
call fcn.100b71b0
mov eax, dword [ebp + 0xc]
add esp, 0x14
push 0
push eax
push 0
push 0xd
push ebx
call fcn.100b71b0
add esp, 0x14
mov ecx, dword [ebx + 0x18]
mov eax, dword [ecx + 0x78]
test eax, eax
je 0x100cbf34
mov edx, dword [esp + 0x30]
lea edx, [edx*4 + 4]
sub eax, edx
mov edx, dword [ebx + 0x20]
mov dword [eax], edx
mov eax, dword [ebx + 0x20]
sub eax, 1
test esi, esi
mov dword [ecx + 0x60], eax
je 0x100cc0e9
mov dl, byte [edi + 0x13]
cmp dl, 8
jae 0x100cc0e9
xor eax, eax
lea ecx, [edi + 0x7c]
cmp dword [ecx + 0xc], esi
je 0x100cbf7f
add eax, 1
add ecx, 0x14
cmp eax, 0xa
jl 0x100cbf56
movzx ecx, dl
mov dword [edi + ecx*4 + 0x1c], esi
add byte [edi + 0x13], 1
jmp 0x100cc0e9
mov byte [ecx + 6], 1
jmp 0x100cbecf
mov byte [ecx + 6], 1
jmp 0x100cc0e9
mov eax, dword [esi + 0xc]
call fcn.100cb050
test eax, eax
je 0x100cbffa
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp + 0xc]
push 0
jne 0x100cbfb1
mov edx, dword [esp + 0x18]
push eax
push edx
push 0x22
push ebx
call fcn.100b71b0
add esp, 0x14
jmp 0x100cbffa
mov eax, dword [esp + 0x18]
push 0
push eax
push 0x23
push ebx
call fcn.100b71b0
mov ecx, dword [ebp + 0xc]
mov edx, dword [esi + 0x1c]
add esp, 0x14
push 0
push ecx
push edx
push 0x37
push ebx
mov dword [esp + 0x48], eax
call fcn.100b71b0
mov eax, dword [ebp + 0x10]
add esp, 0x14
push 0
push eax
push 0
push 0xd
push ebx
call fcn.100b71b0
mov ecx, dword [esp + 0x48]
add esp, 0x14
mov eax, ebx
call fcn.100b7870
cmp dword [esp + 0x30], 1
push 0
jne 0x100cc034
mov ecx, dword [ebp + 0xc]
mov edx, dword [esp + 0x18]
push ecx
push edx
push 0x11
push ebx
call fcn.100b71b0
mov eax, dword [esp + 0x28]
mov ecx, dword [ebp + 0xc]
mov edx, dword [esi + 0x1c]
add esp, 0x14
push eax
push ecx
push edx
push 0x20
push ebx
call fcn.100b71b0
add esp, 0x14
jmp 0x100cc0e9
mov eax, dword [esp + 0x18]
push 1
push eax
push 0x5f
push ebx
call fcn.100b71b0
mov edx, dword [ebx]
add esp, 0x14
cmp byte [edx + 0x45], 0
je 0x100cc063
lea ecx, [esp + 0x13]
mov eax, 1
mov edi, edx
call fcn.100b78b0
mov edi, dword [ebp + 8]
jmp 0x100cc08b
test eax, eax
jge 0x100cc06d
mov eax, dword [ebx + 0x20]
sub eax, 1
lea edx, [eax + eax*4]
mov eax, dword [ebx + 4]
lea ecx, [esp + 0x13]
push ecx
lea ecx, [eax + edx*4]
push ecx
mov eax, 1
mov ecx, ebx
call fcn.100b7a90
add esp, 8
cmp dword [esp + 0x2c], 0
mov edx, dword [esi + 0x1c]
mov eax, dword [esp + 0x14]
push 1
mov esi, ebx
jne 0x100cc0ac
mov ecx, dword [ebp + 0xc]
push 0x1e
call fcn.100b7480
add esp, 8
jmp 0x100cc0e9
push 0x1f
xor ecx, ecx
call fcn.100b7480
mov edx, dword [ebp + 0x10]
push 0
push edx
mov esi, eax
mov eax, dword [esp + 0x3c]
push eax
push 0x22
push ebx
call fcn.100b71b0
mov ecx, dword [ebp + 0xc]
add esp, 0x1c
push 0
push ecx
push 0
push 0xd
push ebx
call fcn.100b71b0
add esp, 0x14
mov ecx, esi
mov eax, ebx
call fcn.100b7870
mov edx, dword [esp + 0x14]
test edx, edx
je 0x100cc11b
mov bl, byte [edi + 0x13]
cmp bl, 8
jae 0x100cc11b
xor eax, eax
lea ecx, [edi + 0x7c]
mov edi, edi
cmp dword [ecx + 0xc], edx
je 0x100cc129
add eax, 1
add ecx, 0x14
cmp eax, 0xa
jl 0x100cc100
movzx eax, bl
mov dword [edi + eax*4 + 0x1c], edx
add byte [edi + 0x13], 1
mov eax, edi
call fcn.100cc440
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, edi
mov byte [ecx + 6], 1
call fcn.100cc440
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret