Function at 0x47e3d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x174
mov eax, dword [0x5b66c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov ecx, dword [eax]
mov esi, dword [sym.imp.WS2_32.dll_ntohl]
mov dword [ebp - 0x154], ecx
mov ecx, dword [eax + 4]
mov dword [ebp - 0x158], ecx
mov ecx, dword [eax + 8]
push edi
push dword [ebx]
mov dword [ebp - 0x15c], ecx
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x174], eax
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x148], ebx
mov dword [ebp - 0x160], ecx
mov dword [ebp - 0x164], eax
call esi
push dword [ebx + 4]
mov edi, eax
mov dword [ebp - 0x144], edi
call esi
mov ebx, eax
mov eax, dword [ebp - 0x148]
mov dword [ebp - 0x140], ebx
push dword [eax + 8]
call esi
mov dword [ebp - 0x13c], eax
mov eax, dword [ebp - 0x148]
push dword [eax + 0xc]
call esi
mov dword [ebp - 0x138], eax
mov eax, dword [ebp - 0x148]
push dword [eax + 0x10]
call esi
mov dword [ebp - 0x134], eax
mov eax, dword [ebp - 0x148]
push dword [eax + 0x14]
call esi
mov dword [ebp - 0x130], eax
mov eax, dword [ebp - 0x148]
push dword [eax + 0x18]
call esi
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp - 0x148]
push dword [eax + 0x1c]
call esi
mov dword [ebp - 0x128], eax
mov eax, dword [ebp - 0x148]
push dword [eax + 0x20]
call esi
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0x148]
push dword [eax + 0x24]
call esi
mov dword [ebp - 0x120], eax
mov eax, dword [ebp - 0x148]
push dword [eax + 0x28]
call esi
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0x148]
push dword [eax + 0x2c]
call esi
mov dword [ebp - 0x118], eax
mov eax, dword [ebp - 0x148]
push dword [eax + 0x30]
call esi
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0x148]
push dword [eax + 0x34]
call esi
mov dword [ebp - 0x110], eax
mov eax, dword [ebp - 0x148]
push dword [eax + 0x38]
call esi
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp - 0x148]
push dword [eax + 0x3c]
call esi
mov esi, eax
mov ecx, dword [ebp - 0x110]
xor ecx, dword [ebp - 0x124]
xor ecx, dword [ebp - 0x13c]
xor ecx, edi
mov dword [ebp - 0x108], esi
mov eax, ecx
add ecx, ecx
shr eax, 0x1f
or eax, ecx
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 0x10c]
xor eax, dword [ebp - 0x120]
xor eax, dword [ebp - 0x138]
xor eax, ebx
mov ebx, eax
add eax, eax
shr ebx, 0x1f
or ebx, eax
mov eax, esi
xor eax, dword [ebp - 0x11c]
xor eax, dword [ebp - 0x134]
xor eax, dword [ebp - 0x13c]
mov esi, eax
mov dword [ebp - 0x148], ebx
add eax, eax
shr esi, 0x1f
or esi, eax
mov dword [ebp - 0x100], ebx
mov eax, dword [ebp - 0x14c]
xor eax, dword [ebp - 0x118]
xor eax, dword [ebp - 0x130]
xor eax, dword [ebp - 0x138]
mov edx, eax
mov dword [ebp - 0xfc], esi
add eax, eax
shr edx, 0x1f
or edx, eax
mov eax, ebx
xor eax, dword [ebp - 0x114]
xor eax, dword [ebp - 0x12c]
xor eax, dword [ebp - 0x134]
mov ebx, eax
mov dword [ebp - 0x150], edx
add eax, eax
shr ebx, 0x1f
or ebx, eax
mov dword [ebp - 0xf8], edx
mov eax, esi
mov dword [ebp - 0x168], ebx
xor eax, dword [ebp - 0x110]
xor eax, dword [ebp - 0x128]
xor eax, dword [ebp - 0x130]
mov ecx, eax
mov dword [ebp - 0xf4], ebx
add eax, eax
shr ecx, 0x1f
or ecx, eax
mov eax, edx
xor eax, dword [ebp - 0x10c]
xor eax, dword [ebp - 0x124]
xor eax, dword [ebp - 0x12c]
mov edx, eax
mov dword [ebp - 0x16c], ecx
add eax, eax
shr edx, 0x1f
or edx, eax
mov dword [ebp - 0xf0], ecx
mov eax, ebx
mov dword [ebp - 0x170], edx
xor eax, dword [ebp - 0x108]
xor eax, dword [ebp - 0x120]
xor eax, dword [ebp - 0x128]
mov ebx, eax
mov dword [ebp - 0xec], edx
add eax, eax
shr ebx, 0x1f
or ebx, eax
mov eax, ecx
mov dword [ebp - 0xe8], ebx
xor eax, dword [ebp - 0x14c]
xor eax, dword [ebp - 0x11c]
xor eax, dword [ebp - 0x124]
xor edx, dword [ebp - 0x148]
mov ecx, eax
xor edx, dword [ebp - 0x118]
add eax, eax
xor edx, dword [ebp - 0x120]
shr ecx, 0x1f
mov edi, edx
or ecx, eax
shr edi, 0x1f
add edx, edx
mov dword [ebp - 0xe4], ecx
xor ecx, dword [ebp - 0x110]
or edi, edx
xor ecx, dword [ebp - 0x118]
mov eax, ebx
xor eax, dword [ebp - 0x114]
xor eax, dword [ebp - 0x11c]
xor ecx, dword [ebp - 0x150]
xor eax, esi
xor ebx, dword [ebp - 0x148]
mov esi, eax
xor ebx, dword [ebp - 0x108]
add eax, eax
shr esi, 0x1f
mov edx, ecx
or esi, eax
mov dword [ebp - 0xe0], edi
xor edi, dword [ebp - 0x10c]
lea eax, [ecx + ecx]
xor edi, dword [ebp - 0x114]
xor edi, dword [ebp - 0x168]
shr edx, 0x1f
mov ecx, edi
or edx, eax
mov dword [ebp - 0xdc], esi
xor esi, dword [ebp - 0x16c]
xor esi, dword [ebp - 0x108]
lea eax, [edi + edi]
xor esi, dword [ebp - 0x110]
mov dword [ebp - 0xd8], edx
xor edx, dword [ebp - 0x170]
xor edx, dword [ebp - 0x14c]
xor edx, dword [ebp - 0x10c]
shr ecx, 0x1f
or ecx, eax
ror edx, 0x1f
xor ebx, ecx
ror esi, 0x1f
ror ebx, 0x1f
mov dword [ebp - 0xd4], ecx
lea ecx, [ebp - 0xfc]
mov dword [ebp - 0xcc], edx
mov edx, 0x30
mov dword [ebp - 0xd0], esi
mov dword [ebp - 0xc8], ebx
mov eax, dword [ecx + 0x2c]
lea ecx, [ecx + 4]
xor eax, dword [ecx + 0x14]
xor eax, dword [ecx - 0xc]
xor eax, dword [ecx - 4]
ror eax, 0x1f
mov dword [ecx + 0x34], eax
sub edx, 1
jne 0x47e772
mov edx, dword [ebp - 0x154]
mov eax, dword [ebp - 0x164]
mov edi, dword [ebp - 0x158]
mov esi, dword [ebp - 0x15c]
mov ebx, dword [ebp - 0x160]
mov dword [ebp - 0x14c], edx
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x150], 0
mov eax, edx
mov ecx, esi
mov edx, edi
ror eax, 0x1b
and ecx, edi
not edx
and edx, ebx
or edx, ecx
mov ecx, dword [ebp - 0x150]
add eax, edx
add eax, dword [ebp + ecx*4 - 0x144]
inc ecx
add eax, dword [0x5b3dcc]
add eax, dword [ebp - 0x148]
mov dword [ebp - 0x148], ebx
mov edx, eax
mov ebx, esi
mov dword [ebp - 0x150], ecx
mov esi, edi
shr edi, 2
shl esi, 0x1e
or esi, edi
mov edi, dword [ebp - 0x14c]
mov dword [ebp - 0x14c], edx
cmp ecx, 0x14
jl 0x47e7c0
mov dword [ebp - 0x150], 0x14
mov ecx, ebx
ror eax, 0x1b
xor ecx, esi
xor ecx, edi
add eax, ecx
mov ecx, dword [ebp - 0x150]
add eax, dword [ebp + ecx*4 - 0x144]
inc ecx
add eax, dword [0x5b3dd0]
add eax, dword [ebp - 0x148]
mov dword [ebp - 0x148], ebx
mov ebx, esi
mov esi, edi
mov dword [ebp - 0x150], ecx
shr edi, 2
shl esi, 0x1e
or esi, edi
mov edi, edx
mov edx, eax
cmp ecx, 0x28
jl 0x47e822
mov dword [ebp - 0x14c], edx
mov dword [ebp - 0x150], 0x28
mov edx, esi
ror eax, 0x1b
or edx, edi
mov ecx, esi
and ecx, edi
and edx, ebx
or edx, ecx
mov ecx, dword [ebp - 0x150]
add eax, edx
add eax, dword [ebp + ecx*4 - 0x144]
inc ecx
add eax, dword [0x5b3dd4]
add eax, dword [ebp - 0x148]
mov dword [ebp - 0x148], ebx
mov edx, eax
mov ebx, esi
mov dword [ebp - 0x150], ecx
mov esi, edi
shr edi, 2
shl esi, 0x1e
or esi, edi
mov edi, dword [ebp - 0x14c]
mov dword [ebp - 0x14c], edx
cmp ecx, 0x3c
jl 0x47e878
mov dword [ebp - 0x14c], 0x3c
mov ecx, ebx
ror eax, 0x1b
xor ecx, esi
xor ecx, edi
add eax, ecx
mov ecx, dword [ebp - 0x14c]
inc dword [ebp - 0x14c]
add eax, dword [ebp + ecx*4 - 0x144]
mov ecx, ebx
add eax, dword [0x5b3dd8]
mov ebx, esi
add eax, dword [ebp - 0x148]
mov esi, edi
shr edi, 2
shl esi, 0x1e
or esi, edi
mov dword [ebp - 0x148], ecx
cmp dword [ebp - 0x14c], 0x50
mov edi, edx
mov edx, eax
jl 0x47e8d8
add eax, dword [ebp - 0x154]
mov edx, dword [ebp - 0x174]
mov dword [edx], eax
mov eax, dword [ebp - 0x158]
add eax, edi
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x15c]
add eax, esi
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x160]
add eax, ebx
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 0x164]
add eax, ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov dword [edx + 0x10], eax
pop ebx
call fcn.0050101b
mov esp, ebp
pop ebp
ret