Function at 0x4722d0
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x505e6b
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x140
mov eax, dword [0x5732cc]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x148], 0
mov dword [ebp - 4], 1
push 0x468ad0
call fcn.004dbbc8
add esp, 4
lea ecx, [ebp - 0x124]
call fcn.00417420
mov byte [ebp - 4], 2
mov byte [ebp - 0x120], 0
push 0x104
push 0
lea eax, [ebp - 0x11f]
push eax
call fcn.004dba80
add esp, 0xc
lea ecx, [ebp - 0x120]
push ecx
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
jne 0x47264f
movsx edx, byte [ebp - 0x120]
test edx, edx
je 0x47264f
lea eax, [ebp - 0x120]
push eax
lea ecx, [ebp - 0x124]
call fcn.004199b0
lea ecx, [ebp - 0x124]
push ecx
lea ecx, [ebp - 0x128]
call fcn.0041ea10
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x128]
call fcn.00431550
mov dword [ebp - 0x12c], 0xffffffff
push str.USERS_
lea ecx, [ebp - 0x128]
call fcn.00424960
mov dword [ebp - 0x12c], eax
cmp dword [ebp - 0x12c], 0xffffffff
je 0x472521
push 0x51c461
lea ecx, [ebp - 0x128]
call fcn.004199b0
lea edx, [ebp - 0x124]
push edx
lea ecx, [ebp - 0x128]
call fcn.00422350
push 0x51c462
lea ecx, [ebp - 0x130]
call fcn.0041ad50
mov byte [ebp - 4], 4
lea eax, [ebp - 0x128]
push eax
lea ecx, [ebp - 0x130]
call fcn.00422350
mov ecx, dword [ebp - 0x12c]
add ecx, 7
push ecx
push 0x51ddf0
lea ecx, [ebp - 0x130]
call fcn.004246d0
mov dword [ebp - 0x134], eax
cmp dword [ebp - 0x134], 0xffffffff
je 0x4724ad
mov edx, dword [ebp - 0x134]
push edx
push 0
lea eax, [ebp - 0x144]
push eax
lea ecx, [ebp - 0x128]
call fcn.004249b0
mov dword [ebp - 0x14c], eax
mov ecx, dword [ebp - 0x14c]
mov dword [ebp - 0x150], ecx
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x150]
push edx
lea ecx, [ebp - 0x124]
call fcn.0041e3d0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x144]
call fcn.00416630
push str.Documents
lea ecx, [ebp - 0x124]
call fcn.0041d470
jmp 0x472510
push 0x51c463
lea ecx, [ebp - 0x124]
call fcn.004199b0
lea eax, [ebp - 0x124]
push eax
mov ecx, dword [ebp + 8]
call fcn.0041ea10
mov ecx, dword [ebp - 0x148]
or ecx, 1
mov dword [ebp - 0x148], ecx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x130]
call fcn.00416630
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x128]
call fcn.00416630
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x124]
call fcn.00416630
mov eax, dword [ebp + 8]
jmp 0x472802
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x130]
call fcn.00416630
jmp 0x472575
push 0x51c46f
lea ecx, [ebp - 0x124]
call fcn.004199b0
lea edx, [ebp - 0x124]
push edx
mov ecx, dword [ebp + 8]
call fcn.0041ea10
mov eax, dword [ebp - 0x148]
or eax, 1
mov dword [ebp - 0x148], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x128]
call fcn.00416630
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x124]
call fcn.00416630
mov eax, dword [ebp + 8]
jmp 0x472802
lea ecx, [ebp - 0x124]
call fcn.0041cde0
sub eax, 1
push eax
lea ecx, [ebp - 0x124]
call fcn.00423b30
movsx ecx, al
cmp ecx, 0x5c
je 0x4725a7
push 0x51de00
lea ecx, [ebp - 0x124]
call fcn.0041d470
push 0x5771e4
lea ecx, [ebp - 0x124]
call fcn.00422350
lea edx, [ebp - 0x124]
push edx
lea ecx, [ebp - 0x128]
call fcn.0041e3d0
push 1
push 0
lea ecx, [ebp - 0x128]
call fcn.00415d40
push eax
call fcn.0046dc30
add esp, 0xc
movzx eax, al
test eax, eax
jne 0x472630
push 0
lea ecx, [ebp - 0x128]
call fcn.00415d40
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x472612
push 0x51de04
lea ecx, [ebp - 0x124]
call fcn.0041d470
jmp 0x47262e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x138], eax
push 0x51c479
lea ecx, [ebp - 0x124]
call fcn.004199b0
jmp 0x472640
push 0x51de08
lea ecx, [ebp - 0x124]
call fcn.0041d470
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x128]
call fcn.00416630
lea ecx, [ebp - 0x124]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0041ea10
mov edx, dword [ebp - 0x148]
or edx, 1
mov dword [ebp - 0x148], edx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x124]
call fcn.00416630
mov eax, dword [ebp + 8]
jmp 0x472802
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004db901
mov esp, ebp
pop ebp
ret