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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5945cb
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x254
mov eax, dword [0x5de00c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
push 0x1a
lea eax, [ebp - 0x228]
push eax
push dword [0x5e45b8]
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x228]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4190c0
sub eax, edx
mov ecx, 0x5df010
sar eax, 1
push eax
lea eax, [ebp - 0x228]
push eax
call fcn.004039f0
mov ecx, dword [0x5df020]
mov esi, SysReAllocString
mov eax, esi
sub eax, ecx
cmp eax, 1
jb 0x4193d8
cmp dword [0x5df024], 8
mov eax, 0x5df010
push 1
cmovae eax, dword [0x5df010]
push 0x5aaa60
push ecx
push eax
push ecx
push dword [ebp - 0x25c]
lea ecx, [ebp - 0x258]
call fcn.00403e90
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x258]
cmp dword [0x5e46f4], 8
mov eax, 0x5e46e0
push dword [0x5e46f0]
cmovae eax, dword [0x5e46e0]
push eax
call fcn.004083e0
xor edx, edx
mov ecx, 0x5df010
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x238], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x260], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], dx
call fcn.00403990
movups xmm0, xmmword [ebp - 0x238]
lea ecx, [ebp - 0x258]
movups xmmword [0x5df010], xmm0
movq xmm0, qword [ebp - 0x260]
movq qword [0x5df020], xmm0
mov dword [ebp - 4], 0xffffffff
call fcn.00403990
cmp dword [0x5df024], 8
mov eax, 0x5df010
cmovae eax, dword [0x5df010]
push eax
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wmkdir]
mov ecx, dword [0x5df020]
mov eax, esi
sub eax, ecx
add esp, 4
cmp eax, 1
jb 0x4193dd
cmp dword [0x5df024], 8
mov eax, 0x5df010
push 1
cmovae eax, dword [0x5df010]
push 0x5aaa60
push ecx
push eax
push ecx
push dword [ebp - 0x25c]
lea ecx, [ebp - 0x258]
call fcn.00403e90
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x258]
cmp dword [0x5e4744], 8
mov eax, 0x5e4730
push dword [0x5e4740]
cmovae eax, dword [0x5e4730]
push eax
call fcn.004083e0
xor ecx, ecx
movups xmm0, xmmword [eax]
movq xmm1, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov ecx, dword [0x5df024]
movq qword [ebp - 0x260], xmm1
movups xmmword [ebp - 0x238], xmm0
cmp ecx, 8
jb 0x4192b5
mov eax, dword [0x5df010]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x41929c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419306
mov eax, edx
push ecx
push eax
call fcn.0052d747
movups xmm0, xmmword [ebp - 0x238]
add esp, 8
movq xmm1, qword [ebp - 0x260]
lea ecx, [ebp - 0x258]
movq qword [0x5df020], xmm1
movups xmmword [0x5df010], xmm0
mov dword [ebp - 4], 0xffffffff
call fcn.00403990
cmp dword [0x5df024], 8
mov eax, 0x5df010
cmovae eax, dword [0x5df010]
push eax
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wmkdir]
mov ecx, dword [0x5df020]
add esp, 4
sub esi, ecx
cmp esi, 1
jb 0x4193e2
jmp 0x41930c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
cmp dword [0x5df024], 8
mov eax, 0x5df010
push 1
cmovae eax, dword [0x5df010]
push 0x5aaa60
push ecx
push eax
push ecx
push dword [ebp - 0x25c]
lea ecx, [ebp - 0x240]
call fcn.00403e90
mov ecx, dword [0x5df024]
cmp ecx, 8
jb 0x419375
mov eax, dword [0x5df010]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x41936b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419306
mov eax, edx
push ecx
push eax
call fcn.0052d747
add esp, 8
movups xmm0, xmmword [ebp - 0x240]
xor eax, eax
lea ecx, [ebp - 0x240]
mov word [ebp - 0x240], ax
movups xmmword [0x5df010], xmm0
movq xmm0, qword [ebp - 0x230]
movq qword [0x5df020], xmm0
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x22c], 7
call fcn.00403990
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0052d3c5
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00402990
call fcn.00402990
call fcn.00402990
int3