Function at 0x442590
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
push 0xffffffffffffffff
push 0x7f863f
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xf8
mov eax, dword [0x90cf34]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [0x1807d24]
lea ecx, [ebp - 0x108]
push 0
call fcn.0045ef40
mov dword [ebp - 4], 0
lea eax, [ebp - 0x34]
push dword [esi + 0x84c]
push 0x8d2e50
push eax
call fcn.00413c60
sub esp, 0xc
mov byte [ebp - 4], 1
mov ecx, esp
mov dword [ebp - 0xec], esp
push eax
call fcn.0045ee20
push 0x8d2e48
lea ecx, [ebp - 0x108]
mov byte [ebp - 4], 2
call fcn.0045f7c0
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.0045f3f0
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x20]
cmp edx, 0x10
jb 0x44266b
mov ecx, dword [ebp - 0x34]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x442661
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4430b9
push edx
push ecx
call fcn.0059982b
add esp, 8
lea edx, [esi + 0x15c]
mov dword [ebp - 0x3c], 0
mov ecx, edx
mov dword [ebp - 0x38], 7
xor eax, eax
mov word [ebp - 0x4c], ax
lea edi, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x442690
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x4c]
call fcn.0040d800
lea edx, [ebp - 0x4c]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x34]
call fcn.0041f010
mov byte [ebp - 4], 4
cmp dword [eax + 0x14], 0x10
jb 0x4426c4
mov eax, dword [eax]
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xec], esp
push eax
call fcn.0045eef0
push 0x8d2b14
lea ecx, [ebp - 0x108]
mov byte [ebp - 4], 5
call fcn.0045f7c0
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.0045f3f0
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x20]
cmp edx, 0x10
jb 0x44272c
mov ecx, dword [ebp - 0x34]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x442722
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4430be
push edx
push ecx
call fcn.0059982b
add esp, 8
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
cmp edx, 8
jb 0x44277c
mov ecx, dword [ebp - 0x4c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x442772
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4430c3
push edx
push ecx
call fcn.0059982b
add esp, 8
lea edx, [esi + 0x11c]
mov dword [ebp - 0x3c], 0
mov ecx, edx
mov dword [ebp - 0x38], 7
xor eax, eax
mov word [ebp - 0x4c], ax
lea edi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4427a0
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x4c]
call fcn.0040d800
lea edx, [ebp - 0x4c]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x34]
call fcn.0041f010
mov byte [ebp - 4], 7
cmp dword [eax + 0x14], 0x10
jb 0x4427d4
mov eax, dword [eax]
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xec], esp
push eax
call fcn.0045eef0
push 0x8d2b1c
lea ecx, [ebp - 0x108]
mov byte [ebp - 4], 8
call fcn.0045f7c0
mov ecx, eax
mov byte [ebp - 4], 7
call fcn.0045f3f0
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x20]
cmp edx, 0x10
jb 0x44283c
mov ecx, dword [ebp - 0x34]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x442832
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4430c8
push edx
push ecx
call fcn.0059982b
add esp, 8
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
cmp edx, 8
jb 0x44288c
mov ecx, dword [ebp - 0x4c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x442882
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4430cd
push edx
push ecx
call fcn.0059982b
add esp, 8
lea edx, [esi + 0x7ec]
lea ecx, [ebp - 0x34]
call fcn.0041f010
mov byte [ebp - 4], 9
cmp dword [eax + 0x14], 0x10
jb 0x4428a6
mov eax, dword [eax]
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xec], esp
push eax
call fcn.0045eef0
push 0x8d2b2c
lea ecx, [ebp - 0x108]
mov byte [ebp - 4], 0xa
call fcn.0045f7c0
mov ecx, eax
mov byte [ebp - 4], 9
call fcn.0045f3f0
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x20]
cmp edx, 0x10
jb 0x44290e
mov ecx, dword [ebp - 0x34]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x442904
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4430d2
push edx
push ecx
call fcn.0059982b
add esp, 8
lea edx, [esi + 0x804]
lea ecx, [ebp - 0x34]
call fcn.0041f010
mov byte [ebp - 4], 0xb
cmp dword [eax + 0x14], 0x10
jb 0x442928
mov eax, dword [eax]
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xec], esp
push eax
call fcn.0045eef0
push 0x8d2e54
lea ecx, [ebp - 0x108]
mov byte [ebp - 4], 0xc
call fcn.0045f7c0
mov ecx, eax
mov byte [ebp - 4], 0xb
call fcn.0045f3f0
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x20]
cmp edx, 0x10
jb 0x442990
mov ecx, dword [ebp - 0x34]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x442986
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4430d7
push edx
push ecx
call fcn.0059982b
add esp, 8
mov edx, 0x1807db8
lea ecx, [ebp - 0x34]
call fcn.0041f010
mov byte [ebp - 4], 0xd
cmp dword [eax + 0x14], 0x10
jb 0x4429a9
mov eax, dword [eax]
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xec], esp
push eax
call fcn.0045eef0
push 0x8d2b34
lea ecx, [ebp - 0x108]
mov byte [ebp - 4], 0xe
call fcn.0045f7c0
mov ecx, eax
mov byte [ebp - 4], 0xd
call fcn.0045f3f0
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x20]
cmp edx, 0x10
jb 0x442a11
mov ecx, dword [ebp - 0x34]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x442a07
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4430dc
push edx
push ecx
call fcn.0059982b
add esp, 8
lea edx, [esi + 0x864]
lea ecx, [ebp - 0x34]
call fcn.0041f010
mov byte [ebp - 4], 0xf
cmp dword [eax + 0x14], 0x10
jb 0x442a2b
mov eax, dword [eax]
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xec], esp
push eax
call fcn.0045eef0
push 0x8d2b38
lea ecx, [ebp - 0x108]
mov byte [ebp - 4], 0x10
call fcn.0045f7c0
mov ecx, eax
mov byte [ebp - 4], 0xf
call fcn.0045f3f0
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x20]
cmp edx, 0x10
jb 0x442a93
mov ecx, dword [ebp - 0x34]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x442a89
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4430e1
push edx
push ecx
call fcn.0059982b
add esp, 8
sub esp, 0x18
lea eax, [esi + 8]
mov ecx, esp
mov dword [ebp - 0xec], esp
push eax
call fcn.0045ec80
push 0x8d2b24
lea ecx, [ebp - 0x108]
mov byte [ebp - 4], 0x11
call fcn.0045f7c0
mov ecx, eax
mov byte [ebp - 4], 0
call fcn.0045f3f0
push dword [esi + 0x5f0]
lea eax, [ebp - 0x34]
push 0x8d2e50
push eax
call fcn.00413c60
sub esp, 0xc
mov byte [ebp - 4], 0x12
mov ecx, esp
mov dword [ebp - 0xec], esp
push eax
call fcn.0045ee20
push 0x8d2ea8
lea ecx, [ebp - 0x108]
mov byte [ebp - 4], 0x13
call fcn.0045f7c0
mov ecx, eax
mov byte [ebp - 4], 0x12
call fcn.0045f3f0
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x20]
cmp edx, 0x10
jb 0x442b46
mov ecx, dword [ebp - 0x34]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x442b3c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4430e6
push edx
push ecx
call fcn.0059982b
add esp, 8
lea ecx, [ebp - 0xe8]
call fcn.00462ad0
lea eax, [ebp - 0x108]
mov byte [ebp - 4], 0x14
push eax
lea eax, [ebp - 0x94]
push eax
lea ecx, [ebp - 0xe8]
call fcn.00463da0
push 0x408
call fcn.006ad406
mov esi, eax
add esp, 4
mov dword [ebp - 0xec], esi
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
mov byte [ebp - 4], 0x17
mov edi, 1
cmp byte [0x8d333b], 0
mov eax, dword [0x8d3334]
mov ecx, dword [0x18011f4]
mov dword [ebp - 0x1c], eax
mov eax, dword [0x8d3338]
mov dword [ebp - 0x18], eax
je 0x442d0b
xor edx, edx
mov dword [ebp - 0xf0], edx
cmp ecx, 2
jl 0x442cd2
movaps xmm2, xmmword [0x8d5c60]
mov edx, 0x1f
movaps xmm4, xmmword [0x8d5cd0]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
movd xmm5, edi
psrad xmm1, xmm5
movd xmm6, edx
movaps xmm0, xmm1
psrld xmm0, xmm6
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x8d5c80]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x8d5c70]
paddd xmm2, xmmword [0x8d5c60]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x8d5cc0]
movd xmm0, dword [0x8d3334]
packuswb xmm1, xmm1
paddb xmm1, xmmword [0x8d5ce0]
pxor xmm1, xmm0
movaps xmm0, xmm2
movd dword [ebp - 0x1c], xmm1
movaps xmm1, xmm2
punpckldq xmm1, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm6
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x8d5c80]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x8d5cc0]
packuswb xmm1, xmm1
paddb xmm1, xmmword [0x8d5ce0]
movd xmm0, eax
pxor xmm1, xmm0
movd dword [ebp - 0x18], xmm1
jmp 0x442d0b
mov eax, 0x94f2095
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0xf0]
movsx eax, al
mov cl, dl
imul eax, eax, 0x37
sub cl, al
add cl, 0x32
xor byte [ebp + edx - 0x1c], cl
inc edx
mov dword [ebp - 0xf0], edx
cmp edx, 8
jl 0x442cd2
mov ecx, dword [0x18011f4]
lea edi, [ebp - 0x1c]
lea edx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x442d11
mov eax, dword [0x8d3334]
sub edi, edx
cmp byte [0x8d333b], 0
mov dword [ebp - 0x1c], eax
mov eax, dword [0x8d3338]
mov dword [ebp - 0x18], eax
je 0x442e89
xor edx, edx
mov dword [ebp - 0xf0], edx
cmp ecx, 2
jl 0x442e56
movaps xmm2, xmmword [0x8d5c60]
mov eax, 1
movaps xmm5, xmmword [0x8d5cd0]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm5
pmuldq xmm1, xmm5
shufps xmm1, xmm0, 0xdd
movd xmm6, eax
mov eax, 0x1f
psrad xmm1, xmm6
movaps xmm0, xmm1
movd xmm7, eax
mov eax, dword [0x8d5ce0]
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x8d5c80]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x8d5c70]
paddd xmm2, xmmword [0x8d5c60]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x8d5cc0]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [0x8d3334]
pxor xmm1, xmm0
movaps xmm0, xmm2
movd dword [ebp - 0x1c], xmm1
movaps xmm1, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm5
pmuldq xmm1, xmm5
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x8d5c80]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x8d5cc0]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [0x8d3338]
pxor xmm1, xmm0
movd dword [ebp - 0x18], xmm1
jmp 0x442e89
mov eax, 0x94f2095
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0xf0]
movsx eax, al
mov cl, dl
imul eax, eax, 0x37
sub cl, al
add cl, 0x32
xor byte [ebp + edx - 0x1c], cl
inc edx
mov dword [ebp - 0xf0], edx
cmp edx, 8
jl 0x442e56
push edi
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0xec]
call fcn.00408a70
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x94]
push eax
lea ecx, [ebp - 0xec]
call fcn.00408b40
lea edx, [ebp - 0x34]
lea ecx, [ebp - 0x7c]
call fcn.00403890
mov byte [ebp - 4], 0x18
lea edx, [ebp - 0x7c]
cmp dword [ebp - 0x68], 0x10
mov dword [ebp - 0x3c], 0
cmovae edx, dword [ebp - 0x7c]
mov ecx, edx
mov dword [ebp - 0x38], 0xf
mov byte [ebp - 0x4c], 0
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x442ee0
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x4c]
call fcn.00405af0
lea edx, [ebp - 0x4c]
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x64]
call fcn.0041de70
mov byte [ebp - 4], 0x1b
mov edx, dword [ebp - 0x38]
cmp edx, 0x10
jb 0x442f3a
mov ecx, dword [ebp - 0x4c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x442f30
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4430eb
push edx
push ecx
call fcn.0059982b
add esp, 8
cmp dword [ebp - 0x50], 8
lea edx, [ebp - 0x64]
mov ecx, 0x8d1c98
mov dword [ebp - 0x3c], 0
cmovae edx, dword [ebp - 0x64]
mov dword [ebp - 0x38], 0xf
mov byte [ebp - 0x4c], 0
call fcn.00441790
mov edx, dword [ebp - 0x50]
cmp edx, 8
jb 0x442f9b
mov ecx, dword [ebp - 0x64]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x442f91
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4430f0
push edx
push ecx
call fcn.0059982b
add esp, 8
mov edx, dword [ebp - 0x68]
xor eax, eax
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 7
mov word [ebp - 0x64], ax
cmp edx, 0x10
jb 0x442fe3
mov ecx, dword [ebp - 0x7c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x442fd9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4430f5
push edx
push ecx
call fcn.0059982b
add esp, 8
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0xf
mov byte [ebp - 0x7c], 0
cmp edx, 0x10
jb 0x443029
mov ecx, dword [ebp - 0x34]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x44301f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4430fa
push edx
push ecx
call fcn.0059982b
add esp, 8
test esi, esi
je 0x443036
push esi
call fcn.006acee9
add esp, 4
mov edx, dword [ebp - 0x80]
cmp edx, 0x10
jb 0x44306d
mov ecx, dword [ebp - 0x94]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x443063
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4430ff
push edx
push ecx
call fcn.0059982b
add esp, 8
lea ecx, [ebp - 0xe8]
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0xf
mov byte [ebp - 0x94], 0
call fcn.00450350
lea ecx, [ebp - 0x108]
call fcn.0045f310
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0059961f
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.006a6ec9
call fcn.006a6ec9
call fcn.006a6ec9
call fcn.006a6ec9
call fcn.006a6ec9
call fcn.006a6ec9
call fcn.006a6ec9
call fcn.006a6ec9
call fcn.006a6ec9
call fcn.006a6ec9
call fcn.006a6ec9
call fcn.006a6ec9
call fcn.006a6ec9
call fcn.006a6ec9
call fcn.006a6ec9
int3