Function at 0x503390
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x574bb8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
lea ecx, [esp + 8]
mov dword [esp + 0x28], 1
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 2
call sub.MFC42.DLL_CString::CString_3
mov bl, 3
push 0x5c0168
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], bl
call sub.MFC42.DLL_CString::operator_1
mov eax, dword [esp + 0x30]
cmp byte [eax], 0x53
jne 0x50345c
lea ecx, [esp + 0x30]
lea edx, [esp + 0x18]
push ecx
push str.Create_Table
push edx
call sub.MFC42.DLL_operator_2
push str.__EvidNo_int_Abstract_varchar_64__Subject_varchar_50__
push eax
lea eax, [esp + 0x1c]
mov byte [esp + 0x30], 4
push eax
call sub.MFC42.DLL_operator_4
push str.Debit_varchar_100__Credit_varchar_100___Count__varchar_100__Foreig_varchar_100__
lea ecx, [esp + 0x14]
push eax
push ecx
mov byte [esp + 0x34], 5
call sub.MFC42.DLL_operator_4
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], 6
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 4
call sub.MFC42.DLL_CString::CString
mov byte [esp + 0x28], bl
lea ecx, [esp + 0x18]
jmp 0x5034f0
lea edx, [esp + 0x30]
lea eax, [esp + 0x1c]
push edx
push str.Create_Table
push eax
call sub.MFC42.DLL_operator_2
push str.__UnitNo_varchar_10__Line_int_Col_int_Data_varchar_30__MDate_int_Constraint_pk_
lea ecx, [esp + 0x14]
push eax
push ecx
mov byte [esp + 0x34], 7
call sub.MFC42.DLL_operator_4
lea edx, [esp + 0x30]
mov byte [esp + 0x28], 8
push edx
push eax
lea eax, [esp + 0x1c]
push eax
call sub.MFC42.DLL_operator_3
push str._Primary_key__UnitNo_Line_Col_MDate__
lea ecx, [esp + 0x1c]
push eax
push ecx
mov byte [esp + 0x34], 9
call sub.MFC42.DLL_operator_4
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], 0xa
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], 9
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 8
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 7
call sub.MFC42.DLL_CString::CString
mov byte [esp + 0x28], bl
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 8]
mov esi, dword [esp + 0x38]
push 1
push edx
mov ecx, esi
call fcn.00418c90
test eax, eax
je 0x50362e
lea eax, [esp + 0x30]
lea ecx, [esp + 0x38]
push eax
push str.Select__from
push ecx
call sub.MFC42.DLL_operator_2
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], 0xb
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x38]
mov byte [esp + 0x28], bl
call sub.MFC42.DLL_CString::CString
push ecx
lea edx, [esp + 0xc]
mov ecx, esp
mov dword [esp + 0x3c], esp
push edx
call sub.MFC42.DLL_CString::CString_2
push 0x5c02c8
push ecx
lea eax, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
mov byte [esp + 0x38], 0xc
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x5c0424]
push esi
mov byte [esp + 0x38], bl
call fcn.0050beb0
test eax, eax
je 0x50362e
lea ecx, [esp + 0xc]
lea edx, [esp + 0x14]
push ecx
push str.Insert_Into
push edx
call sub.MFC42.DLL_operator_2
push str.TableName_TableName__values__
push eax
lea eax, [esp + 0x20]
mov byte [esp + 0x30], 0xd
push eax
call sub.MFC42.DLL_operator_4
lea ecx, [esp + 0x30]
lea edx, [esp + 0x1c]
push ecx
push eax
push edx
mov byte [esp + 0x34], 0xe
call sub.MFC42.DLL_operator_3
push 0x5b6bf8
push eax
lea eax, [esp + 0x40]
mov byte [esp + 0x30], 0xf
push eax
call sub.MFC42.DLL_operator_4
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], 0x10
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x38]
mov byte [esp + 0x28], 0xf
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x28], 0xe
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], 0xd
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], bl
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 8]
push 1
push ecx
mov ecx, esi
call fcn.00418c90
test eax, eax
jne 0x503645
push 0x2010
push 0x5b6164
push 0x5bc960
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 8]
mov byte [esp + 0x28], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x34]
mov dword [esp + 0x28], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x20]
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x24
ret 0xc