Function at 0x403100
Capabilities:
Access peb ldr_data
Check if file exists
Create directory
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x45093f
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x460164]
xor eax, esp
mov dword [esp + 0x248], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x460164]
xor eax, esp
push eax
lea eax, [esp + 0x260]
mov dword fs:[0], eax
lea eax, [esp + 0x3c]
push eax
push 0x23
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov edx, dword [esp + 0x3c]
lea ecx, [esp + 0x54]
push ecx
push edx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
lea eax, [esp + 0x30]
push eax
mov ecx, str.DeviceVmBrowser_Configuration_Utility_
call fcn.00401a60
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x58]
mov dword [esp + 0x26c], 0
call fcn.00401a60
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x30]
push ecx
mov byte [esp + 0x274], 1
call fcn.00428b10
add esp, 0xc
mov byte [esp + 0x268], 3
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
or ebp, 0xffffffff
lea edx, [eax + 0xc]
mov ecx, ebp
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4031cb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov bl, 4
mov byte [esp + 0x268], bl
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4031f3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x2c]
push ecx
mov ecx, 0x455058
call fcn.00401a60
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x24]
push ecx
mov byte [esp + 0x274], 5
call fcn.00428b10
add esp, 0xc
mov byte [esp + 0x268], 7
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
mov ecx, ebp
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x403248
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x28]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push ecx
call esi
test eax, eax
jne 0x403266
mov edx, dword [esp + 0x28]
push eax
push edx
push eax
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov eax, dword [esp + 0x1c]
push eax
call esi
test eax, eax
je 0x40327d
mov byte [esp + 0x268], bl
jmp 0x40364b
mov ecx, dword [esp + 0x1c]
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push ecx
push 0
push 0
push str.TrackClientData
call esi
lea edx, [esp + 0x44]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
mov eax, dword [0x461acc]
mov edx, dword [eax + 0xc]
mov ecx, 0x461acc
call edx
add eax, 0x10
mov dword [esp + 0x18], eax
mov bl, 8
mov byte [esp + 0x268], bl
movzx eax, word [esp + 0x50]
movzx ecx, word [esp + 0x4e]
movzx edx, word [esp + 0x4c]
push eax
movzx eax, word [esp + 0x4e]
push ecx
movzx ecx, word [esp + 0x4e]
push edx
movzx edx, word [esp + 0x50]
push eax
push ecx
push edx
push str._04d_02d_02d_02d_02d_02d
lea edi, [esp + 0x34]
call fcn.00402050
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
add esp, 0x1c
push eax
push ecx
push str.TimeStamp
push str.TrackClientData
call esi
lea edx, [esp + 0x20]
push edx
call fcn.00423fe0
add esp, 4
mov byte [esp + 0x268], 9
call fcn.00403c60
mov byte [esp + 0x268], bl
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403348
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push ecx
push edx
push str.Software_Version
push str.TrackClientData
call esi
lea eax, [esp + 0x24]
push eax
call fcn.00428c60
add esp, 4
mov bl, 0xa
mov byte [esp + 0x268], bl
mov ecx, dword [esp + 0x24]
cmp dword [ecx - 0xc], 0
jne 0x40343e
mov eax, dword [esp + 0x18]
cmp dword [eax - 0xc], 0
jg 0x403390
mov eax, ebp
jmp 0x4033a9
push 0x5f
push eax
call fcn.004359f0
add esp, 8
test eax, eax
jne 0x4033a3
mov eax, ebp
jmp 0x4033a9
sub eax, dword [esp + 0x18]
sar eax, 1
lea ecx, [esp + 0x20]
lea edx, [esp + 0x18]
call fcn.004036f0
lea edi, [esp + 0x24]
mov byte [esp + 0x268], 0xb
call fcn.00403c60
mov byte [esp + 0x268], bl
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
mov ecx, ebp
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4033ed
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x24]
push edx
mov ebx, str._default
call fcn.00401b30
add esp, 8
lea edi, [esp + 0x18]
mov byte [esp + 0x268], 0xc
call fcn.00403c60
mov byte [esp + 0x268], 0xa
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40344b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x40344b
lea eax, [esp + 0x24]
lea edi, [esp + 0x18]
call fcn.00403c60
lea ebx, [esp + 0x18]
call fcn.00403b40
mov edi, eax
call fcn.00403bc0
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push ecx
push edx
push str.ModelNo
push str.TrackClientData
call esi
push 0x4551e0
mov ebx, 1
lea eax, [esp + 0x1c]
call fcn.00401e40
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push eax
push ecx
push str.BIOS_ver
push str.TrackClientData
call esi
lea edx, [esp + 0x20]
push edx
mov ecx, 0x4551e4
call fcn.00401a60
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x3c]
push ecx
mov byte [esp + 0x270], 0xd
call fcn.00428de0
add esp, 8
mov bl, 0xf
mov byte [esp + 0x268], bl
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
mov ecx, ebp
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4034eb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esp + 0x38]
lea ecx, [esp + 0x40]
call fcn.00427890
lea edi, [esp + 0x18]
mov byte [esp + 0x268], 0x10
call fcn.00403c60
mov byte [esp + 0x268], bl
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40352f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push ecx
push edx
push 0x4550a8
push str.TrackClientData
call esi
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
push eax
push 0x4551e8
lea edi, [esp + 0x20]
call fcn.00402050
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
add esp, 8
push eax
push ecx
push str.Locale
push str.TrackClientData
call esi
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
call edi
push 1
mov ebx, eax
call edi
push eax
push ebx
push str._dx_d
lea edi, [esp + 0x24]
call fcn.00402050
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
add esp, 0xc
push edx
push eax
push str.ScrRes
push str.TrackClientData
call esi
mov esi, 0x46274c
mov ecx, dword [esi]
test ecx, ecx
je 0x4035c3
mov edx, dword [ecx]
mov edx, dword [edx + 0x48]
lea eax, [esp + 0x1c]
push eax
call edx
add esi, 4
cmp esi, 0x462758
jl 0x4035b1
mov byte [esp + 0x268], 0xa
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4035f5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x268], 8
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40361c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x268], 7
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403643
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x268], 4
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov edx, ebp
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40366a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x268], ebp
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebp
dec ebp
test ebp, ebp
jg 0x40368e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x260]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x248]
xor ecx, esp
call fcn.00435245
add esp, 0x258
ret