Function at 0x46ea30
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x4ba098
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov eax, dword [esp + 0x30]
push ebx
push ebp
push esi
push edi
push eax
lea ecx, [esp + 0x44]
call fcn.004ac198
push str._r_n_r_n
lea ecx, [esp + 0x44]
mov dword [esp + 0x3c], 0
call sub.MFC42.DLL_CString::Find_2
add eax, 2
lea ecx, [esp + 0x1c]
push eax
push ecx
lea ecx, [esp + 0x48]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x3c], 1
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x38], 0
call sub.MFC42.DLL_CString::CString
push 0x4e13e8
lea ecx, [esp + 0x44]
call sub.MFC42.DLL_CString::Find_2
mov edi, eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], edi
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], 2
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], 3
call sub.MFC42.DLL_CString::CString_2
test edi, edi
mov byte [esp + 0x38], 4
jle 0x46ecdd
mov esi, dword [esp + 0x44]
jmp 0x46eaef
mov edi, dword [esp + 0x1c]
lea edx, [esp + 0x44]
push edi
push edx
lea ecx, [esp + 0x48]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x3c], 5
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x44]
mov byte [esp + 0x38], 4
call sub.MFC42.DLL_CString::CString
push 0x4e45c8
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Find_2
mov edi, eax
test edi, edi
jle 0x46ed32
lea eax, [esp + 0x20]
push edi
push eax
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x3c], 6
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x20]
mov byte [esp + 0x38], 4
call sub.MFC42.DLL_CString::CString
add edi, 2
lea ecx, [esp + 0x24]
push edi
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x3c], 7
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x24]
mov byte [esp + 0x38], 4
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x18]
push eax
mov dword [esp + 0x2c], eax
mov ebp, eax
call sub.MFC42.DLL_HashKey
xor edx, edx
div dword [esi + 8]
mov eax, dword [esi + 4]
test eax, eax
mov ebx, edx
je 0x46ebd5
mov edi, dword [eax + ebx*4]
test edi, edi
je 0x46ebd5
mov eax, dword [edi + 8]
push ebp
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x46ebcd
mov edi, dword [edi]
test edi, edi
jne 0x46ebb3
jmp 0x46ebd5
test edi, edi
jne 0x46ec83
mov eax, dword [esi + 4]
test eax, eax
jne 0x46ec0b
mov ebp, dword [esi + 8]
lea edi, [ebp*4]
push edi
call sub.MFC42.DLL_operatornew
mov edx, eax
mov ecx, edi
mov dword [esi + 4], edx
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
add esp, 4
and ecx, 3
rep stosb byte es:[edi], al
mov dword [esi + 8], ebp
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x46ec41
mov eax, dword [esi + 0x18]
push 0x10
lea ecx, [esi + 0x14]
push eax
push ecx
call sub.MFC42.DLL_CPlex::Create
mov ecx, dword [esi + 0x18]
mov edx, ecx
shl edx, 4
dec ecx
test ecx, ecx
lea eax, [edx + eax - 0xc]
jl 0x46ec41
inc ecx
mov edx, dword [esi + 0x10]
mov dword [eax], edx
mov dword [esi + 0x10], eax
sub eax, 0x10
dec ecx
jne 0x46ec33
mov edi, dword [esi + 0x10]
mov ebp, dword [esi + 0xc]
inc ebp
push 1
mov eax, dword [edi]
mov dword [esi + 0xc], ebp
lea ebp, [edi + 8]
mov dword [esi + 0x10], eax
push ebp
call sub.MFC42.DLL_ConstructElements
lea ecx, [edi + 0xc]
push 1
push ecx
call sub.MFC42.DLL_ConstructElements
mov edx, dword [esp + 0x28]
mov ecx, ebp
push edx
mov dword [edi + 4], ebx
call sub.MFC42.DLL_CString::operator
mov eax, dword [esi + 4]
mov ecx, dword [eax + ebx*4]
mov dword [edi], ecx
mov edx, dword [esi + 4]
mov dword [edx + ebx*4], edi
lea eax, [esp + 0x14]
lea ecx, [edi + 0xc]
push eax
call sub.MFC42.DLL_CString::operator_1
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x2c]
add ecx, 2
push ecx
push edx
lea ecx, [esp + 0x48]
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x3c], 8
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x2c]
mov byte [esp + 0x38], 4
call sub.MFC42.DLL_CString::CString
push 0x4e13e8
lea ecx, [esp + 0x44]
call sub.MFC42.DLL_CString::Find_2
test eax, eax
mov dword [esp + 0x1c], eax
jg 0x46eaeb
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x38], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x40]
mov dword [esp + 0x38], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 1
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret 8
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x38], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x40]
mov dword [esp + 0x38], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
jmp 0x46ed1d