Function at 0x44a5f8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51c85c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], ebx
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x28], edx
mov edx, dword [ebp + 0x18]
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x20], edx
mov edx, dword [0x55d358]
mov dword [ecx], edx
mov dword [ebp - 4], 0
mov edx, dword [0x55d358]
mov dword [ebp - 0x44], edx
mov dword [ebp - 4], 1
mov edx, dword [0x55d358]
mov dword [ebp - 0x40], edx
mov dword [ebp - 4], 2
mov edx, dword [ebp - 0x20]
test edx, edx
je 0x44a67a
mov ecx, edx
movzx edx, byte [ecx]
mov byte [ecx], 0
mov byte [ebp - 0x14], dl
jmp 0x44a684
mov byte [ebp - 0x14], 0
lea edx, [ebp - 0x14]
mov dword [ebp - 0x20], edx
lea ebx, [ebp - 0x44]
lea ecx, [ebp - 0x40]
xor edx, edx
push edx
push edx
push ecx
push ebx
push eax
call fcn.0044a8c8
add esp, 0x14
mov eax, dword [ebp - 0x44]
mov edx, dword [eax - 8]
mov dword [ebp - 0x24], eax
test edx, edx
jne 0x44a703
lea eax, [ebp - 0x4c]
push eax
call fcn.0044aa10
pop ecx
mov dword [ebp - 4], 3
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x44]
call fcn.00430810
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x48], eax
mov dword [ebp - 4], 4
mov dword [ebp - 4], 2
mov edx, dword [ebp - 0x4c]
mov eax, dword [edx - 0xc]
lea ecx, [edx - 0xc]
cmp eax, 0xffffffff
je 0x44a6ed
add eax, 0xffffffff
mov dword [edx - 0xc], eax
je 0x44a6f5
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x24], eax
jmp 0x44a703
push ecx
call dword [sym.imp.MSVCR80.dll_free]
pop ecx
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x54], ecx
push 0x105
call fcn.0042f7f0
mov dword [ebp - 0x50], eax
mov dword [ebp - 4], 5
mov edx, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x2c]
push 0
push eax
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
xor ebx, ebx
test eax, eax
sete bl
mov dword [ebp - 4], 2
mov ecx, dword [ebp - 0x54]
call fcn.0042f7a8
test ebx, ebx
je 0x44a765
push dword [0x543670]
mov ecx, dword [ebp + 8]
push 0
call fcn.00430194
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov ecx, dword [edx - 8]
test ecx, ecx
je 0x44a89e
mov edx, dword [ebp - 0x28]
test edx, edx
je 0x44a783
mov ecx, dword [edx]
cmp ecx, 0xffffffff
je 0x44a78a
mov eax, 1
jmp 0x44a7bf
movzx ecx, byte [ebp - 0x14]
mov edx, dword [ebp - 0x20]
mov byte [edx], cl
add esp, 0xfffffff8
call fcn.0044ab14
add esp, 8
mov ebx, eax
cmp ebx, 0xffffffff
je 0x44a7bd
mov ecx, dword [ebp - 0x28]
call fcn.0044c36c
mov eax, dword [ebp - 0x28]
mov byte [eax + 4], 0
mov dword [eax], ebx
mov eax, 1
jmp 0x44a7bf
xor eax, eax
mov edx, dword [ebp - 0x30]
test edx, edx
je 0x44a7e5
mov ecx, dword [edx]
test ecx, ecx
jne 0x44a7e5
movzx eax, byte [ebp - 0x14]
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x30]
push edx
push dword [ebp + 8]
push ecx
mov byte [edx], al
call fcn.0044ab6c
add esp, 0xc
movzx eax, al
test eax, eax
je 0x44a864
lea eax, [ebp - 0x40]
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 6
mov dword [ebp - 4], 1
mov edx, dword [ebp - 0x40]
mov eax, dword [edx - 0xc]
lea ecx, [edx - 0xc]
cmp eax, 0xffffffff
je 0x44a81e
add eax, 0xffffffff
mov dword [edx - 0xc], eax
jne 0x44a81e
push ecx
call dword [sym.imp.MSVCR80.dll_free]
pop ecx
lea eax, [ebp - 0x44]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 7
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x44]
mov eax, dword [edx - 0xc]
lea ecx, [edx - 0xc]
cmp eax, 0xffffffff
je 0x44a850
add eax, 0xffffffff
mov dword [edx - 0xc], eax
jne 0x44a850
push ecx
call dword [sym.imp.MSVCR80.dll_free]
pop ecx
mov eax, dword [ebp + 8]
mov ebx, dword [ebp - 0x34]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
call fcn.0043aa20
test eax, eax
je 0x44a897
push 0
push str.Failed_to_open_temporary_file.
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 8]
push eax
call fcn.0043f360
pop ecx
push dword [0x543670]
mov ecx, dword [ebp + 8]
push 0
call fcn.00430194
jmp 0x44a7ec
mov eax, str.Failed_to_open_temporary_file.
jmp 0x44a87b
call fcn.0043aa20
test eax, eax
je 0x44a8c1
push 0
push str.Failed_to_create_a_temporary_file_name
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 8]
push eax
call fcn.0043f5e4
pop ecx
jmp 0x44a7ec
mov eax, str.Failed_to_create_a_temporary_file_name
jmp 0x44a8b5