Function at 0x1000d820
Capabilities:
Encode data using xor

Disassembly:
push 0x300
mov eax, 0x10046b77
call fcn.10044ac9
xor ebx, ebx
cmp dword [0x1005a400], ebx
jne 0x1000d909
mov esi, 0x100
lea eax, [ebp - 0x110]
push esi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push ebx
push ebx
push ebx
push ebx
push esi
lea eax, [ebp - 0x210]
push eax
push 3
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__splitpath_s]
add esp, 0x24
test eax, eax
jne 0x1000d909
mov cl, 0x4d
mov dword [ebp - 0x2cc], 0x683e684d
mov word [ebp - 0x2c8], 0x3e
mov eax, ebx
xor byte [ebp + eax - 0x2cb], cl
inc eax
cmp eax, 4
jae 0x1000d8aa
mov cl, byte [ebp - 0x2cc]
jmp 0x1000d895
lea eax, [ebp - 0x210]
mov byte [ebp - 0x2c7], bl
push eax
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x2cb]
push eax
lea eax, [ebp - 0x110]
push esi
push eax
call fcn.1000e02c
add esp, 0x14
lea eax, [ebp - 0x110]
lea ecx, [ebp - 0x2fc]
push eax
call fcn.100012e0
lea eax, [ebp - 0x2fc]
mov dword [ebp - 4], ebx
push eax
call fcn.1000d32f
or dword [ebp - 4], 0xffffffff
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x2fc]
call fcn.10001cd4
push 0xd79978
call fcn.1000f3f5
mov esi, eax
pop ecx
test esi, esi
je 0x1000d96c
mov edi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push 4
push esi
call edi
test eax, eax
jne 0x1000d96c
mov eax, dword [esi]
mov esi, dword [eax + 0x44]
test esi, esi
je 0x1000d96c
push 4
push esi
call edi
test eax, eax
jne 0x1000d96c
push 0x1000d62f
push 0x1005b200
call fcn.1000d60a
pop ecx
pop ecx
push 4
push esi
mov dword [0x1005b200], esi
call edi
test eax, eax
jne 0x1000d96c
push 0x1000d62f
push 0x1005b200
call fcn.1000d5e5
pop ecx
pop ecx
call fcn.1000d7b4
call fcn.1000d5d6
xor esi, esi
inc esi
push esi
call dword [sym.imp.WINMM.dll_timeBeginPeriod]
call fcn.1000d6ce
push 0x98
lea eax, [ebp - 0x2c4]
push ebx
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x2c4]
push esi
push 2
call fcn.100021ee
movaps xmm0, xmmword [0x1004aa40]
mov cl, 0x2c
mov al, 0x71
mov byte [ebp - 0x2d0], cl
xor al, cl
mov dword [ebp - 4], esi
mov byte [ebp - 0x2cf], al
mov ecx, ebx
mov byte [ebp - 0x2ce], bl
movups xmmword [ebp - 0x2e4], xmm0
mov dword [ebp - 0x2d4], 0x601b4f
mov al, byte [ebp - 0x2e4]
xor byte [ebp + ecx - 0x2e3], al
inc ecx
cmp ecx, 0x12
jb 0x1000d9dd
push ebx
lea eax, [ebp - 0x30c]
mov byte [ebp - 0x2d1], bl
push 8
push eax
call dword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
add esp, 0xc
push eax
push 0x100029b8
lea eax, [ebp - 0x2e3]
push eax
lea eax, [ebp - 0x2c4]
push eax
call fcn.10001ffe
pop ecx
pop ecx
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::ios_base_____cdecl___class_std::ios_base___]
push eax
call fcn.10001fd4
mov esi, eax
pop ecx
pop ecx
push 0x30
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
add ecx, esi
call dword [sym.imp.MSVCP140.dll_public:_char___thiscall_std::basic_ios_char__struct_std::char_traits_char__::fill_char_]
lea eax, [ebp - 0x2cf]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
mov ecx, esi
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int_]
push eax
call fcn.10001ffe
pop ecx
pop ecx
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x2c4]
call fcn.10002fc6
cmp dword [ebp - 0x218], 0x10
lea ecx, [ebp - 0x22c]
push 0x1000db31
cmovae ecx, dword [ebp - 0x22c]
lea eax, [ebp - 0x22c]
cmovae eax, dword [ebp - 0x22c]
push 0xfffffffffffffffc
push ecx
push eax
call dword [sym.imp.USER32.dll_FindWindowA]
push eax
call dword [sym.imp.USER32.dll_SetWindowLongA]
push ebx
push 1
lea ecx, [ebp - 0x22c]
mov dword [0x1005b204], eax
call fcn.10001cd4
lea ecx, [ebp - 0x274]
call fcn.10002358
lea ecx, [ebp - 0x274]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
call fcn.10044a84
ret