Function at 0x4837a7
Capabilities:
Encode data using xor

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x14c
push ebx
push esi
mov esi, ecx
and dword [esi + 0x6c], 0
push edi
lea ecx, [esi + 0xa4]
call fcn.0048e540
lea ecx, [ebp + 0x6c]
call fcn.0044502c
lea ebx, [esi + 0xb0]
mov ecx, dword [ebx]
call fcn.0048e720
push eax
lea eax, [ebp + 0x74]
push 0x4fb2a8
push eax
call fcn.0048ee07
add esp, 0xc
push dword [eax]
lea ecx, [ebp + 0x6c]
call fcn.0048e740
lea ecx, [ebp + 0x74]
call fcn.0048e50a
xor edi, edi
inc edi
cmp dword [esi + 0xb8], edi
jbe 0x48384b
mov dword [ebp + 0x74], 0x1c
mov eax, dword [ebx]
mov ecx, dword [ebp + 0x74]
add ecx, eax
call fcn.0048e720
push eax
lea ecx, [ebp + 0x6c]
call fcn.0048e720
push eax
lea eax, [ebp + 0x70]
push str._surl_U
push eax
call fcn.0048ee07
add esp, 0x10
push dword [eax]
lea ecx, [ebp + 0x6c]
call fcn.0048e740
lea ecx, [ebp + 0x70]
call fcn.0048e50a
add dword [ebp + 0x74], 0x1c
inc edi
cmp edi, dword [esi + 0xb8]
jb 0x483805
xor cl, cl
call fcn.00427067
mov edi, eax
push edi
lea ecx, [ebp + 0x6c]
call fcn.0048e720
push eax
lea eax, [ebp + 0x70]
push str._sh_s
push eax
call fcn.0048ee07
add esp, 0x10
push dword [eax]
lea ecx, [ebp + 0x6c]
call fcn.0048e740
lea ecx, [ebp + 0x70]
call fcn.0048e50a
mov dl, 1
mov ecx, edi
call fcn.0046b197
lea ecx, [esi + 0x78]
mov edi, dword [ecx]
test edi, edi
je 0x4838d0
xor eax, eax
cmp byte [edi], al
sete al
test al, al
jne 0x4838d0
call fcn.0048e720
push eax
lea ecx, [ebp + 0x6c]
call fcn.0048e720
push eax
lea eax, [ebp + 0x70]
push str._scustomer_s
push eax
call fcn.0048ee07
add esp, 0x10
push dword [eax]
lea ecx, [ebp + 0x6c]
call fcn.0048e740
lea ecx, [ebp + 0x70]
call fcn.0048e50a
lea ecx, [ebp + 0x6c]
call fcn.0048e720
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4838db
sub eax, edx
lea ecx, [eax + 0x26]
call fcn.0046b19f
mov edi, eax
mov ecx, 0x534bc0
sub ecx, edi
mov dword [ebp + 0x74], 0x25
mov dl, byte [ecx + eax]
xor dl, 0x74
mov byte [eax], dl
inc eax
dec dword [ebp + 0x74]
jne 0x4838fc
lea ecx, [ebp + 0x6c]
call fcn.0048e720
lea edx, [edi + 0x25]
mov cl, byte [eax]
inc eax
mov byte [edx], cl
inc edx
test cl, cl
jne 0x483915
push edi
lea ecx, [esi + 0xa4]
call fcn.0048e513
mov eax, dword [ebx]
add eax, 8
push eax
lea ecx, [ebp + 0x68]
call fcn.0048ee5a
lea ecx, [ebp - 0xc]
call fcn.004e64ac
lea ecx, [ebp + 0x68]
call fcn.0048e72c
push eax
lea ecx, [ebp + 0x68]
call fcn.0048e720
push eax
lea ecx, [ebp - 0xc]
call fcn.004e7793
lea ecx, [esi + 0xa4]
mov edi, eax
call fcn.0048e720
push eax
movzx eax, byte [edi + 3]
push eax
movzx eax, byte [edi + 2]
push eax
movzx eax, byte [edi + 1]
push eax
movzx eax, byte [edi]
push eax
lea eax, [ebp + 0x70]
push str.http:___02x_02x_02x_02x._s
push eax
call fcn.0048ee07
add esp, 0x1c
push dword [eax]
lea ecx, [esi + 0xa4]
call fcn.0048e740
lea ecx, [ebp + 0x70]
call fcn.0048e50a
xor eax, eax
mov dword [ebp + 0x74], eax
cmp dword [0x5493d4], eax
jbe 0x483a0c
mov ecx, dword [0x5493cc]
mov edi, dword [ecx + eax*4]
test byte [edi + 0xf5], 2
jne 0x4839f2
cmp edi, esi
je 0x4839f2
lea ecx, [edi + 0xb0]
call fcn.0047ecbb
mov ecx, ebx
mov dword [ebp + 0x70], eax
call fcn.0047ecbb
push dword [ebp + 0x70]
mov ecx, eax
call fcn.00408def
test eax, eax
jne 0x4839f2
test byte [edi + 0x2c], 1
jne 0x483a03
and byte [esi + 0x2c], 0xfc
mov eax, dword [ebp + 0x74]
inc eax
mov dword [ebp + 0x74], eax
cmp eax, dword [0x5493d4]
jb 0x4839af
jmp 0x483a0c
push 3
mov ecx, edi
call fcn.00480f3e
push 0x14
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov ecx, ebx
mov dword [ebp + 0x74], eax
call fcn.0047ecbb
lea ecx, [ebp - 0x80]
mov edi, eax
call fcn.004e64ac
mov ecx, edi
call fcn.0048e72c
mov ecx, edi
mov dword [ebp + 0x70], eax
call fcn.0048e720
push dword [ebp + 0x70]
lea ecx, [ebp - 0x80]
push eax
call fcn.004e7793
mov ecx, dword [ebp + 0x74]
push eax
call fcn.004078ab
test byte [esi + 0x2c], 1
push dword [ebp + 0x74]
je 0x483a80
push 0x4f268c
lea eax, [ebp - 0xd4]
push 0x29
push eax
call fcn.0048d35b
mov ecx, dword [0x549360]
add esp, 0x10
lea edx, [ebp - 0xd4]
call fcn.004a307f
jmp 0x483a8c
push str._H.torrent
call fcn.0048d3ca
pop ecx
pop ecx
lea edi, [esi + 0xa8]
push eax
mov ecx, edi
call fcn.0048e513
mov edx, dword [ebp + 0x74]
mov ecx, 0x105
call fcn.004b49ad
mov eax, dword [esi + 0x10]
test eax, eax
je 0x483ab5
and byte [eax + 0xf8], 0xfe
mov ecx, esi
call fcn.0047f89f
cmp byte [esi + 0x76], 0
je 0x483b56
mov ecx, edi
call fcn.0048e806
mov ecx, eax
call fcn.00472219
test al, al
je 0x483aeb
or dword [esi + 0x13c], 0xffffffff
mov ecx, esi
call fcn.00481cf3
jmp 0x483b6e
xor edi, edi
lea eax, [esi + 0x13c]
cmp dword [eax], 0xffffffff
mov dword [esi + 0xc0], edi
mov dword [esi + 0xc4], edi
mov dword [esi + 0xcc], edi
mov dword [esi + 0xd0], edi
jne 0x483b16
mov dword [eax], 0xa
push dword [0x5482fc]
lea ecx, [ebp + 0x74]
call fcn.004090f5
push 1
push edi
lea eax, [ebp + 0x74]
push eax
push 0x483098
lea ecx, [esi + 0xa4]
call fcn.0048e720
mov edx, esi
mov ecx, eax
call fcn.00449bb7
mov ecx, dword [ebp + 0x74]
mov dword [esi + 0x94], eax
cmp ecx, edi
je 0x483b56
call fcn.00407a4e
mov ecx, dword [esi + 0xbc]
imul ecx, ecx, 0x1c
add ecx, dword [ebx]
call fcn.0048e720
push eax
mov ecx, esi
call fcn.004835f9
lea ecx, [ebp - 0x80]
call fcn.004e64d1
lea ecx, [ebp - 0xc]
call fcn.004e64d1
lea ecx, [ebp + 0x68]
call fcn.0048e50a
lea ecx, [ebp + 0x6c]
call fcn.0048e50a
pop edi
pop esi
pop ebx
add ebp, 0x78
leave
ret