Function at 0x608b30
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x54
push ebx
mov ebx, dword [esp + 0x5c]
push ebp
push esi
mov esi, dword [esp + 0x6c]
xor ebp, ebp
mov edx, dword [ebx + 0x22c]
push edi
mov edi, dword [ebx + 0x228]
mov eax, edi
or eax, edx
mov dword [esp + 0x24], ebp
mov byte [esp + 0x12], 0
mov dword [esp + 0x34], 0x64
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], edx
jne 0x608b7c
mov dword [esp + 0x20], 0xffffffff
mov dword [esp + 0x1c], getpeername
mov eax, dword [ebx + 0x8c0]
lea ecx, [esi + 0xba]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x2c], ecx
mov byte [eax], 0
mov eax, dword [esp + 0x7c]
mov byte [eax], 0
lea eax, [esi + 0x10]
mov edi, dword [esi + 4]
mov edx, dword [ebx + 0x4b0]
mov dword [esp + 0x18], eax
mov dword [esp + 0x38], ecx
mov ecx, dword [esi]
mov dword [esp + 0x28], eax
mov eax, ecx
and eax, edi
cmp eax, 0xffffffff
je 0x608bdf
mov eax, dword [esp + 0x2c]
cmp byte [eax], 0
jne 0x608bdf
mov eax, dword [esp + 0x28]
sub ecx, dword [eax]
sbb edi, dword [eax + 4]
test edi, edi
jg 0x608bdf
jl 0x608bdd
cmp ecx, edx
jae 0x608bdf
mov edx, ecx
mov edi, dword [esp + 0x30]
test edx, edx
je 0x608c16
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x70]
push edx
push edi
push dword [eax + 0x200]
push ebx
call fcn.006032c0
mov ebp, eax
add esp, 0x14
cmp ebp, 0x51
je 0x60910c
test ebp, ebp
jg 0x60924e
jmp 0x608c1e
mov dword [esp + 0x14], 0
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx]
or eax, dword [ecx + 4]
jne 0x608c53
push 7
lea eax, [esp + 0x48]
push ebx
push eax
call fcn.006119a0
add esp, 0xc
cmp dword [esi + 0x70], 0
jle 0x608c53
lea eax, [esp + 0x54]
push eax
call fcn.005f82c0
add esp, 4
movups xmm0, xmmword [eax]
movups xmmword [esi + 0x60], xmm0
mov eax, dword [esp + 0x74]
or dword [eax], 1
cmp dword [esp + 0x14], 0
jne 0x608c6e
cmp dword [esi + 0x88], 0
jne 0x608c6e
mov al, 1
jmp 0x608c70
xor al, al
cmp dword [esp + 0x14], 0
mov byte [esp + 0x11], al
jg 0x608c7f
test al, al
je 0x608c8b
mov eax, dword [esp + 0x14]
mov byte [eax + edi], 0
mov al, byte [esp + 0x11]
cmp dword [esp + 0x14], 0
jne 0x608ca1
mov dword [esi + 0x5c], 0
test al, al
je 0x609200
mov ecx, dword [esp + 0x6c]
mov dword [esi + 0x4c], edi
mov eax, dword [ecx + 0x1e8]
mov eax, dword [eax + 0x34]
test eax, eax
je 0x608cde
lea edx, [esp + 0x12]
push edx
lea edx, [esp + 0x18]
push edx
push ecx
push ebx
call eax
mov ebp, eax
add esp, 0x10
test ebp, ebp
jne 0x60924e
mov ecx, dword [esp + 0x6c]
cmp byte [esp + 0x12], al
jne 0x609204
mov edi, dword [esp + 0x38]
mov dword [esp + 0x2c], edi
cmp byte [edi], 0
je 0x608d6f
lea eax, [esp + 0x13]
mov byte [esp + 0x13], 0
push eax
lea eax, [esp + 0x18]
push eax
push ecx
push ebx
call fcn.0060ea40
mov ebp, eax
add esp, 0x10
test ebp, ebp
jne 0x60924e
mov ecx, dword [esp + 0x6c]
mov eax, dword [ecx + 0x1e8]
mov eax, dword [eax + 0x34]
test eax, eax
je 0x608d5b
cmp dword [esi + 0xc], ebp
jg 0x608d5b
jl 0x608d2f
cmp dword [esi + 8], ebp
ja 0x608d5b
cmp dword [esp + 0x14], 0
jle 0x608d5b
lea edx, [esp + 0x12]
push edx
lea edx, [esp + 0x18]
push edx
push ecx
push ebx
call eax
mov ebp, eax
add esp, 0x10
test ebp, ebp
jne 0x60924e
cmp byte [esp + 0x12], al
jne 0x609200
cmp byte [esp + 0x13], 0
jne 0x609113
cmp byte [edi], 0
jne 0x609060
cmp dword [esp + 0x14], 0
mov dl, byte [esp + 0x11]
jg 0x608d82
test dl, dl
je 0x609064
cmp byte [ebx + 0x14c], 0
jne 0x60917e
cmp dword [esi + 0x88], 0
jne 0x608dd0
test dl, dl
jne 0x608dd0
mov ecx, dword [esp + 0x6c]
mov eax, dword [ecx + 0x1e8]
test dword [eax + 0x44], 0x40003
je 0x608dd0
mov edi, dword [esp + 0x78]
push edi
push ecx
push ebx
call fcn.0060d970
mov ebp, eax
add esp, 0xc
test ebp, ebp
jne 0x60924e
cmp byte [edi], al
jne 0x60924e
inc dword [esi + 0x88]
cmp byte [ebx + 0x6d3], 0
je 0x608e22
cmp dword [esi + 0x44], 0
je 0x608e10
lea edi, [ebx + 0x8b0]
push edi
call fcn.005f8db0
add esp, 4
push eax
push edi
call fcn.005f8dc0
add esp, 4
push eax
push 3
push ebx
call fcn.00602f90
add esp, 0x10
cmp dword [esi + 0x44], 1
jne 0x608e22
push dword [esp + 0x14]
push dword [esi + 0x4c]
push 3
push ebx
call fcn.00602f90
add esp, 0x10
cmp byte [esi + 0xbf], 0
je 0x608e76
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x1c]
push dword [esi + 0x4c]
push ebx
call fcn.006366b0
add esp, 0x14
test eax, eax
jg 0x609139
cmp eax, 0xffffffff
jne 0x608e76
mov eax, dword [esp + 0x6c]
and dword [esi + 0x5c], 0xfffffffe
mov edx, dword [eax + 0x10]
mov ecx, dword [eax + 0x14]
mov eax, edx
or eax, ecx
je 0x608e76
push ecx
push edx
push str.Leftovers_after_chunking:___I64du_bytes
push ebx
call fcn.00603100
add esp, 0x10
cmp dword [esi + 0x44], 1
jne 0x608e9e
cmp byte [esi + 0xbd], 0
jne 0x608e9e
lea eax, [ebx + 0x8b0]
push eax
call fcn.005f8db0
mov edx, dword [esp + 0x1c]
add esp, 4
add dword [edx], eax
adc dword [edx + 4], 0
mov ecx, dword [esi + 8]
mov edi, dword [esi + 0xc]
cmp ecx, 0xffffffff
jne 0x608eb1
cmp edi, ecx
je 0x608f35
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
cdq
add eax, dword [ebx]
adc edx, dword [ebx + 4]
mov ebx, dword [esp + 0x68]
cmp edx, edi
jl 0x608f35
jg 0x608ecd
cmp eax, ecx
jb 0x608f35
mov edx, dword [esp + 0x18]
mov eax, dword [edx]
mov esi, eax
sub esi, ecx
add esi, dword [esp + 0x14]
mov dword [esp + 0x24], esi
mov esi, dword [esp + 0x70]
je 0x608f1a
cmp byte [esi + 0xbd], 0
jne 0x608f1a
push dword [edx + 4]
push eax
push edi
push ecx
push dword [esi + 4]
push dword [esi]
push dword [esp + 0x3c]
push str.Excess_found_in_a_read:_excess___zu__size___I64d__maxdownload___I64d__bytecount___I64d
push ebx
call fcn.00603100
mov eax, dword [esp + 0x90]
push 1
push eax
call fcn.00603f80
add esp, 0x2c
mov ecx, dword [esp + 0x18]
mov edx, 0
mov eax, dword [esi + 8]
sub eax, dword [ecx]
cmovs eax, edx
and dword [esi + 0x5c], 0xfffffffe
mov dword [esp + 0x14], eax
jmp 0x608f39
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
cdq
add dword [ecx], eax
adc dword [ecx + 4], edx
push dword [ecx + 4]
sub dword [esp + 0x24], eax
push dword [ecx]
sbb dword [esp + 0x24], edx
push ebx
call fcn.00611700
add esp, 0xc
cmp byte [esi + 0xbf], 0
jne 0x609060
cmp dword [esp + 0x14], 0
jne 0x608f7f
cmp dword [esi + 0x44], 0
jne 0x608f85
mov dl, byte [esp + 0x11]
test dl, dl
je 0x609064
cmp dword [esi + 0x44], 0
je 0x608fd7
cmp byte [esi + 0xbd], 0
jne 0x608fd7
lea ebp, [ebx + 0x8b0]
push ebp
call fcn.005f8db0
mov edi, dword [esi + 8]
add esp, 4
mov edx, dword [esi + 0xc]
mov ecx, edi
and ecx, edx
cmp ecx, 0xffffffff
je 0x608fb8
xor ecx, ecx
cmp ecx, edx
jl 0x608fb8
jg 0x608fba
cmp eax, edi
ja 0x608fba
mov edi, eax
push ebp
call fcn.005f8dc0
push edi
push eax
push 1
push ebx
call fcn.00603250
mov ebp, eax
add esp, 0x14
test ebp, ebp
jne 0x60924e
cmp dword [esi + 0x44], 2
jge 0x609051
cmp byte [ebx + 0x6db], 0
jne 0x60900b
mov eax, dword [esi + 0x78]
test eax, eax
je 0x60900b
cmp byte [esi + 0xbd], 0
jne 0x609051
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x609051
push ecx
push dword [esi + 0x4c]
push eax
push ebx
call fcn.006075b0
jmp 0x60904c
cmp byte [esi + 0xbd], 0
jne 0x609051
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x609051
mov eax, dword [esp + 0x6c]
mov edx, dword [esi + 0x4c]
mov eax, dword [eax + 0x1e8]
test dword [eax + 0x44], 0xc000
je 0x60903f
push ecx
push edx
push ebx
call fcn.00620db0
add esp, 0xc
jmp 0x60904f
push dword [esp + 0x14]
push edx
push 1
push ebx
call fcn.00603250
add esp, 0x10
mov ebp, eax
mov dword [esi + 0x44], 0
test ebp, ebp
jne 0x60924e
mov dl, byte [esp + 0x11]
mov ecx, dword [esp + 0x6c]
mov eax, dword [ecx + 0x1e8]
cmp dword [eax + 0x34], 0
je 0x609080
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x6091a5
test dl, dl
je 0x609088
and dword [esi + 0x5c], 0xfffffffe
mov eax, dword [esi + 0x5c]
test al, 0x10
jne 0x609204
test al, 1
je 0x609204
cmp dword [esp + 0x1c], 0
jl 0x609200
jg 0x6090b3
cmp dword [esp + 0x20], 0
jbe 0x609200
mov eax, dword [ebx + 0x18]
mov eax, dword [eax + 0x1e8]
mov eax, dword [eax + 0x44]
test al, 0xc
je 0x6090d5
push 1
push ebx
call fcn.00602900
movzx eax, al
add esp, 8
test eax, eax
jmp 0x6090e6
test al, 0x30
jne 0x6090ec
push 0
push ebx
call fcn.00602900
add esp, 8
test al, al
je 0x609200
mov ecx, dword [esp + 0x34]
mov eax, ecx
dec ecx
mov dword [esp + 0x34], ecx
test eax, eax
je 0x609200
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
jmp 0x608ba1
xor ebp, ebp
jmp 0x609200
mov ecx, dword [esp + 0x14]
test ecx, ecx
jle 0x609200
push dword [ebx + 0xcac]
push ecx
push str.Excess_found:_excess___zd_url___s__zero_length_body_
push ebx
call fcn.00603100
add esp, 0x10
jmp 0x609200
cmp eax, 6
jne 0x60915a
push str.Failed_reading_the_chunked_encoded_stream
push ebx
call fcn.00603030
mov ebp, dword [esp + 0x48]
add esp, 8
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret
push eax
call fcn.00636620
push eax
push str._s_in_chunked_encoding
push ebx
call fcn.00603030
add esp, 0x10
mov ebp, 0x38
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret
push 2
push dword [esp + 0x70]
call fcn.00603f80
mov eax, dword [esp + 0x80]
add esp, 8
mov ebp, 8
pop edi
pop esi
mov byte [eax], 1
mov eax, ebp
pop ebp
pop ebx
add esp, 0x54
ret
mov edx, dword [esi + 0x4c]
add edx, dword [esp + 0x14]
mov ebp, dword [esp + 0x30]
add eax, edx
mov dword [esi + 0x4c], edx
mov edi, dword [ebx + 0x4b0]
lea ecx, [edi + ebp]
cmp eax, ecx
jbe 0x6091ca
mov eax, edi
sub eax, edx
add eax, ebp
jmp 0x6091ce
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x6c]
lea edx, [esp + 0x12]
push edx
mov dword [esp + 0x18], eax
lea edx, [esp + 0x18]
push edx
mov eax, dword [ecx + 0x1e8]
push ecx
push ebx
mov eax, dword [eax + 0x34]
call eax
mov ebp, eax
add esp, 0x10
test ebp, ebp
jne 0x60924e
cmp byte [esp + 0x12], al
je 0x609200
or dword [esi + 0x5c], 1
mov ecx, dword [esp + 0x6c]
mov eax, dword [esp + 0x34]
test eax, eax
jle 0x60921c
cmp dword [esp + 0x1c], 0
jg 0x60922a
jl 0x60921c
cmp dword [esp + 0x20], 0
ja 0x60922a
mov eax, dword [esp + 0x7c]
mov byte [ebx + 0xd5f], 1
mov byte [eax], 1
mov eax, dword [esi + 0x5c]
and al, 3
cmp al, 2
jne 0x60924e
cmp byte [ecx + 0x1ce], 0
je 0x60924e
push str.we_are_done_reading_and_this_is_set_to_close__stop_send
push ebx
call fcn.00603100
add esp, 8
and dword [esi + 0x5c], 0xfffffffd
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0x54
ret