Function at 0x43a390
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x49d6e7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x124
push ebx
push ebp
push esi
push edi
mov ebp, ecx
mov dword [esp + 0x13c], 0
mov eax, dword [0x4cc854]
mov dword [esp + 0x14], eax
push 0
lea ecx, [esp + 0x34]
push 6
push ecx
push 0
mov byte [esp + 0x14c], 2
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
je 0x43a62e
lea edx, [esp + 0x30]
lea ecx, [esp + 0x14]
push edx
call fcn.0048c58c
mov eax, dword [0x4cc854]
mov dword [esp + 0x1c], eax
push str.P_r_n
lea ecx, [esp + 0x20]
mov byte [esp + 0x140], 3
call fcn.0048c58c
lea esi, [ebp + 0xe24]
push 0x4d0e20
mov ecx, esi
call fcn.0048c58c
lea edi, [ebp + 0xe20]
push 0x4d0e20
mov ecx, edi
call fcn.0048c58c
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
call fcn.0048c178
mov ecx, ebp
call fcn.0043a720
push 0x4c2288
lea ecx, [esp + 0x18]
call fcn.0048c7df
mov eax, dword [esp + 0x14]
push str.CREATEFILE
push eax
mov ecx, edi
call fcn.0048a144
mov ecx, dword [esp + 0x14]
push str.CREATEDIR
push ecx
mov ecx, esi
call fcn.0048a144
push esi
lea ecx, [esp + 0x20]
call fcn.0048c81b
push edi
lea ecx, [esp + 0x20]
call fcn.0048c81b
mov edx, dword [0x4cc854]
mov dword [esp + 0x10], edx
lea eax, [esp + 0x148]
lea ecx, [esp + 0x10]
push eax
mov byte [esp + 0x140], 4
call fcn.0048c53c
lea ecx, [esp + 0x18]
push 1
push ecx
lea ecx, [esp + 0x18]
call fcn.0048a360
mov eax, dword [eax]
push 0x4c2288
push eax
call fcn.0047514f
add esp, 8
lea ecx, [esp + 0x18]
test eax, eax
setne bl
call fcn.0048c403
test bl, bl
je 0x43a4f6
push 0x4c2288
lea ecx, [esp + 0x14]
call fcn.0048c7df
lea edx, [esp + 0x18]
push 1
push edx
lea ecx, [esp + 0x14c]
call fcn.0048a3dc
mov eax, dword [eax]
push 0x4c2288
push eax
call fcn.0047514f
add esp, 8
lea ecx, [esp + 0x18]
test eax, eax
sete bl
call fcn.0048c403
test bl, bl
je 0x43a56e
mov eax, dword [esp + 0x144]
lea ecx, [esp + 0x18]
mov eax, dword [eax - 8]
dec eax
push eax
push ecx
lea ecx, [esp + 0x14c]
call fcn.0048a360
push eax
lea ecx, [esp + 0x148]
mov byte [esp + 0x140], 5
call fcn.0048c53c
lea ecx, [esp + 0x18]
mov byte [esp + 0x13c], 4
call fcn.0048c403
lea edx, [esp + 0x144]
lea ecx, [esp + 0x10]
push edx
call fcn.0048c81b
lea eax, [esp + 0x18]
push 1
push eax
lea ecx, [esp + 0x18]
call fcn.0048a360
mov eax, dword [eax]
push 0x4c2288
push eax
call fcn.0047514f
add esp, 8
lea ecx, [esp + 0x18]
test eax, eax
setne bl
call fcn.0048c403
test bl, bl
je 0x43a5bf
push 0x4c2288
lea ecx, [esp + 0x14]
call fcn.0048c7df
push str.InitFavoritel.dat
lea ecx, [esp + 0x14]
call fcn.0048c7df
lea ecx, [esp + 0x20]
call fcn.00490080
mov ecx, dword [esp + 0x10]
push 0
push 0x1001
push ecx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x148], 6
call fcn.00490192
test eax, eax
jne 0x43a687
lea ecx, [esp + 0x20]
mov byte [esp + 0x13c], 4
call fcn.004900d5
lea ecx, [esp + 0x10]
mov byte [esp + 0x13c], 3
call fcn.0048c403
lea ecx, [esp + 0x1c]
mov byte [esp + 0x13c], 2
call fcn.0048c403
lea ecx, [esp + 0x14]
mov byte [esp + 0x13c], 1
call fcn.0048c403
lea ecx, [esp + 0x144]
mov byte [esp + 0x13c], 0
call fcn.0048c403
lea ecx, [esp + 0x148]
mov dword [esp + 0x13c], 0xffffffff
call fcn.0048c403
xor al, al
mov ecx, dword [esp + 0x134]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x130
ret 8
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax - 8]
push ecx
push eax
lea ecx, [esp + 0x28]
call fcn.004902e9
lea ecx, [esp + 0x20]
call fcn.004903ad
lea ecx, [esp + 0x20]
mov byte [esp + 0x13c], 4
call fcn.004900d5
lea ecx, [esp + 0x10]
mov byte [esp + 0x13c], 3
call fcn.0048c403
lea ecx, [esp + 0x1c]
mov byte [esp + 0x13c], 2
call fcn.0048c403
lea ecx, [esp + 0x14]
mov byte [esp + 0x13c], 1
call fcn.0048c403
lea ecx, [esp + 0x144]
mov byte [esp + 0x13c], 0
call fcn.0048c403
lea ecx, [esp + 0x148]
mov dword [esp + 0x13c], 0xffffffff
call fcn.0048c403
mov al, 1
jmp 0x43a66c