Function at 0x5076b0
Capabilities:
Enumerate pe sections
Validate payment card number using luhn algorithm

Disassembly:
push ecx
mov eax, dword [esp + 0x18]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x14]
push edi
push dword [esp + 0x24]
mov dword [eax], 0
push 0xa
push dword [esp + 0x28]
lea ebp, [esi + 0x88]
lea ebx, [esi + 0x8a8]
call fcn.005edc60
mov edi, eax
add esp, 0xc
test edi, edi
je 0x5085f9
nop dword [eax + eax]
mov eax, dword [esp + 0x20]
sub edi, eax
inc edi
push edi
push eax
push ebx
call fcn.004ee4e0
add esp, 0xc
test eax, eax
jne 0x508443
mov eax, dword [esp + 0x28]
sub dword [esp + 0x24], edi
add dword [esp + 0x20], edi
add dword [eax], edi
cmp dword [esi + 0xcc], 0
jne 0x50779d
lea ebp, [esi + 0x8a8]
push ebp
call fcn.004ee540
push ebp
mov ebx, eax
call fcn.004ee550
mov edi, dword [esp + 0x24]
add esp, 8
mov ecx, dword [edi + 0x200]
test dword [ecx + 0x44], 0x40000
je 0x50777b
cmp ebx, 5
mov ecx, 5
mov ebp, 2
sbb edi, edi
inc edi
cmp ebx, 5
cmova ebx, ecx
push ebx
push eax
push str.RTSP_
call fcn.004fe070
add esp, 0xc
test eax, eax
cmovne ebp, edi
mov edi, dword [esp + 0x1c]
jmp 0x507788
push ebx
push eax
push esi
call fcn.00508b60
add esp, 0xc
mov ebp, eax
cmp ebp, 2
je 0x508420
lea ebp, [esi + 0x88]
lea ebx, [esi + 0x8a8]
push ebx
call fcn.004ee550
mov edx, eax
add esp, 4
mov dword [esp + 0x18], edx
mov cl, byte [edx]
cmp cl, 0xa
je 0x507cee
cmp cl, 0xd
je 0x507cee
mov ecx, dword [esi + 0xcc]
mov edi, 4
lea eax, [ecx + 1]
mov dword [esi + 0xcc], eax
test ecx, ecx
jne 0x507bca
mov ebp, dword [esp + 0x1c]
mov eax, dword [ebp + 0x200]
mov eax, dword [eax + 0x44]
test al, 3
je 0x5079ea
mov al, byte [edx]
mov edi, edx
test al, al
je 0x507810
nop dword [eax]
cmp al, 0x20
je 0x507808
cmp al, 9
jne 0x507810
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x507800
push 5
push str.HTTP_
push edi
call fcn.005fd200
add esp, 0xc
test eax, eax
jne 0x5078b9
movsx ecx, byte [edi + 5]
mov eax, ecx
sub eax, 0x31
je 0x5078fb
sub eax, 1
je 0x507845
sub eax, 1
jne 0x508449
mov al, byte [edi + 6]
cmp al, 0x20
je 0x507850
cmp al, 9
jne 0x5078b9
lea ebx, [ecx - 0x30]
mov cl, byte [edi + 7]
mov al, cl
lea ebx, [ebx + ebx*4]
sub al, 0x30
add ebx, ebx
cmp al, 9
ja 0x5078b9
mov dh, byte [edi + 8]
mov al, dh
sub al, 0x30
cmp al, 9
ja 0x5078b9
mov dl, byte [edi + 9]
mov al, dl
sub al, 0x30
cmp al, 9
ja 0x5078b9
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 ecx, [ecx - 0xa68]
lea ecx, [eax + ecx*2]
mov dword [esi + 0xd8], ecx
mov al, byte [edi + 0xa]
cmp al, 0x20
je 0x50798e
cmp al, 9
je 0x50798e
cmp al, 0xa
jl 0x5078b9
cmp al, 0xd
jle 0x50798e
lea edi, [esi + 0x8a8]
push edi
call fcn.004ee540
add esp, 4
push eax
push edi
call fcn.004ee550
add esp, 4
push eax
push esi
call fcn.00508b60
add esp, 0xc
cmp eax, 1
jne 0x5084c7
mov dword [esi + 0xd8], 0xc8
mov byte [ebp + 0x471], 0xa
jmp 0x507ac4
cmp byte [edi + 6], 0x2e
jne 0x5084ae
mov al, byte [edi + 7]
cmp al, 0x30
je 0x507914
cmp al, 0x31
jne 0x5084ae
mov cl, byte [edi + 8]
cmp cl, 0x20
je 0x507925
cmp cl, 9
jne 0x5084ae
mov cl, byte [edi + 9]
movsx ebx, al
mov al, cl
sub al, 0x30
sub ebx, 0x26
cmp al, 9
ja 0x5084ae
mov dh, byte [edi + 0xa]
mov al, dh
sub al, 0x30
cmp al, 9
ja 0x5084ae
mov dl, byte [edi + 0xb]
mov al, dl
sub al, 0x30
cmp al, 9
ja 0x5084ae
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 ecx, [ecx - 0xa68]
lea ecx, [eax + ecx*2]
mov dword [esi + 0xd8], ecx
mov al, byte [edi + 0xc]
cmp al, 0x20
je 0x50798e
cmp al, 9
je 0x50798e
sub al, 0xa
cmp al, 3
ja 0x5084ae
cmp ecx, 0x64
jl 0x508495
mov eax, ebx
sub eax, 0xa
je 0x5079a7
sub eax, 1
jne 0x508462
mov byte [ebp + 0x471], bl
mov al, bl
cmp dword [esi + 0xf4], 3
jne 0x5079d1
cmp bl, 0x14
je 0x5079d1
push str.Lying_server__not_serving_HTTP_2
push esi
call fcn.004f9700
mov al, byte [ebp + 0x471]
add esp, 8
cmp al, 0x14
jae 0x507ac4
mov eax, dword [ebp + 0x440]
mov dword [eax], 0xffffffff
jmp 0x507ac4
test eax, 0x40000
je 0x5084c7
mov al, byte [edx]
mov edi, edx
test al, al
je 0x507a10
nop dword [eax]
cmp al, 0x20
je 0x507a08
cmp al, 9
jne 0x507a10
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x507a00
push 5
push str.RTSP_
push edi
call fcn.005fd200
add esp, 0xc
test eax, eax
jne 0x5084c7
mov al, byte [edi + 5]
sub al, 0x30
cmp al, 9
ja 0x5084ff
cmp byte [edi + 6], 0x2e
jne 0x5084ff
mov al, byte [edi + 7]
sub al, 0x30
cmp al, 9
ja 0x5084ff
mov al, byte [edi + 8]
cmp al, 0x20
je 0x507a5b
cmp al, 9
jne 0x5084ff
mov cl, byte [edi + 9]
mov al, cl
sub al, 0x30
cmp al, 9
ja 0x5084ff
mov bl, byte [edi + 0xa]
mov al, bl
sub al, 0x30
cmp al, 9
ja 0x5084ff
mov dl, byte [edi + 0xb]
mov al, dl
sub al, 0x30
cmp al, 9
ja 0x5084ff
movsx eax, cl
lea ecx, [eax + eax*4]
movsx eax, bl
lea eax, [eax + ecx*2]
lea ecx, [eax + eax*4]
movsx eax, dl
lea eax, [eax + ecx*2]
add eax, 0xffffeb30
mov dword [esi + 0xd8], eax
mov al, byte [edi + 0xc]
cmp al, 0x20
je 0x507abd
cmp al, 9
je 0x507abd
sub al, 0xa
cmp al, 3
ja 0x5084ff
mov byte [ebp + 0x471], 0xb
mov eax, dword [esi + 0xd8]
mov cl, byte [esi + 0xd51]
mov dword [esi + 0xd78], eax
movzx eax, byte [ebp + 0x471]
mov dword [esi + 0xd80], eax
mov al, byte [ebp + 0x471]
test cl, cl
je 0x507af1
cmp cl, al
jbe 0x507af7
mov byte [esi + 0xd51], al
mov eax, dword [esi + 0xc38]
or eax, dword [esi + 0xc3c]
je 0x507b21
cmp byte [esi + 0xd52], 0
jne 0x507b21
cmp dword [esi + 0xd8], 0x1a0
jne 0x507b21
mov byte [esi + 0x141], 1
mov al, byte [ebp + 0x471]
cmp al, 0xa
jne 0x507b43
push str.HTTP_1.0__assume_close_after_body
push esi
call fcn.004f9700
push 1
push ebp
call fcn.004fae90
add esp, 0x10
jmp 0x507b65
cmp al, 0x14
je 0x507b59
cmp dword [esi + 0xf4], 2
jne 0x507b65
cmp dword [esi + 0xd8], 0x65
jne 0x507b65
mov eax, dword [ebp + 0x440]
mov dword [eax], 2
mov ecx, dword [esi + 0xd8]
lea eax, [ecx - 0x64]
cmp eax, 0x63
setbe al
mov byte [esi + 0x142], al
sub ecx, 0xcc
je 0x507b96
sub ecx, 0x64
jne 0x507bc5
cmp byte [esi + 0x3c0], cl
je 0x507b96
mov byte [esi + 0xe3c], 1
mov dword [esi + 0x88], 0
mov dword [esi + 0x8c], 0
mov dword [esi + 0x90], 0
mov dword [esi + 0x94], 0
mov byte [esi + 0x142], 1
mov edi, 0xc
lea ebp, [esi + 0x8a8]
push ebp
call fcn.004ee550
push ebp
mov ebx, eax
call fcn.004ee540
mov ebp, eax
push ebp
push 0
push ebx
call fcn.005edc60
add esp, 0x14
test eax, eax
jne 0x5084f0
mov ecx, dword [esi + 0xcc]
cmp ecx, 2
jl 0x507c22
mov al, byte [ebx]
cmp al, 0x20
je 0x507c09
cmp al, 9
jne 0x507c0e
cmp ecx, 2
jg 0x507c22
push ebp
push 0x3a
push ebx
call fcn.005edc60
add esp, 0xc
test eax, eax
je 0x5084d6
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
push ebx
push ebp
push esi
call fcn.005066f0
add esp, 0xc
test eax, eax
jne 0x508443
mov eax, dword [esi + 0xd8]
sub eax, 0x64
cmp eax, 0x64
jae 0x507c4e
or edi, 0x20
lea ebp, [esi + 0x8a8]
push ebp
call fcn.004ee540
push eax
push ebx
push 1
push esi
call fcn.004f9590
push ebp
call fcn.004ee540
push eax
push ebx
push edi
push esi
call fcn.004f9eb0
add esp, 0x28
test eax, eax
jne 0x508443
push ebp
call fcn.004ee540
mov ecx, dword [esi + 0xc4]
mov edi, eax
mov edx, 0x4b000
add esp, 4
add ecx, edi
cmp edi, edx
jae 0x507ce5
mov eax, dword [esi + 0xdb8]
add dword [esi + 0xc0], edi
add eax, edi
mov dword [esi + 0xdb8], eax
mov dword [esi + 0xc4], ecx
cmp ecx, edx
ja 0x507cca
cmp eax, 0x5dc000
jbe 0x5083e5
mov ecx, eax
mov edx, 0x5dc000
push edx
push ecx
push str.Too_large_response_headers:__zu____u
push esi
call fcn.004f9630
add esp, 0x10
mov eax, 0x38
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
test ecx, ecx
jne 0x507cca
jmp 0x5083e5
mov ecx, dword [esi + 0xd8]
lea eax, [ecx - 0x64]
cmp eax, 0x63
ja 0x507d8d
sub ecx, 0x64
je 0x507d49
sub ecx, 1
je 0x507d28
lea ecx, [esi + 0x13c]
mov dword [esi + 0xcc], 0
mov byte [ecx], 1
mov edi, ecx
mov dword [esp + 0x10], ecx
jmp 0x507e08
cmp dword [esi + 0xf4], 2
je 0x50850a
lea ecx, [esi + 0x13c]
mov byte [ecx], 0
mov edi, ecx
mov dword [esp + 0x10], ecx
jmp 0x507e08
cmp dword [esi + 0xf0], 0
lea ecx, [esi + 0x13c]
mov dword [esp + 0x10], ecx
mov byte [ecx], 1
mov dword [esi + 0xcc], 0
jle 0x507d89
or dword [esi + 0xdc], 2
push 0
push esi
mov dword [esi + 0xf0], 0
call fcn.004e86d0
mov ecx, dword [esp + 0x18]
add esp, 8
mov edi, ecx
jmp 0x507e08
cmp dword [esi + 0xf4], 2
jne 0x507da1
push dword [esi + 0x7c]
call fcn.004e87f0
add esp, 4
mov eax, dword [ebp]
lea ecx, [esi + 0x13c]
and eax, dword [ebp + 4]
mov edi, ecx
mov dword [esp + 0x10], ecx
mov byte [ecx], 0
cmp eax, 0xffffffff
jne 0x507e0d
cmp byte [esi + 0x143], 0
jne 0x507e0d
mov ebx, dword [esp + 0x1c]
cmp byte [ebx + 0x1e6], 0
jne 0x507e0d
cmp byte [ebx + 0x471], 0xb
jne 0x507e0d
mov eax, dword [ebx + 0x200]
test dword [eax + 0x44], 0x40000
jne 0x507e0d
cmp byte [esi + 0xd52], 5
je 0x507e0d
push str.no_chunk__no_close__no_size._Assume_close_to_signal_end
push esi
call fcn.004f9700
push 2
push ebx
call fcn.004fae90
add esp, 0x10
cmp byte [edi], 0
jne 0x507e87
cmp byte [esi + 0x144], 0
jne 0x507e6b
cmp byte [ebp + 0xbb], 0
jne 0x507e6b
mov ecx, dword [ebp]
mov eax, ecx
mov edx, dword [ebp + 4]
and eax, edx
cmp eax, 0xffffffff
je 0x507e87
mov ebx, dword [esi + 0x4c0]
mov eax, ebx
mov edi, dword [esi + 0x4c4]
or eax, edi
je 0x507e52
cmp edx, edi
jg 0x50853e
jl 0x507e52
cmp ecx, ebx
ja 0x50853e
push edx
push ecx
push esi
call fcn.0050a490
mov eax, dword [ebp]
add esp, 0xc
mov ecx, dword [ebp + 4]
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], ecx
jmp 0x507e87
mov dword [ebp + 8], 0xffffffff
mov dword [ebp + 0xc], 0xffffffff
mov dword [ebp], 0xffffffff
mov dword [ebp + 4], 0xffffffff
mov ebp, dword [esp + 0x1c]
mov al, byte [ebp + 0x1e6]
test al, al
je 0x507f1d
mov eax, dword [esi + 0xd8]
cmp eax, 0x191
jne 0x507eb1
cmp dword [ebp + 0x270], 2
je 0x507ec1
jmp 0x507ee0
cmp eax, 0x197
jne 0x507ee0
cmp dword [ebp + 0x274], 2
jne 0x507ee0
push str.Connection_closure_while_negotiating_auth__HTTP_1.0__
push esi
call fcn.004f9700
mov byte [esi + 0xd59], 1
add esp, 8
mov al, byte [ebp + 0x1e6]
test al, al
je 0x507f1d
mov eax, dword [esi + 0xd8]
cmp eax, 0x191
jne 0x507ef8
cmp dword [ebp + 0x2f8], 1
je 0x507f08
jmp 0x507f1d
cmp eax, 0x197
jne 0x507f1d
cmp dword [ebp + 0x2fc], 1
jne 0x507f1d
push str.Connection_closure_while_negotiating_auth__HTTP_1.0__
push esi
call fcn.004f9700
add esp, 8
mov byte [esi + 0xd59], 1
cmp dword [ebp + 0x2f8], 3
jne 0x507f3c
cmp dword [esi + 0xd8], 0x191
je 0x507f3c
mov dword [ebp + 0x2f8], 4
cmp dword [ebp + 0x2fc], 3
jne 0x507f5b
cmp dword [esi + 0xd8], 0x197
je 0x507f5b
mov dword [ebp + 0x2fc], 4
mov eax, dword [esi + 0xd8]
sub eax, 0x64
cmp eax, 0x64
lea eax, [esi + 0x8a8]
push eax
sbb edi, edi
and edi, 0x20
add edi, 4
call fcn.004ee540
add esp, 4
mov ebx, eax
lea eax, [esi + 0x8a8]
push ebx
push eax
call fcn.004ee550
add esp, 4
push eax
push edi
push esi
call fcn.004f9eb0
add esp, 0x10
test eax, eax
jne 0x508443
mov ecx, dword [esi + 0xc4]
mov edx, 0x4b000
add ecx, ebx
cmp ebx, edx
jae 0x507fe3
mov eax, dword [esi + 0xdb8]
add dword [esi + 0xc0], ebx
add eax, ebx
mov dword [esi + 0xdb8], eax
mov dword [esi + 0xc4], ecx
cmp ecx, edx
ja 0x507cca
cmp eax, 0x5dc000
ja 0x507cc3
jmp 0x507feb
test ecx, ecx
jne 0x507cca
mov edi, dword [esi + 0xd8]
push esi
call fcn.00508e80
add esp, 4
test al, al
jne 0x5085df
lea eax, [edi - 0x64]
cmp eax, 0x63
ja 0x50801b
mov eax, dword [esi + 0xc0]
mov dword [esi + 0xc8], eax
jmp 0x508224
mov ebx, dword [esi + 0x18]
mov ecx, 0xffffffbf
mov dword [esi + 0xc8], 0
mov edx, 0xffffffff
mov eax, dword [esi + 0x5e4]
test eax, eax
cmovne ecx, edx
cmp byte [esi + 0xd59], 0
je 0x50805c
xor edi, edi
mov eax, 0x16
cmp byte [esi + 0x6c2], 0
cmovne edi, eax
jmp 0x50821c
cmp dword [esi + 0xd40], 0
jne 0x50806e
mov byte [esp + 0x18], 0
test eax, eax
je 0x5080e1
cmp edi, 0x191
je 0x508091
cmp byte [ebx + 0x1f0], 0
mov byte [esp + 0x18], 0
je 0x5080e1
mov byte [esp + 0x18], 0
cmp edi, 0x12c
jge 0x5080e1
push ecx
lea eax, [esi + 0x970]
push eax
call fcn.00509240
mov cl, al
add esp, 8
mov byte [esp + 0x18], cl
test cl, cl
jne 0x5080b2
mov byte [esi + 0xd59], 1
cmp dword [esi + 0x974], 8
jne 0x5080e1
cmp byte [ebx + 0x471], 0xb
jbe 0x5080e1
push str.Forcing_HTTP_1.1_for_NTLM
push esi
call fcn.004f9700
push 1
push ebx
call fcn.004fae90
add esp, 0x10
mov byte [esi + 0xd50], 2
xor al, al
cmp byte [ebx + 0x1e2], al
je 0x508125
mov ecx, dword [esi + 0xd8]
cmp ecx, 0x197
je 0x508109
cmp byte [ebx + 0x1f0], al
je 0x508125
cmp ecx, 0x12c
jge 0x508125
lea eax, [esi + 0x980]
push 0xffffffffffffffbf
push eax
call fcn.00509240
add esp, 8
test al, al
jne 0x508125
mov byte [esi + 0xd59], 1
cmp byte [esp + 0x18], 0
jne 0x508196
test al, al
jne 0x508196
xor edi, edi
cmp dword [esi + 0xd8], 0x12c
jge 0x5081f6
cmp byte [esi + 0x97c], al
jne 0x5081f6
cmp byte [ebx + 0x1f0], al
je 0x5081f6
mov al, byte [esi + 0xd52]
test al, al
je 0x5081f6
cmp al, 5
je 0x5081f6
push dword [esi + 0xca4]
call dword [0x6a400c]
add esp, 4
mov dword [esi + 0x110], eax
test eax, eax
je 0x5085d2
mov byte [esi + 0x97c], 1
jmp 0x5081f6
mov al, byte [esi + 0xd52]
xor edi, edi
test al, al
je 0x5081c3
cmp al, 5
je 0x5081c3
cmp byte [esi + 0xd67], 0
jne 0x5081c3
push ebx
push esi
call fcn.00508c70
mov edi, eax
add esp, 8
test edi, edi
jne 0x5085d7
push dword [esi + 0x110]
call dword [0x6a4004]
push dword [esi + 0xca4]
mov dword [esi + 0x110], 0
call dword [0x6a400c]
add esp, 8
mov dword [esi + 0x110], eax
test eax, eax
je 0x5085d2
push esi
call fcn.00508e80
add esp, 4
test al, al
je 0x50821c
push dword [esi + 0xd8]
push str.The_requested_URL_returned_error:__d
push esi
call fcn.004f9630
add esp, 0xc
mov edi, 0x16
test edi, edi
jne 0x5085d7
cmp dword [esi + 0xd8], 0x12c
mov edi, dword [esp + 0x10]
jl 0x5083d0
cmp byte [ebp + 0x1f0], 0
jne case.default.0x508270
cmp byte [ebp + 0x1e6], 0
jne case.default.0x508270
cmp byte [esi + 0xd67], 0
jne case.default.0x508270
movzx eax, byte [esi + 0xd52]
dec eax
cmp eax, 3
ja case.default.0x508270
jmp dword [eax*4 + 0x508690]
push 0
push esi
call fcn.004e86d0
add esp, 8
cmp byte [esi + 0x140], 0
jne case.default.0x508270
cmp dword [esi + 0xd8], 0x1a1
jne 0x508322
cmp byte [esi + 0xd5b], 0
je 0x508322
mov eax, dword [esi + 0xa0]
or eax, dword [esi + 0xa4]
jne 0x5082cf
cmp dword [esi + 0xf0], 1
jne 0x5082cf
push str.Got_HTTP_failure_417_while_waiting_for_a_100
push esi
call fcn.004f9700
add esp, 8
jmp 0x5082f4
push str.Got_HTTP_failure_417_while_sending_data
push esi
call fcn.004f9700
push 2
push ebp
call fcn.004fae90
push ebp
push esi
call fcn.00508c70
add esp, 0x18
test eax, eax
jne 0x508443
push dword [esi + 0xca4]
mov byte [esi + 0xd5c], 1
call dword [0x6a400c]
lea ebx, [esi + 0x88]
mov dword [esi + 0x110], eax
push ebx
push esi
call fcn.004fea60
add esp, 0xc
jmp 0x5083a7
cmp byte [esi + 0x6c3], 0
je 0x50835b
push str.HTTP_error_before_end_of_send__keep_sending
push esi
call fcn.004f9700
add esp, 8
lea ebx, [esi + 0x88]
cmp dword [esi + 0xf0], 0
jle 0x5083a7
or dword [esi + 0xdc], 2
mov dword [esi + 0xf0], 0
jmp 0x5083a7
push str.HTTP_error_before_end_of_send__stop_sending
push esi
call fcn.004f9700
push 2
push ebp
call fcn.004fae90
lea ebx, [esi + 0x88]
push ebx
push esi
call fcn.004fea60
add esp, 0x18
test eax, eax
jne 0x508443
mov byte [esi + 0x140], 1
cmp byte [esi + 0xd5b], al
je 0x5083a7
mov dword [esi + 0xf0], 3
jmp 0x5083a7
lea ebx, [esi + 0x88]
cmp byte [esi + 0xd67], 0
je 0x5083d6
cmp dword [ebp + 0x21c], 0xffffffff
je 0x5083d6
push str.Keep_sending_data_to_get_tossed_away
push esi
call fcn.004f9700
add esp, 8
or dword [esi + 0xdc], 2
jmp 0x5083d6
lea ebx, [esi + 0x88]
cmp byte [edi], 0
je 0x508557
lea ebp, [esi + 0x8a8]
push ebp
call fcn.004ee560
mov ebx, dword [esp + 0x28]
add esp, 4
test ebx, ebx
je 0x508441
push ebx
push 0xa
push dword [esp + 0x28]
call fcn.005edc60
mov edi, eax
add esp, 0xc
test edi, edi
je 0x508603
lea ebp, [esi + 0x88]
lea ebx, [esi + 0x8a8]
jmp 0x5076f0
push 2
push edi
call fcn.004fae90
add esp, 8
cmp byte [esi + 0x6e5], 0
je 0x508677
mov word [esi + 0x13c], 0x100
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push str.Unsupported_HTTP_version_in_response
push esi
call fcn.004f9630
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
mov eax, 0x66666667
imul ebx
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
lea eax, [ecx + ecx*4]
add eax, eax
sub ebx, eax
push ebx
push ecx
push str.Unsupported_HTTP_version___u._d__in_response
push esi
call fcn.004f9630
add esp, 0x10
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push str.Unsupported_response_code_in_HTTP_response
push esi
call fcn.004f9630
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push str.Unsupported_HTTP_1_subversion_in_response
push esi
call fcn.004f9630
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
pop edi
mov byte [esi + 0x13c], 0
xor eax, eax
pop esi
pop ebp
pop ebx
pop ecx
ret
mov eax, str.Header_without_colon
push eax
push esi
call fcn.004f9630
add esp, 8
mov eax, 8
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
mov eax, str.Nul_byte_in_header
push eax
push esi
call fcn.004f9630
add esp, 8
pop edi
pop esi
pop ebp
mov eax, 8
pop ebx
pop ecx
ret
push str.Received_101__Switching_to_HTTP_2
push esi
call fcn.004f9700
add esp, 8
mov dword [esi + 0xf4], 3
mov byte [esi + 0x13c], 1
mov eax, 1
mov dword [esi + 0xcc], 0
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push str.Maximum_file_size_exceeded
push esi
call fcn.004f9630
add esp, 8
mov eax, 0x3f
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
cmp byte [esi + 0x148], 0
jne 0x508585
mov eax, dword [ebp + 0x200]
test dword [eax + 0x44], 0x40000
je 0x50858c
cmp dword [esi + 0x654], 2
jne 0x50858c
cmp dword [ebx + 4], 0xffffffff
jg 0x50858c
jl 0x508585
cmp dword [ebx], 0xffffffff
ja 0x50858c
mov byte [esi + 0x13f], 1
cmp dword [esi + 0x90], 0
jne 0x5085a5
cmp dword [esi + 0x94], 0
jne 0x5085a5
mov byte [esi + 0x13f], 1
lea ebx, [esi + 0x8a8]
push ebx
call fcn.004ee540
add esp, 4
push eax
push ebx
call fcn.004ee550
add esp, 4
push eax
push 1
push esi
call fcn.004f9590
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
mov edi, 0x1b
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push edi
push str.The_requested_URL_returned_error:__d
push esi
call fcn.004f9630
add esp, 0xc
mov eax, 0x16
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
mov ebx, dword [esp + 0x24]
lea ebp, [esi + 0x8a8]
push ebx
push dword [esp + 0x24]
push ebp
call fcn.004ee4e0
add esp, 0xc
test eax, eax
jne 0x508443
mov eax, dword [esp + 0x28]
add dword [eax], ebx
cmp dword [esi + 0xcc], 0
jne 0x508441
push ebp
call fcn.004ee540
add esp, 4
push eax
push ebp
call fcn.004ee550
mov ebx, dword [esp + 0x24]
add esp, 4
push eax
push ebx
push esi
call fcn.00508c10
add esp, 0x10
cmp eax, 2
jne 0x508441
push eax
push ebx
mov word [esi + 0x13c], 0x100
call fcn.004fae90
add esp, 8
cmp byte [esi + 0x6e5], 0
jne 0x508441
push str.Received_HTTP_0.9_when_not_allowed
push esi
call fcn.004f9630
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret