Function at 0x10018630
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov esi, dword [ebp + 0xc]
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x30], eax
movzx eax, byte [esi + 0x18]
mov byte [ebp - 0x1d], al
mov eax, dword [0x100f2e44]
movzx eax, byte [eax]
sub esp, 0xc
mov dword [esp + 8], 0x2f8
mov dword [esp + 4], 0
call sym.std::sys::alloc::windows::process_heap_alloc::hc2bfe060f1f208f4
add esp, 0xc
test eax, eax
je 0x10018908
lea ecx, [esi + 0x1c]
mov dword [ebp - 0x24], ecx
push 0x2f8
push 0
mov dword [ebp - 0x2c], eax
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov eax, dword [esi + 0x30]
mov dword [ebp - 0x28], eax
nop word cs:[eax + eax]
nop dword [eax]
mov edi, 1
mov esi, 0
mov ebx, 0x70656462
lock xadd dword [0x100ff04c], edi
mov dword [ebp - 0x10], edi
xor edi, 0x79746573
mov eax, edi
mov edx, edi
mov ecx, edi
mov edi, 0x70656462
add eax, 0x6e657261
adc esi, 0xdcdecbc7
shld edx, edi, 0x10
shld ebx, ecx, 0x10
xor edx, eax
mov eax, ecx
xor ebx, esi
mov ecx, 0
add eax, 0xc19fead0
mov esi, edx
mov edi, ebx
adc ecx, 0x1671bdd1
add esi, 0xd7dedfc6
mov dword [ebp - 0x14], eax
mov eax, edx
adc edi, 0xded7d4e2
shld eax, ebx, 0x15
shld ebx, edx, 0x15
mov edx, ecx
xor eax, esi
xor esi, dword [ebp - 0x10]
xor ebx, edi
xor edx, 0xe414a674
xor edi, 0x4000000
mov dword [ebp - 0x18], esi
mov esi, ecx
mov ecx, dword [ebp - 0x14]
xor esi, 0xff
xor ecx, 0xf0de7325
add dword [ebp - 0x18], ecx
adc edi, edx
add esi, eax
mov dword [ebp - 0x1c], edi
mov edi, 0xf2651ba4
mov dword [ebp - 0x10], esi
adc dword [ebp - 0x14], ebx
mov esi, eax
shld edx, ecx, 0xd
shrd eax, ebx, 0x10
shld ecx, edi, 0xd
shld esi, ebx, 0x10
mov ebx, dword [ebp - 0x14]
mov edi, dword [ebp - 0x10]
xor edx, dword [ebp - 0x1c]
xor ecx, dword [ebp - 0x18]
xor eax, ebx
xor esi, edi
add edi, ecx
adc ebx, edx
mov dword [ebp - 0x10], edi
add dword [ebp - 0x1c], esi
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x14], ebx
mov ebx, ecx
adc edi, eax
shld ebx, edx, 0x11
shrd ecx, edx, 0xf
mov edx, esi
shrd esi, eax, 0xb
shld edx, eax, 0x15
mov eax, dword [ebp - 0x1c]
xor ebx, dword [ebp - 0x10]
xor ecx, dword [ebp - 0x14]
xor esi, edi
xor edx, eax
add eax, ebx
adc edi, ecx
add dword [ebp - 0x14], edx
mov dword [ebp - 0x1c], eax
mov eax, edx
mov dword [ebp - 0x18], edi
mov edi, ebx
adc dword [ebp - 0x10], esi
shld edi, ecx, 0xd
shrd edx, esi, 0x10
shrd ebx, ecx, 0x13
shld eax, esi, 0x10
mov esi, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
xor edi, dword [ebp - 0x1c]
xor edx, dword [ebp - 0x10]
xor ebx, esi
xor eax, ecx
add ecx, edi
adc dword [ebp - 0x10], ebx
add esi, eax
mov dword [ebp - 0x14], ecx
mov ecx, edi
adc dword [ebp - 0x1c], edx
shld ecx, ebx, 0x11
mov dword [ebp - 0x18], esi
mov esi, eax
shrd eax, edx, 0xb
shrd edi, ebx, 0xf
mov ebx, dword [ebp - 0x10]
shld esi, edx, 0x15
mov edx, dword [ebp - 0x18]
xor ecx, dword [ebp - 0x14]
xor eax, dword [ebp - 0x1c]
xor edi, ebx
xor esi, edx
add edx, ecx
mov dword [ebp - 0x18], edx
mov edx, dword [ebp - 0x1c]
adc edx, edi
add ebx, esi
mov dword [ebp - 0x10], ebx
adc dword [ebp - 0x14], eax
mov ebx, ecx
shrd ecx, edi, 0x13
shld ebx, edi, 0xd
xor ecx, edx
mov edx, eax
mov edi, dword [ebp - 0x14]
shld edx, esi, 0x10
shld esi, eax, 0x10
mov eax, dword [ebp - 0x10]
xor ebx, dword [ebp - 0x18]
xor edx, edi
xor esi, eax
add eax, ebx
adc edi, ecx
mov dword [ebp - 0x10], eax
mov eax, ebx
mov dword [ebp - 0x14], edi
mov edi, esi
shld eax, ecx, 0x11
shld ecx, ebx, 0x11
mov ebx, dword [ebp - 0x14]
shld edi, edx, 0x15
shld edx, esi, 0x15
mov esi, dword [ebp - 0x10]
xor eax, ebx
xor ecx, esi
xor eax, edi
xor ecx, edx
xor eax, esi
xor ecx, ebx
mov edx, eax
or edx, ecx
je 0x100186a0
mov edx, dword [ebp - 0x24]
mov esi, dword [ebp + 8]
movsd xmm0, qword [edx]
movsd xmm1, qword [edx + 8]
mov edx, dword [ebp - 0x30]
movsd qword [esi + 0x98], xmm1
movsd qword [esi + 0x90], xmm0
mov dword [esi + 0xa0], edx
movzx edx, byte [ebp - 0x1d]
mov byte [esi + 0xa4], dl
mov edx, dword [ebp - 0x2c]
mov dword [esi], 0
mov dword [esi + 4], edx
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], edx
mov edx, dword [ebp - 0x28]
mov dword [esi + 0x88], edx
mov dword [esi + 0x84], ecx
mov ecx, dword [ebp + 0xc]
mov dword [esi + 0x80], eax
mov edx, dword [ecx + 8]
mov eax, dword [ecx + 0x2c]
neg edx
mov dword [esi + 0x8c], eax
jo 0x100188fe
jae 0x100188fe
mov eax, dword [0x100f2e2c]
push dword [ecx + 0xc]
push 0
push dword [eax]
call sub.kernel32.dll_HeapFree
mov eax, esi
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x2f8
push 4
call sym.alloc::alloc::handle_alloc_error::h3ca6a9ac69c8e3db
nop word cs:[eax + eax]
nop