Function at 0x4066a0
Capabilities:
Create thread

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x408cd8
push eax
mov eax, dword [0x41950c]
mov dword fs:[0], esp
sub esp, 0x14
push esi
push 0
push 0
push pe_nt_image_headers32
push 0x3f9
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 1
jne 0x406919
or esi, 0xffffffff
push ebx
push esi
push 0
mov ecx, 0x412a70
call sub.MFC42u.DLL_CStringArray::SetSize
lea ecx, [esp + 8]
call fcn.00408370
lea ecx, [esp + 0xc]
push 0
push ecx
mov dword [esp + 0x2c], 0
call fcn.004054b0
add esp, 8
push 0x419598
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 1
call sub.MFC42u.DLL_CString::CString_3
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
push edx
push eax
call dword [sym.imp.MSVCRT.dll_wcscmp]
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
sete bl
call fcn.00408376
test bl, bl
pop ebx
je 0x406765
mov ecx, dword [0x41950c]
push 0
push 0x40ec80
push 0x40fce0
push ecx
jmp 0x4068f8
mov edx, dword [esp + 8]
mov eax, dword [0x419504]
push 0x412270
push edx
push 0x412a90
push eax
push 0x417b5c
push 0x410998
lea ecx, [esp + 0x1c]
push str.CMD__C_Mysqldump__u_s__p_s___default_character_set_s___single_transaction___hex_blob__R__s__s____s
push ecx
call sub.MFC42u.DLL_CString::Format
mov eax, dword [0x412a78]
add esp, 0x20
lea edx, [esp + 4]
mov ecx, 0x412a70
push edx
push eax
call sub.MFC42u.DLL_CStringArray::SetAtGrow
push str.RCSEVENTALL_RCSEVENTANA_RCSEVENTCEJU_RCSEVENTDGT_RCSEVENTOPERATE_RCSEVENTPRIVILEGE_RCSEVENTPROTECT_RCSEVENTPULSE_RCSEVENTRELAY_RCSEVENTSETTING_RCSEVENTSOE_RCSEVENTTUNE_RCSEVENTVQC
lea ecx, [esp + 0xc]
call sub.MFC42u.DLL_CString::operator
mov eax, dword [esp + 8]
mov ecx, dword [0x419504]
push 0x412270
push eax
push 0x412a90
push ecx
push 0x417b5c
push 0x410998
lea edx, [esp + 0x1c]
push str.CMD__C_Mysqldump__u_s__p_s___default_character_set_s___single_transaction___hex_blob___no_data__s__s_____s
push edx
call sub.MFC42u.DLL_CString::Format
mov eax, dword [0x412a78]
add esp, 0x20
lea ecx, [esp + 4]
push ecx
push eax
mov ecx, 0x412a70
call sub.MFC42u.DLL_CStringArray::SetAtGrow
mov edx, dword [0x419504]
push 0x412270
push 0x412a90
push edx
push 0x417b5c
push 0x410998
lea eax, [esp + 0x18]
push str.CMD__C_mysqldump__u_s__p_s___default_character_set_s___single_transaction___hex_blob__s_rcsfilebinary___w_nfileid_in_select_nfileid_from_rcsfileinfo_where_btfiletype__3_______s
push eax
call sub.MFC42u.DLL_CString::Format
mov eax, dword [0x412a78]
add esp, 0x1c
lea ecx, [esp + 4]
push ecx
push eax
mov ecx, 0x412a70
call sub.MFC42u.DLL_CStringArray::SetAtGrow
mov edx, dword [0x419504]
push 0x412270
push 0x412a90
push edx
push 0x417b5c
push 0x410998
lea eax, [esp + 0x18]
push str.CMD__C_mysqldump__u_s__p_s___default_character_set_s___single_transaction___hex_blob__s_rcsfiletext_____w_nfileid_in_select_nfileid_from_rcsfileinfo_where_btfiletype__3_______s
push eax
call sub.MFC42u.DLL_CString::Format
mov eax, dword [0x412a78]
add esp, 0x1c
lea ecx, [esp + 4]
push ecx
push eax
mov ecx, 0x412a70
call sub.MFC42u.DLL_CStringArray::SetAtGrow
mov edx, dword [0x419504]
push 0x412270
push 0x412a90
push edx
push 0x417b5c
push 0x410998
lea eax, [esp + 0x18]
push str.CMD__C_mysqldump__u_s__p_s___default_character_set_s___single_transaction___hex_blob__s_rcsfileinfo_____w_btfiletype__3______s
push eax
call sub.MFC42u.DLL_CString::Format
mov eax, dword [0x412a78]
add esp, 0x1c
lea ecx, [esp + 4]
push ecx
push eax
mov ecx, 0x412a70
call sub.MFC42u.DLL_CStringArray::SetAtGrow
lea edx, [esp + 0x10]
push edx
push 0
push 0
push 0x406490
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
mov dword [0x419590], eax
jne 0x4068fe
push eax
mov eax, dword [0x41950c]
push 0x40ec80
push 0x40ec6c
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [esp + 8]
mov byte [esp + 0x20], 0
call fcn.00408376
mov dword [esp + 0x20], esi
lea ecx, [esp + 4]
jmp 0x4069bc
or esi, 0xffffffff
mov ecx, 0x412a70
push esi
push 0
call sub.MFC42u.DLL_CStringArray::SetSize
lea ecx, [esp + 0xc]
call fcn.00408370
mov ecx, dword [0x419504]
push 0x412270
push 0x412a90
push ecx
push 0x417b5c
push 0x410998
lea edx, [esp + 0x20]
push str.CMD__C_Mysqldump__u_s__p_s__R___default_character_set_s___single_transaction___hex_blob__s____s
push edx
mov dword [esp + 0x3c], 2
call sub.MFC42u.DLL_CString::Format
mov eax, dword [0x412a78]
add esp, 0x1c
lea ecx, [esp + 0xc]
push ecx
push eax
mov ecx, 0x412a70
call sub.MFC42u.DLL_CStringArray::SetAtGrow
lea edx, [esp + 0x14]
push edx
push 0
push 0
push 0x406490
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
mov dword [0x419590], eax
jne 0x4069b4
push eax
mov eax, dword [0x41950c]
push 0x40ec80
push 0x40ec6c
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
mov dword [esp + 0x20], esi
lea ecx, [esp + 0xc]
call fcn.00408376
mov ecx, dword [esp + 0x18]
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret