Function at 0x100236b0
Capabilities:
Check if file exists
Get common file path
Get file size
Get startup folder
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10075803
mov eax, dword fs:[0]
push eax
sub esp, 0x354
mov eax, dword [0x1009e034]
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 dword [ebp - 0x348], ecx
push 0x20
call dword [sym.imp.MSVCR110.dll_void____cdecl_operator_new_unsigned_int_]
mov esi, eax
add esp, 4
mov dword [ebp - 0x340], esi
test esi, esi
je 0x10023755
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 4], 0
lea ecx, [esi + 4]
mov dword [esi], vtable.iGarbage::ITraceItemSet.0
mov dword [esi + 8], 0x7e7
push 1
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
push ecx
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
jmp 0x1002375f
mov dword [ebp - 0x340], 0
push 0
push str.SoftwareDownloadManager
push 0x80000001
lea ecx, [ebp - 0x128]
mov dword [ebp - 0x128], 0
call fcn.1005c350
push 0x20019
lea eax, [ebp - 0x128]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0
call fcn.1005c8c0
cmp dword [ebp - 0x7c], 0
mov ebx, dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
je 0x10023c7b
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
push str.Passwords
lea eax, [ebp - 0xcc]
push eax
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], 2
call fcn.1005c530
push eax
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 3
call fcn.1004e0c0
lea ecx, [ebp - 0xcc]
call fcn.10007a50
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
lea eax, [ebp - 0x128]
push eax
lea ecx, [ebp - 0x338]
mov dword [ebp - 0x338], 0
call fcn.1005cd10
mov byte [ebp - 4], 5
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov eax, dword [ebp - 0x334]
mov ecx, dword [ebp - 0x338]
test ecx, ecx
je 0x10023a1e
test eax, eax
js 0x10023a13
push 1
push str._0_9__
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
call fcn.10024960
mov byte [ebp - 4], 6
cmp word [ebp - 0x330], 0
jne 0x10023895
xor ecx, ecx
jmp 0x100238af
lea ecx, [ebp - 0x330]
lea edx, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100238a0
sub ecx, edx
sar ecx, 1
push ecx
push 0x10
lea eax, [ebp - 0x30]
lea edx, [ebp - 0x330]
push eax
lea edx, [edx + ecx*2]
push ecx
lea ecx, [ebp - 0x330]
call fcn.100251e0
add esp, 0x10
test al, al
je 0x1002397d
lea eax, [ebp - 0x330]
push eax
lea eax, [ebp - 0xcc]
push eax
lea ecx, [ebp - 0x128]
mov dword [ebp - 0xcc], 0
call fcn.1005c530
lea eax, [ebp - 0xcc]
push eax
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 7
call fcn.1004cb90
lea eax, [ebp - 0xcc]
push eax
lea ecx, [ebp - 0x5c]
call fcn.1004e0c0
cmp dword [ebp - 0x98], 8
jb 0x1002392f
push dword [ebp - 0xac]
call ebx
add esp, 4
xor eax, eax
cmp dword [ebp - 0xb4], 8
mov dword [ebp - 0x98], 7
mov dword [ebp - 0x9c], 0
mov word [ebp - 0xac], ax
jb 0x10023960
push dword [ebp - 0xc8]
call ebx
add esp, 4
xor eax, eax
mov dword [ebp - 0xb4], 7
mov dword [ebp - 0xb8], 0
mov word [ebp - 0xc8], ax
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x10023997
dec dword [eax + 0x20]
jne 0x10023997
mov ecx, dword [ebp - 0x30]
xor edx, edx
call fcn.1001de10
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x30], 0
test ecx, ecx
je 0x100239b6
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
je 0x100239b6
mov edx, dword [eax]
push 1
mov ecx, eax
call dword [edx]
mov eax, dword [ebp - 0x334]
mov ecx, dword [ebp - 0x338]
dec eax
mov dword [ebp - 0x334], eax
test ecx, ecx
je 0x10023a05
test eax, eax
js 0x10023a05
lea edx, [ebp - 0x70]
push edx
push 0
push 0
push 0
lea edx, [ebp - 0x14]
push edx
lea edx, [ebp - 0x330]
push edx
push eax
push ecx
mov dword [ebp - 0x14], 0x103
call esi
mov ecx, dword [ebp - 0x338]
test eax, eax
mov eax, dword [ebp - 0x334]
je 0x10023848
xor edx, edx
mov word [ebp - 0x330], dx
jmp 0x10023848
test ecx, ecx
je 0x10023a1e
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x54]
xor esi, esi
xor edi, edi
mov dword [ebp - 0x33c], edx
mov dword [ebp - 0xd8], edx
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0xd4], ecx
mov dword [ebp - 0x58], edi
mov dword [ebp - 0xd0], eax
mov dword [ebp - 0x54], esi
mov ebx, edx
cmp edx, ecx
je 0x10023bb6
mov esi, dword [ebp - 0x340]
mov eax, dword [ebx]
push 0x18
mov dword [ebp - 0x14], eax
call dword [sym.imp.MSVCR110.dll_void____cdecl_operator_new_unsigned_int_]
mov edi, eax
add esp, 4
test edi, edi
je 0x10023aa7
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
mov ecx, dword [ebp - 0x340]
sar eax, 2
mov ecx, dword [ecx + 8]
inc eax
mov dword [edi + 8], eax
mov eax, dword [ebp - 0x14]
mov dword [edi + 4], ecx
mov dword [edi + 0xc], 0
mov dword [edi], vtable.iGarbage::GarbageRegItem.0
mov dword [edi + 0x10], eax
jmp 0x10023aa9
xor edi, edi
mov ecx, dword [esi + 0x10]
lea eax, [ebp - 0x344]
mov dword [ebp - 0x344], edi
cmp eax, ecx
jae 0x10023b39
mov eax, dword [esi + 0xc]
lea edx, [ebp - 0x344]
cmp eax, edx
ja 0x10023b39
mov edi, edx
mov edx, dword [esi + 0x14]
sub edi, eax
sar edi, 2
cmp ecx, edx
jne 0x10023b28
mov eax, edx
sub eax, ecx
sar eax, 2
cmp eax, 1
jae 0x10023b28
sub ecx, dword [esi + 0xc]
mov eax, 0x3fffffff
sar ecx, 2
sub eax, ecx
cmp eax, 1
jb 0x10023d8b
sub edx, dword [esi + 0xc]
inc ecx
sar edx, 2
mov dword [ebp - 0x14], ecx
mov ecx, edx
shr ecx, 1
mov eax, 0x3fffffff
sub eax, ecx
cmp eax, edx
jae 0x10023b16
xor edx, edx
jmp 0x10023b18
add edx, ecx
cmp edx, dword [ebp - 0x14]
lea ecx, [esi + 0xc]
cmovb edx, dword [ebp - 0x14]
push edx
call fcn.10009030
mov ecx, dword [esi + 0x10]
mov eax, dword [esi + 0xc]
test ecx, ecx
je 0x10023b9a
mov eax, dword [eax + edi*4]
mov dword [ecx], eax
jmp 0x10023b9a
mov edx, dword [esi + 0x14]
cmp ecx, edx
jne 0x10023b91
mov eax, edx
sub eax, ecx
sar eax, 2
cmp eax, 1
jae 0x10023b91
sub ecx, dword [esi + 0xc]
mov eax, 0x3fffffff
sar ecx, 2
sub eax, ecx
cmp eax, 1
jb 0x10023d8b
sub edx, dword [esi + 0xc]
inc ecx
sar edx, 2
mov dword [ebp - 0x14], ecx
mov ecx, edx
shr ecx, 1
mov eax, 0x3fffffff
sub eax, ecx
cmp eax, edx
jae 0x10023b7f
xor edx, edx
jmp 0x10023b81
add edx, ecx
cmp edx, dword [ebp - 0x14]
lea ecx, [esi + 0xc]
cmovb edx, dword [ebp - 0x14]
push edx
call fcn.10009030
mov eax, dword [esi + 0x10]
test eax, eax
je 0x10023b9a
mov dword [eax], edi
add dword [esi + 0x10], 4
add ebx, 4
cmp ebx, dword [ebp - 0x24]
jne 0x10023a63
mov edi, dword [ebp - 0x58]
mov esi, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x33c]
test edx, edx
je 0x10023bd0
push edx
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
mov edi, dword [ebp - 0x58]
mov esi, dword [ebp - 0x5c]
add esp, 4
lea ebx, [ebx]
cmp esi, edi
je 0x10023c68
mov ebx, dword [esi]
test ebx, ebx
je 0x10023c5a
cmp dword [ebx + 0x4c], 8
jb 0x10023bf0
push dword [ebx + 0x38]
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov dword [ebx + 0x4c], 7
mov dword [ebx + 0x48], 0
mov word [ebx + 0x38], ax
cmp dword [ebx + 0x34], 8
jb 0x10023c16
push dword [ebx + 0x20]
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov dword [ebx + 0x34], 7
mov dword [ebx + 0x30], 0
mov word [ebx + 0x20], ax
cmp dword [ebx + 0x18], 8
jb 0x10023c3c
push dword [ebx + 4]
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov dword [ebx + 0x18], 7
mov dword [ebx + 0x14], 0
push ebx
mov word [ebx + 4], ax
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
add esp, 4
add esi, 4
cmp esi, edi
jne 0x10023bd8
mov esi, dword [ebp - 0x5c]
mov ebx, dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
mov dword [ebp - 0x58], esi
test esi, esi
je 0x10023c7b
push esi
call ebx
add esp, 4
xorps xmm0, xmm0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
movlpd qword [ebp - 0x40], xmm0
xor eax, eax
mov dword [ebp - 0x80], 7
mov dword [ebp - 0x84], 0
mov word [ebp - 0x94], ax
lea eax, [ebp - 0x94]
push eax
push str.TempPath
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0xb
call fcn.1005cb10
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10023d34
cmp dword [ebp - 0x80], 8
lea eax, [ebp - 0x94]
cmovae eax, dword [ebp - 0x94]
push eax
call edi
cmp eax, 1
jne 0x10023d34
push str.DwnlData
lea edx, [ebp - 0x94]
lea ecx, [ebp - 0x38]
call fcn.10058b60
add esp, 4
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x24], 8
lea eax, [ebp - 0x38]
cmovae eax, dword [ebp - 0x38]
push eax
call edi
cmp eax, 1
jne 0x10023d26
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x50]
call fcn.100126d0
cmp dword [ebp - 0x24], 8
jb 0x10023d34
push dword [ebp - 0x38]
call ebx
add esp, 4
xor eax, eax
mov dword [ebp - 0x54], 7
mov dword [ebp - 0x58], 0
mov word [ebp - 0x68], ax
push 0x206
mov byte [ebp - 4], 0xd
push eax
mov word [ebp - 0x330], ax
lea eax, [ebp - 0x32e]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [ebp - 0x330]
push eax
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
cmp word [ebp - 0x330], 0
jne 0x10023d96
xor ecx, ecx
jmp 0x10023daf
push str.vector_T__too_long
call dword [sym.imp.MSVCP110.dll_void___cdecl_std::_Xlength_error_char_const__]
lea ecx, [ebp - 0x330]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10023da0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x330]
push eax
lea ecx, [ebp - 0x68]
call fcn.10003de0
cmp dword [ebp - 0x54], 8
lea eax, [ebp - 0x68]
cmovae eax, dword [ebp - 0x68]
push eax
call edi
cmp eax, 1
jne 0x10024028
push 0x10080dc4
lea edx, [ebp - 0x68]
lea ecx, [ebp - 0xf0]
call fcn.10058b60
add esp, 4
push str.foldresHistory.txt
lea edx, [ebp - 0xf0]
lea ecx, [ebp - 0x360]
mov byte [ebp - 4], 0xe
call fcn.10058b60
add esp, 4
mov esi, eax
mov byte [ebp - 4], 0xf
cmp dword [esi + 0x14], 8
jb 0x10023e19
mov eax, dword [esi]
jmp 0x10023e1b
mov eax, esi
push eax
call edi
cmp eax, 1
jne 0x10023eef
cmp dword [esi + 0x14], 8
jb 0x10023e31
mov eax, dword [esi]
jmp 0x10023e33
mov eax, esi
lea ecx, [ebp - 0xb8]
push ecx
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
je 0x10023e54
test byte [ebp - 0xb8], 0x10
jne 0x10023ee6
cmp dword [esi + 0x14], 8
xorps xmm0, xmm0
movlpd qword [ebp - 0x28], xmm0
jb 0x10023e66
mov eax, dword [esi]
jmp 0x10023e68
mov eax, esi
push 0
push 0
push 3
push 0
push 1
push 8
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x33c], eax
cmp eax, 0xffffffff
je 0x10023ed4
lea ecx, [ebp - 0x70]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x10023eb2
mov eax, dword [ebp - 0x6c]
push dword [ebp - 0x33c]
cdq
xor edi, edi
or edi, dword [ebp - 0x70]
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x14]
jmp 0x10023eda
push dword [ebp - 0x33c]
xorps xmm0, xmm0
movlpd qword [ebp - 0x28], xmm0
mov eax, dword [ebp - 0x24]
mov edi, dword [ebp - 0x28]
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x14]
jmp 0x10023eda
mov eax, dword [ebp - 0x24]
mov edi, dword [ebp - 0x28]
add dword [ebp - 0x40], edi
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
adc dword [ebp - 0x3c], eax
push esi
lea ecx, [ebp - 0x50]
call fcn.1000f0e0
mov byte [ebp - 4], 0xe
cmp dword [ebp - 0x34c], 8
jb 0x10023f07
push dword [ebp - 0x360]
call ebx
add esp, 4
push str.UrlHistory.txt
lea edx, [ebp - 0xf0]
lea ecx, [ebp - 0x360]
call fcn.10058b60
add esp, 4
mov esi, eax
mov byte [ebp - 4], 0x10
cmp dword [esi + 0x14], 8
jb 0x10023f30
mov eax, dword [esi]
jmp 0x10023f32
mov eax, esi
push eax
call edi
cmp eax, 1
jne 0x10024000
cmp dword [esi + 0x14], 8
jb 0x10023f48
mov eax, dword [esi]
jmp 0x10023f4a
mov eax, esi
lea ecx, [ebp - 0xb8]
push ecx
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
je 0x10023f6b
test byte [ebp - 0xb8], 0x10
jne 0x10023ff7
cmp dword [esi + 0x14], 8
xorps xmm0, xmm0
movlpd qword [ebp - 0x28], xmm0
jb 0x10023f7d
mov eax, dword [esi]
jmp 0x10023f7f
mov eax, esi
push 0
push 0
push 3
push 0
push 1
push 8
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x33c], eax
cmp eax, 0xffffffff
je 0x10023feb
lea ecx, [ebp - 0x70]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x10023fc9
mov eax, dword [ebp - 0x6c]
push dword [ebp - 0x33c]
cdq
xor edi, edi
or edi, dword [ebp - 0x70]
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x14]
jmp 0x10023ff1
push dword [ebp - 0x33c]
xorps xmm0, xmm0
movlpd qword [ebp - 0x28], xmm0
mov eax, dword [ebp - 0x24]
mov edi, dword [ebp - 0x28]
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x14]
jmp 0x10023ff1
mov eax, dword [ebp - 0x24]
mov edi, dword [ebp - 0x28]
add dword [ebp - 0x40], edi
adc dword [ebp - 0x3c], eax
push esi
lea ecx, [ebp - 0x50]
call fcn.1000f0e0
cmp dword [ebp - 0x34c], 8
jb 0x10024014
push dword [ebp - 0x360]
call ebx
add esp, 4
cmp dword [ebp - 0xdc], 8
jb 0x10024028
push dword [ebp - 0xf0]
call ebx
add esp, 4
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x11
call dword [sym.imp.MSVCP110.dll_public:_void___thiscall_std::_Container_base0::_Swap_all_struct_std::_Container_base0__]
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x20]
push dword [ebp - 0x3c]
mov esi, dword [ebp - 0x340]
push dword [ebp - 0x40]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x50], ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x4c], ecx
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x48], ecx
push eax
mov ecx, esi
call fcn.1002be10
mov byte [ebp - 4], 0xd
cmp dword [ebp - 0x20], 0
je 0x100240c4
lea ecx, [ebp - 0x20]
call dword [sym.imp.MSVCP110.dll_public:_void___thiscall_std::_Container_base0::_Orphan_all_void_]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
call fcn.1000db40
push dword [ebp - 0x20]
call ebx
add esp, 4
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
cmp dword [ebp - 0x54], 8
jb 0x100240d2
push dword [ebp - 0x68]
call ebx
add esp, 4
xor eax, eax
cmp dword [ebp - 0x80], 8
mov dword [ebp - 0x54], 7
mov dword [ebp - 0x58], 0
mov word [ebp - 0x68], ax
jb 0x100240f7
push dword [ebp - 0x94]
call ebx
add esp, 4
xor eax, eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x80], 7
mov dword [ebp - 0x84], 0
mov word [ebp - 0x94], ax
cmp dword [ebp - 0x50], eax
je 0x10024136
lea ecx, [ebp - 0x50]
call dword [sym.imp.MSVCP110.dll_public:_void___thiscall_std::_Container_base0::_Orphan_all_void_]
push dword [ebp - 0x4c]
push dword [ebp - 0x50]
call fcn.1000db40
push dword [ebp - 0x50]
call ebx
add esp, 4
mov ecx, dword [ebp - 0x348]
push esi
push 0x7e7
call fcn.1001f0a0
mov eax, dword [ebp - 0x78]
test eax, eax
je 0x1002415c
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x78], 0
mov eax, dword [ebp - 0x7c]
test eax, eax
je 0x10024171
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x7c], 0
lea ecx, [ebp - 0x128]
call fcn.10007a50
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.1006e4e6
mov esp, ebp
pop ebp
ret