Function at 0x404050
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x623910
mov eax, dword fs:[0]
push eax
sub esp, 0x4f0
mov eax, dword [0x717f80]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov eax, ecx
mov dword [ebp - 0x4f8], eax
mov dword [ebp - 0x4b8], eax
mov edi, dword [esi + 0x10]
mov dword [ebp - 0x4b4], edi
shr edi, 4
mov dword [ebp - 0x4b8], eax
lea eax, [edi + 1]
mov dword [ebp - 0x4bc], eax
shl eax, 4
mov dword [ebp - 0x4a4], eax
inc eax
push eax
call fcn.00622712
mov edx, eax
mov eax, dword [ebp - 0x4a4]
inc eax
mov dword [ebp - 0x4ac], edx
push eax
push 0
push edx
call sub.VCRUNTIME140.dll_memset
add esp, 0x10
cmp dword [esi + 0x14], 0xf
jbe 0x4040db
mov esi, dword [esi]
mov edx, dword [ebp - 0x4ac]
mov ecx, edx
sub ecx, esi
mov al, byte [esi]
lea esi, [esi + 1]
mov byte [ecx + esi - 1], al
test al, al
jne 0x4040e5
mov ecx, dword [ebp - 0x4b4]
mov eax, 0x10
and ecx, 0xf
sub eax, ecx
test eax, eax
jle 0x40411e
shl edi, 4
push eax
add edi, ecx
push eax
add edi, edx
push edi
call sub.VCRUNTIME140.dll_memset
mov edx, dword [ebp - 0x4ac]
add esp, 0xc
mov eax, dword [ebp - 0x4a4]
lea esi, [eax + 1]
mov byte [eax + edx], 0
push esi
call fcn.00622712
push esi
push 0
push eax
mov dword [ebp - 0x4b4], eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x10
mov dword [ebp - method.AES.virtual_0], vtable.AES.0
mov byte [ebp - 0x480], 0
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xb4], 0
mov dword [ebp - 4], 0
xor ecx, ecx
movaps xmm0, xmmword [0x6e69f0]
movups xmmword [ebp - 0x4d4], xmm0
mov dword [ebp - 0x4c4], 0x134b1316
mov byte [ebp - 0x4c0], 0
nop word [eax + eax]
mov al, byte [ebp - 0x4d4]
xor byte [ebp + ecx - 0x4d3], al
inc ecx
cmp ecx, 0x13
jb 0x4041a0
movaps xmm0, xmmword [0x6e67d0]
xor ecx, ecx
mov byte [ebp - 0x4c0], 0
movups xmmword [ebp - 0x4ec], xmm0
mov dword [ebp - 0x4dc], 0x72700000
mov word [ebp - 0x4d8], 0xa5e
mov byte [ebp - 0x4d6], 0
nop dword [eax]
nop dword [eax + eax]
mov al, byte [ebp - 0x4ec]
xor byte [ebp + ecx - 0x4eb], al
inc ecx
cmp ecx, 0x15
jb 0x4041f0
movups xmm0, xmmword [ebp - 0x4d3]
push 0x10
lea eax, [ebp - 0x4d3]
mov byte [ebp - 0x4d6], 0
push eax
lea eax, [ebp - 0x90]
mov dword [ebp - 0xbc], 0x10
push eax
mov dword [ebp - 0xb8], 0x10
movups xmmword [ebp - 0xb0], xmm0
call sub.VCRUNTIME140.dll_memcpy
mov edi, dword [ebp - 0xbc]
add esp, 0xc
mov eax, dword [ebp - 0xb8]
cmp edi, 0x10
je 0x40426b
cmp edi, 0x18
je 0x404261
mov ecx, 0xe
jmp 0x404284
xor ecx, ecx
cmp eax, 0x20
sete cl
jmp 0x40427d
cmp eax, 0x10
jne 0x404275
lea ecx, [eax - 6]
jmp 0x404284
xor ecx, ecx
cmp eax, 0x18
setne cl
lea ecx, [ecx*2 + 0xc]
cdq
xor esi, esi
and edx, 3
mov dword [ebp - 0xb4], ecx
add eax, edx
mov dword [ebp - 0x49c], ecx
sar eax, 2
mov dword [ebp - 0x498], eax
test ecx, ecx
js 0x4042dc
lea edx, [ebp - 0x47c]
nop dword [eax + eax]
test eax, eax
jle 0x4042c8
mov ecx, eax
mov edi, edx
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, dword [ebp - 0xb4]
mov eax, dword [ebp - 0x498]
inc esi
add edx, 0x20
cmp esi, ecx
jle 0x4042b0
mov edi, dword [ebp - 0xbc]
mov dword [ebp - 0x49c], ecx
xor edx, edx
test ecx, ecx
js 0x404314
lea esi, [ebp - 0x29c]
test eax, eax
jle 0x404300
mov ecx, eax
mov edi, esi
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, dword [ebp - 0xb4]
mov eax, dword [ebp - 0x498]
inc edx
add esi, 0x20
cmp edx, ecx
jle 0x4042e8
mov edi, dword [ebp - 0xbc]
mov dword [ebp - 0x49c], ecx
lea edx, [ecx + 1]
imul edx, eax
mov eax, edi
lea edi, [ebp - 0x4eb]
mov dword [ebp - 0x4a0], edx
cdq
and edx, 3
lea esi, [edx + eax]
sar esi, 2
lea eax, [ebp - 0x70]
mov dword [ebp - 0x490], esi
mov dword [ebp - 0x4a4], eax
test esi, esi
jle 0x4043e3
mov dword [ebp - 0x488], esi
nop
movzx esi, byte [edi]
lea edi, [edi + 4]
movzx edx, byte [edi - 3]
movzx ecx, byte [edi - 2]
movzx eax, byte [edi - 1]
shl esi, 8
or esi, edx
shl esi, 8
or esi, ecx
shl esi, 8
or esi, eax
mov eax, dword [ebp - 0x4a4]
mov dword [eax], esi
add eax, 4
sub dword [ebp - 0x488], 1
mov dword [ebp - 0x4a4], eax
jne 0x404350
mov esi, dword [ebp - 0x490]
xor edi, edi
cmp edi, dword [ebp - 0x4a0]
jge 0x4043d5
mov eax, edi
cdq
idiv dword [ebp - 0x498]
mov esi, eax
mov eax, dword [ebp + edi*4 - 0x70]
lea ecx, [edx + esi*8]
mov dword [ebp + ecx*4 - 0x47c], eax
mov eax, dword [ebp - 0xb4]
sub eax, esi
mov esi, dword [ebp - 0x490]
lea ecx, [edx + eax*8]
mov eax, dword [ebp + edi*4 - 0x70]
inc edi
mov dword [ebp + ecx*4 - 0x29c], eax
cmp edi, esi
jl 0x404393
mov ecx, dword [ebp - 0xb4]
mov dword [ebp - 0x49c], ecx
jmp 0x4043e5
xor edi, edi
cmp edi, dword [ebp - 0x4a0]
jge 0x404591
lea edx, [ebp - 0x74]
mov eax, 0x6d8490
lea edx, [edx + esi*4]
nop dword [eax]
movzx ecx, byte [eax]
inc eax
mov dword [ebp - 0x4b0], eax
mov eax, dword [edx]
sar eax, 0x10
movzx eax, al
movsx edx, byte [eax + 0x6d6f30]
lea eax, [ebp - 0x74]
xor edx, ecx
lea eax, [eax + esi*4]
mov ecx, dword [eax]
mov eax, ecx
sar eax, 8
movzx eax, al
shl edx, 8
movzx eax, byte [eax + 0x6d6f30]
xor edx, eax
movzx eax, cl
shl edx, 8
sar ecx, 0x18
movzx eax, byte [eax + 0x6d6f30]
xor edx, eax
movzx eax, cl
shl edx, 8
mov ecx, 1
movzx eax, byte [eax + 0x6d6f30]
xor edx, eax
xor dword [ebp - 0x70], edx
cmp esi, 8
je 0x4044a0
cmp esi, ecx
jle 0x404482
nop dword [eax]
mov eax, dword [ebp + ecx*4 - 0x74]
xor dword [ebp + ecx*4 - 0x70], eax
inc ecx
cmp ecx, esi
jl 0x404470
jmp 0x40450e
mov dword [ebp - 0x488], 0
test esi, esi
jle 0x40456d
jmp 0x404518
mov eax, dword [ebp + ecx*4 - 0x74]
xor dword [ebp + ecx*4 - 0x70], eax
inc ecx
cmp ecx, 4
jl 0x4044a0
mov ecx, dword [ebp - 0x64]
mov eax, ecx
sar eax, 0x18
movzx eax, al
movsx edx, byte [eax + 0x6d6f30]
mov eax, ecx
sar eax, 0x10
movzx eax, al
shl edx, 8
sar ecx, 8
movzx eax, byte [eax + 0x6d6f30]
xor edx, eax
movzx eax, cl
shl edx, 8
mov ecx, 5
movzx eax, byte [eax + 0x6d6f30]
xor edx, eax
movzx eax, byte [ebp - 0x64]
shl edx, 8
movzx eax, byte [eax + 0x6d6f30]
xor edx, eax
xor dword [ebp - 0x60], edx
nop
mov eax, dword [ebp + ecx*4 - 0x74]
xor dword [ebp + ecx*4 - 0x70], eax
inc ecx
cmp ecx, 8
jl 0x404500
mov dword [ebp - 0x488], 0
cmp edi, dword [ebp - 0x4a0]
jge 0x404585
mov eax, edi
inc edi
cdq
idiv dword [ebp - 0x498]
mov esi, eax
mov eax, dword [ebp - 0x488]
mov eax, dword [ebp + eax*4 - 0x70]
lea ecx, [edx + esi*8]
mov dword [ebp + ecx*4 - 0x47c], eax
mov eax, dword [ebp - 0xb4]
sub eax, esi
mov esi, dword [ebp - 0x490]
lea ecx, [edx + eax*8]
mov edx, dword [ebp - 0x488]
mov eax, dword [ebp + edx*4 - 0x70]
inc edx
mov dword [ebp + ecx*4 - 0x29c], eax
mov dword [ebp - 0x488], edx
cmp edx, esi
jl 0x404518
lea edx, [ebp - 0x74]
mov eax, dword [ebp - 0x4b0]
lea edx, [edx + esi*4]
cmp edi, dword [ebp - 0x4a0]
jl 0x404400
mov ecx, dword [ebp - 0xb4]
mov dword [ebp - 0x49c], ecx
mov esi, 1
mov dword [ebp - 0x4a4], esi
cmp ecx, esi
jle 0x404636
mov eax, dword [ebp - 0x498]
lea edx, [ebp - 0x27c]
mov dword [ebp - 0x488], edx
test eax, eax
jle 0x40461c
mov esi, edx
mov edi, eax
nop
mov edx, dword [esi]
lea esi, [esi + 4]
mov eax, edx
sar eax, 0x18
movzx ecx, al
mov eax, edx
sar eax, 0x10
movzx eax, al
mov ecx, dword [ecx*4 + 0x6d88b0]
xor ecx, dword [eax*4 + 0x6d7030]
mov eax, edx
sar eax, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x6d7830]
movzx eax, dl
xor ecx, dword [eax*4 + 0x6d84b0]
mov dword [esi - 4], ecx
sub edi, 1
jne 0x4045c0
mov ecx, dword [ebp - 0xb4]
mov eax, dword [ebp - 0x498]
mov edx, dword [ebp - 0x488]
mov esi, dword [ebp - 0x4a4]
inc esi
add edx, 0x20
mov dword [ebp - 0x4a4], esi
mov dword [ebp - 0x488], edx
cmp esi, ecx
jl 0x4045b6
mov dword [ebp - 0x49c], ecx
mov edi, dword [ebp - 0x4bc]
mov al, 1
shl edi, 4
mov byte [ebp - 0x480], al
mov dword [ebp - 0x4b8], edi
test edi, edi
je 0x404f19
mov esi, dword [ebp - 0xb8]
xor edx, edx
mov eax, edi
div esi
test edx, edx
jne 0x404f19
mov eax, dword [ebp - 0x4ac]
mov dword [ebp - 0x4a4], eax
mov eax, dword [ebp - 0x4b4]
mov dword [ebp - 0x4a0], eax
mov eax, edi
mov dword [ebp - 0x4b0], edx
div esi
test eax, eax
je 0x404f19
nop dword [eax]
nop word [eax + eax]
mov al, byte [ebp - 0x480]
lea edi, [ebp - 0x90]
test al, al
je 0x4046e6
xor edx, edx
test esi, esi
jle 0x4046e6
mov ecx, dword [ebp - 0x4a4]
nop dword [eax]
mov al, byte [ecx + edx]
lea edi, [edi + 1]
xor byte [edi - 1], al
inc edx
mov esi, dword [ebp - 0xb8]
cmp edx, esi
jl 0x4046c0
mov ecx, dword [ebp - 0xb4]
mov al, byte [ebp - 0x480]
mov dword [ebp - 0x49c], ecx
lea edi, [ebp - 0x90]
test al, al
je 0x404ebc
cmp esi, 0x10
jne 0x404baa
movzx edx, byte [ebp - 0x90]
movzx eax, byte [ebp - 0x8f]
shl edx, 8
or edx, eax
movzx eax, byte [ebp - 0x8e]
shl edx, 8
or edx, eax
movzx eax, byte [ebp - 0x8d]
shl edx, 8
or edx, eax
movzx eax, byte [ebp - 0x8c]
shl eax, 8
mov dword [ebp - 0x48c], eax
movzx eax, byte [ebp - 0x8b]
or dword [ebp - 0x48c], eax
shl dword [ebp - 0x48c], 8
movzx eax, byte [ebp - 0x8a]
or dword [ebp - 0x48c], eax
shl dword [ebp - 0x48c], 8
movzx eax, byte [ebp - 0x89]
or dword [ebp - 0x48c], eax
mov eax, dword [ebp - 0x48c]
xor eax, dword [ebp - 0x478]
mov dword [ebp - 0x48c], eax
movzx eax, byte [ebp - 0x88]
shl eax, 8
mov dword [ebp - 0x490], eax
movzx eax, byte [ebp - 0x87]
or dword [ebp - 0x490], eax
shl dword [ebp - 0x490], 8
movzx eax, byte [ebp - 0x86]
or dword [ebp - 0x490], eax
shl dword [ebp - 0x490], 8
movzx eax, byte [ebp - 0x85]
or dword [ebp - 0x490], eax
mov eax, dword [ebp - 0x490]
xor eax, dword [ebp - 0x474]
xor edx, dword [ebp - 0x47c]
mov dword [ebp - 0x490], eax
movzx eax, byte [ebp - 0x84]
shl eax, 8
mov dword [ebp - 0x494], eax
movzx eax, byte [ebp - 0x83]
or dword [ebp - 0x494], eax
shl dword [ebp - 0x494], 8
movzx eax, byte [ebp - 0x82]
or dword [ebp - 0x494], eax
shl dword [ebp - 0x494], 8
movzx eax, byte [ebp - 0x81]
or dword [ebp - 0x494], eax
mov eax, dword [ebp - 0x494]
xor eax, dword [ebp - 0x470]
mov dword [ebp - 0x498], edx
mov dword [ebp - 0x494], eax
cmp ecx, 1
jle 0x4049cb
dec ecx
lea eax, [ebp - 0x454]
mov dword [ebp - 0x4a8], ecx
mov ecx, dword [ebp - 0x494]
mov dword [ebp - 0x488], eax
jmp 0x404866
mov edx, dword [ebp - 0x498]
mov eax, dword [ebp - 0x490]
sar eax, 0x10
movzx eax, al
sar ecx, 8
movzx ecx, cl
mov edi, dword [ecx*4 + 0x6d5f30]
xor edi, dword [eax*4 + 0x6d6330]
mov eax, dword [ebp - 0x48c]
sar eax, 0x18
movzx eax, al
xor edi, dword [eax*4 + 0x6d6730]
movzx eax, dl
xor edi, dword [eax*4 + 0x6d7430]
mov eax, dword [ebp - 0x488]
xor edi, dword [eax - 4]
mov eax, dword [ebp - 0x494]
sar eax, 0x10
movzx ecx, al
mov eax, dword [ebp - 0x490]
sar eax, 0x18
movzx eax, al
mov esi, dword [ecx*4 + 0x6d6330]
xor esi, dword [eax*4 + 0x6d6730]
mov eax, edx
mov edx, dword [ebp - 0x48c]
sar eax, 8
movzx eax, al
xor esi, dword [eax*4 + 0x6d5f30]
movzx eax, dl
xor esi, dword [eax*4 + 0x6d7430]
mov eax, dword [ebp - 0x488]
xor esi, dword [eax]
mov eax, dword [ebp - 0x494]
sar eax, 0x18
movzx ecx, al
mov eax, edx
sar eax, 8
movzx eax, al
mov edx, dword [ecx*4 + 0x6d6730]
mov ecx, dword [ebp - 0x490]
xor edx, dword [eax*4 + 0x6d5f30]
mov eax, dword [ebp - 0x498]
sar eax, 0x10
movzx eax, al
mov dword [ebp - 0x490], esi
xor edx, dword [eax*4 + 0x6d6330]
movzx eax, cl
sar ecx, 8
movzx ecx, cl
xor edx, dword [eax*4 + 0x6d7430]
mov eax, dword [ebp - 0x488]
mov ecx, dword [ecx*4 + 0x6d5f30]
xor edx, dword [eax + 4]
mov eax, dword [ebp - 0x48c]
sar eax, 0x10
movzx eax, al
mov dword [ebp - 0x48c], edi
xor ecx, dword [eax*4 + 0x6d6330]
mov eax, dword [ebp - 0x498]
sar eax, 0x18
movzx eax, al
xor ecx, dword [eax*4 + 0x6d6730]
mov eax, dword [ebp - 0x494]
movzx eax, al
xor ecx, dword [eax*4 + 0x6d7430]
mov eax, dword [ebp - 0x488]
add dword [ebp - 0x488], 0x20
xor ecx, dword [eax - 8]
sub dword [ebp - 0x4a8], 1
mov eax, ecx
mov ecx, edx
mov dword [ebp - 0x498], eax
mov dword [ebp - 0x494], ecx
jne 0x404860
mov ecx, dword [ebp - 0x49c]
jmp 0x4049d1
mov eax, dword [ebp - 0x498]
sar eax, 0x18
movzx eax, al
shl ecx, 5
mov esi, dword [ebp - 0x4a0]
mov dword [ebp - 0x49c], ecx
mov edi, dword [ebp - 0x4a0]
mov edx, dword [ebp + ecx - 0x47c]
mov ecx, edx
sar ecx, 0x18
xor cl, byte [eax + 0x6d6f30]
mov eax, dword [ebp - 0x48c]
sar eax, 0x10
movzx eax, al
mov byte [esi], cl
mov ecx, edx
sar ecx, 0x10
xor cl, byte [eax + 0x6d6f30]
mov eax, dword [ebp - 0x490]
sar eax, 8
movzx eax, al
mov byte [esi + 1], cl
mov ecx, edx
sar ecx, 8
xor cl, byte [eax + 0x6d6f30]
mov eax, dword [ebp - 0x494]
movzx eax, al
mov byte [esi + 2], cl
movzx eax, byte [eax + 0x6d6f30]
xor al, dl
mov byte [esi + 3], al
mov esi, dword [ebp - 0x49c]
mov eax, dword [ebp - 0x48c]
sar eax, 0x18
movzx eax, al
mov edx, dword [ebp + esi - 0x478]
mov ecx, edx
sar ecx, 0x18
xor cl, byte [eax + 0x6d6f30]
mov eax, dword [ebp - 0x4a0]
mov byte [eax + 4], cl
mov ecx, edx
mov eax, dword [ebp - 0x490]
sar eax, 0x10
movzx eax, al
sar ecx, 0x10
xor cl, byte [eax + 0x6d6f30]
mov eax, dword [ebp - 0x4a0]
mov byte [eax + 5], cl
mov ecx, edx
mov eax, dword [ebp - 0x494]
sar eax, 8
movzx eax, al
sar ecx, 8
xor cl, byte [eax + 0x6d6f30]
mov eax, dword [ebp - 0x4a0]
mov byte [eax + 6], cl
mov eax, dword [ebp - 0x498]
movzx eax, al
movzx eax, byte [eax + 0x6d6f30]
xor al, dl
mov edx, dword [ebp - 0x4a0]
mov byte [edx + 7], al
mov eax, dword [ebp - 0x490]
mov edx, dword [ebp + esi - 0x474]
mov ecx, edx
sar eax, 0x18
movzx eax, al
sar ecx, 0x18
xor cl, byte [eax + 0x6d6f30]
mov eax, dword [ebp - 0x494]
sar eax, 0x10
mov byte [edi + 8], cl
mov ecx, edx
movzx eax, al
sar ecx, 0x10
xor cl, byte [eax + 0x6d6f30]
mov eax, dword [ebp - 0x498]
sar eax, 8
mov byte [edi + 9], cl
mov ecx, edx
movzx eax, al
sar ecx, 8
xor cl, byte [eax + 0x6d6f30]
mov eax, dword [ebp - 0x48c]
movzx eax, al
mov byte [edi + 0xa], cl
movzx eax, byte [eax + 0x6d6f30]
xor al, dl
mov edx, dword [ebp + esi - 0x470]
mov byte [edi + 0xb], al
mov ecx, edx
mov eax, dword [ebp - 0x494]
sar eax, 0x18
movzx eax, al
sar ecx, 0x18
xor cl, byte [eax + 0x6d6f30]
mov eax, dword [ebp - 0x498]
sar eax, 0x10
movzx eax, al
mov byte [edi + 0xc], cl
mov ecx, edx
sar ecx, 0x10
xor cl, byte [eax + 0x6d6f30]
mov eax, dword [ebp - 0x48c]
sar eax, 8
movzx eax, al
mov byte [edi + 0xd], cl
mov ecx, edx
sar ecx, 8
xor cl, byte [eax + 0x6d6f30]
mov eax, dword [ebp - 0x490]
movzx eax, al
mov byte [edi + 0xe], cl
movzx eax, byte [eax + 0x6d6f30]
xor al, dl
mov byte [edi + 0xf], al
jmp 0x404ec2
mov eax, esi
cdq
and edx, 3
lea esi, [edx + eax]
sar esi, 2
cmp esi, 4
jne 0x404bef
mov eax, dword [0x6d8438]
lea edx, [ebp - 0x30]
mov dword [ebp - 0x49c], eax
mov eax, dword [0x6d8440]
mov dword [ebp - 0x498], eax
mov eax, dword [0x6d8448]
mov dword [ebp - 0x490], eax
xor eax, eax
mov dword [ebp - 0x488], edx
mov dword [ebp - 0x48c], eax
jmp 0x404c40
cmp esi, 6
mov edx, 0x20
mov eax, 0x40
cmove eax, edx
mov edx, dword [eax + 0x6d8438]
mov dword [ebp - 0x49c], edx
mov edx, dword [eax + 0x6d8440]
mov eax, dword [eax + 0x6d8448]
mov dword [ebp - 0x498], edx
lea edx, [ebp - 0x30]
mov dword [ebp - 0x490], eax
xor eax, eax
mov dword [ebp - 0x488], edx
mov dword [ebp - 0x48c], eax
test esi, esi
jle 0x404c9a
nop dword [eax + eax]
movzx eax, byte [edi]
lea edi, [edi + 4]
shl eax, 0x18
mov dword [edx], eax
movzx ecx, byte [edi - 3]
shl ecx, 0x10
or ecx, eax
mov eax, dword [ebp - 0x488]
add dword [ebp - 0x488], 4
mov dword [edx], ecx
movzx edx, byte [edi - 2]
shl edx, 8
or edx, ecx
mov dword [eax], edx
movzx ecx, byte [edi - 1]
or edx, ecx
mov ecx, dword [ebp - 0x48c]
xor edx, dword [ebp + ecx*4 - 0x47c]
inc ecx
mov dword [eax], edx
mov edx, dword [ebp - 0x488]
mov dword [ebp - 0x48c], ecx
cmp ecx, esi
jl 0x404c40
mov ecx, dword [ebp - 0xb4]
mov dword [ebp - 0x48c], 1
cmp ecx, 1
jle 0x404dbc
lea eax, [ebp - 0x45c]
mov dword [ebp - 0x494], eax
nop dword [eax]
mov dword [ebp - 0x4a8], 0
test esi, esi
jle 0x404d7a
mov edx, dword [ebp - 0x49c]
mov edi, edx
mov ecx, dword [ebp - 0x490]
mov dword [ebp - 0x488], eax
mov eax, dword [ebp - 0x498]
sub eax, edx
sub ecx, edx
mov dword [ebp - 0x4f4], eax
mov dword [ebp - 0x4f0], ecx
nop dword [eax]
add eax, edi
cdq
idiv esi
mov eax, dword [ebp + edx*4 - 0x30]
sar eax, 8
movzx ecx, al
mov eax, dword [ebp - 0x4f0]
add eax, edi
cdq
idiv esi
mov ecx, dword [ecx*4 + 0x6d5f30]
movzx eax, byte [ebp + edx*4 - 0x30]
xor ecx, dword [eax*4 + 0x6d7430]
mov eax, edi
cdq
inc edi
idiv esi
movsx eax, word [ebp + edx*4 - 0x2e]
mov edx, dword [ebp - 0x4a8]
movzx eax, al
xor ecx, dword [eax*4 + 0x6d6330]
movzx eax, byte [ebp + edx*4 - 0x2d]
xor ecx, dword [eax*4 + 0x6d6730]
mov eax, dword [ebp - 0x488]
xor ecx, dword [eax]
add eax, 4
mov dword [ebp + edx*4 - 0x50], ecx
inc edx
mov dword [ebp - 0x488], eax
mov eax, dword [ebp - 0x4f4]
mov dword [ebp - 0x4a8], edx
cmp edx, esi
jl 0x404d00
lea eax, [esi*4]
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x30]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov edx, dword [ebp - 0x48c]
add esp, 0xc
mov eax, dword [ebp - 0x494]
inc edx
mov ecx, dword [ebp - 0xb4]
add eax, 0x20
mov dword [ebp - 0x48c], edx
mov dword [ebp - 0x494], eax
cmp edx, ecx
jl 0x404cc0
mov edi, dword [ebp - 0x4a0]
xor eax, eax
mov dword [ebp - 0x4a8], eax
test esi, esi
jle 0x404ec2
shl ecx, 5
lea edx, [ebp - 0x47c]
add ecx, edx
mov edx, dword [ebp - 0x498]
sub dword [ebp - 0x49c], edx
sub dword [ebp - 0x490], edx
mov dword [ebp - 0x48c], ecx
movzx eax, byte [ebp + eax*4 - 0x2d]
mov ecx, dword [ecx]
sar ecx, 0x18
xor cl, byte [eax + 0x6d6f30]
mov eax, dword [ebp - 0x49c]
add eax, edx
mov byte [edi], cl
cdq
inc edi
idiv esi
mov ecx, dword [ebp - 0x48c]
mov dword [ebp - 0x488], edi
movsx eax, word [ebp + edx*4 - 0x2e]
mov edi, dword [ecx]
mov ecx, edi
movzx eax, al
sar ecx, 0x10
xor cl, byte [eax + 0x6d6f30]
mov eax, dword [ebp - 0x488]
mov byte [eax], cl
inc eax
mov dword [ebp - 0x488], eax
mov ecx, edi
mov eax, dword [ebp - 0x498]
cdq
idiv esi
sar ecx, 8
mov edi, dword [ebp - 0x488]
mov eax, dword [ebp + edx*4 - 0x30]
sar eax, 8
movzx eax, al
xor cl, byte [eax + 0x6d6f30]
mov eax, dword [ebp - 0x498]
add eax, dword [ebp - 0x490]
cdq
idiv esi
mov byte [edi], cl
mov ecx, dword [ebp - 0x48c]
movzx eax, byte [ebp + edx*4 - 0x30]
mov edx, dword [ebp - 0x498]
inc edx
mov dword [ebp - 0x498], edx
mov al, byte [eax + 0x6d6f30]
xor al, byte [ecx]
add ecx, 4
mov byte [edi + 1], al
add edi, 2
mov eax, dword [ebp - 0x4a8]
inc eax
mov dword [ebp - 0x48c], ecx
mov dword [ebp - 0x4a8], eax
cmp eax, esi
jl 0x404df5
mov edi, dword [ebp - 0x4a0]
mov eax, dword [ebp - 0xb8]
push eax
lea eax, [ebp - 0x90]
push edi
push eax
call sub.VCRUNTIME140.dll_memcpy
mov esi, dword [ebp - 0xb8]
xor edx, edx
mov eax, dword [ebp - 0x4b8]
add edi, esi
div esi
mov ecx, dword [ebp - 0x4b0]
add esp, 0xc
add dword [ebp - 0x4a4], esi
inc ecx
mov dword [ebp - 0x4a0], edi
mov dword [ebp - 0x4b0], ecx
cmp ecx, eax
jae 0x404f19
mov ecx, dword [ebp - 0xb4]
mov dword [ebp - 0x49c], ecx
jmp 0x4046a0
mov eax, dword [ebp - 0x4bc]
mov esi, dword [ebp - 0x4b4]
mov edx, esi
mov ecx, dword [ebp - 0x4f8]
shl eax, 4
push eax
call fcn.004014b0
push dword [ebp - 0x4ac]
call fcn.00622535
push esi
call fcn.00622535
mov eax, dword [ebp - 0x4f8]
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00622073
mov esp, ebp
pop ebp
ret