Function at 0x101886f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x101e8171
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x10293044]
xor eax, esp
mov dword [esp + 0x3c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10293044]
xor eax, esp
push eax
lea eax, [esp + 0x54]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x5c], ebx
mov edi, dword [esp + 0x64]
mov dword [esp + 0x2c], ebx
mov dword [edi + 0x18], 7
mov dword [edi + 0x14], ebx
mov dword [esp + 0x24], edi
mov word [edi + 4], bx
mov dword [esp + 0x5c], ebx
mov esi, dword [ecx + 0xc]
cmp esi, ebx
mov ebp, 1
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], esi
je 0x10188762
mov eax, dword [esi]
mov edx, dword [eax]
mov ecx, esi
call edx
mov dword [esp + 0x5c], ebp
cmp esi, ebx
je 0x1018891a
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov byte [esp + 0x5c], 2
mov eax, dword [esi]
mov edx, dword [eax + 0x24]
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
call edx
push ebp
push 0x10238ff8
mov ecx, edi
call fcn.1000c810
xor ebp, ebp
mov dword [esp + 0x28], ebx
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x101888c6
mov ecx, dword [esp + 0x1c]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jae 0x101888c6
mov dword [esp + 0x4c], 7
mov dword [esp + 0x48], ebx
mov word [esp + 0x38], bx
mov byte [esp + 0x5c], 3
mov edi, dword [esp + 0x18]
cmp edi, ebx
je 0x10188808
mov ecx, dword [esp + 0x1c]
sub ecx, edi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jb 0x10188812
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x28]
cmp dword [eax + edi + 0x18], 8
jb 0x10188823
mov edi, dword [eax + edi + 4]
jmp 0x10188827
lea edi, [eax + edi + 4]
push edi
push 0x102408c0
lea ecx, [esp + 0x3c]
call fcn.1019cb70
mov eax, dword [esp + 0x20]
add esp, 8
cmp eax, ebx
jne 0x10188845
xor eax, eax
jmp 0x1018885e
mov ecx, dword [esp + 0x1c]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
add eax, 0xffffffff
cmp ebp, eax
je 0x10188875
push 1
push 0x10233af8
lea ecx, [esp + 0x3c]
call fcn.1000c810
mov esi, dword [esp + 0x24]
push ebx
lea eax, [esp + 0x38]
push eax
or eax, 0xffffffff
call fcn.1000c700
mov byte [esp + 0x5c], 2
cmp dword [esp + 0x4c], 8
jb 0x101888a0
mov ecx, dword [esp + 0x38]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x24]
add ebp, 1
add dword [esp + 0x28], 0x38
mov dword [esp + 0x4c], 7
mov dword [esp + 0x48], ebx
mov word [esp + 0x38], bx
jmp 0x101887a0
push 1
push 0x10238ffc
mov ecx, edi
call fcn.1000c810
mov byte [esp + 0x5c], 1
mov edi, dword [esp + 0x18]
cmp edi, ebx
je 0x1018890a
mov ebp, dword [esp + 0x1c]
cmp edi, ebp
je 0x10188901
lea esp, [esp]
push edi
call fcn.1004e680
add edi, 0x38
cmp edi, ebp
jne 0x101888f0
mov edi, dword [esp + 0x18]
push edi
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov edi, dword [esp + 0x24]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov byte [esp + 0x5c], bl
cmp esi, ebx
je 0x1018892b
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
mov eax, edi
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.101d19cc
add esp, 0x4c
ret 4