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

Disassembly:
push 0xffffffffffffffff
push 0x100ade3a
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x100d3020]
xor eax, esp
mov dword [esp + 0x68], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100d3020]
xor eax, esp
push eax
lea eax, [esp + 0x84]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x94]
xor ebx, ebx
cmp dword [ebp + 0x20], ebx
je 0x10007301
jmp 0x10006fb0
mov al, byte [ebp + 0x4c]
test al, al
je 0x10007301
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x58], 7
mov dword [esp + 0x54], ebx
mov word [esp + 0x44], bx
mov dword [esp + 0x5c], ebx
lea eax, [ebp + 0xc]
cmp eax, ebx
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x1c], eax
je 0x10006ff3
mov eax, dword [eax]
cmp eax, ebx
je 0x10006ff3
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [esp + 0x8c], 1
mov eax, dword [ebp + 0x1c]
mov esi, dword [ebp + 0x20]
mov edi, dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
add esi, eax
cmp eax, esi
jbe 0x1000700f
call edi
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x20]
add esi, 0xffffffff
add ecx, eax
cmp esi, ecx
ja 0x10007022
cmp esi, eax
jae 0x10007024
call edi
mov edx, dword [ebp + 0x20]
add edx, dword [ebp + 0x1c]
cmp esi, edx
jb 0x10007030
call edi
mov eax, dword [ebp + 0x18]
cmp eax, esi
ja 0x10007039
sub esi, eax
mov eax, dword [ebp + 0x14]
mov esi, dword [eax + esi*4]
mov edi, dword [esi]
cmp dword [esp + 0x3c], edi
je 0x10007066
cmp edi, ebx
je 0x10007053
mov edx, dword [edi]
mov eax, dword [edx]
mov ecx, edi
call eax
mov ecx, dword [esp + 0x3c]
cmp ecx, ebx
je 0x10007062
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x3c], edi
or edi, 0xffffffff
push edi
push ebx
lea eax, [esi + 4]
lea ecx, [esp + 0x48]
call fcn.10002570
mov esi, dword [esi + 0x20]
mov ecx, dword [esp + 0x5c]
cmp ecx, esi
je 0x100070a1
cmp esi, ebx
je 0x10007092
mov edx, dword [esi]
mov eax, dword [edx]
mov ecx, esi
call eax
mov ecx, dword [esp + 0x5c]
cmp ecx, ebx
je 0x1000709d
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x5c], esi
cmp dword [ebp + 0x20], ebx
jbe 0x100070d1
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x14]
mov eax, dword [ecx + eax*4]
push eax
call fcn.10006e80
add dword [ebp + 0x1c], 1
mov eax, dword [ebp + 0x1c]
cmp dword [ebp + 0x18], eax
ja 0x100070c4
mov dword [ebp + 0x1c], ebx
add dword [ebp + 0x20], edi
jne 0x100070cc
mov dword [ebp + 0x1c], ebx
cmp dword [ebp + 0x20], ebx
ja 0x100070a6
mov byte [esp + 0x8c], 0
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x100070ee
mov eax, dword [eax]
cmp eax, ebx
je 0x100070ee
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x3c]
cmp ecx, ebx
je 0x100072e7
mov edx, dword [ecx]
mov eax, dword [edx]
mov ebx, ecx
mov dword [esp + 0x34], ebx
call eax
xor esi, esi
mov dword [esp + 0x30], esi
mov byte [esp + 0x8c], 3
mov edx, dword [ebx]
mov edx, dword [edx + 0x2c]
lea eax, [esp + 0x38]
push eax
mov ecx, ebx
call edx
mov byte [esp + 0x8c], 4
mov edi, dword [eax]
test edi, edi
je 0x1000713e
mov eax, dword [edi]
mov edx, dword [eax]
mov ecx, edi
call edx
mov dword [esp + 0x30], edi
mov esi, edi
mov byte [esp + 0x8c], 3
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x10007155
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
xor eax, eax
cmp esi, eax
je 0x100072bc
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov byte [esp + 0x8c], 5
cmp dword [ebp + 0x50], esi
je 0x10007191
mov eax, dword [esi]
mov edx, dword [eax]
mov ecx, esi
call edx
mov ecx, dword [ebp + 0x50]
test ecx, ecx
je 0x1000718e
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
mov dword [ebp + 0x50], esi
mov eax, dword [esi]
mov eax, dword [eax + 0x14]
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x44]
push edx
mov ecx, esi
call eax
mov ecx, dword [ebp + 0x50]
xor edi, edi
cmp ecx, edi
mov bl, al
je 0x100071b9
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov dword [ebp + 0x50], edi
test bl, bl
mov eax, dword [esp + 0x24]
je 0x1000729f
cmp eax, edi
je 0x100072ac
mov ecx, dword [esp + 0x28]
sub ecx, eax
je 0x1000729f
cmp dword [esp + 0x5c], edi
je 0x1000729f
lea ebx, [esp + 0x1a]
lea esi, [esp + 0x20]
mov byte [esp + 0x1a], 0
call fcn.10007330
lea ebx, [esp + 0x19]
mov byte [esp + 0x19], 0
call fcn.10007330
lea ebx, [esp + 0x1b]
mov byte [esp + 0x1b], 0
call fcn.10007330
mov edi, dword [esp + 0x24]
xor ebx, ebx
cmp edi, ebx
je 0x10007223
mov edx, dword [esp + 0x28]
sub edx, edi
jne 0x1000722d
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edi, dword [esp + 0x24]
push 0xffffffffffffffff
lea esi, [esp + 0x64]
call fcn.1007e1c0
mov byte [esp + 0x90], 6
mov esi, dword [esp + 0x60]
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x38], esp
push 0xffffffffffffffff
mov edi, 7
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push ebx
lea eax, [esp + 0x84]
mov word [ecx + 4], bx
call fcn.10002570
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
mov ecx, esi
call edx
cmp dword [esp + 0x78], 8
jb 0x10007288
mov eax, dword [esp + 0x64]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x30]
mov dword [esp + 0x78], edi
mov dword [esp + 0x74], ebx
mov word [esp + 0x64], bx
xor edi, edi
cmp eax, edi
je 0x100072ac
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ebx, dword [esp + 0x34]
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
test esi, esi
mov byte [esp + 0x8c], 2
je 0x100072d1
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
mov byte [esp + 0x8c], 0
mov edx, dword [ebx]
mov eax, dword [edx + 4]
mov ecx, ebx
call eax
xor ebx, ebx
or edi, 0xffffffff
lea ecx, [esp + 0x3c]
push ecx
mov dword [esp + 0x90], edi
call fcn.10006e80
cmp dword [ebp + 0x20], ebx
jne 0x10006fb0
mov ecx, dword [esp + 0x84]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.100a4489
add esp, 0x7c
ret 4