Function at 0x434260
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x45ad93
mov eax, dword fs:[0]
push eax
sub esp, 0x2f0
mov eax, dword [0x4731fc]
xor eax, esp
mov dword [esp + 0x2ec], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4731fc]
xor eax, esp
push eax
lea eax, [esp + 0x304]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x314]
xor edi, edi
mov dword [esp + 0x14], edi
mov eax, dword [ebp]
mov edx, dword [eax + 0x1c]
mov esi, ecx
mov ecx, ebp
call edx
mov ecx, dword [esi + 4]
lea eax, [esp + 0x1c]
push eax
lea edx, [ecx + 0xe0]
push edx
mov dword [esp + 0x24], edi
call fcn.00408830
cmp eax, edi
jne 0x434825
lea ecx, [esp + 0xb0]
call fcn.00401cf0
mov dword [esp + 0x30c], edi
mov dword [esp + 0x18], esi
cmp byte [esp + 0x31c], 0
je 0x43430c
lea eax, [esp + 0xb0]
push eax
mov ecx, esi
call fcn.004339f0
test eax, eax
je 0x4346ff
lea ecx, [esp + 0xb0]
push ecx
mov ecx, esi
call fcn.0042c780
mov ecx, eax
call fcn.00401e40
mov ecx, dword [esp + 0x20]
push eax
call fcn.00418730
test eax, eax
je 0x4346ff
mov ecx, esi
call fcn.0042c7b0
push eax
lea ecx, [esp + 0xd8]
call fcn.00401d50
lea edx, [esp + 0x18]
push edx
mov ecx, esi
mov byte [esp + 0x310], 4
call fcn.0042ecb0
cmp byte [esp + 0x320], 0
mov esi, dword [esp + 0x18]
je 0x4345e1
cmp esi, edi
je 0x4343bc
lea ecx, [esp + 0xd4]
call fcn.004021d0
test al, al
jne 0x4343bc
push 0x463078
lea ecx, [esp + 0x90]
call fcn.004031c0
or dword [esp + 0x14], 1
lea eax, [esp + 0x8c]
push eax
lea ecx, [esp + 0xd8]
mov byte [esp + 0x310], 5
call fcn.004025e0
test eax, eax
jne 0x4343bc
mov bl, 1
jmp 0x4343be
xor bl, bl
test byte [esp + 0x14], 1
mov dword [esp + 0x30c], 4
je 0x4343e1
and dword [esp + 0x14], 0xfffffffe
lea ecx, [esp + 0x8c]
call fcn.00401d80
test bl, bl
je 0x4345e1
push 0x206
lea ecx, [esp + 0xfe]
push edi
push ecx
mov word [esp + 0x104], di
call sub.MSVCR80.dll_memset
add esp, 0xc
mov ecx, esi
call fcn.0042c780
push eax
lea ecx, [esp + 0x90]
call fcn.00401d50
push str.AppDataFolder
lea ecx, [esp + 0x24]
mov byte [esp + 0x310], 6
call fcn.004031c0
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x90]
mov byte [esp + 0x310], 7
call fcn.004025e0
test eax, eax
lea ecx, [esp + 0x20]
sete bl
mov byte [esp + 0x30c], 6
call fcn.00401d80
test bl, bl
je 0x434474
push edi
push 0x1a
lea eax, [esp + 0x100]
push eax
jmp 0x4345a8
push str.LocalAppDataFolder
lea ecx, [esp + 0x24]
call fcn.004031c0
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x90]
mov byte [esp + 0x310], 8
call fcn.004025e0
test eax, eax
lea ecx, [esp + 0x20]
sete bl
mov byte [esp + 0x30c], 6
call fcn.00401d80
test bl, bl
je 0x4344bd
push edi
push 0x1c
jmp 0x4345a0
push str.DesktopFolder
lea ecx, [esp + 0x24]
call fcn.004031c0
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x90]
mov byte [esp + 0x310], 9
call fcn.004025e0
test eax, eax
lea ecx, [esp + 0x20]
sete bl
mov byte [esp + 0x30c], 6
call fcn.00401d80
test bl, bl
je 0x43450e
push edi
push 0x10
lea ecx, [esp + 0x100]
push ecx
jmp 0x4345a8
push str.StartMenuFolder
lea ecx, [esp + 0x24]
call fcn.004031c0
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x90]
mov byte [esp + 0x310], 0xa
call fcn.004025e0
test eax, eax
lea ecx, [esp + 0x20]
sete bl
mov byte [esp + 0x30c], 6
call fcn.00401d80
test bl, bl
je 0x43455c
push edi
push 0xb
lea eax, [esp + 0x100]
push eax
jmp 0x4345a8
push 0x465324
lea ecx, [esp + 0x24]
call fcn.004031c0
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x90]
mov byte [esp + 0x310], 0xb
call fcn.004025e0
test eax, eax
lea ecx, [esp + 0x20]
sete bl
mov byte [esp + 0x30c], 6
call fcn.00401d80
test bl, bl
je 0x4345af
push edi
push 5
lea edx, [esp + 0x100]
push edx
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
cmp word [esp + 0xf8], di
je 0x4345cd
lea eax, [esp + 0xf8]
push eax
lea ecx, [esp + 0xd8]
call fcn.00401db0
lea ecx, [esp + 0x8c]
mov byte [esp + 0x30c], 4
call fcn.00401d80
cmp esi, edi
je 0x434629
lea ecx, [esp + 0xd4]
call fcn.004021d0
test al, al
jne 0x434629
push 0x463078
lea ecx, [esp + 0x24]
call fcn.004031c0
or dword [esp + 0x14], 2
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0xd8]
mov byte [esp + 0x310], 0xc
call fcn.004025e0
test eax, eax
je 0x434629
mov bl, 1
jmp 0x43462b
xor bl, bl
test byte [esp + 0x14], 2
mov dword [esp + 0x30c], 4
je 0x43464b
and dword [esp + 0x14], 0xfffffffd
lea ecx, [esp + 0x20]
call fcn.00401d80
test bl, bl
je 0x4346de
mov edx, dword [ebp]
mov eax, dword [edx + 0x20]
mov ecx, ebp
call eax
test al, al
je 0x434672
lea ecx, [esp + 0xd4]
push ecx
mov ecx, ebp
call fcn.00401de0
jmp 0x4346de
mov eax, dword [esp + 0xd4]
push 0x4737c8
lea edx, [esp + 0x48]
push edx
mov edx, dword [eax + 0x88]
lea ecx, [esp + 0xdc]
call edx
mov edx, dword [eax]
mov edx, dword [edx + 0x88]
push ebp
lea ecx, [esp + 0x6c]
push ecx
mov ecx, eax
mov byte [esp + 0x314], 0xd
call edx
push eax
mov ecx, ebp
mov byte [esp + 0x310], 0xe
call fcn.00401de0
lea ecx, [esp + 0x68]
mov byte [esp + 0x30c], 0xd
call fcn.00401d80
lea ecx, [esp + 0x44]
mov byte [esp + 0x30c], 4
call fcn.00401d80
lea ecx, [esp + 0xd4]
mov byte [esp + 0x30c], 0
call fcn.00401d80
cmp esi, edi
jne 0x4342eb
jmp 0x43480c
push edi
sub esp, 0x24
mov ecx, esp
mov dword [esp + 0x40], esp
push 0x4737c8
call fcn.00401d50
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0xdc]
call fcn.00401f10
push eax
lea ecx, [esp + 0xb4]
mov byte [esp + 0x310], 1
call fcn.00401de0
lea ecx, [esp + 0x20]
mov byte [esp + 0x30c], 0
call fcn.00401d80
lea ecx, [esp + 0xb0]
call fcn.004021d0
test al, al
je 0x43477b
lea ecx, [esp + 0xb0]
mov dword [esp + 0x30c], 0xffffffff
call fcn.00401d80
mov eax, 7
jmp 0x434825
mov edx, dword [ebp]
mov eax, dword [edx + 0x20]
mov ecx, ebp
call eax
test al, al
je 0x43479a
lea ecx, [esp + 0xb0]
push ecx
mov ecx, ebp
call fcn.00401de0
jmp 0x43480c
mov eax, dword [esp + 0xb0]
push 0x4737c8
lea edx, [esp + 0x90]
push edx
mov edx, dword [eax + 0x88]
lea ecx, [esp + 0xb8]
call edx
mov edx, dword [eax]
mov edx, dword [edx + 0x88]
push ebp
lea ecx, [esp + 0x24]
push ecx
mov ecx, eax
mov byte [esp + 0x314], 2
call edx
push eax
mov ecx, ebp
mov byte [esp + 0x310], 3
call fcn.00401de0
lea ecx, [esp + 0x20]
mov byte [esp + 0x30c], 2
call fcn.00401d80
lea ecx, [esp + 0x8c]
mov byte [esp + 0x30c], 0
call fcn.00401d80
lea ecx, [esp + 0xb0]
mov dword [esp + 0x30c], 0xffffffff
call fcn.00401d80
xor eax, eax
mov ecx, dword [esp + 0x304]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2ec]
xor ecx, esp
call fcn.004420bc
add esp, 0x2fc
ret 0x10