Function at 0x4969f7
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc50
mov eax, dword [0x53f270]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
push ecx
mov ebx, esp
lea eax, [ebp + 0xc]
push eax
push 0x504054
lea eax, [ebp - 0xc24]
mov edi, ecx
push str.HTTPSendRequest:
push eax
lea ecx, [ebp + 8]
call fcn.004e9a57
pop ecx
pop ecx
lea ecx, [ebp - 0xc3c]
push ecx
mov esi, eax
call fcn.004e99f2
pop ecx
pop ecx
push ebx
mov esi, eax
call fcn.004e99a0
pop ecx
pop ecx
push 4
call fcn.00465347
lea ecx, [ebp - 0xc3c]
call fcn.004e8425
lea ecx, [ebp - 0xc24]
call fcn.004e8425
mov esi, edi
call fcn.0049540e
mov eax, edi
call fcn.00497bfa
mov eax, dword [ebp + 0x10]
neg eax
sbb eax, eax
push edi
and eax, 0x800000
add eax, 0x84200000
push eax
xor esi, esi
push esi
push esi
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [edi + 0x30]
call dword [0x4fe514]
mov dword [edi + 0x34], eax
cmp eax, esi
jne 0x496b2d
call dword [0x4fe0fc]
cmp eax, 0x3e5
je 0x496b24
mov esi, dword [edi]
push 1
push 1
push 0x2e3
push ecx
mov eax, esp
push str.CCoreWininet::HTTPSendRequest
push eax
add esi, 0x1c
call fcn.004e839f
push ecx
mov eax, esp
push str.wininet:_HttpOpenRequest_failed_
push eax
call fcn.004e839f
push ecx
mov eax, esp
push str.httpopenrequest
push eax
call fcn.004e839f
mov ecx, edi
call dword [esi]
lea ecx, [ebp + 8]
call fcn.004e8425
lea ecx, [ebp + 0xc]
call fcn.004e8425
lea ecx, [ebp + 0x1c]
call fcn.00467ed9
lea ecx, [ebp + 0x18]
call fcn.004e8425
xor eax, eax
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00440531
leave
ret 0x1c
push 0xffffffffffffffff
mov eax, edi
call fcn.00497bf2
cmp dword [edi + 0x34], esi
jne 0x496b78
mov esi, dword [edi]
push 1
push 1
push 0x2f0
push ecx
mov eax, esp
push str.CCoreWininet::HTTPSendRequest
push eax
add esi, 0x14
call fcn.004e839f
push ecx
mov eax, esp
push str.wininet:_Request_handle_is_NULL_after_HttpSendRequest_
push eax
call fcn.004e839f
push ecx
mov eax, esp
push str.httpreqerr
push eax
call fcn.004e839f
push 0x3eb
mov ecx, edi
call dword [esi]
jmp 0x496af1
call fcn.0046f78b
cmp eax, 6
mov ebx, str.CCoreWininet::HTTPSendRequest
jl 0x496c05
lea eax, [edi + 0x68]
cmp dword [eax], esi
je 0x496c05
push 4
push eax
push 0x41
push dword [edi + 0x34]
call dword [0x4fe51c]
test eax, eax
jne 0x496bc1
mov esi, dword [edi]
push 1
push eax
push 0x2f9
push ecx
mov eax, esp
push ebx
push eax
add esi, 0x18
call fcn.004e839f
push ecx
mov eax, esp
push str.unable_to_set_wininet_http_decoding
jmp 0x496bf9
push 0x20000000
push 0xffffffffffffffff
push str.Accept_Encoding:_gzip_deflate
push dword [edi + 0x34]
call dword [0x4fe510]
test eax, eax
jne 0x496c05
mov esi, dword [edi]
push 1
push eax
push 0x2fd
push ecx
mov eax, esp
push ebx
push eax
add esi, 0x18
call fcn.004e839f
push ecx
mov eax, esp
push str.unable_to_set_encoding__gzip_deflate__headers
push eax
call fcn.004e839f
mov ecx, edi
call dword [esi]
xor esi, esi
push str.post
lea eax, [ebp + 8]
push eax
call fcn.004e980f
test eax, eax
jne 0x496c88
mov eax, dword [ebp + 0x18]
cmp dword [eax - 0xc], esi
jne 0x496c2d
push str.Content_Type:_application_x_www_form_urlencoded_r_n
lea eax, [ebp + 0x18]
push eax
call fcn.004e8373
push 0x20000000
push 0xffffffffffffffff
push dword [ebp + 0x18]
push dword [edi + 0x34]
call dword [0x4fe510]
test eax, eax
jne 0x496c88
mov esi, dword [edi]
push 1
push 1
push 0x30c
push ecx
mov eax, esp
push ebx
push eax
add esi, 0x1c
call fcn.004e839f
push ecx
mov eax, esp
push str.wininet:_HttpAddRequestHeaders__post_flag__failed_
push eax
call fcn.004e839f
push ecx
mov eax, esp
push str.httpaddheaders
push eax
call fcn.004e839f
mov ecx, edi
call dword [esi]
mov esi, edi
call fcn.0049540e
jmp 0x496af1
cmp dword [edi + 0x50], esi
jne 0x496c96
cmp dword [edi + 0x5c], esi
jbe 0x496d5b
lea ecx, [ebp - 0xc10]
call fcn.004e9f40
cmp dword [edi + 0x50], esi
je 0x496cbd
push dword [edi + 0x70]
lea eax, [ebp - 0xc10]
push str.Range:_bytes_u__r_n
call fcn.004e9c72
pop ecx
pop ecx
jmp 0x496cde
mov ecx, dword [edi + 0x70]
mov eax, dword [edi + 0x5c]
lea eax, [eax + ecx - 1]
push eax
push dword [edi + 0x70]
lea eax, [ebp - 0xc10]
push str.Range:_bytes_u__u_r_n
call fcn.004e9c72
add esp, 0xc
push 0x20000000
push 0xffffffffffffffff
push esi
lea esi, [ebp - 0xc10]
call fcn.004e82be
push eax
push dword [edi + 0x34]
call dword [0x4fe510]
test eax, eax
jne 0x496d4e
mov esi, dword [edi]
push 1
push 1
push 0x323
push ecx
mov eax, esp
push ebx
push eax
add esi, 0x1c
call fcn.004e839f
push ecx
mov eax, esp
push str.wininet:_HttpAddRequestHeaders__range_specification__failed_
push eax
call fcn.004e839f
push ecx
mov eax, esp
push str.httpaddheader
push eax
call fcn.004e839f
mov ecx, edi
call dword [esi]
mov esi, edi
call fcn.0049540e
lea ecx, [ebp - 0xc10]
call fcn.004e8425
jmp 0x496af1
lea ecx, [ebp - 0xc10]
call fcn.004e8425
xor esi, esi
mov eax, edi
call fcn.00497bfa
lea eax, [ebp - 0xc1c]
push eax
lea eax, [ebp + 0x1c]
call fcn.00467fe8
mov eax, dword [ebp - 0xc1c]
push dword [eax - 0xc]
push esi
lea esi, [ebp - 0xc1c]
call fcn.004e82be
push eax
push 0
push 0
push dword [edi + 0x34]
call dword [0x4fe50c]
test eax, eax
jne 0x496e65
call dword [0x4fe0fc]
cmp eax, 0x3e5
je 0x496e65
mov eax, dword [edi]
push 1
push 1
push 0x331
add eax, 0x1c
push ecx
mov dword [ebp - 0xc24], eax
mov eax, esp
push ebx
push eax
call fcn.004e839f
push ecx
mov ebx, esp
push str._ANY
lea eax, [ebp + 0xc]
push eax
push str._obj
lea eax, [ebp - 0xc40]
push str.wininet:_HttpSendRequest_failed___verb
push eax
lea ecx, [ebp + 8]
call fcn.004e9a57
pop ecx
pop ecx
lea ecx, [ebp - 0xc44]
push ecx
mov esi, eax
call fcn.004e99f2
pop ecx
pop ecx
lea ecx, [ebp - 0xc2c]
push ecx
mov esi, eax
call fcn.004e99a0
pop ecx
pop ecx
push ebx
mov esi, eax
call fcn.004e99f2
pop ecx
mov eax, esp
push str.httpsendreq
push eax
call fcn.004e839f
mov eax, dword [ebp - 0xc24]
mov ecx, edi
call dword [eax]
lea ecx, [ebp - 0xc2c]
call fcn.004e8425
lea ecx, [ebp - 0xc44]
call fcn.004e8425
lea ecx, [ebp - 0xc40]
call fcn.004e8425
mov esi, edi
call fcn.0049540e
lea ecx, [ebp - 0xc1c]
jmp 0x496d44
push 0xffffffffffffffff
mov eax, edi
call fcn.00497bf2
test eax, eax
jne 0x496eb1
mov esi, dword [edi]
push 1
push 1
push 0x33c
push ecx
mov eax, esp
push ebx
push eax
add esi, 0x14
call fcn.004e839f
push ecx
mov eax, esp
push str.Timed_out_waiting_for_server_response_
push eax
call fcn.004e839f
push ecx
mov eax, esp
push str.httptimeout
push eax
call fcn.004e839f
push 0x5b4
mov ecx, edi
call dword [esi]
jmp 0x496e5a
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
test eax, eax
je 0x496f02
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
mov esi, dword [eax + 8]
push ecx
mov eax, esp
push ebx
push eax
call fcn.004e839f
push 0x342
push ecx
mov eax, esp
push str.CoreWininet.cpp
push eax
call fcn.004e839f
push ecx
mov eax, esp
push str.wininet:_HttpSendRequest_failed_
push eax
lea ecx, [ebp + 0xc]
call fcn.004e9a57
pop ecx
pop ecx
mov eax, esi
call fcn.00467615
jmp 0x496e5a
push 0
lea eax, [ebp - 0xc18]
push eax
lea esi, [edi + 0x40]
and dword [esi], 0
push esi
push 0x20000013
push dword [edi + 0x34]
mov dword [ebp - 0xc18], 4
call dword [0x4fe508]
test eax, eax
jne 0x496f9d
mov esi, dword [edi]
push 1
push 1
push 0x34b
push ecx
mov eax, esp
push ebx
push eax
add esi, 0x1c
call fcn.004e839f
push ecx
mov eax, esp
push str.wininet:_HttpQueryInfo_failed_
push eax
lea ecx, [ebp + 0xc]
call fcn.004e9a57
pop ecx
mov eax, esp
push str.httpqueryinfo
push eax
call fcn.004e839f
mov ecx, edi
call dword [esi]
xor esi, esi
lea ecx, [ebp - 0xc1c]
call fcn.004e8425
lea ecx, [ebp + 8]
call fcn.004e8425
lea ecx, [ebp + 0xc]
call fcn.004e8425
lea ecx, [ebp + 0x1c]
call fcn.00467ed9
lea ecx, [ebp + 0x18]
call fcn.004e8425
mov eax, esi
jmp 0x496b13
mov esi, dword [esi]
cmp esi, 0x197
jne 0x497072
cmp dword [edi + 0x54], 0
je 0x496fdd
mov esi, dword [ebp + 0x14]
cmp esi, 5
jge 0x496fdd
push 0
push 7
push 0x2eee
push dword [edi + 0x34]
call dword [0x4fe3cc]
push eax
call dword [0x4fe504]
cmp eax, 0x2f00
je 0x497029
test eax, eax
jne 0x496fb9
mov esi, dword [edi]
push 1
push 1
push 0x36a
push ecx
mov eax, esp
push ebx
push eax
add esi, 0x14
call fcn.004e839f
push ecx
mov eax, esp
push str.wininet:_Proxy_authorization_failed_
push eax
lea ecx, [ebp + 0xc]
call fcn.004e9a57
pop ecx
mov eax, esp
push str.httpproxy
push eax
call fcn.004e839f
push 0x2eef
mov ecx, edi
call dword [esi]
mov esi, edi
call fcn.0049540e
jmp 0x496f69
push ecx
push ecx
mov eax, esp
lea ecx, [ebp + 0x1c]
push ecx
push eax
call fcn.004e8b4f
push ecx
mov eax, esp
push 0x501c70
push eax
call fcn.004e839f
inc esi
push esi
push dword [ebp + 0x10]
push ecx
mov eax, esp
lea ecx, [ebp + 0xc]
push ecx
push eax
call fcn.004ea069
push ecx
mov eax, esp
lea ecx, [ebp + 8]
push ecx
push eax
call fcn.004ea069
mov ecx, edi
call fcn.004969f7
mov esi, eax
jmp 0x496f6b
cmp esi, 0x12d
je 0x49726e
cmp esi, 0x12e
je 0x49726e
cmp esi, 0x12f
je 0x49726e
push 0
lea ecx, [ebp - 0xc18]
mov eax, 0x400
push ecx
lea esi, [edi + 0x44]
push eax
mov dword [ebp - 0xc18], eax
call fcn.004e82be
push eax
push 0x14
push dword [edi + 0x34]
call dword [0x4fe508]
test eax, eax
jne 0x4970d7
mov edx, esi
call fcn.004e82e4
push 0x501c70
push esi
call fcn.004e8373
jmp 0x4970e2
mov eax, dword [ebp - 0xc18]
call fcn.004ea4d8
push 0
lea eax, [ebp - 0xc34]
push eax
lea eax, [ebp - 0x80c]
push eax
push 0x2a
push dword [edi + 0x34]
mov dword [ebp - 0xc34], 0x400
call dword [0x4fe508]
test eax, eax
jne 0x497125
and dword [edi + 0x64], eax
push ecx
mov eax, esp
push str.server_does_not_accept_ranges
push eax
call fcn.004e839f
push 8
call fcn.00465347
jmp 0x497163
lea eax, [ebp - 0x80c]
push eax
lea eax, [ebp - 0xc38]
push eax
mov dword [edi + 0x64], 1
call fcn.004e839f
push ecx
mov ecx, esp
push str.accept_ranges:
push ecx
mov ecx, eax
call fcn.004e9a57
pop ecx
pop ecx
push 8
call fcn.00465347
lea ecx, [ebp - 0xc38]
call fcn.004e8425
cmp dword [edi + 0x50], 0
jne 0x497173
cmp dword [edi + 0x5c], 0
ja 0x497173
xor ecx, ecx
jmp 0x497176
xor ecx, ecx
inc ecx
mov eax, dword [edi + 0x40]
cmp eax, 0xc8
je 0x497251
test ecx, ecx
je 0x497193
cmp eax, 0xce
je 0x497251
lea ecx, [ebp - 0xc20]
call fcn.004e9f40
push dword [ebp + 0xc]
lea eax, [ebp - 0xc20]
push dword [ebp + 8]
push dword [esi]
push dword [edi + 0x40]
push str.wininet:_Server_responded_with_error:__d___s.__s__s
call fcn.004e9c72
add esp, 0x14
push dword [edi + 0x40]
lea esi, [ebp - 0xc4c]
call fcn.00467e09
mov esi, eax
call fcn.00467fd0
test eax, eax
je 0x4971e0
add eax, 4
mov dword [ebp - 0xc10], eax
jmp 0x4971e7
and dword [ebp - 0xc10], 0
mov esi, dword [edi]
push 1
push 1
push 0x3d0
push ecx
mov eax, esp
push ebx
push eax
add esi, 0x14
call fcn.004e839f
push ecx
mov eax, esp
lea ecx, [ebp - 0xc20]
push ecx
push eax
call fcn.004ea069
push ecx
mov ecx, dword [ebp - 0xc10]
mov eax, esp
push str.httpstatus
push eax
call fcn.004e9a57
pop ecx
pop ecx
push 0x3eb
mov ecx, edi
call dword [esi]
lea ecx, [ebp - 0xc4c]
call fcn.00467ed9
mov eax, dword [edi]
mov esi, dword [edi + 0x40]
mov ecx, edi
call dword [eax + 8]
mov dword [eax + 0x24], esi
lea ecx, [ebp - 0xc20]
jmp 0x497335
push ecx
mov eax, esp
push str.wininet:_HttpSendRequest:_status_OK_received
push eax
call fcn.004e839f
push 8
call fcn.00465347
xor esi, esi
inc esi
jmp 0x496f6b
cmp dword [ebp + 0x14], 5
jle 0x4972b2
mov esi, dword [edi]
push 1
push 1
push 0x375
push ecx
mov eax, esp
push ebx
push eax
add esi, 0x14
call fcn.004e839f
push ecx
mov eax, esp
push str.wininet:_HttpQueryInfo_failed_
push eax
lea ecx, [ebp + 0xc]
call fcn.004e9a57
pop ecx
mov eax, esp
push str.httpqueryinfo
push eax
call fcn.004e839f
push 1
jmp 0x497019
lea ecx, [ebp - 0xc14]
call fcn.004e9f40
push 0
lea ecx, [ebp - 0xc18]
mov eax, 0x400
push ecx
push eax
lea esi, [ebp - 0xc14]
mov dword [ebp - 0xc18], eax
call fcn.004e82be
push eax
push 0x21
push dword [edi + 0x34]
call dword [0x4fe508]
test eax, eax
jne 0x49733f
mov esi, dword [edi]
push 1
push 1
push 0x380
push ecx
mov eax, esp
push ebx
push eax
add esi, 0x1c
call fcn.004e839f
push ecx
mov eax, esp
push str.wininet:_HttpQueryInfo_failed_
push eax
lea ecx, [ebp + 0xc]
call fcn.004e9a57
pop ecx
mov eax, esp
push str.httpqueryinfo
push eax
call fcn.004e839f
mov ecx, edi
call dword [esi]
mov esi, edi
call fcn.0049540e
lea ecx, [ebp - 0xc14]
call fcn.004e8425
jmp 0x496f69
mov eax, dword [ebp - 0xc18]
lea esi, [ebp - 0xc14]
call fcn.004ea4d8
mov esi, edi
call fcn.0049540e
xor ebx, ebx
push ebx
push ebx
mov eax, 0x400
push eax
lea ecx, [ebp - 0xc0c]
push ecx
push eax
lea eax, [ebp - 0x40c]
push eax
push dword [ebp - 0xc14]
call fcn.00497b90
add esp, 0x1c
lea eax, [ebp - 0x40c]
push eax
lea eax, [ebp - 0xc30]
push eax
call fcn.004e839f
mov eax, dword [eax]
mov esi, dword [eax - 0xc]
lea ecx, [ebp - 0xc30]
call fcn.004e8425
cmp esi, ebx
jne 0x497433
push ecx
mov eax, esp
lea ecx, [ebp - 0xc14]
push ecx
push eax
call fcn.004ea069
push ecx
mov eax, esp
lea ecx, [ebp + 0xc]
push ecx
push eax
call fcn.004ea069
lea eax, [ebp - 0xc28]
push eax
call fcn.00468b67
pop ecx
mov esi, esp
mov ebx, 0x501c70
push ebx
call fcn.00467e1a
push ecx
mov eax, esp
push ebx
push eax
call fcn.004e839f
mov eax, dword [ebp + 0x14]
inc eax
push eax
push dword [ebp + 0x10]
push ecx
mov eax, esp
lea ecx, [ebp - 0xc28]
push ecx
push eax
call fcn.004ea069
push ecx
mov eax, esp
lea ecx, [ebp + 8]
push ecx
push eax
call fcn.004ea069
mov ecx, edi
call fcn.004969f7
lea ecx, [ebp - 0xc28]
mov esi, eax
call fcn.004e8425
lea ecx, [ebp - 0xc14]
call fcn.004e8425
jmp 0x496f6b
push str.https:__
lea eax, [ebp - 0xc14]
push eax
mov dword [ebp - 0xc10], ebx
call fcn.004e980f
test eax, eax
jl 0x497458
mov dword [ebp - 0xc10], 1
push ecx
mov eax, esp
lea ecx, [ebp - 0x40c]
push ecx
push eax
call fcn.004e839f
mov eax, dword [ebp - 0xc10]
mov esi, edi
call fcn.00496905
test eax, eax
je 0x49732f
push ecx
push ecx
mov esi, esp
mov ebx, 0x501c70
push ebx
call fcn.00467e1a
push ecx
mov eax, esp
push ebx
push eax
call fcn.004e839f
mov eax, dword [ebp + 0x14]
inc eax
push eax
push dword [ebp - 0xc10]
push ecx
mov eax, esp
lea ecx, [ebp - 0xc0c]
push ecx
push eax
call fcn.004e839f
push ecx
mov eax, esp
lea ecx, [ebp + 8]
push ecx
push eax
call fcn.004ea069
mov ecx, edi
call fcn.004969f7
mov esi, eax
jmp 0x497423