Function at 0x43cf20
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x4ac5db
push eax
mov eax, 0x1004
mov dword fs:[0], esp
call fcn.004a2ae0
mov eax, dword [0x4c2080]
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 0x43cff2
lea ecx, [esp + 0x14]
push ecx
push 0x800
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea edx, [esp + 0x14]
test edx, edx
jne 0x43cf84
xor ebx, ebx
jmp 0x43cf91
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 0x43cfa0
cmp ebx, dword [edi - 4]
jle 0x43cfbf
lea ecx, [esp + 0x10]
call fcn.00405a90
push ebx
lea ecx, [esp + 0x14]
call fcn.004056f0
cmp eax, ebp
je 0x43d098
mov edi, dword [esp + 0x10]
lea eax, [ebx + ebx]
lea ecx, [ebx + ebx + 2]
cmp ecx, eax
jb 0x43cfe2
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 0x43d098
call fcn.0043d150
mov esi, eax
mov eax, dword [esp + 0x10]
mov ebx, dword [esi]
cmp eax, ebx
je 0x43d09c
mov edx, dword [eax - 0xc]
lea ecx, [eax - 0xc]
cmp edx, ebp
mov edx, dword [0x4c2084]
jge 0x43d01e
lea edi, [eax - 0xc]
cmp edi, edx
jne 0x43d023
cmp dword [ebx - 0xc], ebp
jge 0x43d05c
mov esi, dword [ebx - 8]
lea ecx, [esp + 0x10]
push esi
call fcn.004059f0
test eax, eax
je 0x43d098
mov eax, dword [esp + 0x10]
lea edi, [esi + esi]
push edi
lea edx, [esi + esi + 2]
push ebx
push edx
push eax
call fcn.00404a40
mov ecx, dword [esp + 0x20]
add esp, 0x10
mov dword [ecx - 8], esi
mov edx, dword [esp + 0x10]
mov word [edi + edx], bp
jmp 0x43d098
add eax, 0xfffffff4
cmp eax, edx
je 0x43d088
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x43d07e
mov eax, dword [esp + 0x10]
add eax, 0xfffffff4
push eax
call fcn.00442ac0
add esp, 4
mov ecx, dword [0x4c2080]
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 0x43d0b8
push ecx
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x43d101
mov edx, dword [0x4c2080]
mov ebp, eax
test eax, eax
mov dword [esi], edx
jne 0x43d0ca
xor edi, edi
jmp 0x43d0d3
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
push edi
mov ecx, esi
call fcn.004059f0
test eax, eax
je 0x43d101
mov ecx, dword [esi]
lea ebx, [edi + edi]
push ebx
lea eax, [edi + edi + 2]
push ebp
push eax
push ecx
call fcn.00404a40
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 [0x4c2084]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x43d130
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x43d130
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.00442ac0
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