Function at 0x268a505b
Capabilities:
Connect network resource
Read file on windows
Write file on windows

Disassembly:
mov eax, 0x268ef904
call fcn.268eb4dc
mov eax, 0xf0cc
call fcn.268eb500
push ebx
push esi
xor ebx, ebx
push edi
lea eax, [ebp - 0x20]
mov esi, ecx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
call fcn.268df6d1
mov dword [ebp - 4], ebx
call fcn.268a5d0e
push dword [ebp + 8]
lea edi, [ebp - 0x458]
call fcn.268a538f
test eax, eax
je 0x268a536f
push ebx
push str.SVCLOCAL
push str.WDSTD
call dword [sym.imp.KERNEL32.dll_GetProfileIntW]
cmp eax, ebx
jne 0x268a513e
push dword [ebp + 0x18]
lea ecx, [ebp - 0x20]
push dword [ebp + 8]
push esi
call fcn.268a542b
test eax, eax
je 0x268a536f
push dword [ebp + 0x10]
call dword [sym.imp.MSVCRT.dll_wcslen]
test eax, eax
pop ecx
jbe 0x268a50f9
push dword [ebp + 0x14]
lea edi, [ebp - 0x10]
push dword [ebp + 0x10]
push dword [ebp + 8]
call fcn.268a57e2
test eax, eax
je 0x268a5364
lea eax, [ebp - 0x458]
push eax
push dword [ebp + 0xc]
lea ecx, [ebp - 0x20]
push dword [ebp + 8]
call fcn.268a55c0
cmp eax, ebx
je 0x268a5364
lea eax, [ebp - 0x458]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.268a568c
test eax, eax
je 0x268a5364
cmp dword [ebp - 0x10], ebx
je 0x268a513e
call dword [sym.imp.ADVAPI32.dll_RevertToSelf]
mov dword [ebp - 0x10], ebx
lea edi, [esi + 0x1c]
mov eax, edi
call fcn.26863172
test eax, eax
jne 0x268a5178
mov eax, dword [esi + 0x20]
cmp eax, ebx
mov edx, dword [0x269292ac]
jne 0x268a515b
mov eax, edx
mov ecx, dword [edi]
cmp ecx, ebx
jne 0x268a5163
mov ecx, edx
push eax
push ecx
push dword [ebp + 8]
lea edi, [ebp - 0x10]
call fcn.268a57e2
test eax, eax
je 0x268a5364
mov eax, dword [esi + 0x14]
call fcn.268d305a
test eax, eax
je 0x268a51ed
mov eax, dword [esi + 0x14]
cmp eax, ebx
mov ecx, eax
jne 0x268a5193
mov ecx, dword [0x269292ac]
push ebx
push ebx
push ebx
lea eax, [ebp - 0x24c]
call fcn.268634ed
mov edx, dword [0x269292ac]
xor eax, eax
inc eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x24c]
mov dword [ebp - 0x2c], eax
mov eax, dword [esi + 0x1c]
add esp, 0xc
cmp eax, ebx
mov dword [ebp - 0x40], 2
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
jne 0x268a51d8
mov eax, edx
mov ecx, dword [esi + 0x20]
cmp ecx, ebx
jne 0x268a51e1
mov ecx, edx
push ebx
push eax
push ecx
lea eax, [ebp - 0x40]
push eax
call sub.MPR.dll_WNetAddConnection2W
lea eax, [esi + 0x48]
push eax
mov dword [ebp + 0x14], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [ebp - 0x458]
push eax
push dword [ebp + 0xc]
mov edi, esi
push dword [ebp + 8]
call fcn.268a5779
test eax, eax
je 0x268a535b
lea edi, [esi + 0x28]
mov eax, edi
mov dword [ebp - 0xf0d8], ebx
mov dword [ebp - 0x670], 1
mov dword [ebp - 0x66c], ebx
call fcn.26863172
test eax, eax
je 0x268a5243
mov word [ebp - 0x668], bx
jmp 0x268a5265
mov edi, dword [edi]
cmp edi, ebx
jne 0x268a524f
mov edi, dword [0x269292ac]
push 0x104
lea eax, [ebp - 0x668]
push edi
push eax
call dword [sym.imp.MSVCRT.dll_wcsncpy]
add esp, 0xc
mov eax, dword [esi + 0x18]
cmp eax, ebx
mov edx, dword [0x269292ac]
jne 0x268a5274
mov eax, edx
mov ecx, dword [esi + 0x14]
cmp ecx, ebx
jne 0x268a527d
mov ecx, edx
push eax
push ecx
push str.__s___s
lea eax, [ebp - 0xf0d4]
push 0x8000
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
mov eax, dword [esi + 0x24]
add esp, 0x14
push ebx
mov dword [ebp - 0x45c], eax
lea eax, [ebp + 0x10]
push eax
push 0xec80
lea eax, [ebp - 0xf0d8]
push eax
push dword [esi + 0x44]
mov dword [ebp + 0x10], ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x268a534c
push ebx
lea eax, [ebp + 0x18]
push eax
push 0x200
lea eax, [ebp - 0x244]
push eax
push dword [esi + 0x44]
mov dword [ebp + 0x18], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x268a534c
mov eax, dword [ebp - 0x4c]
cmp eax, 0xffffffff
je 0x268a5303
mov dword [esi + 0x40], 0x103
mov dword [ebp - 0x14], 1
mov dword [esi + 0x38], eax
jmp 0x268a535b
mov dword [ebp + 0xc], ebx
mov byte [ebp - 4], 1
push 0x4e4
lea eax, [ebp - 0x244]
push eax
or eax, 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.268e332f
lea eax, [ebp + 0xc]
call fcn.268e3147
push eax
mov eax, dword [ebp + 8]
push 0x268f3f58
mov ebx, 0x138f1
call fcn.268e6bf0
mov byte [ebp - 4], 0
lea eax, [ebp + 0xc]
call fcn.268e3036
xor ebx, ebx
jmp 0x268a535b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [ebp + 8]
push ebx
call fcn.268e72f2
push dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [ebp - 0x10], ebx
je 0x268a536f
call dword [sym.imp.ADVAPI32.dll_RevertToSelf]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.268df6fe
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x14