Function at 0x435410
Capabilities:
Read http header

Disassembly:
push 0x240
mov eax, 0x46e050
call fcn.0046cef5
mov ebx, ecx
mov dword [ebp - 0x224], ebx
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x230], edx
xor edx, edx
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x248], edx
mov dword [ebp - 4], edx
mov dword [ebp - 0x244], edx
mov dword [ebp - 0x24c], edx
mov dword [ebp - 0x22c], edx
mov esi, edx
mov dword [ebp - 0x228], esi
mov edi, edx
mov dword [ebp - 0x234], edi
mov byte [ebp - 4], 5
test eax, eax
jne 0x4354b5
push 0x4c1
mov eax, dword [ebx + 0x5c]
push 0x40f8c8
mov dword [ebp - 0x21c], 0x80070057
mov ebx, dword [eax + 4]
mov ecx, ebx
call dword [0x47547c]
mov ecx, dword [ebp - 0x224]
lea ecx, [ecx + 0x5c]
call ebx
mov edx, 0x80070057
mov ecx, eax
call fcn.00446ed9
mov ebx, dword [ebp - 0x21c]
jmp 0x4355d4
test ecx, ecx
jne 0x4354c0
push 0x4c2
jmp 0x435476
lea ecx, [ebp - 0x234]
push ecx
lea ecx, [ebp - 0x228]
push ecx
push edx
push edx
push 0x4071f8
push eax
mov ecx, ebx
call fcn.004346b9
mov edi, dword [ebp - 0x234]
mov dword [ebp - 0x21c], eax
test eax, eax
jns 0x4354fd
mov edx, dword [ebx + 0x5c]
push 0x4d0
mov esi, dword [edx + 4]
jmp 0x4355a5
push 0x208
xor esi, esi
lea eax, [ebp - 0x218]
push esi
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov dword [ebp - 0x240], 0x103
lea eax, [ebp - 0x240]
push esi
push eax
lea eax, [ebp - 0x218]
push eax
push esi
push 5
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
jne 0x435555
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.00418df2
mov dword [ebp - 0x21c], eax
push 0x4db
jmp 0x43559f
push 0xa
lea eax, [ebp - 0x218]
push esi
push eax
call dword [sym.imp.msvcrt.dll__wcstoui64]
mov ebx, dword [ebp - 0x220]
add esp, 0xc
mov esi, dword [ebx + 8]
push 0
push 0
push edx
mov ecx, dword [esi + 4]
push eax
call dword [0x47547c]
lea ecx, [ebx + 8]
call dword [esi + 4]
mov dword [ebp - 0x21c], eax
test eax, eax
jns 0x43566b
mov ebx, dword [ebp - 0x224]
push 0x4e3
mov eax, dword [ebx + 0x5c]
mov esi, dword [eax + 4]
push 0x40f8c8
mov ecx, esi
call dword [0x47547c]
lea ecx, [ebx + 0x5c]
call esi
mov ebx, dword [ebp - 0x21c]
mov ecx, eax
mov edx, ebx
call fcn.00446ed9
test ebx, ebx
jns 0x43566b
mov esi, dword [ebp - 0x228]
mov eax, dword [ebp - 0x220]
push 0
push ebx
mov eax, dword [eax + 8]
mov ebx, dword [eax]
mov ecx, ebx
call dword [0x47547c]
mov ecx, dword [ebp - 0x220]
lea ecx, [ecx + 8]
call ebx
test eax, eax
js 0x435648
mov eax, dword [ebp - 0x220]
xor ecx, ecx
mov dword [ebp - 0x23c], ecx
mov dword [ebp - 0x23c], eax
mov eax, dword [ebp - 0x230]
mov dword [ebp - 0x238], ecx
mov dword [ebp - 0x238], ecx
test eax, eax
je 0x435648
mov eax, dword [eax + 8]
lea ecx, [ebp - 0x23c]
push ecx
push 0x10001
mov ebx, dword [eax + 0xc]
mov ecx, ebx
call dword [0x47547c]
mov ecx, dword [ebp - 0x230]
lea ecx, [ecx + 8]
call ebx
mov ecx, dword [ebp - 0x220]
push 0xffffffffffffffff
mov eax, dword [ecx + 8]
mov ebx, dword [eax + 8]
mov ecx, ebx
call dword [0x47547c]
mov ecx, dword [ebp - 0x220]
lea ecx, [ecx + 8]
call ebx
jmp 0x435671
mov esi, dword [ebp - 0x228]
mov ebx, dword [ebp - 0x21c]
mov ecx, ebx
call fcn.004190b1
test edi, edi
je 0x435689
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
test esi, esi
je 0x435694
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
cmp dword [ebp - 0x22c], 0
je 0x4356a9
push dword [ebp - 0x22c]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, ebx
call fcn.0046cea9
ret 0xc