Function at 0x445670
Capabilities:
Get common file path

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5400f0
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x460
mov eax, dword [0x5a6008]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebx + 8]
push 0x5c
push eax
mov dword [ebp - 0x46c], eax
call fcn.0052401e
push 0x20
push dword [ebp - 0x46c]
lea esi, [eax + 1]
call fcn.0052401e
add esp, 0x10
cmp byte [esi], 0x5b
jne 0x4459e7
cmp byte [esi + 1], 0x20
jne 0x4459e7
cmp byte [eax + 1], 0x5d
jne 0x4459e7
cmp esi, eax
jae 0x4459e7
lea eax, [ebp - 0x330]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
cmp byte [edi + 0x779], 0
je 0x445732
lea eax, [edi + 0x77a]
push eax
lea eax, [ebp - 0x330]
push 0x104
push eax
call fcn.0051736e
add esp, 0xc
push dword [ebp - 0x46c]
lea eax, [ebp - 0x228]
push 0x104
push eax
call fcn.0051736e
add esp, 0xc
lea eax, [ebp - 0x228]
push 0x5c
push eax
call fcn.0052401e
mov esi, eax
lea eax, [ebp - 0x120]
lea ecx, [esi + 3]
push ecx
push 0x104
push eax
call fcn.0051736e
lea ecx, [ebp - 0x120]
add esp, 0x14
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x445780
sub ecx, edx
add ecx, 0xfffffffe
cmp ecx, 0x104
jae 0x445a0e
mov byte [ebp + ecx - 0x120], al
lea ecx, [ebp - 0x228]
mov dword [ebp - 0x450], 0
lea edx, [ecx + 1]
mov byte [esi + 1], al
mov dword [ebp - 0x440], 0
mov dword [ebp - 0x43c], 0xf
mov byte [ebp - 0x450], al
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4457d0
sub ecx, edx
lea eax, [ebp - 0x228]
push ecx
push eax
lea ecx, [ebp - 0x450]
call fcn.0041c3b0
lea eax, [ebp - 0x120]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x450]
call fcn.004469a0
lea ecx, [edi + 0x890]
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x468], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x468]
push eax
movq qword [ebp - 0x458], xmm0
call fcn.00446b00
mov edx, dword [ebp - 0x454]
cmp edx, 0x10
jb 0x445879
mov ecx, dword [ebp - 0x468]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x44586f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x445a09
push edx
push ecx
call fcn.0051137c
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x43c]
cmp edx, 0x10
jb 0x4458ba
mov ecx, dword [ebp - 0x450]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4458b0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x445a09
push edx
push ecx
call fcn.0051137c
add esp, 8
lea ecx, [ebp - 0x228]
mov dword [ebp - 0x440], 0
mov dword [ebp - 0x43c], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0x450], 0
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4458e0
sub ecx, edx
lea edx, [ebp - 0x120]
lea esi, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x4458f2
sub edx, esi
lea eax, [edx + 0xd]
add eax, ecx
cmp eax, 0x103
ja 0x4459e2
push str..zip
lea eax, [ebp - 0x120]
push eax
push str._UVNCDIR_
lea eax, [ebp - 0x330]
push eax
lea eax, [ebp - 0x438]
push str._s_s_s_s
push eax
call fcn.00446ea0
lea eax, [ebp - 0x120]
push eax
lea eax, [ebp - 0x228]
push 0x104
push eax
call fcn.005173c8
add esp, 0x24
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x120]
push 0x104
push eax
call fcn.0051736e
lea ecx, [ebp - 0x120]
add esp, 0xc
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x445973
sub ecx, edx
cmp ecx, 0x100
ja 0x4459e2
push str..
lea eax, [ebp - 0x120]
push 0x104
push eax
call fcn.005173c8
mov ecx, dword [edi + 0x5a4]
lea eax, [ebp - 0x438]
add esp, 8
push eax
lea eax, [ebp - 0x120]
push eax
lea eax, [ebp - 0x228]
push eax
call fcn.0047fd10
test al, al
je 0x4459e2
lea eax, [ebp - 0x438]
push eax
push 0x144
push dword [ebp - 0x46c]
call fcn.0051736e
add esp, 0xc
mov eax, 1
jmp 0x4459e9
or eax, 0xffffffff
jmp 0x4459e9
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00511339
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
call fcn.00515628
call fcn.00511729
int3