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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
and dword [ebp - 4], 0
cmp dword [0x100ac2c], 0xffffffff
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
je 0x1006f67
mov eax, 0x100ac2c
mov edi, eax
lea esi, [ebp - 0x18]
mov eax, dword [eax]
mov eax, dword [ebx + eax]
test eax, eax
je 0x1006f57
push eax
call dword [sym.imp.msvcrt.dll_wcslen]
inc eax
pop ecx
mov ecx, dword [ebp - 4]
mov dword [esi], eax
lea eax, [ecx + eax*2]
mov dword [ebp - 4], eax
jmp 0x1006f5a
and dword [esi], 0
add edi, 8
add esi, 4
cmp dword [edi], 0xffffffff
mov eax, edi
jne 0x1006f38
cmp dword [0x100ac4c], 0xffffffff
mov edi, dword [ebp + 0x10]
je 0x1006fb1
mov eax, 0x100ac4c
mov dword [ebp + 0xc], eax
lea esi, [ebp - 0x24]
mov eax, dword [eax]
mov eax, dword [edi + eax]
test eax, eax
je 0x1006f9d
push eax
call dword [sym.imp.msvcrt.dll_wcslen]
inc eax
pop ecx
mov ecx, dword [ebp - 4]
mov dword [esi], eax
lea eax, [ecx + eax*2]
mov dword [ebp - 4], eax
jmp 0x1006fa0
and dword [esi], 0
mov eax, dword [ebp + 0xc]
add eax, 8
add esi, 4
cmp dword [eax], 0xffffffff
mov dword [ebp + 0xc], eax
jne 0x1006f7e
cmp dword [ebp + 8], 3
jne 0x1006feb
mov eax, dword [0x100ac6c]
cmp eax, 0xffffffff
je 0x1006feb
mov dword [ebp + 0xc], 0x100ac6c
lea esi, [ebp - 0xc]
push dword [eax + edi]
call dword [sym.imp.msvcrt.dll_wcslen]
add dword [ebp - 4], eax
add dword [ebp + 0xc], 8
mov dword [esi], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
add esi, 4
cmp eax, 0xffffffff
pop ecx
jne 0x1006fcb
mov esi, dword [ebp + 0x14]
mov eax, dword [ebp - 4]
push esi
add eax, 0xbc
push eax
call sub.NETAPI32.dll_NetapipBufferAllocate
test eax, eax
je 0x1007009
push 8
pop eax
jmp 0x10071c5
mov eax, dword [esi]
mov ecx, dword [ebp - 4]
lea ecx, [eax + ecx + 0xb0]
mov dword [ebp - 8], ecx
lea ecx, [ebp - 0x18]
push ecx
push 0x100ac2c
push eax
push ebx
lea eax, [ebp - 8]
push eax
call fcn.010076ac
lea eax, [ebp - 0x24]
push eax
push 0x100ac4c
push dword [esi]
lea eax, [ebp - 8]
push edi
push eax
call fcn.010076ac
mov eax, dword [esi]
mov ecx, dword [ebx + 8]
mov dword [eax + 4], ecx
mov eax, dword [esi]
mov ecx, dword [ebx + 0xc]
mov dword [eax + 8], ecx
mov eax, dword [esi]
mov ecx, dword [ebx + 0x10]
mov dword [eax + 0xc], ecx
mov eax, dword [esi]
mov ecx, dword [edi]
mov dword [eax + 0x14], ecx
mov eax, dword [esi]
mov ecx, dword [edi + 4]
mov dword [eax + 0x18], ecx
mov eax, dword [esi]
mov ecx, dword [edi + 8]
mov dword [eax + 0x1c], ecx
mov eax, dword [esi]
mov ecx, dword [ebx + 0x18]
mov dword [eax + 0x20], ecx
mov eax, dword [esi]
mov ecx, dword [ebx + 0x1c]
mov dword [eax + 0x24], ecx
mov eax, dword [esi]
mov ecx, dword [edi + 0x10]
mov dword [eax + 0x2c], ecx
mov eax, dword [esi]
and dword [eax + 0x30], 0
mov eax, dword [esi]
mov ecx, dword [edi + 0x14]
mov dword [eax + 0x34], ecx
mov eax, dword [esi]
mov ecx, dword [edi + 0x18]
mov dword [eax + 0x38], ecx
mov eax, dword [esi]
mov ecx, dword [ebx + 0x20]
mov dword [eax + 0x3c], ecx
mov eax, dword [esi]
mov ecx, dword [ebx + 0x24]
mov dword [eax + 0x40], ecx
mov eax, dword [esi]
mov ecx, dword [ebx + 0x28]
mov dword [eax + 0x44], ecx
mov eax, dword [esi]
mov ecx, dword [ebx + 0x2c]
mov dword [eax + 0x4c], ecx
mov eax, dword [esi]
mov ecx, dword [edi + 0x20]
mov dword [eax + 0x54], ecx
mov eax, dword [esi]
mov ecx, dword [edi + 0x24]
mov dword [eax + 0x58], ecx
mov eax, dword [esi]
mov ecx, dword [edi + 0x28]
mov dword [eax + 0x5c], ecx
mov eax, dword [esi]
mov ecx, dword [edi + 0x2c]
mov dword [eax + 0x60], ecx
mov eax, dword [esi]
mov ecx, dword [edi + 0x30]
cmp dword [ebp + 8], 3
mov dword [eax + 0x64], ecx
mov eax, dword [esi]
mov ecx, dword [edi + 0x34]
mov dword [eax + 0x68], ecx
mov eax, dword [esi]
mov ecx, dword [edi + 0x38]
mov dword [eax + 0x6c], ecx
mov eax, dword [esi]
mov ecx, dword [edi + 0x3c]
mov dword [eax + 0x70], ecx
mov eax, dword [esi]
mov ecx, dword [edi + 0x40]
mov dword [eax + 0x74], ecx
mov eax, dword [esi]
mov ecx, dword [edi + 0x44]
mov dword [eax + 0x78], ecx
mov eax, dword [esi]
mov ecx, dword [edi + 0x48]
mov dword [eax + 0x7c], ecx
mov eax, dword [esi]
mov ecx, dword [edi + 0x4c]
mov dword [eax + 0x80], ecx
mov eax, dword [esi]
mov ecx, dword [edi + 0x50]
mov dword [eax + 0x84], ecx
mov eax, dword [esi]
mov ecx, dword [edi + 0x54]
mov dword [eax + 0x88], ecx
mov eax, dword [esi]
mov ecx, dword [edi + 0x58]
mov dword [eax + 0x8c], ecx
mov eax, dword [esi]
mov ecx, dword [edi + 0x5c]
mov dword [eax + 0x90], ecx
mov eax, dword [esi]
mov ecx, dword [edi + 0x60]
mov dword [eax + 0x94], ecx
mov eax, dword [esi]
mov ecx, dword [edi + 0x64]
mov dword [eax + 0x98], ecx
mov eax, dword [esi]
mov ecx, dword [edi + 0x68]
mov dword [eax + 0x9c], ecx
mov eax, dword [esi]
mov ecx, dword [edi + 0x6c]
mov dword [eax + 0xa0], ecx
mov eax, dword [esi]
mov ecx, dword [edi + 0x70]
mov dword [eax + 0xa4], ecx
mov eax, dword [esi]
mov ecx, dword [edi + 0x74]
mov dword [eax + 0xa8], ecx
jne 0x10071c3
lea eax, [ebp - 0xc]
push eax
push 0x100ac6c
push dword [esi]
lea eax, [ebp - 8]
push edi
push eax
call fcn.010076ac
mov eax, dword [esi]
mov ecx, dword [edi + 0x7c]
mov dword [eax + 0xb0], ecx
mov eax, dword [esi]
mov ecx, dword [edi + 0x80]
mov dword [eax + 0xb4], ecx
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0x10