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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
and dword [ebp - 4], 0
cmp dword [0x101fb74], 0xffffffff
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
je 0x10110e6
mov eax, 0x101fb74
mov edi, eax
lea esi, [ebp - 0x18]
mov eax, dword [eax]
mov eax, dword [ebx + eax]
test eax, eax
je 0x10110d6
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 0x10110d9
and dword [esi], 0
add edi, 8
add esi, 4
cmp dword [edi], 0xffffffff
mov eax, edi
jne 0x10110b7
cmp dword [0x101fb94], 0xffffffff
mov edi, dword [ebp + 0x10]
je 0x1011130
mov eax, 0x101fb94
mov dword [ebp + 0xc], eax
lea esi, [ebp - 0x24]
mov eax, dword [eax]
mov eax, dword [edi + eax]
test eax, eax
je 0x101111c
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 0x101111f
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 0x10110fd
cmp dword [ebp + 8], 3
jne 0x101116a
mov eax, dword [0x101fbb4]
cmp eax, 0xffffffff
je 0x101116a
mov dword [ebp + 0xc], 0x101fbb4
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 0x101114a
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 0x1011188
push 8
pop eax
jmp 0x1011344
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 0x101fb74
push eax
push ebx
lea eax, [ebp - 8]
push eax
call fcn.01015c90
lea eax, [ebp - 0x24]
push eax
push 0x101fb94
push dword [esi]
lea eax, [ebp - 8]
push edi
push eax
call fcn.01015c90
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 0x1011342
lea eax, [ebp - 0xc]
push eax
push 0x101fbb4
push dword [esi]
lea eax, [ebp - 8]
push edi
push eax
call fcn.01015c90
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