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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6d128e
mov eax, dword fs:[0]
push eax
sub esp, 0x44c
mov eax, dword [0x75aa5c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x450], ecx
xor eax, eax
mov word [ebp - 0x21c], ax
push 0x206
push 0
lea ecx, [ebp - 0x21a]
push ecx
call fcn.005a7100
add esp, 0xc
xor edx, edx
mov word [ebp - 0x42c], dx
push 0x206
push 0
lea eax, [ebp - 0x42a]
push eax
call fcn.005a7100
add esp, 0xc
mov dword [ebp - 0x224], 0
lea ecx, [ebp - 0x224]
push ecx
push 0x1c
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
lea edx, [ebp - 0x21c]
push edx
mov eax, dword [ebp - 0x224]
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
lea ecx, [ebp - 0x21c]
push ecx
push 0x104
lea edx, [ebp - 0x42c]
push edx
call fcn.005a7087
add esp, 0xc
push 0x6fba70
push 0x104
lea eax, [ebp - 0x21c]
push eax
call fcn.005b30a3
add esp, 0xc
call fcn.004d88c0
add eax, 0x9c
mov ecx, eax
call fcn.00405490
push eax
push 0x104
lea ecx, [ebp - 0x21c]
push ecx
call fcn.005b30a3
add esp, 0xc
push 0x6fba74
push 0x104
lea edx, [ebp - 0x21c]
push edx
call fcn.005b30a3
add esp, 0xc
call fcn.004d88c0
add eax, 0xb8
mov ecx, eax
call fcn.00405490
push eax
push 0x104
lea eax, [ebp - 0x21c]
push eax
call fcn.005b30a3
add esp, 0xc
push 0
lea ecx, [ebp - 0x21c]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov dword [ebp - 0x220], eax
cmp dword [ebp - 0x220], 0
je 0x4da51c
cmp dword [ebp - 0x220], 0xb7
je 0x4da51c
cmp dword [ebp - 0x220], 0x50
jne 0x4da534
lea edx, [ebp - 0x21c]
push edx
mov ecx, dword [ebp - 0x450]
add ecx, 0x94
call fcn.00405460
call fcn.0050d7a0
test eax, eax
jne 0x4da643
push 0x6fba78
lea eax, [ebp - 0x42c]
push eax
call fcn.0043da80
add esp, 8
mov dword [ebp - 0x430], eax
cmp dword [ebp - 0x430], 0
je 0x4da56f
xor ecx, ecx
mov edx, dword [ebp - 0x430]
mov word [edx], cx
push str.LocalLow_
push 0x104
lea eax, [ebp - 0x42c]
push eax
call fcn.005b30a3
add esp, 0xc
call fcn.004d88c0
add eax, 0x9c
mov ecx, eax
call fcn.00405490
push eax
push 0x104
lea ecx, [ebp - 0x42c]
push ecx
call fcn.005b30a3
add esp, 0xc
push 0x6fbaa0
push 0x104
lea edx, [ebp - 0x42c]
push edx
call fcn.005b30a3
add esp, 0xc
call fcn.004d88c0
add eax, 0xb8
mov ecx, eax
call fcn.00405490
push eax
push 0x104
lea eax, [ebp - 0x42c]
push eax
call fcn.005b30a3
add esp, 0xc
push 0
lea ecx, [ebp - 0x42c]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov dword [ebp - 0x220], eax
cmp dword [ebp - 0x220], 0
je 0x4da622
cmp dword [ebp - 0x220], 0xb7
je 0x4da622
cmp dword [ebp - 0x220], 0x50
jne 0x4da641
lea edx, [ebp - 0x42c]
push edx
mov ecx, dword [ebp - 0x450]
add ecx, 0xb0
call fcn.00405460
mov eax, 1
jmp 0x4da697
jmp 0x4da695
lea eax, [ebp - 0x44c]
push eax
call fcn.0050d7c0
add esp, 4
mov dword [ebp - 0x454], eax
mov ecx, dword [ebp - 0x454]
mov dword [ebp - 0x458], ecx
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x458]
push edx
mov ecx, dword [ebp - 0x450]
add ecx, 0xb0
call fcn.00405440
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44c]
call fcn.00405410
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005a6f18
mov esp, ebp
pop ebp
ret