Function at 0x41d8d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45ef62
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x47ea94]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
push 0
push 0
push 0
push 0
push str.ObfuscateData
lea ecx, [ebp - 0x54]
call fcn.00407b80
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp + 0xc]
add edx, 4
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp + 0xc]
add eax, 4
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
mov edx, dword [ebp - 0x3c]
push edx
call fcn.0045be0d
add esp, 4
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x3c]
push ecx
push 0
mov edx, dword [ebp - 0x1c]
push edx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x1c]
mov dword [eax], ecx
cmp dword [ebp - 0x1c], 0
je 0x41da9a
lea edx, [ebp - 0x30]
push edx
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand_s]
add esp, 4
test eax, eax
je 0x41d990
mov dword [ebp - 0x18], 0x80004005
jmp 0x41da98
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x30]
mov dword [edx], eax
mov ecx, dword [ebp - 0x1c]
add ecx, 4
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x44]
shr edx, 2
mov dword [ebp - 0x2c], edx
jmp 0x41d9c1
mov eax, dword [ebp - 0x2c]
sub eax, 1
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x41da29
mov dword [ebp - 0x30], 0
imul ecx, dword [ebp - 0x20], 0x343fd
add ecx, 0x269ec3
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x14]
movzx ecx, byte [eax]
mov edx, dword [ebp - 0x18]
movzx eax, byte [ebp + edx - 0x38]
xor ecx, eax
mov byte [ebp - 0xd], cl
mov ecx, dword [ebp - 0x18]
add ecx, 1
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x24]
mov cl, byte [ebp - 0xd]
mov byte [eax], cl
mov edx, dword [ebp - 0x24]
add edx, 1
mov dword [ebp - 0x24], edx
cmp dword [ebp - 0x18], 4
jb 0x41d9e4
mov dword [ebp - 0x18], 0
jmp 0x41d9b8
imul eax, dword [ebp - 0x20], 0x343fd
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x28], 0
mov ecx, dword [ebp - 0x48]
add ecx, 0x269ec3
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 0x34]
and edx, 3
mov dword [ebp - 0x50], edx
mov eax, dword [ebp - 0x34]
and eax, 3
je 0x41da98
mov ecx, dword [ebp - 0x24]
sub ecx, dword [ebp - 0x14]
mov dword [ebp - 0x4c], ecx
mov edx, dword [ebp - 0x14]
movzx eax, byte [edx]
mov ecx, dword [ebp - 0x28]
movzx edx, byte [ebp + ecx - 0x38]
xor eax, edx
mov byte [ebp - 0xe], al
mov eax, dword [ebp - 0x28]
add eax, 1
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x4c]
add ecx, dword [ebp - 0x14]
mov dl, byte [ebp - 0xe]
mov byte [ecx], dl
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x28]
cmp ecx, dword [ebp - 0x50]
jl 0x41da60
jmp 0x41daa1
mov dword [ebp - 0x18], 0x8007000e
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x58], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.00407aa0
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret