Function at 0x41ad38
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 8
add esp, 0xfffff004
push eax
dec eax
jne 0x41ad41
mov eax, dword [ebp - 4]
add esp, 0xfffff294
push ebx
push esi
push edi
mov eax, 0x4a0cfc
call fcn.00471e54
xor edx, edx
lea edi, [ebp - 0x8c58]
mov dword [ebp - 0x4c], edx
mov esi, 0x497ff4
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.004712fc
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.00418ba4
add esp, 0x10
test eax, eax
je 0x41adc6
or ebx, 0xffffffff
jmp 0x41b02a
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.00471ba4
add esp, 8
mov edx, dword [ebp - 0x8c5c]
push edx
push 0x4a0c1d
lea ecx, [ebp - 0x8c68]
push ecx
call fcn.00474444
add esp, 0xc
lea eax, [ebp - 0x8c68]
push eax
mov edx, dword [ebp + 8]
push edx
call fcn.00471ba4
add esp, 8
push 0x4a0c20
mov ecx, dword [ebp + 8]
push ecx
call fcn.00471ba4
mov word [ebp - 0x38], 8
mov edx, dword [ebp + 8]
add esp, 8
lea eax, [ebp - 4]
call fcn.0047cc54
inc dword [ebp - 0x2c]
mov eax, dword [eax]
call fcn.00468ec8
cmp al, 1
lea eax, [ebp - 4]
sete dl
and edx, 1
push edx
mov edx, 2
dec dword [ebp - 0x2c]
call fcn.0047cd0c
pop ecx
test cl, cl
je 0x41af6c
mov dl, 1
mov eax, dword [0x45ca7c]
call fcn.00402228
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.0047cc54
inc dword [ebp - 0x2c]
mov edx, dword [eax]
mov eax, dword [ebp - 0x8c6c]
call fcn.0045fd64
dec dword [ebp - 0x2c]
lea eax, [ebp - 8]
mov edx, 2
call fcn.0047cd0c
mov eax, dword [ebp - 0x8c6c]
call fcn.0045f92c
cmp eax, dword [ebp - 0x50]
jne 0x41af2e
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.00471cd4
add esp, 0xc
test eax, eax
jne 0x41af2e
mov ebx, dword [ebp - 0x8c6c]
mov dword [ebp - 0x10], ebx
test ebx, ebx
je 0x41b01e
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 0x41b01e
mov word [ebp - 0x38], 0
jmp 0x41af41
mov ebx, dword [ebp - 0x8c6c]
mov dword [ebp - 0x18], ebx
test ebx, ebx
je 0x41af6c
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 [0x45ca7c]
call fcn.00402228
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.0047cc54
inc dword [ebp - 0x2c]
mov edx, dword [eax]
mov eax, dword [ebp - 0x8c6c]
call fcn.0045fc90
dec dword [ebp - 0x2c]
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.0047cd0c
mov ebx, dword [ebp - 0x8c6c]
mov dword [ebp - 0x24], ebx
test ebx, ebx
je 0x41b01e
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 0x41b01e
cmp dword [ebp - 0x8c5c], 0x64
mov ebx, 1
cmp dword [ebp - 0x4c], 0
je 0x41b03a
mov eax, dword [ebp - 0x4c]
push eax
call fcn.00471134
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