Function at 0x47f5c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50a9d0
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x564690]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x38], ecx
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
push eax
push ebx
call fcn.0047e8e0
xor edi, edi
or esi, 0xffffffff
push 0
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x30], 0
call fcn.0046a060
mov ecx, dword [ebp - 0x38]
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x58]
push eax
push ebx
mov dword [ebp - 4], 0
call fcn.00481560
test al, al
je 0x47f910
push 0
lea ecx, [ebp - 0x68]
call fcn.0046a060
mov ecx, dword [ebp - 0x38]
lea eax, [ebp - 0x68]
push eax
push ebx
mov byte [ebp - 4], 1
call fcn.0047a2b0
test al, al
je 0x47f8d1
lea eax, [ebp - 0x68]
push eax
push str.addons
lea ecx, [ebp - 0x58]
call fcn.0046a590
mov ecx, eax
call fcn.0046ab70
push str.extensions.json
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x44], 0
call fcn.00401b70
mov eax, dword [0x5641c0]
mov ecx, 0x5641c0
mov byte [ebp - 4], 2
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x40], eax
push ebx
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x48]
push eax
mov byte [ebp - 4], 3
call fcn.00465fd0
lea ecx, [ebp - 0x3c]
push ecx
push eax
lea eax, [ebp - 0x2c]
push eax
mov byte [ebp - 4], 4
call fcn.00465fd0
add esp, 0x18
mov edx, dword [ebp - 0x48]
add edx, 0xfffffff0
mov byte [ebp - 4], 6
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47f6de
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x40]
add edx, 0xfffffff0
mov byte [ebp - 4], 7
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47f6fe
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x3c]
add edx, 0xfffffff0
mov byte [ebp - 4], 8
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47f71e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0x2c]
call fcn.0040d950
mov eax, dword [ebp - 0x44]
add esp, 8
cmp eax, dword [ebp - 0x30]
je 0x47f78c
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [ebp - 0x2c]
add edx, 0xfffffff0
mov byte [ebp - 4], 1
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47f760
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0
call fcn.0046a300
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], 0xffffffff
call fcn.0046a300
inc edi
cmp edi, 3
jl 0x47f600
xor al, al
jmp 0x47f949
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x58]
call fcn.0046ba10
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 9
jb 0x47f7a4
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x34]
call fcn.00475e30
cmp dword [ebp - 0x14], 0x10
mov byte [ebp - 4], 0xb
jb 0x47f7c2
push dword [ebp - 0x28]
call fcn.004e48b8
add esp, 4
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.00488cd0
test al, al
jne 0x47f873
mov edx, dword [0x565ae0]
xor edi, edi
lea esp, [esp]
mov ecx, edi
and ecx, 1
dec ecx
not ecx
and ecx, edx
mov eax, edi
sar eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
not eax
and eax, edx
sar ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
sar eax, 1
not ecx
and ecx, edx
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
not eax
and eax, edx
sar ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
sar eax, 1
not ecx
and ecx, edx
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
not eax
and eax, edx
sar ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
sar eax, 1
not ecx
and ecx, edx
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
not eax
and eax, edx
sar ecx, 1
xor eax, ecx
inc edi
add edx, eax
cmp edi, 0x100
jl 0x47f7f0
mov dword [0x565ae0], edx
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.0040ebb0
mov edx, dword [ebp - 0x34]
add edx, 0xfffffff0
add esp, 8
mov bl, 1
mov byte [ebp - 4], 8
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47f8a5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x2c]
add edx, 0xfffffff0
mov byte [ebp - 4], 1
lea eax, [edx + 0xc]
lock xadd dword [eax], esi
dec esi
test esi, esi
jg 0x47f902
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0
call fcn.0046a300
jmp 0x47f938
mov edx, dword [0x565ae0]
lea ecx, [edx + 1]
lea eax, [edx + 2]
imul eax, ecx
imul eax, edx
cdq
mov ecx, 6
idiv ecx
cmp edx, 2
jne 0x47f900
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetMailslotInfo]
xor bl, bl
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0
call fcn.0046a300
jmp 0x47f938
mov esi, dword [0x565ae0]
lea ecx, [esi + 1]
lea eax, [esi + 2]
imul eax, ecx
imul eax, esi
cdq
mov ecx, 0xc
idiv ecx
cmp edx, 0xa
jne 0x47f936
dec esi
mov dword [0x565ae0], esi
xor bl, bl
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], 0xffffffff
call fcn.0046a300
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e50b4
mov esp, ebp
pop ebp
ret 8