Function at 0x404310
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x434098]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x10]
push edi
push 0xd4
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x14], 0x6f797ecd
mov dword [ebp - 0x10], 0xcb5db22a
mov dword [ebp - 0xc], 0xefc8ff55
mov dword [ebp - 8], 0x70c46483
call fcn.004102a6
push 0xd4
mov esi, eax
push 0
push esi
mov dword [ebp - 0x18], esi
call fcn.00415850
push 0x400
call fcn.00411300
push 0x400
push 0
push eax
mov dword [ebp - 0x24], eax
call fcn.00415850
movq xmm0, qword [ebx + 4]
lea edi, [ebx + 4]
add esp, 0x20
lea eax, [ebp - 0x14]
push edi
movq qword [esi + 4], xmm0
movq xmm0, qword [edi + 8]
push eax
push ecx
mov dword [ebp - 0x20], edi
movq qword [esi + 0xc], xmm0
call fcn.00401000
push 0x100
call fcn.00410c84
push 0x100
mov esi, eax
push edi
push esi
call fcn.0041ae60
lea eax, [ebp - 0x1c]
push eax
push edi
mov ecx, esi
call fcn.00401620
push esi
call fcn.004118fa
mov eax, dword [ebp - 0x18]
mov esi, dword [str.55041_00168_305_246209_03_1033_7600.0000_0522010]
mov dword [eax], 0x50000
mov dword [eax + 0x14], 0x50000
mov dword [eax + 0x18], 0x62
lea edi, [eax + 0x1c]
mov edx, dword [ebp - 0x20]
mov ecx, 0x18
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movq xmm0, qword [ebx + 0x54]
mov edi, eax
add esp, 0x28
movq qword [edi + 0x7e], xmm0
movq xmm0, qword [ebx + 0x5c]
movq qword [edi + 0x86], xmm0
mov eax, dword [ebx + 0x68]
mov dword [edi + 0x8e], eax
mov eax, dword [ebx + 0x6c]
mov dword [edi + 0x92], eax
mov dword [edi + 0x96], 0x1a
mov dword [edi + 0x9a], 0x78
mov dword [edi + 0x9e], 0x2760
lea eax, [edi + 5]
sub edi, ebx
mov esi, 4
jmp 0x404460
movzx ecx, byte [edi + edx]
xor cl, byte [edx]
lea edx, [edx + 4]
xor cl, 0x61
mov byte [eax + 0x9d], cl
movzx ecx, byte [edx - 3]
xor cl, byte [eax]
lea eax, [eax + 4]
xor cl, 0x61
mov byte [eax + 0x9a], cl
movzx ecx, byte [edx - 2]
xor cl, byte [eax - 3]
xor cl, 0x61
mov byte [eax + 0x9b], cl
movzx ecx, byte [edx - 1]
xor cl, byte [eax - 2]
xor cl, 0x61
mov byte [eax + 0x9c], cl
dec esi
jne 0x404460
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x14], 0xceea0b0c
mov dword [ebp - 0x10], 0xbf7b87f8
movq xmm0, qword [ebp - 0x14]
movq qword [edi + 0xb2], xmm0
mov dword [ebp - 0xc], 0xeb1624
mov dword [ebp - 8], 0x96dcb5f2
movq xmm0, qword [ebp - 0xc]
movq qword [edi + 0xba], xmm0
mov dword [ebp - 0x14], 0xdd264e35
mov dword [ebp - 0x10], 0x7351f51d
movq xmm0, qword [ebp - 0x14]
movq qword [edi + 0xc2], xmm0
mov dword [ebp - 0xc], 0x129b4520
mov dword [ebp - 8], 0x8c0f8636
movq xmm0, qword [ebp - 0xc]
movq qword [edi + 0xca], xmm0
push 0xbe
mov word [edi + 0xd2], 0x202
call fcn.00410c84
push 0xbe
lea ebx, [edi + 0x14]
mov esi, eax
push ebx
push esi
call fcn.0041ae60
lea eax, [ebp - 0x20]
push eax
push ebx
mov ecx, esi
call fcn.00401240
push esi
call fcn.004118fa
call fcn.00401170
mov eax, dword [ebp - 0x24]
mov esi, edi
mov edi, eax
mov ecx, 0x35
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x2c]
push str.Activation_response__KMS_V5__sent._n
mov dword [ecx], 0xd4
mov ecx, dword [ebp - 0x28]
mov dword [ecx], eax
call fcn.0041184e
mov esi, dword [ebp - 0x18]
push esi
call fcn.0041027b
mov ecx, dword [ebp - 4]
add esp, 0x24
xor ecx, ebp
pop edi
pop esi
xor eax, eax
pop ebx
call fcn.0041026c
mov esp, ebp
pop ebp
ret