Function at 0x44b4a9
Capabilities:
Check if file exists
Get common file path
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59d737
mov eax, dword fs:[0]
push eax
mov eax, 0x10f4
call fcn.00448bd0
mov eax, dword [0x61c554]
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 esi, ecx
mov edi, 0x208
lea eax, [ebp - 0x628]
push edi
xor ebx, ebx
push ebx
push eax
call fcn.0045ef40
push edi
lea eax, [ebp - 0x830]
push ebx
push eax
call fcn.0045ef40
push edi
lea eax, [ebp - 0xa38]
push ebx
push eax
call fcn.0045ef40
push edi
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.0045ef40
push edi
lea eax, [ebp - 0x1050]
push ebx
push eax
call fcn.0045ef40
add esp, 0x3c
lea eax, [ebp - 0x628]
push ebx
push 0x2b
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov edi, 0x608fb4
lea eax, [ebp - 0x628]
push edi
push eax
call fcn.0046af62
lea eax, [ebp - 0x628]
push str.SmartWBInput
push eax
call fcn.0046af62
lea eax, [ebp - 0x628]
push edi
push eax
call fcn.0046af62
lea eax, [ebp - 0x628]
push str.SmartCloudWB
push eax
call fcn.0046af62
lea eax, [ebp - 0x628]
push str..ini
push eax
call fcn.0046af62
add esp, 0x28
lea eax, [ebp - 0x628]
push eax
push 0x104
lea eax, [ebp - 0x830]
push eax
push 0x608fd4
push str.InstallPath
push str.Globals
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x830]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.00462bac
lea eax, [ebp - 0x218]
push eax
call fcn.00462b51
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0xc
test eax, eax
jle 0x44b749
xor eax, eax
mov dword [ebp - 0x1054], 7
mov dword [ebp - 0x1058], ebx
mov word [ebp - 0x1068], ax
cmp word [ebp - 0x218], ax
je 0x44b61a
lea eax, [ebp - 0x218]
push eax
call fcn.00462b51
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x1068]
call fcn.00401ea0
xor eax, eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x1084], 7
mov dword [ebp - 0x1088], ebx
mov word [ebp - 0x1098], ax
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 1
push eax
call edi
test eax, eax
je 0x44b729
lea eax, [ebp - 0x1098]
mov ecx, esi
push eax
lea eax, [ebp - 0x1068]
push eax
call fcn.0044a041
test al, al
je 0x44b729
push 0x208
lea eax, [ebp - 0x420]
push ebx
push eax
call fcn.0045ef40
cmp dword [ebp - 0x1084], 8
lea eax, [ebp - 0x1098]
cmovae eax, dword [ebp - 0x1098]
push eax
lea eax, [ebp - 0x420]
push eax
call fcn.00462bac
lea eax, [ebp - 0x420]
push str.SWConfig.exe
push eax
call fcn.0046af62
add esp, 0x1c
lea eax, [ebp - 0x420]
push eax
call edi
test eax, eax
je 0x44b729
cmp word [ebp - 0x218], 0
jne 0x44b6dd
mov eax, ebx
jmp 0x44b6ea
lea eax, [ebp - 0x218]
push eax
call fcn.00462b51
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [esi + 0x3c]
call fcn.00401ea0
lea ecx, [esi + 0x6c]
lea eax, [ebp - 0x1098]
cmp ecx, eax
je 0x44b710
push 0xffffffffffffffff
push ebx
push eax
call fcn.004020f0
lea ecx, [ebp - 0x1098]
push ebx
push 1
call fcn.00401de0
lea ecx, [ebp - 0x1068]
jmp 0x44bcc2
push ebx
push 1
lea ecx, [ebp - 0x1098]
call fcn.00401de0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1068]
push ebx
push 1
call fcn.00401de0
push 0x208
lea eax, [ebp - 0xe48]
push ebx
push eax
call fcn.0045ef40
lea eax, [ebp - 0xe48]
push str.SOFTWARE_
push eax
call fcn.00462bac
lea eax, [ebp - 0xe48]
push str.SmartWBInput
push eax
call fcn.0046af62
add esp, 0x1c
lea eax, [ebp - 0x10fc]
push eax
push 0x20019
push ebx
lea eax, [ebp - 0xe48]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x44b947
lea eax, [ebp - 0x1100]
mov dword [ebp - 0x1100], 0x208
push eax
lea eax, [ebp - 0x1050]
push eax
push ebx
push ebx
push str.InstallPath
push dword [ebp - 0x10fc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x44b947
lea eax, [ebp - 0x1050]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.00462bac
xor eax, eax
mov dword [ebp - 0x1054], 7
pop ecx
pop ecx
mov dword [ebp - 0x1058], ebx
mov word [ebp - 0x1068], ax
cmp word [ebp - 0x218], ax
jne 0x44b815
mov eax, ebx
jmp 0x44b822
lea eax, [ebp - 0x218]
push eax
call fcn.00462b51
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x1068]
call fcn.00401ea0
xor eax, eax
mov dword [ebp - 4], 2
mov dword [ebp - 0x109c], 7
mov dword [ebp - 0x10a0], ebx
mov word [ebp - 0x10b0], ax
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 3
push eax
call edi
test eax, eax
je 0x44b927
lea eax, [ebp - 0x10b0]
mov ecx, esi
push eax
lea eax, [ebp - 0x1068]
push eax
call fcn.0044a041
test al, al
je 0x44b927
push 0x208
lea eax, [ebp - 0x420]
push ebx
push eax
call fcn.0045ef40
cmp dword [ebp - 0x109c], 8
lea eax, [ebp - 0x10b0]
cmovae eax, dword [ebp - 0x10b0]
push eax
lea eax, [ebp - 0x420]
push eax
call fcn.00462bac
lea eax, [ebp - 0x420]
push str.SWConfig.exe
push eax
call fcn.0046af62
add esp, 0x1c
lea eax, [ebp - 0x420]
push eax
call edi
test eax, eax
je 0x44b927
cmp word [ebp - 0x218], 0
jne 0x44b8e9
mov eax, ebx
jmp 0x44b8f6
lea eax, [ebp - 0x218]
push eax
call fcn.00462b51
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [esi + 0x3c]
call fcn.00401ea0
lea ecx, [esi + 0x6c]
lea eax, [ebp - 0x10b0]
cmp ecx, eax
je 0x44b91c
push 0xffffffffffffffff
push ebx
push eax
call fcn.004020f0
lea ecx, [ebp - 0x10b0]
jmp 0x44b716
push ebx
push 1
lea ecx, [ebp - 0x10b0]
call fcn.00401de0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1068]
push ebx
push 1
call fcn.00401de0
push dword [ebp - 0x10fc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
push 0x26
lea eax, [ebp - 0xa38]
push eax
push ebx
call fcn.0044f2cc
lea eax, [ebp - 0xa38]
push 0x608fb4
push eax
call fcn.0046af62
lea eax, [ebp - 0xa38]
push str.SmartWBInput
push eax
call fcn.0046af62
lea eax, [ebp - 0xa38]
push 0x608fb4
push eax
call fcn.0046af62
lea eax, [ebp - 0xa38]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.00462bac
xor eax, eax
mov dword [ebp - 0x10e4], 7
add esp, 0x30
mov dword [ebp - 0x10e8], ebx
mov word [ebp - 0x10f8], ax
cmp word [ebp - 0x218], ax
jne 0x44b9d2
mov eax, ebx
jmp 0x44b9df
lea eax, [ebp - 0x218]
push eax
call fcn.00462b51
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x10f8]
call fcn.00401ea0
xor eax, eax
mov dword [ebp - 4], 4
mov dword [ebp - 0x10b4], 7
mov dword [ebp - 0x10b8], ebx
mov word [ebp - 0x10c8], ax
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 5
push eax
call edi
test eax, eax
je 0x44bae2
lea eax, [ebp - 0x10c8]
mov ecx, esi
push eax
lea eax, [ebp - 0x10f8]
push eax
call fcn.0044a041
test al, al
je 0x44bae2
push 0x208
lea eax, [ebp - 0x420]
push ebx
push eax
call fcn.0045ef40
cmp dword [ebp - 0x10b4], 8
lea eax, [ebp - 0x10c8]
cmovae eax, dword [ebp - 0x10c8]
push eax
lea eax, [ebp - 0x420]
push eax
call fcn.00462bac
lea eax, [ebp - 0x420]
push str.SWConfig.exe
push eax
call fcn.0046af62
add esp, 0x1c
lea eax, [ebp - 0x420]
push eax
call edi
test eax, eax
je 0x44bae2
cmp word [ebp - 0x218], 0
jne 0x44baa6
mov eax, ebx
jmp 0x44bab3
lea eax, [ebp - 0x218]
push eax
call fcn.00462b51
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [esi + 0x3c]
call fcn.00401ea0
lea ecx, [esi + 0x6c]
lea eax, [ebp - 0x10c8]
cmp ecx, eax
je 0x44bcae
push 0xffffffffffffffff
push ebx
push eax
call fcn.004020f0
jmp 0x44bcae
lea eax, [ebp - 0x830]
push eax
call fcn.00462b51
pop ecx
test eax, eax
jle 0x44bbfb
xor eax, eax
mov dword [ebp - 0x106c], 7
mov dword [ebp - 0x1070], ebx
mov word [ebp - 0x1080], ax
cmp word [ebp - 0x830], ax
jne 0x44bb1d
mov eax, ebx
jmp 0x44bb2a
lea eax, [ebp - 0x830]
push eax
call fcn.00462b51
pop ecx
push eax
lea eax, [ebp - 0x830]
push eax
lea ecx, [ebp - 0x1080]
call fcn.00401ea0
xor eax, eax
mov dword [ebp - 0x10cc], 7
mov dword [ebp - 0x10d0], ebx
mov word [ebp - 0x10e0], ax
cmp dword [ebp - 0x106c], 8
lea eax, [ebp - 0x1080]
mov byte [ebp - 4], 7
cmovae eax, dword [ebp - 0x1080]
push eax
call edi
test eax, eax
je 0x44bbdb
lea eax, [ebp - 0x10e0]
mov ecx, esi
push eax
lea eax, [ebp - 0x1080]
push eax
call fcn.0044a041
test al, al
je 0x44bbdb
lea ecx, [esi + 0x3c]
lea eax, [ebp - 0x1080]
cmp ecx, eax
je 0x44bba4
push 0xffffffffffffffff
push ebx
push eax
call fcn.004020f0
lea ecx, [esi + 0x6c]
lea eax, [ebp - 0x10e0]
cmp ecx, eax
je 0x44bbba
push 0xffffffffffffffff
push ebx
push eax
call fcn.004020f0
push ebx
push 1
lea ecx, [ebp - 0x10e0]
call fcn.00401de0
push ebx
push 1
lea ecx, [ebp - 0x1080]
call fcn.00401de0
jmp 0x44bcae
push ebx
push 1
lea ecx, [ebp - 0x10e0]
call fcn.00401de0
push ebx
push 1
lea ecx, [ebp - 0x1080]
mov byte [ebp - 4], 5
call fcn.00401de0
push 0x208
lea eax, [ebp - 0xc40]
push ebx
push eax
call fcn.0045ef40
lea eax, [ebp - 0xa38]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.00462bac
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0xc40]
push eax
call fcn.00462bac
lea eax, [ebp - 0xc40]
push 0x5a12e0
push eax
call fcn.0046af62
lea eax, [ebp - 0xc40]
push 0x608fb4
push eax
call fcn.0046af62
add esp, 0x2c
cmp word [ebp - 0x218], 0
jne 0x44bc66
mov eax, ebx
jmp 0x44bc73
lea eax, [ebp - 0x218]
push eax
call fcn.00462b51
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [esi + 0x3c]
call fcn.00401ea0
cmp word [ebp - 0xc40], 0
jne 0x44bc91
mov eax, ebx
jmp 0x44bc9e
lea eax, [ebp - 0xc40]
push eax
call fcn.00462b51
pop ecx
push eax
lea eax, [ebp - 0xc40]
push eax
lea ecx, [esi + 0x6c]
call fcn.00401ea0
push ebx
push 1
lea ecx, [ebp - 0x10c8]
call fcn.00401de0
lea ecx, [ebp - 0x10f8]
push ebx
push 1
call fcn.00401de0
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.00448575
mov esp, ebp
pop ebp
ret