Function at 0x4a3ea0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5bcc49
mov eax, dword fs:[0]
push eax
sub esp, 0x87c
mov eax, dword [0x669404]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [ebp - 0x888], ebx
mov edi, ecx
mov esi, 7
xor eax, eax
mov dword [ebp - 0x884], edi
mov dword [ebp - 0x834], esi
mov dword [ebp - 0x838], ebx
mov word [ebp - 0x848], ax
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x810]
push ecx
push 0x400
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
setne al
cmp al, bl
je 0x4a3f4f
lea eax, [ebp - 0x810]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4a3f23
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x810]
push edx
lea ecx, [ebp - 0x848]
call fcn.00406180
mov esi, 8
jmp 0x4a4057
push 2
xor eax, eax
push 0x613798
lea ecx, [ebp - 0x82c]
mov dword [ebp - 0x818], esi
mov dword [ebp - 0x81c], ebx
mov word [ebp - 0x82c], ax
call fcn.00406180
mov byte [ebp - 4], 2
push ebx
lea ecx, [ebp - 0x880]
call fcn.00414b90
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x82c]
lea ebx, [ebp - 0x864]
call fcn.0040ec50
add esp, 8
mov byte [ebp - 4], 4
mov edi, eax
lea esi, [ebp - 0x848]
call fcn.00406850
mov byte [ebp - 4], 3
mov esi, 8
cmp dword [ebp - 0x850], esi
jb 0x4a3fd1
mov ecx, dword [ebp - 0x864]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov ebx, 7
xor edi, edi
xor edx, edx
mov dword [ebp - 0x850], ebx
mov dword [ebp - 0x854], edi
mov word [ebp - 0x864], dx
mov byte [ebp - 4], 2
cmp dword [ebp - 0x86c], esi
jb 0x4a4009
mov eax, dword [ebp - 0x880]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x86c], ebx
mov dword [ebp - 0x870], edi
mov word [ebp - 0x880], cx
mov byte [ebp - 4], 1
cmp dword [ebp - 0x818], esi
jb 0x4a403a
mov edx, dword [ebp - 0x82c]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov dword [ebp - 0x818], ebx
mov dword [ebp - 0x81c], edi
mov edi, dword [ebp - 0x884]
mov word [ebp - 0x82c], ax
xor ebx, ebx
xor ecx, ecx
push 2
mov word [ebp - 0x82c], cx
push 0x61ec8c
lea ecx, [ebp - 0x82c]
mov dword [ebp - 0x818], 7
mov dword [ebp - 0x81c], ebx
call fcn.00406180
mov byte [ebp - 4], 5
lea edx, [ebp - 0x848]
push edx
lea ecx, [ebp - 0x82c]
mov ebx, edi
call fcn.0040ec50
add esp, 4
mov eax, 1
mov dword [ebp - 0x888], eax
mov byte [ebp - 4], al
cmp dword [ebp - 0x818], esi
jb 0x4a40c3
mov eax, dword [ebp - 0x82c]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor ebx, ebx
xor ecx, ecx
mov dword [ebp - 0x818], 7
mov dword [ebp - 0x81c], ebx
mov word [ebp - 0x82c], cx
mov byte [ebp - 4], bl
cmp dword [ebp - 0x834], esi
jb 0x4a40f9
mov edx, dword [ebp - 0x848]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov dword [ebp - 0x834], 7
mov dword [ebp - 0x838], ebx
mov word [ebp - 0x848], ax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00546bdc
mov esp, ebp
pop ebp
ret