Function at 0x10019200
Capabilities:
Check if file exists
Contain obfuscated stackstrings
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1013429d
mov eax, dword fs:[0]
push eax
sub esp, 0x864
mov eax, dword [0x10182440]
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 ebx, dword [ebp + 8]
mov dword [ebp - 0x850], ebx
call fcn.100095a0
mov ecx, eax
test ecx, ecx
je 0x100198a2
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x854], eax
push 0x101418d8
lea ecx, [ebp - 0x854]
mov dword [ebp - 4], 0
call fcn.1000a940
test al, al
jne 0x10019281
push 0
push 0x101418d8
lea ecx, [ebp - 0x854]
call fcn.10009e20
mov esi, dword [ebp + 0xc]
mov dword [ebp - 4], 1
test esi, esi
jns 0x100192c4
mov esi, dword [ebp - 0x854]
add esi, 0xfffffff0
push esi
call fcn.1000e010
add eax, 0x10
add esp, 4
mov dword [ebx], eax
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x10019884
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
jmp 0x10019884
call fcn.100095a0
mov ecx, eax
test ecx, ecx
je 0x100198ac
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x858], eax
push 0x101418d8
lea ecx, [ebp - 0x858]
mov byte [ebp - 4], 2
call fcn.1000a940
test al, al
jne 0x1001930b
push 0
push 0x101418d8
lea ecx, [ebp - 0x858]
call fcn.10009e20
push 0x208
lea eax, [ebp - 0x234]
mov byte [ebp - 4], 3
push 0
push eax
call fcn.10106340
add esp, 0xc
lea eax, [ebp - 0x234]
push 0x104
push eax
push 0x10000000
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x234]
push eax
call edi
test esi, esi
jle 0x1001935e
nop
lea eax, [ebp - 0x234]
push eax
call edi
sub esi, 1
jne 0x10019350
mov eax, dword [0x1018946c]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov esi, dword [eax]
cmp esi, eax
je 0x10019552
push 0x208
lea eax, [ebp - 0x644]
push 0
push eax
call fcn.10106340
add esp, 0xc
lea eax, [ebp - 0x234]
push dword [esi + 0x14]
push eax
lea eax, [ebp - 0x644]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x644]
push eax
call edi
test eax, eax
jne 0x10019526
cmp dword [esi + 0x10], 7
jne 0x100194bc
push 0x208
push eax
lea eax, [ebp - 0x84c]
push eax
call fcn.10106340
add esp, 0xc
lea eax, [ebp - 0x84c]
push 0
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
xor eax, eax
mov dword [ebp - 0x2c], 0x61004d
mov word [ebp - 0x870], ax
lea ecx, [ebp - 0x870]
push 0xd
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x28], 0x740073
push eax
mov dword [ebp - 0x24], 0x720065
mov dword [ebp - 0x20], 0x440050
mov dword [ebp - 0x1c], 0x440046
mov dword [ebp - 0x18], 0x740061
mov dword [ebp - 0x14], 0x61
mov dword [ebp - 0x860], 0
mov dword [ebp - 0x85c], 7
call fcn.1000a620
cmp dword [ebp - 0x85c], 8
lea eax, [ebp - 0x870]
cmovae eax, dword [ebp - 0x870]
push eax
lea eax, [ebp - 0x84c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov edx, dword [ebp - 0x85c]
cmp edx, 8
jb 0x100194a4
mov ecx, dword [ebp - 0x870]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1001949a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100198b6
push edx
push ecx
call fcn.100c3f2a
add esp, 8
lea eax, [ebp - 0x84c]
push eax
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
jne 0x1001950a
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x100194e4
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x100194e0
nop
cmp esi, dword [eax + 8]
jne 0x100194e0
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x100194d0
mov esi, eax
jmp 0x100194fc
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x100194fc
nop
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x100194f0
cmp esi, dword [0x1018946c]
jne 0x10019373
jmp 0x10019552
lea ecx, [ebp - 0x234]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10019513
lea eax, [ebp - 0x234]
jmp 0x10019541
lea ecx, [ebp - 0x644]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10019530
lea eax, [ebp - 0x644]
sub ecx, edx
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x858]
call fcn.10009e20
mov edi, dword [ebp - 0x858]
push edi
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x100195ce
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100195ce
lea eax, [ebp - 0x854]
push eax
lea eax, [ebp - 0x858]
push eax
call fcn.10012ac0
mov edi, dword [ebp - 0x854]
add edi, 0xfffffff0
push edi
call fcn.1000e010
mov edx, dword [ebp - 0x858]
add eax, 0x10
or esi, 0xffffffff
mov dword [ebx], eax
add esp, 0xc
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100195b8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lock xadd dword [edi + 0xc], esi
dec esi
test esi, esi
jg 0x10019884
mov ecx, dword [edi]
push edi
jmp 0x1001987f
push dword [ebp + 0xc]
call fcn.1001a230
mov esi, eax
add esp, 4
mov eax, dword [0x1018946c]
mov ecx, eax
mov edx, dword [eax + 4]
cmp byte [edx + 0xd], 0
jne 0x1001960d
nop dword [eax + eax]
cmp dword [edx + 0x10], esi
jge 0x100195fa
mov edx, dword [edx + 8]
jmp 0x100195fe
mov ecx, edx
mov edx, dword [edx]
cmp byte [edx + 0xd], 0
je 0x100195f0
cmp ecx, eax
je 0x1001960d
cmp esi, dword [ecx + 0x10]
jge 0x1001960f
mov ecx, eax
cmp eax, ecx
je 0x10019628
add ecx, 0x14
push ecx
lea ecx, [ebp - 0x858]
call fcn.1000d5d0
mov edi, dword [ebp - 0x858]
cmp esi, 7
jne 0x10019835
mov ecx, dword [0x10189464]
mov esi, ecx
mov eax, dword [ecx + 4]
cmp byte [eax + 0xd], 0
jne 0x10019661
cmp dword [eax + 0x10], 7
jge 0x1001964d
mov eax, dword [eax + 8]
jmp 0x10019651
mov esi, eax
mov eax, dword [eax]
cmp byte [eax + 0xd], 0
je 0x10019642
cmp esi, ecx
je 0x10019661
cmp dword [esi + 0x10], 7
jle 0x10019663
mov esi, ecx
cmp ecx, esi
je 0x10019835
xorps xmm0, xmm0
mov dword [ebp - 0x85c], 0
movq qword [ebp - 0x864], xmm0
mov dword [ebp - 0x864], 0
mov dword [ebp - 0x860], 0
mov dword [ebp - 0x85c], 0
push 0x20219
push dword [esi + 0x14]
lea ecx, [ebp - 0x864]
mov byte [ebp - 4], 4
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.1001a4a0
test eax, eax
je 0x100196f5
mov eax, dword [ebp - 0x854]
add eax, 0xfffffff0
push eax
mov dword [ebp - 0x850], eax
call fcn.1000e010
add eax, 0x10
add esp, 4
mov dword [ebx], eax
mov eax, dword [ebp - 0x864]
test eax, eax
je 0x10019852
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x10019852
push 0x208
lea eax, [ebp - 0x43c]
push 0
push eax
call fcn.10106340
add esp, 0xc
mov dword [ebp - 0x850], 0x104
lea eax, [ebp - 0x850]
lea ecx, [ebp - 0x864]
push eax
lea eax, [ebp - 0x43c]
push eax
push dword [esi + 0x14]
call fcn.1001a590
test eax, eax
jne 0x100196be
lea eax, [ebp - 0x43c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10019820
call fcn.100095a0
mov ecx, eax
test ecx, ecx
je 0x100198bb
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x850], eax
lea eax, [ebp - 0x43c]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x850]
call fcn.1000a940
test al, al
jne 0x100197b2
lea ecx, [ebp - 0x43c]
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10019790
sub ecx, edx
lea eax, [ebp - 0x43c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x850]
call fcn.10009e20
lea eax, [ebp - 0x854]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x850]
push eax
call fcn.10012ac0
mov edx, dword [ebp - 0x850]
or esi, 0xffffffff
add esp, 8
mov byte [ebp - 4], 4
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100197f0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x854]
add eax, 0xfffffff0
push eax
mov dword [ebp - 0x850], eax
call fcn.1000e010
add eax, 0x10
add esp, 4
mov dword [ebx], eax
mov eax, dword [ebp - 0x864]
test eax, eax
je 0x10019855
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x10019855
mov eax, dword [ebp - 0x864]
mov byte [ebp - 4], 3
test eax, eax
je 0x10019835
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x854]
add eax, 0xfffffff0
push eax
mov dword [ebp - 0x850], eax
call fcn.1000e010
add eax, 0x10
add esp, 4
mov dword [ebx], eax
or esi, 0xffffffff
add edi, 0xfffffff0
mov eax, esi
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x1001986c
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x850]
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x10019884
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, ebx
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.100c427e
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.100094b0
push 0x80004005
call fcn.100094b0
call fcn.10109bb0
push 0x80004005
call fcn.100094b0
int3