Function at 0x402680
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x411910
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebp
push esi
push edi
mov ebp, ecx
lea ecx, [esp + 0x34]
mov dword [esp + 0x44], 0
call fcn.0040b060
lea ecx, [esp + 0x2c]
mov byte [esp + 0x44], 1
call fcn.0040b060
lea ecx, [esp + 0x24]
mov byte [esp + 0x44], 2
call fcn.0040b060
push 0
push 0
push str.__vidown_referer_pattern_id_
lea eax, [esp + 0x28]
push str._vidown_referer_pattern_id_
push eax
lea ecx, [esp + 0x60]
mov byte [esp + 0x58], 3
call fcn.0040b0a0
test eax, eax
mov byte [esp + 0x44], 4
je 0x4026f9
add eax, 4
jmp 0x4026fb
xor eax, eax
push eax
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x1c]
mov byte [esp + 0x44], 3
call fcn.0040b080
push 0
push 0
push str.__vidown_referer_pattern_type_
lea ecx, [esp + 0x28]
push str._vidown_referer_pattern_type_
push ecx
lea ecx, [esp + 0x60]
call fcn.0040b0a0
test eax, eax
mov byte [esp + 0x44], 5
je 0x40273d
add eax, 4
jmp 0x40273f
xor eax, eax
push eax
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x1c]
mov byte [esp + 0x44], 3
call fcn.0040b080
push 0
push 0
push str.__vidown_referer_pattern_referer_
lea edx, [esp + 0x28]
push str._vidown_referer_pattern_referer_
push edx
lea ecx, [esp + 0x60]
call fcn.0040b0a0
test eax, eax
mov byte [esp + 0x44], 6
je 0x402781
add eax, 4
jmp 0x402783
xor eax, eax
push eax
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x1c]
mov byte [esp + 0x44], 3
call fcn.0040b080
mov eax, dword [esp + 0x30]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x4027b8
lea ecx, [esp + 0x30]
push 0x4181d8
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 8
mov edx, dword [esp + 0x28]
mov eax, dword [edx - 8]
test eax, eax
jne 0x4027d5
lea eax, [esp + 0x28]
push 0x4181dc
push eax
call sub.MFC42.DLL_CString::Format
add esp, 8
lea esi, [esp + 0x24]
lea ecx, [esp + 0x28]
neg esi
sbb esi, esi
lea edi, [esp + 0x2c]
and esi, ecx
lea edx, [esp + 0x30]
neg edi
sbb edi, edi
lea eax, [esp + 0x34]
and edi, edx
lea ecx, [esp + 0x38]
neg eax
sbb eax, eax
push 0x4181d4
and eax, ecx
lea edx, [esp + 0x20]
push eax
push edx
call sub.MFC42.DLL_operator_1
push edi
push eax
lea eax, [esp + 0x20]
mov byte [esp + 0x4c], 7
push eax
call sub.MFC42.DLL_operator_2
push 0x4181d4
lea ecx, [esp + 0x18]
push eax
push ecx
mov byte [esp + 0x50], 8
call sub.MFC42.DLL_operator_1
push esi
lea edx, [esp + 0x14]
push eax
push edx
mov byte [esp + 0x50], 9
call sub.MFC42.DLL_operator_2
push 0x4181d4
push eax
lea eax, [esp + 0x14]
mov byte [esp + 0x4c], 0xa
push eax
call sub.MFC42.DLL_operator_1
mov eax, dword [eax]
mov ecx, ebp
push eax
mov byte [esp + 0x48], 0xb
call fcn.00401390
lea ecx, [esp + 0xc]
mov byte [esp + 0x44], 0xa
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x44], 9
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x44], 8
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x44], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x44], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x44], 2
call fcn.0040b080
lea ecx, [esp + 0x2c]
mov byte [esp + 0x44], 1
call fcn.0040b080
lea ecx, [esp + 0x34]
mov byte [esp + 0x44], 0
call fcn.0040b080
lea ecx, [esp + 0x4c]
mov dword [esp + 0x44], 0xffffffff
call fcn.0040b080
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x3c
ret 8