Function at 0x4ab960
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4d9549
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
mov ebp, dword [esp + 0x38]
mov dword [esp + 0x1c], 0
mov eax, dword [0x6cc33c]
push esi
push edi
mov edi, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x30], 1
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
test edi, edi
mov bl, 3
mov byte [esp + 0x30], bl
mov byte [esp + 0x13], 0
je 0x4ab9bd
mov al, byte [edi]
mov byte [esp + 0x13], al
mov byte [edi], 0
jmp 0x4ab9c1
lea edi, [esp + 0x13]
mov eax, dword [esp + 0x3c]
push 0
push 0
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x24]
push edx
push eax
call fcn.004ab3d0
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx - 8]
add esp, 0x14
test eax, eax
jne 0x4aba20
lea edx, [esp + 0x20]
push edx
call fcn.004a9be0
add esp, 4
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x34], 4
call fcn.0048b2d0
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
cmp eax, 0xffffffff
mov byte [esp + 0x30], bl
je 0x4aba20
dec eax
mov dword [ecx], eax
jne 0x4aba20
call fcn.0048a9b0
push 0x105
lea ecx, [esp + 0x18]
call fcn.0048b480
mov ecx, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x20]
push 0
push eax
push ecx
call dword [sym.imp.KERNEL32.DLL_GetTempFileNameA]
mov ebx, eax
neg ebx
sbb bl, bl
lea ecx, [esp + 0x14]
inc bl
call fcn.0048baf0
test bl, bl
je 0x4aba68
mov edx, dword [0x504ebc]
push edx
push 0
lea ecx, [esp + 0x1c]
call fcn.0048be40
mov eax, dword [esp + 0x14]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x4abaab
call fcn.0048da70
test eax, eax
je 0x4aba98
mov edx, dword [eax]
push 0
push str.Failed_to_create_a_temporary_file_name
mov ecx, eax
call dword [edx + 8]
push eax
call fcn.004a5080
add esp, 4
jmp 0x4abb41
mov eax, str.Failed_to_create_a_temporary_file_name
push eax
call fcn.004a5080
add esp, 4
jmp 0x4abb41
test ebp, ebp
mov bl, 1
je 0x4abae1
cmp dword [ebp], 0xffffffff
jne 0x4abae1
mov al, byte [esp + 0x13]
mov byte [edi], al
mov ecx, edi
lea eax, [esp + 0x14]
call fcn.004a93f0
mov esi, eax
cmp esi, 0xffffffff
je 0x4abadf
mov ecx, ebp
call fcn.00498170
mov dword [ebp], esi
mov byte [ebp + 4], 0
jmp 0x4abae1
xor bl, bl
mov esi, dword [esp + 0x44]
test esi, esi
je 0x4abb05
cmp dword [esi], 0
jne 0x4abb05
mov cl, byte [esp + 0x13]
lea edx, [esp + 0x14]
mov byte [edi], cl
push edx
mov ecx, edi
call fcn.004a9440
add esp, 4
mov bl, al
test bl, bl
jne 0x4abb41
call fcn.0048da70
test eax, eax
je 0x4abb22
mov edx, dword [eax]
push 0
push str.Failed_to_open_temporary_file.
mov ecx, eax
call dword [edx + 8]
jmp 0x4abb27
mov eax, str.Failed_to_open_temporary_file.
push eax
call fcn.004a4df0
mov eax, dword [0x504ebc]
add esp, 4
push eax
push 0
lea ecx, [esp + 0x1c]
call fcn.0048be40
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx - 8]
test eax, eax
mov esi, dword [esp + 0x38]
jne 0x4abb5a
mov ecx, dword [0x6cc33c]
mov dword [esi], ecx
jmp 0x4abb6c
mov edx, dword [esp + 0x38]
mov dword [edx], ecx
mov eax, dword [ecx - 0xc]
cmp eax, 0xffffffff
je 0x4abb6c
inc eax
mov dword [ecx - 0xc], eax
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
cmp eax, 0xffffffff
mov dword [esp + 0x24], 1
mov byte [esp + 0x30], 2
je 0x4abb92
dec eax
mov dword [ecx], eax
jne 0x4abb92
call fcn.0048a9b0
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
cmp eax, 0xffffffff
mov byte [esp + 0x30], 1
je 0x4abbb0
dec eax
mov dword [ecx], eax
jne 0x4abbb0
call fcn.0048a9b0
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
cmp eax, 0xffffffff
mov byte [esp + 0x30], 0
je 0x4abbce
dec eax
mov dword [ecx], eax
jne 0x4abbce
call fcn.0048a9b0
mov ecx, dword [esp + 0x28]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret