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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5e5ee8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4b8
push ebx
push esi
mov ebx, ecx
push edi
lea edi, [ebx + 0xc0]
xor esi, esi
push edi
lea ecx, [esp + 0x48]
mov dword [esp + 0x10], esi
call fcn.0040366f
mov dword [esp + 0x4cc], esi
cmp dword [ebx + 0x60], 1
jne 0x4bf333
mov esi, str.announce
push esi
call fcn.005749e0
pop ecx
push eax
push 0
push esi
lea ecx, [esp + 0x50]
call fcn.0040434d
mov dword [esp + 0x10], eax
cmp eax, 0xffffffff
jne 0x4bf314
sub esp, 0x30
mov esi, esp
mov dword [esp + 0x68], esp
xor ecx, ecx
push ecx
mov eax, 0x4bf0da
push eax
push edi
lea eax, [esp + 0x9c]
push str.scrape_is_not_available_on_url:_
push eax
call fcn.0044a30d
mov byte [esp + 0x510], 1
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x64], esp
push 0x63000c
push eax
push ecx
call fcn.00418c11
add esp, 0xc
mov byte [esp + 0x520], 2
push 0xffffffffffffffff
push ecx
mov eax, esp
mov dword [esp + 0x74], esp
push eax
mov ecx, ebx
call fcn.004a2d36
mov byte [esp + 0x528], 3
push esi
mov byte [esp + 0x52c], 1
call fcn.004c3eee
add esp, 0x30
mov byte [esp + 0x4fc], 4
push dword [ebx + 0x174]
mov byte [esp + 0x500], 1
call fcn.004c0b4d
mov byte [esp + 0x4cc], 0
push 0
push 1
lea ecx, [esp + 0x68]
call fcn.004034fc
jmp 0x4bf8f8
mov esi, str.scrape
push esi
call fcn.005749e0
pop ecx
push eax
mov eax, dword [esp + 0x14]
push esi
push 8
lea ecx, [esp + 0x50]
call fcn.004b5146
xor esi, esi
mov eax, dword [ebx + 0x14c]
add eax, 0x7d4
push 1
mov dword [esp + 0x14], eax
push esi
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x50]
mov byte [esp + 0x20], 0x3f
call fcn.0040434d
lea ecx, [esp + 0x44]
cmp eax, 0xffffffff
je 0x4bf368
push 0x630000
jmp 0x4bf36d
push 0x6355ac
call fcn.00407618
push str.info_hash
lea ecx, [esp + 0x48]
call fcn.00407618
lea eax, [esp + 0x60]
lea ecx, [ebx + 0x64]
push eax
call fcn.0043a1b6
pop ecx
mov byte [esp + 0x4cc], 5
push 0xffffffffffffffff
push esi
push eax
lea ecx, [esp + 0x50]
call fcn.0040774f
mov byte [esp + 0x4cc], 0
push esi
push 1
lea ecx, [esp + 0x68]
call fcn.004034fc
cmp dword [ebx + 0x60], esi
jne 0x4bf63f
mov al, byte [ebx + 0x138]
test al, al
je 0x4bf3e0
mov ecx, dword [ebx + 0xb0]
mov dword [esp + 0x30], ecx
mov ecx, dword [ebx + 0xb4]
mov dword [esp + 0x34], ecx
jmp 0x4bf3e8
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
test al, al
je 0x4bf402
mov ecx, dword [ebx + 0xa8]
mov dword [esp + 0x18], ecx
mov ecx, dword [ebx + 0xac]
mov dword [esp + 0x1c], ecx
jmp 0x4bf40a
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
test al, al
je 0x4bf424
mov ecx, dword [ebx + 0xa0]
mov dword [esp + 0x38], ecx
mov ecx, dword [ebx + 0xa4]
mov dword [esp + 0x3c], ecx
jmp 0x4bf42c
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
test al, al
je 0x4bf446
mov ecx, dword [ebx + 0x90]
mov dword [esp + 0x20], ecx
mov ecx, dword [ebx + 0x94]
mov dword [esp + 0x24], ecx
jmp 0x4bf44e
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
test al, al
je 0x4bf460
mov esi, dword [ebx + 0x98]
mov edi, dword [ebx + 0x9c]
jmp 0x4bf462
xor edi, edi
lea eax, [esp + 0x60]
lea ecx, [ebx + 0x78]
push eax
call fcn.0043a1b6
pop ecx
mov byte [esp + 0x4cc], 6
cmp dword [eax + 0x18], 0x10
jb 0x4bf483
mov eax, dword [eax + 4]
jmp 0x4bf486
add eax, 4
push dword [ebx + 0xdc]
movzx ecx, word [ebx + 0xb8]
push dword [ebx + 0xe0]
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push dword [esp + 0x2c]
push dword [esp + 0x2c]
push dword [esp + 0x54]
push dword [esp + 0x54]
push dword [esp + 0x44]
push dword [esp + 0x44]
push edi
push esi
push ecx
push eax
push str.peer_id_sport_duploaded_I64ddownloaded_I64dleft_I64dcorrupt_I64dredundant_I64dcompact1numwant_dkey_xno_peer_id1
mov esi, 0x400
lea edi, [esp + 0xfc]
call fcn.0043aa27
add esp, 0x3c
mov byte [esp + 0x4cc], 0
xor edi, edi
push edi
push 1
lea ecx, [esp + 0x68]
call fcn.004034fc
lea eax, [esp + 0xc0]
push eax
lea ecx, [esp + 0x48]
call fcn.00407618
lea esi, [ebx + 0xbc]
cmp dword [esi], edi
je 0x4bf53c
push str.event
lea ecx, [esp + 0x48]
mov dword [esp + 0x24], str.completed
mov dword [esp + 0x28], str.started
mov dword [esp + 0x2c], str.stopped
call fcn.00407618
mov eax, dword [esi]
push dword [esp + eax*4 + 0x1c]
lea ecx, [esp + 0x48]
call fcn.00407618
lea ecx, [esp + 0x68]
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], edi
call fcn.00415985
mov esi, dword [esp + 0x10]
sub esi, 0xffffff80
lea eax, [esp + 0x60]
mov ecx, esi
call fcn.00452d3c
test al, al
je 0x4bf5ec
mov dword [esp + 0x20], edi
call fcn.005a5950
mov dword [esp + 0x24], eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x64]
push eax
push esi
call fcn.00453e59
mov byte [esp + 0x4cc], 7
cmp dword [esp + 0x20], edi
jne 0x4bf5d8
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x84]
push str.ip
push eax
call fcn.0044a30d
add esp, 0xc
mov byte [esp + 0x4cc], 8
push 0xffffffffffffffff
push edi
push eax
lea ecx, [esp + 0x50]
call fcn.0040774f
mov byte [esp + 0x4cc], 7
push edi
push 1
lea ecx, [esp + 0x88]
call fcn.004034fc
mov byte [esp + 0x4cc], 0
push edi
push 1
lea ecx, [esp + 0x68]
call fcn.004034fc
cmp dword [ebx + 0xf8], edi
je 0x4bf615
push str.ipv6
lea ecx, [esp + 0x48]
call fcn.00407618
push 0xffffffffffffffff
push edi
lea eax, [ebx + 0xe4]
push eax
lea ecx, [esp + 0x50]
call fcn.0040774f
cmp dword [ebx + 0x114], edi
je 0x4bf63f
push str.ipv4
lea ecx, [esp + 0x48]
call fcn.00407618
push 0xffffffffffffffff
push 0
lea eax, [ebx + 0x100]
push eax
lea ecx, [esp + 0x50]
call fcn.0040774f
push 0x2d0
call fcn.005740d0
pop ecx
mov dword [esp + 0x38], eax
mov byte [esp + 0x4cc], 9
push 3
pop esi
test eax, eax
je 0x4bf804
sub esp, 0x10
mov edi, esp
mov dword [esp + 0x28], esp
xor ecx, ecx
push ecx
mov eax, 0x4bf9f5
push eax
movzx eax, byte [0x6b3fc5]
push eax
movzx eax, byte [0x6b3fc6]
push eax
push ecx
mov eax, esp
mov dword [esp + 0x54], esp
push eax
mov ecx, ebx
call fcn.004a2d36
mov byte [esp + 0x4f0], 0xa
push edi
mov byte [esp + 0x4f4], 9
call fcn.004c0ce0
add esp, 0x18
mov byte [esp + 0x4dc], 0xb
lea eax, [esp + 0xb0]
push eax
mov byte [esp + 0x4e0], 9
call fcn.004c0e75
mov byte [esp + 0x4cc], 0xc
sub esp, 0x10
mov edi, esp
mov dword [esp + 0x40], esp
xor ecx, ecx
push ecx
mov eax, 0x4bfaac
push eax
movzx eax, byte [0x6b3fc6]
push eax
push ecx
mov eax, esp
mov dword [esp + 0x38], esp
push eax
mov ecx, ebx
mov dword [esp + 0x30], 1
call fcn.004a2d36
mov dword [esp + 0x4ec], 0xd
push edi
mov byte [esp + 0x4f0], 0xc
call fcn.004c0c34
add esp, 0x14
mov dword [esp + 0x4dc], 0xe
lea eax, [esp + 0x70]
push eax
mov byte [esp + 0x4e0], 0xc
call fcn.004c0e02
mov dword [esp + 0x4cc], 0xf
xor ecx, ecx
sub esp, 0x10
mov edi, esp
mov dword [esp + 0x40], esp
push ecx
mov eax, 0x4bfb69
push eax
movzx eax, byte [0x6b3fc7]
push eax
movzx eax, byte [0x6b3fc8]
push eax
movzx eax, byte [0x6b3fc5]
push eax
movzx eax, byte [0x6b3fc6]
push eax
push ecx
mov eax, esp
mov dword [esp + 0x44], esp
mov dword [esp + 0x38], esi
push eax
mov ecx, ebx
call fcn.004a2d36
mov dword [esp + 0x4f8], 0x10
push edi
mov byte [esp + 0x4fc], 0xf
call fcn.004c0b9d
add esp, 0x20
mov dword [esp + 0x4dc], 0x11
lea eax, [esp + 0x90]
push eax
mov byte [esp + 0x4e0], 0xf
call fcn.004c0d8f
mov dword [esp + 0x4cc], 0x12
lea eax, [esp + 0xa0]
push eax
lea eax, [esp + 0x64]
push eax
push dword [ebx + 0x170]
lea ecx, [esp + 0x8c]
push dword [ebx + 0x174]
mov dword [esp + 0x1c], 7
push dword [esp + 0x48]
call fcn.0046966f
jmp 0x4bf806
xor eax, eax
mov dword [esp + 0x4cc], 0x15
lea edi, [ebx + 0x144]
mov ecx, eax
call fcn.0046faea
mov dword [esp + 0x4cc], 0x14
test byte [esp + 0xc], 4
je 0x4bf842
and dword [esp + 0xc], 0xfffffffb
lea eax, [esp + 0x80]
push eax
call fcn.0042db35
mov dword [esp + 0x4cc], 0x13
test byte [esp + 0xc], 2
je 0x4bf863
and dword [esp + 0xc], 0xfffffffd
lea eax, [esp + 0x60]
push eax
call fcn.004a5e16
and dword [esp + 0x4cc], 0
test byte [esp + 0xc], 1
je 0x4bf884
and dword [esp + 0xc], 0xfffffffe
lea eax, [esp + 0xa0]
push eax
call fcn.004a5e16
mov eax, dword [esp + 0x10]
cmp dword [ebx + 0xbc], esi
jne 0x4bf895
mov eax, dword [eax + 0x24]
jmp 0x4bf898
mov eax, dword [eax + 0x1c]
cdq
push edx
push eax
lea esi, [esp + 0x28]
call fcn.0042af65
pop ecx
pop ecx
lea ecx, [ebx + 0x11c]
push ecx
push dword [esp + 0x14]
mov esi, edi
push 5
push dword [ebx + 0x16c]
push 1
push dword [eax + 4]
push dword [eax]
lea eax, [esp + 0x60]
push eax
call fcn.004453fc
mov ecx, eax
call fcn.004b528d
mov ebx, dword [ebx + 0x58]
mov eax, dword [esp + 0x58]
mov ecx, dword [ebx + 0x2c]
add eax, 0x64
add dword [ecx + 0xc38], eax
add ecx, 0xb10
cdq
add ecx, 0x130
add dword [ecx], eax
adc dword [ecx + 4], edx
or dword [esp + 0x4cc], 0xffffffff
push 0
push 1
lea ecx, [esp + 0x4c]
call fcn.004034fc
mov ecx, dword [esp + 0x4c4]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret