Function at 0x45b0c0
Capabilities:
Read http header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov dword [ebp - 0x50], ecx
mov dword [ebp - 8], 0
cmp dword [ebp + 8], 0
je 0x45b2fc
cmp dword [ebp + 0xc], 0
je 0x45b18d
mov dword [ebp - 0xc], 0
push 0
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push 0x80000016
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x7a
jne 0x45b16e
push 0
mov edx, dword [ebp - 0xc]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.0045c680
mov ecx, dword [ebp + 0xc]
call fcn.00423370
mov dword [ebp - 0x34], eax
push 0
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x34]
push ecx
push 0
push 0x80000016
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x45b16c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x4b80f8
push 0x4b8120
call fcn.00454b60
add esp, 0xc
jmp 0x45b18d
cmp dword [ebp - 8], 0
jne 0x45b18d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x4b8168
push 0x4b8190
call fcn.00454b60
add esp, 0xc
cmp dword [ebp + 0x10], 0
je 0x45b2fc
mov dword [ebp - 0xc], 0
push 0
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push 0x16
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x7a
jne 0x45b2dd
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x14]
cmp edx, dword [ebp - 0x20]
ja 0x45b1ef
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp + 0x10]
call fcn.004231a0
jmp 0x45b200
push 0
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 0x20]
push ecx
mov ecx, dword [ebp + 0x10]
call fcn.00423990
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x18]
cmp dword [ecx + 0x14], 8
jb 0x45b21e
mov dword [ebp - 0x24], 1
jmp 0x45b225
mov dword [ebp - 0x24], 0
mov dl, byte [ebp - 0x24]
mov byte [ebp - 1], dl
movzx eax, byte [ebp - 1]
test eax, eax
je 0x45b241
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x40], 0
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x1c]
cmp dword [edx + 0x14], 8
jb 0x45b272
mov dword [ebp - 0x2c], 1
jmp 0x45b279
mov dword [ebp - 0x2c], 0
mov al, byte [ebp - 0x2c]
mov byte [ebp - 2], al
movzx ecx, byte [ebp - 2]
test ecx, ecx
je 0x45b295
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx]
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x4c], eax
push 0
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x4c]
push edx
push 0
push 0x16
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x45b2db
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x4b81d8
push 0x4b8200
call fcn.00454b60
add esp, 0xc
jmp 0x45b2fc
cmp dword [ebp - 8], 0
jne 0x45b2fc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CJHHttp::GetHeader
push 0x4b8270
call fcn.00454b60
add esp, 0xc
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 0xc