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

Disassembly:
push 0xffffffffffffffff
push 0x416bd0
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.0040f640
lea ecx, [esp + 0x2c]
mov byte [esp + 0x44], 1
call fcn.0040f640
lea ecx, [esp + 0x24]
mov byte [esp + 0x44], 2
call fcn.0040f640
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.0040f680
test eax, eax
mov byte [esp + 0x44], 4
je 0x402529
add eax, 4
jmp 0x40252b
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.0040f660
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.0040f680
test eax, eax
mov byte [esp + 0x44], 5
je 0x40256d
add eax, 4
jmp 0x40256f
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.0040f660
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.0040f680
test eax, eax
mov byte [esp + 0x44], 6
je 0x4025b1
add eax, 4
jmp 0x4025b3
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.0040f660
mov eax, dword [esp + 0x30]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x4025e8
lea ecx, [esp + 0x30]
push 0x41f1e8
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 0x402605
lea eax, [esp + 0x28]
push 0x41f1ec
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 0x41f1e4
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 0x41f1e4
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 0x41f1e4
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.00401420
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.0040f660
lea ecx, [esp + 0x2c]
mov byte [esp + 0x44], 1
call fcn.0040f660
lea ecx, [esp + 0x34]
mov byte [esp + 0x44], 0
call fcn.0040f660
lea ecx, [esp + 0x4c]
mov dword [esp + 0x44], 0xffffffff
call fcn.0040f660
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x3c
ret 8