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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
xor ebx, ebx
cmp dword [0x101fb74], 0xffffffff
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 4], ebx
je 0x10113a9
mov eax, 0x101fb74
mov dword [ebp + 0xc], eax
lea esi, [ebp - 0x14]
mov eax, dword [eax]
mov eax, dword [edi + eax]
cmp eax, ebx
je 0x1011396
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 0x1011398
mov dword [esi], ebx
mov eax, dword [ebp + 0xc]
add eax, 8
add esi, 4
cmp dword [eax], 0xffffffff
mov dword [ebp + 0xc], eax
jne 0x1011377
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 0x10113c7
push 8
pop eax
jmp 0x1011553
mov eax, dword [esi]
mov ecx, dword [ebp - 4]
lea ecx, [eax + ecx + 0xbc]
mov dword [ebp - 8], ecx
lea ecx, [ebp - 0x14]
push ecx
push 0x101fb74
push eax
push edi
lea eax, [ebp - 8]
push eax
call fcn.01015c90
mov eax, dword [esi]
mov dword [eax + 0x28], ebx
mov eax, dword [esi]
mov dword [eax + 0x48], ebx
mov eax, dword [esi]
mov dword [eax + 0xac], ebx
mov eax, dword [esi]
mov ecx, dword [edi + 8]
mov dword [eax + 4], ecx
mov eax, dword [esi]
mov ecx, dword [edi + 0xc]
mov dword [eax + 8], ecx
mov eax, dword [esi]
mov ecx, dword [edi + 0x10]
mov dword [eax + 0xc], ecx
mov eax, dword [esi]
mov ecx, dword [edi + 0x18]
mov dword [eax + 0x20], ecx
mov eax, dword [esi]
mov ecx, dword [edi + 0x1c]
mov dword [eax + 0x24], ecx
mov eax, dword [esi]
mov ecx, dword [edi + 0x20]
mov dword [eax + 0x3c], ecx
mov eax, dword [esi]
mov ecx, dword [edi + 0x24]
mov dword [eax + 0x40], ecx
mov eax, dword [esi]
mov ecx, dword [edi + 0x28]
mov dword [eax + 0x44], ecx
mov eax, dword [esi]
mov ecx, dword [edi + 0x2c]
mov dword [eax + 0x4c], ecx
mov ecx, dword [esi]
mov eax, dword [ebp + 0x10]
mov edx, dword [eax]
mov dword [ecx + 0x6c], edx
mov edx, dword [eax + 4]
mov ecx, dword [esi]
mov dword [ecx + 0x70], edx
mov edx, dword [eax + 8]
mov ecx, dword [esi]
mov dword [ecx + 0x78], edx
mov eax, dword [eax + 0xc]
mov ecx, dword [esi]
mov dword [ecx + 0x84], eax
mov eax, dword [esi]
mov dword [eax + 0x14], ebx
mov eax, dword [esi]
mov dword [eax + 0x18], ebx
mov eax, dword [esi]
mov dword [eax + 0x1c], ebx
mov eax, dword [esi]
mov dword [eax + 0x2c], 1
mov eax, dword [esi]
mov dword [eax + 0x30], ebx
mov eax, dword [esi]
or dword [eax + 0x34], 0xffffffff
mov eax, dword [esi]
mov dword [eax + 0x38], 0xf
mov ecx, dword [esi]
mov eax, 0xffff
mov dword [ecx + 0x54], eax
mov ecx, dword [esi]
mov dword [ecx + 0x58], eax
mov ecx, dword [esi]
mov dword [ecx + 0x5c], eax
mov ecx, dword [esi]
mov dword [ecx + 0x60], 0x7d0
cmp dword [ebp + 8], 3
mov ecx, dword [esi]
mov dword [ecx + 0x64], eax
mov ecx, dword [esi]
mov dword [ecx + 0x68], 0x1f40
mov ecx, dword [esi]
mov dword [ecx + 0x74], eax
mov eax, dword [esi]
mov dword [eax + 0x7c], 0x40
mov eax, dword [esi]
mov ecx, 0x12c
mov dword [eax + 0x80], ecx
mov eax, dword [esi]
mov dword [eax + 0x88], 0x50
mov eax, dword [esi]
mov dword [eax + 0x8c], 8
mov edx, dword [esi]
push 5
pop eax
mov dword [edx + 0x90], eax
mov edx, dword [esi]
mov dword [edx + 0x94], eax
mov edx, dword [esi]
mov dword [edx + 0x98], eax
mov edx, dword [esi]
mov dword [edx + 0x9c], eax
mov edx, dword [esi]
mov dword [edx + 0xa0], ecx
mov ecx, dword [esi]
mov dword [ecx + 0xa4], eax
mov eax, dword [esi]
mov dword [eax + 0xa8], 0x64
jne 0x1011551
mov eax, dword [esi]
mov dword [eax + 0xb8], ebx
mov eax, dword [esi]
or dword [eax + 0xb0], 0xffffffff
mov eax, dword [esi]
mov dword [eax + 0xb4], ebx
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0x10