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

Disassembly:
push 0xffffffffffffffff
push 0x407897
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
lea ebx, [esi + 4]
mov ecx, ebx
call fcn.004071f2
lea ebp, [esi + 8]
xor edi, edi
mov ecx, ebp
mov dword [esp + 0x1c], edi
call fcn.004071f2
lea ecx, [esi + 0xc]
mov byte [esp + 0x1c], 1
call fcn.004071f2
lea ecx, [esi + 0x30]
mov byte [esp + 0x1c], 2
call fcn.004071f2
lea ecx, [esi + 0x38]
mov byte [esp + 0x1c], 3
call fcn.004071f2
lea ecx, [esi + 0x3c]
mov byte [esp + 0x1c], 4
call fcn.004071f2
lea ecx, [esi + 0x60]
mov byte [esp + 0x1c], 5
call fcn.004071f2
lea ecx, [esi + 0x74]
mov byte [esp + 0x1c], 6
call fcn.004071f2
lea ecx, [esi + 0x78]
mov byte [esp + 0x1c], 7
call fcn.004071f2
lea ecx, [esi + 0x80]
mov byte [esp + 0x1c], 8
call fcn.004071f2
lea ecx, [esi + 0x90]
mov byte [esp + 0x1c], 9
call fcn.004071f2
lea ecx, [esi + 0x94]
mov byte [esp + 0x1c], 0xa
call fcn.004071f2
lea ecx, [esi + 0x98]
mov byte [esp + 0x1c], 0xb
call fcn.004071f2
lea ecx, [esi + 0x9c]
mov byte [esp + 0x1c], 0xc
call fcn.004071f2
lea ecx, [esi + 0xa0]
mov byte [esp + 0x1c], 0xd
call fcn.004071f2
push 0x40a4b0
mov ecx, ebx
mov byte [esp + 0x20], 0xe
mov dword [esi], 0x408298
call sub.MFC42.DLL_CString::operator_1
push 0x40a4b0
mov ecx, ebp
call sub.MFC42.DLL_CString::operator_1
push 0x40a4b0
lea ecx, [esi + 0xc]
call sub.MFC42.DLL_CString::operator_1
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
push 0x40a4b0
lea ecx, [esi + 0x30]
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
call sub.MFC42.DLL_CString::operator_1
push 0x40a4b0
lea ecx, [esi + 0x38]
call sub.MFC42.DLL_CString::operator_1
push str.HttpDownload_2.0
lea ecx, [esi + 0x3c]
call sub.MFC42.DLL_CString::operator_1
mov eax, 0x2710
push 0x40a4b0
lea ecx, [esi + 0x60]
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
call sub.MFC42.DLL_CString::operator_1
push 0x40a4b0
lea ecx, [esi + 0x74]
mov dword [esi + 0x64], edi
mov dword [esi + 0x68], edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x70], edi
call sub.MFC42.DLL_CString::operator_1
push 0x40a4b0
lea ecx, [esi + 0x78]
call sub.MFC42.DLL_CString::operator_1
push 0x40a4b0
lea ecx, [esi + 0x80]
mov dword [esi + 0x7c], edi
call sub.MFC42.DLL_CString::operator_1
push 0x40a4b0
lea ecx, [esi + 0x90]
mov word [esi + 0x84], di
mov dword [esi + 0x88], edi
mov dword [esi + 0x8c], edi
call sub.MFC42.DLL_CString::operator_1
push 0x40a4b0
lea ecx, [esi + 0x94]
call sub.MFC42.DLL_CString::operator_1
push 0x40a4b0
lea ecx, [esi + 0x98]
call sub.MFC42.DLL_CString::operator_1
push 0x40a4b0
lea ecx, [esi + 0x9c]
call sub.MFC42.DLL_CString::operator_1
push 0x40a4b0
lea ecx, [esi + 0xa0]
call sub.MFC42.DLL_CString::operator_1
mov ecx, dword [esp + 0x14]
mov dword [esi + 0xac], edi
mov word [esi + 0xa4], 0x50
mov dword [esi + 0xa8], 0xffffffff
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret