Function at 0x50ae40
Capabilities:
Access peb ldr_data
Contain obfuscated stackstrings
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5762f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
lea ecx, [esp + 8]
mov dword [esp + 0x30], 2
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 3
call sub.MFC42.DLL_CString::CString_3
lea eax, [esp + 0x38]
mov bl, 4
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x34], bl
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x1c]
push 9
push ecx
lea ecx, [esp + 0x40]
call sub.MFC42.DLL_CString::Mid
mov esi, eax
push 5
lea edx, [esp + 0x1c]
push 0
push edx
lea ecx, [esp + 0x44]
mov byte [esp + 0x3c], 5
call sub.MFC42.DLL_CString::Mid_1
lea ecx, [esp + 0x40]
lea edx, [esp + 0x14]
push ecx
push eax
push edx
mov byte [esp + 0x3c], 6
call sub.MFC42.DLL_operator_3
push esi
push eax
lea eax, [esp + 0x18]
mov byte [esp + 0x38], 7
push eax
call sub.MFC42.DLL_operator_3
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x34], 8
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], bl
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x38]
cmp byte [ecx], 0x53
jne 0x50afeb
lea edx, [esp + 0x3c]
lea eax, [esp + 0x20]
push edx
push str.Create_Table
push eax
call sub.MFC42.DLL_operator_2
push 0x5b6368
lea ecx, [esp + 0x14]
push eax
push ecx
mov byte [esp + 0x3c], 9
call sub.MFC42.DLL_operator_4
lea edx, [esp + 0x38]
mov byte [esp + 0x30], 0xa
push edx
push eax
lea eax, [esp + 0x1c]
push eax
call sub.MFC42.DLL_operator_3
push str.__EvidNo_int_Abstract_varchar_64__Subject_varchar_50__
lea ecx, [esp + 0x1c]
push eax
push ecx
mov byte [esp + 0x3c], 0xb
call sub.MFC42.DLL_operator_4
push str.Debit_varchar_100__Credit_varchar_100___Count__varchar_100__Foreig_varchar_100__
lea edx, [esp + 0x20]
push eax
push edx
mov byte [esp + 0x3c], 0xc
call sub.MFC42.DLL_operator_4
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x34], 0xd
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], 0xc
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 0xb
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 0xa
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 9
call sub.MFC42.DLL_CString::CString
mov byte [esp + 0x30], bl
lea ecx, [esp + 0x20]
jmp 0x50b0c5
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x24]
push eax
push str.Create_Table
push ecx
call sub.MFC42.DLL_operator_2
push 0x5b6368
lea edx, [esp + 0x14]
push eax
push edx
mov byte [esp + 0x3c], 0xe
call sub.MFC42.DLL_operator_4
lea ecx, [esp + 0x38]
lea edx, [esp + 0x14]
push ecx
push eax
push edx
mov byte [esp + 0x3c], 0xf
call sub.MFC42.DLL_operator_3
push str.__UnitNo_varchar_10__Line_int_Col_int_Data_varchar_30__MDate_int_Constraint_pk_
push eax
lea eax, [esp + 0x20]
mov byte [esp + 0x38], 0x10
push eax
call sub.MFC42.DLL_operator_4
lea ecx, [esp + 0x3c]
lea edx, [esp + 0x1c]
push ecx
push eax
push edx
mov byte [esp + 0x3c], 0x11
call sub.MFC42.DLL_operator_3
push str._Primary_key__UnitNo_Line_Col_MDate__
push eax
lea eax, [esp + 0x28]
mov byte [esp + 0x38], 0x12
push eax
call sub.MFC42.DLL_operator_4
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x34], 0x13
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x20]
mov byte [esp + 0x30], 0x12
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], 0x11
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 0x10
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 0xf
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 0xe
call sub.MFC42.DLL_CString::CString
mov byte [esp + 0x30], bl
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 8]
mov esi, dword [esp + 0x44]
push 1
push ecx
mov ecx, esi
call fcn.00418c90
test eax, eax
jne 0x50b13f
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 8]
mov byte [esp + 0x30], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x38]
mov byte [esp + 0x30], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x3c]
mov byte [esp + 0x30], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x40]
mov dword [esp + 0x30], 0xffffffff
call sub.MFC42.DLL_CString::CString
pop esi
or eax, 0xffffffff
pop ebx
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret 0x10
lea edx, [esp + 0x3c]
lea eax, [esp + 0x18]
push edx
push str.Insert_Into
push eax
call sub.MFC42.DLL_operator_2
push 0x5b6368
lea ecx, [esp + 0x20]
push eax
push ecx
mov byte [esp + 0x3c], 0x14
call sub.MFC42.DLL_operator_4
lea edx, [esp + 0x38]
mov byte [esp + 0x30], 0x15
push edx
push eax
lea eax, [esp + 0x28]
push eax
call sub.MFC42.DLL_operator_3
push str._Select__from
lea ecx, [esp + 0x28]
push eax
push ecx
mov byte [esp + 0x3c], 0x16
call sub.MFC42.DLL_operator_4
lea edx, [esp + 0xc]
mov byte [esp + 0x30], 0x17
push edx
push eax
lea eax, [esp + 0x4c]
push eax
call sub.MFC42.DLL_operator_3
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x34], 0x18
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x44]
mov byte [esp + 0x30], 0x17
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x30], 0x16
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x30], 0x15
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], 0x14
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 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
mov byte [esp + 0x30], 3
lea ecx, [esp + 0xc]
jne 0x50b26c
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 8]
mov byte [esp + 0x30], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x38]
mov byte [esp + 0x30], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x3c]
mov byte [esp + 0x30], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x40]
mov dword [esp + 0x30], 0xffffffff
call sub.MFC42.DLL_CString::CString
pop esi
or eax, 0xffffffff
pop ebx
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret 0x10
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 8]
mov byte [esp + 0x30], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x38]
mov byte [esp + 0x30], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x3c]
mov byte [esp + 0x30], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x40]
mov dword [esp + 0x30], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x28]
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret 0x10