Function at 0x41b3e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x528
mov eax, dword [0x4f06b4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x4f53f8]
push ebx
push esi
test eax, eax
je 0x41b41a
push eax
push 0x4da8b4
lea eax, [ebp - 0x110]
push eax
push 0xe6
call fcn.004180d0
add esp, 0x10
jmp 0x41b47c
lea ecx, [ebp - 0x520]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea edx, [ebp - 0x520]
push edx
lea eax, [ebp - 0x318]
push 0x104
push eax
call fcn.004a85c2
add esp, 0xc
lea ebx, [ebp - 0x318]
call fcn.0041a0c0
mov esi, eax
test esi, esi
je 0x41b645
push esi
push 0x4da8b4
lea ecx, [ebp - 0x110]
push ecx
push 0xe6
call fcn.004180d0
push esi
call fcn.004a5f5b
add esp, 0x14
mov dl, byte [ebp - 0x110]
lea eax, [ebp - 0x110]
test dl, dl
je 0x41b496
lea esp, [esp]
inc eax
cmp byte [eax], 0
jne 0x41b490
lea ecx, [ebp - 0x110]
sub eax, ecx
and eax, 0x3fffffff
mov ecx, eax
mov eax, str.etilqs_
lea ebx, [ebx]
inc eax
cmp byte [eax], 0
jne 0x41b4b0
sub eax, str.etilqs_
and eax, 0x3fffffff
lea eax, [eax + ecx + 0x11]
cmp eax, 0x105
jl 0x41b4e0
mov eax, 1
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a545d
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x110]
test dl, dl
je 0x41b4f6
lea ebx, [ebx]
inc eax
cmp byte [eax], 0
jne 0x41b4f0
lea ecx, [ebp - 0x110]
sub eax, ecx
and eax, 0x3fffffff
jbe 0x41b50f
cmp byte [ecx + eax - 1], 0x5c
jne 0x41b50f
dec eax
jne 0x41b505
lea edx, [ebp - 0x110]
push edx
push str._setilqs_
push edi
push 0xf4
mov byte [ebp + eax - 0x110], 0
call fcn.004180d0
add esp, 0x10
mov eax, edi
test edi, edi
je 0x41b54d
cmp byte [edi], 0
je 0x41b546
lea esp, [esp]
inc eax
cmp byte [eax], 0
jne 0x41b540
sub eax, edi
and eax, 0x3fffffff
mov esi, eax
add eax, edi
cmp dword [0x4f212c], 0
mov ebx, 0xf
mov dword [ebp - 0x528], eax
jne 0x41b571
mov dword [ebp - 0x524], 0
jmp 0x41b592
push 5
call dword [0x4f216c]
add esp, 4
mov dword [ebp - 0x524], eax
test eax, eax
je 0x41b592
mov ecx, eax
push ecx
call dword [0x4f2174]
add esp, 4
call fcn.00418210
mov ecx, dword [ebp - 0x528]
mov byte [ecx], al
inc ecx
dec ebx
mov dword [ebp - 0x528], ecx
jne 0x41b592
mov eax, dword [ebp - 0x524]
test eax, eax
je 0x41b5bd
push eax
call dword [0x4f217c]
add esp, 4
mov ecx, 3
movzx eax, byte [edi + esi]
xor edx, edx
mov ebx, 0x3e
div ebx
movzx eax, byte [edi + esi + 1]
add esi, 5
movzx edx, byte [edx + str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]
mov byte [edi + esi - 5], dl
xor edx, edx
div ebx
movzx eax, byte [edx + str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]
mov byte [edi + esi - 4], al
movzx eax, byte [edi + esi - 3]
xor edx, edx
div ebx
movzx eax, byte [edi + esi - 2]
movzx edx, byte [edx + str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]
mov byte [edi + esi - 3], dl
xor edx, edx
div ebx
movzx eax, byte [edx + str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]
mov byte [edi + esi - 2], al
movzx eax, byte [edi + esi - 1]
xor edx, edx
div ebx
dec ecx
movzx edx, byte [edx + str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]
mov byte [edi + esi - 1], dl
jne 0x41b5c2
mov byte [edi + esi], cl
xor eax, eax
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a545d
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
mov eax, 7
pop ebx
call fcn.004a545d
mov esp, ebp
pop ebp
ret