Function at 0x10034400
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009a762
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x100e6018]
xor eax, ebp
mov dword [ebp - 0x14], 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 - 0x78], esi
mov eax, dword [ebp + 8]
mov dword [ebp - 0x84], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [esi + 0x20], eax
je 0x10034465
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x1003445e
call dword [sym.imp.sqlite3.dll_public:_void___thiscall_CppSQLite3DB::close_void_]
mov dword [esi + 4], 0
mov ecx, esi
call sym.iImportLib.dll_public:_int___thiscall_UninstCache::initDB_void_
mov ecx, dword [esi + 4]
xor bl, bl
mov byte [ebp - 0x41], bl
test ecx, ecx
je 0x10034b2e
push str.SELECT__FROM_software_cache
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 4], 0
call dword [sym.imp.sqlite3.dll_public:_class_CppSQLite3Statement___thiscall_CppSQLite3DB::compileStatement_char_const__]
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
call dword [sym.imp.sqlite3.dll_public:_class_CppSQLite3Query___thiscall_CppSQLite3Statement::execQuery_void_]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x30]
call dword [sym.imp.sqlite3.dll_public:_bool___thiscall_CppSQLite3Query::eof_void_]
test al, al
jne 0x10034b05
push 0x80
call dword [sym.imp.MSVCR110.dll_void____cdecl_operator_new_unsigned_int_]
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x10034512
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], 0
xor eax, eax
mov word [ebx], ax
mov dword [ebx + 0x2c], 7
mov dword [ebx + 0x28], eax
mov word [ebx + 0x18], ax
mov dword [ebx + 0x44], 7
mov dword [ebx + 0x40], eax
mov word [ebx + 0x30], ax
mov dword [ebx + 0x5c], 7
mov dword [ebx + 0x58], eax
mov word [ebx + 0x48], ax
mov dword [ebx + 0x7c], 7
mov dword [ebx + 0x78], eax
mov word [ebx + 0x68], ax
jmp 0x10034514
xor ebx, ebx
movzx eax, byte [0x100e8a72]
push eax
lea eax, [ebp - 0x8c]
push eax
push ecx
lea eax, [ebp - 0x94]
push eax
lea ecx, [esi + 0x2c]
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x8c], ebx
mov byte [ebp - 0x88], 0
call fcn.10035170
lea ecx, [ebp - 0x30]
push 0
push 0
push str.uninstall_regWow64
call dword [sym.imp.sqlite3.dll_public:_long_long___int64____thiscall_CppSQLite3Query::getInt64Field_char_const___long_long___int64__]
lea ecx, [ebp - 0x30]
push 0x100b375e
push str.uninstall_regPath
mov dword [ebp - 0x7c], edx
mov dword [ebx + 0x60], eax
call dword [sym.imp.sqlite3.dll_public:_char_const____thiscall_CppSQLite3Query::getStringField_char_const___char_const__]
mov edx, eax
mov dword [ebp - 0x48], 0xf
mov dword [ebp - 0x4c], 0
mov byte [ebp - 0x5c], 0
cmp byte [edx], 0
jne 0x1003458b
xor ecx, ecx
jmp 0x10034599
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10034590
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x5c]
call fcn.10008870
push 0xfde9
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x74]
push eax
mov byte [ebp - 4], 3
call sym.iImportLib.dll_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_elex::strings::s2ws_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int_
add esp, 0xc
mov edx, eax
mov byte [ebp - 4], 4
cmp dword [edx + 0x14], 8
jb 0x100345ca
mov edx, dword [edx]
cmp word [edx], 0
jne 0x100345d4
xor ecx, ecx
jmp 0x100345ef
mov ecx, edx
lea esi, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100345e0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebx + 0x48]
call fcn.100089b0
cmp dword [ebp - 0x60], 8
mov esi, dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
jb 0x1003460d
push dword [ebp - 0x74]
call esi
add esp, 4
xor eax, eax
mov byte [ebp - 4], 2
cmp dword [ebp - 0x48], 0x10
mov dword [ebp - 0x60], 7
mov dword [ebp - 0x64], 0
mov word [ebp - 0x74], ax
jb 0x10034633
push dword [ebp - 0x5c]
call esi
add esp, 4
push 0
push 0
push str.uninstall_regRoot
lea ecx, [ebp - 0x30]
call dword [sym.imp.sqlite3.dll_public:_long_long___int64____thiscall_CppSQLite3Query::getInt64Field_char_const___long_long___int64__]
push 0x100b375e
push str.uninstall_cmd
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x7c], edx
mov dword [ebx + 0x64], eax
call dword [sym.imp.sqlite3.dll_public:_char_const____thiscall_CppSQLite3Query::getStringField_char_const___char_const__]
mov edx, eax
mov dword [ebp - 0x48], 0xf
mov dword [ebp - 0x4c], 0
mov byte [ebp - 0x5c], 0
cmp byte [edx], 0
jne 0x1003467b
xor ecx, ecx
jmp 0x10034689
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10034680
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x5c]
call fcn.10008870
push 0xfde9
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x74]
push eax
mov byte [ebp - 4], 5
call sym.iImportLib.dll_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_elex::strings::s2ws_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int_
lea edi, [ebx + 0x30]
mov esi, eax
add esp, 0xc
mov dword [ebp - 0x7c], edi
cmp edi, esi
je 0x10034722
cmp dword [edi + 0x14], 8
jb 0x100346ca
push dword [edi]
mov eax, dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
call eax
add esp, 4
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov word [edi], ax
cmp dword [esi + 0x14], 8
jae 0x100346f9
mov eax, dword [esi + 0x10]
inc eax
je 0x10034703
add eax, eax
push eax
push esi
push edi
call dword [sym.imp.MSVCR110.dll_memmove]
add esp, 0xc
jmp 0x10034703
mov eax, dword [esi]
mov dword [edi], eax
mov dword [esi], 0
mov eax, dword [esi + 0x10]
mov dword [edi + 0x10], eax
mov eax, dword [esi + 0x14]
mov dword [edi + 0x14], eax
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
cmp dword [ebp - 0x60], 8
mov edi, dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
jb 0x10034736
push dword [ebp - 0x74]
call edi
add esp, 4
xor eax, eax
mov byte [ebp - 4], 2
cmp dword [ebp - 0x48], 0x10
mov dword [ebp - 0x60], 7
mov dword [ebp - 0x64], 0
mov word [ebp - 0x74], ax
jb 0x1003475c
push dword [ebp - 0x5c]
call edi
add esp, 4
push 0x100b375e
push str.software_name
lea ecx, [ebp - 0x30]
call dword [sym.imp.sqlite3.dll_public:_char_const____thiscall_CppSQLite3Query::getStringField_char_const___char_const__]
mov edx, eax
mov dword [ebp - 0x48], 0xf
mov dword [ebp - 0x4c], 0
mov byte [ebp - 0x5c], 0
cmp byte [edx], 0
jne 0x1003478c
xor ecx, ecx
jmp 0x1003479a
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10034791
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x5c]
call fcn.10008870
push 0xfde9
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x74]
push eax
mov byte [ebp - 4], 6
call sym.iImportLib.dll_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_elex::strings::s2ws_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int_
mov esi, eax
add esp, 0xc
cmp ebx, esi
je 0x10034828
cmp dword [ebx + 0x14], 8
jb 0x100347d0
push dword [ebx]
call edi
add esp, 4
xor eax, eax
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], 0
mov word [ebx], ax
cmp dword [esi + 0x14], 8
jae 0x100347ff
mov eax, dword [esi + 0x10]
inc eax
je 0x10034809
add eax, eax
push eax
push esi
push ebx
call dword [sym.imp.MSVCR110.dll_memmove]
add esp, 0xc
jmp 0x10034809
mov eax, dword [esi]
mov dword [ebx], eax
mov dword [esi], 0
mov eax, dword [esi + 0x10]
mov dword [ebx + 0x10], eax
mov eax, dword [esi + 0x14]
mov dword [ebx + 0x14], eax
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
cmp dword [ebp - 0x60], 8
jb 0x10034836
push dword [ebp - 0x74]
call edi
add esp, 4
xor eax, eax
mov byte [ebp - 4], 2
cmp dword [ebp - 0x48], 0x10
mov dword [ebp - 0x60], 7
mov dword [ebp - 0x64], 0
mov word [ebp - 0x74], ax
jb 0x1003485c
push dword [ebp - 0x5c]
call edi
add esp, 4
push 0x100b375e
push str.software_path
lea ecx, [ebp - 0x30]
call dword [sym.imp.sqlite3.dll_public:_char_const____thiscall_CppSQLite3Query::getStringField_char_const___char_const__]
mov edx, eax
mov dword [ebp - 0x48], 0xf
mov dword [ebp - 0x4c], 0
mov byte [ebp - 0x5c], 0
cmp byte [edx], 0
jne 0x1003488c
xor ecx, ecx
jmp 0x1003489a
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10034891
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x5c]
call fcn.10008870
push 0xfde9
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x74]
push eax
mov byte [ebp - 4], 7
call sym.iImportLib.dll_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_elex::strings::s2ws_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int_
mov esi, eax
lea edi, [ebx + 0x18]
add esp, 0xc
cmp edi, esi
je 0x10034930
cmp dword [edi + 0x14], 8
jb 0x100348d8
push dword [edi]
mov eax, dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
call eax
add esp, 4
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov word [edi], ax
cmp dword [esi + 0x14], 8
jae 0x10034907
mov eax, dword [esi + 0x10]
inc eax
je 0x10034911
add eax, eax
push eax
push esi
push edi
call dword [sym.imp.MSVCR110.dll_memmove]
add esp, 0xc
jmp 0x10034911
mov eax, dword [esi]
mov dword [edi], eax
mov dword [esi], 0
mov eax, dword [esi + 0x10]
mov dword [edi + 0x10], eax
mov eax, dword [esi + 0x14]
mov dword [edi + 0x14], eax
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
cmp dword [ebp - 0x60], 8
mov esi, dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
jb 0x10034944
push dword [ebp - 0x74]
call esi
add esp, 4
xor eax, eax
mov byte [ebp - 4], 2
cmp dword [ebp - 0x48], 0x10
mov dword [ebp - 0x60], 7
mov dword [ebp - 0x64], 0
mov word [ebp - 0x74], ax
jb 0x1003496a
push dword [ebp - 0x5c]
call esi
add esp, 4
push 0x100b375e
push str.uninstall_msi
lea ecx, [ebp - 0x30]
call dword [sym.imp.sqlite3.dll_public:_char_const____thiscall_CppSQLite3Query::getStringField_char_const___char_const__]
mov edx, eax
mov dword [ebp - 0x48], 0xf
mov dword [ebp - 0x4c], 0
mov byte [ebp - 0x5c], 0
cmp byte [edx], 0
jne 0x1003499a
xor ecx, ecx
jmp 0x100349a9
mov ecx, edx
lea esi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100349a0
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x5c]
call fcn.10008870
push 0xfde9
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x74]
push eax
mov byte [ebp - 4], 8
call sym.iImportLib.dll_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_elex::strings::s2ws_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int_
mov edi, eax
lea esi, [ebx + 0x68]
add esp, 0xc
cmp esi, edi
je 0x10034a3f
cmp dword [esi + 0x14], 8
jb 0x100349e7
push dword [esi]
mov eax, dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
call eax
add esp, 4
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
cmp dword [edi + 0x14], 8
jae 0x10034a16
mov eax, dword [edi + 0x10]
inc eax
je 0x10034a20
add eax, eax
push eax
push edi
push esi
call dword [sym.imp.MSVCR110.dll_memmove]
add esp, 0xc
jmp 0x10034a20
mov eax, dword [edi]
mov dword [esi], eax
mov dword [edi], 0
mov eax, dword [edi + 0x10]
mov dword [esi + 0x10], eax
mov eax, dword [edi + 0x14]
mov dword [esi + 0x14], eax
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov word [edi], ax
cmp dword [ebp - 0x60], 8
mov esi, dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
jb 0x10034a53
push dword [ebp - 0x74]
call esi
add esp, 4
xor eax, eax
mov byte [ebp - 4], 2
cmp dword [ebp - 0x48], 0x10
mov dword [ebp - 0x60], 7
mov dword [ebp - 0x64], 0
mov word [ebp - 0x74], ax
jb 0x10034a79
push dword [ebp - 0x5c]
call esi
add esp, 4
cmp dword [ebx + 0x2c], 8
lea esi, [ebx + 0x18]
jb 0x10034a86
mov eax, dword [esi]
jmp 0x10034a88
mov eax, esi
cmp word [eax], 0x22
jne 0x10034ae5
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x18], 0
cmp dword [eax + 0x14], 8
jb 0x10034aa0
mov eax, dword [eax]
lea ecx, [ebp - 0x18]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov edi, eax
push dword [edi]
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov edx, dword [edi]
cmp word [edx], 0
jne 0x10034ac1
xor ecx, ecx
jmp 0x10034ad5
mov ecx, edx
lea ebx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10034ac6
sub ecx, ebx
sar ecx, 1
push ecx
push edx
mov ecx, esi
call fcn.100089b0
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [ebp - 0x84]
lea eax, [ebp - 0x40]
push eax
call fcn.1000d380
lea ecx, [ebp - 0x30]
call dword [sym.imp.sqlite3.dll_public:_void___thiscall_CppSQLite3Query::nextRow_void_]
mov esi, dword [ebp - 0x78]
jmp 0x100344a0
mov bl, 1
lea ecx, [ebp - 0x30]
mov byte [ebp - 0x41], bl
mov byte [ebp - 4], bl
call dword [sym.imp.sqlite3.dll_public_virtual:_void___thiscall_CppSQLite3Query::destructor_void_]
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0
call dword [sym.imp.sqlite3.dll_public_virtual:_void___thiscall_CppSQLite3Statement::destructor_void_]
jmp 0x10034b2e
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100947be
mov esp, ebp
pop ebp
ret 4