Function at 0x438e10
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x49d49e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x920
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0x24], esi
mov dword [esp + 0x934], 0
mov eax, dword [0x4cc854]
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], eax
lea eax, [esp + 0x940]
lea ecx, [esp + 0x20]
push eax
mov byte [esp + 0x938], 3
call fcn.0048c53c
lea ecx, [esp + 0x93c]
push ecx
lea ecx, [esp + 0x18]
call fcn.0048c53c
mov edx, dword [0x4cc854]
mov dword [esp + 0xc], edx
push 0
lea eax, [esp + 0x2c]
push 6
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
je 0x439175
mov ecx, dword [0x4cc854]
mov dword [esp + 0x1c], ecx
mov bl, 5
push str.szPath
lea ecx, [esp + 0x20]
mov byte [esp + 0x938], bl
call fcn.0048c58c
lea edx, [esp + 0x28]
lea eax, [esp + 0x1c]
push edx
lea ecx, [esp + 0x1c]
push eax
push ecx
call fcn.0048c698
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x938], 6
call fcn.0048c53c
lea ecx, [esp + 0x18]
mov byte [esp + 0x934], bl
call fcn.0048c403
mov al, byte [esp + 0x944]
test al, al
je 0x438f0b
push 0
lea edx, [esp + 0x2c]
push 0
push edx
mov ecx, esi
call fcn.0043b070
lea ecx, [esp + 0x1c]
mov byte [esp + 0x934], 4
call fcn.0048c403
lea eax, [esp + 0x28]
lea ecx, [esp + 0x10]
push eax
call fcn.0048c471
mov bl, 7
push 0x4c2288
lea ecx, [esp + 0x18]
mov byte [esp + 0x938], bl
call fcn.0048a476
test eax, eax
jne 0x438f78
lea ecx, [esp + 0x14]
lea edx, [esp + 0x10]
push ecx
lea eax, [esp + 0x1c]
push edx
push eax
call fcn.0048c632
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x938], 8
call fcn.0048c53c
mov byte [esp + 0x934], bl
lea ecx, [esp + 0x18]
jmp 0x438fd2
lea ecx, [esp + 0x10]
push 0x4c2288
lea edx, [esp + 0x20]
push ecx
push edx
call fcn.0048c698
lea ecx, [esp + 0x14]
lea edx, [esp + 0x18]
push ecx
push eax
push edx
mov byte [esp + 0x940], 9
call fcn.0048c632
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x938], 0xa
call fcn.0048c53c
lea ecx, [esp + 0x18]
mov byte [esp + 0x934], 9
call fcn.0048c403
mov byte [esp + 0x934], bl
lea ecx, [esp + 0x1c]
call fcn.0048c403
push 0x5c
lea ecx, [esp + 0x14]
call fcn.0048a454
cmp eax, 0xffffffff
je 0x439164
push 0x5c
lea ecx, [esp + 0x14]
call fcn.0048a454
push eax
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x18]
call fcn.0048a3dc
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x938], 0xb
call fcn.0048c53c
lea ecx, [esp + 0x18]
mov byte [esp + 0x934], bl
call fcn.0048c403
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx - 8]
cmp byte [eax + ecx - 1], 0x5c
jne 0x439085
push eax
call fcn.0048c144
mov ecx, dword [esp + 0x10]
mov esi, eax
xor eax, eax
mov edi, esi
mov ecx, dword [ecx - 8]
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 8]
dec ecx
push ecx
push eax
push esi
call fcn.00475330
add esp, 0x10
lea ecx, [esp + 0xc]
push esi
call fcn.0048c58c
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx - 8]
cmp byte [eax + ecx - 1], 0x5c
je 0x439035
mov esi, dword [esp + 0x24]
push ecx
lea eax, [esp + 0x10]
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call fcn.0048c178
mov ecx, esi
call fcn.00438bb0
test al, al
je 0x439164
mov edi, dword [esp + 0x20]
mov eax, dword [edi - 8]
test eax, eax
je 0x4390f1
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x12c]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x12c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x10]
push ecx
push edx
push 0x4c6d44
push str.InternetShortcut
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
lea ecx, [esp + 0x10]
mov byte [esp + 0x934], 4
call fcn.0048c403
lea ecx, [esp + 0xc]
mov byte [esp + 0x934], 3
call fcn.0048c403
lea ecx, [esp + 0x14]
mov byte [esp + 0x934], 2
call fcn.0048c403
lea ecx, [esp + 0x20]
mov byte [esp + 0x934], 1
call fcn.0048c403
lea ecx, [esp + 0x93c]
mov byte [esp + 0x934], 0
call fcn.0048c403
lea ecx, [esp + 0x940]
mov dword [esp + 0x934], 0xffffffff
call fcn.0048c403
mov al, 1
jmp 0x4391d5
lea ecx, [esp + 0x10]
mov byte [esp + 0x934], 4
call fcn.0048c403
lea ecx, [esp + 0xc]
mov byte [esp + 0x934], 3
call fcn.0048c403
lea ecx, [esp + 0x14]
mov byte [esp + 0x934], 2
call fcn.0048c403
lea ecx, [esp + 0x20]
mov byte [esp + 0x934], 1
call fcn.0048c403
lea ecx, [esp + 0x93c]
mov byte [esp + 0x934], 0
call fcn.0048c403
lea ecx, [esp + 0x940]
mov dword [esp + 0x934], 0xffffffff
call fcn.0048c403
xor al, al
mov ecx, dword [esp + 0x92c]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x92c
ret 0xc