Function at 0x435365
Capabilities:
Check http status code
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], edx
lea esi, [edi + 0x18]
mov ecx, dword [ebp + 8]
mov eax, dword [esi + 0x5c]
mov dword [esi + 0x60], eax
push dword [ecx]
push 0xa
push eax
call dword [sym.imp.MSVCR120.dll_memchr]
mov ebx, eax
add esp, 0xc
mov eax, dword [ebp + 8]
mov edx, esi
mov dword [esi + 0x64], ebx
mov ecx, edi
test ebx, ebx
je 0x435f52
sub ebx, dword [esi + 0x5c]
inc ebx
sub dword [eax], ebx
mov eax, dword [esi + 0x64]
inc eax
mov dword [esi + 0x5c], eax
sub eax, dword [esi + 0x60]
push eax
call fcn.00435222
pop ecx
test eax, eax
jne 0x435f8b
mov eax, dword [esi + 0x54]
mov edx, dword [esi + 0x50]
mov dword [esi + 0x64], eax
mov eax, dword [edi + 0x554]
mov dword [esi + 0x68], eax
test edx, edx
jne 0x4353f8
cmp dword [esi + 0x58], 5
jbe 0x4353f8
push dword [edi + 0x554]
mov edx, dword [ebp - 4]
mov ecx, edi
call fcn.004351f2
pop ecx
test eax, eax
je 0x435e65
mov edx, dword [esi + 0x50]
mov ecx, dword [esi + 0x68]
mov al, byte [ecx]
cmp al, 0xa
je 0x435c7f
cmp al, 0xd
je 0x435c83
lea eax, [edx + 1]
mov dword [esi + 0x50], eax
test edx, edx
jne 0x4355f1
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x238]
mov eax, dword [eax + 0x3c]
test al, 1
je 0x435558
lea eax, [esi + 0x78]
push eax
lea ebx, [edx + 0x118]
push ebx
lea eax, [ebp - 0xc]
push eax
push str._HTTP__d._d__3d
push ecx
call dword [sym.imp.MSVCR120.dll_sscanf]
add esp, 0x14
cmp eax, 3
jne 0x435511
imul eax, dword [ebp - 0xc], 0xa
add dword [ebx], eax
mov ecx, dword [ebp - 4]
mov eax, dword [esi + 0x78]
mov dword [edi + 0x86ac], eax
mov eax, dword [ebx]
mov dword [edi + 0x86b4], eax
mov eax, dword [edi + 0x8640]
test eax, eax
je 0x43547e
cmp eax, dword [ebx]
jle 0x435486
mov eax, dword [ebx]
mov dword [edi + 0x8640], eax
xor edx, edx
cmp dword [edi + 0x2b8], edx
je 0x4354e7
lea eax, [esi + 0x78]
cmp dword [eax], 0x190
jl 0x4354e7
cmp dword [eax], 0x191
jne 0x4354ab
cmp dword [ecx + 0x1d4], edx
jne 0x4354e7
cmp dword [eax], 0x197
jne 0x4354bb
cmp dword [ecx + 0x1d8], edx
jne 0x4354e7
mov eax, dword [edi + 0x8670]
or eax, dword [edi + 0x8674]
je 0x435e8b
cmp dword [edi + 0x218], 1
jne 0x435e8b
cmp dword [esi + 0x78], 0x1a0
jne 0x435e8b
cmp dword [ebx], 0xa
jne 0x4355a4
push str.HTTP_1.0__assume_close_after_body_n
push edi
call fcn.00428725
mov eax, dword [ebp - 4]
xor edx, edx
pop ecx
pop ecx
mov dword [eax + 0x1c4], 1
jmp 0x4355bb
lea eax, [esi + 0x78]
push eax
push str._HTTP__3d
push dword [esi + 0x68]
call dword [sym.imp.MSVCR120.dll_sscanf]
add esp, 0xc
mov dword [ebx], 0xa
test eax, eax
jne 0x43545c
mov edx, dword [esi + 0x68]
mov ecx, edi
call fcn.0043519d
test eax, eax
je 0x435f85
mov dword [esi + 0x78], 0xc8
mov dword [ebx], 0xa
jmp 0x43545c
test eax, 0x40000
je 0x435f85
lea eax, [esi + 0x78]
push eax
lea ebx, [edx + 0x11c]
push ebx
lea eax, [ebp - 0x10]
push eax
push str._RTSP__d._d__3d
push ecx
call dword [sym.imp.MSVCR120.dll_sscanf]
add esp, 0x14
cmp eax, 3
jne 0x435f85
imul eax, dword [ebp - 0x10], 0xa
mov ecx, dword [ebp - 4]
add dword [ebx], eax
lea ebx, [ecx + 0x118]
mov dword [ebx], 0xb
jmp 0x43545f
cmp dword [ebx], 0xb
jl 0x4355bb
cmp dword [ecx + 0x1c4], edx
jne 0x4355bb
mov dword [ecx + 0x280], 1
mov eax, dword [esi + 0x78]
sub eax, 0xcc
je 0x4355ca
sub eax, 0x64
jne 0x4355f1
cmp dword [edi + 0x208], edx
je 0x4355dc
mov dword [edi + 0x86bc], 1
mov dword [esi], edx
mov dword [esi + 4], edx
mov dword [esi + 0x10], edx
mov dword [esi + 0x14], edx
mov dword [esi + 0xb4], 1
cmp dword [esi + 0xb4], 0
jne 0x4356a0
cmp dword [edi + 0x318], 0
jne 0x4356a0
mov ebx, dword [esi + 0x68]
mov ecx, str.Content_Length:
push 0xf
mov edx, ebx
call fcn.0043d239
pop ecx
test eax, eax
je 0x4356a0
push 0xa
lea eax, [ebx + 0xf]
push 0
push eax
call dword [sym.imp.MSVCR120.dll__strtoi64]
mov ecx, dword [edi + 0x280]
add esp, 0xc
mov ebx, dword [edi + 0x284]
or ecx, ebx
je 0x435658
cmp edx, ebx
jg 0x435e97
jl 0x435658
cmp eax, dword [edi + 0x280]
ja 0x435e97
test edx, edx
jl 0x43567e
jg 0x435662
test eax, eax
jb 0x43567e
push edx
push eax
mov ecx, edi
mov dword [esi], eax
mov dword [esi + 4], edx
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], edx
call fcn.0042f1d7
add esp, 8
jmp 0x435c1f
mov ebx, dword [ebp - 4]
push edx
push eax
push str.Negative_content_length:__lld__closing_after_transfer_n
push edi
mov dword [ebx + 0x1c4], 1
call fcn.00428725
add esp, 0x10
jmp 0x4357c0
mov edx, dword [esi + 0x68]
mov ecx, str.Content_Type:
push 0xd
call fcn.0043d239
pop ecx
test eax, eax
je 0x4356fc
mov ecx, dword [esi + 0x68]
call fcn.00432b53
mov ebx, eax
test ebx, ebx
je 0x435eab
cmp byte [ebx], 0
jne 0x4356d8
push ebx
call dword [0x493210]
pop ecx
jmp 0x435c1f
mov eax, dword [edi + 0x86d4]
test eax, eax
je 0x4356f1
push eax
call dword [0x493210]
and dword [edi + 0x86d4], 0
pop ecx
mov dword [edi + 0x86d4], ebx
jmp 0x435c1f
mov ebx, dword [ebp - 4]
cmp dword [ebx + 0x118], 0xa
jne 0x43572f
cmp dword [ebx + 0x1d0], 0
je 0x43572f
mov ecx, dword [esi + 0x68]
mov edx, str.Proxy_Connection:
push str.keep_alive
call fcn.0043379d
pop ecx
test eax, eax
je 0x43572f
push str.HTTP_1.0_proxy_connection_set_to_keep_alive__n
jmp 0x43578e
cmp dword [ebx + 0x118], 0xb
jne 0x435769
cmp dword [ebx + 0x1d0], 0
je 0x435769
mov ecx, dword [esi + 0x68]
mov edx, str.Proxy_Connection:
push str.close
call fcn.0043379d
pop ecx
test eax, eax
je 0x435769
mov dword [ebx + 0x1c4], 1
push str.HTTP_1.1_proxy_connection_set_close__n
jmp 0x435795
cmp dword [ebx + 0x118], 0xa
jne 0x43579f
mov ecx, dword [esi + 0x68]
mov edx, str.Connection:
push str.keep_alive
call fcn.0043379d
pop ecx
test eax, eax
je 0x43579f
push str.HTTP_1.0_connection_set_to_keep_alive__n
and dword [ebx + 0x1c4], 0
push edi
call fcn.00428725
pop ecx
pop ecx
jmp 0x4357c0
mov ecx, dword [esi + 0x68]
mov edx, str.Connection:
push str.close
call fcn.0043379d
pop ecx
test eax, eax
je 0x4357c7
mov dword [ebx + 0x1c4], 1
mov ecx, ebx
jmp 0x435c22
mov ebx, dword [esi + 0x68]
mov ecx, str.Transfer_Encoding:
push 0x12
mov edx, ebx
call fcn.0043d239
pop ecx
test eax, eax
je 0x43591a
add ebx, 0x12
jmp 0x4357fb
movzx eax, al
push eax
call dword [sym.imp.MSVCR120.dll_isspace]
pop ecx
test eax, eax
jne 0x4357fa
cmp byte [ebx], 0x2c
jne 0x435801
inc ebx
mov al, byte [ebx]
test al, al
jne 0x4357e6
push 7
mov edx, ebx
mov ecx, str.chunked
call fcn.0043d239
pop ecx
test eax, eax
je 0x435833
mov eax, dword [ebp - 4]
mov dword [esi + 0xc8], 1
and dword [eax + 0x18], 0
and dword [eax + 0x24], 0
add ebx, 7
mov dword [eax + 0x1c], 1
cmp dword [esi + 0x88], 0
jne 0x435c1f
push 8
mov edx, ebx
mov ecx, str.identity
call fcn.0043d239
pop ecx
test eax, eax
je 0x43585f
and dword [esi + 0x88], 0
jmp 0x4358ea
push 7
mov edx, ebx
mov ecx, str.deflate
call fcn.0043d239
pop ecx
test eax, eax
je 0x435884
mov dword [esi + 0x88], 1
add ebx, 7
jmp 0x4357fb
push 4
mov edx, ebx
mov ecx, str.gzip
call fcn.0043d239
pop ecx
test eax, eax
je 0x4358a9
mov dword [esi + 0x88], 2
add ebx, 4
jmp 0x4357fb
push 6
mov edx, ebx
mov ecx, str.x_gzip
call fcn.0043d239
pop ecx
test eax, eax
je 0x4358ce
mov dword [esi + 0x88], 2
add ebx, 6
jmp 0x4357fb
push 8
mov edx, ebx
mov ecx, str.compress
call fcn.0043d239
pop ecx
test eax, eax
je 0x4358f2
push 3
pop eax
mov dword [esi + 0x88], eax
add ebx, 8
jmp 0x4357fb
push 0xa
mov edx, ebx
mov ecx, str.x_compress
call fcn.0043d239
pop ecx
test eax, eax
je 0x435c1f
push 3
pop eax
mov dword [esi + 0x88], eax
add ebx, 0xa
jmp 0x4357fb
push 0x11
mov edx, ebx
mov ecx, str.Content_Encoding:
call fcn.0043d239
pop ecx
test eax, eax
je 0x435a07
cmp dword [edi + 0x358], 0
je 0x435a07
add ebx, 0x11
jmp 0x435953
movzx eax, al
push eax
call dword [sym.imp.MSVCR120.dll_isspace]
pop ecx
test eax, eax
je 0x435959
inc ebx
mov al, byte [ebx]
test al, al
jne 0x435943
push 8
mov edx, ebx
mov ecx, str.identity
call fcn.0043d239
pop ecx
test eax, eax
je 0x435978
and dword [esi + 0x88], 0
jmp 0x435c1f
push 7
mov edx, ebx
mov ecx, str.deflate
call fcn.0043d239
pop ecx
test eax, eax
je 0x43599a
mov dword [esi + 0x88], 1
jmp 0x435c1f
push 4
mov edx, ebx
mov ecx, str.gzip
call fcn.0043d239
pop ecx
test eax, eax
jne 0x4359f8
push 6
mov edx, ebx
mov ecx, str.x_gzip
call fcn.0043d239
pop ecx
test eax, eax
jne 0x4359f8
push 8
mov edx, ebx
mov ecx, str.compress
call fcn.0043d239
pop ecx
test eax, eax
jne 0x4359ea
push 0xa
mov edx, ebx
mov ecx, str.x_compress
call fcn.0043d239
pop ecx
test eax, eax
je 0x435c1f
push 3
pop ecx
mov dword [esi + 0x88], ecx
jmp 0x435c1f
mov dword [esi + 0x88], 2
jmp 0x435c1f
push 0xe
mov edx, ebx
mov ecx, str.Content_Range:
call fcn.0043d239
pop ecx
test eax, eax
je 0x435a73
add ebx, 0xe
jmp 0x435a2f
movzx eax, al
push eax
call dword [sym.imp.MSVCR120.dll_isdigit]
pop ecx
test eax, eax
jne 0x435a35
inc ebx
mov al, byte [ebx]
test al, al
jne 0x435a1f
push 0xa
push 0
push ebx
call dword [sym.imp.MSVCR120.dll__strtoi64]
mov dword [esi + 0x70], eax
add esp, 0xc
mov dword [esi + 0x74], edx
mov eax, dword [edi + 0x8670]
cmp eax, dword [esi + 0x70]
jne 0x435c1f
mov ecx, dword [ebp - 4]
cmp dword [edi + 0x8674], edx
jne 0x435c22
mov dword [esi + 0x6c], 1
jmp 0x435c22
cmp dword [edi + 0x430], 0
je 0x435add
push 0xb
mov edx, ebx
mov ecx, str.Set_Cookie:
call fcn.0043d239
pop ecx
test eax, eax
je 0x435add
push ecx
push 2
pop edx
mov ecx, edi
call fcn.00435f92
pop ecx
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 0x268]
test eax, eax
jne 0x435aae
mov eax, dword [ecx + 0x80]
push dword [edi + 0x8658]
mov edx, dword [edi + 0x430]
mov ecx, edi
push eax
mov eax, dword [esi + 0x68]
add eax, 0xb
push eax
push 1
call fcn.0042b674
add esp, 0x10
mov ecx, edi
push 2
pop edx
call fcn.00435fc5
jmp 0x435c1f
push 0xe
mov edx, ebx
mov ecx, str.Last_Modified:
call fcn.0043d239
pop ecx
test eax, eax
je 0x435b3c
xor eax, eax
cmp dword [edi + 0x208], eax
jne 0x435b02
cmp dword [edi + 0x29c], eax
je 0x435b3c
push eax
call dword [sym.imp.MSVCR120.dll__time64]
pop ecx
mov ecx, dword [esi + 0x68]
add ecx, 0xe
call fcn.00443b61
mov ecx, dword [ebp - 4]
mov dword [esi + 0x90], eax
mov dword [esi + 0x94], edx
cmp dword [edi + 0x29c], 0
je 0x435c22
mov dword [edi + 0x86b8], eax
jmp 0x435c22
push 0x11
mov edx, ebx
mov ecx, str.WWW_Authenticate:
call fcn.0043d239
pop ecx
test eax, eax
je 0x435b5a
mov edx, dword [esi + 0x78]
cmp edx, 0x191
je 0x435b78
push 0x13
mov edx, ebx
mov ecx, str.Proxy_authenticate:
call fcn.0043d239
pop ecx
test eax, eax
je 0x435b87
mov edx, dword [esi + 0x78]
cmp edx, 0x197
jne 0x435b87
mov ecx, dword [ebp - 4]
push ebx
call fcn.00433254
pop ecx
jmp 0x435c17
cmp dword [esi + 0x78], 0x12c
jl 0x435bfe
cmp dword [esi + 0x78], 0x190
jge 0x435bfe
push 9
mov edx, ebx
mov ecx, str.Location:
call fcn.0043d239
pop ecx
test eax, eax
je 0x435bfe
cmp dword [edi + 0xd0], 0
jne 0x435bfe
mov ecx, ebx
call fcn.00432b53
test eax, eax
je 0x435eab
cmp byte [eax], 0
jne 0x435bcf
push eax
jmp 0x4356cc
cmp dword [edi + 0x2bc], 0
mov dword [edi + 0xd0], eax
je 0x435c1f
push eax
call dword [0x493214]
mov dword [edi + 0xd4], eax
pop ecx
test eax, eax
je 0x435eab
mov ecx, dword [ebp - 4]
call fcn.00432d1a
jmp 0x435c17
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 0x238]
test dword [eax + 0x3c], 0x40000
je 0x435c22
mov edx, ebx
call fcn.00436ac7
test eax, eax
jne 0x435f8b
mov ecx, dword [ebp - 4]
cmp dword [edi + 0x2c8], 0
push 2
pop ebx
push 3
pop eax
cmovne ebx, eax
cmp dword [edi + 0x2e4], 0
je 0x435c4f
push ecx
push dword [esi + 0x58]
xor edx, edx
mov ecx, edi
push dword [esi + 0x68]
inc edx
call fcn.00428d44
add esp, 0xc
push dword [esi + 0x58]
mov ecx, dword [ebp - 4]
mov edx, ebx
push dword [esi + 0x68]
call fcn.00428aaf
pop ecx
pop ecx
test eax, eax
jne 0x435f8b
mov eax, dword [esi + 0x58]
add dword [edi + 0x86c0], eax
mov eax, dword [esi + 0x58]
add dword [edi + 0x48], eax
xor edx, edx
jmp 0x435e3d
cmp al, 0xd
jne 0x435c89
lea eax, [ecx + 1]
mov dword [esi + 0x68], eax
mov eax, dword [esi + 0x68]
cmp byte [eax], 0xa
jne 0x435c95
inc eax
mov dword [esi + 0x68], eax
cmp dword [esi + 0x78], 0x64
jl 0x435cca
cmp dword [esi + 0x78], 0xc7
jg 0x435cca
mov ebx, dword [ebp - 4]
xor eax, eax
mov dword [esi + 0x48], 1
mov dword [esi + 0x50], eax
cmp dword [esi + 0x84], eax
je 0x435d24
or dword [esi + 0xa8], 2
mov dword [esi + 0x84], eax
jmp 0x435d24
mov eax, dword [esi]
xor ecx, ecx
and eax, dword [esi + 4]
mov ebx, dword [ebp - 4]
mov dword [esi + 0x48], ecx
cmp eax, 0xffffffff
jne 0x435d24
cmp dword [esi + 0xc8], ecx
jne 0x435d24
cmp dword [ebx + 0x1c4], ecx
jne 0x435d24
cmp dword [ebx + 0x118], 0xb
jl 0x435d24
mov eax, dword [ebx + 0x238]
test dword [eax + 0x3c], 0x40000
jne 0x435d24
cmp dword [edi + 0x218], 5
je 0x435d24
push str.no_chunk__no_close__no_size._Assume_close_to_signal_end_n
push edi
call fcn.00428725
pop ecx
pop ecx
mov dword [ebx + 0x1c4], 1
mov ecx, ebx
call fcn.004333e0
test eax, eax
jne 0x435f3c
cmp dword [edi + 0x2c8], eax
mov ebx, dword [esi + 0x68]
mov ecx, dword [ebp - 4]
push 2
pop edx
push 3
pop eax
cmovne edx, eax
mov eax, dword [edi + 0x554]
sub ebx, eax
push ebx
push eax
call fcn.00428aaf
pop ecx
pop ecx
test eax, eax
jne 0x435f8b
add dword [edi + 0x48], ebx
add dword [edi + 0x86c0], ebx
cmp dword [esi + 0x78], 0x64
mov eax, dword [edi + 0x48]
jl 0x435d80
cmp dword [esi + 0x78], 0xc7
jg 0x435d80
xor edx, edx
jmp 0x435d84
xor edx, edx
mov eax, edx
mov dword [edi + 0x4c], eax
mov eax, dword [ebp + 0xc]
cmp dword [eax], edx
jne 0x435e38
mov ecx, dword [ebp - 4]
call fcn.00432e9b
test eax, eax
jne 0x435f8b
mov ecx, dword [ebp - 4]
xor edx, edx
cmp dword [esi + 0x78], 0x12c
jl 0x435e17
cmp dword [ecx + 0x1fc], edx
jne 0x435e17
cmp dword [ecx + 0x1c4], edx
jne 0x435e17
cmp dword [ecx + 0x200], edx
jne 0x435e1f
mov eax, dword [edi + 0x218]
add eax, 0xfffffffe
cmp eax, 2
ja 0x435e17
cmp dword [esi + 0xac], edx
jne 0x435e17
push str.HTTP_error_before_end_of_send__stop_sending_n
push edi
call fcn.00428725
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
xor eax, eax
inc eax
xor edx, edx
mov dword [ecx + 0x1c4], eax
and dword [esi + 0xa8], 0xfffffffd
mov dword [esi + 0xac], eax
cmp dword [edi + 0x8644], edx
je 0x435e17
push 3
pop eax
mov dword [esi + 0x84], eax
cmp dword [ecx + 0x200], edx
je 0x435e35
push str.Keep_sending_data_to_get_tossed_away__n
push edi
call fcn.00428725
or dword [esi + 0xa8], 2
xor edx, edx
pop ecx
pop ecx
mov eax, dword [ebp + 0xc]
cmp dword [esi + 0x48], edx
je 0x435eb2
mov eax, dword [edi + 0x554]
mov dword [esi + 0x54], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x58], edx
cmp dword [eax], edx
jne 0x435f89
mov eax, dword [esi + 0x5c]
cmp byte [eax], 0
jne 0x435376
jmp 0x435f89
mov eax, dword [ebp + 8]
and dword [esi + 0x48], 0
cmp dword [eax], 0
je 0x435e7d
mov dword [esi + 0x4c], 1
jmp 0x435f89
mov dword [esi + 0x4c], 2
mov dword [eax], ebx
jmp 0x435f89
mov ecx, edi
call fcn.004352d0
jmp 0x435f4d
push str.Maximum_file_size_exceeded
push edi
call fcn.00428799
pop ecx
pop ecx
push 0x3f
jmp 0x435f4f
push 0x1b
jmp 0x435f4f
cmp dword [edi + 0x2d4], edx
je 0x435ec2
mov dword [eax], 1
jmp 0x435ed9
cmp dword [esi + 0xc8], edx
je 0x435ed9
or dword [esi], 0xffffffff
or dword [esi + 4], 0xffffffff
or dword [esi + 0x10], 0xffffffff
or dword [esi + 0x14], 0xffffffff
cmp dword [esi], 0xffffffff
jne 0x435ee4
cmp dword [esi + 4], 0xffffffff
je 0x435f00
push dword [esi + 4]
mov ecx, edi
push dword [esi]
call fcn.0042f1d7
mov eax, dword [esi]
add esp, 8
mov dword [esi + 0x10], eax
xor edx, edx
mov eax, dword [esi + 4]
mov dword [esi + 0x14], eax
mov eax, dword [ebp + 0xc]
cmp dword [esi + 0x10], edx
jne 0x435f13
cmp dword [esi + 0x14], edx
jne 0x435f13
mov dword [eax], 1
cmp dword [eax], edx
je 0x435f1e
and dword [esi + 0xa8], 0xfffffffe
cmp dword [edi + 0x2e4], edx
je 0x435f89
push dword [ebp - 4]
xor edx, edx
mov ecx, edi
push ebx
push dword [esi + 0x60]
inc edx
call fcn.00428d44
add esp, 0xc
jmp 0x435f89
push dword [esi + 0x78]
push str.The_requested_URL_returned_error:__d
push edi
call fcn.00428799
add esp, 0xc
push 0x16
pop eax
jmp 0x435f8b
push dword [eax]
call fcn.00435222
pop ecx
test eax, eax
jne 0x435f8b
cmp dword [esi + 0x50], eax
jne 0x435f89
cmp dword [esi + 0x58], 5
jbe 0x435f89
push dword [edi + 0x554]
mov edx, dword [ebp - 4]
mov ecx, edi
call fcn.004351f2
pop ecx
test eax, eax
jne 0x435f89
mov dword [esi + 0x4c], 2
and dword [esi + 0x48], 0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret