Function at 0x42a405
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4a7870
mov eax, dword fs:[0]
push eax
sub esp, 0x130
mov eax, dword [0x4db020]
xor eax, esp
mov dword [esp + 0x128], eax
push ebx
push esi
push edi
mov eax, dword [0x4db020]
xor eax, esp
push eax
lea eax, [esp + 0x140]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0xc]
xor esi, esi
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0x10]
mov edi, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], esi
xor eax, eax
inc eax
mov dword [esp + 0x148], eax
mov dword [esp + 0x20], eax
mov al, byte [edi]
mov byte [esp + 0x24], al
mov al, byte [edi + 1]
mov byte [esp + 0x25], al
mov al, byte [edi + 2]
mov byte [esp + 0x26], al
mov eax, dword [edi + 4]
mov dword [esp + 0x28], eax
lea ebx, [edi + 8]
lea eax, [esp + 0x2c]
call fcn.0042b5b8
lea ebx, [edi + 0x18]
lea eax, [esp + 0x3c]
call fcn.0042b5b8
lea ecx, [esp + 0xe0]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
lea eax, [esp + 0x4c]
push eax
mov byte [esp + 0x14c], 2
call fcn.00405a75
lea eax, [esp + 0x4c]
mov byte [esp + 0x148], 3
call fcn.00405aec
mov edi, eax
cmp edi, esi
je 0x42a54c
lea eax, [esp + 0x4c]
push eax
mov byte [esp + 0x14c], 2
call fcn.00401ba9
lea ecx, [esp + 0xe0]
mov byte [esp + 0x148], 1
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
or dword [esp + 0x148], 0xffffffff
lea eax, [esp + 0x24]
push eax
call fcn.0042b589
mov eax, edi
mov ecx, dword [esp + 0x140]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x128]
xor ecx, esp
call fcn.00495616
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x20]
push eax
lea edi, [esp + 0x50]
call fcn.0042c14f
mov edi, eax
cmp edi, esi
jne 0x42a4ed
lea eax, [esp + 0xe0]
push eax
lea eax, [esp + 0x50]
push eax
call fcn.00405b17
mov eax, dword [esp + 0xf4]
dec eax
push eax
push esi
lea eax, [esp + 0x120]
push eax
lea ecx, [esp + 0xec]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::substr_unsigned_int__unsigned_int_]
push eax
lea ecx, [esp + 0xe4]
mov byte [esp + 0x14c], 4
call dword [0x4aa3f8]
lea ecx, [esp + 0x118]
mov byte [esp + 0x148], 3
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea eax, [esp + 0x4c]
push eax
mov byte [esp + 0x14c], 2
call fcn.00401ba9
lea ecx, [esp + 0xfc]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
mov byte [esp + 0x148], 5
cmp dword [esp + 0xf8], 0x10
mov eax, dword [esp + 0xe4]
jae 0x42a5fb
lea eax, [esp + 0xe4]
mov edi, dword [esp + 0x18]
lea ecx, [esp + 0xfc]
push ecx
push dword [esp + 0xf8]
mov ebx, str.SetGlobalFilter
push eax
push dword [esp + 0x28]
call fcn.00405d70
mov edi, eax
add esp, 0x10
cmp edi, esi
jne 0x42a6e0
lea ecx, [esp + 0x11c]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
lea eax, [esp + 0x94]
push eax
mov byte [esp + 0x14c], 6
call fcn.00405a75
mov byte [esp + 0x148], 7
cmp dword [esp + 0x114], 0x10
mov eax, dword [esp + 0x100]
jae 0x42a66c
lea eax, [esp + 0x100]
push eax
lea eax, [esp + 0x98]
call fcn.00405ab9
mov edi, eax
cmp edi, esi
jne 0x42a6b6
lea eax, [esp + 0x118]
push eax
lea ecx, [esp + 0x98]
call fcn.00405dfd
mov edi, eax
cmp edi, esi
jne 0x42a6b6
mov edi, dword [esp + 0x118]
cmp edi, esi
jne 0x42a6b6
push dword [esp + 0x14]
lea ecx, [esp + 0x98]
call fcn.0042c02b
mov edi, eax
lea eax, [esp + 0x94]
push eax
mov byte [esp + 0x14c], 6
call fcn.00401ba9
lea ecx, [esp + 0x11c]
mov byte [esp + 0x148], 5
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0xfc]
mov byte [esp + 0x148], 2
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
jmp 0x42a4ff