Function at 0x406920
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x40cd80
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [esp + 0x28]
push ebp
mov ebp, ecx
push edi
lea ecx, [esp + 0xc]
push eax
push ecx
mov ecx, ebp
call fcn.00406bf0
mov edx, dword [esp + 0xc]
mov dword [esp + 0x28], 0
mov eax, dword [edx - 8]
test eax, eax
je 0x406bbc
mov eax, dword [ebp + 0xc]
mov byte [esp + 0xb], 0
mov byte [esp + 0x30], 0
mov edi, dword [eax]
cmp edi, eax
mov dword [esp + 0x10], edi
je 0x406bbc
push ebx
push esi
jmp 0x406987
mov edi, dword [esp + 0x18]
mov eax, dword [edi + 0xc]
mov ebx, dword [sym.imp.MSVCRT.dll__mbsicmp]
push eax
mov eax, dword [esp + 0x18]
push eax
call ebx
add esp, 8
test eax, eax
jne 0x406af8
mov eax, dword [ebp + 0x18]
mov byte [esp + 0x13], 1
mov esi, dword [eax]
cmp esi, eax
je 0x406a30
mov ecx, dword [edi + 0xc]
lea edx, [esp + 0x20]
push ecx
push edx
mov ecx, ebp
call fcn.00406bf0
mov eax, dword [esi + 0xc]
lea ecx, [esp + 0x1c]
push eax
push ecx
mov ecx, ebp
mov byte [esp + 0x38], 1
call fcn.00406bf0
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
push edx
push eax
mov byte [esp + 0x38], 2
call ebx
add esp, 8
test eax, eax
jne 0x406a0b
mov ecx, dword [esi + 0x10]
push ecx
lea ecx, [ebp + 0x2c]
call sub.MFC42.DLL_CString::operator_1
mov edx, dword [esi + 0xc]
lea ecx, [ebp + 0x30]
push edx
call sub.MFC42.DLL_CString::operator_1
mov byte [esp + 0x38], 1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x30], 0
call sub.MFC42.DLL_CString::CString
mov esi, dword [esi]
mov eax, dword [ebp + 0x18]
cmp esi, eax
jne 0x4069b1
mov al, byte [esp + 0x38]
test al, al
jne 0x406a52
push 0x412b44
lea ecx, [ebp + 0x2c]
call sub.MFC42.DLL_CString::operator_1
push 0x412b44
lea ecx, [ebp + 0x30]
call sub.MFC42.DLL_CString::operator_1
mov ecx, dword [0x4133b0]
call fcn.00403ac0
mov eax, dword [edi + 0x14]
mov ebx, dword [eax]
cmp ebx, eax
je 0x406af8
mov eax, dword [ebp + 0x18]
mov edi, dword [eax]
cmp edi, eax
je 0x406ae7
mov eax, dword [edi + 0x10]
lea ecx, [esp + 0x24]
push eax
call sub.MFC42.DLL_CString::CString_2
mov esi, dword [ebx + 8]
mov eax, dword [edi + 8]
mov byte [esp + 0x30], 3
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x406aaf
test cl, cl
je 0x406aab
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x406aaf
add eax, 2
add esi, 2
test cl, cl
jne 0x406a8b
xor eax, eax
jmp 0x406ab4
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x406ad0
mov eax, dword [esp + 0x3c]
mov ecx, dword [edi + 0xc]
mov edx, dword [edi + 0x10]
push eax
push ecx
mov ecx, dword [0x4133b0]
push edx
call fcn.00403ad0
lea ecx, [esp + 0x24]
mov byte [esp + 0x30], 0
call sub.MFC42.DLL_CString::CString
mov edi, dword [edi]
mov eax, dword [ebp + 0x18]
cmp edi, eax
jne 0x406a73
mov eax, dword [esp + 0x18]
mov ebx, dword [ebx]
cmp ebx, dword [eax + 0x14]
jne 0x406a6a
mov edi, eax
mov edi, dword [edi]
mov eax, dword [ebp + 0xc]
cmp edi, eax
mov dword [esp + 0x18], edi
jne 0x406983
mov al, byte [esp + 0x13]
pop esi
test al, al
pop ebx
je 0x406bbc
push str.You_will_NOT_earn_cash_back
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x4133b0]
lea eax, [esp + 0x30]
add ecx, 0xe4
push eax
mov byte [esp + 0x2c], 4
mov edx, dword [ecx]
call dword [edx + 0xc8]
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 0
call sub.MFC42.DLL_CString::CString
push str.__on_this_site._Suggested_sites:
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x4133b0]
lea eax, [esp + 0x30]
add ecx, 0x1b4
push eax
mov byte [esp + 0x2c], 5
mov edx, dword [ecx]
call dword [edx + 0xc8]
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [0x4133b0]
call fcn.00403af0
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call sub.MFC42.DLL_CString::CString
pop edi
mov al, 1
pop ebp
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret 8
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x20]
pop edi
xor al, al
pop ebp
mov dword fs:[0], ecx
add esp, 0x24
ret 8