Function at 0x413dd0
Capabilities:
Access peb ldr_data
Contain obfuscated stackstrings
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x44166d
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a5f44]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov dword [esp + 0x24], 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 + 0x4c], esp
mov edi, esp
push 0x1a
push str.______Atualizando_produto:
mov dword [esp + 0x74], 3
call esi
mov dword [edi], eax
push 0x4a5fcc
push fcn.00402e40
mov byte [esp + 0x7c], 4
call fcn.00402ec0
mov byte [esp + 0x7c], 3
mov ecx, dword [0x4a5fd0]
add esp, 0x10
call fcn.00408ad0
push 0xa
push str.Codigo:__1
call esi
mov dword [esp + 0x40], eax
add esp, 4
mov edi, esp
mov dword [esp + 0x4c], esp
push ecx
mov byte [esp + 0x44], 0x20
mov eax, dword [esp + 0x44]
mov ecx, esp
mov dword [esp + 0x4c], esp
mov bl, 5
push eax
mov byte [esp + 0x74], bl
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QChar::constructor_struct_QLatin1Char_]
push 0
lea ecx, [esp + 0x80]
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 + 0x4c]
call edi
push 0x4a5fcc
push fcn.00402e40
mov byte [esp + 0x74], 6
call fcn.00402ec0
mov byte [esp + 0x74], bl
mov ecx, dword [0x4a5fd0]
add esp, 8
call fcn.00408ad0
lea ecx, [esp + 0x38]
mov byte [esp + 0x68], 3
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
push 0xd
push str.Descricao:__1
call esi
mov dword [esp + 0x40], eax
add esp, 4
mov ebx, esp
mov dword [esp + 0x4c], esp
push ecx
mov byte [esp + 0x44], 0x20
mov edx, dword [esp + 0x44]
mov ecx, esp
mov dword [esp + 0x4c], esp
push edx
mov byte [esp + 0x74], 7
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QChar::constructor_struct_QLatin1Char_]
push 0
lea eax, [esp + 0x84]
push eax
push ebx
lea ecx, [esp + 0x4c]
call edi
push 0x4a5fcc
push fcn.00402e40
mov byte [esp + 0x74], 8
call fcn.00402ec0
mov byte [esp + 0x74], 7
mov ecx, dword [0x4a5fd0]
add esp, 8
call fcn.00408ad0
lea ecx, [esp + 0x38]
mov byte [esp + 0x68], 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 + 0x40], eax
add esp, 4
mov ebx, esp
mov dword [esp + 0x4c], esp
push ecx
mov byte [esp + 0x44], 0x20
mov edx, dword [esp + 0x44]
mov ecx, esp
mov dword [esp + 0x4c], esp
push edx
mov byte [esp + 0x74], 9
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QChar::constructor_struct_QLatin1Char_]
push 0
lea eax, [esp + 0x88]
push eax
push ebx
lea ecx, [esp + 0x4c]
call edi
push 0x4a5fcc
push fcn.00402e40
mov byte [esp + 0x74], 0xa
call fcn.00402ec0
mov byte [esp + 0x74], 9
mov ecx, dword [0x4a5fd0]
add esp, 8
call fcn.00408ad0
lea ecx, [esp + 0x38]
mov byte [esp + 0x68], 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 + 0x40], eax
add esp, 4
mov ebx, esp
mov dword [esp + 0x4c], esp
push ecx
mov byte [esp + 0x44], 0x20
mov edx, dword [esp + 0x44]
mov ecx, esp
mov dword [esp + 0x4c], esp
push edx
mov byte [esp + 0x74], 0xb
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QChar::constructor_struct_QLatin1Char_]
push 0
lea eax, [esp + 0x8c]
push eax
push ebx
lea ecx, [esp + 0x4c]
call edi
push 0x4a5fcc
push fcn.00402e40
mov byte [esp + 0x74], 0xc
call fcn.00402ec0
mov byte [esp + 0x74], 0xb
mov ecx, dword [0x4a5fd0]
add esp, 8
call fcn.00408ad0
lea ecx, [esp + 0x38]
mov byte [esp + 0x68], 3
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
mov ecx, dword [esp + 0x84]
push 0xa
mov ebp, dword [sym.imp.Qt5Core.dll_public:_static_class_QString___cdecl_QString::number_int__int_]
push ecx
lea edx, [esp + 0x4c]
push edx
call ebp
mov dword [esp + 0x4c], eax
push 7
push str.NCM:__1
mov byte [esp + 0x7c], 0xd
call esi
mov dword [esp + 0x4c], eax
add esp, 0x10
mov ebx, esp
mov dword [esp + 0x4c], esp
push ecx
mov byte [esp + 0x44], 0x20
mov eax, dword [esp + 0x44]
mov ecx, esp
mov dword [esp + 0x54], esp
push eax
mov byte [esp + 0x74], 0xe
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QChar::constructor_struct_QLatin1Char_]
mov ecx, dword [esp + 0x48]
push 0
push ecx
push ebx
lea ecx, [esp + 0x4c]
call edi
push 0x4a5fcc
push fcn.00402e40
mov byte [esp + 0x74], 0xf
call fcn.00402ec0
mov byte [esp + 0x74], 0xe
mov ecx, dword [0x4a5fd0]
add esp, 8
call fcn.00408ad0
lea ecx, [esp + 0x38]
mov byte [esp + 0x68], 0xd
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x44]
mov byte [esp + 0x68], 3
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
mov edx, dword [esp + 0x88]
push 0xa
push edx
lea eax, [esp + 0x44]
push eax
call ebp
mov dword [esp + 0x4c], eax
push 0xa
push str.Origem:__1
mov byte [esp + 0x7c], 0x10
call esi
mov dword [esp + 0x4c], eax
add esp, 0x10
mov ebx, esp
mov dword [esp + 0x50], esp
push ecx
mov byte [esp + 0x4c], 0x20
mov edx, dword [esp + 0x4c]
mov ecx, esp
mov dword [esp + 0x50], esp
push edx
mov byte [esp + 0x74], 0x11
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QChar::constructor_struct_QLatin1Char_]
mov eax, dword [esp + 0x48]
push 0
push eax
push ebx
lea ecx, [esp + 0x4c]
call edi
push 0x4a5fcc
push fcn.00402e40
mov byte [esp + 0x74], 0x12
call fcn.00402ec0
mov byte [esp + 0x74], 0x11
mov ecx, dword [0x4a5fd0]
add esp, 8
call fcn.00408ad0
lea ecx, [esp + 0x38]
mov byte [esp + 0x68], 0x10
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x3c]
mov byte [esp + 0x68], 3
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
push ecx
mov dword [esp + 0x50], esp
mov ebx, esp
push 0x13
push str.nome_tabela_produto
call esi
mov dword [ebx], eax
push 0x4a6094
push 0x404400
mov byte [esp + 0x7c], 0x13
call fcn.00402ec0
add esp, 0x10
lea ecx, [esp + 0x38]
push ecx
mov byte [esp + 0x70], 3
mov ecx, dword [0x4a6098]
call fcn.00411a80
mov edx, dword [sym.imp.Qt5Core.dll_struct_QListData::Data_const_QListData::shared_null]
mov dword [esp + 0x14], edx
push ecx
mov dword [esp + 0x50], esp
mov dword [esp + 0x48], esp
push 0xb
mov bl, 0x15
push str.nome_codigo
mov byte [esp + 0x74], bl
call esi
mov ecx, dword [esp + 0x50]
mov dword [ecx], eax
push 0x4a6094
push 0x404400
mov byte [esp + 0x7c], 0x16
call fcn.00402ec0
add esp, 0x10
lea edx, [esp + 0x44]
mov byte [esp + 0x6c], bl
mov ecx, dword [0x4a6098]
push edx
call fcn.00411a80
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x6c], 0x17
call fcn.00406bc0
lea ecx, [esp + 0x40]
mov byte [esp + 0x68], bl
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
push ecx
mov dword [esp + 0x50], esp
mov dword [esp + 0x48], esp
push 0xe
push str.nome_descricao
call esi
mov ecx, dword [esp + 0x50]
mov dword [ecx], eax
push 0x4a6094
push 0x404400
mov byte [esp + 0x7c], 0x18
call fcn.00402ec0
add esp, 0x10
lea edx, [esp + 0x44]
mov byte [esp + 0x6c], bl
mov ecx, dword [0x4a6098]
push edx
call fcn.00411a80
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x6c], 0x19
call fcn.00406bc0
lea ecx, [esp + 0x40]
mov byte [esp + 0x68], bl
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
push ecx
mov dword [esp + 0x50], esp
mov dword [esp + 0x48], esp
push 0x11
push str.nome_preco_varejo
call esi
mov ecx, dword [esp + 0x50]
mov dword [ecx], eax
push 0x4a6094
push 0x404400
mov byte [esp + 0x7c], 0x1a
call fcn.00402ec0
add esp, 0x10
lea edx, [esp + 0x44]
mov byte [esp + 0x6c], bl
mov ecx, dword [0x4a6098]
push edx
call fcn.00411a80
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x6c], 0x1b
call fcn.00406bc0
lea ecx, [esp + 0x40]
mov byte [esp + 0x68], bl
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
push ecx
mov dword [esp + 0x50], esp
mov dword [esp + 0x48], esp
push 0x12
push str.nome_preco_atacado
call esi
mov ecx, dword [esp + 0x50]
mov dword [ecx], eax
push 0x4a6094
push 0x404400
mov byte [esp + 0x7c], 0x1c
call fcn.00402ec0
add esp, 0x10
lea edx, [esp + 0x44]
mov byte [esp + 0x6c], bl
mov ecx, dword [0x4a6098]
push edx
call fcn.00411a80
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x6c], 0x1d
call fcn.00406bc0
lea ecx, [esp + 0x40]
mov byte [esp + 0x68], bl
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
push ecx
mov dword [esp + 0x50], esp
mov dword [esp + 0x48], esp
push 8
push str.nome_ncm
call esi
mov ecx, dword [esp + 0x50]
mov dword [ecx], eax
push 0x4a6094
push 0x404400
mov byte [esp + 0x7c], 0x1e
call fcn.00402ec0
add esp, 0x10
lea edx, [esp + 0x44]
mov byte [esp + 0x6c], bl
mov ecx, dword [0x4a6098]
push edx
call fcn.00411a80
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x6c], 0x1f
call fcn.00406bc0
lea ecx, [esp + 0x40]
mov byte [esp + 0x68], bl
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
push ecx
mov dword [esp + 0x50], esp
mov dword [esp + 0x48], esp
push 0xb
push str.nome_origem
call esi
mov ecx, dword [esp + 0x50]
mov dword [ecx], eax
push 0x4a6094
push 0x404400
mov byte [esp + 0x7c], 0x20
call fcn.00402ec0
add esp, 0x10
lea edx, [esp + 0x44]
mov byte [esp + 0x6c], bl
mov ecx, dword [0x4a6098]
push edx
call fcn.00411a80
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x6c], 0x21
call fcn.00406bc0
lea ecx, [esp + 0x40]
mov byte [esp + 0x68], bl
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
push ecx
mov dword [esp + 0x50], esp
mov dword [esp + 0x48], esp
push 7
push str.nome_id
call esi
mov ecx, dword [esp + 0x50]
mov dword [ecx], eax
push 0x4a6094
push 0x404400
mov byte [esp + 0x7c], 0x22
call fcn.00402ec0
add esp, 0x10
lea edx, [esp + 0x34]
mov byte [esp + 0x6c], bl
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 + 0x18], eax
push ecx
mov eax, esp
mov ecx, 0x22
mov edx, ecx
mov word [eax], cx
mov word [esp + 0x48], dx
mov eax, dword [esp + 0x48]
mov dword [esp + 0x50], esp
push eax
push 0
lea ecx, [esp + 0x80]
mov byte [esp + 0x74], 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 ecx, 0x22
mov eax, esp
mov dword [esp + 0x50], esp
mov word [eax], cx
mov edx, ecx
push ecx
lea eax, [esp + 0x80]
mov ecx, esp
mov dword [esp + 0x54], esp
push eax
mov word [esp + 0x50], dx
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_class_QString_const__]
lea ecx, [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x30]
call fcn.0040feb0
mov edx, dword [esp + 0x48]
push edx
push 0
mov ecx, eax
mov byte [esp + 0x74], 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 + 0x40]
mov byte [esp + 0x68], 0x24
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
push ecx
lea eax, [esp + 0x80]
mov ecx, esp
mov dword [esp + 0x50], esp
push eax
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_class_QString_const__]
lea ecx, [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x2c]
call fcn.0040fcd0
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x6c], 0x26
call fcn.00406bc0
lea ecx, [esp + 0x44]
mov byte [esp + 0x68], 0x24
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
push ecx
lea edx, [esp + 0x84]
mov ecx, esp
mov dword [esp + 0x50], esp
push edx
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_class_QString_const__]
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x48]
push eax
call fcn.0040fcd0
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x6c], 0x27
call fcn.00406bc0
lea ecx, [esp + 0x44]
mov byte [esp + 0x68], 0x24
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
mov ecx, dword [esp + 0x84]
push 0xa
push ecx
lea edx, [esp + 0x8c]
push edx
call ebp
add esp, 0xc
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x6c], 0x28
call fcn.00406bc0
lea ecx, [esp + 0x84]
mov byte [esp + 0x68], 0x24
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
mov eax, dword [esp + 0x88]
push 0xa
push eax
lea ecx, [esp + 0x8c]
push ecx
call ebp
add esp, 0xc
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x6c], 0x29
call fcn.00406bc0
lea ecx, [esp + 0x84]
mov byte [esp + 0x68], 0x24
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
mov edx, dword [sym.imp.Qt5Core.dll_struct_QListData::Data_const_QListData::shared_null]
mov dword [esp + 0x1c], edx
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0xc]
sub ecx, dword [eax + 8]
xor ebp, ebp
mov byte [esp + 0x68], 0x2a
test ecx, ecx
jle 0x4146a0
mov edi, edi
lea ecx, [esp + 0x84]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_void_]
mov eax, dword [esp + 0x14]
mov edx, dword [eax + 8]
add edx, ebp
lea eax, [eax + edx*4 + 0x10]
push eax
lea ecx, [esp + 0x88]
mov byte [esp + 0x6c], 0x2b
call dword [sym.imp.Qt5Core.dll_public:_class_QString____thiscall_QString::append_class_QString_const__]
push 0x4827dc
lea ecx, [esp + 0x88]
call dword [sym.imp.Qt5Core.dll_public:_class_QString____thiscall_QString::append_char_const__]
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 8]
add ecx, ebp
lea edx, [eax + ecx*4 + 0x10]
push edx
lea ecx, [esp + 0x88]
call dword [sym.imp.Qt5Core.dll_public:_class_QString____thiscall_QString::append_class_QString_const__]
lea eax, [esp + 0x84]
push eax
lea ecx, [esp + 0x20]
call fcn.00406bc0
lea ecx, [esp + 0x84]
mov byte [esp + 0x68], 0x2a
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0xc]
sub ecx, dword [eax + 8]
inc ebp
cmp ebp, ecx
jl 0x414610
push ecx
mov eax, esp
mov dword [esp + 0x88], esp
mov edx, 0x2c
mov word [eax], dx
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x24]
call fcn.0040f980
mov ebp, eax
push 0x20
push str.UPDATE__1_SET__2_WHERE__3___4
mov byte [esp + 0x70], 0x2c
call esi
mov dword [esp + 0x8c], eax
add esp, 4
mov byte [esp + 0x8c], 0x20
mov edx, dword [esp + 0x8c]
mov ecx, esp
mov dword [esp + 0x50], esp
push edx
mov byte [esp + 0x70], 0x2d
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QChar::constructor_struct_QLatin1Char_]
push 0
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x44]
push ecx
lea ecx, [esp + 0x94]
call edi
mov dword [esp + 0x44], eax
push ecx
mov byte [esp + 0x8c], 0x20
mov edx, dword [esp + 0x8c]
mov ecx, esp
mov dword [esp + 0x50], esp
push edx
mov byte [esp + 0x70], 0x2e
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QChar::constructor_struct_QLatin1Char_]
mov ecx, dword [esp + 0x48]
push 0
push ebp
lea eax, [esp + 0x48]
push eax
call edi
mov ebp, eax
push ecx
mov byte [esp + 0x8c], 0x20
mov edx, dword [esp + 0x8c]
mov ecx, esp
mov dword [esp + 0x50], esp
push edx
mov byte [esp + 0x70], 0x2f
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QChar::constructor_struct_QLatin1Char_]
push 0
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x4c]
push ecx
mov ecx, ebp
call edi
mov ebp, eax
push ecx
mov byte [esp + 0x8c], 0x20
mov edx, dword [esp + 0x8c]
mov ecx, esp
mov dword [esp + 0x50], esp
push edx
mov byte [esp + 0x70], 0x30
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QChar::constructor_struct_QLatin1Char_]
mov eax, dword [esp + 0x74]
push 0xa
push 0
push eax
lea ecx, [esp + 0x38]
push ecx
mov ecx, ebp
call dword [sym.imp.Qt5Core.dll_public:_class_QString___thiscall_QString::arg_int__int__int__class_QChar_]
lea ecx, [esp + 0x40]
mov byte [esp + 0x68], 0x32
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x3c]
mov byte [esp + 0x68], 0x33
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x38]
mov byte [esp + 0x68], 0x34
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x84]
mov byte [esp + 0x68], 0x35
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x48]
mov byte [esp + 0x68], 0x36
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
push 9
push str.Query:__1
call esi
mov dword [esp + 0x90], eax
add esp, 4
mov ebp, esp
mov dword [esp + 0x50], esp
push ecx
mov byte [esp + 0x78], 0x20
mov edx, dword [esp + 0x78]
mov ecx, esp
mov dword [esp + 0x4c], esp
push edx
mov byte [esp + 0x74], 0x37
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QChar::constructor_struct_QLatin1Char_]
push 0
lea eax, [esp + 0x34]
push eax
push ebp
lea ecx, [esp + 0x9c]
call edi
mov eax, dword [0x4a5fcc]
mov byte [esp + 0x6c], 0x38
mov ecx, 0x4a5fcc
xchg dword [ecx], eax
mov ebp, dword [sym.imp.Qt5Core.dll_public:_static_void___cdecl_QThread::yieldCurrentThread_void_]
cmp eax, 2
je 0x4148a2
test eax, eax
jne 0x414886
mov edx, 1
lock cmpxchg dword [ecx], edx
test eax, eax
jne 0x414886
call fcn.00402e40
mov edx, 2
mov eax, 0x4a5fcc
xchg dword [eax], edx
jmp 0x4148a2
call ebp
mov ecx, 2
mov edx, 0x4a5fcc
mov eax, ecx
lock cmpxchg dword [edx], ecx
cmp eax, 2
sete al
test al, al
je 0x414886
mov byte [esp + 0x6c], 0x37
mov ecx, dword [0x4a5fd0]
call fcn.00408ad0
lea ecx, [esp + 0x88]
mov byte [esp + 0x68], 0x36
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
mov eax, dword [sym.imp.Qt5Sql.dll_char__QSqlDatabase::defaultConnection]
mov edi, dword [eax]
test edi, edi
je 0x4148df
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4148d4
sub eax, edx
jmp 0x4148e1
xor eax, eax
push edi
push eax
lea ecx, [esp + 0x90]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_class_QLatin1String_]
push 1
lea ecx, [esp + 0x8c]
push ecx
lea edx, [esp + 0x34]
push edx
mov byte [esp + 0x74], 0x39
call dword [sym.imp.Qt5Sql.dll_public:_static_class_QSqlDatabase___cdecl_QSqlDatabase::database_class_QString_const___bool_]
add esp, 0xc
lea ecx, [esp + 0x88]
mov byte [esp + 0x68], 0x3b
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
push ecx
lea eax, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x74], esp
push eax
call dword [sym.imp.Qt5Sql.dll_public:_void___thiscall_QSqlDatabase::constructor_class_QSqlDatabase_const__]
lea ecx, [esp + 0x24]
call dword [sym.imp.Qt5Sql.dll_public:_void___thiscall_QSqlQuery::constructor_class_QSqlDatabase_]
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x24]
mov byte [esp + 0x6c], 0x3c
call dword [sym.imp.Qt5Sql.dll_public:_bool___thiscall_QSqlQuery::prepare_class_QString_const__]
test al, al
jne 0x414c35
push ecx
mov dword [esp + 0x74], esp
mov edi, esp
push 0x18
push str.Preparo_da_query_falhou:
call esi
add esp, 8
mov dword [edi], eax
mov eax, dword [0x4a5fcc]
mov byte [esp + 0x6c], 0x3d
mov edx, 0x4a5fcc
xchg dword [edx], eax
cmp eax, 2
je 0x4149c2
test eax, eax
jne 0x4149a6
mov ecx, 1
lock cmpxchg dword [edx], ecx
test eax, eax
jne 0x4149a6
call fcn.00402e40
mov eax, 2
mov ecx, 0x4a5fcc
xchg dword [ecx], eax
jmp 0x4149c2
call ebp
mov edx, 2
mov ecx, 0x4a5fcc
mov eax, edx
lock cmpxchg dword [ecx], edx
cmp eax, 2
sete al
test al, al
je 0x4149a6
mov byte [esp + 0x6c], 0x3c
mov ecx, dword [0x4a5fd0]
call fcn.00409250
lea edx, [esp + 0x50]
push edx
lea ecx, [esp + 0x24]
call dword [sym.imp.Qt5Sql.dll_public:_class_QSqlError___thiscall_QSqlQuery::lastError_void_]
lea ecx, [esp + 0x70]
push ecx
mov ecx, eax
mov byte [esp + 0x6c], 0x3e
call dword [sym.imp.Qt5Sql.dll_public:_class_QString___thiscall_QSqlError::text_void_]
mov esi, dword [esp + 0x24]
add esi, 0x20
push eax
mov ecx, esi
mov byte [esp + 0x6c], 0x3f
call dword [sym.imp.Qt5Core.dll_public:_class_QString____thiscall_QString::operator_class_QString__]
lea ecx, [esp + 0x70]
mov byte [esp + 0x68], 0x3e
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x50]
mov byte [esp + 0x68], 0x3c
call dword [sym.imp.Qt5Sql.dll_public:_void___thiscall_QSqlError::destructor_void_]
push ecx
mov edx, esp
mov dword [esp + 0x74], esp
push esi
push str.SQLITE:
push edx
call fcn.00405640
add esp, 0xc
mov eax, dword [0x4a5fcc]
mov byte [esp + 0x6c], 0x40
mov ecx, 0x4a5fcc
xchg dword [ecx], eax
cmp eax, 2
je 0x414a92
test eax, eax
jne 0x414a76
mov edx, 1
lock cmpxchg dword [ecx], edx
test eax, eax
jne 0x414a76
call fcn.00402e40
mov edx, 2
mov eax, 0x4a5fcc
xchg dword [eax], edx
jmp 0x414a92
call ebp
mov ecx, 2
mov edx, 0x4a5fcc
mov eax, ecx
lock cmpxchg dword [edx], ecx
cmp eax, 2
sete al
test al, al
je 0x414a76
mov byte [esp + 0x6c], 0x3c
mov ecx, dword [0x4a5fd0]
call fcn.00409250
lea ecx, [esp + 0x20]
mov byte [esp + 0x68], 0x3b
call dword [sym.imp.Qt5Sql.dll_public:_void___thiscall_QSqlQuery::destructor_void_]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x68], 0x36
call dword [sym.imp.Qt5Sql.dll_public:_void___thiscall_QSqlDatabase::destructor_void_]
lea ecx, [esp + 0x28]
mov byte [esp + 0x68], 0x2a
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov byte [esp + 0x68], 0x24
test ecx, ecx
je 0x414af5
cmp ecx, 0xffffffff
je 0x414b29
or ecx, 0xffffffff
lock xadd dword [eax], ecx
setne al
test al, al
jne 0x414b29
mov eax, dword [esp + 0x1c]
mov edx, dword [eax + 0xc]
mov ecx, dword [eax + 8]
lea esi, [eax + edx*4 + 0x10]
lea edi, [eax + ecx*4 + 0x10]
mov ebp, eax
cmp edi, esi
je 0x414b1f
lea esp, [esp]
sub esi, 4
mov ecx, esi
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
cmp esi, edi
jne 0x414b10
push ebp
call dword [sym.imp.Qt5Core.dll_public:_static_void___cdecl_QListData::dispose_struct_QListData::Data__]
add esp, 4
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov byte [esp + 0x68], 0x23
test ecx, ecx
je 0x414b4f
cmp ecx, 0xffffffff
je 0x414b7c
or edx, 0xffffffff
lock xadd dword [eax], edx
setne al
test al, al
jne 0x414b7c
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 8]
lea esi, [eax + ecx*4 + 0x10]
lea edi, [eax + edx*4 + 0x10]
mov ebp, eax
cmp edi, esi
je 0x414b72
sub esi, 4
mov ecx, esi
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
cmp esi, edi
jne 0x414b63
push ebp
call dword [sym.imp.Qt5Core.dll_public:_static_void___cdecl_QListData::dispose_struct_QListData::Data__]
add esp, 4
lea ecx, [esp + 0x30]
mov byte [esp + 0x68], bl
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov byte [esp + 0x68], 0x14
test ecx, ecx
je 0x414bb0
cmp ecx, 0xffffffff
je 0x414bdd
or ecx, 0xffffffff
lock xadd dword [eax], ecx
setne al
test al, al
jne 0x414bdd
mov eax, dword [esp + 0x14]
mov edx, dword [eax + 0xc]
mov ecx, dword [eax + 8]
lea esi, [eax + edx*4 + 0x10]
lea edi, [eax + ecx*4 + 0x10]
mov ebx, eax
cmp edi, esi
je 0x414bd3
sub esi, 4
mov ecx, esi
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
cmp esi, edi
jne 0x414bc4
push ebx
call dword [sym.imp.Qt5Core.dll_public:_static_void___cdecl_QListData::dispose_struct_QListData::Data__]
add esp, 4
lea ecx, [esp + 0x34]
mov byte [esp + 0x68], 3
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x74]
mov byte [esp + 0x68], 2
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x78]
mov byte [esp + 0x68], 1
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x7c]
mov byte [esp + 0x68], 0
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x80]
mov dword [esp + 0x68], 0xffffffff
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
xor al, al
jmp 0x41501d
lea ecx, [esp + 0x20]
call dword [sym.imp.Qt5Sql.dll_public:_bool___thiscall_QSqlQuery::exec_void_]
push ecx
mov dword [esp + 0x74], esp
mov edi, esp
push 0x19
test al, al
jne 0x414e44
push str.Execucao_da_query_falhou:
call esi
mov dword [edi], eax
push 0x4a5fcc
push fcn.00402e40
mov byte [esp + 0x7c], 0x41
call fcn.00402ec0
mov byte [esp + 0x7c], 0x3c
mov ecx, dword [0x4a5fd0]
add esp, 0x10
call fcn.00409250
lea edx, [esp + 0x50]
push edx
lea ecx, [esp + 0x24]
call dword [sym.imp.Qt5Sql.dll_public:_class_QSqlError___thiscall_QSqlQuery::lastError_void_]
lea ecx, [esp + 0x70]
push ecx
mov ecx, eax
mov byte [esp + 0x6c], 0x42
call dword [sym.imp.Qt5Sql.dll_public:_class_QString___thiscall_QSqlError::text_void_]
mov esi, dword [esp + 0x24]
add esi, 0x20
push eax
mov ecx, esi
mov byte [esp + 0x6c], 0x43
call dword [sym.imp.Qt5Core.dll_public:_class_QString____thiscall_QString::operator_class_QString__]
lea ecx, [esp + 0x70]
mov byte [esp + 0x68], 0x42
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x50]
mov byte [esp + 0x68], 0x3c
call dword [sym.imp.Qt5Sql.dll_public:_void___thiscall_QSqlError::destructor_void_]
push ecx
mov ecx, esp
mov dword [esp + 0x50], esp
push esi
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_class_QString_const__]
push 0x4a5fcc
push fcn.00402e40
mov byte [esp + 0x74], 0x44
call fcn.00402ec0
mov byte [esp + 0x74], 0x3c
mov ecx, dword [0x4a5fd0]
add esp, 8
call fcn.00409250
lea ecx, [esp + 0x20]
mov byte [esp + 0x68], 0x3b
call dword [sym.imp.Qt5Sql.dll_public:_void___thiscall_QSqlQuery::destructor_void_]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x68], 0x36
call dword [sym.imp.Qt5Sql.dll_public:_void___thiscall_QSqlDatabase::destructor_void_]
lea ecx, [esp + 0x28]
mov byte [esp + 0x68], 0x2a
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov byte [esp + 0x68], 0x24
test ecx, ecx
je 0x414d5c
cmp ecx, 0xffffffff
je 0x414d89
or edx, 0xffffffff
lock xadd dword [eax], edx
setne al
test al, al
jne 0x414d89
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 8]
lea esi, [eax + ecx*4 + 0x10]
lea edi, [eax + edx*4 + 0x10]
mov ebp, eax
cmp edi, esi
je 0x414d7f
sub esi, 4
mov ecx, esi
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
cmp esi, edi
jne 0x414d70
push ebp
call dword [sym.imp.Qt5Core.dll_public:_static_void___cdecl_QListData::dispose_struct_QListData::Data__]
add esp, 4
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov byte [esp + 0x68], 0x23
test ecx, ecx
je 0x414daf
cmp ecx, 0xffffffff
je 0x414ddc
or ecx, 0xffffffff
lock xadd dword [eax], ecx
setne al
test al, al
jne 0x414ddc
mov eax, dword [esp + 0x18]
mov edx, dword [eax + 0xc]
mov ecx, dword [eax + 8]
lea esi, [eax + edx*4 + 0x10]
lea edi, [eax + ecx*4 + 0x10]
mov ebp, eax
cmp edi, esi
je 0x414dd2
sub esi, 4
mov ecx, esi
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
cmp esi, edi
jne 0x414dc3
push ebp
call dword [sym.imp.Qt5Core.dll_public:_static_void___cdecl_QListData::dispose_struct_QListData::Data__]
add esp, 4
lea ecx, [esp + 0x30]
mov byte [esp + 0x68], bl
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov byte [esp + 0x68], 0x14
test ecx, ecx
je 0x414e18
cmp ecx, 0xffffffff
je 0x414bdd
or edx, 0xffffffff
lock xadd dword [eax], edx
setne al
test al, al
jne 0x414bdd
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 8]
lea esi, [eax + ecx*4 + 0x10]
lea edi, [eax + edx*4 + 0x10]
mov ebx, eax
cmp edi, esi
je 0x414bd3
sub esi, 4
mov ecx, esi
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
cmp esi, edi
jne 0x414e30
jmp 0x414bd3
push str.Atualizacao_de_produto_OK
call esi
mov dword [edi], eax
push 0x4a5fcc
push fcn.00402e40
mov byte [esp + 0x7c], 0x45
call fcn.00402ec0
mov byte [esp + 0x7c], 0x3c
mov ecx, dword [0x4a5fd0]
add esp, 0x10
call fcn.00408ad0
mov esi, dword [esp + 0x24]
push 0x47f56e
lea ecx, [esi + 0x20]
call dword [sym.imp.Qt5Core.dll_public:_class_QString____thiscall_QString::operator_char_const__]
mov ecx, esi
call fcn.00436df0
lea ecx, [esp + 0x20]
mov byte [esp + 0x68], 0x3b
call dword [sym.imp.Qt5Sql.dll_public:_void___thiscall_QSqlQuery::destructor_void_]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x68], 0x36
call dword [sym.imp.Qt5Sql.dll_public:_void___thiscall_QSqlDatabase::destructor_void_]
lea ecx, [esp + 0x28]
mov byte [esp + 0x68], 0x2a
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov byte [esp + 0x68], 0x24
test ecx, ecx
je 0x414ee0
cmp ecx, 0xffffffff
je 0x414f0d
or ecx, 0xffffffff
lock xadd dword [eax], ecx
setne al
test al, al
jne 0x414f0d
mov eax, dword [esp + 0x1c]
mov edx, dword [eax + 0xc]
mov ecx, dword [eax + 8]
lea esi, [eax + edx*4 + 0x10]
lea edi, [eax + ecx*4 + 0x10]
mov ebp, eax
cmp edi, esi
je 0x414f03
sub esi, 4
mov ecx, esi
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
cmp esi, edi
jne 0x414ef4
push ebp
call dword [sym.imp.Qt5Core.dll_public:_static_void___cdecl_QListData::dispose_struct_QListData::Data__]
add esp, 4
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov byte [esp + 0x68], 0x23
test ecx, ecx
je 0x414f33
cmp ecx, 0xffffffff
je 0x414f69
or edx, 0xffffffff
lock xadd dword [eax], edx
setne al
test al, al
jne 0x414f69
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 8]
lea esi, [eax + ecx*4 + 0x10]
lea edi, [eax + edx*4 + 0x10]
mov ebp, eax
cmp edi, esi
je 0x414f5f
jmp 0x414f50
sub esi, 4
mov ecx, esi
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
cmp esi, edi
jne 0x414f50
push ebp
call dword [sym.imp.Qt5Core.dll_public:_static_void___cdecl_QListData::dispose_struct_QListData::Data__]
add esp, 4
lea ecx, [esp + 0x30]
mov byte [esp + 0x68], bl
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov byte [esp + 0x68], 0x14
test ecx, ecx
je 0x414f9d
cmp ecx, 0xffffffff
je 0x414fca
or ecx, 0xffffffff
lock xadd dword [eax], ecx
setne al
test al, al
jne 0x414fca
mov eax, dword [esp + 0x14]
mov edx, dword [eax + 0xc]
mov ecx, dword [eax + 8]
lea esi, [eax + edx*4 + 0x10]
lea edi, [eax + ecx*4 + 0x10]
mov ebx, eax
cmp edi, esi
je 0x414fc0
sub esi, 4
mov ecx, esi
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
cmp esi, edi
jne 0x414fb1
push ebx
call dword [sym.imp.Qt5Core.dll_public:_static_void___cdecl_QListData::dispose_struct_QListData::Data__]
add esp, 4
lea ecx, [esp + 0x34]
mov byte [esp + 0x68], 3
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x74]
mov byte [esp + 0x68], 2
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x78]
mov byte [esp + 0x68], 1
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x7c]
mov byte [esp + 0x68], 0
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x80]
mov dword [esp + 0x68], 0xffffffff
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
mov al, 1
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret 0x1c