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

Disassembly:
push 0xffffffffffffffff
push 0x4a10d4
mov eax, dword fs:[0]
push eax
sub esp, 0x160
mov eax, dword [0x4c5cd8]
xor eax, esp
mov dword [esp + 0x15c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c5cd8]
xor eax, esp
push eax
lea eax, [esp + 0x174]
mov dword fs:[0], eax
mov edi, ecx
lea eax, [esp + 0x16]
push eax
lea ecx, [esp + 0x1a]
push ecx
mov ecx, edi
mov dword [esp + 0xac], edi
call fcn.00456530
mov eax, dword [esp + 0x184]
push 1
xor ebx, ebx
push ebx
mov edx, 0xc8
push eax
lea ecx, [esp + 0xc4]
mov dword [esp + 0x188], ebx
mov word [edi + 0x20], dx
call fcn.0042dcf0
mov dword [esp + 0x16c], 0xf
mov dword [esp + 0x168], ebx
mov byte [esp + 0x158], bl
mov ecx, dword [esp + 0xb8]
mov ecx, dword [ecx + 4]
push 0xa
lea ecx, [esp + ecx + 0xbc]
mov byte [esp + 0x180], 2
mov byte [esp + 0x1b], 1
call fcn.0043fdb0
movzx edx, al
push edx
lea eax, [esp + 0x158]
push eax
lea ecx, [esp + 0xc0]
push ecx
call fcn.0045d3a0
mov edx, dword [eax]
mov ecx, dword [edx + 4]
add ecx, eax
mov eax, dword [ecx + 8]
and al, 6
movsx edx, al
add esp, 0xc
neg edx
sbb edx, edx
not edx
test ecx, edx
je 0x462488
push 4
call fcn.0048067d
add esp, 4
cmp eax, ebx
je 0x461d8b
lea ecx, [esp + 0x50]
mov dword [eax], ecx
jmp 0x461d8d
xor eax, eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
mov byte [esp + 0x80], bl
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], ebx
mov byte [esp + 0x90], 1
mov esi, dword [esp + 0x168]
mov byte [esp + 0x17c], 4
mov eax, esi
cmp esi, 1
jb 0x461df4
mov eax, 1
mov ecx, dword [esp + 0x158]
mov ebp, 0x10
cmp dword [esp + 0x16c], ebp
jae 0x461e10
lea ecx, [esp + 0x158]
push eax
push 0x4ab964
push ecx
call fcn.0044b900
add esp, 0xc
cmp eax, ebx
jne 0x461e38
cmp esi, 1
jb 0x461e38
xor eax, eax
cmp esi, 1
setne al
cmp eax, ebx
je 0x462522
push ebx
cmp byte [esp + 0x1b], bl
je 0x4620ec
push str.HTTP_1.1__d___.__r_
lea ecx, [esp + 0xb8]
call fcn.004534b0
push ebx
push eax
lea edx, [esp + 0x58]
push edx
lea eax, [esp + 0x160]
push eax
mov byte [esp + 0x18c], 5
call fcn.00461be0
add esp, 0x10
test al, al
mov eax, dword [esp + 0xb4]
sete byte [esp + 0x17]
mov byte [esp + 0x17c], 4
cmp eax, ebx
je 0x461eb9
mov esi, eax
add eax, 4
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x461eb9
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x461eb9
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
cmp byte [esp + 0x17], bl
jne 0x462538
mov ecx, dword [esp + 0x60]
mov esi, dword [esp + 0x5c]
cmp byte [esp + 0x90], bl
je 0x461eef
mov edx, ecx
sub edx, esi
mov eax, 0x66666667
imul edx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x462597
sub ecx, esi
mov eax, 0x66666667
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 3
jle 0x461f17
ja 0x461f12
call fcn.00480621
mov esi, dword [esp + 0x5c]
lea ecx, [esi + 0x3c]
jmp 0x461f1b
lea ecx, [esp + 0x70]
lea edx, [esp + 0x34]
push edx
call fcn.00455d30
push 4
mov esi, 0xf
push str.code
lea ecx, [esp + 0x20]
mov byte [esp + 0x184], 7
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
call fcn.004021c0
lea eax, [esp + 0x18]
push eax
mov ecx, edi
mov byte [esp + 0x180], 8
call fcn.0045dce0
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x3c]
push ecx
mov ecx, eax
call fcn.00402250
cmp dword [esp + 0x30], ebp
jb 0x461f84
mov edx, dword [esp + 0x1c]
push edx
call fcn.00480047
add esp, 4
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
mov byte [esp + 0x17c], 4
cmp dword [esp + 0x4c], ebp
jb 0x461fab
mov eax, dword [esp + 0x38]
push eax
call fcn.00480047
add esp, 4
mov ecx, dword [esp + 0x60]
mov esi, dword [esp + 0x5c]
cmp byte [esp + 0x90], bl
je 0x461fd7
mov edx, ecx
sub edx, esi
mov eax, 0x66666667
imul edx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x462597
sub ecx, esi
mov eax, 0x66666667
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 4
jle 0x461fff
ja 0x461ffa
call fcn.00480621
mov esi, dword [esp + 0x5c]
lea ecx, [esi + 0x50]
jmp 0x462003
lea ecx, [esp + 0x70]
lea edx, [esp + 0x34]
push edx
call fcn.00455d30
push 6
mov esi, 0xf
push str.status
lea ecx, [esp + 0x20]
mov byte [esp + 0x184], 9
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
call fcn.004021c0
lea eax, [esp + 0x18]
push eax
mov ecx, edi
mov byte [esp + 0x180], 0xa
call fcn.0045dce0
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x3c]
push ecx
mov ecx, eax
call fcn.00402250
cmp dword [esp + 0x30], ebp
jb 0x46206c
mov edx, dword [esp + 0x1c]
push edx
call fcn.00480047
add esp, 4
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
mov byte [esp + 0x17c], 4
cmp dword [esp + 0x4c], ebp
jb 0x462093
mov eax, dword [esp + 0x38]
push eax
call fcn.00480047
add esp, 4
push 4
push str.code
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
call fcn.004021c0
lea ecx, [esp + 0x18]
push ecx
mov ecx, edi
mov byte [esp + 0x180], 0xb
call fcn.0045dce0
push eax
call fcn.0045d2d0
add esp, 4
mov word [edi + 0x20], ax
cmp dword [esp + 0x30], ebp
jb 0x4620e3
mov edx, dword [esp + 0x1c]
push edx
call fcn.00480047
add esp, 4
mov byte [esp + 0x17], bl
jmp 0x462424
push str.Content_Length:__d__r__
lea ecx, [esp + 0xa4]
call fcn.004534b0
push ebx
push eax
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x160]
push ecx
mov byte [esp + 0x18c], 0xc
call fcn.00461be0
mov byte [esp + 0x26], al
mov eax, dword [esp + 0xb0]
add esp, 0x10
mov byte [esp + 0x17c], 4
cmp eax, ebx
je 0x46215f
mov esi, eax
add eax, 4
or edx, 0xffffffff
lock xadd dword [eax], edx
jne 0x46215f
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
lea eax, [esi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x46215f
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
cmp byte [esp + 0x16], bl
je 0x46224a
mov ecx, dword [esp + 0x60]
mov esi, dword [esp + 0x5c]
cmp byte [esp + 0x90], bl
je 0x462195
mov edx, ecx
sub edx, esi
mov eax, 0x66666667
imul edx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x462597
sub ecx, esi
mov eax, 0x66666667
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 3
jle 0x4621bd
ja 0x4621b8
call fcn.00480621
mov esi, dword [esp + 0x5c]
lea ecx, [esi + 0x3c]
jmp 0x4621c1
lea ecx, [esp + 0x70]
lea edx, [esp + 0x34]
push edx
call fcn.00455d30
push 0xe
mov esi, 0xf
push str.content_length
lea ecx, [esp + 0x20]
mov byte [esp + 0x184], 0xd
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
call fcn.004021c0
lea eax, [esp + 0x18]
push eax
mov ecx, edi
mov byte [esp + 0x180], 0xe
call fcn.0045dce0
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x3c]
push ecx
mov ecx, eax
call fcn.00402250
cmp dword [esp + 0x30], ebp
jb 0x46222a
mov edx, dword [esp + 0x1c]
push edx
call fcn.00480047
add esp, 4
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
cmp dword [esp + 0x4c], ebp
jb 0x462424
mov eax, dword [esp + 0x38]
push eax
jmp 0x46241c
push ebx
push str.Location:_s_.___r_
lea ecx, [esp + 0xb0]
call fcn.004534b0
push ebx
push eax
lea ecx, [esp + 0x58]
push ecx
lea edx, [esp + 0x160]
push edx
mov byte [esp + 0x18c], 0xf
call fcn.00461be0
mov byte [esp + 0x26], al
mov eax, dword [esp + 0xbc]
add esp, 0x10
mov byte [esp + 0x17c], 4
cmp eax, ebx
je 0x4622be
mov esi, eax
add eax, 4
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4622be
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4622be
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
cmp byte [esp + 0x16], bl
je 0x462311
lea eax, [esp + 0x34]
push eax
push 1
lea ecx, [esp + 0x58]
call fcn.0045c280
mov ecx, eax
call fcn.00455d30
push 8
mov esi, 0xf
push str.location
lea ecx, [esp + 0x20]
mov byte [esp + 0x184], 0x10
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
call fcn.004021c0
mov byte [esp + 0x17c], 0x11
jmp 0x4623d7
push ebx
push str.Transfer_Encoding:_s_.___r_
lea ecx, [esp + 0x9c]
call fcn.004534b0
push ebx
push eax
lea edx, [esp + 0x58]
push edx
lea eax, [esp + 0x160]
push eax
mov byte [esp + 0x18c], 0x12
call fcn.00461be0
mov byte [esp + 0x26], al
mov eax, dword [esp + 0xa8]
add esp, 0x10
mov byte [esp + 0x17c], 4
cmp eax, ebx
je 0x462385
mov esi, eax
add eax, 4
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x462385
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x462385
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
cmp byte [esp + 0x16], bl
je 0x462424
lea eax, [esp + 0x34]
push eax
push 1
lea ecx, [esp + 0x58]
call fcn.0045c280
mov ecx, eax
call fcn.00455d30
push 0x11
mov esi, 0xf
push str.transfer_encoding
lea ecx, [esp + 0x20]
mov byte [esp + 0x184], 0x13
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
call fcn.004021c0
mov byte [esp + 0x17c], 0x14
lea ecx, [esp + 0x18]
push ecx
mov ecx, edi
call fcn.0045dce0
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x3c]
push edx
mov ecx, eax
call fcn.00402250
cmp dword [esp + 0x30], ebp
jb 0x462405
mov eax, dword [esp + 0x1c]
push eax
call fcn.00480047
add esp, 4
mov byte [esp + 0x1c], bl
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], esi
cmp dword [esp + 0x4c], ebp
jb 0x462424
mov ecx, dword [esp + 0x38]
push ecx
call fcn.00480047
add esp, 4
lea ecx, [esp + 0x50]
mov byte [esp + 0x17c], 2
call fcn.00457560
mov edx, dword [esp + 0xb8]
mov ecx, dword [edx + 4]
push 0xa
lea ecx, [esp + ecx + 0xbc]
call fcn.0043fdb0
movzx eax, al
push eax
lea ecx, [esp + 0x158]
push ecx
lea edx, [esp + 0xc0]
push edx
call fcn.0045d3a0
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
mov edx, dword [ecx + eax + 8]
add ecx, eax
and dl, 6
movsx eax, dl
add esp, 0xc
neg eax
sbb eax, eax
not eax
test ecx, eax
jne 0x461d75
mov ebp, 0x10
cmp dword [esp + 0x16c], ebp
jb 0x4624a6
mov ecx, dword [esp + 0x158]
push ecx
call fcn.00480047
add esp, 4
mov edx, dword [esp + 0xb8]
mov dword [esp + 0x16c], 0xf
mov dword [esp + 0x168], ebx
mov byte [esp + 0x158], bl
mov eax, dword [edx + 4]
lea ecx, [esp + 0xc0]
mov dword [esp + eax + 0xb8], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
push ecx
mov byte [esp + 0x180], bl
mov dword [esp + 0xc4], vtable.std::ios_base.0
call fcn.00465b67
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x174]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x15c]
xor ecx, esp
call fcn.00480438
add esp, 0x16c
ret 4
lea ecx, [esp + 0x50]
mov byte [esp + 0x17c], 2
call fcn.00457560
jmp 0x46248d
xor ecx, ecx
push 0x12
mov word [esp + 0x20], cx
push str.Incorrect_response
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], ebx
call fcn.00401fe0
push 1
push str.mailru::http::response_headers::response_headers
push str.e:containersold_build_s4f1_src_sputniklibhttp_downloader.h
push 0xa3
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x108]
mov byte [esp + 0x190], 6
call fcn.00449fb0
push 0x4b83f0
lea eax, [esp + 0xf8]
push eax
call fcn.00480631
call fcn.0045a920
int3