Function at 0x4f1330
Capabilities:
Encode data using xor
Reference sql statements

Disassembly:
mov eax, 0x271c
call fcn.0059a050
mov ecx, dword [0x631438]
push ebx
push ebp
mov ebp, dword [esp + 0x2728]
xor ebx, ebx
xor eax, eax
cmp ebp, ebx
setne al
push esi
mov dword [esp + 0x10], ebx
mov esi, 1
add eax, ecx
jne 0x4f13df
push 0x620ad0
call fcn.004e70c0
add esp, 4
push 0x71c
push str.C:4017_buildmysql_4.0.17innobase_row_row0mysql.c
call sub.KERNEL32.dll_GetCurrentThreadId
push eax
call fcn.004d1950
add esp, 4
push eax
push str.__InnoDB:_Assertion_failure_in_thread__lu_in_file__s_line__lu_n
push 0x620ad0
call fcn.00599e71
push str.InnoDB:_Failing_assertion:_name___NULL
push 0x620ad0
call fcn.00599e71
push str._nInnoDB:_We_intentionally_generate_a_memory_trap._n
push 0x620ad0
call fcn.00599e71
push str.InnoDB:_Send_a_detailed_bug_report_to_mysql_lists.mysql.com_n
push 0x620ad0
call fcn.00599e71
mov ecx, dword [0x631440]
mov dword [0x63143c], esi
mov eax, dword [ecx]
add esp, 0x2c
cmp eax, ebx
je 0x4f13e7
mov dword [0x631440], ebx
jmp 0x4f13e7
cmp dword [0x63143c], ebx
je 0x4f141c
push 0x71c
push str.C:4017_buildmysql_4.0.17innobase_row_row0mysql.c
call sub.KERNEL32.dll_GetCurrentThreadId
push eax
call fcn.004d1950
add esp, 4
push eax
push str.InnoDB:_Thread__lu_stopped_in_file__s_line__lu_n
push 0x620ad0
call fcn.00599e71
push 0x3b9aca00
call fcn.004e7040
add esp, 0x18
cmp dword [0x631390], ebx
je 0x4f1445
push str.InnoDB:_A_new_raw_disk_partition_was_initialized_or_nInnoDB:_innodb_force_recovery_is_on:_we_do_not_allow_nInnoDB:_database_modifications_by_the_user._Shut_down_nInnoDB:_mysqld_and_edit_my.cnf_so_that_newraw_is_replaced_nInnoDB:_with_raw__and_innodb_force_..._is_removed._n
push 0x620ad0
call fcn.00599e71
add esp, 8
pop esi
pop ebp
mov eax, 0xb
pop ebx
add esp, 0x271c
ret
mov eax, dword [esp + 0x2730]
cmp dword [eax + 0xc], esi
mov dword [eax + 4], str.dropping_table
jne 0x4f1463
push 0xffffffffffffffff
push eax
call fcn.004e4e50
add esp, 8
or ecx, 0xffffffff
push edi
xor eax, eax
mov edi, ebp
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edx, ecx
or ecx, 0xffffffff
mov edi, str.innodb_monitor
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp edx, ecx
jb 0x4f14a9
mov esi, edx
sub esi, ecx
add esi, ebp
mov edi, str.innodb_monitor
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x4f1499
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x4f14a9
mov dword [0x6313ec], ebx
mov dword [0x6313f0], ebx
or ecx, 0xffffffff
xor eax, eax
mov edi, str.innodb_lock_monitor
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp edx, ecx
jb 0x4f14e2
mov esi, edx
sub esi, ecx
add esi, ebp
mov edi, str.innodb_lock_monitor
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x4f14d2
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x4f14e2
mov dword [0x6313ec], ebx
mov dword [0x6313f0], ebx
or ecx, 0xffffffff
xor eax, eax
mov edi, str.innodb_tablespace_monitor
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp edx, ecx
jb 0x4f1515
mov esi, edx
sub esi, ecx
add esi, ebp
mov edi, str.innodb_tablespace_monitor
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x4f150b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x4f1515
mov dword [0x6313f4], ebx
or ecx, 0xffffffff
xor eax, eax
mov edi, str.innodb_table_monitor
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp edx, ecx
jb 0x4f1548
mov esi, edx
sub esi, ecx
add esi, ebp
mov edi, str.innodb_table_monitor
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x4f153e
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x4f1548
mov dword [0x6313f8], ebx
or ecx, 0xffffffff
xor eax, eax
mov edi, str.PROCEDURE_DROP_TABLE_PROC____IS_ntable_name_CHAR__nsys_foreign_id_CHAR__ntable_id_CHAR__nindex_id_CHAR__nforeign_id_CHAR__nfound_INT__nBEGIN_ntable_name_:_
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edx, ecx
mov eax, ecx
shr ecx, 2
mov esi, str.PROCEDURE_DROP_TABLE_PROC____IS_ntable_name_CHAR__nsys_foreign_id_CHAR__ntable_id_CHAR__nindex_id_CHAR__nforeign_id_CHAR__nfound_INT__nBEGIN_ntable_name_:_
lea edi, [esp + 0x1c]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
or ecx, 0xffffffff
xor eax, eax
mov edi, ebp
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov eax, ecx
shr ecx, 2
lea edi, [esp + edx + 0x1c]
mov esi, ebp
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
or ecx, 0xffffffff
xor eax, eax
mov edi, str.__nSELECT_ID_INTO_table_id_nFROM_SYS_TABLES_nWHERE_NAME__table_name__nIF__SQL___NOTFOUND__THEN_n_tCOMMIT_WORK__n_tRETURN__nEND_IF__nfound_:_1__nSELECT_ID_INTO_sys_foreign_id_nFROM_SYS_TABLES_nWHERE_NAME__SYS_FOREIGN__nIF__SQL___NOTFOUND__THEN_n_tfound_:_0__nEND_IF__nIF__table_name__SYS_FOREIGN__THEN_n_tfound_:_0__nEND_IF__nIF__table_name__SYS_FOREIGN_COLS__THEN_n_tfound_:_0__nEND_IF__nWHILE_found__1_LOOP_n_tSELECT_ID_INTO_foreign_id_n_tFROM_SYS_FOREIGN_n_tWHERE_FOR_NAME__table_name__n_tIF__SQL___NOTFOUND__THEN_n_t_tfound_:_0__n_tELSE_t_tDELETE_FROM_SYS_FOREIGN_COLS_WHERE_ID__foreign_id__n_t_tDELETE_FROM_SYS_FOREIGN_WHERE_ID__foreign_id__n_tEND_IF__nEND_LOOP__nfound_:_1__nWHILE_found__1_LOOP_n_tSELECT_ID_INTO_index_id_n_tFROM_SYS_INDEXES_n_tWHERE_TABLE_ID__table_id__n_tIF__SQL___NOTFOUND__THEN_n_t_tfound_:_0__n_tELSE_t_tDELETE_FROM_SYS_FIELDS_WHERE_INDEX_ID__index_id__n_t_tDELETE_FROM_SYS_INDEXES_WHERE_ID__index_id_n_t_t_t_t_t_AND_TABLE_ID__table_id__n_tEND_IF__nEND_LOOP__nDELETE_FROM_SYS_COLUMNS_WHERE_TABLE_ID__table_id__nDELETE_FROM_SYS_TABLES_WHERE_ID__table_id__nCOMMIT_WORK__nEND__n
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
or ecx, 0xffffffff
inc ebx
mov edi, ebp
repne scasb al, byte es:[edi]
not ecx
dec ecx
add ecx, edx
lea edi, [esp + ecx + 0x1c]
mov ecx, ebx
mov ebx, dword [esp + 0x2734]
mov eax, dword [ebx + 0x80]
mov edx, ecx
shr ecx, 2
mov esi, str.__nSELECT_ID_INTO_table_id_nFROM_SYS_TABLES_nWHERE_NAME__table_name__nIF__SQL___NOTFOUND__THEN_n_tCOMMIT_WORK__n_tRETURN__nEND_IF__nfound_:_1__nSELECT_ID_INTO_sys_foreign_id_nFROM_SYS_TABLES_nWHERE_NAME__SYS_FOREIGN__nIF__SQL___NOTFOUND__THEN_n_tfound_:_0__nEND_IF__nIF__table_name__SYS_FOREIGN__THEN_n_tfound_:_0__nEND_IF__nIF__table_name__SYS_FOREIGN_COLS__THEN_n_tfound_:_0__nEND_IF__nWHILE_found__1_LOOP_n_tSELECT_ID_INTO_foreign_id_n_tFROM_SYS_FOREIGN_n_tWHERE_FOR_NAME__table_name__n_tIF__SQL___NOTFOUND__THEN_n_t_tfound_:_0__n_tELSE_t_tDELETE_FROM_SYS_FOREIGN_COLS_WHERE_ID__foreign_id__n_t_tDELETE_FROM_SYS_FOREIGN_WHERE_ID__foreign_id__n_tEND_IF__nEND_LOOP__nfound_:_1__nWHILE_found__1_LOOP_n_tSELECT_ID_INTO_index_id_n_tFROM_SYS_INDEXES_n_tWHERE_TABLE_ID__table_id__n_tIF__SQL___NOTFOUND__THEN_n_t_tfound_:_0__n_tELSE_t_tDELETE_FROM_SYS_FIELDS_WHERE_INDEX_ID__index_id__n_t_tDELETE_FROM_SYS_INDEXES_WHERE_ID__index_id_n_t_t_t_t_t_AND_TABLE_ID__table_id__n_tEND_IF__nEND_LOOP__nDELETE_FROM_SYS_COLUMNS_WHERE_TABLE_ID__table_id__nDELETE_FROM_SYS_TABLES_WHERE_ID__table_id__nCOMMIT_WORK__nEND__n
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
cmp eax, 2
rep movsb byte es:[edi], byte [esi]
je 0x4f15ea
push ebx
call fcn.004eff40
add esp, 4
mov dword [esp + 0x14], 1
lea eax, [esp + 0x1c]
push eax
call fcn.00569180
mov ecx, dword [0x631438]
mov esi, eax
add ecx, esi
add esp, 4
test ecx, ecx
mov dword [esp + 0x18], esi
jne 0x4f1694
push 0x620ad0
call fcn.004e70c0
add esp, 4
push 0x7b7
push str.C:4017_buildmysql_4.0.17innobase_row_row0mysql.c
call sub.KERNEL32.dll_GetCurrentThreadId
push eax
call fcn.004d1950
add esp, 4
push eax
push str.__InnoDB:_Assertion_failure_in_thread__lu_in_file__s_line__lu_n
push 0x620ad0
call fcn.00599e71
push str.InnoDB:_Failing_assertion:_graph
push 0x620ad0
call fcn.00599e71
push str._nInnoDB:_We_intentionally_generate_a_memory_trap._n
push 0x620ad0
call fcn.00599e71
push str.InnoDB:_Send_a_detailed_bug_report_to_mysql_lists.mysql.com_n
push 0x620ad0
call fcn.00599e71
mov edx, dword [0x631440]
mov dword [0x63143c], 1
mov eax, dword [edx]
add esp, 0x2c
test eax, eax
je 0x4f169d
mov dword [0x631440], 0
jmp 0x4f169d
mov eax, dword [0x63143c]
test eax, eax
je 0x4f16d2
push 0x7b7
push str.C:4017_buildmysql_4.0.17innobase_row_row0mysql.c
call sub.KERNEL32.dll_GetCurrentThreadId
push eax
call fcn.004d1950
add esp, 4
push eax
push str.InnoDB:_Thread__lu_stopped_in_file__s_line__lu_n
push 0x620ad0
call fcn.00599e71
push 0x3b9aca00
call fcn.004e7040
add esp, 0x18
xor eax, eax
mov dword [esi + 0x34], ebx
mov dword [ebx + 0xb8], eax
mov dword [esi + 0x2c], 0xa
mov cl, byte [ebp]
test cl, cl
mov edx, ebp
je 0x4f1711
movsx ecx, cl
mov esi, ecx
xor esi, eax
xor esi, 0x946a4f
shl esi, 8
add esi, eax
xor esi, 0x573ed587
add esi, ecx
mov cl, byte [edx + 1]
inc edx
test cl, cl
mov eax, esi
jne 0x4f16ed
mov ecx, dword [0x6314ec]
mov ecx, dword [ecx + 0x34]
xor eax, 0x62946a4f
xor edx, edx
div dword [ecx]
mov eax, dword [ecx + 4]
mov edi, dword [eax + edx*4]
test edi, edi
je 0x4f1766
mov eax, dword [edi + 0x10]
mov esi, ebp
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x4f1756
test cl, cl
je 0x4f1752
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4f1756
add eax, 2
add esi, 2
test cl, cl
jne 0x4f1732
xor eax, eax
jmp 0x4f175b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4f1766
mov edi, dword [edi + 0x18]
test edi, edi
jne 0x4f172d
test edi, edi
mov esi, edi
jne 0x4f1798
push ebp
call fcn.0053f150
mov esi, eax
add esp, 4
test esi, esi
jne 0x4f1798
push 0x620ad0
mov dword [esp + 0x14], 0x1f
call fcn.004e70c0
push ebp
push str.__InnoDB:_Error:_table__s_does_not_exist_in_the_InnoDB_internal_nInnoDB:_data_dictionary_though_MySQL_is_trying_to_drop_it._nInnoDB:_Have_you_copied_the_.frm_file_of_the_table_to_the_nInnoDB:_MySQL_database_directory_from_another_database__nInnoDB:_You_can_look_further_help_from_section_15.1_of_nInnoDB:_http:__www.innodb.com_ibman.html_n
jmp 0x4f1af3
mov eax, dword [esi + 0x5c]
test eax, eax
jbe 0x4f17b4
push 0x620ad0
call fcn.004e70c0
mov eax, dword [esi + 0x10]
push eax
push str.__InnoDB:_Warning:_MySQL_is_trying_to_drop_table__s_nInnoDB:_though_there_are_still_open_handles_to_it._nInnoDB:_Adding_the_table_to_the_background_drop_queue._n
jmp 0x4f17ce
mov eax, dword [esi + 0x60]
test eax, eax
jbe 0x4f17ee
push 0x620ad0
call fcn.004e70c0
mov ecx, dword [esi + 0x10]
push ecx
push str.__InnoDB:_You_are_trying_to_drop_table__s_nInnoDB:_though_there_are_foreign_key_check_running_on_it._nInnoDB:_Adding_the_table_to_the_background_drop_queue._n
push 0x620ad0
call fcn.00599e71
push esi
call fcn.004f1b40
add esp, 0x14
mov dword [esp + 0x10], 0xa
jmp 0x4f1b00
push esi
call fcn.0053c150
mov ecx, dword [esp + 0x1c]
mov dword [ebx + 0x3c], 1
mov edx, dword [esi]
push 0
mov dword [ebx + 0x40], edx
mov eax, dword [esi + 4]
push 7
push ecx
mov dword [ebx + 0x44], eax
call fcn.005503f0
mov edx, dword [0x631438]
mov edi, eax
add edx, edi
add esp, 0x10
test edx, edx
jne 0x4f18af
push 0x620ad0
call fcn.004e70c0
add esp, 4
push 0x7f6
push str.C:4017_buildmysql_4.0.17innobase_row_row0mysql.c
call sub.KERNEL32.dll_GetCurrentThreadId
push eax
call fcn.004d1950
add esp, 4
push eax
push str.__InnoDB:_Assertion_failure_in_thread__lu_in_file__s_line__lu_n
push 0x620ad0
call fcn.00599e71
push str.InnoDB:_Failing_assertion:_thr__que_fork_start_command_graph__SESS_COMM_EXECUTE__0_
push 0x620ad0
call fcn.00599e71
push str._nInnoDB:_We_intentionally_generate_a_memory_trap._n
push 0x620ad0
call fcn.00599e71
push str.InnoDB:_Send_a_detailed_bug_report_to_mysql_lists.mysql.com_n
push 0x620ad0
call fcn.00599e71
mov eax, dword [0x631440]
mov dword [0x63143c], 1
mov ecx, dword [eax]
add esp, 0x2c
test ecx, ecx
je 0x4f18b8
mov dword [0x631440], 0
jmp 0x4f18b8
mov eax, dword [0x63143c]
test eax, eax
je 0x4f18ed
push 0x7f6
push str.C:4017_buildmysql_4.0.17innobase_row_row0mysql.c
call sub.KERNEL32.dll_GetCurrentThreadId
push eax
call fcn.004d1950
add esp, 4
push eax
push str.InnoDB:_Thread__lu_stopped_in_file__s_line__lu_n
push 0x620ad0
call fcn.00599e71
push 0x3b9aca00
call fcn.004e7040
add esp, 0x18
push edi
call fcn.00551340
mov eax, dword [ebx + 0xa8]
add esp, 4
cmp eax, 0xa
mov dword [esp + 0x10], eax
je 0x4f1ad0
xor ecx, ecx
cmp eax, 0xd
mov eax, dword [0x631438]
sete cl
add ecx, eax
jne 0x4f19a5
push 0x620ad0
call fcn.004e70c0
add esp, 4
push 0x7fd
push str.C:4017_buildmysql_4.0.17innobase_row_row0mysql.c
call sub.KERNEL32.dll_GetCurrentThreadId
push eax
call fcn.004d1950
add esp, 4
push eax
push str.__InnoDB:_Assertion_failure_in_thread__lu_in_file__s_line__lu_n
push 0x620ad0
call fcn.00599e71
push str.InnoDB:_Failing_assertion:_err__DB_OUT_OF_FILE_SPACE
push 0x620ad0
call fcn.00599e71
push str._nInnoDB:_We_intentionally_generate_a_memory_trap._n
push 0x620ad0
call fcn.00599e71
push str.InnoDB:_Send_a_detailed_bug_report_to_mysql_lists.mysql.com_n
push 0x620ad0
call fcn.00599e71
mov edx, dword [0x631440]
mov dword [0x63143c], 1
mov eax, dword [edx]
add esp, 0x2c
test eax, eax
je 0x4f19ae
mov dword [0x631440], 0
jmp 0x4f19ae
mov eax, dword [0x63143c]
test eax, eax
je 0x4f19e3
push 0x7fd
push str.C:4017_buildmysql_4.0.17innobase_row_row0mysql.c
call sub.KERNEL32.dll_GetCurrentThreadId
push eax
call fcn.004d1950
add esp, 4
push eax
push str.InnoDB:_Thread__lu_stopped_in_file__s_line__lu_n
push 0x620ad0
call fcn.00599e71
push 0x3b9aca00
call fcn.004e7040
add esp, 0x18
push 0
push edi
lea eax, [esp + 0x18]
push ebx
push eax
mov dword [esp + 0x20], 0x20
call fcn.004ee150
mov eax, dword [0x631438]
add esp, 0x10
test eax, eax
jne 0x4f1a90
push 0x620ad0
call fcn.004e70c0
add esp, 4
push 0x803
push str.C:4017_buildmysql_4.0.17innobase_row_row0mysql.c
call sub.KERNEL32.dll_GetCurrentThreadId
push eax
call fcn.004d1950
add esp, 4
push eax
push str.__InnoDB:_Assertion_failure_in_thread__lu_in_file__s_line__lu_n
push 0x620ad0
call fcn.00599e71
push str.InnoDB:_Failing_assertion:_0
push 0x620ad0
call fcn.00599e71
push str._nInnoDB:_We_intentionally_generate_a_memory_trap._n
push 0x620ad0
call fcn.00599e71
push str.InnoDB:_Send_a_detailed_bug_report_to_mysql_lists.mysql.com_n
push 0x620ad0
call fcn.00599e71
mov ecx, dword [0x631440]
mov dword [0x63143c], 1
mov eax, dword [ecx]
add esp, 0x2c
test eax, eax
je 0x4f1a99
mov dword [0x631440], 0
jmp 0x4f1a99
mov eax, dword [0x63143c]
test eax, eax
je 0x4f1b00
push 0x803
push str.C:4017_buildmysql_4.0.17innobase_row_row0mysql.c
call sub.KERNEL32.dll_GetCurrentThreadId
push eax
call fcn.004d1950
add esp, 4
push eax
push str.InnoDB:_Thread__lu_stopped_in_file__s_line__lu_n
push 0x620ad0
call fcn.00599e71
push 0x3b9aca00
call fcn.004e7040
add esp, 0x18
jmp 0x4f1b00
push esi
call fcn.0050c5e0
push ebp
call fcn.0053f150
add esp, 8
test eax, eax
je 0x4f1b00
push 0x620ad0
call fcn.004e70c0
push ebp
push str.__InnoDB:_Error:_dropping_of_table__s_failed__n
push 0x620ad0
call fcn.00599e71
add esp, 0x10
mov eax, dword [esp + 0x14]
test eax, eax
pop edi
je 0x4f1b12
push ebx
call fcn.004f00a0
add esp, 4
mov edx, dword [esp + 0x14]
push edx
call fcn.005509e0
push ebx
call fcn.004e6700
add esp, 8
mov dword [ebx + 4], 0x6244e8
call fcn.004e28b0
mov eax, dword [esp + 0xc]
pop esi
pop ebp
pop ebx
add esp, 0x271c
ret