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

Disassembly:
push 0xffffffffffffffff
push 0x1011dd60
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1014d0cc]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov edi, dword [esp + 0x88]
test byte [edi + 0x4d8], 4
je 0x100cf9de
movzx ecx, byte [edi + 0x4ef]
mov esi, dword [edi + 0xa0]
mov eax, dword [esi + 0x94]
and ecx, 0x1f
cdq
mov ebx, 1
shl ebx, cl
idiv ebx
mov ecx, eax
cdq
sub eax, edx
sar eax, 1
add eax, dword [esp + 0x8c]
cdq
idiv ecx
cmp eax, dword [esi + 0x90]
mov dword [esp + 0x8c], eax
jle 0x100cf2aa
mov eax, esi
mov eax, dword [eax + 0x90]
mov dword [esp + 0x8c], eax
xor ecx, ecx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x80], ecx
mov eax, dword [edi + 0x304]
cmp eax, ecx
je 0x100cf2d9
lea ecx, [esp + 0x44]
push ecx
push eax
call fcn.1007e1a0
jmp 0x100cf3c7
mov edi, esi
cmp dword [edi + 0x90], ecx
mov dword [esp + 0x14], ecx
jle 0x100cf3c7
mov ebp, dword [esp + 0x88]
mov edi, ecx
push edi
mov ecx, ebp
mov dword [esp + 0x1c], 0
call fcn.10066240
test al, al
jne 0x100cf322
lea ebx, [esp + 0x18]
lea esi, [esp + 0x44]
mov dword [esp + 0x18], accept
call fcn.10073710
jmp 0x100cf3ae
mov edi, dword [esp + 0x88]
mov eax, dword [edi + 0xb0]
mov eax, dword [eax]
add edi, 0xac
mov esi, edi
mov ebp, eax
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], ebp
test esi, esi
mov ebx, dword [edi + 4]
je 0x100cf34e
cmp esi, edi
je 0x100cf354
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp ebp, ebx
je 0x100cf396
test esi, esi
jne 0x100cf362
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp ebp, dword [esi + 4]
jne 0x100cf36d
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edx, dword [esp + 0x14]
mov ecx, dword [ebp + 0xc]
push edx
call fcn.10068ca0
test al, al
je 0x100cf383
add dword [esp + 0x18], 1
lea esi, [esp + 0x1c]
call fcn.10073f20
mov ebp, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
jmp 0x100cf343
lea ebx, [esp + 0x18]
lea esi, [esp + 0x44]
call fcn.10073710
mov edi, dword [esp + 0x14]
mov ebp, dword [esp + 0x88]
mov eax, dword [ebp + 0xa0]
add edi, 1
cmp edi, dword [eax + 0x90]
mov dword [esp + 0x14], edi
jl 0x100cf2f4
mov ebx, dword [esp + 0x88]
mov eax, dword [ebx + 0xa0]
mov eax, dword [eax + 0x90]
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x28]
xor ebp, ebp
push edx
mov ecx, eax
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
call fcn.100d3510
mov eax, dword [ebx + 0xa0]
mov eax, dword [eax + 0x90]
xor esi, esi
cmp eax, ebp
jle 0x100cf4f6
jmp 0x100cf410
mov ecx, dword [esp + 0x28]
cmp ecx, ebp
je 0x100cf425
mov eax, dword [esp + 0x2c]
sub eax, ecx
sar eax, 3
cmp esi, eax
jb 0x100cf42f
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x28]
mov dword [ecx + esi*8 + 4], esi
mov eax, dword [ebx + 0xa0]
cmp dword [eax + 0x94], ebp
jle 0x100cf473
mov edi, dword [ebx + 0x304]
cmp edi, ebp
je 0x100cf49b
mov ecx, dword [edi + 0x28]
cmp ecx, ebp
je 0x100cf45e
mov eax, dword [edi + 0x2c]
sub eax, ecx
sar eax, 3
cmp esi, eax
jb 0x100cf464
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [edi + 0x28]
cmp dword [eax + esi*8 + 4], 0xffffffff
sete al
test al, al
jne 0x100cf49b
mov ecx, dword [esp + 0x28]
cmp ecx, ebp
je 0x100cf488
mov eax, dword [esp + 0x2c]
sub eax, ecx
sar eax, 3
cmp esi, eax
jb 0x100cf492
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x28]
mov dword [ecx + esi*8], accept
jmp 0x100cf4e1
mov ecx, dword [esp + 0x48]
cmp ecx, ebp
je 0x100cf4b0
mov eax, dword [esp + 0x4c]
sub eax, ecx
sar eax, 2
cmp esi, eax
jb 0x100cf4ba
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x48]
lea edi, [ecx + esi*4]
mov ecx, dword [esp + 0x28]
cmp ecx, ebp
je 0x100cf4d2
mov eax, dword [esp + 0x2c]
sub eax, ecx
sar eax, 3
cmp esi, eax
jb 0x100cf4dc
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x28]
mov edx, dword [edi]
mov dword [ecx + esi*8], edx
mov eax, dword [ebx + 0xa0]
add esi, 1
cmp esi, dword [eax + 0x90]
jl 0x100cf410
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], ebp
mov byte [esp + 0x80], 2
mov eax, dword [ebx + 0xa0]
mov edx, dword [ebx + 0x2e0]
lea ecx, [esp + 0x34]
push ecx
add eax, 0x140
push eax
add edx, 0x3d0
push edx
call fcn.10029210
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
cmp ecx, eax
mov dword [esp + 0x14], eax
jbe 0x100cf54b
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
cmp ecx, eax
mov esi, dword [esp + 0x20]
mov edx, 0x24
lea edi, [edx - 0x23]
mov ebx, edx
mov ebp, eax
jbe 0x100cf56d
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
cmp ecx, eax
mov dword [esp + 0x18], ecx
jbe 0x100cf57b
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edx, dword [esp + 0x44]
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov dword [eax + 4], ebx
mov dword [eax + 8], esi
lea ecx, [esp + 0x44]
mov dword [eax + 0xc], edi
push ebp
mov eax, ecx
push eax
mov eax, dword [esp + 0x30]
push eax
push ecx
lea eax, [esp + 0x3c]
call fcn.100d6330
mov ecx, dword [eax]
mov esi, dword [eax + 4]
add esp, 0x20
test ecx, ecx
je 0x100cf5ba
lea edx, [esp + 0x34]
cmp ecx, edx
je 0x100cf5c4
mov ebx, dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
call ebx
jmp 0x100cf5ca
mov ebx, dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ebp, dword [esp + 0x14]
cmp esi, ebp
je 0x100cf638
mov ebx, dword [esp + 0x3c]
mov ecx, ebx
sub ecx, ebp
mov eax, 0x66666667
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
lea eax, [eax + eax*4]
mov byte [esp + 0x18], 0
mov ecx, dword [esp + 0x18]
push ecx
lea edi, [esi + eax*8]
mov eax, dword [esp + 0x8c]
mov byte [esp + 0x18], 0
mov edx, dword [esp + 0x18]
push edx
push eax
push ebx
mov eax, esi
mov ecx, ebp
call fcn.10035a30
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x4c]
push ecx
push edx
mov eax, edi
call fcn.10034fe0
mov ebx, dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
add esp, 0x18
mov dword [esp + 0x3c], edi
mov eax, dword [esp + 0x38]
cmp eax, dword [esp + 0x3c]
mov edi, eax
jbe 0x100cf64a
call ebx
mov eax, dword [esp + 0x38]
mov ebp, dword [esp + 0x3c]
cmp eax, ebp
jbe 0x100cf654
call ebx
cmp edi, ebp
je 0x100cf68e
cmp edi, dword [esp + 0x3c]
jb 0x100cf660
call ebx
mov eax, dword [esp + 0x28]
test eax, eax
mov esi, dword [edi]
je 0x100cf677
mov ecx, dword [esp + 0x2c]
sub ecx, eax
sar ecx, 3
cmp esi, ecx
jb 0x100cf67d
call ebx
mov eax, dword [esp + 0x28]
add dword [eax + esi*8], 0xffffffff
cmp edi, dword [esp + 0x3c]
jb 0x100cf689
call ebx
add edi, 0x28
jmp 0x100cf654
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
cmp ecx, edx
mov edi, edx
jbe 0x100cf6a6
call ebx
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
cmp ecx, edx
mov esi, ecx
jbe 0x100cf6b6
call ebx
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
cmp esi, edi
je 0x100cf6cc
push edi
push esi
call fcn.100d8a60
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
add esp, 8
cmp ecx, edx
mov dword [esp + 0x18], edx
jbe 0x100cf6de
call ebx
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
cmp ecx, edx
mov ebp, ecx
jbe 0x100cf6f2
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov edi, dword [esp + 0x20]
mov ebx, dword [esp + 0x20]
xor eax, eax
xor esi, esi
cmp ebp, dword [esp + 0x18]
mov dword [esp + 0x60], eax
je 0x100cf739
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x60]
sub esp, 0x14
mov eax, esp
mov dword [eax], ecx
mov dword [eax + 4], esi
mov dword [eax + 8], edi
mov edi, dword [esp + 0x2c]
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], ebx
mov ebx, ebp
call fcn.100d8af0
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
add esp, 0x14
mov eax, dword [esp + 0x4c]
cmp dword [esp + 0x48], eax
mov ebx, eax
jbe 0x100cf757
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov edi, dword [esp + 0x48]
cmp edi, eax
jbe 0x100cf771
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
cmp edi, ebx
je 0x100cf7a3
sub eax, ebx
sar eax, 2
test eax, eax
lea esi, [eax*4]
lea ebp, [esi + edi]
jle 0x100cf79d
push esi
push ebx
push esi
push edi
call dword [sym.imp.MSVCR80.dll_memmove_s]
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
add esp, 0x10
mov eax, ebp
mov dword [esp + 0x4c], eax
xor edi, edi
cmp dword [esp + 0x8c], edi
jle 0x100cf810
mov ebp, dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
jmp 0x100cf7ba
mov edx, dword [esp + 0x2c]
test ecx, ecx
je 0x100cf7c9
mov eax, edx
sub eax, ecx
sar eax, 3
cmp edi, eax
jb 0x100cf7d3
call ebp
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
cmp dword [ecx + edi*8], 0x7fffffff
je 0x100cf80c
test ecx, ecx
je 0x100cf7e9
sub edx, ecx
sar edx, 3
cmp edi, edx
jb 0x100cf7ef
call ebp
mov ecx, dword [esp + 0x28]
lea ebx, [ecx + edi*8 + 4]
lea esi, [esp + 0x44]
call fcn.10073710
mov ecx, dword [esp + 0x28]
add edi, 1
cmp edi, dword [esp + 0x8c]
jl 0x100cf7b6
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
test edx, edx
je 0x100cf95e
sub eax, edx
sar eax, 2
je 0x100cf95e
cmp eax, dword [esp + 0x8c]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
jl 0x100cf83f
lea eax, [esp + 0x8c]
mov eax, dword [eax]
push 0
push eax
lea eax, [esp + 0x4c]
call fcn.10060200
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
cmp eax, ecx
mov ebp, eax
jbe 0x100cf869
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x48]
cmp eax, ecx
mov dword [esp + 0x8c], ecx
jbe 0x100cf880
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
lea ebx, [ebx]
cmp ebp, dword [esp + 0x8c]
je 0x100cf95a
mov ebx, dword [esp + 0x88]
sub esp, 0x10
mov eax, esp
mov dword [esp + 0x28], esp
sub esp, 8
mov dword [esp + 0x30], esp
add ebx, 0x1c
mov edi, esp
mov esi, 0x100bc700
mov dword [esp + 0x38], 0
mov dword [esp + 0x30], eax
call fcn.100d2250
mov eax, dword [esp + 0x38]
movzx ecx, byte [0x10155709]
movzx edx, byte [0x1015570d]
push eax
mov eax, dword [esp + 0x34]
push esi
push ecx
push edx
push eax
call fcn.10046180
add esp, 0x1c
lea edi, [esp + 0x64]
call fcn.100d5660
mov byte [esp + 0x80], 3
cmp ebp, dword [esp + 0x4c]
jb 0x100cf8ff
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x88]
mov edx, dword [ebp]
mov esi, dword [eax + 0xa8]
lea ecx, [esp + 0x54]
push ecx
push edx
call fcn.100b11c0
mov byte [esp + 0x80], 2
mov eax, dword [esp + 0x54]
test eax, eax
je 0x100cf946
test al, 1
jne 0x100cf946
and eax, 0xfffffffe
mov eax, dword [eax]
test eax, eax
je 0x100cf946
lea ecx, [esp + 0x5c]
push 2
push ecx
mov edx, ecx
push edx
call eax
add esp, 0xc
cmp ebp, dword [esp + 0x4c]
jb 0x100cf952
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
add ebp, 4
jmp 0x100cf880
mov ecx, dword [esp + 0x28]
mov esi, dword [esp + 0x38]
xor edi, edi
cmp esi, edi
je 0x100cf9a8
mov ebx, dword [esp + 0x3c]
cmp esi, ebx
je 0x100cf99b
add esi, 0xc
mov dword [esi - 8], edi
mov eax, dword [esi]
cmp eax, edi
je 0x100cf985
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
add esi, 0x28
lea eax, [esi - 0xc]
cmp eax, ebx
jne 0x100cf973
mov esi, dword [esp + 0x38]
push esi
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
mov ecx, dword [esp + 0x2c]
add esp, 4
cmp ecx, edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
je 0x100cf9c1
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [esp + 0x48]
cmp eax, edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
je 0x100cf9de
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 esi
pop ebp
pop ebx
add esp, 0x70
ret 8