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

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0xc
push ebx
movzx ebx, byte [ecx + 0x10]
push ebp
push esi
and ebx, 3
push edi
mov edi, eax
inc ebx
xor ebp, ebp
mov esi, 1
cmp ebx, dword [edi + 8]
jne 0x100caea6
mov eax, dword [edi + 0xc]
cmp eax, ebp
je 0x100cae62
cmp dword [esp + 0x24], ebp
jne 0x100cae68
cmp eax, ebp
jne 0x100caea6
cmp dword [esp + 0x24], ebp
jne 0x100caea6
xor esi, esi
xor edx, edx
cmp ebx, ebp
jbe 0x100caea6
mov ebp, ebx
shl ebp, 5
lea eax, [edi + 0x48]
lea ecx, [ecx + ebp - 8]
lea esp, [esp]
mov ebp, dword [eax]
cmp ebp, dword [ecx]
jne 0x100cae9b
mov ebp, dword [eax + 4]
cmp ebp, dword [ecx + 4]
jne 0x100cae9b
inc edx
add eax, 8
sub ecx, 0x20
cmp edx, ebx
jb 0x100cae80
jmp 0x100caea0
mov esi, 1
mov ecx, dword [esp + 0x20]
xor ebp, ebp
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], edx
cmp esi, ebp
je 0x100cafc5
call fcn.100ca7f0
mov dword [esp + 0x10], ebp
cmp ebx, ebp
jbe 0x100cafc0
mov eax, dword [esp + 0x20]
mov ecx, ebx
shl ecx, 5
lea edx, [edi + 0x48]
lea ecx, [ecx + eax - 8]
mov dword [esp + 0x18], edx
lea esi, [edi + 0x80]
mov dword [esp + 0x14], ecx
jmp 0x100caef0
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [edx], eax
mov dword [edx + 4], ecx
cmp eax, 0x21
jne 0x100caf03
cmp ecx, ebp
je 0x100caf1e
cmp dword [esp + 0x10], ebp
je 0x100cafb1
mov edx, dword [edi]
push edx
push ecx
push eax
lea ecx, [esi - 8]
xor edx, edx
call fcn.100ca680
jmp 0x100caf80
mov eax, dword [esi - 8]
mov ecx, dword [edi]
cmp eax, ebp
jne 0x100caf62
mov eax, dword [ecx]
mov edx, 0x78
call eax
cmp eax, ebp
jne 0x100caf3b
mov eax, 2
jmp 0x100caf80
mov dword [esi - 8], eax
mov dword [esi - 4], 0x100ca710
mov dword [esi], 0x100ca740
mov dword [esi + 4], 0x100ca770
mov dword [esi + 8], 0x100ca780
mov dword [esi + 0xc], ebp
mov dword [eax + 0x20], ebp
mov dword [eax + 0x18], ebp
mov ecx, dword [esp + 0x24]
mov dword [eax + 0x74], ebp
cmp ecx, ebp
je 0x100caf7e
mov dword [eax + 0x20], ecx
mov ecx, dword [esp + 0x28]
mov dword [eax + 0x74], 1
mov dword [eax + 0x24], ecx
xor eax, eax
cmp eax, ebp
jne 0x100cb09e
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
sub dword [esp + 0x14], 0x20
inc eax
add edx, 8
add esi, 0x18
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], edx
cmp eax, ebx
jae 0x100cafc0
mov ecx, dword [esp + 0x14]
jmp 0x100caef0
pop edi
pop esi
pop ebp
mov eax, 4
pop ebx
add esp, 0xc
ret 0xc
mov dword [edi + 8], ebx
jmp 0x100cb00c
mov eax, ebx
shl eax, 5
cmp dword [eax + ecx - 8], 0x21
jne 0x100cafb1
cmp dword [eax + ecx - 4], ebp
jne 0x100cafb1
mov eax, dword [edi + 0x78]
mov ecx, dword [eax + 0x74]
mov esi, dword [esp + 0x24]
cmp ecx, ebp
je 0x100cafed
cmp esi, ebp
je 0x100caff1
cmp ecx, ebp
jne 0x100caff8
cmp esi, ebp
je 0x100cb002
mov eax, 0xb
jmp 0x100cb004
cmp esi, ebp
je 0x100cb002
mov dword [eax + 0x20], esi
mov dword [eax + 0x24], edx
xor eax, eax
cmp eax, ebp
jne 0x100cb09e
mov dword [esp + 0x10], ebp
cmp ebx, ebp
jbe 0x100cb04d
mov eax, dword [esp + 0x20]
mov edx, ebx
shl edx, 5
lea esi, [edi + 0x78]
lea ebp, [edx + eax + 4]
mov ecx, dword [edi]
mov edx, dword [ebp - 4]
mov eax, dword [esi + 8]
push ecx
mov ecx, dword [esi]
push edx
mov edx, ebp
call eax
test eax, eax
jne 0x100cb09e
mov eax, dword [esp + 0x10]
inc eax
add esi, 0x18
sub ebp, 0x20
mov dword [esp + 0x10], eax
cmp eax, ebx
jb 0x100cb024
xor ebp, ebp
xor eax, eax
mov dword [edi + 0x3c], ebp
mov dword [edi + 0x30], ebp
mov dword [edi + 0x24], ebp
mov dword [edi + 0x40], ebp
mov dword [edi + 0x34], ebp
mov dword [edi + 0x28], ebp
mov dword [edi + 0x44], ebp
mov dword [edi + 0x38], ebp
mov dword [edi + 0x2c], ebp
cmp dword [edi + 8], eax
jbe 0x100cb090
lea ebx, [edi + 0x68]
lea esi, [edi + 0x78]
mov ecx, dword [esi]
mov edx, dword [esi + 0xc]
call edx
mov dword [ebx], 0
inc ebp
add esi, 0x18
add ebx, 4
cmp ebp, dword [edi + 8]
jb 0x100cb075
xor eax, eax
mov dword [edi + 0x14], eax
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], eax
mov dword [edi + 0x20], eax
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc