Function at 0x4e1aa8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 8
add esp, 0xfffff004
push eax
dec eax
jne 0x4e1ab1
mov eax, dword [ebp - 4]
add esp, 0xfffff294
push ebx
push esi
push edi
mov eax, 0x59623c
call fcn.0054c16c
xor edx, edx
lea edi, [ebp - 0x8c58]
mov dword [ebp - 0x4c], edx
mov esi, 0x58d534
mov dword [ebp - 0x50], 0x10a01
mov ecx, 0x2302
lea eax, [ebp - 0x8d70]
rep movsd dword es:[edi], dword [esi]
push eax
push 0xf0
mov ebx, 0x8c08
call sub.KERNEL32.DLL_GetTempPathA
mov edx, dword [ebp - 0x50]
push edx
call fcn.0054b378
pop ecx
mov dword [ebp - 0x4c], eax
push ebx
lea ecx, [ebp - 0x8c58]
push ecx
lea eax, [ebp - 0x50]
push eax
mov edx, dword [ebp - 0x4c]
push edx
call fcn.004c55d0
add esp, 0x10
test eax, eax
je 0x4e1b36
or ebx, 0xffffffff
jmp 0x4e1d9a
xor eax, eax
mov dword [ebp - 0x8c5c], eax
xor eax, eax
lea edi, [ebp - 0x8d70]
or ecx, 0xffffffff
mov edx, dword [ebp + 8]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edx
xchg edi, esi
mov edx, ecx
mov eax, edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push str.lxw7sypl
mov eax, dword [ebp + 8]
push eax
call fcn.0054bddc
add esp, 8
mov edx, dword [ebp - 0x8c5c]
push edx
push 0x59615d
lea ecx, [ebp - 0x8c68]
push ecx
call fcn.0054f4a8
add esp, 0xc
lea eax, [ebp - 0x8c68]
push eax
mov edx, dword [ebp + 8]
push edx
call fcn.0054bddc
add esp, 8
push 0x596160
mov ecx, dword [ebp + 8]
push ecx
call fcn.0054bddc
mov word [ebp - 0x38], 8
mov edx, dword [ebp + 8]
add esp, 8
lea eax, [ebp - 4]
call fcn.00559dd8
inc dword [ebp - 0x2c]
mov eax, dword [eax]
call fcn.005426c0
cmp al, 1
lea eax, [ebp - 4]
sete dl
and edx, 1
push edx
mov edx, 2
dec dword [ebp - 0x2c]
call fcn.0055a088
pop ecx
test cl, cl
je 0x4e1cdc
mov dl, 1
mov eax, dword [0x534b4c]
call fcn.00409d18
mov dword [ebp - 0x8c6c], eax
lea eax, [ebp - 8]
mov word [ebp - 0x38], 0x14
mov word [ebp - 0x38], 0x20
mov edx, dword [ebp + 8]
call fcn.00559dd8
inc dword [ebp - 0x2c]
mov edx, dword [eax]
mov eax, dword [ebp - 0x8c6c]
call fcn.00537e34
dec dword [ebp - 0x2c]
lea eax, [ebp - 8]
mov edx, 2
call fcn.0055a088
mov eax, dword [ebp - 0x8c6c]
call fcn.005379fc
cmp eax, dword [ebp - 0x50]
jne 0x4e1c9e
mov edx, dword [ebp - 0x50]
push edx
mov ecx, dword [ebp - 0x8c6c]
mov eax, dword [ecx + 4]
push eax
mov edx, dword [ebp - 0x4c]
push edx
call fcn.0054bf6c
add esp, 0xc
test eax, eax
jne 0x4e1c9e
mov ebx, dword [ebp - 0x8c6c]
mov dword [ebp - 0x10], ebx
test ebx, ebx
je 0x4e1d8e
mov eax, dword [ebx]
mov dword [ebp - 0xc], eax
mov word [ebp - 0x38], 0x38
mov edx, 3
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx - 4]
mov word [ebp - 0x38], 0x2c
jmp 0x4e1d8e
mov word [ebp - 0x38], 0
jmp 0x4e1cb1
mov ebx, dword [ebp - 0x8c6c]
mov dword [ebp - 0x18], ebx
test ebx, ebx
je 0x4e1cdc
mov eax, dword [ebx]
mov dword [ebp - 0x14], eax
mov word [ebp - 0x38], 0x50
mov edx, 3
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx - 4]
mov word [ebp - 0x38], 0x44
mov word [ebp - 0x38], 0x5c
mov dl, 1
mov eax, dword [0x534b4c]
call fcn.00409d18
mov dword [ebp - 0x8c6c], eax
mov eax, dword [ebp - 0x8c6c]
mov ecx, dword [ebp - 0x50]
mov edx, dword [ebp - 0x4c]
mov ebx, dword [eax]
call dword [ebx + 8]
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x8c6c]
mov ecx, dword [eax]
call dword [ecx]
mov word [ebp - 0x38], 0x68
lea eax, [ebp - 0x1c]
mov edx, dword [ebp + 8]
call fcn.00559dd8
inc dword [ebp - 0x2c]
mov edx, dword [eax]
mov eax, dword [ebp - 0x8c6c]
call fcn.00537d60
dec dword [ebp - 0x2c]
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.0055a088
mov ebx, dword [ebp - 0x8c6c]
mov dword [ebp - 0x24], ebx
test ebx, ebx
je 0x4e1d8e
mov eax, dword [ebx]
mov dword [ebp - 0x20], eax
mov word [ebp - 0x38], 0x80
mov edx, 3
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
call dword [ecx - 4]
mov word [ebp - 0x38], 0x74
jmp 0x4e1d8e
cmp dword [ebp - 0x8c5c], 0x64
mov ebx, 1
cmp dword [ebp - 0x4c], 0
je 0x4e1daa
mov eax, dword [ebp - 0x4c]
push eax
call fcn.0054b1b0
pop ecx
mov eax, ebx
mov edx, dword [ebp - 0x48]
invalid
invalid
invalid
invalid