Function at 0x553a10
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x65e374]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, edx
mov edx, dword [ebp + 0x14]
push edi
mov edi, ecx
mov dword [ebp - 0xdc], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0xd8], edi
mov dword [ebp - 0xd0], ecx
mov dword [ebp - 0xe0], edx
mov byte [ecx], 0
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc8], 0
mov byte [ebp - 0xa9], 0
mov dword [ebp - 0xd4], 0x64
mov byte [edx], 0
nop dword [eax]
mov eax, dword [esi + 4]
mov ecx, dword [esi]
mov edx, dword [edi + 0x4b8]
mov dword [ebp - 0xb8], eax
mov eax, ecx
and eax, dword [esi + 4]
cmp eax, 0xffffffff
je 0x553ab9
cmp byte [esi + 0x58], 0
jne 0x553ab9
sub ecx, dword [esi + 0x20]
mov eax, dword [ebp - 0xb8]
sbb eax, dword [esi + 0x24]
test eax, eax
jg 0x553ab9
jl 0x553ab7
cmp ecx, edx
jae 0x553ab9
mov edx, ecx
test edx, edx
je 0x553afa
lea eax, [ebp - 0xb0]
mov ecx, ebx
push eax
push edx
push dword [esi + 0xbc]
mov edx, dword [ebx + 0x2b4]
call fcn.00544000
add esp, 0xc
mov dword [ebp - 0xc4], eax
cmp eax, 0x51
je 0x5545d2
test eax, eax
jg 0x55461b
mov ecx, dword [ebp - 0xb0]
jmp 0x553b02
xor ecx, ecx
mov dword [ebp - 0xb0], ecx
mov eax, dword [esi + 0x20]
or eax, dword [esi + 0x24]
jne 0x553c7a
mov eax, dword [esi + 0x28]
or eax, dword [esi + 0x2c]
jne 0x553c7a
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
mov dword [ebp - 0xcc], 0
mov eax, 0x10624dd3
mul edi
mov eax, edx
shr eax, 6
imul ecx, eax, 0x3e8
mov dword [ebp - 0xb8], eax
sub edi, ecx
imul eax, edi, 0x3e8
mov edi, dword [ebp - 0xd8]
cmp byte [edi + 0x760], 0
lea edx, [edi + 0x710]
mov dword [ebp - 0xbc], eax
jne 0x553c21
mov byte [edi + 0x760], 1
test edx, edx
je 0x553c21
movups xmm0, xmmword [edi + 0x730]
mov ecx, dword [ebp - 0xb8]
movd eax, xmm0
movups xmmword [ebp - 0x100], xmm0
sub ecx, eax
psrldq xmm0, 4
movd eax, xmm0
sbb dword [ebp - 0xcc], eax
cmp dword [ebp - 0xcc], 0x863
jl 0x553bc3
jg 0x553bb9
cmp ecx, 0x7bd05af6
jb 0x553bc3
or ecx, 0xffffffff
mov eax, bind
jmp 0x553c1c
mov eax, dword [ebp - 0xbc]
sub eax, dword [ebp - 0xf8]
push 0
push 0xf4240
push dword [ebp - 0xcc]
cdq
push ecx
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0xb8], edx
call fcn.005b8cf0
mov ecx, dword [ebp - 0xbc]
add ecx, eax
mov eax, ecx
adc dword [ebp - 0xb8], edx
lea edx, [edi + 0x710]
or eax, dword [ebp - 0xb8]
jne 0x553c16
mov ecx, 1
xor eax, eax
jmp 0x553c1c
mov eax, dword [ebp - 0xb8]
add dword [edx], ecx
adc dword [edx + 4], eax
cmp dword [esi + 0xa0], 0
jle 0x553c74
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
mov dword [ebp - 0xec], 0
mov eax, 0x10624dd3
mul edi
shr edx, 6
imul ecx, edx, 0x3e8
mov dword [ebp - 0xf0], edx
sub edi, ecx
imul eax, edi, 0x3e8
mov edi, dword [ebp - 0xd8]
mov dword [ebp - 0xe8], eax
movups xmm0, xmmword [ebp - 0xf0]
movups xmmword [esi + 0x90], xmm0
mov ecx, dword [ebp - 0xb0]
mov eax, dword [ebp - 0xdc]
or dword [eax], 1
test ecx, ecx
jne 0x553c98
cmp dword [esi + 0xb8], ecx
jne 0x553c98
mov byte [ebp - 0xb1], 1
jmp 0x553ca8
xor al, al
mov byte [ebp - 0xb1], al
test ecx, ecx
jle 0x5545cb
mov eax, dword [esi + 0xbc]
mov byte [ecx + eax], 0
mov eax, dword [esi + 0xbc]
mov dword [esi + 0x6c], eax
mov eax, dword [ebx + 0x2a8]
mov eax, dword [eax + 0x34]
test eax, eax
je 0x553cf7
lea ecx, [ebp - 0xa9]
push ecx
lea ecx, [ebp - 0xb0]
push ecx
push ebx
push edi
call eax
add esp, 0x10
mov dword [ebp - 0xc4], eax
test eax, eax
jne 0x55461b
cmp byte [ebp - 0xa9], al
jne 0x5545d2
cmp byte [esi + 0x58], 0
je 0x553d92
lea eax, [ebp - 0xbd]
mov byte [ebp - 0xbd], 0
push eax
lea eax, [ebp - 0xb0]
mov edx, ebx
push eax
mov ecx, edi
call fcn.0055c070
mov ecx, eax
add esp, 8
mov dword [ebp - 0xc4], ecx
test ecx, ecx
jne 0x5543f4
mov eax, dword [ebx + 0x2a8]
mov eax, dword [eax + 0x34]
test eax, eax
je 0x553d85
cmp dword [esi + 0x14], ecx
jg 0x553d85
jl 0x553d4b
cmp dword [esi + 0x10], ecx
ja 0x553d85
cmp dword [ebp - 0xb0], 0
jle 0x553d85
lea ecx, [ebp - 0xa9]
push ecx
lea ecx, [ebp - 0xb0]
push ecx
push ebx
push edi
call eax
mov ecx, eax
mov dword [ebp - 0xc4], eax
add esp, 0x10
test ecx, ecx
jne 0x5543f4
cmp byte [ebp - 0xa9], al
jne 0x5545d2
cmp byte [ebp - 0xbd], 0
jne 0x55438b
cmp dword [esi + 0x6c], 0
mov cl, byte [ebp - 0xb1]
je 0x554331
cmp byte [esi + 0x58], 0
jne 0x554331
cmp dword [ebp - 0xb0], 0
jg 0x553dbd
test cl, cl
je 0x554331
cmp byte [edi + 0x4f1], 0
jne 0x554547
cmp dword [esi + 0xb8], 0
jne 0x553e7a
test cl, cl
jne 0x553e7a
mov eax, dword [ebx + 0x2a8]
test dword [eax + 0x40], 0x40003
je 0x553e7a
cmp dword [edi + 0x140], 0
je 0x553e1c
cmp byte [ebx + 0x265], cl
jne 0x55442e
push str.Ignoring_the_response_body_n
push edi
mov byte [esi + 0xc9], 1
call fcn.00543710
add esp, 8
mov edx, dword [edi + 0x4b20]
mov eax, edx
mov ecx, dword [edi + 0x4b24]
or eax, ecx
je 0x553e4a
cmp byte [esi + 0x7c], 0
jne 0x553e4a
cmp dword [edi + 0x3f8], 1
jne 0x553e4a
cmp byte [esi + 0xc9], 0
je 0x554407
cmp dword [edi + 0x3e8], 0
je 0x553e7a
cmp dword [edi + 0x4b1c], 0
jne 0x553e7a
push dword [esi + 0xb4]
mov ecx, edi
push dword [esi + 0xb0]
call fcn.00553990
add esp, 8
test al, al
je 0x554475
inc dword [esi + 0xb8]
cmp byte [edi + 0x4f8], 0
je 0x554031
cmp dword [esi + 0x5c], 0
je 0x553f9e
cmp byte [edi + 0x4e1], 0
mov ecx, dword [esi + 0x68]
mov edx, dword [edi + 0x84c]
mov dword [ebp - 0xbc], ecx
mov dword [ebp - 0xb8], edx
je 0x553f1d
mov eax, dword [ebx + 0xa4]
test eax, eax
je 0x553f1d
push eax
push str.from
push str.Data
push str.__s__s__s_
lea eax, [ebp - 0xa8]
push 0xa0
push eax
call sym.PayClient.exe_curl_msnprintf
lea ecx, [ebp - 0xa8]
add esp, 0x18
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x553ef0
sub ecx, edx
lea eax, [ebp - 0xa8]
push ecx
push eax
xor edx, edx
mov ecx, edi
call fcn.00544140
add esp, 8
test eax, eax
jne 0x553f2e
mov ecx, dword [ebp - 0xbc]
mov edx, dword [ebp - 0xb8]
push ecx
push edx
mov edx, 3
mov ecx, edi
call fcn.00544140
add esp, 8
cmp dword [esi + 0x5c], 1
jne 0x554031
cmp byte [edi + 0x4e1], 0
mov ecx, dword [ebp - 0xb0]
mov edx, dword [esi + 0x6c]
mov dword [ebp - 0xbc], ecx
mov dword [ebp - 0xb8], edx
je 0x554020
mov eax, dword [ebx + 0xa4]
test eax, eax
je 0x554020
push eax
push str.from
push str.Data
push str.__s__s__s_
lea eax, [ebp - 0xa8]
push 0xa0
push eax
call sym.PayClient.exe_curl_msnprintf
lea ecx, [ebp - 0xa8]
add esp, 0x18
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x553f95
jmp 0x553ffa
cmp byte [edi + 0x4e1], 0
mov ecx, dword [ebp - 0xb0]
mov edx, dword [esi + 0x6c]
mov dword [ebp - 0xbc], ecx
mov dword [ebp - 0xb8], edx
je 0x554020
mov eax, dword [ebx + 0xa4]
test eax, eax
je 0x554020
push eax
push str.from
push str.Data
push str.__s__s__s_
lea eax, [ebp - 0xa8]
push 0xa0
push eax
call sym.PayClient.exe_curl_msnprintf
lea ecx, [ebp - 0xa8]
add esp, 0x18
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x553ff3
sub ecx, edx
lea eax, [ebp - 0xa8]
push ecx
push eax
xor edx, edx
mov ecx, edi
call fcn.00544140
add esp, 8
test eax, eax
jne 0x554031
mov ecx, dword [ebp - 0xbc]
mov edx, dword [ebp - 0xb8]
push ecx
push edx
mov edx, 3
mov ecx, edi
call fcn.00544140
add esp, 8
cmp byte [esi + 0xdc], 0
je 0x5540bf
mov edx, dword [esi + 0x6c]
lea eax, [ebp - 0xb0]
push eax
push dword [ebp - 0xb0]
mov ecx, ebx
call fcn.005737a0
add esp, 8
test eax, eax
jg 0x5544bd
cmp eax, 0xffffffff
jne 0x5540bf
and dword [esi + 0xc4], 0xfffffffe
mov eax, dword [ebx + 0x38]
mov dword [ebp - 0xb8], eax
test eax, eax
je 0x5540bf
push eax
push str.Leftovers_after_chunking:__zu_bytes_n
push dword [ebx]
call fcn.00543710
mov ecx, dword [ebx]
add esp, 0xc
mov eax, dword [ecx + 0x64]
test eax, eax
je 0x5540bf
test byte [eax + 0x78], 1
je 0x5540bf
push dword [ebp - 0xb8]
push str.Rewinding__zu_bytes_n
push ecx
call fcn.00543710
mov eax, dword [ebp - 0xb8]
add esp, 0xc
sub dword [ebx + 0x30c], eax
mov byte [ebx + 0x27d], 1
cmp dword [esi + 0x5c], 0
je 0x5540d8
cmp byte [esi + 0xc9], 0
jne 0x5540d8
mov eax, dword [esi + 0x68]
add dword [esi + 0x20], eax
adc dword [esi + 0x24], 0
mov ecx, dword [esi + 0x10]
cmp ecx, 0xffffffff
jne 0x5540e9
cmp dword [esi + 0x14], ecx
je 0x5541ca
mov eax, dword [ebp - 0xb0]
cdq
add eax, dword [esi + 0x20]
adc edx, dword [esi + 0x24]
cmp edx, dword [esi + 0x14]
jl 0x5541ca
jg 0x554109
cmp eax, ecx
jb 0x5541ca
mov eax, dword [esi + 0x20]
sub eax, ecx
add eax, dword [ebp - 0xb0]
mov dword [ebp - 0xc8], eax
je 0x5541af
cmp byte [esi + 0xc9], 0
jne 0x5541af
mov eax, dword [ebx]
mov eax, dword [eax + 0x64]
test eax, eax
je 0x554143
test byte [eax + 0x78], 1
je 0x554143
mov eax, 1
jmp 0x554145
xor eax, eax
mov edx, dword [esi + 4]
test eax, eax
mov eax, dword [esi]
je 0x55418f
push dword [ebp - 0xb0]
push dword [esi + 0x24]
push dword [esi + 0x20]
push dword [esi + 0x14]
push ecx
push edx
push eax
push dword [edi + 0x4b14]
push dword [ebp - 0xc8]
push str.Rewinding_stream_by_:__zu_bytes_on_url__s__size___I64d__maxdownload___I64d__bytecount___I64d__nread___zd__n
push edi
call fcn.00543710
mov eax, dword [ebp - 0xc8]
add esp, 0x2c
sub dword [ebx + 0x30c], eax
mov byte [ebx + 0x27d], 1
jmp 0x5541af
push dword [esi + 0x24]
push dword [esi + 0x20]
push dword [esi + 0x14]
push ecx
push edx
push eax
push dword [ebp - 0xc8]
push str.Excess_found_in_a_non_pipelined_read:_excess___zu__size___I64d__maxdownload___I64d__bytecount___I64d_n
push edi
call fcn.00543710
add esp, 0x24
mov eax, dword [esi + 0x10]
mov ecx, 0
sub eax, dword [esi + 0x20]
cmovs eax, ecx
and dword [esi + 0xc4], 0xfffffffe
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xb0]
mov ecx, edi
cdq
add dword [esi + 0x20], eax
adc dword [esi + 0x24], edx
push dword [esi + 0x24]
push dword [esi + 0x20]
call fcn.00557a60
add esp, 8
cmp byte [esi + 0xdc], 0
jne 0x55432b
cmp dword [ebp - 0xb0], 0
jne 0x554211
cmp dword [esi + 0x5c], 0
jne 0x55421b
mov cl, byte [ebp - 0xb1]
test cl, cl
je 0x554331
cmp dword [esi + 0x5c], 0
je 0x55429c
cmp byte [esi + 0xc9], 0
jne 0x55429c
mov ecx, dword [esi + 0x10]
mov eax, ecx
mov edx, dword [esi + 0x14]
and eax, edx
cmp eax, 0xffffffff
je 0x554255
xor eax, eax
cmp eax, edx
jl 0x554255
jg 0x554240
cmp dword [esi + 0x68], ecx
jbe 0x554255
push ecx
push dword [edi + 0x84c]
mov edx, 1
mov ecx, ebx
call fcn.00543fd0
jmp 0x55428b
mov ecx, dword [esi + 0x68]
mov edx, dword [edi + 0x84c]
test ecx, ecx
jne 0x55427d
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0xbc], eax
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x554270
sub ecx, dword [ebp - 0xbc]
push ecx
push edx
mov edx, 1
mov ecx, ebx
call fcn.00543e40
add esp, 8
mov dword [ebp - 0xc4], eax
test eax, eax
jne 0x55461b
cmp dword [esi + 0x5c], 2
jge 0x554316
cmp byte [esi + 0xc9], 0
jne 0x554316
mov eax, dword [ebx + 0x2a8]
mov edx, dword [esi + 0x6c]
test dword [eax + 0x40], 0xc000
je 0x5542d5
push dword [ebp - 0xb0]
mov ecx, ebx
call fcn.00567ae0
add esp, 4
mov dword [ebp - 0xc4], eax
jmp 0x55431c
mov ecx, dword [ebp - 0xb0]
test ecx, ecx
jne 0x5542fd
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0xbc], eax
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5542f0
sub ecx, dword [ebp - 0xbc]
push ecx
push edx
mov edx, 1
mov ecx, ebx
call fcn.00543e40
add esp, 8
mov dword [ebp - 0xc4], eax
jmp 0x55431c
mov eax, dword [ebp - 0xc4]
mov dword [esi + 0x5c], 0
test eax, eax
jne 0x55461b
mov cl, byte [ebp - 0xb1]
mov eax, dword [ebx + 0x2a8]
cmp dword [eax + 0x34], 0
je 0x554354
mov edx, dword [ebp - 0xc8]
test edx, edx
je 0x554354
cmp byte [ebx + 0x27d], 0
je 0x554589
test cl, cl
je 0x554365
and dword [esi + 0xc4], 0xfffffffe
mov eax, dword [ebx + 0x2a8]
test byte [eax + 0x40], 0x30
je 0x5545d2
mov ecx, dword [ebp - 0xd4]
mov eax, ecx
dec ecx
mov dword [ebp - 0xd4], ecx
test eax, eax
jne 0x553a80
jmp 0x5545d2
mov ecx, dword [ebp - 0xb0]
test ecx, ecx
jle 0x5545d2
mov eax, dword [ebx]
mov eax, dword [eax + 0x64]
test eax, eax
je 0x5543d5
test byte [eax + 0x78], 1
je 0x5543d5
push dword [edi + 0x4b14]
push ecx
push str.Rewinding_stream_by_:__zd_bytes_on_url__s__zero_length_body__n
push edi
call fcn.00543710
mov eax, dword [ebp - 0xb0]
add esp, 0x10
sub dword [ebx + 0x30c], eax
mov byte [ebx + 0x27d], 1
jmp 0x5545d2
push dword [edi + 0x4b14]
push dword [ebp - 0xb0]
push str.Excess_found_in_a_non_pipelined_read:_excess___zd_url___s__zero_length_body__n
push edi
call fcn.00543710
add esp, 0x10
jmp 0x5545d2
mov eax, ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005b8427
mov esp, ebp
pop ebp
ret
cmp dword [esi], edx
jne 0x554451
cmp dword [esi + 4], ecx
jne 0x554451
push str.The_entire_document_is_already_downloaded
push edi
call fcn.00543710
add esp, 8
cmp byte [ebx + 0x265], 1
je 0x55442e
mov byte [ebx + 0x265], 1
mov eax, dword [ebp - 0xd0]
and dword [esi + 0xc4], 0xfffffffe
mov byte [eax], 1
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005b8427
mov esp, ebp
pop ebp
ret
push str.HTTP_server_doesnt_seem_to_support_byte_ranges._Cannot_resume.
push edi
call fcn.00543790
add esp, 8
mov eax, 0x21
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005b8427
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0xd0]
push str.Simulate_a_HTTP_304_response__n
push edi
mov byte [eax], 1
mov dword [edi + 0x4b88], 0x130
call fcn.00543710
add esp, 8
cmp byte [ebx + 0x265], 1
je 0x554619
mov byte [ebx + 0x265], 1
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005b8427
mov esp, ebp
pop ebp
ret
cmp eax, 4
jne 0x5544e6
push str.Failed_writing_data
push edi
call fcn.00543790
add esp, 8
mov eax, 0x17
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005b8427
mov esp, ebp
pop ebp
ret
dec eax
cmp eax, 5
ja case.default.0x5544ec
jmp dword [eax*4 + 0x55462c]
mov eax, str.Too_long_hexadecimal_number
jmp 0x554522
mov eax, str.Illegal_or_missing_hexadecimal_sequence
jmp 0x554522
mov eax, str.Malformed_encoding_found
jmp 0x554522
mov eax, str.Write_error
jmp 0x554522
mov eax, str.Bad_content_encoding_found
jmp 0x554522
mov eax, str.Out_of_memory
jmp 0x554522
mov eax, 0x63e1ec
push eax
push str._s_in_chunked_encoding
push edi
call fcn.00543790
add esp, 0xc
mov eax, 0x38
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005b8427
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx + 0x2a8]
mov eax, dword [eax + 0x44]
and eax, 0x200
sete cl
test eax, eax
jne 0x55456a
cmp cl, byte [ebx + 0x265]
je 0x55456a
mov byte [ebx + 0x265], cl
mov eax, dword [ebp - 0xd0]
mov byte [eax], 1
mov eax, 8
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005b8427
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0xb0]
lea ecx, [ebp - 0xa9]
add dword [esi + 0x6c], eax
mov eax, dword [ebx + 0x2a8]
push ecx
lea ecx, [ebp - 0xb0]
mov dword [ebp - 0xb0], edx
push ecx
mov eax, dword [eax + 0x34]
push ebx
push edi
call eax
add esp, 0x10
test eax, eax
jne 0x55461b
cmp byte [ebp - 0xa9], al
je 0x5545d2
or dword [esi + 0xc4], 1
jmp 0x5545d2
and dword [esi + 0xc4], 0xfffffffe
mov eax, dword [ebp - 0xd4]
test eax, eax
jg 0x5545ef
mov eax, dword [ebp - 0xe0]
mov dword [ebx + 0x510], 1
mov byte [eax], 1
mov eax, dword [esi + 0xc4]
and al, 3
cmp al, 2
jne 0x554619
cmp byte [ebx + 0x265], 0
je 0x554619
push str.we_are_done_reading_and_this_is_set_to_close__stop_send_n
push edi
call fcn.00543710
add esp, 8
and dword [esi + 0xc4], 0xfffffffd
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005b8427
mov esp, ebp
pop ebp
ret