Function at 0x100032d0
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10042194
mov eax, dword fs:[0]
push eax
sub esp, 0x2a0
mov eax, dword [0x1005a690]
xor eax, ebp
mov dword [ebp - 0x18], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x290], esi
mov ebx, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x2a0], eax
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x98]
mov edi, dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
mov dword [ebp - 0x28c], ebx
mov dword [ebp - 0x2a4], ebx
mov ebx, dword [esi + 0x94]
mov dword [ebp - 0x288], eax
jmp 0x10003340
cmp ebx, eax
je 0x10003678
xor eax, eax
push 0xffffffffffffffff
push eax
push ebx
lea ecx, [ebp - 0x26c]
mov dword [ebp - 0x258], 7
mov dword [ebp - 0x25c], 0
mov word [ebp - 0x26c], ax
call fcn.1000a9a0
mov byte [ebp - 4], 1
call fcn.10029aa0
mov edi, dword [ebp - 0x290]
mov esi, dword [esi + 0x1c]
mov edi, dword [edi + 0x20]
lea esp, [esp]
cmp esi, edi
je 0x10003646
xor eax, eax
push 0xffffffffffffffff
push eax
push esi
lea ecx, [ebp - 0x254]
mov dword [ebp - 0x240], 7
mov dword [ebp - 0x244], 0
mov word [ebp - 0x254], ax
call fcn.1000a9a0
lea eax, [ebp - 0x254]
push eax
lea edx, [ebp - 0x26c]
lea ecx, [ebp - 0x23c]
mov byte [ebp - 4], 2
call fcn.1000bc80
add esp, 4
mov byte [ebp - 4], 3
cmp dword [ebp - 0x228], 8
lea eax, [ebp - 0x23c]
cmovae eax, dword [ebp - 0x23c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1000356f
cmp dword [ebp - 0x228], 8
lea eax, [ebp - 0x23c]
cmovae eax, dword [ebp - 0x23c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x1000356f
push 0x40
call dword [sym.imp.MSVCR110.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
mov dword [ebp - 0x29c], eax
mov byte [ebp - 4], 4
test eax, eax
je 0x1000345e
lea ecx, [ebp - 0x23c]
push ecx
mov ecx, eax
call fcn.10010b00
mov ecx, eax
mov dword [ebp - 0x284], eax
jmp 0x10003466
xor ecx, ecx
mov dword [ebp - 0x284], ecx
mov byte [ebp - 4], 3
mov dword [ebp - 0x280], ecx
test ecx, ecx
je 0x10003478
mov eax, dword [ecx]
call dword [eax]
mov eax, dword [ebp - 0x28c]
lea ecx, [ebp - 0x280]
mov edx, dword [eax + 4]
cmp ecx, edx
jae 0x100035ab
mov ecx, dword [eax]
lea eax, [ebp - 0x280]
cmp ecx, eax
mov eax, dword [ebp - 0x28c]
ja 0x100035ab
lea eax, [ebp - 0x280]
sub eax, ecx
mov dword [ebp - 0x298], eax
mov eax, dword [ebp - 0x28c]
sar dword [ebp - 0x298], 2
mov ecx, dword [eax + 8]
mov dword [ebp - 0x270], ecx
cmp edx, ecx
jne 0x10003543
sub ecx, edx
sar ecx, 2
cmp ecx, 1
jae 0x10003543
sub edx, dword [eax]
mov ecx, 0x3fffffff
sar edx, 2
sub ecx, edx
cmp ecx, 1
jae 0x100034f3
push str.vector_T__too_long
call dword [sym.imp.MSVCP110.dll_void___cdecl_std::_Xlength_error_char_const__]
inc edx
mov dword [ebp - 0x29c], edx
mov edx, dword [ebp - 0x270]
sub edx, dword [eax]
sar edx, 2
mov ecx, edx
shr ecx, 1
mov dword [ebp - 0x270], ecx
mov ecx, 0x3fffffff
sub ecx, dword [ebp - 0x270]
cmp ecx, edx
jae 0x10003522
xor edx, edx
jmp 0x10003528
add edx, dword [ebp - 0x270]
cmp edx, dword [ebp - 0x29c]
mov ecx, eax
cmovb edx, dword [ebp - 0x29c]
push edx
call fcn.1000b500
mov eax, dword [ebp - 0x28c]
mov edx, dword [ebp - 0x298]
mov ecx, dword [eax]
lea ecx, [ecx + edx*4]
mov edx, dword [eax + 4]
test edx, edx
je 0x10003559
mov ecx, dword [ecx]
mov dword [edx], ecx
mov ecx, dword [ebp - 0x284]
add dword [eax + 4], 4
push ecx
mov ecx, dword [ebp - 0x290]
call fcn.10007320
cmp dword [ebp - 0x228], 8
jb 0x10003587
push dword [ebp - 0x23c]
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov byte [ebp - 4], 1
cmp dword [ebp - 0x240], 8
jb 0x100035a3
push dword [ebp - 0x254]
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
add esp, 4
add esi, 0x18
jmp 0x10003390
mov ecx, dword [eax + 8]
mov dword [ebp - 0x29c], ecx
cmp edx, ecx
jne 0x1000362e
sub ecx, edx
sar ecx, 2
cmp ecx, 1
jae 0x1000362e
sub edx, dword [eax]
mov ecx, 0x3fffffff
sar edx, 2
sub ecx, edx
cmp ecx, 1
jae 0x100035de
push str.vector_T__too_long
call dword [sym.imp.MSVCP110.dll_void___cdecl_std::_Xlength_error_char_const__]
inc edx
mov dword [ebp - 0x298], edx
mov edx, dword [ebp - 0x29c]
sub edx, dword [eax]
sar edx, 2
mov ecx, edx
shr ecx, 1
mov dword [ebp - 0x270], ecx
mov ecx, 0x3fffffff
sub ecx, dword [ebp - 0x270]
cmp ecx, edx
jae 0x1000360d
xor edx, edx
jmp 0x10003613
add edx, dword [ebp - 0x270]
cmp edx, dword [ebp - 0x298]
mov ecx, eax
cmovb edx, dword [ebp - 0x298]
push edx
call fcn.1000b500
mov eax, dword [ebp - 0x28c]
mov edx, dword [eax + 4]
test edx, edx
je 0x10003559
mov ecx, dword [ebp - 0x284]
mov dword [edx], ecx
jmp 0x1000355f
mov byte [ebp - 4], 0
cmp dword [ebp - 0x258], 8
mov edi, dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
jb 0x10003664
push dword [ebp - 0x26c]
call edi
add esp, 4
mov eax, dword [ebp - 0x288]
mov esi, dword [ebp - 0x290]
add ebx, 0x18
jmp 0x10003340
mov eax, dword [0x10048514]
movq xmm0, qword [str._SystemDrive_]
mov dword [ebp - 0x20c], eax
mov ax, word [0x10048518]
movq qword [ebp - 0x224], xmm0
movq xmm0, qword [0x10048504]
push 0x1ea
mov word [ebp - 0x208], ax
movq qword [ebp - 0x21c], xmm0
movq xmm0, qword [0x1004850c]
lea eax, [ebp - 0x206]
push 0
push eax
movq qword [ebp - 0x214], xmm0
call sub.MSVCR110.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x224]
call fcn.10013f90
push str.ProgramDataSoftware
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x100037cf
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100037cf
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x100037cf
push 0x40
call dword [sym.imp.MSVCR110.dll_void____cdecl_operator_new_unsigned_int_]
mov esi, eax
add esp, 4
mov dword [ebp - 0x288], esi
mov byte [ebp - 4], 5
test esi, esi
je 0x1000376f
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x26c]
call fcn.10009fd0
lea eax, [ebp - 0x26c]
mov byte [ebp - 4], 6
or dword [ebp - 0x2a0], 1
push eax
mov ecx, esi
call fcn.10010b00
mov esi, eax
jmp 0x10003771
xor esi, esi
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x2a0]
mov dword [ebp - 0x270], esi
test al, 1
je 0x1000379c
cmp dword [ebp - 0x258], 8
jb 0x1000379c
push dword [ebp - 0x26c]
call edi
add esp, 4
test esi, esi
je 0x100037a6
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov ebx, dword [ebp - 0x28c]
lea eax, [ebp - 0x270]
push eax
mov ecx, ebx
call fcn.1000a500
mov esi, dword [ebp - 0x290]
push dword [ebp - 0x270]
mov ecx, esi
call fcn.10007320
jmp 0x100037d5
mov ebx, dword [ebp - 0x28c]
push 0x208
lea eax, [ebp - 0x224]
push 0
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [ebp - 0x224]
push 0
push 0x24
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x10003d46
mov eax, dword [ebp - 0x290]
mov esi, dword [esi + 0x28]
mov edi, dword [eax + 0x2c]
cmp esi, edi
je 0x10003d46
xor eax, eax
push 0xffffffffffffffff
push eax
push esi
lea ecx, [ebp - 0x254]
mov dword [ebp - 0x240], 7
mov dword [ebp - 0x244], 0
mov word [ebp - 0x254], ax
call fcn.1000a9a0
mov byte [ebp - 4], 8
call fcn.10029aa0
xor eax, eax
mov dword [ebp - 0x228], 7
mov dword [ebp - 0x22c], 0
mov word [ebp - 0x23c], ax
cmp word [ebp - 0x224], ax
jne 0x10003879
xor ecx, ecx
jmp 0x10003891
lea ecx, [ebp - 0x224]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10003882
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x23c]
call fcn.1000aac0
push 7
push str.Tasks_
lea ecx, [ebp - 0x23c]
mov byte [ebp - 4], 9
call fcn.1000a7c0
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x254]
push eax
lea ecx, [ebp - 0x23c]
call fcn.1000a6c0
push 4
push str..job
lea ecx, [ebp - 0x23c]
call fcn.1000a7c0
cmp dword [ebp - 0x228], 8
lea eax, [ebp - 0x23c]
cmovae eax, dword [ebp - 0x23c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100039ca
cmp dword [ebp - 0x228], 8
lea eax, [ebp - 0x23c]
cmovae eax, dword [ebp - 0x23c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x100039ca
push 0x40
call dword [sym.imp.MSVCR110.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
mov dword [ebp - 0x288], eax
mov byte [ebp - 4], 0xa
test eax, eax
je 0x10003959
lea ecx, [ebp - 0x23c]
push ecx
mov ecx, eax
call fcn.10010b00
mov ecx, eax
mov dword [ebp - 0x284], eax
jmp 0x10003961
xor ecx, ecx
mov dword [ebp - 0x284], ecx
mov byte [ebp - 4], 9
mov dword [ebp - 0x278], ecx
test ecx, ecx
je 0x10003973
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebx + 4]
lea eax, [ebp - 0x278]
cmp eax, ecx
jae 0x100039d8
mov edx, dword [ebx]
cmp edx, eax
ja 0x100039d8
sub eax, edx
sar eax, 2
mov dword [ebp - 0x288], eax
cmp ecx, dword [ebx + 8]
jne 0x1000399e
push ecx
mov ecx, ebx
call fcn.1000ae60
mov ecx, dword [ebp - 0x288]
mov eax, dword [ebx]
lea eax, [eax + ecx*4]
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x100039b4
mov eax, dword [eax]
mov dword [ecx], eax
mov eax, dword [ebp - 0x284]
mov ecx, dword [ebp - 0x290]
add dword [ebx + 4], 4
push eax
call fcn.10007320
cmp word [ebp - 0x224], 0
jne 0x100039f6
xor ecx, ecx
jmp 0x10003a0f
cmp ecx, dword [ebx + 8]
jne 0x100039e5
push ecx
mov ecx, ebx
call fcn.1000ae60
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x100039b4
mov eax, dword [ebp - 0x284]
mov dword [ecx], eax
jmp 0x100039ba
lea ecx, [ebp - 0x224]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10003a00
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x23c]
call fcn.1000aac0
push 0x10
push str.System32Tasks_
lea ecx, [ebp - 0x23c]
call fcn.1000a7c0
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x254]
push eax
lea ecx, [ebp - 0x23c]
call fcn.1000a6c0
cmp dword [ebp - 0x228], 8
lea eax, [ebp - 0x23c]
cmovae eax, dword [ebp - 0x23c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10003b32
cmp dword [ebp - 0x228], 8
lea eax, [ebp - 0x23c]
cmovae eax, dword [ebp - 0x23c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x10003b32
push 0x40
call dword [sym.imp.MSVCR110.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
mov dword [ebp - 0x288], eax
mov byte [ebp - 4], 0xb
test eax, eax
je 0x10003ac1
lea ecx, [ebp - 0x23c]
push ecx
mov ecx, eax
call fcn.10010b00
mov ecx, eax
mov dword [ebp - 0x284], eax
jmp 0x10003ac9
xor ecx, ecx
mov dword [ebp - 0x284], ecx
mov byte [ebp - 4], 9
mov dword [ebp - 0x27c], ecx
test ecx, ecx
je 0x10003adb
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebx + 4]
lea eax, [ebp - 0x27c]
cmp eax, ecx
jae 0x10003b40
mov edx, dword [ebx]
cmp edx, eax
ja 0x10003b40
sub eax, edx
sar eax, 2
mov dword [ebp - 0x288], eax
cmp ecx, dword [ebx + 8]
jne 0x10003b06
push ecx
mov ecx, ebx
call fcn.1000ae60
mov ecx, dword [ebp - 0x288]
mov eax, dword [ebx]
lea eax, [eax + ecx*4]
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x10003b1c
mov eax, dword [eax]
mov dword [ecx], eax
mov eax, dword [ebp - 0x284]
mov ecx, dword [ebp - 0x290]
add dword [ebx + 4], 4
push eax
call fcn.10007320
cmp word [ebp - 0x224], 0
jne 0x10003b5e
xor ecx, ecx
jmp 0x10003b76
cmp ecx, dword [ebx + 8]
jne 0x10003b4d
push ecx
mov ecx, ebx
call fcn.1000ae60
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x10003b1c
mov eax, dword [ebp - 0x284]
mov dword [ecx], eax
jmp 0x10003b22
lea ecx, [ebp - 0x224]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10003b67
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x23c]
call fcn.1000aac0
push 0x10
push str.SysWOW64Tasks_
lea ecx, [ebp - 0x23c]
call fcn.1000a7c0
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x254]
push eax
lea ecx, [ebp - 0x23c]
call fcn.1000a6c0
cmp dword [ebp - 0x228], 8
lea eax, [ebp - 0x23c]
cmovae eax, dword [ebp - 0x23c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10003ca1
cmp dword [ebp - 0x228], 8
lea eax, [ebp - 0x23c]
cmovae eax, dword [ebp - 0x23c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x10003ca1
push 0x40
call dword [sym.imp.MSVCR110.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
mov dword [ebp - 0x288], eax
mov byte [ebp - 4], 0xc
test eax, eax
je 0x10003c28
lea ecx, [ebp - 0x23c]
push ecx
mov ecx, eax
call fcn.10010b00
mov ecx, eax
mov dword [ebp - 0x284], eax
jmp 0x10003c30
xor ecx, ecx
mov dword [ebp - 0x284], ecx
mov byte [ebp - 4], 9
mov dword [ebp - 0x274], ecx
test ecx, ecx
je 0x10003c42
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebx + 4]
lea eax, [ebp - 0x274]
cmp eax, ecx
jae 0x10003cdd
mov edx, dword [ebx]
cmp edx, eax
ja 0x10003cdd
sub eax, edx
sar eax, 2
mov dword [ebp - 0x288], eax
cmp ecx, dword [ebx + 8]
jne 0x10003c75
push ecx
mov ecx, ebx
call fcn.1000ae60
mov ecx, dword [ebp - 0x288]
mov eax, dword [ebx]
lea eax, [eax + ecx*4]
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x10003c8b
mov eax, dword [eax]
mov dword [ecx], eax
mov eax, dword [ebp - 0x284]
mov ecx, dword [ebp - 0x290]
add dword [ebx + 4], 4
push eax
call fcn.10007320
cmp dword [ebp - 0x228], 8
jb 0x10003cb9
push dword [ebp - 0x23c]
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov byte [ebp - 4], 0
cmp dword [ebp - 0x240], 8
jb 0x10003cd5
push dword [ebp - 0x254]
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
add esp, 4
add esi, 0x18
jmp 0x10003812
cmp ecx, dword [ebx + 8]
jne 0x10003cea
push ecx
mov ecx, ebx
call fcn.1000ae60
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x10003c8b
mov eax, dword [ebp - 0x284]
mov dword [ecx], eax
jmp 0x10003c91
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.1003e328
mov esp, ebp
pop ebp
ret 4