Function at 0x417e54
Capabilities:
Encode data using xor

Disassembly:
push 8
mov eax, 0x46920d
call fcn.004685de
push ecx
push ebx
sub esp, 0x1b8
push ebx
xor ecx, ecx
mov dl, 4
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x24], edi
mov esi, ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 0x31], 0x979aac04
mov dword [ebp - 0x2d], 0x888f9e97
mov byte [ebp - 0x29], cl
not dl
xor byte [ebp + esi - 0x30], dl
inc esi
cmp esi, 7
jae 0x417e9e
mov dl, byte [ebp - 0x31]
jmp 0x417e8d
mov byte [ebp - 0x29], cl
mov dl, 0x30
mov dword [ebp - 0x58], 0xa3aa9330
mov esi, ecx
mov dword [ebp - 0x54], 0xbdbbacaa
mov byte [ebp - 0x50], cl
not dl
xor byte [ebp + esi - 0x57], dl
inc esi
cmp esi, 7
jae 0x417ec7
mov dl, byte [ebp - 0x58]
jmp 0x417eb6
cmp dword [0x48aba8], 0x10
mov eax, 0x48ab94
mov byte [ebp - 0x50], cl
cmovae eax, dword [0x48ab94]
push eax
call fcn.0044759e
pop ecx
lea edx, [ebp - 0x57]
mov ecx, eax
call fcn.004354d9
xor ecx, ecx
mov dword [ebp - 0xdc], eax
mov dl, 0x29
mov dword [ebp - 0x60], 0xb5b8b929
mov dword [ebp - 0x5c], 0xbea5b7
mov esi, ecx
not dl
xor byte [ebp + esi - 0x5f], dl
inc esi
cmp esi, 6
jae 0x417f19
mov dl, byte [ebp - 0x60]
jmp 0x417f08
lea eax, [ebp - 0x5f]
mov byte [ebp - 0x59], cl
mov dword [ebp - 0x170], ecx
mov byte [ebp - 0x180], cl
lea ecx, [ebp - 0x180]
push eax
mov dword [ebp - 0x16c], 0xf
call fcn.00413d68
xor ecx, ecx
mov byte [ebp - 4], 1
mov dl, 0x28
mov dword [ebp - 0x28], 0xbaa228
mov esi, ecx
not dl
xor byte [ebp + esi - 0x27], dl
inc esi
cmp esi, 2
jae 0x417f63
mov dl, byte [ebp - 0x28]
jmp 0x417f52
lea eax, [ebp - 0x27]
mov byte [ebp - 0x25], cl
mov dword [ebp - 0x158], ecx
mov byte [ebp - 0x168], cl
lea ecx, [ebp - 0x168]
push eax
mov dword [ebp - 0x154], 0xf
call fcn.00413d68
mov byte [ebp - 4], 2
xor ecx, ecx
mov dl, 0x51
mov dword [ebp - 0x68], 0x83c3db51
mov dword [ebp - 0x64], 0xedfae2
mov esi, ecx
not dl
xor byte [ebp + esi - 0x67], dl
inc esi
cmp esi, 6
jae 0x417fb4
mov dl, byte [ebp - 0x68]
jmp 0x417fa3
lea eax, [ebp - 0x67]
mov byte [ebp - 0x61], cl
mov dword [ebp - 0x140], ecx
mov byte [ebp - 0x150], cl
lea ecx, [ebp - 0x150]
push eax
mov dword [ebp - 0x13c], 0xf
call fcn.00413d68
push dword [ebp - 0x94]
xor eax, eax
mov byte [ebp - 4], 3
mov dword [ebp - 0xac], eax
lea ecx, [ebp - 0xac]
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], eax
lea eax, [ebp - 0x138]
push eax
lea eax, [ebp - 0x180]
push eax
call fcn.00414ba0
push 0x4127c9
push 3
push 0x18
pop eax
push eax
mov dword [ebp - 0x8c], eax
lea eax, [ebp - 0x180]
push eax
mov byte [ebp - 4], 5
call fcn.0044064f
xor esi, esi
mov eax, dword [ebp - 0xa8]
mov ecx, dword [ebp - 0xac]
sub eax, ecx
cdq
idiv dword [ebp - 0x8c]
mov dword [ebp - 0xa0], esi
cmp esi, eax
jae 0x4186e9
imul esi, esi, 0x18
lea edx, [ecx + esi]
cmp dword [edx + 0x14], 0x10
jb 0x418067
mov edx, dword [edx]
mov ecx, dword [ebp - 0xdc]
call fcn.004354d9
mov byte [ebp - 0xd8], 0
lea edx, [ebp - 0x7c]
push dword [ebp - 0xd8]
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x7c], eax
call fcn.004157f9
pop ecx
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 6
call fcn.0040cd0e
lea ecx, [ebp - 0x4c]
mov byte [ebp - 0x19], al
mov byte [ebp - 4], 5
call fcn.00413b3d
cmp byte [ebp - 0x19], 0
je 0x4186d1
mov cl, 0x6f
mov dword [ebp - 0x76], 0xf1e7cc6f
mov dword [ebp - 0x72], 0xe4f5fcfc
xor edx, edx
mov word [ebp - 0x6e], 0xe3
not cl
xor byte [ebp + edx - 0x75], cl
inc edx
cmp edx, 8
jae 0x4180e2
mov cl, byte [ebp - 0x76]
jmp 0x4180d1
mov ecx, dword [ebp - 0x88]
lea edx, [ebp - 0x75]
mov byte [ebp - 0x6d], 0
call fcn.004354d9
lea edx, [ebp - 0x57]
mov dword [ebp - 0x84], eax
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x80], eax
call fcn.004354d9
mov edx, dword [ebp - 0xac]
mov ecx, eax
add edx, esi
cmp dword [edx + 0x14], 0x10
jb 0x41811a
mov edx, dword [edx]
call fcn.004354d9
mov byte [ebp - 0xd4], 0
lea edx, [ebp - 0x7c]
push dword [ebp - 0xd4]
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x9c], eax
call fcn.004157f9
pop ecx
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0xd0]
call fcn.0040c930
lea ecx, [ebp - 0x4c]
call fcn.00413b3d
lea eax, [ebp - 0xd0]
push eax
lea ecx, [ebp - 0xb8]
call fcn.0040d946
mov eax, dword [ebp - 0xb8]
mov esi, dword [ebp - 0xb4]
and dword [ebp - 0xb8], 0
and dword [ebp - 0xb4], 0
mov dword [ebp - 0x20], eax
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0xbc], esi
lea eax, [ebp - 0xd0]
push eax
lea ecx, [ebp - 0x120]
call fcn.0040d946
mov ecx, dword [ebp - 0x11c]
xor edx, edx
xorps xmm0, xmm0
mov dword [ebp - 0x98], edx
movlpd qword [ebp - 0xfc], xmm0
and dword [ebp - 0xfc], 0
and dword [ebp - 0xf8], edx
test ecx, ecx
je 0x4181de
call fcn.0040b03f
mov edx, dword [ebp - 0x98]
mov eax, dword [ebp - 0x20]
cmp eax, edx
je 0x418522
mov byte [ebp - 4], 0xc
xor edx, edx
movaps xmm0, xmmword [0x47f240]
movups xmmword [ebp - 0x44], xmm0
mov cl, byte [ebp - 0x44]
not cl
xor byte [ebp + edx - 0x43], cl
inc edx
cmp edx, 0xe
jb 0x4181fa
mov esi, dword [ebp - 0x20]
lea eax, [ebp - 0xf4]
add esi, 0x20
mov byte [ebp - 0x35], 0
push eax
mov ecx, esi
mov dword [ebp - 0x90], esi
call fcn.0040bc87
push ecx
lea ecx, [ebp - 0x114]
mov byte [ebp - 4], 0xd
push ecx
or edi, 1
mov ecx, eax
mov dword [ebp - 0x24], edi
call fcn.004143b3
or edi, 0x80
mov dword [ebp - 4], 0xe
lea edx, [ebp - 0x43]
or edi, 2
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x24], edi
call fcn.00414712
test al, al
je 0x41829e
push ecx
lea eax, [ebp - 0x138]
mov ecx, esi
push eax
call fcn.004143b3
push ecx
push dword [ebp - 0x84]
or edi, 0x404
lea ecx, [ebp - 0x138]
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x24], edi
call fcn.00413247
mov byte [ebp - 0x19], 1
cmp eax, 0xffffffff
je 0x4182a2
mov byte [ebp - 0x19], 0
mov eax, dword [ebp - 0x20]
test al, 4
je 0x4182c0
and eax, 0xfffffffb
lea ecx, [ebp - 0x138]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], eax
call fcn.00413d07
mov eax, dword [ebp - 0x20]
test al, 2
je 0x4182db
and eax, 0xfffffffd
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], eax
call fcn.00413d07
mov eax, dword [ebp - 0x20]
mov dword [ebp - 4], 0xc
test al, 1
je 0x4182fa
and eax, 0xfffffffe
lea ecx, [ebp - 0xf4]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], eax
call fcn.00413b3d
cmp byte [ebp - 0x19], 0
je 0x4184b6
call fcn.00435972
lea edx, [ebp - 0x30]
mov ecx, eax
call fcn.004354d9
and dword [ebp - 0x3c], 0
lea ecx, [ebp - 0x4c]
push 0xf
pop edi
push eax
mov dword [ebp - 0x38], edi
mov byte [ebp - 0x4c], 0
call fcn.00413d68
lea ecx, [ebp - 0x4c]
call fcn.0040d215
lea ecx, [ebp - 0x4c]
call fcn.00413d07
call fcn.00435972
mov edx, dword [ebp - 0x6c]
mov ecx, eax
call fcn.004354d9
and dword [ebp - 0x3c], 0
lea ecx, [ebp - 0x4c]
push eax
mov dword [ebp - 0x38], edi
mov byte [ebp - 0x4c], 0
call fcn.00413d68
lea ecx, [ebp - 0x4c]
call fcn.0040d215
lea ecx, [ebp - 0x4c]
call fcn.00413d07
mov cl, 9
mov byte [ebp - 0x4d], 0
mov byte [ebp - 0x4f], cl
mov al, 0xa9
not cl
mov byte [ebp - 0x4d], 0
xor al, cl
mov ecx, esi
mov byte [ebp - 0x4e], al
lea eax, [ebp - 0x1c8]
push eax
call fcn.0040bc87
push ecx
lea ecx, [ebp - 0xf4]
mov byte [ebp - 4], 0xf
push ecx
mov ecx, eax
call fcn.004143b3
mov edi, dword [ebp - 0x20]
or edi, 0x2000
mov dword [ebp - 0x24], edi
mov edx, dword [ebp - 0x6c]
lea ecx, [ebp - 0x1b0]
push 0x48aaa4
mov byte [ebp - 4], 0x10
call fcn.0041c88a
pop ecx
lea ecx, [ebp - 0xf4]
mov byte [ebp - 4], 0x11
push ecx
push eax
push dword [ebp - 0x94]
lea ecx, [ebp - 0x138]
call fcn.0041cae1
or edi, 0x10000
mov dword [ebp - 0x24], edi
lea eax, [ebp - 0x4e]
mov byte [ebp - 4], 0x12
push eax
lea edx, [ebp - 0x138]
lea ecx, [ebp - 0x198]
call fcn.0041c91b
pop ecx
mov esi, eax
mov byte [ebp - 4], 0x13
cmp dword [esi + 0x14], 0x10
jb 0x418416
mov esi, dword [esi]
call fcn.00435972
mov edx, esi
mov ecx, eax
call fcn.004354d9
and dword [ebp - 0x3c], 0
lea ecx, [ebp - 0x4c]
push eax
mov dword [ebp - 0x38], 0xf
mov byte [ebp - 0x4c], 0
call fcn.00413d68
push ecx
lea eax, [ebp - 0x114]
mov byte [ebp - 4], 0x14
mov ecx, dword [ebp - 0x90]
push eax
call fcn.004143b3
or edi, 0x20000
lea edx, [ebp - 0x4c]
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x24], edi
call fcn.00416050
lea ecx, [ebp - 0x114]
call fcn.00413d07
lea ecx, [ebp - 0x4c]
call fcn.00413d07
lea ecx, [ebp - 0x198]
call fcn.00413d07
lea ecx, [ebp - 0x138]
call fcn.00413d07
lea ecx, [ebp - 0x1b0]
call fcn.00413d07
lea ecx, [ebp - 0xf4]
call fcn.00413d07
lea ecx, [ebp - 0x1c8]
call fcn.00413b3d
jmp 0x4184b9
mov edi, dword [ebp - 0x20]
mov dword [ebp - 4], 0xb
jmp 0x4184fd
lea ecx, [ebp - 0xc0]
call fcn.0040c97a
mov eax, dword [ebp - 0xc0]
mov esi, dword [ebp - 0xbc]
mov edx, dword [ebp - 0x98]
mov dword [ebp - 0x20], eax
jmp 0x4181e1
test esi, esi
je 0x41852d
mov ecx, esi
call fcn.0040b03f
mov ecx, dword [ebp - 0xcc]
test ecx, ecx
je 0x41853c
call fcn.0040b03f
mov byte [ebp - 0xc8], 0
lea edx, [ebp - 0x80]
push dword [ebp - 0xc8]
lea ecx, [ebp - 0xf4]
mov byte [ebp - 4], 0x16
call fcn.004157f9
pop ecx
lea ecx, [ebp - 0xf4]
mov byte [ebp - 4], 0x17
call fcn.0040cd0e
lea ecx, [ebp - 0xf4]
mov byte [ebp - 0x19], al
mov byte [ebp - 4], 0x16
call fcn.00413b3d
cmp byte [ebp - 0x19], 0
je 0x41867a
call fcn.00435972
lea edx, [ebp - 0x30]
mov ecx, eax
call fcn.004354d9
and dword [ebp - 0x3c], 0
lea ecx, [ebp - 0x4c]
push eax
mov dword [ebp - 0x38], 0xf
mov byte [ebp - 0x4c], 0
call fcn.00413d68
lea ecx, [ebp - 0x4c]
call fcn.0040d215
lea ecx, [ebp - 0x4c]
call fcn.00413d07
call fcn.00435972
mov esi, dword [ebp - 0x6c]
mov ecx, eax
mov edx, esi
call fcn.004354d9
and dword [ebp - 0x3c], 0
lea ecx, [ebp - 0x4c]
push eax
mov dword [ebp - 0x38], 0xf
mov byte [ebp - 0x4c], 0
call fcn.00413d68
lea ecx, [ebp - 0x4c]
call fcn.0040d215
lea ecx, [ebp - 0x4c]
call fcn.00413d07
call fcn.00435972
mov edx, esi
mov ecx, eax
call fcn.004354d9
mov byte [ebp - 0xc4], 0
lea edx, [ebp - 0x90]
push dword [ebp - 0xc4]
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x90], eax
call fcn.004157f9
pop ecx
mov byte [ebp - 0x94], 0
lea edx, [ebp - 0x80]
push dword [ebp - 0x94]
lea ecx, [ebp - 0xf4]
mov byte [ebp - 4], 0x18
call fcn.004157f9
pop ecx
push 0x12
lea edx, [ebp - 0x114]
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0xf4]
call fcn.0040d185
pop ecx
lea ecx, [ebp - 0xf4]
call fcn.00413b3d
lea ecx, [ebp - 0x114]
call fcn.00413b3d
jmp 0x41867d
mov esi, dword [ebp - 0x6c]
mov dword [ebp - 4], 5
jmp 0x4186be
push esi
call fcn.004465c5
pop ecx
push dword [ebp - 0x84]
call fcn.004465c5
pop ecx
push dword [ebp - 0x88]
call fcn.004465c5
mov esi, dword [ebp - 0xa0]
pop ecx
inc esi
jmp 0x418036
lea ecx, [ebp - 0xac]
call fcn.00413ac8
jmp 0x418702
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret