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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x631843
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.004038d5
mov dword [esp + 0x4cc], esi
cmp dword [ebx + 0x60], 1
jne 0x4c1036
mov esi, str.announce
push esi
call fcn.005b5460
pop ecx
push eax
push 0
push esi
lea ecx, [esp + 0x50]
call fcn.00404197
mov dword [esp + 0x10], eax
cmp eax, 0xffffffff
jne 0x4c1017
sub esp, 0x30
mov esi, esp
mov dword [esp + 0x68], esp
xor ecx, ecx
push ecx
mov eax, 0x4c0dd8
push eax
push edi
lea eax, [esp + 0x9c]
push str.scrape_is_not_available_on_url:_
push eax
call fcn.0044bece
mov byte [esp + 0x510], 1
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x64], esp
push 0x6881b4
push eax
push ecx
call fcn.00411b46
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.004a4449
mov byte [esp + 0x528], 3
push esi
mov byte [esp + 0x52c], 1
call fcn.004c28d4
add esp, 0x30
mov byte [esp + 0x4fc], 4
push dword [ebx + 0x174]
mov byte [esp + 0x500], 1
call fcn.004c5ab7
mov byte [esp + 0x4cc], 0
push 0
push 1
lea ecx, [esp + 0x68]
call fcn.00403762
jmp 0x4c15fb
mov esi, str.scrape
push esi
call fcn.005b5460
pop ecx
push eax
push esi
push 8
push dword [esp + 0x1c]
lea ecx, [esp + 0x54]
call fcn.004b6adc
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.00404197
lea ecx, [esp + 0x44]
cmp eax, 0xffffffff
je 0x4c106b
push 0x6881a8
jmp 0x4c1070
push 0x68d74c
call fcn.00407288
push str.info_hash
lea ecx, [esp + 0x48]
call fcn.00407288
lea eax, [esp + 0x60]
lea ecx, [ebx + 0x64]
push eax
call fcn.0043c30b
pop ecx
mov byte [esp + 0x4cc], 5
push 0xffffffffffffffff
push esi
push eax
lea ecx, [esp + 0x50]
call fcn.00407386
mov byte [esp + 0x4cc], 0
push esi
push 1
lea ecx, [esp + 0x68]
call fcn.00403762
cmp dword [ebx + 0x60], esi
jne 0x4c1342
mov al, byte [ebx + 0x138]
test al, al
je 0x4c10e3
mov ecx, dword [ebx + 0xb0]
mov dword [esp + 0x30], ecx
mov ecx, dword [ebx + 0xb4]
mov dword [esp + 0x34], ecx
jmp 0x4c10eb
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
test al, al
je 0x4c1105
mov ecx, dword [ebx + 0xa8]
mov dword [esp + 0x18], ecx
mov ecx, dword [ebx + 0xac]
mov dword [esp + 0x1c], ecx
jmp 0x4c110d
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
test al, al
je 0x4c1127
mov ecx, dword [ebx + 0xa0]
mov dword [esp + 0x38], ecx
mov ecx, dword [ebx + 0xa4]
mov dword [esp + 0x3c], ecx
jmp 0x4c112f
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
test al, al
je 0x4c1149
mov ecx, dword [ebx + 0x90]
mov dword [esp + 0x20], ecx
mov ecx, dword [ebx + 0x94]
mov dword [esp + 0x24], ecx
jmp 0x4c1151
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
test al, al
je 0x4c1163
mov esi, dword [ebx + 0x98]
mov edi, dword [ebx + 0x9c]
jmp 0x4c1165
xor edi, edi
lea eax, [esp + 0x60]
lea ecx, [ebx + 0x78]
push eax
call fcn.0043c30b
pop ecx
mov byte [esp + 0x4cc], 6
cmp dword [eax + 0x18], 0x10
jb 0x4c1186
mov eax, dword [eax + 4]
jmp 0x4c1189
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.0043cb7b
add esp, 0x3c
mov byte [esp + 0x4cc], 0
xor edi, edi
push edi
push 1
lea ecx, [esp + 0x68]
call fcn.00403762
lea eax, [esp + 0xc0]
push eax
lea ecx, [esp + 0x48]
call fcn.00407288
lea esi, [ebx + 0xbc]
cmp dword [esi], edi
je 0x4c123f
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.00407288
mov eax, dword [esi]
push dword [esp + eax*4 + 0x1c]
lea ecx, [esp + 0x48]
call fcn.00407288
lea ecx, [esp + 0x68]
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], edi
call fcn.00418e40
mov esi, dword [esp + 0x10]
sub esi, 0xffffff80
lea eax, [esp + 0x60]
mov ecx, esi
call fcn.004546df
test al, al
je 0x4c12ef
mov dword [esp + 0x20], edi
call fcn.005ebf90
mov dword [esp + 0x24], eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x64]
push eax
push esi
call fcn.004557f6
mov byte [esp + 0x4cc], 7
cmp dword [esp + 0x20], edi
jne 0x4c12db
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x84]
push str.ip
push eax
call fcn.0044bece
add esp, 0xc
mov byte [esp + 0x4cc], 8
push 0xffffffffffffffff
push edi
push eax
lea ecx, [esp + 0x50]
call fcn.00407386
mov byte [esp + 0x4cc], 7
push edi
push 1
lea ecx, [esp + 0x88]
call fcn.00403762
mov byte [esp + 0x4cc], 0
push edi
push 1
lea ecx, [esp + 0x68]
call fcn.00403762
cmp dword [ebx + 0xf8], edi
je 0x4c1318
push str.ipv6
lea ecx, [esp + 0x48]
call fcn.00407288
push 0xffffffffffffffff
push edi
lea eax, [ebx + 0xe4]
push eax
lea ecx, [esp + 0x50]
call fcn.00407386
cmp dword [ebx + 0x114], edi
je 0x4c1342
push str.ipv4
lea ecx, [esp + 0x48]
call fcn.00407288
push 0xffffffffffffffff
push 0
lea eax, [ebx + 0x100]
push eax
lea ecx, [esp + 0x50]
call fcn.00407386
push 0x2d0
call fcn.005b4e59
pop ecx
mov dword [esp + 0x38], eax
mov byte [esp + 0x4cc], 9
push 3
pop esi
test eax, eax
je 0x4c1507
sub esp, 0x10
mov edi, esp
mov dword [esp + 0x28], esp
xor ecx, ecx
push ecx
mov eax, 0x4c16f4
push eax
movzx eax, byte [0x71c1cd]
push eax
movzx eax, byte [0x71c1ce]
push eax
push ecx
mov eax, esp
mov dword [esp + 0x54], esp
push eax
mov ecx, ebx
call fcn.004a4449
mov byte [esp + 0x4f0], 0xa
push edi
mov byte [esp + 0x4f4], 9
call fcn.004c2ad8
add esp, 0x18
mov byte [esp + 0x4dc], 0xb
lea eax, [esp + 0xb0]
push eax
mov byte [esp + 0x4e0], 9
call fcn.004c2c6d
mov byte [esp + 0x4cc], 0xc
sub esp, 0x10
mov edi, esp
mov dword [esp + 0x40], esp
xor ecx, ecx
push ecx
mov eax, 0x4c17ac
push eax
movzx eax, byte [0x71c1ce]
push eax
push ecx
mov eax, esp
mov dword [esp + 0x38], esp
push eax
mov ecx, ebx
mov dword [esp + 0x30], 1
call fcn.004a4449
mov dword [esp + 0x4ec], 0xd
push edi
mov byte [esp + 0x4f0], 0xc
call fcn.004c2a2c
add esp, 0x14
mov dword [esp + 0x4dc], 0xe
lea eax, [esp + 0x70]
push eax
mov byte [esp + 0x4e0], 0xc
call fcn.004c2bfa
mov dword [esp + 0x4cc], 0xf
xor ecx, ecx
sub esp, 0x10
mov edi, esp
mov dword [esp + 0x40], esp
push ecx
mov eax, 0x4c1868
push eax
movzx eax, byte [0x71c1cf]
push eax
movzx eax, byte [0x71c1d0]
push eax
movzx eax, byte [0x71c1cd]
push eax
movzx eax, byte [0x71c1ce]
push eax
push ecx
mov eax, esp
mov dword [esp + 0x44], esp
mov dword [esp + 0x38], esi
push eax
mov ecx, ebx
call fcn.004a4449
mov dword [esp + 0x4f8], 0x10
push edi
mov byte [esp + 0x4fc], 0xf
call fcn.004c2995
add esp, 0x20
mov dword [esp + 0x4dc], 0x11
lea eax, [esp + 0x90]
push eax
mov byte [esp + 0x4e0], 0xf
call fcn.004c2b87
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.0046a801
jmp 0x4c1509
xor eax, eax
mov dword [esp + 0x4cc], 0x15
lea edi, [ebx + 0x144]
mov ecx, eax
call fcn.00470eae
mov dword [esp + 0x4cc], 0x14
test byte [esp + 0xc], 4
je 0x4c1545
and dword [esp + 0xc], 0xfffffffb
lea eax, [esp + 0x80]
push eax
call fcn.00430247
mov dword [esp + 0x4cc], 0x13
test byte [esp + 0xc], 2
je 0x4c1566
and dword [esp + 0xc], 0xfffffffd
lea eax, [esp + 0x60]
push eax
call fcn.004a74fe
and dword [esp + 0x4cc], 0
test byte [esp + 0xc], 1
je 0x4c1587
and dword [esp + 0xc], 0xfffffffe
lea eax, [esp + 0xa0]
push eax
call fcn.004a74fe
mov eax, dword [esp + 0x10]
cmp dword [ebx + 0xbc], esi
jne 0x4c1598
mov eax, dword [eax + 0x24]
jmp 0x4c159b
mov eax, dword [eax + 0x1c]
cdq
push edx
push eax
lea esi, [esp + 0x28]
call fcn.0042d51a
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.0046edc2
mov ecx, eax
call fcn.004b6c28
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.00403762
mov ecx, dword [esp + 0x4c4]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret