Function at 0x74c080
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7c0036
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x831184]
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 esi, ecx
mov edi, dword [ebp + 8]
xor ecx, ecx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x54], eax
mov eax, 5
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], 0xdecac7da
mov dword [ebp - 0x40], 0xaed9
lea eax, [ecx - 0x57]
xor byte [ebp + ecx - 0x44], al
inc ecx
mov eax, dword [ebp - 0x48]
cmp ecx, eax
jb 0x74c0d7
mov byte [ebp + eax - 0x44], 0
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x5c], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x58], 0xf
mov byte [ebp - 0x6c], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x74c103
sub ecx, edx
lea eax, [ebp - 0x44]
push ecx
push eax
lea ecx, [ebp - 0x6c]
call fcn.00407ab0
lea eax, [ebp - 0x6c]
mov dword [ebp - 4], 0
lea ecx, [esi + 0x380]
push eax
call fcn.00743c50
mov edx, dword [ebp - 0x58]
mov dword [ebp - 4], 0xffffffff
mov ebx, dword [eax]
cmp edx, 0x10
jb 0x74c16e
mov ecx, dword [ebp - 0x6c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x74c164
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x74c164
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0076e8f3
add esp, 8
mov eax, 5
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0xf
xor ecx, ecx
mov byte [ebp - 0x6c], 0
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], 0xdecac7da
mov dword [ebp - 0x40], 0xaed9
lea eax, [ecx - 0x57]
xor byte [ebp + ecx - 0x44], al
inc ecx
mov eax, dword [ebp - 0x48]
cmp ecx, eax
jb 0x74c198
mov byte [ebp + eax - 0x44], 0
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x74], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x70], 0xf
mov byte [ebp - 0x84], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x74c1c7
sub ecx, edx
lea eax, [ebp - 0x44]
push ecx
push eax
lea ecx, [ebp - 0x84]
call fcn.00407ab0
lea eax, [ebp - 0x84]
mov dword [ebp - 4], 1
lea ecx, [esi + 0x378]
push eax
call fcn.00743c50
mov esi, dword [eax]
push 0
push 0x83a2d0
push 0x838370
push 0
push dword [esi + 0x14]
mov byte [ebp - 4], 2
call sub.VCRUNTIME140.dll___RTDynamicCast
add esp, 0x14
test eax, eax
je 0x74c22c
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x74c230
lock inc dword [ecx + 4]
mov ecx, dword [esi + 0x18]
jmp 0x74c230
xor eax, eax
xor ecx, ecx
mov dword [ebx + 0xa8], eax
mov esi, dword [ebx + 0xac]
mov byte [ebp - 4], 1
mov dword [ebx + 0xac], ecx
test esi, esi
je 0x74c26e
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x74c26b
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x74c26b
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov edi, dword [ebp - 0x50]
push dword [ebp - 0x54]
lea eax, [ebp - 0x4c]
push eax
call fcn.0074dde0
push eax
push dword [ebx + 0xa8]
lea eax, [ebp - 0xac]
mov byte [ebp - 4], 3
push eax
call fcn.00568840
add esp, 0x14
lea esi, [ebx + 0x80]
mov ecx, esi
push eax
call fcn.00743b80
lea ecx, [ebp - 0xac]
call fcn.00569750
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 1
call fcn.00434940
mov ecx, dword [ebx + 0x54]
lea eax, [ebp - 0x3c]
push esi
push eax
call fcn.00497190
mov edx, dword [ebp - 0x70]
mov byte [ebp - 4], 5
cmp edx, 0x10
jb 0x74c303
mov ecx, dword [ebp - 0x84]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x74c2f9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x74c2f9
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0076e8f3
add esp, 8
cmp byte [ebp - 0x3c], 0
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0xf
mov byte [ebp - 0x84], 0
je 0x74c325
mov ecx, ebx
call fcn.00748980
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.005685f0
add esp, 8
push 0
push 0
push 0x20
push 0xffffffffffffffff
lea eax, [ebp - 0x9c]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x20]
call fcn.00430bd0
push eax
push edi
mov byte [ebp - 4], 7
call fcn.0074e030
mov edx, dword [ebp - 0x88]
add esp, 8
cmp edx, 0x10
jb 0x74c39a
mov ecx, dword [ebp - 0x9c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x74c390
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x74c390
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0076e8f3
add esp, 8
lea ecx, [ebp - 0x20]
call fcn.00434940
lea ecx, [ebp - 0x38]
call fcn.00404490
mov eax, edi
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.0076eb7e
mov esp, ebp
pop ebp
ret 8