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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009e5ef
mov eax, dword fs:[0]
push eax
sub esp, 0x668
mov eax, dword [0x100cd008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x654], edi
mov eax, dword [ebp + 0xc]
lea ebx, [edi + 0x84]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x674], edi
mov dword [ebp - 0x670], eax
xor eax, eax
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 7
mov word [ebx], ax
mov dword [ebp - 4], eax
push 0x60
push eax
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], eax
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], eax
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
push eax
mov byte [edi + 0x9c], 1
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x66c]
push esi
call fcn.10004e90
mov byte [ebp - 4], 1
cmp dword [ebp - 0x65c], 0
jne 0x10024bfd
mov eax, dword [0x100ce200]
mov dword [ebp - 0x654], 0
mov dword [ebp - 0x654], 0x100ce200
test eax, eax
je 0x10024ad5
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 4], 2
mov ecx, dword [0x100cd058]
test ecx, ecx
je 0x10024afb
cmp dword [0x100cd05c], 8
mov eax, 0x100cd048
cmovae eax, dword [0x100cd048]
jmp 0x10024bc5
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 0x10024bd2
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 0x10024ba3
test eax, eax
je 0x10024ba3
add eax, eax
cmp eax, 0x412
jae 0x10024d02
xor ecx, ecx
mov word [ebp + eax - 0x650], cx
lea ecx, [ebp - 0x650]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10024b90
lea eax, [ebp - 0x650]
jmp 0x10024bc1
lea ecx, [ebp - 0x23c]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10024bb0
lea eax, [ebp - 0x23c]
sub ecx, edx
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x66c]
call fcn.10002bf0
mov byte [ebp - 4], 1
mov eax, dword [0x100ce200]
test eax, eax
je 0x10024be6
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [ebp - 0x65c], 0
mov dword [ebp - 0x654], 0
je 0x10024cc5
mov eax, dword [ebp - 0x670]
cmp dword [eax + 0x10], 0
je 0x10024cc5
push eax
lea edx, [ebp - 0x66c]
lea ecx, [ebp - 0x28]
call fcn.10064890
add esp, 4
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x66c]
push eax
call fcn.1000c210
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.10002b90
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 0x10024c80
sub ecx, edx
lea eax, [ebp - 0x30]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x66c]
call fcn.10009010
lea eax, [ebp - 0x66c]
cmp ebx, eax
je 0x10024cc5
cmp dword [ebp - 0x658], 8
mov ecx, ebx
push dword [ebp - 0x65c]
cmovae eax, dword [ebp - 0x66c]
push eax
call fcn.10002bf0
mov ecx, edi
call fcn.10024dd0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x66c]
call fcn.10002b90
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10097213
mov esp, ebp
pop ebp
ret 0xc
call fcn.10097b9e
int3