Function at 0x42f740
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54027b
mov eax, dword fs:[0]
push eax
sub esp, 0x34c
mov eax, dword [0x580280]
xor eax, ebp
mov dword [ebp - 0x4c], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x344], ecx
lea ecx, [ebp - 0x2c]
call fcn.0042ff50
mov dword [ebp - 4], 0
push 0
push 8
lea eax, [ebp - 0x274]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea ecx, [ebp - 0x274]
push ecx
lea ecx, [ebp - 0x68]
call fcn.00401280
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x294]
call fcn.00407b20
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x44]
call fcn.0047c792
mov byte [ebp - 4], 3
push 0x54ebc4
lea ecx, [ebp - 0x68]
call fcn.004078c0
push 0
lea ecx, [ebp - 0x68]
call fcn.004012c0
push eax
lea ecx, [ebp - 0x44]
call fcn.0047c82a
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
je 0x42f930
lea ecx, [ebp - 0x44]
call fcn.0047c492
mov dword [ebp - 0x48], eax
lea ecx, [ebp - 0x44]
call fcn.0047c753
test eax, eax
je 0x42f807
jmp 0x42f7e4
lea ecx, [ebp - 0x44]
call fcn.00422d20
test eax, eax
jne 0x42f92b
lea edx, [ebp - 0x2c4]
push edx
lea ecx, [ebp - 0x44]
call fcn.0047cb71
mov dword [ebp - 0x348], eax
mov eax, dword [ebp - 0x348]
mov dword [ebp - 0x34c], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x34c]
call fcn.00405cf0
push eax
lea ecx, [ebp - 0x294]
call fcn.0040ce50
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c4]
call fcn.00402890
lea ecx, [ebp - 0x29c]
call fcn.00431f60
lea ecx, [ebp - 0x29c]
push ecx
lea ecx, [ebp - 0x44]
call fcn.0047c6ab
lea ecx, [ebp - 0x294]
call fcn.004622e0
movzx edx, al
test edx, edx
jne 0x42f92b
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x2f0], esp
lea eax, [ebp - 0x294]
push eax
call fcn.00407860
mov dword [ebp - 0x350], eax
lea ecx, [ebp - 0x29c]
call fcn.00431f80
push edx
push eax
lea ecx, [ebp - 0x31c]
push ecx
call fcn.00431d00
add esp, 0x28
mov dword [ebp - 0x354], eax
mov edx, dword [ebp - 0x354]
mov dword [ebp - 0x358], edx
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x358]
push eax
lea ecx, [ebp - 0x2ec]
call fcn.00431ba0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2ec]
push ecx
lea edx, [ebp - 0x328]
push edx
lea ecx, [ebp - 0x2c]
call fcn.00430010
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2ec]
call fcn.0042feb0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x31c]
call fcn.0042feb0
jmp 0x42f7e4
mov dword [ebp - 0x278], 0
lea eax, [ebp - 0x2a4]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0045de30
jmp 0x42f95f
push 0
lea ecx, [ebp - 0x330]
push ecx
lea ecx, [ebp - 0x2a4]
call fcn.004301e0
lea edx, [ebp - 0x338]
push edx
lea ecx, [ebp - 0x2c]
call fcn.0042ffe0
push eax
lea ecx, [ebp - 0x2a4]
call fcn.0043ca40
movzx eax, al
test eax, eax
je 0x42f9e1
mov ecx, dword [ebp - 0x278]
mov edx, dword [ebp - 0x278]
add edx, 1
mov dword [ebp - 0x278], edx
cmp ecx, 0xf
jl 0x42f99d
jmp 0x42f9e1
lea ecx, [ebp - 0x2a4]
call fcn.00469e40
add eax, 8
push eax
lea ecx, [ebp - 0x2c0]
call fcn.00407860
mov byte [ebp - 4], 7
lea eax, [ebp - 0x2c0]
push eax
mov ecx, dword [ebp - 0x344]
call fcn.00424f10
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c0]
call fcn.00406040
jmp 0x42f94b
mov ecx, dword [ebp - 0x344]
call fcn.0042fed0
movzx ecx, al
test ecx, ecx
je 0x42fa3b
mov dword [ebp - 0x33c], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x44]
call fcn.0047c7bb
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x294]
call fcn.00406040
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x68]
call fcn.00406040
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.0042fe90
mov eax, dword [ebp - 0x33c]
jmp 0x42fa81
mov dword [ebp - 0x340], 1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x44]
call fcn.0047c7bb
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x294]
call fcn.00406040
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x68]
call fcn.00406040
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.0042fe90
mov eax, dword [ebp - 0x340]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x4c]
xor ecx, ebp
call fcn.00486c08
mov esp, ebp
pop ebp
ret