Function at 0x4e1e54
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 8
add esp, 0xfffff004
push eax
dec eax
jne 0x4e1e5d
mov eax, dword [ebp - 4]
add esp, 0xfffff294
push ebx
push esi
push edi
mov eax, 0x598750
call fcn.0054e578
xor edx, edx
lea edi, [ebp - 0x8c58]
mov dword [ebp - 0x4c], edx
mov esi, 0x58fa48
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.0054d784
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.004c38b0
add esp, 0x10
test eax, eax
je 0x4e1ee2
or ebx, 0xffffffff
jmp 0x4e2146
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.0054e1e8
add esp, 8
mov edx, dword [ebp - 0x8c5c]
push edx
push 0x598671
lea ecx, [ebp - 0x8c68]
push ecx
call fcn.005518b4
add esp, 0xc
lea eax, [ebp - 0x8c68]
push eax
mov edx, dword [ebp + 8]
push edx
call fcn.0054e1e8
add esp, 8
push 0x598674
mov ecx, dword [ebp + 8]
push ecx
call fcn.0054e1e8
mov word [ebp - 0x38], 8
mov edx, dword [ebp + 8]
add esp, 8
lea eax, [ebp - 4]
call fcn.0055c210
inc dword [ebp - 0x2c]
mov eax, dword [eax]
call fcn.005437f8
cmp al, 1
lea eax, [ebp - 4]
sete dl
and edx, 1
push edx
mov edx, 2
dec dword [ebp - 0x2c]
call fcn.0055c51c
pop ecx
test cl, cl
je 0x4e2088
mov dl, 1
mov eax, dword [0x535c44]
call fcn.00409d30
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.0055c210
inc dword [ebp - 0x2c]
mov edx, dword [eax]
mov eax, dword [ebp - 0x8c6c]
call fcn.00538f2c
dec dword [ebp - 0x2c]
lea eax, [ebp - 8]
mov edx, 2
call fcn.0055c51c
mov eax, dword [ebp - 0x8c6c]
call fcn.00538af4
cmp eax, dword [ebp - 0x50]
jne 0x4e204a
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.0054e378
add esp, 0xc
test eax, eax
jne 0x4e204a
mov ebx, dword [ebp - 0x8c6c]
mov dword [ebp - 0x10], ebx
test ebx, ebx
je 0x4e213a
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 0x4e213a
mov word [ebp - 0x38], 0
jmp 0x4e205d
mov ebx, dword [ebp - 0x8c6c]
mov dword [ebp - 0x18], ebx
test ebx, ebx
je 0x4e2088
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 [0x535c44]
call fcn.00409d30
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.0055c210
inc dword [ebp - 0x2c]
mov edx, dword [eax]
mov eax, dword [ebp - 0x8c6c]
call fcn.00538e58
dec dword [ebp - 0x2c]
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.0055c51c
mov ebx, dword [ebp - 0x8c6c]
mov dword [ebp - 0x24], ebx
test ebx, ebx
je 0x4e213a
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 0x4e213a
cmp dword [ebp - 0x8c5c], 0x64
mov ebx, 1
cmp dword [ebp - 0x4c], 0
je 0x4e2156
mov eax, dword [ebp - 0x4c]
push eax
call fcn.0054d5bc
pop ecx
mov eax, ebx
mov edx, dword [ebp - 0x48]
mov dword fs:[0], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret