Function at 0xc6479e
Capabilities:
Connect network resource
Get session user name

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x50
or dword [ebp - 0x10], 0xffffffff
push ebx
push esi
push edi
push 7
xor esi, esi
pop ecx
xor eax, eax
lea edi, [ebp - 0x4c]
mov dword [ebp - 0x50], esi
rep stosd dword es:[edi], eax
push 7
pop ecx
lea edi, [ebp - 0x2c]
mov dword [ebp - 0x30], esi
rep stosd dword es:[edi], eax
mov ecx, dword [ebp + 0x10]
mov ebx, 0x202
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], esi
cmp dword [ecx + 4], esi
jne 0xc648ba
mov eax, dword [ecx + 0x34]
cmp eax, esi
je 0xc65efb
push 0x606
push 0x40
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
mov dword [ebp - 8], edi
test edi, edi
je 0xc65f03
push dword [ebp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_ImpersonateLoggedOnUser]
call esi
test eax, eax
je 0xc648ed
lea eax, [ebp - 0xc]
push eax
push edi
push 2
call sub.Secur32.dll_GetUserNameExW
test al, al
je 0xc65f12
call dword [sym.imp.ADVAPI32.dll_RevertToSelf]
push 0x5c
push edi
call dword [0xc611e0]
pop ecx
pop ecx
test eax, eax
je 0xc65f1f
inc eax
inc eax
and dword [ebp - 0x24], 0
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x30]
push eax
push dword [ebp + 0xc]
mov dword [ebp - 0x30], 0x20
call dword [0xc612ec]
test eax, eax
je 0xc648ed
mov eax, dword [ebp - 0xc]
add eax, eax
push eax
push 0
push edi
call fcn.00c61b3e
add esp, 0xc
push dword [ebp + 0xc]
mov dword [ebp - 0xc], ebx
call esi
test eax, eax
je 0xc648ed
mov ebx, 0x52e
xor esi, esi
push esi
push 0x80
push 3
push esi
push 5
push 0x80000000
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x10], eax
cmp eax, 0xffffffff
je 0xc65f26
call dword [sym.imp.ADVAPI32.dll_RevertToSelf]
cmp dword [ebp - 0x14], 0
je 0xc648cc
push dword [ebp - 0x14]
push dword [ebp + 0xc]
call dword [0xc612f0]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [ebp - 0x10], 0xffffffff
je 0xc648e4
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0xc65f0b
mov eax, dword [ecx + 0x38]
jmp 0xc647e9
push 8
pop esi
jmp 0xc648ba
mov esi, eax
jmp 0xc648ba
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0xc648b4
mov eax, edi
jmp 0xc64848
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp esi, ebx
je 0xc66050
cmp esi, 0x8007052e
je 0xc66050
cmp esi, 0xc000006d
je 0xc66050
cmp esi, 0xd000006d
je 0xc66050
cmp esi, 5
je 0xc66050
cmp esi, 0x80070005
je 0xc66050
cmp esi, 0xc0000022
je 0xc66050
cmp esi, 0xd0000022
je 0xc66050
cmp esi, 0x56
je 0xc66050
cmp esi, 0x80070056
je 0xc66050
cmp esi, 0xc000006a
je 0xc66050
cmp esi, 0xd000006a
je 0xc66050
cmp esi, 0x8009030e
je 0xc66050
cmp esi, 0x8009030c
je 0xc66050
cmp esi, 0x80090361
je 0xc66050
cmp esi, 0xc000042d
je 0xc66050
cmp esi, 0x4f1
je 0xc66050
cmp esi, 0x800704f1
je 0xc66050
cmp esi, 0xc0000388
je 0xc66050
cmp esi, 0xd0000388
je 0xc66050
cmp esi, 0x532
je 0xc66050
cmp esi, 0x80070532
je 0xc66050
cmp esi, 0xc0000071
je 0xc66050
cmp esi, 0xd0000071
je 0xc66050
cmp esi, 0x773
je 0xc66050
cmp esi, 0x80070773
je 0xc66050
cmp esi, 0xc0000224
je 0xc66050
cmp esi, 0xd0000224
je 0xc66050
cmp esi, 0x8c2
je 0xc66050
cmp esi, 0x800708c2
jne 0xc648b4
push 0x5c
push dword [ebp - 4]
call dword [0xc611e4]
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0xc66068
xor eax, eax
mov word [edi], ax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 8]
push 0x18
push eax
add eax, 0x404
push eax
lea eax, [ebp - 0x50]
push eax
mov eax, dword [ebp + 0x10]
push dword [eax + 0xc]
mov dword [ebp - 0x4c], 1
call sub.MPR.dll_WNetAddConnection3W
mov esi, eax
mov eax, dword [ebp - 8]
mov ecx, 0x202
add eax, 0x404
mov byte [eax], 0
inc eax
dec ecx
jne 0xc6609f
test edi, edi
je 0xc660b0
push 0x5c
pop eax
mov word [edi], ax
cmp esi, ebx
je 0xc6488d
cmp esi, 0x8007052e
je 0xc6488d
cmp esi, 0xc000006d
je 0xc6488d
cmp esi, 0xd000006d
je 0xc6488d
cmp esi, 5
je 0xc6488d
cmp esi, 0x80070005
je 0xc6488d
cmp esi, 0xc0000022
je 0xc6488d
cmp esi, 0xd0000022
je 0xc6488d
cmp esi, 0x56
je 0xc6488d
cmp esi, 0x80070056
je 0xc6488d
cmp esi, 0xc000006a
je 0xc6488d
cmp esi, 0xd000006a
je 0xc6488d
cmp esi, 0x8009030e
je 0xc6488d
cmp esi, 0x8009030c
je 0xc6488d
cmp esi, 0x80090361
je 0xc6488d
cmp esi, 0xc000042d
je 0xc6488d
cmp esi, 0x4f1
je 0xc6488d
cmp esi, 0x800704f1
je 0xc6488d
cmp esi, 0xc0000388
je 0xc6488d
cmp esi, 0xd0000388
je 0xc6488d
cmp esi, 0x532
je 0xc6488d
cmp esi, 0x80070532
je 0xc6488d
cmp esi, 0xc0000071
je 0xc6488d
cmp esi, 0xd0000071
je 0xc6488d
cmp esi, 0x773
je 0xc6488d
cmp esi, 0x80070773
je 0xc6488d
cmp esi, 0xc0000224
je 0xc6488d
cmp esi, 0xd0000224
je 0xc6488d
cmp esi, 0x8c2
je 0xc6488d
cmp esi, 0x800708c2
jne 0xc648b4
jmp 0xc6488d