Function at 0x45b030
Capabilities:
Contain obfuscated stackstrings
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f5aaa
mov eax, dword fs:[0]
push eax
sub esp, 0x668
mov eax, dword [0x537008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x66c], edi
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov esi, dword [ebp + 8]
mov dword [ebp - 0x674], edi
mov dword [edi + 0x94], 0
mov dword [edi + 0x98], 7
mov dword [ebp - 0x670], eax
mov word [edi + 0x84], cx
mov dword [ebp - 4], ecx
lea eax, [edi + 0x24]
push 0x60
push ecx
push eax
mov byte [edi + 0x9c], 1
mov dword [edi], ecx
mov dword [edi + 4], ecx
mov dword [edi + 8], ecx
mov dword [edi + 0xc], ecx
mov dword [edi + 0x10], ecx
mov dword [edi + 0x14], ecx
mov dword [edi + 0x18], ecx
mov dword [edi + 0x1c], ecx
mov dword [edi + 0x20], ecx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x668]
push esi
call fcn.0040ac00
mov byte [ebp - 4], 1
cmp dword [ebp - 0x658], 0
mov esi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jne 0x45b21f
mov eax, dword [0x538d40]
mov dword [ebp - 0x66c], 0
mov dword [ebp - 0x66c], 0x538d40
test eax, eax
je 0x45b10e
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 4], 2
mov ecx, dword [0x5372e8]
test ecx, ecx
je 0x45b134
cmp dword [0x5372ec], 8
mov eax, 0x5372d8
cmovae eax, dword [0x5372d8]
jmp 0x45b1f8
push 0x20c
lea eax, [ebp - 0x23c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x23c]
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
dec eax
cmp eax, 0x103
ja 0x45b205
xor eax, eax
push 0x412
push eax
mov word [ebp - 0x32], ax
lea eax, [ebp - 0x650]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x650]
push 0x208
push eax
lea eax, [ebp - 0x23c]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
cmp eax, 0x208
ja 0x45b1da
test eax, eax
je 0x45b1da
add eax, eax
cmp eax, 0x412
jae 0x45b4d5
xor ecx, ecx
mov word [ebp + eax - 0x650], cx
lea ecx, [ebp - 0x650]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45b1c7
lea eax, [ebp - 0x650]
jmp 0x45b1f4
lea ecx, [ebp - 0x23c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45b1e3
lea eax, [ebp - 0x23c]
sub ecx, edx
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x668]
call fcn.0040a390
mov byte [ebp - 4], 1
mov eax, dword [0x538d40]
test eax, eax
je 0x45b215
push eax
call esi
mov dword [ebp - 0x66c], 0
cmp byte [ebp + 0x10], 0
je 0x45b38f
lea ecx, [ebp - 0x668]
call fcn.004a5000
test al, al
jne 0x45b38f
lea ecx, [ebp - 0x668]
call fcn.004a58f0
lea ecx, [ebp - 0x668]
call fcn.004a5000
test al, al
jne 0x45b38f
mov eax, dword [0x538d40]
mov dword [ebp - 0x66c], 0
mov dword [ebp - 0x66c], 0x538d40
test eax, eax
je 0x45b27e
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 4], 3
mov ecx, dword [0x5372e8]
test ecx, ecx
je 0x45b2a4
cmp dword [0x5372ec], 8
mov eax, 0x5372d8
cmovae eax, dword [0x5372d8]
jmp 0x45b368
push 0x20c
lea eax, [ebp - 0x23c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x23c]
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
dec eax
cmp eax, 0x103
ja 0x45b375
xor eax, eax
push 0x412
push eax
mov word [ebp - 0x32], ax
lea eax, [ebp - 0x650]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x650]
push 0x208
push eax
lea eax, [ebp - 0x23c]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
cmp eax, 0x208
ja 0x45b34a
test eax, eax
je 0x45b34a
add eax, eax
cmp eax, 0x412
jae 0x45b4d5
xor ecx, ecx
mov word [ebp + eax - 0x650], cx
lea ecx, [ebp - 0x650]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45b337
lea eax, [ebp - 0x650]
jmp 0x45b364
lea ecx, [ebp - 0x23c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45b353
lea eax, [ebp - 0x23c]
sub ecx, edx
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x668]
call fcn.0040a390
mov byte [ebp - 4], 1
mov eax, dword [0x538d40]
test eax, eax
je 0x45b385
push eax
call esi
mov dword [ebp - 0x66c], 0
cmp dword [ebp - 0x658], 0
je 0x45b499
mov eax, dword [ebp - 0x670]
cmp dword [eax + 0x10], 0
je 0x45b499
push eax
lea edx, [ebp - 0x668]
lea ecx, [ebp - 0x28]
call fcn.004a8f70
add esp, 4
mov esi, eax
mov byte [ebp - 4], 4
lea eax, [ebp - 0x668]
cmp eax, esi
je 0x45b3ff
mov ecx, eax
call fcn.0040a320
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x668], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x658], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.0040a320
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x30], 0x43002e
mov dword [ebp - 0x2c], 0x650068
lea edx, [ecx + 2]
mov dword [ebp - 0x28], 0x6b0063
mov dword [ebp - 0x24], 0x740053
mov dword [ebp - 0x20], 0x740061
mov dword [ebp - 0x1c], 0x64002e
mov dword [ebp - 0x18], 0x740061
mov dword [ebp - 0x14], 0x61
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45b450
sub ecx, edx
lea eax, [ebp - 0x30]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x668]
call fcn.0040d400
lea eax, [ebp - 0x668]
lea ecx, [edi + 0x84]
cmp ecx, eax
je 0x45b499
cmp dword [ebp - 0x654], 8
push dword [ebp - 0x658]
cmovae eax, dword [ebp - 0x668]
push eax
call fcn.0040a390
mov ecx, edi
call fcn.0045b620
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x668]
call fcn.0040a320
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e647b
mov esp, ebp
pop ebp
ret 0xc
call fcn.004e6c1a
int3