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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1011f908
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
push ebx
push edi
mov eax, dword [0x1014d0cc]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov eax, dword [esi + 0xa0]
mov eax, dword [eax + 0x90]
xor ecx, ecx
cmp eax, ecx
je 0x100c4939
mov eax, dword [esi + 0xa0]
mov edx, dword [eax + 0x94]
mov eax, dword [eax + 0x90]
lea ebx, [esp + 0x14]
lea edi, [esp + 0x64]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x14], ecx
call fcn.1007fa50
xor eax, eax
mov dword [esp + 0x80], eax
mov ebx, dword [esi + 0xa0]
mov edi, dword [ebx + 0xc]
add ebx, 8
cmp edi, dword [ebx + 8]
mov dword [esp + 0x10], eax
mov dword [esp + 0x28], ebx
jbe 0x100c4708
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esi + 0xa0]
mov ecx, dword [eax + 0x10]
add eax, 8
cmp dword [eax + 4], ecx
mov dword [esp + 0x48], edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
jbe 0x100c4730
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x14]
nop
cmp ebx, eax
je 0x100c473a
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp edi, dword [esp + 0x18]
je 0x100c491c
mov eax, dword [esi + 0xa0]
mov ecx, dword [eax + 0xc]
add eax, 8
test ecx, ecx
jne 0x100c4758
xor eax, eax
jmp 0x100c4760
mov eax, dword [eax + 8]
sub eax, ecx
sar eax, 5
cmp dword [esp + 0x10], eax
jge 0x100c491c
cmp edi, dword [ebx + 8]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], ecx
jb 0x100c4785
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [edi + 0x10]
mov edx, dword [edi + 0x14]
shld edx, eax, 0x10
shl eax, 0x10
mov cl, 0x10
call fcn.1010eb00
mov ecx, eax
or ecx, edx
je 0x100c4900
add dword [esp + 0x2c], eax
mov eax, dword [esi + 0x2e8]
adc dword [esp + 0x30], edx
test eax, eax
je 0x100c47c3
mov ecx, dword [esi + 0x2ec]
sub ecx, eax
cmp dword [esp + 0x10], ecx
jb 0x100c47c9
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edx, dword [esi + 0x2e8]
mov eax, dword [esp + 0x10]
cmp byte [eax + edx], 0
je 0x100c4900
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x38]
cdq
mov ebx, edx
mov edx, dword [esp + 0x34]
push ebx
mov edi, eax
push edi
push ecx
push edx
call fcn.1010e550
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x2c]
push ebx
sub eax, 1
push edi
sbb ecx, 0
push ecx
push eax
call fcn.1010e550
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x2e8]
test eax, eax
je 0x100c482e
mov ecx, dword [esi + 0x2ec]
sub ecx, eax
cmp dword [esp + 0x10], ecx
jb 0x100c4834
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x10]
mov edx, dword [esi + 0x2e8]
mov al, byte [eax + edx]
mov byte [esp + 0x50], al
mov eax, dword [esp + 0x68]
cmp eax, dword [esp + 0x6c]
mov edi, eax
jbe 0x100c485b
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x58], edi
lea edi, [edi + ecx*4]
cmp edi, dword [esp + 0x6c]
lea ebx, [esp + 0x64]
ja 0x100c4874
cmp edi, eax
jae 0x100c487e
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x68]
mov dword [esp + 0x40], edi
add edi, 4
cmp edi, dword [ebx + 8]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x20], edi
ja 0x100c4897
cmp edi, dword [ebx + 4]
jae 0x100c48a1
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x68]
cmp eax, dword [esp + 0x6c]
mov edi, eax
jbe 0x100c48b3
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x68]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x58], edi
lea edi, [edi + edx*4]
cmp edi, dword [esp + 0x6c]
lea ecx, [esp + 0x64]
mov ebx, ecx
ja 0x100c48ce
cmp edi, eax
jae 0x100c48d4
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x3c]
push eax
mov eax, 0x100c4660
push eax
push ecx
push edx
push edi
lea eax, [esp + 0x70]
push ebx
push eax
call fcn.100d5930
mov edi, dword [esp + 0x64]
mov ebx, dword [esp + 0x44]
add esp, 0x1c
cmp edi, dword [ebx + 8]
jb 0x100c490b
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
add edi, 0x20
add dword [esp + 0x10], 1
mov dword [esp + 0x48], edi
jmp 0x100c472b
lea ecx, [esp + 0x64]
push ecx
mov ecx, esi
call fcn.100c4560
mov eax, dword [esp + 0x68]
test eax, eax
je 0x100c4939
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret