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

Disassembly:
push 0xffffffffffffffff
push 0x4478f0
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.00439f20
lea ecx, [esp + 0x2c]
mov byte [esp + 0x44], 1
call fcn.00439f20
lea ecx, [esp + 0x24]
mov byte [esp + 0x44], 2
call fcn.00439f20
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.00439f60
test eax, eax
mov byte [esp + 0x44], 4
je 0x403fc9
add eax, 4
jmp 0x403fcb
xor eax, eax
push eax
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x44], 3
call fcn.00439f40
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.00439f60
test eax, eax
mov byte [esp + 0x44], 5
je 0x40400d
add eax, 4
jmp 0x40400f
xor eax, eax
push eax
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x44], 3
call fcn.00439f40
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.00439f60
test eax, eax
mov byte [esp + 0x44], 6
je 0x404051
add eax, 4
jmp 0x404053
xor eax, eax
push eax
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x44], 3
call fcn.00439f40
mov eax, dword [esp + 0x30]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x404088
lea ecx, [esp + 0x30]
push 0x45d338
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 0x4040a5
lea eax, [esp + 0x28]
push 0x45d33c
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 0x45d334
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 0x45d334
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 0x45d334
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.004028c0
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.00439f40
lea ecx, [esp + 0x2c]
mov byte [esp + 0x44], 1
call fcn.00439f40
lea ecx, [esp + 0x34]
mov byte [esp + 0x44], 0
call fcn.00439f40
lea ecx, [esp + 0x4c]
mov dword [esp + 0x44], 0xffffffff
call fcn.00439f40
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x3c
ret 8