Function at 0x409760
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x48355d
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x68
cmp dword [0x602da8], 0
push esi
push edi
jne 0x409909
push 0x603108
mov ecx, 0x601e38
call fcn.0041c780
xor edx, edx
mov byte [ebp - 0x2b], 0
mov ecx, 0x7e
mov dword [ebp - 0x4c], 0
div ecx
xorps xmm0, xmm0
mov dword [ebp - 0x48], 0
mov cl, dl
inc cl
mov al, cl
mov byte [ebp - 0x11], cl
xor al, 0x4e
mov byte [ebp - 0x44], cl
mov byte [ebp - 0x43], al
mov ch, cl
mov al, cl
mov dh, cl
xor al, 0x6f
mov ah, cl
mov byte [ebp - 0x12], al
mov dl, cl
mov byte [ebp - 0x42], al
xor cl, 0x72
mov byte [ebp - 0x3f], al
xor dh, 0x63
mov byte [ebp - 0x3b], al
xor ah, 0x6e
mov al, byte [ebp - 0x11]
xor ch, 0x20
xor al, 0x6c
mov byte [ebp - 0x3c], cl
mov byte [ebp - 0x3a], al
xor dl, 0x74
mov byte [ebp - 0x39], al
mov al, byte [ebp - 0x11]
mov byte [ebp - 0x37], cl
xor al, 0x65
mov cl, byte [ebp - 0x12]
mov byte [ebp - 0x34], cl
mov cl, byte [ebp - 0x11]
mov byte [ebp - 0x38], al
mov byte [ebp - 0x31], al
mov byte [ebp - 0x2e], al
mov al, cl
xor al, 0x64
mov byte [ebp - 0x41], ch
xor cl, 0x2e
mov byte [ebp - 0x40], dh
push 0x20
mov byte [ebp - 0x3e], ah
mov byte [ebp - 0x3d], dl
mov byte [ebp - 0x36], ch
mov byte [ebp - 0x35], dh
mov byte [ebp - 0x33], ah
mov byte [ebp - 0x32], ah
mov byte [ebp - 0x30], dh
mov byte [ebp - 0x2f], dl
mov byte [ebp - 0x2d], al
mov byte [ebp - 0x2c], cl
movups xmmword [ebp - 0x5c], xmm0
call fcn.00481d9b
mov dword [ebp - 0x5c], eax
xorps xmm0, xmm0
mov dword [ebp - 0x4c], 0x18
add esp, 4
mov dword [ebp - 0x48], 0x1f
xor edx, edx
movups xmmword [eax], xmm0
movq qword [eax + 0x10], xmm0
mov byte [eax + 0x18], 0
mov cl, byte [ebp + edx - 0x43]
lea eax, [ebp - 0x5c]
xor cl, byte [ebp - 0x11]
cmp dword [ebp - 0x48], 0xf
cmova eax, dword [ebp - 0x5c]
mov byte [eax + edx], cl
inc edx
cmp edx, 0x18
jb 0x409886
mov dword [ebp - 4], 0
lea eax, [ebp - 0x5c]
cmp dword [ebp - 0x48], 0xf
cmova eax, dword [ebp - 0x5c]
push eax
call fcn.00469690
mov ecx, dword [ebp - 0x48]
add esp, 4
cmp ecx, 0xf
jbe 0x409b38
mov edx, dword [ebp - 0x5c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4098ec
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4098ec
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00482021
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov edi, dword [0x602da4]
mov esi, dword [edi]
cmp esi, edi
je 0x409b38
mov dword [ebp - 0x1c], 0x7e
mov eax, dword [esi + 8]
lea ecx, [esi + 0xc]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x18], ecx
call fcn.0041a5a0
xor edx, edx
mov byte [ebp - 0x2b], 0
div dword [ebp - 0x1c]
xorps xmm0, xmm0
mov dword [ebp - 0x4c], 0xe
mov ch, dl
mov dword [ebp - 0x48], 0xf
inc ch
movq qword [ebp - 0x5c], xmm0
mov al, ch
mov byte [ebp - 0x3a], ch
xor al, 0x43
mov ah, ch
mov byte [ebp - 0x39], al
xor ah, 0x6f
mov al, ch
mov byte [ebp - 0x38], ah
xor al, 0x6e
mov byte [ebp - 0x34], ah
mov byte [ebp - 0x37], al
mov cl, ch
mov al, ch
xor cl, 0x72
xor al, 0x74
mov byte [ebp - 0x35], cl
mov byte [ebp - 0x36], al
mov al, ch
xor al, 0x6c
mov byte [ebp - 0x30], cl
mov byte [ebp - 0x33], al
mov byte [ebp - 0x32], al
mov al, ch
xor al, 0x65
mov byte [ebp - 0x31], al
mov al, ch
xor al, 0x20
mov byte [ebp - 0x2f], al
mov al, ch
xor al, 0x25
mov byte [ebp - 0x2e], al
mov al, ch
xor al, 0x64
mov byte [ebp - 0x2d], al
mov al, ch
xor al, 0x3a
mov byte [ebp - 0x2c], al
xor eax, eax
mov dword [ebp - 0x50], eax
xor edx, edx
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x4e], al
nop dword [eax]
mov cl, byte [ebp + edx - 0x39]
lea eax, [ebp - 0x5c]
xor cl, ch
cmp dword [ebp - 0x48], 0xf
cmova eax, dword [ebp - 0x5c]
mov byte [eax + edx], cl
inc edx
cmp edx, 0xe
jb 0x4099c0
push dword [ebp - 0x20]
mov dword [ebp - 4], 1
lea eax, [ebp - 0x5c]
cmp dword [ebp - 0x48], 0xf
cmova eax, dword [ebp - 0x5c]
push eax
call fcn.00469690
mov dword [ebp - 4], 0xffffffff
add esp, 8
mov ecx, dword [ebp - 0x48]
cmp ecx, 0xf
jbe 0x409a33
mov edx, dword [ebp - 0x5c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x409a29
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4098e6
push ecx
push edx
call fcn.00482021
add esp, 8
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x14], 0xf
jbe 0x409a41
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
call fcn.0041a5a0
xor edx, edx
mov byte [ebp - 0x21], 0
div dword [ebp - 0x1c]
lea ecx, [ebp - 0x2a]
inc dl
mov al, dl
mov byte [ebp - 0x2a], dl
xor al, 0x4e
mov byte [ebp - 0x29], al
mov al, dl
xor al, 0x61
mov byte [ebp - 0x28], al
mov al, dl
xor al, 0x6d
mov byte [ebp - 0x27], al
mov al, dl
xor al, 0x65
mov byte [ebp - 0x26], al
mov al, dl
xor al, 0x3a
mov byte [ebp - 0x25], al
mov al, dl
xor al, 0x20
mov byte [ebp - 0x24], al
mov al, dl
xor al, 0x25
xor dl, 0x73
mov byte [ebp - 0x23], al
lea eax, [ebp - 0x74]
push eax
mov byte [ebp - 0x22], dl
call fcn.00418480
mov dword [ebp - 4], 2
cmp dword [eax + 0x14], 0xf
jbe 0x409aa6
mov eax, dword [eax]
mov ecx, dword [ebp - 0x18]
push ecx
push eax
call fcn.00469690
mov dword [ebp - 4], 0xffffffff
add esp, 8
mov ecx, dword [ebp - 0x60]
cmp ecx, 0xf
jbe 0x409aee
mov edx, dword [ebp - 0x74]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x409ae4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4098e6
push ecx
push edx
call fcn.00482021
add esp, 8
mov eax, dword [0x602c68]
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0xf
mov byte [ebp - 0x74], 0
mov ecx, dword [eax + 0x3e48]
cmp byte [ecx + 0xaf], 0
jne 0x409b2e
mov ecx, dword [ecx + 0x198]
movss xmm1, dword [0x4ad078]
neg ecx
sbb ecx, ecx
add ecx, 6
call fcn.0046bb50
mov esi, dword [esi]
cmp esi, edi
jne 0x409920
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret