Function at 0x40dd70
Capabilities:
Contain obfuscated stackstrings
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x440066
mov eax, dword fs:[0]
push eax
sub esp, 0x3d4
mov eax, dword [0x44f1f0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
mov dword [ebp - 0x3e0], 0
call fcn.00412710
test eax, eax
je 0x40df59
lea eax, [ebp - 0x54]
mov dword [ebp - 0x54], 0x680053
push eax
mov dword [ebp - 0x50], 0x6c0065
mov dword [ebp - 0x4c], 0x33006c
mov dword [ebp - 0x48], 0x2e0032
mov dword [ebp - 0x44], 0x6c0064
mov dword [ebp - 0x40], 0x6c
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x3dc], eax
test eax, eax
je 0x40e063
movdqa xmm0, xmmword [0x4437b0]
lea ecx, [ebp - 0x6c]
push ecx
push eax
movdqu xmmword [ebp - 0x6c], xmm0
mov dword [ebp - 0x5c], 0x68746150
mov byte [ebp - 0x58], 0
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [edi + 0x5a4], eax
test eax, eax
je 0x40df48
lea ecx, [ebp - 0x3d8]
push ecx
push 0
push 0
push 0x443cf8
call eax
test eax, eax
js 0x40df48
push 0xb0
lea ecx, [ebp - 0x3d4]
call fcn.00420370
push 1
push 3
lea ecx, [ebp - 0x3d4]
call fcn.00405ba0
movdqa xmm0, xmmword [0x443650]
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 0x3d8]
movdqu xmmword [ebp - 0x3c], xmm0
lea eax, [ebp - 0x3c4]
mov dword [ebp - 4], 0
movdqa xmm0, xmmword [0x443640]
push eax
movdqu xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], 0x39334338
mov dword [ebp - 0x18], 0x7d314132
mov byte [ebp - 0x14], 0
call fcn.00402b30
add esp, 8
push eax
call fcn.00402850
add esp, 8
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x3d4]
push eax
call fcn.0041eb00
mov ecx, eax
call fcn.0041b310
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
test eax, eax
je 0x40deef
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x40deef
xor bl, bl
jmp 0x40def1
mov bl, 1
lea ecx, [ebp - 0x2c]
call fcn.00407030
test bl, bl
je 0x40df31
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x3d4]
call fcn.0041eb00
push eax
push esi
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.0040bc50
lea ecx, [ebp - 0x2c]
call fcn.00407030
lea ecx, [ebp - 0x3d4]
call fcn.00407e90
jmp 0x40e06a
push dword [ebp - 0x3d8]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
lea ecx, [ebp - 0x3d4]
call fcn.00407e90
push dword [ebp - 0x3dc]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x40e063
lea eax, [ebp - 0x274]
push eax
push 0
push 0
push 0x1c
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x40e063
push 0xb0
lea ecx, [ebp - 0x324]
call fcn.00420370
push 1
push 3
lea ecx, [ebp - 0x324]
call fcn.00405ba0
movdqa xmm0, xmmword [0x443650]
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x274]
mov dword [ebp - 4], 2
push eax
movdqu xmmword [ebp - 0x3c], xmm0
lea eax, [ebp - 0x314]
mov dword [ebp - 0x1c], 0x39334338
movdqa xmm0, xmmword [0x443640]
push eax
movdqu xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x18], 0x7d314132
mov byte [ebp - 0x14], 0
call fcn.00402b30
add esp, 8
push eax
call fcn.00402850
add esp, 8
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x324]
push eax
call fcn.0041eb00
mov ecx, eax
call fcn.0041b310
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
test eax, eax
je 0x40e01f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x40e01f
xor bl, bl
jmp 0x40e021
mov bl, 1
lea ecx, [ebp - 0x2c]
call fcn.00407030
lea ecx, [ebp - 0x324]
test bl, bl
je 0x40e05e
lea eax, [ebp - 0x2c]
push eax
call fcn.0041eb00
push eax
push esi
mov ecx, edi
mov byte [ebp - 4], 3
call fcn.0040bc50
lea ecx, [ebp - 0x2c]
call fcn.00407030
lea ecx, [ebp - 0x324]
call fcn.00407e90
jmp 0x40e06a
call fcn.00407e90
mov ecx, esi
call fcn.00405a00
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004258e7
mov esp, ebp
pop ebp
ret 4