Function at 0x4390a0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ce91b
mov eax, dword fs:[0]
push eax
sub esp, 0x460
mov eax, dword [0x4f5568]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x468], edi
mov ebx, dword [ebp + 8]
push 0x5c
push ebx
call fcn.004afa66
push 0x20
push ebx
lea esi, [eax + 1]
call fcn.004afa66
add esp, 0x10
cmp byte [esi], 0x5b
jne 0x43933b
cmp byte [esi + 1], 0x20
jne 0x43933b
cmp byte [eax + 1], 0x5d
jne 0x43933b
cmp esi, eax
jae 0x43933b
lea eax, [ebp - 0x434]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea edx, [ebp - 0x224]
mov ecx, ebx
sub edx, ebx
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x439130
lea eax, [ebp - 0x224]
push 0x5c
push eax
call fcn.004afa66
mov esi, eax
lea edx, [ebp - 0x11c]
add esp, 8
lea ecx, [esi + 3]
sub edx, ecx
jmp 0x439160
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x439160
lea ecx, [ebp - 0x11c]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x439176
sub ecx, edx
add ecx, 0xfffffffe
cmp ecx, 0x104
jae 0x439336
mov byte [ebp + ecx - 0x11c], al
lea ecx, [ebp - 0x464]
mov byte [esi + 1], al
lea eax, [ebp - 0x224]
push eax
call fcn.00413ef0
lea ecx, [ebp - 0x11c]
mov dword [ebp - 4], 0
push ecx
mov edx, eax
lea ecx, [ebp - 0x44c]
call fcn.0043a460
add esp, 4
lea ecx, [edi + 0x54c]
push eax
call fcn.00439d80
lea ecx, [ebp - 0x44c]
call fcn.00413f50
lea ecx, [ebp - 0x464]
mov dword [ebp - 4], 0xffffffff
call fcn.00413f50
lea edx, [ebp - 0x224]
lea ecx, [edx + 1]
lea ebx, [ebx]
mov al, byte [edx]
inc edx
test al, al
jne 0x439200
sub edx, ecx
lea ecx, [ebp - 0x11c]
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x439212
sub ecx, esi
lea eax, [ecx + 0xd]
add eax, edx
cmp eax, 0x103
jbe 0x43922f
or eax, 0xffffffff
jmp 0x43933d
push str..zip
lea eax, [ebp - 0x11c]
push eax
push str._UVNCDIR_
lea eax, [ebp - 0x434]
push eax
lea eax, [ebp - 0x32c]
push str._s_s_s_s
push eax
call fcn.004ad5d8
lea edx, [ebp - 0x11c]
add esp, 0x18
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x439263
lea edi, [ebp - 0x224]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x439273
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor ecx, ecx
jmp 0x439290
mov al, byte [ebp + ecx - 0x224]
lea ecx, [ecx + 1]
mov byte [ebp + ecx - 0x11d], al
test al, al
jne 0x439290
lea ecx, [ebp - 0x11c]
lea edx, [ecx + 1]
mov edi, edi
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4392b0
sub ecx, edx
cmp ecx, 0x100
ja 0x439227
lea edx, [ebp - 0x11c]
dec edx
lea esp, [esp]
mov al, byte [edx + 1]
lea edx, [edx + 1]
test al, al
jne 0x4392d0
mov eax, dword [str..]
mov dword [edx], eax
mov al, byte [0x4e4124]
push ecx
mov ecx, dword [ebp - 0x468]
mov byte [edx + 4], al
lea eax, [ebp - 0x32c]
push eax
lea eax, [ebp - 0x11c]
mov ecx, dword [ecx + 0x220]
push eax
lea eax, [ebp - 0x224]
push eax
call fcn.00475710
test al, al
je 0x439227
lea ecx, [ebp - 0x32c]
mov eax, ecx
sub ebx, eax
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [ebx + ecx - 1], al
test al, al
jne 0x439322
mov eax, 1
jmp 0x43933d
call fcn.004ad865
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004aca59
mov esp, ebp
pop ebp
ret 4