Function at 0x407cb0
Capabilities:
Encode data using xor
Encrypt data using salsa20 or chacha

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf8
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x80], eax
test ebx, ebx
je 0x4087c2
push esi
mov esi, dword [ebp + 8]
push edi
movzx edx, byte [esi + 3]
shl edx, 8
movzx ecx, byte [esi + 2]
or edx, ecx
movzx ecx, byte [esi + 1]
shl edx, 8
or edx, ecx
movzx ecx, byte [esi]
shl edx, 8
or edx, ecx
movzx ecx, byte [esi + 6]
mov dword [ebp - 0xb8], edx
movzx edx, byte [esi + 7]
shl edx, 8
or edx, ecx
movzx ecx, byte [esi + 5]
shl edx, 8
or edx, ecx
movzx ecx, byte [esi + 4]
shl edx, 8
or edx, ecx
movzx ecx, byte [esi + 0xa]
mov dword [ebp - 0xb4], edx
movzx edx, byte [esi + 0xb]
shl edx, 8
or edx, ecx
movzx ecx, byte [esi + 9]
shl edx, 8
or edx, ecx
movzx ecx, byte [esi + 8]
shl edx, 8
or edx, ecx
movzx ecx, byte [esi + 0xe]
mov dword [ebp - 0xb0], edx
movzx edx, byte [esi + 0xf]
shl edx, 8
or edx, ecx
movzx ecx, byte [esi + 0xd]
shl edx, 8
or edx, ecx
movzx ecx, byte [esi + 0xc]
shl edx, 8
or edx, ecx
movzx ecx, byte [esi + 0x12]
mov dword [ebp - 0xac], edx
movzx edx, byte [esi + 0x13]
shl edx, 8
or edx, ecx
movzx ecx, byte [esi + 0x11]
shl edx, 8
or edx, ecx
movzx ecx, byte [esi + 0x10]
shl edx, 8
or edx, ecx
movzx ecx, byte [esi + 0x16]
mov dword [ebp - 0xa8], edx
movzx edx, byte [esi + 0x17]
shl edx, 8
or edx, ecx
movzx ecx, byte [esi + 0x15]
shl edx, 8
or edx, ecx
movzx ecx, byte [esi + 0x14]
shl edx, 8
or edx, ecx
movzx ecx, byte [esi + 0x1a]
mov dword [ebp - 0xa4], edx
movzx edx, byte [esi + 0x1b]
shl edx, 8
or edx, ecx
movzx ecx, byte [esi + 0x19]
shl edx, 8
or edx, ecx
movzx ecx, byte [esi + 0x18]
shl edx, 8
or edx, ecx
mov dword [ebp - 0xa0], edx
movzx edx, byte [esi + 0x1f]
shl edx, 8
movzx ecx, byte [esi + 0x1e]
or edx, ecx
mov edi, dword [ebp + 0xc]
movzx ecx, byte [esi + 0x1d]
shl edx, 8
or edx, ecx
movzx ecx, byte [esi + 0x1c]
shl edx, 8
or edx, ecx
movzx ecx, byte [esi + 0x22]
mov dword [ebp - 0x9c], edx
movzx edx, byte [esi + 0x23]
shl edx, 8
or edx, ecx
movzx ecx, byte [esi + 0x21]
shl edx, 8
or edx, ecx
movzx ecx, byte [esi + 0x20]
shl edx, 8
or edx, ecx
movzx ecx, byte [esi + 0x26]
mov dword [ebp - 0x84], edx
mov dword [ebp - 0x98], edx
movzx edx, byte [esi + 0x27]
shl edx, 8
or edx, ecx
movzx ecx, byte [esi + 0x25]
shl edx, 8
or edx, ecx
movzx ecx, byte [esi + 0x24]
shl edx, 8
or edx, ecx
movzx ecx, byte [esi + 0x2a]
mov dword [ebp - 0x70], edx
mov dword [ebp - 0x94], edx
movzx edx, byte [esi + 0x2b]
shl edx, 8
or edx, ecx
movzx ecx, byte [esi + 0x29]
shl edx, 8
or edx, ecx
movzx ecx, byte [esi + 0x28]
movdqu xmm3, xmmword [ebp - 0xa8]
shl edx, 8
or edx, ecx
movzx ecx, byte [esi + 0x2e]
movdqu xmm4, xmmword [ebp - 0xb8]
mov dword [ebp - 0x90], edx
movzx edx, byte [esi + 0x2f]
movdqu xmm5, xmmword [str.expand_32_byte_k]
shl edx, 8
or edx, ecx
movzx ecx, byte [esi + 0x2d]
shl edx, 8
or edx, ecx
movzx ecx, byte [esi + 0x2c]
shl edx, 8
or edx, ecx
mov ecx, str.expand_32_byte_k
mov dword [ebp - 0x8c], edx
mov edx, dword [esi + 0x30]
mov dword [ebp - 0x7c], edx
movdqu xmm2, xmmword [ecx]
mov edi, edi
cmp ebx, 0x40
jae 0x407f01
test edi, edi
je 0x407ef5
xor esi, esi
test ebx, ebx
je 0x407eec
lea ecx, [ebp - 0xf8]
sub edi, ecx
lea edx, [ebp - 0xf8]
add edx, esi
inc esi
mov cl, byte [edi + edx]
mov byte [edx], cl
cmp esi, ebx
jb 0x407ed7
mov edx, dword [ebp - 0x7c]
lea ecx, [ebp - 0xf8]
mov dword [ebp + 0xc], ecx
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0xf8]
mov dword [ebp + 0x10], eax
movdqu xmm0, xmmword [ebp - 0x98]
mov dword [ebp - 0x88], edx
movdqu xmmword [ebp - 0x58], xmm4
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x6c], ecx
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x74], ecx
mov ecx, dword [ebp - 0x58]
movdqu xmmword [ebp - 0x68], xmm5
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp - 0x5c]
movdqu xmmword [ebp - 0x48], xmm3
mov eax, dword [ebp - 0x3c]
mov edi, dword [ebp - 0x48]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x60]
movdqu xmmword [ebp - 0x38], xmm0
mov edx, dword [ebp - 0x30]
mov ebx, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x38]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x28], edx
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 0x68]
add ecx, dword [ebp - 0x24]
xor esi, ecx
mov dword [ebp - 0x10], ecx
rol esi, 0x10
add edi, esi
mov ecx, edi
xor ecx, dword [ebp - 0x24]
rol ecx, 0xc
add dword [ebp - 0x10], ecx
xor esi, dword [ebp - 0x10]
rol esi, 8
add edi, esi
mov dword [ebp - 0x24], esi
mov esi, dword [ebp - 0x1c]
mov dword [ebp - 0x20], edi
xor edi, ecx
mov ecx, dword [ebp - 4]
add ecx, dword [ebp - 0x74]
xor edx, ecx
mov dword [ebp - 4], ecx
rol edx, 0x10
add esi, edx
rol edi, 7
mov ecx, esi
xor ecx, dword [ebp - 0x74]
rol ecx, 0xc
add dword [ebp - 4], ecx
xor edx, dword [ebp - 4]
rol edx, 8
add esi, edx
mov dword [ebp - 0x78], edx
mov edx, esi
mov dword [ebp - 0x1c], esi
mov esi, dword [ebp - 0x28]
xor edx, ecx
mov ecx, dword [ebp - 0xc]
add ecx, dword [ebp - 0x6c]
xor esi, ecx
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp - 8]
rol esi, 0x10
add ecx, esi
rol edx, 7
mov dword [ebp - 8], ecx
xor ecx, dword [ebp - 0x6c]
rol ecx, 0xc
add dword [ebp - 0xc], ecx
xor esi, dword [ebp - 0xc]
rol esi, 8
add dword [ebp - 8], esi
mov dword [ebp - 0x28], esi
mov esi, dword [ebp - 8]
xor esi, ecx
mov ecx, dword [ebp - 0x14]
add ecx, eax
rol esi, 7
xor ebx, ecx
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x18]
rol ebx, 0x10
add ecx, ebx
mov dword [ebp - 0x18], ecx
xor ecx, eax
mov eax, dword [ebp - 0x14]
rol ecx, 0xc
add eax, ecx
xor ebx, eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
rol ebx, 8
add eax, ebx
mov dword [ebp - 0x18], eax
xor eax, ecx
mov ecx, dword [ebp - 0x10]
add ecx, edx
rol eax, 7
xor ebx, ecx
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 8]
rol ebx, 0x10
add ecx, ebx
mov dword [ebp - 8], ecx
xor ecx, edx
mov edx, dword [ebp - 0x10]
rol ecx, 0xc
add edx, ecx
xor ebx, edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x68], edx
mov edx, dword [ebp - 8]
rol ebx, 8
add edx, ebx
mov dword [ebp - 8], edx
mov dword [ebp - 0x40], edx
xor edx, ecx
mov ecx, dword [ebp - 4]
add ecx, esi
rol edx, 7
mov dword [ebp - 4], ecx
xor ecx, dword [ebp - 0x24]
rol ecx, 0x10
mov dword [ebp - 0x74], edx
mov dword [ebp - 0x54], edx
mov edx, dword [ebp - 0x18]
add edx, ecx
mov dword [ebp - 0x18], edx
xor edx, esi
mov esi, dword [ebp - 4]
rol edx, 0xc
add esi, edx
mov dword [ebp - 4], esi
mov dword [ebp - 0x64], esi
xor esi, ecx
mov ecx, dword [ebp - 0x18]
rol esi, 8
add ecx, esi
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x3c], ecx
xor ecx, edx
mov edx, dword [ebp - 0x20]
rol ecx, 7
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x50], ecx
mov ecx, dword [ebp - 0xc]
add ecx, eax
mov dword [ebp - 0xc], ecx
xor ecx, dword [ebp - 0x78]
rol ecx, 0x10
add edx, ecx
xor eax, edx
mov dword [ebp - 0x20], edx
mov edx, dword [ebp - 0xc]
rol eax, 0xc
add edx, eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x60], edx
xor edx, ecx
mov ecx, dword [ebp - 0x20]
rol edx, 8
add ecx, edx
mov dword [ebp - 0x78], edx
xor eax, ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x48], ecx
mov ecx, dword [ebp - 0x14]
add ecx, edi
mov dword [ebp - 0x34], edx
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x14], ecx
xor ecx, dword [ebp - 0x28]
rol ecx, 0x10
add edx, ecx
rol eax, 7
mov dword [ebp - 0x1c], edx
xor edx, edi
mov edi, dword [ebp - 0x14]
rol edx, 0xc
add edi, edx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x5c], edi
xor edi, ecx
mov ecx, dword [ebp - 0x1c]
rol edi, 8
add ecx, edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x44], ecx
xor ecx, edx
mov edx, dword [ebp - 0x78]
rol ecx, 7
sub dword [ebp - 0x88], 2
mov dword [ebp - 0x30], edi
mov edi, dword [ebp - 0x20]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x58], ecx
mov ecx, dword [ebp - 0x10]
jne 0x407f71
movdqu xmm0, xmmword [ebp - 0x68]
mov dword [ebp - 0x4c], eax
xor ecx, ecx
mov eax, dword [ebp + 0x10]
paddd xmm0, xmm2
mov dword [ebp - 0x2c], ebx
movdqu xmmword [ebp - 0x68], xmm0
jmp 0x408180
movdqu xmm0, xmmword [ebp + ecx - 0x58]
movdqu xmm1, xmmword [ebp + ecx - 0xb8]
paddd xmm1, xmm0
movdqu xmmword [ebp + ecx - 0x58], xmm1
add ecx, 0x10
cmp ecx, 0x30
jl 0x408180
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x40855f
movzx edx, byte [edi + 3]
movzx ecx, byte [edi + 2]
shl edx, 8
or edx, ecx
movzx ecx, byte [edi + 1]
shl edx, 8
or edx, ecx
movzx ecx, byte [edi]
shl edx, 8
or edx, ecx
xor edx, dword [ebp - 0x68]
mov byte [eax], dl
mov ecx, edx
shr ecx, 8
mov byte [eax + 1], cl
mov ecx, edx
shr edx, 0x18
mov byte [eax + 3], dl
shr ecx, 0x10
mov byte [eax + 2], cl
movzx edx, byte [edi + 7]
movzx ecx, byte [edi + 6]
shl edx, 8
or edx, ecx
movzx ecx, byte [edi + 5]
shl edx, 8
or edx, ecx
movzx ecx, byte [edi + 4]
shl edx, 8
or edx, ecx
xor edx, dword [ebp - 0x64]
mov byte [eax + 4], dl
mov ecx, edx
shr ecx, 8
mov byte [eax + 5], cl
mov ecx, edx
shr edx, 0x18
mov byte [eax + 7], dl
shr ecx, 0x10
mov byte [eax + 6], cl
movzx edx, byte [edi + 0xb]
movzx ecx, byte [edi + 0xa]
shl edx, 8
or edx, ecx
movzx ecx, byte [edi + 9]
shl edx, 8
or edx, ecx
movzx ecx, byte [edi + 8]
shl edx, 8
or edx, ecx
xor edx, dword [ebp - 0x60]
mov byte [eax + 8], dl
mov ecx, edx
shr ecx, 8
mov byte [eax + 9], cl
mov ecx, edx
shr edx, 0x18
mov byte [eax + 0xb], dl
shr ecx, 0x10
mov byte [eax + 0xa], cl
movzx edx, byte [edi + 0xf]
movzx ecx, byte [edi + 0xe]
shl edx, 8
or edx, ecx
movzx ecx, byte [edi + 0xd]
shl edx, 8
or edx, ecx
movzx ecx, byte [edi + 0xc]
shl edx, 8
or edx, ecx
xor edx, dword [ebp - 0x5c]
mov ecx, edx
mov byte [eax + 0xc], dl
shr ecx, 8
mov byte [eax + 0xd], cl
mov ecx, edx
shr ecx, 0x10
shr edx, 0x18
mov byte [eax + 0xe], cl
mov byte [eax + 0xf], dl
movzx edx, byte [edi + 0x13]
movzx ecx, byte [edi + 0x12]
shl edx, 8
or edx, ecx
movzx ecx, byte [edi + 0x11]
shl edx, 8
or edx, ecx
movzx ecx, byte [edi + 0x10]
shl edx, 8
or edx, ecx
xor edx, dword [ebp - 0x58]
mov byte [eax + 0x10], dl
mov ecx, edx
shr ecx, 8
mov byte [eax + 0x11], cl
mov ecx, edx
shr edx, 0x18
mov byte [eax + 0x13], dl
shr ecx, 0x10
mov byte [eax + 0x12], cl
movzx edx, byte [edi + 0x17]
movzx ecx, byte [edi + 0x16]
shl edx, 8
or edx, ecx
movzx ecx, byte [edi + 0x15]
shl edx, 8
or edx, ecx
movzx ecx, byte [edi + 0x14]
shl edx, 8
or edx, ecx
xor edx, dword [ebp - 0x54]
mov byte [eax + 0x14], dl
mov ecx, edx
shr ecx, 8
mov byte [eax + 0x15], cl
mov ecx, edx
shr edx, 0x18
mov byte [eax + 0x17], dl
shr ecx, 0x10
mov byte [eax + 0x16], cl
movzx edx, byte [edi + 0x1b]
movzx ecx, byte [edi + 0x1a]
shl edx, 8
or edx, ecx
movzx ecx, byte [edi + 0x19]
shl edx, 8
or edx, ecx
movzx ecx, byte [edi + 0x18]
shl edx, 8
or edx, ecx
xor edx, dword [ebp - 0x50]
mov byte [eax + 0x18], dl
mov ecx, edx
shr ecx, 8
mov byte [eax + 0x19], cl
mov ecx, edx
shr edx, 0x18
mov byte [eax + 0x1b], dl
shr ecx, 0x10
mov byte [eax + 0x1a], cl
movzx edx, byte [edi + 0x1f]
movzx ecx, byte [edi + 0x1e]
shl edx, 8
or edx, ecx
movzx ecx, byte [edi + 0x1d]
shl edx, 8
or edx, ecx
movzx ecx, byte [edi + 0x1c]
shl edx, 8
or edx, ecx
xor edx, dword [ebp - 0x4c]
mov ecx, edx
mov byte [eax + 0x1c], dl
shr ecx, 8
mov byte [eax + 0x1d], cl
mov ecx, edx
shr edx, 0x18
shr ecx, 0x10
mov byte [eax + 0x1f], dl
mov byte [eax + 0x1e], cl
movzx edx, byte [edi + 0x23]
shl edx, 8
movzx ecx, byte [edi + 0x22]
or edx, ecx
movzx ecx, byte [edi + 0x21]
shl edx, 8
or edx, ecx
movzx ecx, byte [edi + 0x20]
shl edx, 8
or edx, ecx
xor edx, dword [ebp - 0x48]
mov byte [eax + 0x20], dl
mov ecx, edx
shr ecx, 8
mov byte [eax + 0x21], cl
mov ecx, edx
shr edx, 0x18
mov byte [eax + 0x23], dl
shr ecx, 0x10
mov byte [eax + 0x22], cl
movzx edx, byte [edi + 0x27]
movzx ecx, byte [edi + 0x26]
shl edx, 8
or edx, ecx
movzx ecx, byte [edi + 0x25]
shl edx, 8
or edx, ecx
movzx ecx, byte [edi + 0x24]
shl edx, 8
or edx, ecx
xor edx, dword [ebp - 0x44]
mov byte [eax + 0x24], dl
mov ecx, edx
shr ecx, 8
mov byte [eax + 0x25], cl
mov ecx, edx
shr edx, 0x18
mov byte [eax + 0x27], dl
shr ecx, 0x10
mov byte [eax + 0x26], cl
movzx edx, byte [edi + 0x2b]
movzx ecx, byte [edi + 0x2a]
shl edx, 8
or edx, ecx
movzx ecx, byte [edi + 0x29]
shl edx, 8
or edx, ecx
movzx ecx, byte [edi + 0x28]
shl edx, 8
or edx, ecx
xor edx, dword [ebp - 0x40]
mov byte [eax + 0x28], dl
mov ecx, edx
shr ecx, 8
mov byte [eax + 0x29], cl
mov ecx, edx
shr edx, 0x18
mov byte [eax + 0x2b], dl
shr ecx, 0x10
mov byte [eax + 0x2a], cl
movzx edx, byte [edi + 0x2f]
movzx ecx, byte [edi + 0x2e]
shl edx, 8
or edx, ecx
movzx ecx, byte [edi + 0x2d]
shl edx, 8
or edx, ecx
movzx ecx, byte [edi + 0x2c]
shl edx, 8
or edx, ecx
xor edx, dword [ebp - 0x3c]
mov ecx, edx
mov byte [eax + 0x2c], dl
shr ecx, 8
mov byte [eax + 0x2d], cl
mov ecx, edx
shr ecx, 0x10
shr edx, 0x18
mov byte [eax + 0x2f], dl
mov byte [eax + 0x2e], cl
movzx edx, byte [edi + 0x33]
movzx ecx, byte [edi + 0x32]
shl edx, 8
or edx, ecx
movzx ecx, byte [edi + 0x31]
shl edx, 8
or edx, ecx
movzx ecx, byte [edi + 0x30]
shl edx, 8
or edx, ecx
xor edx, dword [ebp - 0x38]
mov byte [eax + 0x30], dl
mov ecx, edx
shr ecx, 8
mov byte [eax + 0x31], cl
mov ecx, edx
shr edx, 0x18
mov byte [eax + 0x33], dl
shr ecx, 0x10
mov byte [eax + 0x32], cl
movzx edx, byte [edi + 0x37]
movzx ecx, byte [edi + 0x36]
shl edx, 8
or edx, ecx
movzx ecx, byte [edi + 0x35]
shl edx, 8
or edx, ecx
movzx ecx, byte [edi + 0x34]
shl edx, 8
or edx, ecx
xor edx, dword [ebp - 0x34]
mov byte [eax + 0x34], dl
mov ecx, edx
shr ecx, 8
mov byte [eax + 0x35], cl
mov ecx, edx
shr edx, 0x18
mov byte [eax + 0x37], dl
shr ecx, 0x10
mov byte [eax + 0x36], cl
movzx edx, byte [edi + 0x3b]
movzx ecx, byte [edi + 0x3a]
shl edx, 8
or edx, ecx
movzx ecx, byte [edi + 0x39]
shl edx, 8
or edx, ecx
movzx ecx, byte [edi + 0x38]
shl edx, 8
or edx, ecx
xor edx, dword [ebp - 0x30]
mov ecx, edx
mov byte [eax + 0x38], dl
shr ecx, 8
mov byte [eax + 0x39], cl
mov ecx, edx
shr edx, 0x18
mov byte [eax + 0x3b], dl
shr ecx, 0x10
mov byte [eax + 0x3a], cl
movzx edx, byte [edi + 0x3f]
movzx ecx, byte [edi + 0x3e]
shl edx, 8
or edx, ecx
movzx ecx, byte [edi + 0x3d]
shl edx, 8
or edx, ecx
movzx ecx, byte [edi + 0x3c]
shl edx, 8
or edx, ecx
xor edx, dword [ebp - 0x2c]
mov ecx, edx
mov byte [eax + 0x3c], dl
shr ecx, 8
mov byte [eax + 0x3d], cl
mov ecx, edx
shr ecx, 0x10
shr edx, 0x18
add edi, 0x40
mov dword [ebp + 0xc], edi
jmp 0x408718
mov edx, dword [ebp - 0x68]
mov ecx, edx
mov byte [eax], dl
shr ecx, 8
mov byte [eax + 1], cl
mov ecx, edx
shr ecx, 0x10
mov byte [eax + 2], cl
shr edx, 0x18
mov byte [eax + 3], dl
mov edx, dword [ebp - 0x64]
mov ecx, edx
mov byte [eax + 4], dl
shr ecx, 8
mov byte [eax + 5], cl
mov ecx, edx
shr ecx, 0x10
mov byte [eax + 6], cl
shr edx, 0x18
mov byte [eax + 7], dl
mov edx, dword [ebp - 0x60]
mov ecx, edx
mov byte [eax + 8], dl
shr ecx, 8
mov byte [eax + 9], cl
mov ecx, edx
shr ecx, 0x10
mov byte [eax + 0xa], cl
shr edx, 0x18
mov byte [eax + 0xb], dl
mov edx, dword [ebp - 0x5c]
mov ecx, edx
mov byte [eax + 0xc], dl
shr ecx, 8
mov byte [eax + 0xd], cl
mov ecx, edx
shr ecx, 0x10
mov byte [eax + 0xe], cl
shr edx, 0x18
mov byte [eax + 0xf], dl
mov edx, dword [ebp - 0x58]
mov ecx, edx
mov byte [eax + 0x10], dl
shr ecx, 8
mov byte [eax + 0x11], cl
mov ecx, edx
shr ecx, 0x10
mov byte [eax + 0x12], cl
shr edx, 0x18
mov byte [eax + 0x13], dl
mov edx, dword [ebp - 0x54]
mov ecx, edx
shr ecx, 8
mov byte [eax + 0x15], cl
mov ecx, edx
mov byte [eax + 0x14], dl
shr ecx, 0x10
mov byte [eax + 0x16], cl
shr edx, 0x18
mov byte [eax + 0x17], dl
mov edx, dword [ebp - 0x50]
mov ecx, edx
shr ecx, 8
mov byte [eax + 0x19], cl
mov ecx, edx
mov byte [eax + 0x18], dl
shr ecx, 0x10
mov byte [eax + 0x1a], cl
shr edx, 0x18
mov byte [eax + 0x1b], dl
mov edx, dword [ebp - 0x4c]
mov ecx, edx
shr ecx, 8
mov byte [eax + 0x1d], cl
mov ecx, edx
mov byte [eax + 0x1c], dl
shr ecx, 0x10
shr edx, 0x18
mov byte [eax + 0x1f], dl
mov edx, dword [ebp - 0x48]
mov byte [eax + 0x1e], cl
mov byte [eax + 0x20], dl
mov ecx, edx
shr ecx, 8
mov byte [eax + 0x21], cl
mov ecx, edx
shr ecx, 0x10
mov byte [eax + 0x22], cl
shr edx, 0x18
mov byte [eax + 0x23], dl
mov edx, dword [ebp - 0x44]
mov ecx, edx
mov byte [eax + 0x24], dl
shr ecx, 8
mov byte [eax + 0x25], cl
mov ecx, edx
shr ecx, 0x10
mov byte [eax + 0x26], cl
shr edx, 0x18
mov byte [eax + 0x27], dl
mov edx, dword [ebp - 0x40]
mov ecx, edx
mov byte [eax + 0x28], dl
shr ecx, 8
mov byte [eax + 0x29], cl
mov ecx, edx
shr ecx, 0x10
mov byte [eax + 0x2a], cl
shr edx, 0x18
mov byte [eax + 0x2b], dl
mov edx, dword [ebp - 0x3c]
mov ecx, edx
mov byte [eax + 0x2c], dl
shr ecx, 8
mov byte [eax + 0x2d], cl
mov ecx, edx
shr ecx, 0x10
mov byte [eax + 0x2e], cl
shr edx, 0x18
mov byte [eax + 0x2f], dl
mov edx, dword [ebp - 0x38]
mov ecx, edx
shr ecx, 8
mov byte [eax + 0x31], cl
mov ecx, edx
mov byte [eax + 0x30], dl
shr ecx, 0x10
mov byte [eax + 0x32], cl
shr edx, 0x18
mov byte [eax + 0x33], dl
mov edx, dword [ebp - 0x34]
mov ecx, edx
shr ecx, 8
mov byte [eax + 0x35], cl
mov ecx, edx
mov byte [eax + 0x34], dl
shr ecx, 0x10
mov byte [eax + 0x36], cl
shr edx, 0x18
mov byte [eax + 0x37], dl
mov edx, dword [ebp - 0x30]
mov ecx, edx
shr ecx, 8
mov byte [eax + 0x39], cl
mov ecx, edx
mov byte [eax + 0x38], dl
shr ecx, 0x10
mov byte [eax + 0x3a], cl
shr edx, 0x18
mov byte [eax + 0x3b], dl
mov edx, dword [ebp - 0x2c]
mov ecx, edx
shr ecx, 8
mov byte [eax + 0x3d], cl
mov ecx, edx
mov byte [eax + 0x3c], dl
shr ecx, 0x10
shr edx, 0x18
mov byte [eax + 0x3f], dl
mov edx, dword [ebp - 0x84]
inc edx
mov byte [eax + 0x3e], cl
mov dword [ebp - 0x84], edx
mov dword [ebp - 0x98], edx
jne 0x408740
mov ecx, dword [ebp - 0x70]
inc ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x94], ecx
mov ebx, dword [ebp + 0x14]
cmp ebx, 0x40
jbe 0x40875c
mov edx, dword [ebp - 0x7c]
sub ebx, 0x40
add eax, 0x40
mov dword [ebp + 0x14], ebx
mov dword [ebp + 0x10], eax
jmp 0x407ec0
jae 0x408773
test ebx, ebx
je 0x408773
mov esi, dword [ebp - 0x80]
sub eax, esi
mov cl, byte [eax + esi]
lea esi, [esi + 1]
mov byte [esi - 1], cl
dec ebx
jne 0x408767
mov ecx, dword [ebp + 8]
mov eax, edx
shr eax, 8
push 0x30
push 0
mov byte [ecx + 0x21], al
mov eax, edx
mov byte [ecx + 0x20], dl
shr eax, 0x10
mov byte [ecx + 0x22], al
shr edx, 0x18
mov byte [ecx + 0x23], dl
mov edx, dword [ebp - 0x70]
mov eax, edx
shr eax, 8
mov byte [ecx + 0x25], al
mov eax, edx
shr eax, 0x10
mov byte [ecx + 0x26], al
lea eax, [ebp - 0xb8]
mov byte [ecx + 0x24], dl
shr edx, 0x18
push eax
mov eax, dword [section..data]
mov byte [ecx + 0x27], dl
call eax
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret