Function at 0x412c60
Capabilities:
Contain obfuscated stackstrings
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x441414
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a5f44]
xor eax, esp
push eax
lea eax, [esp + 0x7c]
mov dword fs:[0], eax
mov dword [esp + 0x20], ecx
mov esi, dword [sym.imp.Qt5Core.dll_private:_static_struct_QTypedArrayData_unsigned_short_int_____cdecl_QString::fromAscii_helper_char_const___int_]
push ecx
mov dword [esp + 0x58], esp
mov edi, esp
push 0x18
push str.______Inserindo_produto:
mov dword [esp + 0x90], 3
call esi
mov dword [edi], eax
push 0x4a5fcc
push fcn.00402e40
mov byte [esp + 0x98], 4
call fcn.00402ec0
mov byte [esp + 0x98], 3
mov ecx, dword [0x4a5fd0]
add esp, 0x10
call fcn.00408ad0
push 0xa
push str.Codigo:__1
call esi
mov dword [esp + 0x3c], eax
add esp, 4
mov edi, esp
mov dword [esp + 0x58], esp
push ecx
mov byte [esp + 0x40], 0x20
mov eax, dword [esp + 0x40]
mov ecx, esp
mov dword [esp + 0x58], esp
mov bl, 5
push eax
mov byte [esp + 0x90], bl
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QChar::constructor_struct_QLatin1Char_]
push 0
lea ecx, [esp + 0x9c]
push ecx
push edi
mov edi, dword [sym.imp.Qt5Core.dll_public:_class_QString___thiscall_QString::arg_class_QString_const___int__class_QChar_]
lea ecx, [esp + 0x48]
call edi
push 0x4a5fcc
push fcn.00402e40
mov byte [esp + 0x90], 6
call fcn.00402ec0
mov byte [esp + 0x90], bl
mov ecx, dword [0x4a5fd0]
add esp, 8
call fcn.00408ad0
lea ecx, [esp + 0x34]
mov byte [esp + 0x84], 3
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
push 0xd
push str.Descricao:__1
call esi
mov dword [esp + 0x3c], eax
add esp, 4
mov ebp, esp
mov dword [esp + 0x58], esp
push ecx
mov byte [esp + 0x40], 0x20
mov edx, dword [esp + 0x40]
mov ecx, esp
mov dword [esp + 0x58], esp
mov ebx, 7
push edx
mov byte [esp + 0x90], bl
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QChar::constructor_struct_QLatin1Char_]
push 0
lea eax, [esp + 0xa0]
push eax
push ebp
lea ecx, [esp + 0x48]
call edi
push 0x4a5fcc
push fcn.00402e40
mov byte [esp + 0x90], 8
call fcn.00402ec0
mov byte [esp + 0x90], bl
mov ecx, dword [0x4a5fd0]
add esp, 8
call fcn.00408ad0
lea ecx, [esp + 0x34]
mov byte [esp + 0x84], 3
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
push 0x10
push str.Preco_varejo:__1
call esi
mov dword [esp + 0x3c], eax
add esp, 4
mov ebp, esp
mov dword [esp + 0x58], esp
push ecx
mov byte [esp + 0x40], 0x20
mov edx, dword [esp + 0x40]
mov ecx, esp
mov dword [esp + 0x58], esp
push edx
mov byte [esp + 0x90], 9
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QChar::constructor_struct_QLatin1Char_]
push 0
lea eax, [esp + 0xa4]
push eax
push ebp
lea ecx, [esp + 0x48]
call edi
push 0x4a5fcc
push fcn.00402e40
mov byte [esp + 0x90], 0xa
call fcn.00402ec0
mov byte [esp + 0x90], 9
mov ecx, dword [0x4a5fd0]
add esp, 8
call fcn.00408ad0
lea ecx, [esp + 0x34]
mov byte [esp + 0x84], 3
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
push 0x11
push str.Preco_atacado:__1
call esi
mov dword [esp + 0x3c], eax
add esp, 4
mov ebp, esp
mov dword [esp + 0x58], esp
push ecx
mov byte [esp + 0x40], 0x20
mov edx, dword [esp + 0x40]
mov ecx, esp
mov dword [esp + 0x58], esp
push edx
mov byte [esp + 0x90], 0xb
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QChar::constructor_struct_QLatin1Char_]
push 0
lea eax, [esp + 0xa8]
push eax
push ebp
lea ecx, [esp + 0x48]
call edi
push 0x4a5fcc
push fcn.00402e40
mov byte [esp + 0x90], 0xc
call fcn.00402ec0
mov byte [esp + 0x90], 0xb
mov ecx, dword [0x4a5fd0]
add esp, 8
call fcn.00408ad0
lea ecx, [esp + 0x34]
mov byte [esp + 0x84], 3
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
push 0xa
mov ecx, dword [esp + 0xa4]
mov ebp, dword [sym.imp.Qt5Core.dll_public:_static_class_QString___cdecl_QString::number_int__int_]
push ecx
lea edx, [esp + 0x48]
push edx
call ebp
mov dword [esp + 0x48], eax
push ebx
push str.NCM:__1
mov byte [esp + 0x98], 0xd
call esi
mov dword [esp + 0x48], eax
add esp, 0x10
mov ebx, esp
mov dword [esp + 0x58], esp
push ecx
mov byte [esp + 0x40], 0x20
mov eax, dword [esp + 0x40]
mov ecx, esp
mov dword [esp + 0x58], esp
push eax
mov byte [esp + 0x90], 0xe
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QChar::constructor_struct_QLatin1Char_]
mov ecx, dword [esp + 0x44]
push 0
push ecx
push ebx
lea ecx, [esp + 0x48]
call edi
push 0x4a5fcc
push fcn.00402e40
mov byte [esp + 0x90], 0xf
call fcn.00402ec0
mov byte [esp + 0x90], 0xe
mov ecx, dword [0x4a5fd0]
add esp, 8
call fcn.00408ad0
lea ecx, [esp + 0x34]
mov byte [esp + 0x84], 0xd
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x40]
mov byte [esp + 0x84], 3
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
mov edx, dword [esp + 0xa4]
push 0xa
push edx
lea eax, [esp + 0x40]
push eax
call ebp
mov dword [esp + 0x48], eax
push 0xa
push str.Origem:__1
mov byte [esp + 0x98], 0x10
call esi
mov dword [esp + 0x48], eax
add esp, 0x10
mov ebx, esp
mov dword [esp + 0x58], esp
push ecx
mov byte [esp + 0x48], 0x20
mov edx, dword [esp + 0x48]
mov ecx, esp
mov dword [esp + 0x58], esp
push edx
mov byte [esp + 0x90], 0x11
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QChar::constructor_struct_QLatin1Char_]
mov eax, dword [esp + 0x44]
push 0
push eax
push ebx
lea ecx, [esp + 0x48]
call edi
push 0x4a5fcc
mov byte [esp + 0x8c], 0x12
push fcn.00402e40
call fcn.00402ec0
mov byte [esp + 0x90], 0x11
mov ecx, dword [0x4a5fd0]
add esp, 8
call fcn.00408ad0
lea ecx, [esp + 0x34]
mov byte [esp + 0x84], 0x10
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x38]
mov byte [esp + 0x84], 3
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
push ecx
mov dword [esp + 0x58], esp
mov ebx, esp
push 0x13
push str.nome_tabela_produto
call esi
mov dword [ebx], eax
push 0x4a6094
push 0x404400
mov byte [esp + 0x98], 0x13
call fcn.00402ec0
add esp, 0x10
lea ecx, [esp + 0x2c]
push ecx
mov byte [esp + 0x8c], 3
mov ecx, dword [0x4a6098]
call fcn.00411a80
push ecx
mov dword [esp + 0x58], esp
mov ebx, esp
push 7
push str.nome_id
mov byte [esp + 0x90], 0x14
call esi
mov dword [ebx], eax
push 0x4a6094
push 0x404400
mov byte [esp + 0x98], 0x15
call fcn.00402ec0
add esp, 0x10
lea edx, [esp + 0x34]
mov byte [esp + 0x88], 0x14
mov ecx, dword [0x4a6098]
push edx
call fcn.00411a80
mov eax, dword [sym.imp.Qt5Core.dll_struct_QListData::Data_const_QListData::shared_null]
mov dword [esp + 0x1c], eax
push ecx
mov dword [esp + 0x58], esp
mov dword [esp + 0x44], esp
push 0xb
mov ebx, 0x17
push str.nome_codigo
mov byte [esp + 0x90], bl
call esi
mov ecx, dword [esp + 0x4c]
mov dword [ecx], eax
push 0x4a6094
push 0x404400
mov byte [esp + 0x98], 0x18
call fcn.00402ec0
add esp, 0x10
lea edx, [esp + 0x40]
mov byte [esp + 0x88], bl
mov ecx, dword [0x4a6098]
push edx
call fcn.00411a80
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x88], 0x19
call fcn.00406bc0
mov byte [esp + 0x84], bl
lea ecx, [esp + 0x3c]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
push ecx
mov dword [esp + 0x58], esp
mov dword [esp + 0x44], esp
push 0xe
push str.nome_descricao
call esi
mov ecx, dword [esp + 0x4c]
mov dword [ecx], eax
push 0x4a6094
push 0x404400
mov byte [esp + 0x98], 0x1a
call fcn.00402ec0
add esp, 0x10
lea edx, [esp + 0x40]
mov byte [esp + 0x88], bl
mov ecx, dword [0x4a6098]
push edx
call fcn.00411a80
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x88], 0x1b
call fcn.00406bc0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x84], bl
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
push ecx
mov dword [esp + 0x58], esp
mov dword [esp + 0x44], esp
push 0x11
push str.nome_preco_varejo
call esi
mov ecx, dword [esp + 0x4c]
mov dword [ecx], eax
push 0x4a6094
push 0x404400
mov byte [esp + 0x98], 0x1c
call fcn.00402ec0
add esp, 0x10
lea edx, [esp + 0x40]
mov byte [esp + 0x88], bl
mov ecx, dword [0x4a6098]
push edx
call fcn.00411a80
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x88], 0x1d
call fcn.00406bc0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x84], bl
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
push ecx
mov dword [esp + 0x58], esp
mov dword [esp + 0x44], esp
push 0x12
push str.nome_preco_atacado
call esi
mov ecx, dword [esp + 0x4c]
mov dword [ecx], eax
push 0x4a6094
push 0x404400
mov byte [esp + 0x98], 0x1e
call fcn.00402ec0
add esp, 0x10
lea edx, [esp + 0x40]
mov byte [esp + 0x88], bl
mov ecx, dword [0x4a6098]
push edx
call fcn.00411a80
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x88], 0x1f
call fcn.00406bc0
mov byte [esp + 0x84], bl
lea ecx, [esp + 0x3c]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
push ecx
mov dword [esp + 0x58], esp
mov dword [esp + 0x44], esp
push 8
push str.nome_ncm
call esi
mov ecx, dword [esp + 0x4c]
mov dword [ecx], eax
push 0x4a6094
push 0x404400
mov byte [esp + 0x98], 0x20
call fcn.00402ec0
add esp, 0x10
lea edx, [esp + 0x40]
mov byte [esp + 0x88], bl
mov ecx, dword [0x4a6098]
push edx
call fcn.00411a80
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x88], 0x21
call fcn.00406bc0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x84], bl
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
push ecx
mov dword [esp + 0x58], esp
mov dword [esp + 0x44], esp
push 0xb
push str.nome_origem
call esi
mov ecx, dword [esp + 0x4c]
mov dword [ecx], eax
push 0x4a6094
push 0x404400
mov byte [esp + 0x98], 0x22
call fcn.00402ec0
add esp, 0x10
lea edx, [esp + 0x40]
mov byte [esp + 0x88], bl
mov ecx, dword [0x4a6098]
push edx
call fcn.00411a80
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x88], 0x23
call fcn.00406bc0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x84], bl
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
mov eax, dword [sym.imp.Qt5Core.dll_struct_QListData::Data_const_QListData::shared_null]
mov dword [esp + 0x18], eax
push ecx
mov eax, esp
mov ecx, 0x22
mov edx, ecx
mov word [eax], cx
mov word [esp + 0x44], dx
mov eax, dword [esp + 0x44]
mov dword [esp + 0x58], esp
push eax
push 0
lea ecx, [esp + 0x9c]
mov byte [esp + 0x90], 0x24
call dword [sym.imp.Qt5Core.dll_public:_class_QString____thiscall_QString::insert_int__class_QChar_]
mov ecx, eax
call dword [sym.imp.Qt5Core.dll_public:_class_QString____thiscall_QString::append_class_QChar_]
push eax
lea ecx, [esp + 0x1c]
call fcn.00406bc0
push ecx
mov eax, esp
mov ecx, 0x22
mov dword [esp + 0x58], esp
mov word [eax], cx
push ecx
mov edx, ecx
lea eax, [esp + 0x9c]
mov ecx, esp
mov dword [esp + 0x5c], esp
push eax
mov word [esp + 0x4c], dx
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_class_QString_const__]
lea ecx, [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x2c]
call fcn.0040feb0
mov edx, dword [esp + 0x44]
push edx
push 0
mov ecx, eax
mov byte [esp + 0x90], 0x25
call dword [sym.imp.Qt5Core.dll_public:_class_QString____thiscall_QString::insert_int__class_QChar_]
mov ecx, eax
call dword [sym.imp.Qt5Core.dll_public:_class_QString____thiscall_QString::append_class_QChar_]
push eax
lea ecx, [esp + 0x1c]
call fcn.00406bc0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x84], 0x24
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
push ecx
lea eax, [esp + 0x9c]
mov ecx, esp
mov dword [esp + 0x58], esp
push eax
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_class_QString_const__]
lea ecx, [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x28]
call fcn.0040fcd0
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x88], 0x26
call fcn.00406bc0
lea ecx, [esp + 0x40]
mov byte [esp + 0x84], 0x24
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
push ecx
lea edx, [esp + 0xa0]
mov ecx, esp
mov dword [esp + 0x58], esp
push edx
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_class_QString_const__]
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x44]
push eax
call fcn.0040fcd0
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x88], 0x27
call fcn.00406bc0
lea ecx, [esp + 0x40]
mov byte [esp + 0x84], 0x24
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
mov ecx, dword [esp + 0xa0]
push 0xa
push ecx
lea edx, [esp + 0xa8]
push edx
call ebp
add esp, 0xc
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x88], 0x28
call fcn.00406bc0
lea ecx, [esp + 0xa0]
mov byte [esp + 0x84], 0x24
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
mov eax, dword [esp + 0xa4]
push 0xa
push eax
lea ecx, [esp + 0xa8]
push ecx
call ebp
add esp, 0xc
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x88], 0x29
call fcn.00406bc0
lea ecx, [esp + 0xa0]
mov byte [esp + 0x84], 0x24
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
push ecx
mov eax, esp
mov edx, 0x2c
mov word [eax], dx
lea eax, [esp + 0x54]
mov dword [esp + 0xa4], esp
push eax
lea ecx, [esp + 0x20]
call fcn.0040f980
mov ebp, eax
push ecx
mov eax, esp
mov ecx, 0x2c
lea edx, [esp + 0x50]
mov dword [esp + 0xa4], esp
mov word [eax], cx
push edx
lea ecx, [esp + 0x24]
mov byte [esp + 0x8c], 0x2a
call fcn.0040f980
mov dword [esp + 0x40], eax
push 0x20
push str.INSERT_INTO__1___2__VALUES___3__
mov byte [esp + 0x8c], 0x2b
call esi
mov dword [esp + 0xac], eax
add esp, 4
mov byte [esp + 0xa4], 0x20
mov eax, dword [esp + 0xa4]
mov ecx, esp
mov dword [esp + 0x58], esp
push eax
mov byte [esp + 0x8c], 0x2c
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QChar::constructor_struct_QLatin1Char_]
push 0
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x54]
push edx
lea ecx, [esp + 0xb4]
call edi
mov dword [esp + 0x3c], eax
push ecx
mov byte [esp + 0xa4], 0x20
mov eax, dword [esp + 0xa4]
mov ecx, esp
mov dword [esp + 0x58], esp
push eax
mov byte [esp + 0x8c], 0x2d
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QChar::constructor_struct_QLatin1Char_]
mov ecx, dword [esp + 0x44]
push 0
push ecx
mov ecx, dword [esp + 0x48]
lea edx, [esp + 0x50]
push edx
call edi
mov dword [esp + 0x40], eax
push ecx
mov byte [esp + 0xa4], 0x20
mov eax, dword [esp + 0xa4]
mov byte [esp + 0x88], 0x2e
mov ecx, esp
mov dword [esp + 0x58], esp
push eax
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QChar::constructor_struct_QLatin1Char_]
push 0
push ebp
lea ecx, [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x50]
call edi
lea ecx, [esp + 0x44]
mov byte [esp + 0x84], 0x30
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x48]
mov byte [esp + 0x84], 0x31
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0xa4]
mov byte [esp + 0x84], 0x32
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x4c]
mov byte [esp + 0x84], 0x33
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x50]
mov byte [esp + 0x84], 0x34
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
push 9
push str.Query:__1
call esi
mov dword [esp + 0xa8], eax
add esp, 4
mov ebp, esp
mov dword [esp + 0x58], esp
push ecx
mov byte [esp + 0x48], 0x20
mov edx, dword [esp + 0x48]
mov ecx, esp
mov dword [esp + 0x44], esp
push edx
mov byte [esp + 0x90], 0x35
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QChar::constructor_struct_QLatin1Char_]
push 0
lea eax, [esp + 0x30]
push eax
push ebp
lea ecx, [esp + 0xb4]
call edi
push 0x4a5fcc
push fcn.00402e40
mov byte [esp + 0x90], 0x36
call fcn.00402ec0
mov byte [esp + 0x90], 0x35
mov ecx, dword [0x4a5fd0]
add esp, 8
call fcn.00408ad0
lea ecx, [esp + 0xa0]
mov byte [esp + 0x84], 0x34
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
mov ecx, dword [sym.imp.Qt5Sql.dll_char__QSqlDatabase::defaultConnection]
mov eax, dword [ecx]
test eax, eax
je 0x413770
mov ebp, eax
lea edx, [ebp + 1]
mov cl, byte [ebp]
inc ebp
test cl, cl
jne 0x413764
sub ebp, edx
jmp 0x413772
xor ebp, ebp
push eax
push ebp
lea ecx, [esp + 0x3c]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_class_QLatin1String_]
push 1
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x34]
push eax
mov byte [esp + 0x90], 0x37
call dword [sym.imp.Qt5Sql.dll_public:_static_class_QSqlDatabase___cdecl_QSqlDatabase::database_class_QString_const___bool_]
add esp, 0xc
lea ecx, [esp + 0x34]
mov byte [esp + 0x84], 0x39
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
push ecx
lea edx, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0xa4], esp
push edx
call dword [sym.imp.Qt5Sql.dll_public:_void___thiscall_QSqlDatabase::constructor_class_QSqlDatabase_const__]
lea ecx, [esp + 0x18]
call dword [sym.imp.Qt5Sql.dll_public:_void___thiscall_QSqlQuery::constructor_class_QSqlDatabase_]
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x88], 0x3a
call dword [sym.imp.Qt5Sql.dll_public:_bool___thiscall_QSqlQuery::prepare_class_QString_const__]
test al, al
jne 0x4139ab
push ecx
mov dword [esp + 0x58], esp
mov edi, esp
push 0x18
push str.Preparo_da_query_falhou:
call esi
mov dword [edi], eax
push 0x4a5fcc
push fcn.00402e40
mov byte [esp + 0x98], 0x3b
call fcn.00402ec0
mov byte [esp + 0x98], 0x3a
mov ecx, dword [0x4a5fd0]
add esp, 0x10
call fcn.00409250
lea ecx, [esp + 0x5c]
push ecx
lea ecx, [esp + 0x18]
call dword [sym.imp.Qt5Sql.dll_public:_class_QSqlError___thiscall_QSqlQuery::lastError_void_]
lea edx, [esp + 0x40]
push edx
mov ecx, eax
mov byte [esp + 0x88], 0x3c
call dword [sym.imp.Qt5Sql.dll_public:_class_QString___thiscall_QSqlError::text_void_]
mov esi, dword [esp + 0x20]
add esi, 0x20
push eax
mov ecx, esi
mov byte [esp + 0x88], 0x3d
call dword [sym.imp.Qt5Core.dll_public:_class_QString____thiscall_QString::operator_class_QString__]
lea ecx, [esp + 0x40]
mov byte [esp + 0x84], 0x3c
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x5c]
mov byte [esp + 0x84], 0x3a
call dword [sym.imp.Qt5Sql.dll_public:_void___thiscall_QSqlError::destructor_void_]
push ecx
mov ecx, esp
mov dword [esp + 0x58], esp
push esi
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_class_QString_const__]
mov byte [esp + 0x88], 0x3e
push 0x4a5fcc
push fcn.00402e40
call fcn.00402ec0
mov byte [esp + 0x90], 0x3a
mov ecx, dword [0x4a5fd0]
add esp, 8
call fcn.00409250
mov eax, dword [esp + 0x8c]
mov dword [eax], 0
lea ecx, [esp + 0x14]
mov byte [esp + 0x84], 0x39
call dword [sym.imp.Qt5Sql.dll_public:_void___thiscall_QSqlQuery::destructor_void_]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x84], 0x34
call dword [sym.imp.Qt5Sql.dll_public:_void___thiscall_QSqlDatabase::destructor_void_]
lea ecx, [esp + 0x24]
mov byte [esp + 0x84], 0x24
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x18]
mov byte [esp + 0x84], bl
call fcn.00404160
lea ecx, [esp + 0x1c]
mov byte [esp + 0x84], 0x16
call fcn.00404160
lea ecx, [esp + 0x30]
mov byte [esp + 0x84], 0x14
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x28]
mov byte [esp + 0x84], 3
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x90]
mov byte [esp + 0x84], 2
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x94]
mov byte [esp + 0x84], 1
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x98]
mov byte [esp + 0x84], 0
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x9c]
mov dword [esp + 0x84], 0xffffffff
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
xor al, al
jmp 0x413db9
lea ecx, [esp + 0x14]
call dword [sym.imp.Qt5Sql.dll_public:_bool___thiscall_QSqlQuery::exec_void_]
push ecx
mov dword [esp + 0x58], esp
test al, al
jne 0x413a77
mov edi, esp
push 0x19
push str.Execucao_da_query_falhou:
call esi
mov dword [edi], eax
push 0x4a5fcc
push fcn.00402e40
mov byte [esp + 0x98], 0x3f
call fcn.00402ec0
mov byte [esp + 0x98], 0x3a
mov ecx, dword [0x4a5fd0]
add esp, 0x10
call fcn.00409250
lea ecx, [esp + 0x5c]
push ecx
lea ecx, [esp + 0x18]
call dword [sym.imp.Qt5Sql.dll_public:_class_QSqlError___thiscall_QSqlQuery::lastError_void_]
lea edx, [esp + 0x40]
push edx
mov ecx, eax
mov byte [esp + 0x88], 0x40
call dword [sym.imp.Qt5Sql.dll_public:_class_QString___thiscall_QSqlError::text_void_]
mov esi, dword [esp + 0x20]
add esi, 0x20
push eax
mov ecx, esi
mov byte [esp + 0x88], 0x41
call dword [sym.imp.Qt5Core.dll_public:_class_QString____thiscall_QString::operator_class_QString__]
lea ecx, [esp + 0x40]
mov byte [esp + 0x84], 0x40
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x5c]
mov byte [esp + 0x84], 0x3a
call dword [sym.imp.Qt5Sql.dll_public:_void___thiscall_QSqlError::destructor_void_]
push ecx
mov ecx, esp
mov dword [esp + 0x58], esp
push esi
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_class_QString_const__]
mov byte [esp + 0x88], 0x42
jmp 0x4138a0
mov ebp, esp
push 0x16
push str.Insercao_de_produto_OK
call esi
mov dword [ebp], eax
push 0x4a5fcc
push fcn.00402e40
mov byte [esp + 0x98], 0x43
call fcn.00402ec0
mov byte [esp + 0x98], 0x3a
mov ecx, dword [0x4a5fd0]
add esp, 0x10
call fcn.00408ad0
mov ebp, dword [esp + 0x20]
add ebp, 0x20
push 0x47f56e
mov ecx, ebp
call dword [sym.imp.Qt5Core.dll_public:_class_QString____thiscall_QString::operator_char_const__]
push ebx
push str.SELECT_MAX__1__FROM__2_
call esi
mov dword [esp + 0x40], eax
add esp, 4
mov byte [esp + 0x44], 0x20
mov edx, dword [esp + 0x44]
mov ecx, esp
mov dword [esp + 0x40], esp
push edx
mov byte [esp + 0x8c], 0x44
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QChar::constructor_struct_QLatin1Char_]
push 0
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x60]
push ecx
lea ecx, [esp + 0x48]
call edi
mov dword [esp + 0x3c], eax
push ecx
mov byte [esp + 0x44], 0x20
mov edx, dword [esp + 0x44]
mov ecx, esp
mov dword [esp + 0x5c], esp
push edx
mov byte [esp + 0x8c], 0x45
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QChar::constructor_struct_QLatin1Char_]
push 0
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0xac]
push ecx
mov ecx, dword [esp + 0x4c]
call edi
lea ecx, [esp + 0x54]
mov byte [esp + 0x84], 0x47
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x38]
mov byte [esp + 0x84], 0x48
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea edx, [esp + 0xa0]
push edx
lea ecx, [esp + 0x18]
call dword [sym.imp.Qt5Sql.dll_public:_bool___thiscall_QSqlQuery::prepare_class_QString_const__]
lea ecx, [esp + 0x14]
call dword [sym.imp.Qt5Sql.dll_public:_bool___thiscall_QSqlQuery::exec_void_]
test al, al
jne 0x413c7f
push ecx
mov dword [esp + 0x5c], esp
mov edi, esp
push 0x21
push str.Consulta_de_id_do_produto_falhou:
call esi
mov dword [edi], eax
push 0x4a5fcc
push fcn.00402e40
mov byte [esp + 0x98], 0x49
call fcn.00402ec0
mov byte [esp + 0x98], 0x48
mov ecx, dword [0x4a5fd0]
add esp, 0x10
call fcn.00409250
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x18]
call dword [sym.imp.Qt5Sql.dll_public:_class_QSqlError___thiscall_QSqlQuery::lastError_void_]
lea ecx, [esp + 0x40]
push ecx
mov ecx, eax
mov byte [esp + 0x88], 0x4a
call dword [sym.imp.Qt5Sql.dll_public:_class_QString___thiscall_QSqlError::text_void_]
push eax
mov ecx, ebp
mov byte [esp + 0x88], 0x4b
call dword [sym.imp.Qt5Core.dll_public:_class_QString____thiscall_QString::operator_class_QString__]
lea ecx, [esp + 0x40]
mov byte [esp + 0x84], 0x4a
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x5c]
mov byte [esp + 0x84], 0x48
call dword [sym.imp.Qt5Sql.dll_public:_void___thiscall_QSqlError::destructor_void_]
push ecx
mov ecx, esp
mov dword [esp + 0x5c], esp
push ebp
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_class_QString_const__]
push 0x4a5fcc
push fcn.00402e40
mov byte [esp + 0x90], 0x4c
call fcn.00402ec0
mov byte [esp + 0x90], 0x48
mov ecx, dword [0x4a5fd0]
add esp, 8
call fcn.00409250
mov edx, dword [esp + 0x8c]
lea ecx, [esp + 0xa0]
mov dword [edx], 0
mov byte [esp + 0x84], 0x3a
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
jmp 0x4138d2
lea ecx, [esp + 0x14]
call dword [sym.imp.Qt5Sql.dll_public:_bool___thiscall_QSqlQuery::next_void_]
mov ecx, dword [esp + 0x20]
call fcn.00436df0
push 0
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0x1c]
call dword [sym.imp.Qt5Sql.dll_public:_class_QVariant___thiscall_QSqlQuery::value_int_]
push 0
mov ecx, eax
mov byte [esp + 0x88], 0x4d
call dword [sym.imp.Qt5Core.dll_public:_int___thiscall_QVariant::toInt_bool__const]
mov ecx, dword [esp + 0x8c]
mov dword [ecx], eax
lea ecx, [esp + 0x6c]
mov byte [esp + 0x84], 0x48
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QVariant::destructor_void_]
lea ecx, [esp + 0xa0]
mov byte [esp + 0x84], 0x3a
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x14]
mov byte [esp + 0x84], 0x39
call dword [sym.imp.Qt5Sql.dll_public:_void___thiscall_QSqlQuery::destructor_void_]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x84], 0x34
call dword [sym.imp.Qt5Sql.dll_public:_void___thiscall_QSqlDatabase::destructor_void_]
lea ecx, [esp + 0x24]
mov byte [esp + 0x84], 0x24
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x18]
mov byte [esp + 0x84], bl
call fcn.00404160
lea ecx, [esp + 0x1c]
mov byte [esp + 0x84], 0x16
call fcn.00404160
lea ecx, [esp + 0x30]
mov byte [esp + 0x84], 0x14
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x28]
mov byte [esp + 0x84], 3
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x90]
mov byte [esp + 0x84], 2
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x94]
mov byte [esp + 0x84], 1
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x98]
mov byte [esp + 0x84], 0
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x9c]
mov dword [esp + 0x84], 0xffffffff
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
mov al, 1
mov ecx, dword [esp + 0x7c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x74
ret 0x1c