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

Disassembly:
sub esp, 0x28
mov eax, dword [esp + 0x2c]
push ebx
push esi
mov esi, ecx
mov dword [esp + 0xc], edx
mov ecx, dword [esp + 0x40]
mov edx, dword [eax]
mov dword [esp + 0x20], esi
mov dword [esp + 0x10], edx
mov ebx, dword [ecx]
mov dword [eax], 0
mov dword [ecx], 0
cmp dword [esi + 0x18], 0
mov dword [esp + 0x1c], ebx
je 0x100c6e60
mov eax, dword [esi + 0x1c]
pop esi
pop ebx
add esp, 0x28
ret 0x18
cmp dword [esi + 0xc], 0
push ebp
push edi
lea edi, [esi + 0x20]
mov dword [edi], 2
mov dword [esp + 0x34], edi
je 0x100c6f55
mov ecx, dword [esi + 0x78]
lea eax, [esp + 0x14]
push edi
push dword [esp + 0x54]
mov dword [esp + 0x1c], ebx
mov ebx, dword [esp + 0x54]
push ebx
push eax
push dword [esp + 0x54]
lea eax, [esp + 0x24]
mov dword [esp + 0x24], edx
push eax
mov eax, dword [esi + 0x88]
xor edx, edx
call eax
mov edx, dword [edi]
mov ebp, eax
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
mov dword [esi + 0x1c], ebp
mov dword [eax], ecx
add dword [esi + 0x14], edi
mov eax, dword [esi + 0x14]
mov dword [esp + 0x44], ebp
mov dword [esp + 0x50], edx
test ebp, ebp
jne 0x100c6ed6
test ebx, ebx
jne 0x100c6ed6
cmp edx, 1
jne 0x100c6edd
mov dword [esi + 0x18], 1
mov ecx, dword [esi + 8]
cmp ecx, 1
jne 0x100c6ef7
mov eax, dword [esp + 0x3c]
mov dword [eax], edi
mov eax, ebp
pop edi
pop ebp
pop esi
pop ebx
add esp, 0x28
ret 0x18
cmp dword [esi + 0x18], 0
je 0x100c713c
mov ebx, 1
cmp ecx, ebx
jbe 0x100c6f43
mov ebp, dword [esp + 0x40]
lea edi, [esi + 0x90]
mov edx, dword [esi + 0xc]
mov ecx, dword [edi]
push eax
mov eax, dword [edi + 0x14]
call eax
cmp dword [esp + 0x50], 1
je 0x100c6f33
test ebp, ebp
je 0x100c6f36
mov ecx, dword [esp + 0x18]
cmp dword [esi + 0x14], ecx
jne 0x100c6f36
mov eax, dword [esi + 0x14]
inc ebx
add edi, 0x18
cmp ebx, dword [esi + 8]
jb 0x100c6f14
mov ebp, dword [esp + 0x44]
mov ecx, dword [esp + 0x3c]
pop edi
mov dword [ecx], eax
mov eax, ebp
pop ebp
pop esi
pop ebx
add esp, 0x28
ret 0x18
cmp dword [esi + 8], 1
je 0x100c6f9a
cmp dword [esi + 4], 0
jne 0x100c6f88
mov eax, dword [esi]
mov edx, 0x60000
mov ecx, eax
mov eax, dword [eax]
call eax
mov dword [esi + 4], eax
test eax, eax
jne 0x100c6f84
pop edi
pop ebp
pop esi
mov eax, 2
pop ebx
add esp, 0x28
ret 0x18
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x10], edx
jmp 0x100c6fb3
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x44]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], edx
jmp 0x100c6fb3
lea edi, [esi + 0x20]
mov dword [edi], 2
xor ebp, ebp
xor edi, edi
mov dword [esp + 0x50], 0
mov dword [esp + 0x20], 1
cmp dword [esi + 8], edi
jbe 0x100c7132
lea eax, [edi + 5]
lea eax, [eax + eax*2]
lea eax, [esi + eax*8]
mov dword [esp + 0x2c], eax
test edi, edi
jne 0x100c6ff5
mov eax, dword [esp + 0x24]
mov ebx, edx
sub eax, dword [ecx]
mov ecx, dword [esp + 0x4c]
jmp 0x100c700e
mov eax, dword [esi + edi*4 + 0x38]
lea ebx, [edi - 1]
mov ecx, dword [esi + edi*4 + 0x20]
shl ebx, 0x11
add ebx, dword [esi + 4]
add ebx, dword [esi + edi*4 + 0x2c]
sub eax, dword [esi + edi*4 + 0x2c]
mov dword [esp + 0x44], eax
mov eax, dword [esi + 8]
dec eax
cmp edi, eax
jne 0x100c7032
mov esi, dword [esp + 0x3c]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
sub eax, dword [esi]
mov esi, dword [esp + 0x28]
mov dword [esp + 0x40], eax
jmp 0x100c7050
mov eax, dword [esi + edi*4 + 0x30]
cmp eax, dword [esi + edi*4 + 0x3c]
jne 0x100c710c
mov edx, edi
mov dword [esp + 0x40], 0x20000
shl edx, 0x11
add edx, dword [esi + 4]
mov eax, dword [esi + edi*4 + 0x68]
test eax, eax
je 0x100c706b
mov ebx, dword [esp + 0x50]
test ebp, ebp
jne 0x100c7110
mov ebp, eax
jmp 0x100c7110
lea eax, [esp + 0x30]
push eax
push dword [esp + 0x20]
lea eax, [esp + 0x4c]
push ecx
push eax
push ebx
lea eax, [esp + 0x54]
push eax
mov eax, dword [esp + 0x44]
mov ecx, dword [eax]
mov eax, dword [eax + 0x10]
call eax
test eax, eax
je 0x100c7098
test ebp, ebp
mov dword [esi + edi*4 + 0x68], eax
cmove ebp, eax
mov ecx, dword [esp + 0x30]
xor edx, edx
cmp ecx, 1
sete dl
test edx, edx
jne 0x100c70b9
cmp dword [esi + 8], 1
mov dword [esp + 0x20], edx
jne 0x100c70b9
test eax, eax
jne 0x100c70b9
mov dword [esi + 0x20], ecx
mov ecx, dword [esp + 0x44]
test edi, edi
jne 0x100c70cd
mov eax, dword [esp + 0x48]
add dword [eax], ecx
add dword [esp + 0x10], ecx
jmp 0x100c70d1
add dword [esi + edi*4 + 0x2c], ecx
mov eax, dword [esi + 8]
dec eax
cmp edi, eax
mov eax, dword [esp + 0x40]
jne 0x100c70e9
mov edx, dword [esp + 0x3c]
add dword [edx], eax
add dword [esp + 0x14], eax
jmp 0x100c70f9
mov dword [esi + edi*4 + 0x3c], eax
mov dword [esi + edi*4 + 0x30], 0
mov dword [esi + edi*4 + 0x24], edx
test eax, eax
jne 0x100c7101
test ecx, ecx
je 0x100c710c
mov ebx, 1
mov dword [esp + 0x50], ebx
jmp 0x100c7110
mov ebx, dword [esp + 0x50]
mov ecx, dword [esp + 0x48]
inc edi
mov edx, dword [esp + 0x10]
cmp edi, dword [esi + 8]
jb 0x100c6fd6
test ebx, ebx
jne 0x100c6fb0
mov eax, dword [esp + 0x20]
test eax, eax
je 0x100c713c
mov eax, dword [esp + 0x34]
mov dword [eax], 1
pop edi
mov eax, ebp
pop ebp
pop esi
pop ebx
add esp, 0x28
ret 0x18