Function at 0x482c80
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x8d48
call fcn.005f4500
mov eax, dword [0x6b66bc]
xor eax, esp
mov dword [esp + 0x8d44], eax
movsd xmm0, qword [0x6bf6e0]
ucomisd xmm0, qword [0x6200d8]
push ebp
mov ebp, dword [esp + 0x8d5c]
push esi
mov esi, dword [esp + 0x8d54]
push edi
mov edi, dword [esp + 0x8d5c]
lahf
test ah, 0x44
jnp 0x48300c
lock inc dword [0x6e6504]
lock inc dword [0x6e6518]
push esi
lea ecx, [esp + 0x18]
call fcn.00482980
push dword [esp + 0x118]
lea eax, [esp + 0x554]
push str.Ensure_condition_failed:__s
push eax
call fcn.00484210
mov eax, dword [esp + 0x120]
add esp, 0xc
test eax, eax
je 0x482d12
push eax
call fcn.0043f8f0
add esp, 4
mov eax, dword [esp + 0x8d68]
push ebx
mov ebx, dword [esp + 0x8d64]
inc eax
push eax
push 1
push ebp
push ebx
mov dword [esp + 0x24], eax
lea eax, [esp + 0x564]
push edi
push eax
call fcn.00484250
add esp, 0x18
mov byte [esp + 0x13], 0
lea ecx, [esp + 0x230]
push edi
call fcn.00482980
push esi
lea ecx, [esp + 0x128]
call fcn.00482980
push ebp
push ebx
push dword [esp + 0x33c]
lea eax, [esp + 0xd60]
push dword [esp + 0x234]
push str.Ensure_condition_failed:__s__File:_s___Line:__i__r_n_s_r_nStack:__r_n
push 0x4000
push eax
call fcn.0042e000
mov eax, dword [esp + 0x240]
add esp, 0x1c
test eax, eax
je 0x482d99
push eax
call fcn.0043f8f0
add esp, 4
mov eax, dword [esp + 0x330]
test eax, eax
je 0x482dad
push eax
call fcn.0043f8f0
add esp, 4
push 0xffff
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov esi, eax
add esp, 4
test esi, esi
je 0x482f6b
call fcn.00444350
test eax, eax
je 0x482dd7
push 0
mov ecx, eax
call fcn.0041db90
call fcn.0043fb30
mov ecx, eax
call fcn.00410040
mov ebp, dword [esp + 0x14]
push 0
push 1
push ebp
push 0xffff
push esi
mov byte [esi], 0
call fcn.0042e6f0
add esp, 0x14
lea ecx, [esp + 0x33c]
push esi
call fcn.00482980
push 0x3fff
push dword [esp + 0x444]
lea eax, [esp + 0xd5c]
push eax
call fcn.00484540
mov eax, dword [esp + 0x448]
add esp, 0xc
test eax, eax
je 0x482e3a
push eax
call fcn.0043f8f0
add esp, 4
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
push 2
lea eax, [esp + 0xd5c]
push eax
push str._Handled_ensure:_
push 0x162
push str.D:_build_Portal_Sync_Engine_Source_Runtime_Core_Private_Misc_AssertionMacros.cpp
push 0x7015cc
call fcn.00483a60
add esp, 0x1c
call fcn.004a5b60
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0xc]
mov edi, dword [0x6e6550]
cmp edi, 4
jae 0x482f3f
cmp dword [0x6ab4cc], 0
lea ebx, [esp + 0xd54]
mov byte [esp + 0x12], 0
jne 0x482ea4
call fcn.0060bd10
nop
int3
mov ax, word [esp + 0xd54]
or esi, 0xffffffff
test ax, ax
je 0x482eef
movzx ecx, ax
movzx edx, cx
lea ebx, [ebx + 2]
mov ecx, esi
movzx eax, dl
shr ecx, 0x18
xor ecx, eax
shl esi, 8
xor esi, dword [ecx*4 + 0x6ab4c8]
mov eax, esi
shl esi, 8
shr eax, 0x10
xor eax, edx
shr eax, 8
xor esi, dword [eax*4 + 0x6ab4c8]
movzx eax, word [ebx]
mov ecx, eax
test ax, ax
jne 0x482eb7
xor eax, eax
not esi
test edi, edi
je 0x482f0d
cmp dword [eax*4 + 0x6e6554], esi
je 0x482f0b
inc eax
cmp eax, edi
jb 0x482ef7
mov al, byte [esp + 0x12]
jmp 0x482f0d
mov al, 1
mov dword [edi*4 + 0x6e6554], esi
inc edi
mov dword [0x6e6550], edi
test al, al
jne 0x482f3f
mov ecx, 0x6abaa8
call fcn.00439d30
lea eax, [esp + 0xd54]
push 2
push eax
call fcn.004d32f0
add esp, 8
mov bl, 1
jmp 0x482f43
mov bl, byte [esp + 0x13]
call fcn.0043fb30
mov ecx, eax
call fcn.00410040
call fcn.00444350
test eax, eax
je 0x482f61
push 0
mov ecx, eax
call fcn.0041db90
test bl, bl
je 0x483004
jmp 0x482fc1
cmp byte [0x7015c8], 2
jb 0x482fbd
push edi
lea ecx, [esp + 0x44c]
call fcn.00482980
push ebx
push dword [esp + 0x550]
lea eax, [esp + 0x55c]
push eax
push str._s__File:_s___Line:__i_
push 2
push 0x7015cc
push 0
push 0
call fcn.0047fa60
mov eax, dword [esp + 0x568]
add esp, 0x20
test eax, eax
je 0x482fbd
push eax
call fcn.0043f8f0
add esp, 4
mov ebp, dword [esp + 0x14]
call fcn.004835e0
mov esi, eax
test esi, esi
jne 0x482fd3
call fcn.00609380
nop
int3
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [esp + 0xd54]
push ebp
push eax
call fcn.004c9070
xor eax, eax
add esp, 8
mov word [0x6f6578], ax
mov word [0x6fe578], ax
test esi, esi
je 0x483004
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lock dec dword [0x6e6518]
pop ebx
mov ecx, dword [esp + 0x8d50]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.005f4480
add esp, 0x8d48
ret