Function at 0x10013457
Capabilities:
Create directory
Get common file path
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x64c
push ebx
push esi
xor ebx, ebx
mov dword [esp + 0x18], 0xa
push edi
lea ecx, [esp + 0x30]
mov dword [esp + 0x24], ebx
call fcn.10005bf1
lea ecx, [esp + 0x80]
call fcn.10011638
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.100010ad
mov dword [esp], 0x104
lea eax, [esp + 0x104]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x14]
mov dword [esp + 0x14], ebx
lea ecx, [esp + 0x100]
call fcn.10011e21
mov edx, dword [esp + 0x14]
test edx, edx
je 0x100136cf
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], ebx
push ecx
push 0x215a
mov ecx, eax
call fcn.10011bf8
push 0x20
pop esi
push esi
call fcn.10001085
mov edi, eax
add esp, 0xc
mov ecx, edi
mov byte [ecx], bl
inc ecx
sub esi, 1
jne 0x100134f0
push 4
lea eax, [esp + 0x1c]
push eax
push edi
call fcn.1000102c
add esp, 0xc
push edi
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [0x100198b8], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x100136cf
cmp dword [0x100198b8], ebx
je 0x100136cf
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x14]
push eax
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea eax, [esp + 0x1c]
push 4
push eax
push 4
push ebx
push str.MaxConnectionsPer1_0Server
push dword [esp + 0x24]
call esi
push 4
lea eax, [esp + 0x20]
push eax
push 4
push ebx
push str.MaxConnectionsPerServer
push dword [esp + 0x24]
call esi
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x30]
call fcn.10005a10
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x84]
call fcn.100114a6
lea eax, [esp + 0x80]
push eax
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x418]
call fcn.10004ee7
push 0x208
lea eax, [esp + 0x20c]
push ebx
push eax
call fcn.10001052
add esp, 0xc
lea eax, [esp + 0x208]
push eax
push ebx
push ebx
push 0x1c
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push str.Microsoft_Vision_
lea eax, [esp + 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push ebx
lea eax, [esp + 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp dword [esp + 0x6c], ebx
je 0x10013635
call fcn.1000fbfc
cmp eax, 1
je 0x10013635
call fcn.1000f51d
cmp eax, 0xa
jne 0x10013630
call fcn.10011ab9
jmp 0x10013635
call fcn.10011a3c
cmp dword [esp + 0x70], ebx
je 0x1001364a
call fcn.1000fbfc
cmp eax, 1
jne 0x1001364a
call fcn.10012fd7
cmp dword [esp + 0xa4], ebx
jne 0x100136ac
push dword [esp + 0x74]
lea ecx, [esp + 0x84]
push dword [esp + 0x54]
push dword [esp + 0x50]
call fcn.10011136
cmp dword [esp + 0x48], ebx
je 0x100136ac
lea eax, [esp + 0xa0]
mov dword [esp + 0x28], ebx
push eax
lea ecx, [esp + 0x24]
call fcn.1000362d
push ecx
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x38]
call fcn.10010bd9
mov ecx, dword [esp + 0x20]
call fcn.10005ea5
xor ecx, ecx
call fcn.10005ea5
jmp 0x100136c3
cmp dword [esp + 0x68], ebx
je 0x100136b7
call fcn.10011f13
lea ecx, [esp + 0x410]
call fcn.10004e5b
lea ecx, [esp + 0x410]
call fcn.10004bc0
lea ecx, [esp + 0x80]
call fcn.100110d7
lea ecx, [esp + 0x30]
call fcn.10005c16
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8