Function at 0x434ad0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x4a2b4b
push eax
mov eax, 0x1004
mov dword fs:[0], esp
call fcn.004999f0
mov eax, dword [0x4b7080]
push ebx
push ebp
xor ebp, ebp
push esi
mov dword [esp + 0xc], ebp
push edi
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x1028]
mov dword [esp + 0x101c], ebp
cmp eax, ebp
je 0x434ba2
lea ecx, [esp + 0x14]
push ecx
push 0x800
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea edx, [esp + 0x14]
test edx, edx
jne 0x434b34
xor ebx, ebx
jmp 0x434b41
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, eax
mov edi, dword [esp + 0x10]
cmp dword [edi - 0xc], 1
jg 0x434b50
cmp ebx, dword [edi - 4]
jle 0x434b6f
lea ecx, [esp + 0x10]
call fcn.00406f50
push ebx
lea ecx, [esp + 0x14]
call fcn.00406c50
cmp eax, ebp
je 0x434c48
mov edi, dword [esp + 0x10]
lea eax, [ebx + ebx]
lea ecx, [ebx + ebx + 2]
cmp ecx, eax
jb 0x434b92
mov ecx, eax
lea esi, [esp + 0x14]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x10]
mov dword [edi - 8], ebx
mov ecx, dword [esp + 0x10]
mov word [eax + ecx], bp
jmp 0x434c48
call fcn.00434d00
mov esi, eax
mov eax, dword [esp + 0x10]
mov ebx, dword [esi]
cmp eax, ebx
je 0x434c4c
mov edx, dword [eax - 0xc]
lea ecx, [eax - 0xc]
cmp edx, ebp
mov edx, dword [0x4b7084]
jge 0x434bce
lea edi, [eax - 0xc]
cmp edi, edx
jne 0x434bd3
cmp dword [ebx - 0xc], ebp
jge 0x434c0c
mov esi, dword [ebx - 8]
lea ecx, [esp + 0x10]
push esi
call fcn.00410320
test eax, eax
je 0x434c48
mov eax, dword [esp + 0x10]
lea edi, [esi + esi]
push edi
lea edx, [esi + esi + 2]
push ebx
push edx
push eax
call fcn.00405800
mov ecx, dword [esp + 0x20]
add esp, 0x10
mov dword [ecx - 8], esi
mov edx, dword [esp + 0x10]
mov word [edi + edx], bp
jmp 0x434c48
add eax, 0xfffffff4
cmp eax, edx
je 0x434c38
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x434c2e
mov eax, dword [esp + 0x10]
add eax, 0xfffffff4
push eax
call fcn.00437568
add esp, 4
mov ecx, dword [0x4b7080]
mov dword [esp + 0x10], ecx
mov eax, dword [esi]
mov dword [esp + 0x10], eax
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov eax, dword [esp + 0x10]
mov edx, dword [eax - 0xc]
mov esi, dword [esp + 0x1024]
lea ecx, [eax - 0xc]
cmp edx, ebp
jl 0x434c68
push ecx
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x434cb1
mov edx, dword [0x4b7080]
mov ebp, eax
test eax, eax
mov dword [esi], edx
jne 0x434c7a
xor edi, edi
jmp 0x434c83
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
push edi
mov ecx, esi
call fcn.00410320
test eax, eax
je 0x434cb1
mov ecx, dword [esi]
lea ebx, [edi + edi]
push ebx
lea eax, [edi + edi + 2]
push ebp
push eax
push ecx
call fcn.00405800
mov edx, dword [esi]
add esp, 0x10
mov dword [edx - 8], edi
mov eax, dword [esi]
mov word [eax + ebx], 0
mov eax, dword [esp + 0x10]
mov edx, dword [0x4b7084]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x434ce0
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x434ce0
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.00437568
add esp, 4
mov ecx, dword [esp + 0x1014]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1010
ret 8