Function at 0x41b9f8
Capabilities:
Read http header
Receive http response

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff58
push ebx
xor ebx, ebx
mov dword [ebp - 0xa8], ebx
mov dword [ebp - 0x9c], ebx
mov dword [ebp - 0xa0], ebx
mov dword [ebp - 0xa4], ebx
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x98], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x41beb2
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 0
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], 4
xor eax, eax
mov dword [ebp - 0x30], eax
xor eax, eax
mov dword [ebp - 0x38], eax
xor eax, eax
mov dword [ebp - 0x2c], eax
xor eax, eax
mov dword [ebp - 0x20], eax
xor eax, eax
mov dword [ebp - 0x24], eax
xor eax, eax
mov dword [ebp - 0x28], eax
cmp dword [ebp + 8], 0
je 0x41bac8
push 0
lea eax, [ebp - 0x80]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x30]
test eax, eax
je 0x41ba9a
mov ecx, 0x74e
mov edx, 0x41becc
mov eax, 0x41bf1c
call fcn.00404328
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jbe 0x41bac8
mov eax, dword [ebp - 0x38]
push eax
call fcn.00405c8c
pop ecx
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp - 0x38]
push eax
mov eax, dword [ebp - 0x30]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
xor eax, eax
push ebp
push 0x41be82
push dword fs:[eax]
mov dword fs:[eax], esp
jmp 0x41be54
xor eax, eax
push ebp
push 0x41be4d
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov eax, dword [ebp - 0x38]
push eax
mov eax, dword [ebp - 0x38]
push eax
mov eax, dword [ebp - 0x30]
push eax
push 0
push 0
mov eax, dword [ebp - 8]
push eax
call sub.Winhttp.dll_WinHttpSendRequest
test eax, eax
je 0x41bb17
push 0
mov eax, dword [ebp - 8]
push eax
call sub.Winhttp.dll_WinHttpReceiveResponse
test eax, eax
jne 0x41bb1b
xor eax, eax
jmp 0x41bb1d
mov al, 1
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
jne 0x41bb7a
call sub.kernel32.dll_GetLastError_1
cmp eax, 0x2f0c
jne 0x41bb7a
push 0
push 0
push 0x2f
mov eax, dword [ebp - 8]
push eax
call sub.Winhttp.dll_WinHttpSetOption
push 0
mov eax, dword [ebp - 0x38]
push eax
mov eax, dword [ebp - 0x38]
push eax
mov eax, dword [ebp - 0x30]
push eax
push 0
push 0
mov eax, dword [ebp - 8]
push eax
call sub.Winhttp.dll_WinHttpSendRequest
test eax, eax
je 0x41bb6f
push 0
mov eax, dword [ebp - 8]
push eax
call sub.Winhttp.dll_WinHttpReceiveResponse
test eax, eax
jne 0x41bb73
xor eax, eax
jmp 0x41bb75
mov al, 1
mov byte [ebp - 0xd], al
jmp 0x41bbd6
cmp byte [ebp - 0xd], 0
jne 0x41bbd6
call sub.kernel32.dll_GetLastError_1
cmp eax, 0x2f8f
jne 0x41bbd6
push 4
mov eax, dword [0x424e90]
push eax
push 0x1f
mov eax, dword [ebp - 8]
push eax
call sub.Winhttp.dll_WinHttpSetOption
push 0
mov eax, dword [ebp - 0x38]
push eax
mov eax, dword [ebp - 0x38]
push eax
mov eax, dword [ebp - 0x30]
push eax
push 0
push 0
mov eax, dword [ebp - 8]
push eax
call sub.Winhttp.dll_WinHttpSendRequest
test eax, eax
je 0x41bbcd
push 0
mov eax, dword [ebp - 8]
push eax
call sub.Winhttp.dll_WinHttpReceiveResponse
test eax, eax
jne 0x41bbd1
xor eax, eax
jmp 0x41bbd3
mov al, 1
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
jne 0x41bc43
lea eax, [ebp - 0x84]
push eax
call sub.kernel32.dll_GetLastError_1
mov dword [ebp - 0x94], eax
mov byte [ebp - 0x90], 0
call sub.kernel32.dll_GetLastError_1
lea edx, [ebp - 0x98]
call fcn.0040c190
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x8c], eax
mov byte [ebp - 0x88], 0xb
lea edx, [ebp - 0x94]
mov ecx, 1
mov eax, 0x41bf38
call fcn.0040bc08
mov edx, dword [ebp - 0x84]
mov eax, dword [ebp - 4]
add eax, 0x48
call fcn.00404b64
jmp 0x41be3c
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], 4
xor eax, eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push 0x20000013
mov eax, dword [ebp - 8]
push eax
call sub.Winhttp.dll_WinHttpQueryHeaders
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x41be1b
mov eax, dword [ebp - 0x14]
sub eax, 0xc8
je 0x41bca3
sub eax, 6
je 0x41bca3
sub eax, 0xc3
je 0x41bcad
sub eax, 6
je 0x41bcad
jmp 0x41bd3b
call fcn.00403e58
jmp 0x41be64
cmp dword [ebp - 0x2c], 0
jne 0x41bd32
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.Winhttp.dll_WinHttpQueryAuthSchemes
test eax, eax
je 0x41bd32
push ebp
mov eax, dword [ebp - 0x20]
call fcn.0041b9a4
pop ecx
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x41bd32
cmp dword [ebp - 0x14], 0x197
jne 0x41bd0d
push 0
mov eax, dword [ebp + 0xc]
call fcn.00404b74
push eax
mov eax, dword [ebp + 0x10]
call fcn.00404b74
push eax
mov eax, dword [ebp - 0x2c]
push eax
push 1
mov eax, dword [ebp - 8]
push eax
call sub.Winhttp.dll_WinHttpSetCredentials
jmp 0x41bd32
push 0
mov eax, dword [ebp + 0xc]
call fcn.00404b74
push eax
mov eax, dword [ebp + 0x10]
call fcn.00404b74
push eax
mov eax, dword [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.Winhttp.dll_WinHttpSetCredentials
mov byte [ebp - 0xd], 0
jmp 0x41be3c
xor eax, eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x38]
push eax
push 0
push 0
push 0x14
mov eax, dword [ebp - 8]
push eax
call sub.Winhttp.dll_WinHttpQueryHeaders
mov eax, dword [ebp - 0x38]
add eax, eax
call fcn.0040bbe0
mov dword [ebp - 0x34], eax
xor eax, eax
push ebp
push 0x41be09
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp - 0x34]
push eax
push 0
push 0x14
mov eax, dword [ebp - 8]
push eax
call sub.Winhttp.dll_WinHttpQueryHeaders
test eax, eax
je 0x41bde8
push 0x41bf48
mov eax, dword [ebp - 0x14]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0xa0]
call fcn.0040a784
push dword [ebp - 0xa0]
push 0x41bf54
lea eax, [ebp - 0xa4]
mov edx, dword [ebp - 0x34]
call fcn.00404604
push dword [ebp - 0xa4]
lea eax, [ebp - 0x9c]
mov edx, 4
call fcn.0040475c
mov edx, dword [ebp - 0x9c]
mov eax, dword [ebp - 4]
add eax, 0x48
call fcn.00404b64
jmp 0x41bdf3
mov eax, dword [ebp - 4]
add eax, 0x48
call fcn.00404a10
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41be10
mov eax, dword [ebp - 0x34]
call fcn.00402a68
ret
call sub.kernel32.dll_GetLastError_1
lea edx, [ebp - 0xa8]
call fcn.0040c190
mov edx, dword [ebp - 0xa8]
mov eax, dword [ebp - 4]
add eax, 0x48
call fcn.00404b64
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41be54
dec dword [ebp - 0xc]
ret
cmp dword [ebp - 8], 0
je 0x41be64
cmp dword [ebp - 0xc], 0
jg 0x41badb
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41be89
cmp dword [ebp - 0x30], 0
je 0x41be81
mov eax, dword [ebp - 0x30]
push eax
call fcn.00405ca4
pop ecx
ret