Function at 0x433150
Capabilities:
Get common file path
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5356f8
mov eax, dword fs:[0]
push eax
mov eax, 0x1590
call fcn.00502a70
mov eax, dword [0x57d54c]
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 edi, dword [ebp + 8]
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
push 0x200
lea eax, [ebp - 0x34c]
push 0
push eax
call fcn.00504c70
add esp, 0xc
call fcn.00407680
mov esi, eax
mov eax, dword [esi + 4]
test eax, eax
je 0x4331d8
movaps xmm0, xmmword [0x565ac0]
lea ecx, [ebp - 0x2c]
push ecx
push eax
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], 0x61507265
mov dword [ebp - 0x18], 0x576874
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0x20], eax
push 0
push 0x10
lea eax, [ebp - 0x34c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x43322d
lea ecx, [ebp - 0x34c]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x433200
sub ecx, edx
sar ecx, 1
cmp ecx, 1
jbe 0x43322d
push 0x55fb5c
lea eax, [ebp - 0x34c]
push 0x100
push eax
call fcn.00509c6c
add esp, 0xc
cmp word [ebp - 0x34c], 0
mov esi, 0x80004005
je 0x4336a6
cmp byte [edi + 0x4248], 0
jne 0x433259
mov eax, dword [edi + 0x140c]
cmp byte [eax], 0x3a
je 0x433268
jmp 0x4336a6
mov eax, dword [edi + 0x1410]
cmp byte [eax], 0x3a
jne 0x4336a6
push 0x105
lea eax, [ebp - 0x14c]
push 0
push eax
call fcn.00504c70
add esp, 0xc
lea eax, [ebp - 0x1594]
push 0x20a
push 0
push eax
call fcn.00504c70
add esp, 0xc
lea eax, [ebp - 0xb84]
push 0x20a
push 0
push eax
call fcn.00504c70
add esp, 0xc
lea eax, [ebp - 0xf84]
push 0x400
push 0
push eax
call fcn.00504c70
add esp, 0xc
lea eax, [ebp - 0xf84]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
cmp byte [edi + 0x4248], 0
lea eax, [ebp - 0xf83]
je 0x4332e9
push dword [edi + 0x1410]
jmp 0x4332ef
push dword [edi + 0x140c]
push 0x103
push eax
call fcn.0050d9da
mov esi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [ebp - 0x1594]
add esp, 0xc
push 0x104
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0xf84]
push eax
push 0
push 0x3a8
call esi
cmp byte [edi + 0x4248], 0
mov ebx, 0x1c14
mov ecx, 0x1814
cmove ebx, ecx
add ebx, edi
je 0x4335d0
cmp byte [ebx], 0
je 0x4335d0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
mov dword [ebp - 4], 0
lea edx, [ebp - 0x2c]
mov ecx, ebx
xor esi, esi
call fcn.00473d50
cmp dword [ebp - 0x1c], esi
jne 0x4333a2
nop
inc esi
cmp esi, 3
jg 0x4334aa
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
lea edx, [ebp - 0x2c]
mov ecx, ebx
call fcn.00473d50
cmp dword [ebp - 0x1c], 0
je 0x433380
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push ecx
mov ebx, eax
lea eax, [ebp - 0x14c]
push 0x23
push eax
push ebx
call fcn.00407680
mov ecx, eax
call fcn.0045abf0
push str._tempicon_
lea eax, [ebp - 0x14c]
push 0x105
push eax
call fcn.0050931c
add esp, 0xc
lea eax, [ebp - 0x554]
push 0x208
push 0
push eax
call fcn.00504c70
add esp, 0xc
lea eax, [ebp - 0x554]
push 0x104
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x14c]
push eax
push 0
push 0x3a8
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
call fcn.00407680
mov esi, eax
mov eax, dword [esi + 4]
test eax, eax
je 0x43343f
movaps xmm0, xmmword [0x565c50]
lea ecx, [ebp - 0x40]
push ecx
push eax
movups xmmword [ebp - 0x40], xmm0
mov word [ebp - 0x30], 0x79
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0x30], eax
lea eax, [ebp - 0x554]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
push 0x400
lea eax, [ebp - 0x1384]
push 0
push eax
call fcn.00504c70
lea ebx, [edi + 0x808]
add esp, 0xc
mov esi, ebx
lea ecx, [esi + 1]
nop
mov al, byte [esi]
inc esi
test al, al
jne 0x433470
sub esi, ecx
lea eax, [ebp - 0x1384]
push esi
push ebx
push eax
call fcn.00504dd0
add esp, 0xc
lea eax, [ebp - 0x1384]
push 0x56150c
push eax
call fcn.005046b0
add esp, 8
test eax, eax
je 0x433501
mov dword [eax], 0x6f63692e
jmp 0x43350c
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x4334e5
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4334db
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4336cc
push edx
push ecx
call fcn.00502404
add esp, 8
mov dword [ebp - 0x1c], 0
mov eax, 0x80004005
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
jmp 0x4336ae
mov dword [ebp + esi - 0x1384], 0x6f63692e
lea eax, [ebp - 0x1384]
push eax
lea eax, [ebp - 0x14c]
push 0x105
push eax
call fcn.0050931c
add esp, 0xc
mov dword [ebp - 0x1598], 0
lea eax, [ebp - 0x14c]
push 0x561510
push eax
lea eax, [ebp - 0x1598]
push eax
call fcn.0050d8d7
mov ecx, dword [ebp - 0x1598]
add esp, 0xc
test ecx, ecx
je 0x43357b
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
push ecx
push dword [ebp - 0x1c]
cmovae eax, dword [ebp - 0x2c]
push 1
push eax
call fcn.00508f4e
push dword [ebp - 0x1598]
call fcn.0050831e
add esp, 0x14
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x4335b6
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4335ac
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4336d1
push edx
push ecx
call fcn.00502404
add esp, 8
mov esi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
jmp 0x4335f1
lea eax, [ebp - 0xf84]
push eax
lea eax, [ebp - 0x14c]
push 0x105
push eax
call fcn.0050d9da
add esp, 0xc
lea ebx, [edi + 0x808]
push 0x104
lea eax, [ebp - 0xb84]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x14c]
push eax
push 0
push 0x3a8
call esi
push 0x20a
lea eax, [ebp - 0x764]
push 0
push eax
call fcn.00504c70
add esp, 0xc
lea eax, [ebp - 0x974]
push 0x20a
push 0
push eax
call fcn.00504c70
add esp, 0xc
lea eax, [ebp - 0x764]
push 0x104
push eax
push 0xffffffffffffffff
push ebx
push 0
push 0x3a8
call esi
lea eax, [ebp - 0x764]
push eax
lea eax, [ebp - 0x34c]
push 0x100
push eax
call fcn.00509c6c
add esp, 0xc
lea eax, [ebp - 0x974]
push 0x104
push eax
push 0xffffffffffffffff
lea eax, [edi + 8]
push eax
push 0
push 0x3a8
call esi
lea eax, [ebp - 0x974]
push eax
lea eax, [ebp - 0xb84]
push eax
lea eax, [ebp - 0x34c]
push eax
push ecx
call fcn.004336e0
mov esi, eax
call dword [sym.imp.ole32.dll_CoUninitialize]
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 - 0x14]
xor ecx, ebp
call fcn.00501e95
mov esp, ebp
pop ebp
ret 4
call fcn.00509bb8
call fcn.00509bb8
int3