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

Disassembly:
push 0xffffffffffffffff
push 0x429439
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb0
mov eax, dword [0x4368ec]
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0xc], eax
lea ecx, [esp + 0x24]
xor ebx, ebx
push ecx
push 0xb
push ebx
mov dword [esp + 0xd0], ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
push 0x100
lea ecx, [esp + 0x10]
call fcn.0041e371
mov edx, dword [esp + 0x24]
push eax
push edx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
push 0xffffffffffffffff
lea ecx, [esp + 0x10]
call fcn.0041e3c0
lea eax, [esp + 0x28]
mov dword [esp + 0x28], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [esp + 0x38], 2
jne 0x409acb
mov cl, byte [0x436384]
push ecx
lea ecx, [esp + 0x10]
call fcn.00418a57
mov esi, eax
cmp esi, 0xffffffff
je 0x409acb
lea edx, [esp + 0x20]
push esi
push edx
lea ecx, [esp + 0x14]
call fcn.00418926
lea eax, [esp + 0x1c]
push esi
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xcc], 1
call fcn.004189df
mov cl, byte [0x436384]
mov byte [esp + 0xc4], 2
push ecx
lea ecx, [esp + 0x20]
call fcn.00418a57
cmp eax, 0xffffffff
je 0x409aaa
inc eax
lea edx, [esp + 0x18]
push eax
push edx
lea ecx, [esp + 0x24]
call fcn.004189df
push str.All_Users
push eax
lea eax, [esp + 0x18]
mov byte [esp + 0xcc], 3
push eax
call fcn.0041e25f
lea ecx, [esp + 0x20]
lea edx, [esp + 0x14]
push ecx
push eax
push edx
mov byte [esp + 0xd0], 4
call fcn.0041e1f9
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0xc8], 5
call fcn.0041e103
lea ecx, [esp + 0x14]
mov byte [esp + 0xc4], 4
call fcn.0041e016
lea ecx, [esp + 0x10]
mov byte [esp + 0xc4], 3
call fcn.0041e016
lea ecx, [esp + 0x18]
mov byte [esp + 0xc4], 2
call fcn.0041e016
lea ecx, [esp + 0x1c]
mov byte [esp + 0xc4], 1
call fcn.0041e016
lea ecx, [esp + 0x20]
mov byte [esp + 0xc4], bl
call fcn.0041e016
lea eax, [esp + 0xc]
push 0x436608
lea ecx, [esp + 0x1c]
push eax
push ecx
call fcn.0041e25f
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0xc8], 6
call fcn.0041e103
lea ecx, [esp + 0x18]
mov byte [esp + 0xc4], bl
call fcn.0041e016
mov edx, dword [esp + 0xc]
push ebx
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push ecx
lea ecx, [esp + 0x10]
mov eax, esp
mov dword [esp + 0x14], esp
push 0x4365f8
push ecx
push eax
call fcn.0041e25f
push ecx
lea esi, [edi + 0x3f4]
mov edx, esp
mov dword [esp + 0x1c], esp
push str._binuserreg.exe
push esi
push edx
mov byte [esp + 0xd8], 7
call fcn.0041e25f
mov ecx, edi
mov byte [esp + 0xcc], bl
call fcn.00409800
push ecx
lea ecx, [esp + 0x10]
mov eax, esp
mov dword [esp + 0x14], esp
push 0x4365d4
push ecx
push eax
call fcn.0041e25f
push ecx
mov byte [esp + 0xcc], 8
mov edx, esp
mov dword [esp + 0x1c], esp
push str.demodemo.exe
push esi
push edx
call fcn.0041e25f
mov ecx, edi
mov byte [esp + 0xcc], bl
call fcn.00409800
push ecx
lea ecx, [esp + 0x10]
mov eax, esp
mov dword [esp + 0x14], esp
push str.
push ecx
push eax
call fcn.0041e25f
push ecx
mov byte [esp + 0xcc], 9
mov edx, esp
mov dword [esp + 0x1c], esp
push str._readme.txt
push esi
push edx
call fcn.0041e25f
mov ecx, edi
mov byte [esp + 0xcc], bl
call fcn.00409800
push ecx
mov eax, esp
mov dword [esp + 0x14], esp
lea ecx, [esp + 0x10]
push 0x436598
push ecx
push eax
call fcn.0041e25f
push ecx
mov byte [esp + 0xcc], 0xa
mov edx, esp
mov dword [esp + 0x1c], esp
push str._bin_forward.exe
push esi
push edx
call fcn.0041e25f
mov ecx, edi
mov byte [esp + 0xcc], bl
call fcn.00409800
lea ecx, [esp + 0xc]
mov dword [esp + 0xc4], 0xffffffff
call fcn.0041e016
mov ecx, dword [esp + 0xbc]
pop edi
pop esi
mov eax, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0xbc
ret