Function at 0x602470
Capabilities:
Check http status code
Read http header

Disassembly:
push ebp
mov ebp, esp
mov eax, 0xa120
call fcn.00673e40
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0xa120]
mov ecx, 0x2848
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov eax, dword [0x6aac14]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x18], 4
mov esi, esp
push 0
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0xc]
add ecx, 0x70
push ecx
push 0
push 0x20000013
mov ecx, dword [ebp - 0xc]
add ecx, 0xac
call fcn.00612bb0
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
cmp esi, esp
call fcn.00673bc2
test eax, eax
jne 0x60253c
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, esp
call fcn.00673bc2
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x6c], eax
mov ecx, dword [ebp - 0xc]
add ecx, 0x40
call fcn.00603950
push eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x6c]
push ecx
push 0x3235
push 0x3582
push str.vL9B4P313KkT_20l75V6v2nkKNUr6qG8w
push 0x3e51
call fcn.00655b80
add esp, 0x10
push eax
call fcn.00654400
add esp, 0xc
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x68], 3
xor eax, eax
jmp 0x6029e8
mov dword [ebp - 0x18], 0x9fff
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x70], 0xc8
je 0x602660
mov ecx, dword [ebp - 0xc]
add ecx, 0x40
call fcn.00603950
push eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x70]
push ecx
push 0x1836
push 0x21c6
push str.qrlS_qm2a5c6r13KkT_eqhjL9d6uv1n79c4q_wqsc
push 0x7bde
call fcn.00655b80
add esp, 0x10
push eax
call fcn.00654400
add esp, 0xc
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x70], 0x12d
je 0x6025a7
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x70], 0x12e
jne 0x602643
mov esi, esp
push 0
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0xa020]
push ecx
push 0
push 0x21
mov ecx, dword [ebp - 0xc]
add ecx, 0xac
call fcn.00612bb0
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
cmp esi, esp
call fcn.00673bc2
test eax, eax
je 0x602643
lea eax, [ebp - 0xa020]
push eax
mov ecx, dword [ebp - 0xc]
add ecx, 0x40
call fcn.00603950
push eax
push 0x3448
push str.rb9K5uGy2blcr_2wnaRB6uyh2atB4OL13J4TD13J45
push 0xb5d
call fcn.00655b80
add esp, 0xc
push eax
call fcn.00654400
add esp, 0xc
lea eax, [ebp - 0xa020]
push eax
mov ecx, dword [ebp - 0xc]
add ecx, 0x40
call fcn.006035a0
push 0
mov ecx, dword [ebp - 0xc]
add ecx, 0xac
call fcn.00601df0
mov ecx, dword [ebp - 0xc]
call fcn.00601eb0
movzx eax, al
neg eax
sbb eax, eax
jmp 0x6029e8
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x68], 3
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x70]
mov dword [eax + 0x6c], edx
xor eax, eax
jmp 0x6029e8
mov esi, esp
push 0
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0xc]
add ecx, 0xa0
push ecx
push 0
push 0x20000005
mov ecx, dword [ebp - 0xc]
add ecx, 0xac
call fcn.00612bb0
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
cmp esi, esp
call fcn.00673bc2
mov eax, dword [ebp - 0xc]
movzx ecx, byte [eax + 0x94]
test ecx, ecx
je 0x6026e8
mov eax, dword [ebp - 0xc]
mov ecx, dword [0x6ac140]
add ecx, dword [eax + 0xa0]
mov dword [0x6ac140], ecx
mov eax, dword [0x6ac140]
push eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0xa0]
push edx
push 0x373c
push str.uL5K4eyCkKN7_ul2axX6qx2a5c4fuwl7l_6uGyjaUTquv1jaIT_NC7raJH7uOXgLlW_L2Rlrpd4C0ne0W64U
push 0x629e
call fcn.00655b80
add esp, 0xc
push eax
call fcn.00654400
add esp, 0xc
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x68], 2
mov dword [ebp - 0x18], 0x9fff
mov dword [ebp - 0xa02c], 0
mov esi, esp
push 0
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0xa020]
push ecx
push 0
push 0x2f
mov ecx, dword [ebp - 0xc]
add ecx, 0xac
call fcn.00612bb0
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
cmp esi, esp
call fcn.00673bc2
test eax, eax
je 0x602871
xor eax, eax
mov ecx, dword [ebp - 0x18]
mov word [ebp + ecx*2 - 0xa020], ax
push 0x2f52
push str.n6Rf6uG0lKgO
push 0x2311
call fcn.00655c40
add esp, 0xc
mov esi, esp
push eax
lea eax, [ebp - 0xa020]
push eax
push 0x5dd7
push 0x7b66
push str.qrlB3PunsJo
push 0x3473
call fcn.00655b80
add esp, 0x10
push eax
push str.shlwapi.dll
call fcn.00665ca0
add esp, 8
call eax
cmp esi, esp
call fcn.00673bc2
mov dword [ebp - 0xa038], eax
cmp dword [ebp - 0xa038], 0
je 0x60286f
mov eax, dword [ebp - 0xa038]
add eax, 0x12
mov dword [ebp - 0xa038], eax
mov eax, dword [ebp - 0xa038]
movzx ecx, word [eax]
cmp ecx, 0x22
jne 0x6027da
mov eax, dword [ebp - 0xa038]
add eax, 2
mov dword [ebp - 0xa038], eax
push 0x22
mov eax, dword [ebp - 0xa038]
push eax
call fcn.00602a50
add esp, 8
mov dword [ebp - 0xa044], eax
cmp dword [ebp - 0xa044], 0
je 0x602807
xor eax, eax
mov ecx, dword [ebp - 0xa044]
mov word [ecx], ax
jmp 0x60285d
push 0x20
mov eax, dword [ebp - 0xa038]
push eax
call fcn.00602a50
add esp, 8
mov dword [ebp - 0xa044], eax
cmp dword [ebp - 0xa044], 0
je 0x602832
xor eax, eax
mov ecx, dword [ebp - 0xa044]
mov word [ecx], ax
push 0x3b
mov eax, dword [ebp - 0xa038]
push eax
call fcn.00602a50
add esp, 8
mov dword [ebp - 0xa044], eax
cmp dword [ebp - 0xa044], 0
je 0x60285d
xor eax, eax
mov ecx, dword [ebp - 0xa044]
mov word [ecx], ax
mov eax, dword [ebp - 0xa038]
push eax
mov ecx, dword [ebp - 0xc]
add ecx, 8
call fcn.006035a0
jmp 0x602886
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, esp
call fcn.00673bc2
mov dword [ebp - 0xa02c], eax
mov dword [ebp - 0x18], 0x9fff
mov ecx, dword [ebp - 0xc]
add ecx, 8
call fcn.0065b790
movzx eax, al
test eax, eax
je 0x6029ce
mov esi, esp
push 0
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0xa020]
push ecx
push 0
push 0x80000015
mov ecx, dword [ebp - 0xc]
add ecx, 0xac
call fcn.00612bb0
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
cmp esi, esp
call fcn.00673bc2
test eax, eax
je 0x6029ce
xor eax, eax
mov ecx, dword [ebp - 0x18]
mov word [ebp + ecx*2 - 0xa020], ax
push 0x20
lea eax, [ebp - 0xa020]
push eax
call fcn.00602a50
add esp, 8
mov dword [ebp - 0xa050], eax
cmp dword [ebp - 0xa050], 0
jne 0x602918
lea eax, [ebp - 0xa020]
mov dword [ebp - 0xa050], eax
jmp 0x602927
mov eax, dword [ebp - 0xa050]
add eax, 2
mov dword [ebp - 0xa050], eax
push 0x20
mov eax, dword [ebp - 0xa050]
push eax
call fcn.00602a50
add esp, 8
mov dword [ebp - 0xa05c], eax
cmp dword [ebp - 0xa05c], 0
je 0x602952
xor eax, eax
mov ecx, dword [ebp - 0xa05c]
mov word [ecx], ax
push 0x3f
mov eax, dword [ebp - 0xa050]
push eax
call fcn.00602a50
add esp, 8
mov dword [ebp - 0xa05c], eax
cmp dword [ebp - 0xa05c], 0
je 0x60297d
xor eax, eax
mov ecx, dword [ebp - 0xa05c]
mov word [ecx], ax
push 0x2f
mov eax, dword [ebp - 0xa050]
push eax
call fcn.00602aa0
add esp, 8
mov dword [ebp - 0xa05c], eax
cmp dword [ebp - 0xa05c], 0
jne 0x6029ab
mov eax, dword [ebp - 0xa050]
mov dword [ebp - 0xa05c], eax
jmp 0x6029ba
mov eax, dword [ebp - 0xa05c]
add eax, 2
mov dword [ebp - 0xa05c], eax
mov eax, dword [ebp - 0xa05c]
push eax
mov ecx, dword [ebp - 0xc]
add ecx, 8
call fcn.006035a0
jmp 0x6029e3
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, esp
call fcn.00673bc2
mov dword [ebp - 0xa02c], eax
mov eax, 1
push edx
mov ecx, ebp
push eax
lea edx, [0x602a18]
call fcn.00673be5
pop eax
pop edx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00673bb3
add esp, 0xa120
cmp ebp, esp
call fcn.00673bc2
mov esp, ebp
pop ebp
ret