Function at 0x4d3ea0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6aa006
mov eax, dword fs:[0]
push eax
sub esp, 0x4fc
mov eax, dword [0x76f950]
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 - 0x4e8], ecx
mov edi, dword [ebp - 0x4ec]
lea eax, [ebp - 0x4c0]
xor ecx, ecx
lea edx, [ebp - 0x1a0]
mov dword [ebp - 0x4e0], eax
mov eax, 0xc8
lea esi, [ebp - 0x4c0]
mov dword [ebp - 0x4cc], edx
mov dword [ebp - 0x4dc], eax
mov dword [ebp - 0x4c4], ecx
mov dword [ebp - 0x4e4], ecx
mov dword [ebp - 0x4f4], ecx
mov dword [ebp - 0x4d4], 0xfffffffe
mov ebx, edx
mov dword [ebp - 0x4d0], esi
lea esp, [esp]
add eax, eax
mov dword [ebp - 0x4c8], eax
add eax, 0xfffffffe
add eax, edx
mov word [ebx], cx
cmp eax, ebx
ja 0x4d405d
sub ebx, edx
sar ebx, 1
cmp dword [ebp - 0x4dc], 0x2710
lea esi, [ebx + 1]
jae 0x4d45e1
mov eax, dword [ebp - 0x4c8]
mov ebx, dword [ebp - 0x4cc]
cmp eax, 0x2710
mov ecx, 0x2710
cmova eax, ecx
mov dword [ebp - 0x4dc], eax
lea eax, [eax + eax*2]
mov dword [ebp - 0x4d8], ebx
lea eax, [eax*2 + 3]
push eax
call fcn.0063443a
mov edx, eax
add esp, 4
mov dword [ebp - 0x4c8], edx
test edx, edx
je 0x4d45db
test esi, esi
je 0x4d3fc4
mov ecx, edx
sub ebx, edx
mov edx, esi
mov ax, word [ebx + ecx]
mov word [ecx], ax
lea ecx, [ecx + 2]
dec edx
jne 0x4d3fb1
mov edx, dword [ebp - 0x4c8]
mov eax, dword [ebp - 0x4dc]
mov dword [ebp - 0x4cc], edx
lea eax, [eax*2 + 3]
shr eax, 2
lea ebx, [edx + eax*4]
mov dword [ebp - 0x4c8], ebx
test esi, esi
je 0x4d4008
sub dword [ebp - 0x4e0], ebx
mov ecx, ebx
mov ebx, dword [ebp - 0x4e0]
mov edx, esi
mov eax, dword [ebx + ecx]
mov dword [ecx], eax
lea ecx, [ecx + 4]
dec edx
jne 0x4d3ff7
mov ebx, dword [ebp - 0x4c8]
mov eax, dword [ebp - 0x4d8]
lea ecx, [ebp - 0x1a0]
mov dword [ebp - 0x4e0], ebx
cmp eax, ecx
je 0x4d4027
push eax
call fcn.00634402
add esp, 4
mov edx, dword [ebp - 0x4cc]
mov eax, dword [ebp - 0x4c8]
sub eax, 4
lea ebx, [edx - 2]
lea ebx, [ebx + esi*2]
lea esi, [eax + esi*4]
mov eax, dword [ebp - 0x4dc]
dec eax
mov dword [ebp - 0x4d0], esi
lea eax, [edx + eax*2]
cmp eax, ebx
jbe 0x4d41e9
mov ecx, dword [ebp - 0x4c4]
cmp ecx, 0xe
je 0x4d45e8
movsx edx, word [ecx*2 + 0x6f43c0]
mov dword [ebp - 0x4c8], edx
cmp edx, 0xfffffff0
je 0x4d41ab
mov eax, dword [ebp - 0x4d4]
cmp eax, 0xfffffffe
jne 0x4d40c7
mov ecx, dword [ebp - 0x4e8]
lea eax, [ebp - 0x4f8]
push eax
call fcn.00496050
mov dword [ebp - 0x4d4], eax
cmp eax, 0x11a
jne 0x4d40af
mov edi, dword [ebp - 0x4f8]
jmp 0x4d40bb
cmp eax, 0x119
cmove edi, dword [ebp - 0x4f8]
mov ecx, dword [ebp - 0x4c4]
mov edx, dword [ebp - 0x4c8]
test eax, eax
jg 0x4d40d5
xor eax, eax
mov dword [ebp - 0x4d4], eax
jmp 0x4d40ea
cmp eax, 0x11a
ja 0x4d40e5
movzx eax, byte [eax + 0x6f41b0]
jmp 0x4d40ea
mov eax, 2
add edx, eax
mov dword [ebp - 0x4c4], eax
cmp edx, 0xbd
ja 0x4d41ab
movsx eax, byte [edx + 0x6f40d0]
cmp eax, dword [ebp - 0x4c4]
jne 0x4d41ab
movzx eax, byte [edx + str._t_n_v_fe]
test eax, eax
jg 0x4d4169
je 0x4d41c0
cmp eax, 0xffffffff
je 0x4d41c0
neg eax
mov dword [ebp - 0x4c8], eax
movzx eax, byte [eax + 0x6f4194]
mov dword [ebp - 0x4ec], eax
shl eax, 2
mov ecx, esi
sub ecx, eax
mov dword [ebp - 0x4fc], ecx
mov eax, dword [ecx + 4]
mov ecx, dword [ebp - 0x4c8]
add ecx, 0xfffffffe
cmp ecx, 0x18
ja case.default.0x4d4162
jmp dword [ecx*4 + 0x4d461c]
mov ecx, dword [ebp - 0x4e4]
test ecx, ecx
je 0x4d417a
dec ecx
mov dword [ebp - 0x4e4], ecx
mov edx, dword [ebp - 0x4cc]
add esi, 4
mov ecx, eax
mov eax, dword [ebp - 0x4dc]
mov dword [ebp - 0x4d4], 0xfffffffe
mov dword [ebp - 0x4d0], esi
mov dword [esi], edi
mov dword [ebp - 0x4c4], ecx
add ebx, 2
jmp 0x4d3f30
movzx eax, byte [ecx + 0x6f4080]
mov dword [ebp - 0x4c8], eax
test eax, eax
jne 0x4d4133
mov eax, dword [ebp - 0x4e4]
test eax, eax
jne 0x4d41d2
inc dword [ebp - 0x4f4]
jmp 0x4d41fd
cmp eax, 3
jne 0x4d41fd
mov eax, dword [ebp - 0x4d4]
test eax, eax
jg 0x4d41f3
jne 0x4d41fd
mov edx, dword [ebp - 0x4cc]
mov esi, 1
jmp 0x4d45ea
mov dword [ebp - 0x4d4], 0xfffffffe
mov edx, dword [ebp - 0x4cc]
mov dword [ebp - 0x4e4], 3
lea ecx, [ecx]
movsx eax, word [ecx*2 + 0x6f43c0]
cmp eax, 0xfffffff0
je 0x4d423f
inc eax
cmp eax, 0xbd
ja 0x4d423f
cmp byte [eax + 0x6f40d0], 1
jne 0x4d423f
movzx ecx, byte [eax + str._t_n_v_fe]
mov dword [ebp - 0x4c4], ecx
test ecx, ecx
jg 0x4d424f
cmp ebx, edx
je 0x4d41e9
movsx ecx, word [ebx - 2]
sub esi, 4
sub ebx, 2
jmp 0x4d4210
mov edx, dword [ebp - 0x4cc]
mov eax, dword [ebp - 0x4dc]
add esi, 4
mov dword [ebp - 0x4d0], esi
mov dword [esi], edi
add ebx, 2
jmp 0x4d3f30
mov edx, dword [ebp - 0x4e8]
mov ecx, dword [esi]
mov dword [edx + 4], ecx
jmp case.default.0x4d4162
mov edx, dword [ebp - 0x4e8]
mov ecx, dword [esi - 8]
mov eax, dword [edx + 8]
mov eax, dword [eax + ecx*4]
test eax, eax
je 0x4d42a3
mov ecx, dword [eax + 4]
mov dword [ebp - 0x4d8], ecx
test ecx, ecx
jne 0x4d42ae
lea ecx, [eax + 8]
jmp 0x4d42a8
mov ecx, 0x6f4744
mov dword [ebp - 0x4d8], ecx
mov eax, dword [edx]
mov dword [ebp - 0x4f0], eax
mov eax, dword [esi]
mov dword [ebp - 0x504], eax
test ecx, ecx
jne 0x4d42cc
xor eax, eax
mov dword [ebp - 0x4c4], eax
jmp 0x4d42fc
cmp word [ecx], 0
jne 0x4d42dc
xor eax, eax
mov dword [ebp - 0x4c4], eax
jmp 0x4d42fc
call fcn.004df4c0
push 0xffffffffffffffff
push dword [ebp - 0x4d8]
mov ecx, eax
mov dword [ebp - 0x4c4], eax
call fcn.0040bb30
mov eax, dword [ebp - 0x4c4]
mov dword [ebp - 0x500], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x4f0]
mov ecx, dword [ecx + 8]
mov dword [ebp - 0x4f0], ecx
test eax, eax
jne 0x4d4320
xor ecx, ecx
jmp 0x4d436b
mov edx, dword [eax + 4]
test edx, edx
jne 0x4d432a
lea edx, [eax + 8]
movzx eax, word [edx]
xor ecx, ecx
test ax, ax
je 0x4d4351
movzx eax, ax
add ecx, eax
imul ecx, ecx, 0x401
mov eax, ecx
shr eax, 6
lea edx, [edx + 2]
xor ecx, eax
movzx eax, word [edx]
test ax, ax
jne 0x4d4334
lea eax, [ecx + ecx*8]
mov ecx, eax
shr ecx, 0xb
xor ecx, eax
imul ecx, ecx, 0x8001
test ecx, ecx
mov eax, 0xffffffff
cmove ecx, eax
lea eax, [ebp - 0x504]
push eax
push ecx
mov ecx, dword [ebp - 0x4f0]
lea eax, [ebp - 0x500]
push eax
call fcn.00476a80
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x4c4]
test ecx, ecx
je case.0x4d4162.3
mov eax, dword [ecx]
test eax, eax
jne 0x4d4428
mov esi, dword [0x77ae88]
push esi
mov dword [ebp - 0x508], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 1
mov edx, dword [ebp - 0x4c4]
mov eax, dword [edx + 4]
test eax, eax
je 0x4d43dd
add eax, 0xfffffffc
push eax
call fcn.00634402
mov edx, dword [ebp - 0x4c4]
add esp, 4
mov ecx, dword [0x77ae80]
mov eax, dword [0x77ae90]
dec dword [0x77ae94]
mov dword [edx + 0x38], 0
mov dword [eax + ecx*4], edx
inc ecx
mov dword [0x77ae80], ecx
mov dword [ebp - 4], 0xffffffff
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [0x77ae94], 0
jne 0x4d441b
call fcn.004df050
mov esi, dword [ebp - 0x4d0]
mov eax, dword [esi]
jmp case.default.0x4d4162
dec eax
mov dword [ecx], eax
mov eax, dword [esi]
jmp case.default.0x4d4162
mov ecx, dword [esi - 8]
xor eax, eax
cmp ecx, dword [esi]
setne al
jmp case.default.0x4d4162
mov ecx, dword [esi - 8]
xor eax, eax
cmp ecx, dword [esi]
sete al
jmp case.default.0x4d4162
cmp dword [esi - 8], 0
jne 0x4d446d
cmp dword [esi], 0
jne 0x4d446d
xor eax, eax
jmp case.default.0x4d4162
cmp dword [esi - 8], 0
je 0x4d445b
cmp dword [esi], 0
je 0x4d445b
mov eax, 1
jmp case.default.0x4d4162
mov eax, dword [esi - 8]
or eax, dword [esi]
jmp case.default.0x4d4162
mov eax, dword [esi - 8]
xor eax, dword [esi]
jmp case.default.0x4d4162
mov eax, dword [esi - 8]
and eax, dword [esi]
jmp case.default.0x4d4162
mov ecx, dword [esi - 8]
xor eax, eax
cmp ecx, dword [esi]
setl al
jmp case.default.0x4d4162
mov ecx, dword [esi - 8]
xor eax, eax
cmp ecx, dword [esi]
setg al
jmp case.default.0x4d4162
mov ecx, dword [esi - 8]
xor eax, eax
cmp ecx, dword [esi]
setge al
jmp case.default.0x4d4162
mov ecx, dword [esi - 8]
xor eax, eax
cmp ecx, dword [esi]
setle al
jmp case.default.0x4d4162
mov eax, dword [esi - 8]
add eax, dword [esi]
jmp case.default.0x4d4162
mov eax, dword [esi - 8]
sub eax, dword [esi]
jmp case.default.0x4d4162
mov eax, dword [esi - 8]
cdq
idiv dword [esi]
mov eax, edx
jmp case.default.0x4d4162
mov eax, dword [esi - 8]
imul eax, dword [esi]
jmp case.default.0x4d4162
mov ecx, dword [esi]
test ecx, ecx
je 0x4d41e3
mov eax, dword [esi - 8]
cdq
idiv ecx
jmp case.default.0x4d4162
xor eax, eax
cmp dword [esi], eax
sete al
jmp case.default.0x4d4162
mov eax, dword [esi]
neg eax
jmp case.default.0x4d4162
mov eax, dword [esi - 4]
jmp case.default.0x4d4162
mov edx, dword [ebp - 0x4e8]
mov ecx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, dword [eax + ecx*4]
test ecx, ecx
je 0x4d4532
mov eax, dword [ecx + 4]
test eax, eax
jne 0x4d4537
lea eax, [ecx + 8]
jmp 0x4d4537
mov eax, 0x6f4744
mov ecx, dword [edx]
push eax
call fcn.004765a0
mov esi, dword [ebp - 0x4fc]
mov ecx, dword [ebp - 0x4ec]
add esi, 4
neg ecx
mov dword [esi], eax
mov eax, dword [ebp - 0x4c8]
movzx edx, word [ebx + ecx*2]
movzx eax, byte [eax + 0x6f40b4]
lea ebx, [ebx + ecx*2]
movsx ecx, byte [eax + 0x6f4060]
mov dword [ebp - 0x4ec], eax
movsx eax, dx
add ecx, eax
mov dword [ebp - 0x4d0], esi
cmp ecx, 0xbd
ja 0x4d45b4
movsx ax, byte [ecx + 0x6f40d0]
cmp ax, dx
jne 0x4d45b4
movzx ecx, byte [ecx + str._t_n_v_fe]
mov edx, dword [ebp - 0x4cc]
mov eax, dword [ebp - 0x4dc]
mov dword [ebp - 0x4c4], ecx
add ebx, 2
jmp 0x4d3f30
mov eax, dword [ebp - 0x4ec]
mov edx, dword [ebp - 0x4cc]
movsx ecx, byte [eax + 0x6f4174]
mov eax, dword [ebp - 0x4dc]
mov dword [ebp - 0x4c4], ecx
add ebx, 2
jmp 0x4d3f30
mov edx, dword [ebp - 0x4cc]
mov esi, 2
jmp 0x4d45ea
xor esi, esi
lea eax, [ebp - 0x1a0]
cmp edx, eax
je 0x4d45fd
push edx
call fcn.00634402
add esp, 4
mov eax, esi
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.00633732
mov esp, ebp
pop ebp
ret