Function at 0x40e770
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x413b2b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x34]
call fcn.00401000
xor ebx, ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0xc], ebx
lea eax, [esi + 4]
lea ecx, [esp + 0x2c]
push eax
push str.INSERT_INTO_Ygjcxxb_YGid_YGxm_Sex_WHcd_VALUES_
push ecx
mov byte [esp + 0x54], 1
call sub.MFC42.DLL_operator_2
push 0x41b29c
lea edx, [esp + 0x2c]
push eax
push edx
mov byte [esp + 0x54], 2
call sub.MFC42.DLL_operator_1
lea ecx, [esi + 8]
lea edx, [esp + 0x24]
push ecx
push eax
push edx
mov byte [esp + 0x54], 3
call sub.MFC42.DLL_operator
push 0x41b29c
push eax
lea eax, [esp + 0x28]
mov byte [esp + 0x50], 4
push eax
call sub.MFC42.DLL_operator_1
lea ecx, [esi + 0xc]
lea edx, [esp + 0x1c]
push ecx
push eax
push edx
mov byte [esp + 0x54], 5
call sub.MFC42.DLL_operator
push 0x41b29c
push eax
lea eax, [esp + 0x20]
mov byte [esp + 0x50], 6
push eax
call sub.MFC42.DLL_operator_1
add esi, 0x10
lea ecx, [esp + 0x14]
push esi
push eax
push ecx
mov byte [esp + 0x54], 7
call sub.MFC42.DLL_operator
push 0x41b298
lea edx, [esp + 0x14]
push eax
push edx
mov byte [esp + 0x54], 8
call sub.MFC42.DLL_operator_1
mov edi, dword [eax]
push 0xc
mov byte [esp + 0x4c], 9
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [esp + 0x30], esi
mov byte [esp + 0x48], 0xa
cmp esi, ebx
je 0x40e88e
push edi
mov dword [esi + 4], ebx
mov dword [esi + 8], 1
call fcn.004115da
cmp eax, ebx
mov dword [esi], eax
jne 0x40e890
cmp edi, ebx
je 0x40e890
push 0x8007000e
call fcn.0041171f
jmp 0x40e890
xor esi, esi
lea ecx, [esp + 0x10]
mov dword [esp + 0xc], esi
mov byte [esp + 0x48], 8
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x48], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x48], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x48], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x48], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x48], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov byte [esp + 0x48], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov byte [esp + 0x48], 1
call sub.MFC42.DLL_CString::CString
push ecx
cmp esi, ebx
mov eax, esp
mov dword [esp + 0x34], esp
mov dword [eax], esi
je 0x40e91b
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
lea ecx, [esp + 0x38]
call fcn.004017a0
lea ecx, [esp + 0x34]
call fcn.00401960
cmp esi, ebx
mov byte [esp + 0x48], bl
je 0x40e969
lea ecx, [esi + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x40e969
mov eax, dword [esi]
cmp eax, ebx
je 0x40e950
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x40e960
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x34]
mov dword [esp + 0x48], 0xffffffff
call fcn.00401040
mov ecx, dword [esp + 0x40]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x40
ret