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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x506778
mov eax, dword fs:[0]
push eax
mov eax, 0x1578
call fcn.004e5300
mov eax, dword [0x543720]
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 ebx, dword [ebp + 8]
push 0
mov dword [ebp - 0x1584], ebx
call dword [sym.imp.ole32.dll_CoInitialize]
xor eax, eax
push 0x1fe
push eax
mov word [ebp - 0x334], ax
lea eax, [ebp - 0x332]
push eax
call fcn.004e4b60
add esp, 0xc
call fcn.00419840
mov esi, eax
mov eax, dword [esi + 4]
test eax, eax
je 0x41c058
movdqa xmm0, xmmword [0x52e7d0]
lea ecx, [ebp - 0x2c]
push ecx
push eax
movdqu xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], 0x61507265
mov dword [ebp - 0x18], 0x576874
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0x1c], eax
push 0
push 0x10
lea eax, [ebp - 0x334]
push eax
mov eax, dword [esi + 0x1c]
push 0
call eax
test eax, eax
je 0x41c0a4
lea ecx, [ebp - 0x334]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41c077
sub ecx, edx
sar ecx, 1
cmp ecx, 1
jbe 0x41c0a4
push 0x529aa8
lea eax, [ebp - 0x334]
push 0x100
push eax
call fcn.004e2e47
add esp, 0xc
cmp word [ebp - 0x334], 0
mov esi, 0x80004005
je 0x41c47d
mov eax, dword [ebx + 0xc08]
cmp byte [eax], 0x3a
jne 0x41c47d
push 0x104
lea eax, [ebp - 0x133]
mov byte [ebp - 0x134], 0
push 0
push eax
call fcn.004e4b60
add esp, 0xc
xor eax, eax
mov word [ebp - 0xd7c], ax
push 0x208
push eax
lea eax, [ebp - 0xd7a]
push eax
call fcn.004e4b60
add esp, 0xc
xor eax, eax
mov word [ebp - 0x95c], ax
push 0x208
push eax
lea eax, [ebp - 0x95a]
push eax
call fcn.004e4b60
add esp, 0xc
mov byte [ebp - 0x117c], 0
lea eax, [ebp - 0x117b]
push 0x3ff
push 0
push eax
call fcn.004e4b60
add esp, 0xc
lea eax, [ebp - 0x117c]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push dword [ebx + 0xc08]
lea eax, [ebp - 0x117b]
push 0x103
push eax
call fcn.004e2945
mov esi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [ebp - 0xd7c]
add esp, 0xc
push 0x104
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x117c]
push eax
push 0
push 0x3a8
call esi
lea edi, [ebx + 0x100c]
test edi, edi
je 0x41c397
cmp byte [edi], 0
je 0x41c397
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
mov dword [ebp - 4], 0
lea edx, [ebp - 0x2c]
mov ecx, edi
xor esi, esi
call fcn.00454c10
cmp dword [ebp - 0x1c], esi
jne 0x41c205
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
inc esi
cmp esi, 3
jg 0x41c2ed
push 0x64
call ebx
lea edx, [ebp - 0x2c]
mov ecx, edi
call fcn.00454c10
cmp dword [ebp - 0x1c], 0
je 0x41c1e1
mov ebx, dword [ebp - 0x1584]
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push ecx
mov esi, eax
lea eax, [ebp - 0x134]
push 0x23
push eax
push esi
call fcn.00419840
mov ecx, eax
call fcn.0043e740
push str._tempicon_
lea eax, [ebp - 0x134]
push 0x105
push eax
call fcn.004e1c45
add esp, 0xc
xor eax, eax
mov word [ebp - 0x53c], ax
push 0x206
push eax
lea eax, [ebp - 0x53a]
push eax
call fcn.004e4b60
add esp, 0xc
lea eax, [ebp - 0x53c]
push 0x104
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x134]
push eax
push 0
push 0x3a8
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [ebp - 0x53c]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
push 0x3ff
lea eax, [ebp - 0x157b]
mov byte [ebp - 0x157c], 0
push 0
push eax
call fcn.004e4b60
lea ecx, [ebx + 0x404]
add esp, 0xc
mov esi, ecx
lea edx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x41c2b3
sub esi, edx
lea eax, [ebp - 0x157c]
push esi
push ecx
push eax
call fcn.004e4510
add esp, 0xc
lea eax, [ebp - 0x157c]
push 0x52a9c4
push eax
call fcn.004e1f30
add esp, 8
test eax, eax
je 0x41c306
mov dword [eax], 0x6f63692e
jmp 0x41c311
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00401d90
mov eax, 0x80004005
jmp 0x41c485
mov dword [ebp + esi - 0x157c], 0x6f63692e
lea eax, [ebp - 0x157c]
push eax
lea eax, [ebp - 0x134]
push 0x105
push eax
call fcn.004e1c45
add esp, 0xc
mov dword [ebp - 0x1580], 0
lea eax, [ebp - 0x134]
push 0x52a9c8
push eax
lea eax, [ebp - 0x1580]
push eax
call fcn.004e1593
mov ecx, dword [ebp - 0x1580]
add esp, 0xc
test ecx, ecx
je 0x41c380
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.004e2dc5
push dword [ebp - 0x1580]
call fcn.004e1e26
add esp, 0x14
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00401d90
mov esi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
jmp 0x41c3b2
lea eax, [ebp - 0x117c]
push eax
lea eax, [ebp - 0x134]
push 0x105
push eax
call fcn.004e2945
add esp, 0xc
push 0x104
lea eax, [ebp - 0x95c]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x134]
push eax
push 0
push 0x3a8
call esi
xor eax, eax
push 0x208
push eax
mov word [ebp - 0xb6c], ax
lea eax, [ebp - 0xb6a]
push eax
call fcn.004e4b60
add esp, 0xc
xor eax, eax
mov word [ebp - 0x74c], ax
push 0x208
push eax
lea eax, [ebp - 0x74a]
push eax
call fcn.004e4b60
add esp, 0xc
lea eax, [ebp - 0xb6c]
push 0x104
push eax
push 0xffffffffffffffff
lea eax, [ebx + 0x404]
push eax
push 0
push 0x3a8
call esi
lea eax, [ebp - 0xb6c]
push eax
lea eax, [ebp - 0x334]
push 0x100
push eax
call fcn.004e2e47
add esp, 0xc
lea eax, [ebp - 0x74c]
push 0x104
push eax
push 0xffffffffffffffff
lea eax, [ebx + 4]
push eax
push 0
push 0x3a8
call esi
lea eax, [ebp - 0x74c]
push eax
lea eax, [ebp - 0x95c]
push eax
lea eax, [ebp - 0x334]
push eax
push ecx
call fcn.0041c4b0
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.004e03e9
mov esp, ebp
pop ebp
ret 4