Function at 0x57d890
Capabilities:
Resolve function by parsing pe exports
Validate payment card number using luhn algorithm

Disassembly:
sub esp, 0x24
mov eax, dword [esp + 0x30]
push ebx
push ebp
mov ebp, dword [esp + 0x34]
mov ecx, dword [eax]
push esi
mov esi, dword [esp + 0x34]
mov eax, dword [esi + 0xd8]
lea ebx, [esi + 0x88]
push edi
mov dword [esp + 0x2c], ecx
mov edi, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x20], ecx
push ecx
push 0xa
push eax
mov dword [esp + 0x24], eax
call sub.VCRUNTIME140.dll_memchr
mov ecx, eax
add esp, 0xc
test ecx, ecx
je 0x57e74c
mov eax, dword [esp + 0x38]
lea edx, [esi + 0x8b8]
sub edi, ecx
dec eax
add eax, edi
mov edi, dword [esp + 0x40]
mov dword [edi], eax
lea eax, [ecx + 1]
mov ecx, dword [esp + 0x18]
mov dword [ebx + 0x50], eax
sub eax, ecx
push eax
push ecx
push edx
call fcn.00561240
add esp, 0xc
test eax, eax
jne 0x57e571
cmp dword [ebx + 0x4c], eax
jne 0x57d98a
lea eax, [esi + 0x8b8]
push eax
call fcn.005612a0
mov edi, eax
lea eax, [esi + 0x8b8]
push eax
mov dword [esp + 0x40], edi
call fcn.005612b0
mov ecx, dword [ebp + 0x1e8]
add esp, 8
mov edx, eax
test dword [ecx + 0x44], 0x40000
je 0x57d976
mov eax, edi
mov ecx, 5
cmp eax, 5
sbb edi, edi
inc edi
cmp eax, 5
cmova eax, ecx
push eax
push edx
push str.RTSP_
call fcn.00561110
add esp, 0xc
test eax, eax
mov eax, 2
cmovne eax, edi
jmp 0x57d981
push edi
push edx
push esi
call fcn.0057ea30
add esp, 0xc
cmp eax, 2
je 0x57e540
lea eax, [esi + 0x8b8]
push eax
call fcn.005612b0
mov edx, eax
add esp, 4
mov dword [esp + 0x14], edx
mov cl, byte [edx]
cmp cl, 0xa
je 0x57dec4
cmp cl, 0xd
je 0x57dec4
mov ecx, dword [ebx + 0x4c]
mov edi, 2
mov dword [esp + 0x38], edi
lea eax, [ecx + 1]
mov dword [ebx + 0x4c], eax
lea eax, [esi + 0x8b8]
mov dword [esp + 0x18], eax
test ecx, ecx
jne 0x57ddb5
mov eax, dword [ebp + 0x1e8]
mov eax, dword [eax + 0x44]
test al, 3
je 0x57dbe3
mov al, byte [edx]
mov edi, edx
test al, al
je 0x57da00
cmp al, 0x20
je 0x57d9f8
cmp al, 9
jne 0x57da00
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x57d9f0
push 5
push str.HTTP_
push edi
call sub.api_ms_win_crt_string_l1_1_0.dll_strncmp
add esp, 0xc
test eax, eax
jne 0x57dab2
movsx ecx, byte [edi + 5]
mov eax, ecx
sub eax, 0x31
je 0x57daf3
sub eax, 1
je 0x57da35
sub eax, 1
jne 0x57e597
mov al, byte [edi + 6]
cmp al, 0x20
je 0x57da40
cmp al, 9
jne 0x57dab2
lea edx, [ecx - 0x30]
mov cl, byte [edi + 7]
mov al, cl
lea edx, [edx + edx*4]
add edx, edx
sub al, 0x30
mov dword [esp + 0x1c], edx
cmp al, 9
ja 0x57dab2
mov al, byte [edi + 8]
mov byte [esp + 0x38], al
sub al, 0x30
cmp al, 9
ja 0x57dab2
mov al, byte [edi + 9]
mov byte [esp + 0x13], al
sub al, 0x30
cmp al, 9
ja 0x57dab2
movsx eax, cl
lea ecx, [eax + eax*4]
movsx eax, byte [esp + 0x38]
lea eax, [eax + ecx*2]
lea ecx, [eax + eax*4]
movsx eax, byte [esp + 0x13]
lea ecx, [ecx - 0xa68]
lea ecx, [eax + ecx*2]
mov dword [ebx + 0x60], ecx
mov al, byte [edi + 0xa]
cmp al, 0x20
je 0x57db8f
cmp al, 9
je 0x57db8f
cmp al, 0xa
jl 0x57dab2
cmp al, 0xd
jle 0x57db8f
lea edi, [esi + 0x8b8]
push edi
call fcn.005612a0
add esp, 4
push eax
push edi
call fcn.005612b0
add esp, 4
push eax
push esi
call fcn.0057ea30
add esp, 0xc
cmp eax, 1
jne 0x57e621
lea edi, [ebp + 0x459]
mov dword [ebx + 0x60], 0xc8
mov byte [edi], 0xa
jmp 0x57dcb9
cmp byte [edi + 6], 0x2e
jne 0x57e606
mov al, byte [edi + 7]
cmp al, 0x30
je 0x57db0c
cmp al, 0x31
jne 0x57e606
mov cl, byte [edi + 8]
cmp cl, 0x20
je 0x57db1d
cmp cl, 9
jne 0x57e606
mov cl, byte [edi + 9]
movsx edx, al
mov al, cl
sub edx, 0x26
sub al, 0x30
mov dword [esp + 0x1c], edx
cmp al, 9
ja 0x57e606
mov al, byte [edi + 0xa]
mov byte [esp + 0x38], al
sub al, 0x30
cmp al, 9
ja 0x57e606
mov al, byte [edi + 0xb]
mov byte [esp + 0x13], al
sub al, 0x30
cmp al, 9
ja 0x57e606
movsx eax, cl
lea ecx, [eax + eax*4]
movsx eax, byte [esp + 0x38]
lea eax, [eax + ecx*2]
lea ecx, [eax + eax*4]
movsx eax, byte [esp + 0x13]
lea ecx, [ecx - 0xa68]
lea ecx, [eax + ecx*2]
mov dword [ebx + 0x60], ecx
mov al, byte [edi + 0xc]
cmp al, 0x20
je 0x57db8f
cmp al, 9
je 0x57db8f
sub al, 0xa
cmp al, 3
ja 0x57e606
cmp ecx, 0x64
jl 0x57e5eb
mov eax, edx
sub eax, 0xa
je 0x57dba8
sub eax, 1
jne 0x57e5b2
lea edi, [ebp + 0x459]
mov byte [edi], dl
cmp dword [ebx + 0x7c], 3
jne 0x57dbc9
cmp dl, 0x14
je 0x57dbc9
push str.Lying_server__not_serving_HTTP_2
push esi
call fcn.00571b80
add esp, 8
cmp byte [edi], 0x14
jae 0x57dcb9
mov eax, dword [ebp + 0x428]
mov dword [eax], 0xffffffff
jmp 0x57dcb9
test eax, 0x40000
je 0x57e621
mov al, byte [edx]
mov edi, edx
test al, al
je 0x57dc06
cmp al, 0x20
je 0x57dbfe
cmp al, 9
jne 0x57dc06
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x57dbf6
push 5
push str.RTSP_
push edi
call sub.api_ms_win_crt_string_l1_1_0.dll_strncmp
add esp, 0xc
test eax, eax
jne 0x57e621
mov al, byte [edi + 5]
sub al, 0x30
cmp al, 9
ja 0x57e65d
cmp byte [edi + 6], 0x2e
jne 0x57e65d
mov al, byte [edi + 7]
sub al, 0x30
cmp al, 9
ja 0x57e65d
mov al, byte [edi + 8]
cmp al, 0x20
je 0x57dc51
cmp al, 9
jne 0x57e65d
mov cl, byte [edi + 9]
mov al, cl
sub al, 0x30
cmp al, 9
ja 0x57e65d
mov dh, byte [edi + 0xa]
mov al, dh
sub al, 0x30
cmp al, 9
ja 0x57e65d
mov dl, byte [edi + 0xb]
mov al, dl
sub al, 0x30
cmp al, 9
ja 0x57e65d
movsx eax, cl
lea ecx, [eax + eax*4]
movsx eax, dh
lea eax, [eax + ecx*2]
lea ecx, [eax + eax*4]
movsx eax, dl
lea eax, [eax + ecx*2]
add eax, 0xffffeb30
mov dword [ebx + 0x60], eax
mov al, byte [edi + 0xc]
cmp al, 0x20
je 0x57dcb0
cmp al, 9
je 0x57dcb0
sub al, 0xa
cmp al, 3
ja 0x57e65d
lea edi, [ebp + 0x459]
mov byte [edi], 0xb
mov eax, dword [ebx + 0x60]
mov ecx, edi
mov dl, byte [esi + 0xd5d]
mov dword [esi + 0xd80], eax
movzx eax, byte [edi]
mov dword [esi + 0xd88], eax
mov al, byte [edi]
test dl, dl
je 0x57dce3
cmp dl, al
jbe 0x57dce9
lea ecx, [ebp + 0x459]
mov byte [esi + 0xd5d], al
mov eax, dword [esi + 0xc50]
or eax, dword [esi + 0xc54]
je 0x57dd12
cmp byte [esi + 0xd5e], 0
jne 0x57dd12
cmp dword [ebx + 0x60], 0x1a0
mov edi, ecx
jne 0x57dd12
mov byte [ebx + 0xc5], 1
mov al, byte [edi]
cmp al, 0xa
jne 0x57dd30
push str.HTTP_1.0__assume_close_after_body
push esi
call fcn.00571b80
push 1
push ebp
call fcn.00572850
add esp, 0x10
jmp 0x57dd4c
cmp al, 0x14
je 0x57dd40
cmp dword [ebx + 0x7c], 2
jne 0x57dd4c
cmp dword [ebx + 0x60], 0x65
jne 0x57dd4c
mov eax, dword [ebp + 0x428]
mov dword [eax], 2
mov ecx, dword [ebx + 0x60]
lea eax, [ecx - 0x64]
cmp eax, 0x63
setbe al
mov byte [ebx + 0xc6], al
sub ecx, 0xcc
je 0x57dd7a
sub ecx, 0x64
jne 0x57dd9c
cmp byte [esi + 0x3d0], cl
je 0x57dd7a
mov byte [esi + 0xe48], 1
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov byte [ebx + 0xc6], 1
lea eax, [esi + 0x8b8]
mov edi, 6
mov dword [esp + 0x18], eax
lea eax, [esi + 0x8b8]
mov dword [esp + 0x38], edi
push eax
call fcn.005612b0
push dword [esp + 0x1c]
mov dword [esp + 0x24], eax
call fcn.005612a0
push eax
push 0
push dword [esp + 0x2c]
mov dword [esp + 0x34], eax
call sub.VCRUNTIME140.dll_memchr
add esp, 0x14
test eax, eax
jne 0x57e64e
mov edx, dword [esi + 0xd4]
cmp edx, 2
jl 0x57de1a
mov eax, dword [esp + 0x1c]
mov cl, byte [eax]
cmp cl, 0x20
je 0x57ddfe
cmp cl, 9
jne 0x57de03
cmp edx, 2
jg 0x57de1a
push dword [esp + 0x20]
push 0x3a
push eax
call sub.VCRUNTIME140.dll_memchr
add esp, 0xc
test eax, eax
je 0x57e632
push dword [esp + 0x14]
push ebp
push esi
call fcn.0057c8a0
add esp, 0xc
test eax, eax
jne 0x57e571
cmp byte [esi + 0x6d7], al
je 0x57de3f
or edi, 1
mov dword [esp + 0x38], edi
mov edi, dword [ebx + 0x60]
lea eax, [esi + 0x8b8]
push eax
call fcn.005612a0
push eax
push dword [esp + 0x1c]
push 1
push esi
call fcn.00571a10
lea eax, [esi + 0x8b8]
push eax
call fcn.005612a0
mov ecx, dword [esp + 0x50]
push eax
push dword [esp + 0x30]
lea eax, [edi - 0x64]
or ecx, 0x10
cmp eax, 0x64
cmovae ecx, dword [esp + 0x58]
push ecx
push esi
call fcn.00571c10
add esp, 0x28
test eax, eax
jne 0x57e571
lea edi, [esi + 0x8b8]
push edi
call fcn.005612a0
add dword [esi + 0xd98], eax
push edi
adc dword [esi + 0xd9c], 0
call fcn.005612a0
add esp, 8
add dword [esi + 0xa8], eax
adc dword [esi + 0xac], 0
jmp 0x57e515
mov ecx, dword [ebx + 0x60]
lea eax, [ecx - 0x64]
cmp eax, 0x63
ja 0x57df2e
sub ecx, 0x64
je 0x57df02
sub ecx, 1
je 0x57deec
mov byte [ebx + 0xc2], 1
mov dword [ebx + 0x4c], 0
jmp 0x57df88
cmp dword [ebx + 0x7c], 2
je 0x57e66a
mov byte [ebx + 0xc2], 0
jmp 0x57df88
cmp dword [ebx + 0x78], 0
mov byte [ebx + 0xc2], 1
mov dword [ebx + 0x4c], 0
jle 0x57df88
or dword [ebx + 0x64], 2
push 0
push esi
mov dword [ebx + 0x78], 0
call fcn.00562fd0
add esp, 8
jmp 0x57df88
mov eax, dword [ebx]
and eax, dword [ebx + 4]
mov byte [ebx + 0xc2], 0
cmp eax, 0xffffffff
jne 0x57df88
cmp byte [ebx + 0xc7], 0
jne 0x57df88
cmp byte [ebp + 0x1ce], 0
jne 0x57df88
cmp byte [ebp + 0x459], 0xb
jne 0x57df88
mov eax, dword [ebp + 0x1e8]
test dword [eax + 0x44], 0x40000
jne 0x57df88
cmp byte [esi + 0xd5e], 5
je 0x57df88
push str.no_chunk__no_close__no_size._Assume_close_to_signal_end
push esi
call fcn.00571b80
push 2
push ebp
call fcn.00572850
add esp, 0x10
cmp byte [ebx + 0xc2], 0
jne 0x57e00a
cmp byte [esi + 0x150], 0
jne 0x57dfef
cmp byte [ebx + 0xc7], 0
jne 0x57dfef
mov ecx, dword [ebx]
mov eax, ecx
mov edx, dword [ebx + 4]
and eax, edx
cmp eax, 0xffffffff
je 0x57e00a
mov eax, dword [esi + 0x4d0]
mov edi, dword [esi + 0x4d4]
or eax, edi
je 0x57dfd7
cmp edx, edi
jg 0x57e69a
jl 0x57dfd7
cmp ecx, dword [esi + 0x4d0]
ja 0x57e69a
push edx
push ecx
push esi
call fcn.00580480
mov eax, dword [ebx]
add esp, 0xc
mov ecx, dword [ebx + 4]
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], ecx
jmp 0x57e00a
mov dword [ebx + 8], 0xffffffff
mov dword [ebx + 0xc], 0xffffffff
mov dword [ebx], 0xffffffff
mov dword [ebx + 4], 0xffffffff
cmp byte [ebp + 0x1ce], 0
je 0x57e09a
mov eax, dword [esi + 0xe8]
cmp eax, 0x191
jne 0x57e02f
cmp dword [ebp + 0x258], 2
je 0x57e03f
jmp 0x57e054
cmp eax, 0x197
jne 0x57e054
cmp dword [ebp + 0x25c], 2
jne 0x57e054
push str.Connection_closure_while_negotiating_auth__HTTP_1.0__
push esi
call fcn.00571b80
add esp, 8
mov byte [esi + 0xd65], 1
cmp byte [ebp + 0x1ce], 0
je 0x57e09a
mov eax, dword [esi + 0xe8]
cmp eax, 0x191
jne 0x57e075
cmp dword [ebp + 0x2e0], 1
je 0x57e085
jmp 0x57e09a
cmp eax, 0x197
jne 0x57e09a
cmp dword [ebp + 0x2e4], 1
jne 0x57e09a
push str.Connection_closure_while_negotiating_auth__HTTP_1.0__
push esi
call fcn.00571b80
add esp, 8
mov byte [esi + 0xd65], 1
cmp dword [ebp + 0x2e0], 3
jne 0x57e0b9
cmp dword [esi + 0xe8], 0x191
je 0x57e0b9
mov dword [ebp + 0x2e0], 4
cmp dword [ebp + 0x2e4], 3
jne 0x57e0d8
cmp dword [esi + 0xe8], 0x197
je 0x57e0d8
mov dword [ebp + 0x2e4], 4
mov eax, dword [ebx + 0x60]
sub eax, 0x64
cmp eax, 0x64
sbb edi, edi
xor eax, eax
and edi, 0x10
cmp byte [esi + 0x6d7], al
setne al
add eax, 2
or edi, eax
lea eax, [esi + 0x8b8]
push eax
call fcn.005612a0
add esp, 4
mov dword [esp + 0x20], eax
push eax
lea eax, [esi + 0x8b8]
push eax
call fcn.005612b0
add esp, 4
push eax
push edi
push esi
call fcn.00571c10
add esp, 0x10
test eax, eax
jne 0x57e571
mov eax, dword [esp + 0x20]
cdq
mov edi, eax
mov eax, edx
add dword [esi + 0xd98], edi
push esi
adc dword [esi + 0xd9c], eax
add edi, dword [esi + 0xa8]
mov dword [esi + 0xa8], edi
adc eax, dword [esi + 0xac]
mov dword [esp + 0x3c], eax
mov dword [esi + 0xac], eax
call fcn.0057ee30
add esp, 4
test al, al
mov eax, dword [ebx + 0x60]
jne 0x57e730
add eax, 0xffffff9c
cmp eax, 0x63
ja 0x57e17f
mov eax, dword [esp + 0x38]
jmp 0x57e190
xorps xmm0, xmm0
movlpd qword [esp + 0x24], xmm0
mov eax, dword [esp + 0x28]
mov edi, dword [esp + 0x24]
mov ecx, dword [esi + 0x18]
mov edx, 0xffffffff
mov dword [esi + 0xb0], edi
xor edi, edi
mov dword [esi + 0xb4], eax
mov eax, 0xffffffbf
cmp dword [esi + 0x5f4], edi
mov dword [esp + 0x14], ecx
cmovne eax, edx
mov byte [esp + 0x13], 0
mov edx, dword [esi + 0xe8]
mov dword [esp + 0x24], eax
mov byte [esp + 0x38], 0
lea eax, [edx - 0x64]
cmp eax, 0x63
jbe 0x57e3d9
cmp byte [esi + 0xd65], 0
lea eax, [esi + 0xd65]
mov dword [esp + 0x1c], eax
je 0x57e1ff
cmp byte [esi + 0x6d2], 0
mov eax, 0x16
cmovne edi, eax
jmp 0x57e3d1
cmp dword [esi + 0xd4c], edi
jne 0x57e219
cmp dword [esi + 0x5f4], edi
je 0x57e292
lea eax, [esi + 0xd65]
cmp edx, 0x191
je 0x57e236
cmp byte [ecx + 0x1d8], 0
je 0x57e292
mov dword [esp + 0x1c], eax
cmp edx, 0x12c
jge 0x57e292
push dword [esp + 0x24]
lea eax, [esi + 0x96c]
push eax
call fcn.0057f1d0
add esp, 8
mov byte [esp + 0x13], al
test al, al
jne 0x57e258
mov ecx, dword [esp + 0x1c]
mov byte [ecx], 1
cmp dword [esi + 0x970], 8
mov ecx, dword [esp + 0x14]
jne 0x57e292
cmp byte [ecx + 0x459], 0xb
jbe 0x57e292
push str.Forcing_HTTP_1.1_for_NTLM
push esi
call fcn.00571b80
push 1
push dword [esp + 0x20]
call fcn.00572850
mov ecx, dword [esp + 0x24]
add esp, 0x10
mov byte [esi + 0xd5c], 2
cmp byte [ecx + 0x1ca], 0
je 0x57e2da
mov eax, dword [esi + 0xe8]
cmp eax, 0x197
je 0x57e2b8
cmp byte [ecx + 0x1d8], 0
je 0x57e2da
cmp eax, 0x12c
jge 0x57e2da
lea eax, [esi + 0x97c]
push 0xffffffffffffffbf
push eax
call fcn.0057f1d0
mov ecx, dword [esp + 0x1c]
add esp, 8
test al, al
jne 0x57e2de
mov byte [esi + 0xd65], 1
jmp 0x57e2de
mov al, byte [esp + 0x38]
cmp byte [esp + 0x13], 0
jne 0x57e34d
test al, al
jne 0x57e34d
cmp dword [esi + 0xe8], 0x12c
jge 0x57e3ab
cmp byte [esi + 0x978], al
jne 0x57e3ab
cmp byte [ecx + 0x1d8], al
je 0x57e3ab
mov al, byte [esi + 0xd5e]
test al, al
je 0x57e3ab
cmp al, 5
je 0x57e3ab
push dword [esi + 0xcbc]
call dword [0x78ed34]
add esp, 4
mov dword [esi + 0x120], eax
test eax, eax
je 0x57e6b5
mov byte [esi + 0x978], 1
jmp 0x57e3ab
mov al, byte [esi + 0xd5e]
test al, al
je 0x57e378
cmp al, 5
je 0x57e378
cmp byte [esi + 0xd73], 0
jne 0x57e378
push ecx
push esi
call fcn.0057ec10
mov edi, eax
add esp, 8
test edi, edi
jne 0x57e6ba
push dword [esi + 0x120]
call dword [0x78ed2c]
push dword [esi + 0xcbc]
mov dword [esi + 0x120], 0
call dword [0x78ed34]
add esp, 8
mov dword [esi + 0x120], eax
test eax, eax
je 0x57e6b5
push esi
call fcn.0057ee30
add esp, 4
test al, al
je 0x57e3d1
push dword [esi + 0xe8]
push str.The_requested_URL_returned_error:__d
push esi
call fcn.00571ab0
add esp, 0xc
mov edi, 0x16
test edi, edi
jne 0x57e6ba
cmp dword [ebx + 0x60], 0x12c
jl 0x57e508
cmp byte [ebp + 0x1d8], 0
jne case.default.0x57e41e
cmp byte [ebp + 0x1ce], 0
jne case.default.0x57e41e
cmp byte [esi + 0xd73], 0
jne 0x57e4ed
movzx eax, byte [esi + 0xd5e]
dec eax
cmp eax, 3
ja case.default.0x57e41e
jmp dword [eax*4 + 0x57e7d8]
push 0
push esi
call fcn.00562fd0
add esp, 8
cmp byte [ebx + 0xc4], 0
jne case.default.0x57e41e
cmp dword [ebx + 0x60], 0x1a1
jne 0x57e47f
cmp byte [esi + 0xd67], 0
je 0x57e47f
push str.Got_417_while_waiting_for_a_100
push esi
call fcn.00571b80
push dword [esi + 0xcbc]
mov byte [esi + 0xd68], 1
call dword [0x78ed34]
push ebx
push esi
mov dword [esi + 0x120], eax
call fcn.005763e0
add esp, 0x14
jmp case.default.0x57e41e
cmp byte [esi + 0x6d3], 0
je 0x57e4a9
push str.HTTP_error_before_end_of_send__keep_sending
push esi
call fcn.00571b80
add esp, 8
cmp dword [ebx + 0x78], 0
jle case.default.0x57e41e
or dword [ebx + 0x64], 2
mov dword [ebx + 0x78], 0
jmp case.default.0x57e41e
push str.HTTP_error_before_end_of_send__stop_sending
push esi
call fcn.00571b80
push 2
push ebp
call fcn.00572850
push ebx
push esi
call fcn.005763e0
add esp, 0x18
test eax, eax
jne 0x57e571
mov byte [ebx + 0xc4], 1
cmp byte [esi + 0xd67], al
je case.default.0x57e41e
mov dword [ebx + 0x78], 3
cmp byte [esi + 0xd73], 0
je 0x57e508
cmp dword [ebp + 0x204], 0xffffffff
je 0x57e508
push str.Keep_sending_data_to_get_tossed_away
push esi
call fcn.00571b80
add esp, 8
or dword [ebx + 0x64], 2
cmp byte [ebx + 0xc2], 0
je 0x57e6c4
lea eax, [esi + 0x8b8]
push eax
call fcn.005612c0
mov eax, dword [ebx + 0x50]
add esp, 4
mov dword [esp + 0x38], eax
cmp byte [eax], 0
je 0x57e56f
mov ecx, dword [esp + 0x40]
mov edi, dword [ecx]
mov dword [esp + 0x20], edi
push edi
jmp 0x57d8c4
push 2
push ebp
call fcn.00572850
add esp, 8
cmp byte [esi + 0x6f5], 0
je 0x57e7bc
mov eax, dword [esp + 0x40]
mov byte [ebx + 0xc2], 0
cmp dword [eax], 0
je 0x57e579
mov dword [ebx + 0x48], 1
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
mov ecx, dword [esp + 0x2c]
pop edi
mov dword [ebx + 0x48], 2
mov dword [eax], ecx
mov eax, dword [esp + 0x2c]
pop esi
mov dword [ebx + 0x50], eax
xor eax, eax
pop ebp
pop ebx
add esp, 0x24
ret
push str.Unsupported_HTTP_version_in_response
push esi
call fcn.00571ab0
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
mov eax, 0x66666667
imul edx
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [esp + 0x1c]
lea eax, [ecx + ecx*4]
add eax, eax
sub edx, eax
push edx
push ecx
push str.Unsupported_HTTP_version___u._d__in_response
push esi
call fcn.00571ab0
add esp, 0x10
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
push str.Unsupported_response_code_in_HTTP_response
push esi
call fcn.00571ab0
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
push str.Unsupported_HTTP_1_subversion_in_response
push esi
call fcn.00571ab0
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
pop edi
pop esi
pop ebp
mov byte [ebx + 0xc2], 0
xor eax, eax
pop ebx
add esp, 0x24
ret
mov eax, str.Header_without_colon
push eax
push esi
call fcn.00571ab0
add esp, 8
mov eax, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
mov eax, str.Nul_byte_in_header
push eax
push esi
call fcn.00571ab0
add esp, 8
pop edi
pop esi
pop ebp
mov eax, 8
pop ebx
add esp, 0x24
ret
push str.Received_101__Switching_to_HTTP_2
push esi
call fcn.00571b80
add esp, 8
mov dword [ebx + 0x7c], 3
mov byte [ebx + 0xc2], 1
mov eax, 1
mov dword [ebx + 0x4c], 0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
push str.Maximum_file_size_exceeded
push esi
call fcn.00571ab0
add esp, 8
mov eax, 0x3f
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
mov edi, 0x1b
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
cmp byte [esi + 0x154], 0
mov ecx, dword [esp + 0x44]
jne 0x57e6f6
mov eax, dword [ebp + 0x1e8]
test dword [eax + 0x44], 0x40000
je 0x57e6f9
cmp dword [esi + 0x668], 2
jne 0x57e6f9
cmp dword [ebx + 4], 0xffffffff
jg 0x57e6f9
jl 0x57e6f6
cmp dword [ebx], 0xffffffff
ja 0x57e6f9
mov byte [ecx], 1
cmp dword [ebx + 8], 0
jne 0x57e70a
cmp dword [ebx + 0xc], 0
jne 0x57e70a
mov byte [ecx], 1
jmp 0x57e70f
cmp byte [ecx], 0
je 0x57e713
and dword [ebx + 0x64], 0xfffffffe
push dword [esp + 0x20]
push dword [esp + 0x1c]
push 1
push esi
call fcn.00571a10
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
push eax
push str.The_requested_URL_returned_error:__d
push esi
call fcn.00571ab0
add esp, 0xc
mov eax, 0x16
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
push dword [esp + 0x20]
lea edi, [esi + 0x8b8]
push dword [esp + 0x1c]
push edi
call fcn.00561240
add esp, 0xc
test eax, eax
jne 0x57e571
cmp dword [ebx + 0x4c], eax
jne 0x57e56f
push edi
call fcn.005612a0
add esp, 4
push eax
push edi
call fcn.005612b0
add esp, 4
push eax
push ebp
push esi
call fcn.0057eae0
add esp, 0x10
cmp eax, 2
jne 0x57e56f
push eax
push ebp
mov byte [ebx + 0xc2], 0
mov dword [ebx + 0x48], eax
call fcn.00572850
add esp, 8
cmp byte [esi + 0x6f5], 0
jne 0x57e56f
push str.Received_HTTP_0.9_when_not_allowed
push esi
call fcn.00571ab0
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret