Function at 0x40429b
Capabilities:
Reference sql statements

Disassembly:
push ebp
push ebx
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.00447c40
mov dword [section..data], 0x1f00007
mov dword [section..data], 0x1f0000d
push edx
call fcn.00447b00
pop edx
push eax
push edx
call fcn.00447b00
pop edx
push eax
push 0
mov eax, str.Sqlite__.sqlite_.sqlite
push eax
lea ebp, [0x63a3c8]
push ebp
mov eax, str.backup_directory
pop ebp
push eax
push dword [ebp]
call fcn.0043dcac
mov ebp, eax
push dword [ebp]
mov eax, str.Import_full_ACMA_Database
push eax
call fcn.00430b09
lea eax, [esp + 4]
push eax
call fcn.00447b80
mov dword [section..data], 0x1f00013
push dword [esp]
mov edx, 0x61d400
pop ecx
call fcn.0040d270
jne 0x405077
mov dword [section..data], 0x1f00019
mov eax, str.ImportDatabase
push eax
mov eax, str.Job_starts__user_selected_a_database_to_compress
push eax
mov eax, str.Info
push eax
mov eax, str.Headings
push eax
call fcn.00408c10
mov dword [section..data], 0x1f0001f
push 0
push 0
push 0
push 0x44
mov eax, str.Drop_the_existing_internal_lookup_database_to_create_the_new_one_
push eax
mov eax, str.Drop_internal_database
push eax
call fcn.0040ae39
mov ebx, eax
cmp ebx, 6
jne 0x4043cb
mov dword [section..data], 0x1f00021
mov eax, str.DROP_TABLE_tbl_composite
push eax
call fcn.0040b7b4
mov dword [section..data], 0x1f00023
mov eax, str.ImportDatabase
push eax
mov eax, str.User_selected_to_drop_the_existing_database_table
push eax
mov eax, str.Info
push eax
mov eax, str.Headings
push eax
call fcn.00408c10
mov dword [section..data], 0x1f00025
jmp 0x4043e4
mov dword [section..data], 0x1f00025
mov dword [section..data], 0x1f00027
jmp 0x4050be
mov dword [section..data], 0x1f00029
mov dword [section..data], 0x1f0002f
push edx
call fcn.00447b00
pop edx
push eax
push edx
call fcn.00447b00
pop edx
push eax
mov edx, str.ATTACH_
push edx
call fcn.00447b30
mov edx, dword [esp + 8]
push edx
call fcn.00447b30
mov edx, str._AS_ACMAList
push edx
call fcn.00447b30
call fcn.0040d242
add dword [esp], edx
call fcn.0040b7b4
call fcn.0040d260
mov ebx, eax
lea ebp, [0x63a3c8]
push ebp
mov eax, str.database_not_attached
pop ebp
push eax
push dword [ebp + 8]
call fcn.0043dcac
mov ebp, eax
cmp ebx, dword [ebp]
je 0x404fdc
mov dword [section..data], 0x1f00035
push edx
call fcn.00447b00
pop edx
push eax
mov eax, str.ImportDatabase
push eax
mov edx, dword [esp + 8]
push edx
call fcn.00447b00
pop edx
push eax
push edx
call fcn.00447b30
mov edx, str._was_attached_AS_ACMAList__ACMA_slimming_will_now_commence
push edx
call fcn.00447b30
call fcn.00447bf0
mov eax, str.Info
push eax
mov eax, str.Headings
push eax
call fcn.0040d242
add dword [esp + 8], edx
call fcn.00408c10
call fcn.0040d260
mov dword [section..data], 0x1f0004f
mov edx, str.This_process_will_take_your_full_ACMA_amateur_database_usually_over_2.27GB__and_slim_it_down_INTO_an_aggregatetable_called_tbl_composite__around_60MB__to_make_yourqueries_a_lot_faster._r_n_r_n_r_n_r_nStep_1._Gather_all_selected_data_into_a_list_in_memory._r_n_r_nStep_2._Create_the_new_tbl_composite_table_with_an_index._r_n_r_nStep_3._Write_all_the_data_into_the_tbl_composite_table__r_n_r_n_r_n_r_nThis_operation_usually_takes_the_longest_and_the_speed_r_n_r_nreally_depends_on_your_hardware_speed_and_memory._r_n_r_n_r_n_r_nPlease_DO_NOT_proceed_if_you_did_not_want_to_removethe_existing_internal_A.C.M.A_lookup_database_and_dobackup_your_internal_database_first._r_n_r_n
lea ecx, [esp + 4]
call fcn.0040d008
mov dword [section..data], 0x1f00051
push 0
push 0
push 0
push 0x44
push dword [esp + 0x14]
mov eax, str.Slim_down_A.C.M.A_database
push eax
call fcn.0040ae39
mov ebx, eax
cmp ebx, 6
jne 0x404e56
mov dword [section..data], 0x1f00053
mov eax, str.ImportDatabase
push eax
mov eax, str.Weightwatchering_started_as_the_user_selected_to_continue
push eax
mov eax, str.Info
push eax
mov eax, str.Headings
push eax
call fcn.00408c10
mov dword [section..data], 0x1f0006b
mov edx, str.SELECT_m.LICENCE_TYPE_NAME__m.LICENCE_CATEGORY_NAME__m.DATE_ISSUED__m.DATE_OF_EFFECT__m.DATE_OF_EXPIRY__m.STATUS__m.STATUS_TEXT__n.LICENCEE__n.TRADING_NAME__n.ACN__n.ABN__n.POSTAL_STREET__n.POSTAL_SUBURB__n.POSTAL_STATE__n.POSTAL_POSTCODE__c.CALL_SIGN_FROM_licence_AS_m_LEFT_JOIN_client_AS_n_ON_m.CLIENT_NO__n.CLIENT_NO_LEFT_JOIN_device_details_AS_c_ON_m.LICENCE_NO__c.LICENCE_NO_WHERE_c.CALL_SIGN_NOT_NULL
lea ecx, [esp + 8]
call fcn.0040d008
mov dword [section..data], 0x1f0006d
mov eax, str.BEGIN_TRANSACTION
push eax
call fcn.0040b7b4
mov dword [section..data], 0x1f0006f
push dword [esp + 8]
call fcn.0040c377
mov ebx, eax
and ebx, ebx
je 0x404921
mov dword [section..data], 0x1f00071
call fcn.0040c45a
and eax, eax
je 0x4048c2
mov dword [section..data], 0x1f00073
push dword [0x63a448]
call fcn.00441a6a
mov dword [section..data], 0x1f00075
push edx
call fcn.00447b00
pop edx
push eax
push 0xffffffff
mov eax, str.LICENCE_TYPE_NAME
push eax
call fcn.0040b59e
mov ebp, dword [0x63a44c]
lea eax, [ebp + 8]
push eax
call fcn.00447b80
mov dword [section..data], 0x1f00076
push edx
call fcn.00447b00
pop edx
push eax
push 0xffffffff
mov eax, str.LICENCE_CATEGORY_NAME
push eax
call fcn.0040b59e
mov ebp, dword [0x63a44c]
lea eax, [ebp + 0xc]
push eax
call fcn.00447b80
mov dword [section..data], 0x1f00077
push edx
call fcn.00447b00
pop edx
push eax
push 0xffffffff
mov eax, str.DATE_ISSUED
push eax
call fcn.0040b59e
mov ebp, dword [0x63a44c]
lea eax, [ebp + 0x10]
push eax
call fcn.00447b80
mov dword [section..data], 0x1f00078
push edx
call fcn.00447b00
pop edx
push eax
push 0xffffffff
mov eax, str.DATE_OF_EFFECT
push eax
call fcn.0040b59e
mov ebp, dword [0x63a44c]
lea eax, [ebp + 0x14]
push eax
call fcn.00447b80
mov dword [section..data], 0x1f00079
push edx
call fcn.00447b00
pop edx
push eax
push 0xffffffff
mov eax, str.DATE_OF_EXPIRY
push eax
call fcn.0040b59e
mov ebp, dword [0x63a44c]
lea eax, [ebp + 0x18]
push eax
call fcn.00447b80
mov dword [section..data], 0x1f0007a
push edx
call fcn.00447b00
pop edx
push eax
push 0xffffffff
mov eax, str.STATUS
push eax
call fcn.0040b59e
mov ebp, dword [0x63a44c]
lea eax, [ebp + 0x1c]
push eax
call fcn.00447b80
mov dword [section..data], 0x1f0007b
push edx
call fcn.00447b00
pop edx
push eax
push 0xffffffff
mov eax, str.STATUS_TEXT
push eax
call fcn.0040b59e
mov ebp, dword [0x63a44c]
lea eax, [ebp + 0x20]
push eax
call fcn.00447b80
mov dword [section..data], 0x1f0007c
push edx
call fcn.00447b00
pop edx
push eax
push 0xffffffff
mov eax, str.LICENCEE
push eax
call fcn.0040b59e
mov ebp, dword [0x63a44c]
lea eax, [ebp + 0x24]
push eax
call fcn.00447b80
mov dword [section..data], 0x1f0007d
push edx
call fcn.00447b00
pop edx
push eax
push 0xffffffff
mov eax, str.TRADING_NAME
push eax
call fcn.0040b59e
mov ebp, dword [0x63a44c]
lea eax, [ebp + 0x28]
push eax
call fcn.00447b80
mov dword [section..data], 0x1f0007e
push edx
call fcn.00447b00
pop edx
push eax
push 0xffffffff
mov eax, 0x61e090
push eax
call fcn.0040b59e
mov ebp, dword [0x63a44c]
lea eax, [ebp + 0x2c]
push eax
call fcn.00447b80
mov dword [section..data], 0x1f0007f
push edx
call fcn.00447b00
pop edx
push eax
push 0xffffffff
mov eax, 0x61dc28
push eax
call fcn.0040b59e
mov ebp, dword [0x63a44c]
lea eax, [ebp + 0x30]
push eax
call fcn.00447b80
mov dword [section..data], 0x1f00080
push edx
call fcn.00447b00
pop edx
push eax
push 0xffffffff
mov eax, str.POSTAL_STREET
push eax
call fcn.0040b59e
mov ebp, dword [0x63a44c]
lea eax, [ebp + 0x34]
push eax
call fcn.00447b80
mov dword [section..data], 0x1f00081
push edx
call fcn.00447b00
pop edx
push eax
push 0xffffffff
mov eax, str.POSTAL_SUBURB
push eax
call fcn.0040b59e
mov ebp, dword [0x63a44c]
lea eax, [ebp + 0x38]
push eax
call fcn.00447b80
mov dword [section..data], 0x1f00082
push edx
call fcn.00447b00
pop edx
push eax
push 0xffffffff
mov eax, str.POSTAL_STATE
push eax
call fcn.0040b59e
mov ebp, dword [0x63a44c]
lea eax, [ebp + 0x3c]
push eax
call fcn.00447b80
mov dword [section..data], 0x1f00083
push edx
call fcn.00447b00
pop edx
push eax
push 0xffffffff
mov eax, str.POSTAL_POSTCODE
push eax
call fcn.0040b59e
mov ebp, dword [0x63a44c]
lea eax, [ebp + 0x40]
push eax
call fcn.00447b80
mov dword [section..data], 0x1f00084
push edx
call fcn.00447b00
pop edx
push eax
push 0xffffffff
mov eax, str.CALL_SIGN
push eax
call fcn.0040b59e
mov ebp, dword [0x63a44c]
lea eax, [ebp + 0x44]
push eax
call fcn.00447b80
mov dword [section..data], 0x1f00086
jmp 0x404577
mov dword [section..data], 0x1f00088
call fcn.0040b76b
mov dword [section..data], 0x1f0008a
push 0
push 0
push 0
push 0x40
mov eax, str.A.C.M.A_database_ready_to_write
push eax
mov eax, str.Gathered_up_data_from_attached_amateur_database
push eax
call fcn.0040ae39
mov dword [section..data], 0x1f0008c
mov eax, str.COMMIT
push eax
call fcn.0040b7b4
mov dword [section..data], 0x1f0008e
jmp 0x404984
mov dword [section..data], 0x1f0008e
mov dword [section..data], 0x1f00090
push edx
call fcn.00447b00
pop edx
push eax
push 0
push 0
push 0
push 0x40
push edx
call fcn.00447b00
pop edx
push eax
push edx
call fcn.00447b00
pop edx
push eax
call fcn.0043fc80
call fcn.00447bf0
mov eax, str.The_database_query_failed_or_contained_no_results::
push eax
call fcn.0040d242
add dword [esp + 4], edx
call fcn.0040ae39
call fcn.0040d260
mov dword [section..data], 0x1f00092
mov dword [section..data], 0x1f00098
push dword [0x63a448]
call fcn.00441b08
and eax, eax
je 0x404e07
mov dword [section..data], 0x1f000ab
mov edx, str.CREATE_TABLE_tbl_composite_LICENCE_TYPE_NAME_TEXT__LICENCE_CATEGORY_NAME_TEXT__DATE_ISSUED_TEXT__DATE_OF_EFFECT_TEXT__DATE_OF_EXPIRY_TEXT__STATUS_TEXT__STATUS_TEXT_TEXT__LICENCEE_TEXT__TRADING_NAME_TEXT__ACN_TEXT__ABN_TEXT__POSTAL_STREET_TEXT__POSTAL_SUBURB_TEXT__POSTAL_STATE_TEXT__POSTAL_POSTCODE_TEXT__CALL_SIGN_TEXT__recordid_INTEGER_PRIMARY_KEY_AUTOINCREMENT_
lea ecx, [esp + 0xc]
call fcn.0040d008
mov dword [section..data], 0x1f000ad
push dword [esp + 0xc]
call fcn.0040b7b4
mov ebx, eax
and ebx, ebx
je 0x404db8
mov dword [section..data], 0x1f000af
mov eax, str.BEGIN_TRANSACTION
push eax
call fcn.0040b7b4
mov dword [section..data], 0x1f000b1
push dword [0x63a448]
call fcn.00441b1b
push dword [0x63a448]
call fcn.00441b30
or eax, eax
je 0x404d29
mov dword [section..data], 0x1f000b1
mov dword [section..data], 0x1f000b3
mov ebp, dword [0x63a44c]
push dword [ebp + 8]
push 0
call fcn.0040b6ff
mov dword [section..data], 0x1f000b4
mov ebp, dword [0x63a44c]
push dword [ebp + 0xc]
push 1
call fcn.0040b6ff
mov dword [section..data], 0x1f000b5
mov ebp, dword [0x63a44c]
push dword [ebp + 0x10]
push 2
call fcn.0040b6ff
mov dword [section..data], 0x1f000b6
mov ebp, dword [0x63a44c]
push dword [ebp + 0x14]
push 3
call fcn.0040b6ff
mov dword [section..data], 0x1f000b7
mov ebp, dword [0x63a44c]
push dword [ebp + 0x18]
push 4
call fcn.0040b6ff
mov dword [section..data], 0x1f000b8
mov ebp, dword [0x63a44c]
push dword [ebp + 0x1c]
push 5
call fcn.0040b6ff
mov dword [section..data], 0x1f000b9
mov ebp, dword [0x63a44c]
push dword [ebp + 0x20]
push 6
call fcn.0040b6ff
mov dword [section..data], 0x1f000ba
mov ebp, dword [0x63a44c]
push dword [ebp + 0x24]
push 7
call fcn.0040b6ff
mov dword [section..data], 0x1f000bb
mov ebp, dword [0x63a44c]
push dword [ebp + 0x28]
push 8
call fcn.0040b6ff
mov dword [section..data], 0x1f000bc
mov ebp, dword [0x63a44c]
push dword [ebp + 0x2c]
push 9
call fcn.0040b6ff
mov dword [section..data], 0x1f000bd
mov ebp, dword [0x63a44c]
push dword [ebp + 0x30]
push 0xa
call fcn.0040b6ff
mov dword [section..data], 0x1f000be
mov ebp, dword [0x63a44c]
push dword [ebp + 0x34]
push 0xb
call fcn.0040b6ff
mov dword [section..data], 0x1f000bf
mov ebp, dword [0x63a44c]
push dword [ebp + 0x38]
push 0xc
call fcn.0040b6ff
mov dword [section..data], 0x1f000c0
mov ebp, dword [0x63a44c]
push dword [ebp + 0x3c]
push 0xd
call fcn.0040b6ff
mov dword [section..data], 0x1f000c1
mov ebp, dword [0x63a44c]
push dword [ebp + 0x40]
push 0xe
call fcn.0040b6ff
mov dword [section..data], 0x1f000c2
mov ebp, dword [0x63a44c]
push dword [ebp + 0x44]
push 0xf
call fcn.0040b6ff
mov dword [section..data], 0x1f000d5
mov edx, str.INSERT_INTO_tbl_composite_LICENCE_TYPE_NAME__LICENCE_CATEGORY_NAME__DATE_ISSUED__DATE_OF_EFFECT__DATE_OF_EXPIRY__STATUS__STATUS_TEXT__LICENCEE__TRADING_NAME__ACN__ABN__POSTAL_STREET__POSTAL_SUBURB__POSTAL_STATE__POSTAL_POSTCODE__CALL_SIGN__VALUES________________________________________________
lea ecx, [esp + 0x10]
call fcn.0040d008
mov dword [section..data], 0x1f000d7
push dword [esp + 0x10]
call fcn.0040b7b4
mov ebx, eax
and ebx, ebx
je 0x404c9d
mov dword [section..data], 0x1f000d9
push edx
call fcn.00447b00
pop edx
push eax
mov eax, str.ImportDatabase
push eax
push edx
call fcn.00447b00
pop edx
push eax
mov edx, str.Callsign_::
push edx
call fcn.00447b30
mov ebp, dword [0x63a44c]
mov edx, dword [ebp + 0x44]
push edx
call fcn.00447b30
mov edx, str._added_to_database
push edx
call fcn.00447b30
call fcn.00447bf0
mov eax, str.Info
push eax
mov eax, str.Headings
push eax
call fcn.0040d242
add dword [esp + 8], edx
call fcn.00408c10
call fcn.0040d260
mov dword [section..data], 0x1f000db
jmp 0x404d10
mov dword [section..data], 0x1f000db
mov dword [section..data], 0x1f000dd
push edx
call fcn.00447b00
pop edx
push eax
mov eax, str.ImportDatabase
push eax
push edx
call fcn.00447b00
pop edx
push eax
mov edx, str.Callsign_::
push edx
call fcn.00447b30
mov ebp, dword [0x63a44c]
mov edx, dword [ebp + 0x44]
push edx
call fcn.00447b30
mov edx, str._NOT_added_to_database
push edx
call fcn.00447b30
call fcn.00447bf0
mov eax, str.Error
push eax
mov eax, str.Headings
push eax
call fcn.0040d242
add dword [esp + 8], edx
call fcn.00408c10
call fcn.0040d260
mov dword [section..data], 0x1f000df
mov dword [section..data], 0x1f000e1
jmp 0x404a0a
mov dword [section..data], 0x1f000e7
push dword [0x63a448]
call fcn.00441b6b
mov dword [section..data], 0x1f000ed
mov eax, str.CREATE_INDEX_IF_NOT_EXISTS_CALL_SIGN_INDEX_ON_tbl_composite_CALL_SIGN_
push eax
call fcn.0040b7b4
mov dword [section..data], 0x1f000f3
mov eax, str.COMMIT
push eax
call fcn.0040b7b4
mov dword [section..data], 0x1f000f9
mov eax, str.VACUUM
push eax
call fcn.0040b7b4
mov dword [section..data], 0x1f000ff
push 0
push 0
push 0
push 0x40
mov eax, str.Weighwatchering_down_the_A.C.M.A_database_seems_to_have_worked__try_some_queries
push eax
mov eax, str.A.C.M.A_weight_loss_finished
push eax
call fcn.0040ae39
mov dword [section..data], 0x1f00105
jmp 0x404df1
mov dword [section..data], 0x1f00105
mov dword [section..data], 0x1f00107
push 0
push 0
push 0
push 0x10
mov eax, 0x61d568
push eax
mov eax, str.Database_table_failed
push eax
call fcn.0040ae39
mov dword [section..data], 0x1f00109
mov dword [section..data], 0x1f0010f
jmp 0x404e40
mov dword [section..data], 0x1f0010f
mov dword [section..data], 0x1f00111
push 0
push 0
push 0
push 0x30
mov eax, str.No_Callsigns_were_found_in_the_A.C.M.A_database_to_process__idiot_programmer_error
push eax
mov eax, str.No_callsigns_found
push eax
call fcn.0040ae39
mov dword [section..data], 0x1f00113
mov dword [section..data], 0x1f00119
jmp 0x404e8f
mov dword [section..data], 0x1f00119
mov dword [section..data], 0x1f0011b
push 0
push 0
push 0
push 0x40
mov eax, str.No_weighwatchering_done_as_the_user_cancelled_the_slimming_process
push eax
mov eax, str.Nothing_to_do
push eax
call fcn.0040ae39
mov dword [section..data], 0x1f0011d
mov dword [section..data], 0x1f00123
mov eax, str.DETACH_ACMAList
push eax
call fcn.0040b7b4
mov ebx, eax
lea ebp, [0x63a3c8]
push ebp
mov eax, str.database_update_fail
pop ebp
push eax
push dword [ebp + 8]
call fcn.0043dcac
mov ebp, eax
cmp ebx, dword [ebp]
je 0x404f49
mov dword [section..data], 0x1f00125
push edx
call fcn.00447b00
pop edx
push eax
mov eax, str.ImportDatabase
push eax
push edx
call fcn.00447b00
pop edx
push eax
mov edx, str.Successfully_detached:
push edx
call fcn.00447b30
lea ebp, [0x63a3c8]
push ebp
mov eax, str.database_amateur_name
pop ebp
push eax
push dword [ebp]
call fcn.0043dcac
mov ebp, eax
mov edx, dword [ebp]
push edx
call fcn.00447b30
call fcn.00447bf0
mov eax, str.Info
push eax
mov eax, str.Headings
push eax
call fcn.0040d242
add dword [esp + 8], edx
call fcn.00408c10
call fcn.0040d260
mov dword [section..data], 0x1f00127
jmp 0x404fc3
mov dword [section..data], 0x1f00127
mov dword [section..data], 0x1f00129
push edx
call fcn.00447b00
pop edx
push eax
mov eax, str.ImportDatabase
push eax
push edx
call fcn.00447b00
pop edx
push eax
mov edx, str.Could_not_detach:
push edx
call fcn.00447b30
lea ebp, [0x63a3c8]
push ebp
mov eax, str.database_amateur_name
pop ebp
push eax
push dword [ebp]
call fcn.0043dcac
mov ebp, eax
mov edx, dword [ebp]
push edx
call fcn.00447b30
call fcn.00447bf0
mov eax, str.Error
push eax
mov eax, str.Headings
push eax
call fcn.0040d242
add dword [esp + 8], edx
call fcn.00408c10
call fcn.0040d260
mov dword [section..data], 0x1f0012b
mov dword [section..data], 0x1f00131
jmp 0x405061
mov dword [section..data], 0x1f00131
mov dword [section..data], 0x1f00133
push edx
call fcn.00447b00
pop edx
push eax
mov eax, str.ImportDatabase
push eax
push edx
call fcn.00447b00
pop edx
push eax
mov edx, str.Did_not_manage_to_attach:
push edx
call fcn.00447b30
lea ebp, [0x63a3c8]
push ebp
mov eax, str.database_amateur_name
pop ebp
push eax
push dword [ebp]
call fcn.0043dcac
mov ebp, eax
mov edx, dword [ebp]
push edx
call fcn.00447b30
mov edx, str.__ACMA_queries_will_be_unavailable
push edx
call fcn.00447b30
call fcn.00447bf0
mov eax, str.Warn
push eax
mov eax, str.Headings
push eax
call fcn.0040d242
add dword [esp + 8], edx
call fcn.00408c10
call fcn.0040d260
mov dword [section..data], 0x1f00135
mov dword [section..data], 0x1f0013b
jmp 0x4050a8
mov dword [section..data], 0x1f0013b
mov dword [section..data], 0x1f0013d
mov eax, str.ImportDatabase
push eax
mov eax, str.Job_aborted__user_cancelled_the_database_selection
push eax
mov eax, str.Warn
push eax
mov eax, str.Headings
push eax
call fcn.00408c10
mov dword [section..data], 0x1f0013f
mov dword [section..data], 0x1f00145
xor eax, eax
push dword [esp + 8]
call fcn.00447c10
push dword [esp]
call fcn.00447c10
push dword [esp + 4]
call fcn.00447c10
push dword [esp + 0x10]
call fcn.00447c10
push dword [esp + 0xc]
call fcn.00447c10
add esp, 0x14
pop ebx
pop ebp
ret