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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1021d657
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x70
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ecx, edi
call fcn.1006c483
mov ecx, dword [edi + 0xcc]
add eax, 0x110
mov dword [esp + 0x38], eax
test ecx, ecx
je 0x100cf82c
mov ebx, dword [ecx - 4]
jmp 0x100cf82e
xor ebx, ebx
mov eax, dword [eax]
mov dword [esp + 0x24], ebx
test eax, eax
je 0x100cf841
mov eax, dword [eax - 4]
mov dword [esp + 0x34], eax
jmp 0x100cf846
and dword [esp + 0x34], 0
mov ecx, edi
call fcn.100caf6f
mov ecx, edi
mov dword [esp + 0x44], eax
call fcn.100caf85
push dword [ebp + 0xc]
mov edx, dword [edi]
xor ecx, ecx
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x6c]
mov dword [esp + 0x30], ecx
mov ecx, edi
push eax
call dword [edx + 0x480]
mov esi, dword [esp + 0x70]
xor ecx, ecx
sub esi, dword [esp + 0x68]
mov edx, 0x7fffffff
mov eax, dword [edi + 0xb0]
inc esi
cmp eax, edx
mov dword [esp + 0x1c], esi
cmove eax, ecx
cmp esi, eax
jge 0x100cf8a8
mov esi, dword [edi + 0xb0]
xor eax, eax
cmp esi, edx
cmove esi, eax
mov dword [esp + 0x1c], esi
mov eax, dword [edi + 0x8c]
xor ecx, ecx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], 1
test ebx, ebx
jle 0x100cfbc4
mov eax, dword [edi + 0xcc]
mov ebx, dword [eax + ecx*4]
mov dword [esp + 0x30], ebx
mov eax, dword [ebx + 0x2c]
mov dword [ebx + 0x88], esi
test eax, eax
jne 0x100cf8e9
mov eax, dword [0x102b7738]
jmp 0x100cf8fe
cmp eax, dword [0x102b7738]
jne 0x100cf8fe
push 0
push ecx
push dword [ebp + 0xc]
mov ecx, ebx
call fcn.10079533
and dword [esp + 0x20], 0
lea ecx, [esp + 0x20]
push eax
call fcn.1000fd99
and dword [esp + 0x84], 0
mov ecx, ebx
mov eax, dword [ebx]
call dword [eax + 0x34]
cmp eax, 4
je 0x100cf93f
or dword [esp + 0x84], 0xffffffff
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x100cfc45
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x100cfc45
and dword [ebx + 0x8c], 0
mov dword [ebx + 0x88], esi
mov esi, dword [esp + 0x20]
lea ecx, [esi + 0x98]
call fcn.1002b95f
test al, al
jne 0x100cfc10
lea eax, [esi + 0x438]
lea ecx, [ebx + 0xf0]
push eax
mov dword [esp + 0x4c], ecx
call fcn.1002b04d
xor edx, edx
mov dword [ebx + 0xb8], SysReAllocStringLen
mov dword [esp + 0x18], edx
cmp dword [esp + 0x34], edx
jle 0x100cfb8a
xor eax, eax
mov dword [esp + 0x10], eax
test edx, edx
js 0x100cf9b5
push edx
mov ecx, ebx
call fcn.100cae55
mov edx, dword [esp + 0x18]
mov ecx, eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x10]
jmp 0x100cf9bb
xor ecx, ecx
mov dword [esp + 0x14], ecx
test ecx, ecx
je 0x100cfb74
mov eax, dword [ecx + 0x114]
test eax, eax
je 0x100cf9d6
cmp eax, 1
jne 0x100cfb70
mov eax, dword [esp + 0x38]
mov ebx, dword [esp + 0x10]
mov eax, dword [eax]
mov eax, dword [ebx + eax + 8]
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x2c], eax
mov eax, dword [ecx + 0x110]
test eax, eax
je 0x100cfa39
cmp eax, 1
jle 0x100cfa39
mov ebx, dword [esp + 0x38]
lea edi, [edx + 1]
mov esi, dword [esp + 0x10]
add esi, 0x2c
add esi, dword [ebx]
mov ebx, dword [esp + 0x30]
mov eax, dword [ecx + 0x110]
test eax, eax
cmove eax, dword [esp + 0x40]
add eax, edx
cmp edi, eax
jge 0x100cfa32
mov eax, dword [esi]
add eax, dword [esp + 0x44]
add dword [esp + 0x2c], eax
inc edi
add esi, 0x24
jmp 0x100cfa0f
mov esi, dword [esp + 0x20]
mov edi, dword [ebp + 8]
push dword [ebp + 0xc]
call fcn.10044df0
mov ecx, dword [esp + 0x14]
push 0
push dword [esp + 0x30]
mov eax, dword [ecx]
call dword [eax + 0x56c]
mov ecx, dword [esp + 0x14]
push dword [ebp + 0xc]
mov eax, dword [ecx]
call dword [eax + 0x27c]
push dword [ebp + 0xc]
mov ecx, dword [esp + 0x18]
call fcn.100cb0bf
mov ecx, eax
mov eax, dword [esi + 0x488]
cmp eax, 0x80000000
je 0x100cfaac
test eax, eax
je 0x100cfaac
mov eax, dword [ebx + 0xb8]
xor edx, edx
cmp eax, 0x7fffffff
cmove eax, edx
cmp eax, ecx
jge 0x100cfaac
xor eax, eax
mov dword [ebx + 0xb8], ecx
cmp ecx, 0x7fffffff
cmove ecx, eax
mov dword [ebx + 0x8c], ecx
cmp dword [ebx + 0xf0], 0
jne 0x100cfb6c
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x2c]
test ecx, ecx
jne 0x100cfacc
mov ecx, dword [0x102b7738]
jmp 0x100cfae3
cmp ecx, dword [0x102b7738]
jne 0x100cfae3
push 0
push ecx
push dword [ebp + 0xc]
mov ecx, eax
call fcn.10079533
mov ecx, eax
lea eax, [ecx + 0x438]
push eax
lea ecx, [esp + 0x5c]
call fcn.10003a43
cmp dword [esp + 0x58], 0
jbe 0x100cfb6c
cmp dword [esp + 0x58], 4
je 0x100cfb5c
lea eax, [esp + 0x50]
push eax
lea ecx, [edi + 0x14]
call fcn.100cad3e
lea ecx, [edi + 0x14]
mov ebx, dword [eax]
xor eax, eax
cmp ebx, 0xffff8000
cmove ebx, eax
lea eax, [esp + 0x54]
push eax
call fcn.100cac9e
mov ecx, dword [esp + 0x14]
push ecx
lea ecx, [esp + 0x5c]
mov edi, dword [eax]
xor eax, eax
cmp edi, 0xffff8000
cmove edi, eax
call fcn.100867f8
lea ecx, [edi + ebx]
lea eax, [eax + ecx*2]
mov ecx, dword [esp + 0x48]
push eax
call fcn.1002b327
mov ebx, dword [esp + 0x30]
mov edi, dword [ebp + 8]
jmp 0x100cfb6c
lea eax, [esp + 0x58]
push eax
lea ecx, [ebx + 0xf0]
call fcn.1002b04d
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
inc edx
add eax, 0x24
mov dword [esp + 0x18], edx
mov dword [esp + 0x10], eax
cmp edx, dword [esp + 0x34]
jl 0x100cf999
mov ecx, dword [ebx + 0x8c]
push dword [ebp + 0xc]
mov dword [esp + 0x30], ecx
mov ecx, ebx
call fcn.10004b2c
test al, al
je 0x100cfc2e
push ebx
call fcn.100cb3a0
pop ecx
test al, al
jne 0x100cfc2e
or dword [esp + 0x84], 0xffffffff
test esi, esi
je 0x100cfbc4
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov esi, dword [ebp + 8]
mov ecx, esi
call fcn.100cd095
mov ebx, dword [esp + 0x6c]
and dword [esp + 0x54], 0
mov dword [esp + 0x40], eax
xor eax, eax
xor ecx, ecx
inc eax
mov dword [esp + 0x38], ecx
mov dword [esp + 0x84], eax
cmp dword [esp + 0x24], ecx
jle 0x100cfdd7
mov eax, dword [esi + 0xcc]
mov edi, dword [eax + ecx*4]
mov dword [esp + 0x48], edi
mov eax, dword [edi + 0x2c]
test eax, eax
jne 0x100cfc60
mov eax, dword [0x102b7738]
jmp 0x100cfc75
lea edi, [ebx + 0xf0]
mov ecx, edi
call fcn.1002b150
and dword [edi + 4], 0
mov dword [edi], 7
and dword [ebx + 0x8c], 0
or dword [esp + 0x84], 0xffffffff
test esi, esi
je 0x100cfc41
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x3c]
inc ecx
mov dword [esp + 0x3c], ecx
cmp ecx, dword [esp + 0x24]
jge 0x100cfbc4
mov edi, dword [ebp + 8]
jmp 0x100cf8c8
cmp eax, dword [0x102b7738]
jne 0x100cfc75
push 0
push ecx
push dword [ebp + 0xc]
mov ecx, edi
call fcn.10079533
and dword [esp + 0x3c], 0
lea ecx, [esp + 0x3c]
push eax
call fcn.1000fd99
mov byte [esp + 0x84], 2
mov esi, dword [esp + 0x3c]
lea ecx, [esi + 0x98]
call fcn.1002b95f
test al, al
jne 0x100cfdac
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x34]
mov ecx, edi
cmp eax, 4
je 0x100cfd4e
mov eax, dword [edi]
call dword [eax + 0x414]
mov ecx, dword [ebp + 8]
mov eax, dword [edi]
push dword [ecx + 0x8c]
push dword [ecx + 0x88]
mov ecx, edi
push dword [ebp + 0xc]
call dword [eax + 0x11c]
mov eax, dword [edi]
mov ecx, edi
push dword [ebp + 0xc]
call dword [eax + 0x27c]
mov eax, dword [edi + 0x5c]
add eax, dword [edi + 0x4c]
add eax, dword [edi + 0x3c]
mov edx, dword [edi + 0x40]
mov ecx, edx
cmp dword [esp + 0x28], edx
push dword [ebp + 0xc]
cmovg ecx, dword [esp + 0x2c]
mov dword [edi + 0x78], eax
xor eax, eax
test edx, edx
cmovns edx, eax
mov eax, dword [edi + 0x60]
add eax, dword [edi + 0x50]
add eax, ecx
mov ecx, edi
add eax, edx
add ebx, eax
mov eax, dword [edi]
mov dword [esp + 0x48], ebx
mov dword [edi + 0x7c], ebx
call dword [eax + 0x128]
mov ecx, dword [esp + 0x48]
mov ebx, eax
mov dword [edi + 0x8c], ebx
mov edi, dword [edi + 0x48]
cmp dword [esp + 0x28], edi
cmovg edi, dword [esp + 0x28]
call fcn.1006bb47
add eax, edi
add eax, ebx
mov ebx, dword [esp + 0x44]
jmp 0x100cfdaa
mov eax, dword [esp + 0x40]
mov dword [edi + 0x78], eax
mov eax, dword [edi]
mov dword [edi + 0x7c], ebx
call dword [eax + 0x414]
push edi
call fcn.100cb3a0
pop ecx
test al, al
jne 0x100cfda0
mov eax, dword [esp + 0x1c]
lea ecx, [esi + 0x438]
mov dword [edi + 0x88], eax
mov eax, dword [esp + 0x2c]
mov dword [edi + 0x8c], eax
mov dword [edi + 0xb8], eax
cmp dword [ecx], 0
jbe 0x100cfda0
push dword [esp + 0x4c]
push edi
call fcn.10086b23
mov dword [edi + 0x8c], eax
mov eax, dword [edi + 0x8c]
add eax, dword [esp + 0x28]
add ebx, eax
xor eax, eax
inc eax
mov byte [esp + 0x84], al
test esi, esi
je 0x100cfdc1
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [esp + 0x38]
mov esi, dword [ebp + 8]
inc ecx
mov dword [esp + 0x38], ecx
cmp ecx, dword [esp + 0x24]
jl 0x100cfbf5
sub ebx, dword [esp + 0x28]
mov ecx, dword [esp + 0x7c]
mov dword [esi + 0xbc], ebx
mov dword [esi + 0xb8], ebx
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8