Function at 0x405f9e
Capabilities:
Encode data using xor

Disassembly:
movsd dword es:[edi], dword [esi]
push ecx
mov ecx, 0x7b7297bb
pop edx
xor ecx, edx
push ecx
mov ecx, 0x49e53cda
mov eax, 0x6332a197
xor eax, ecx
pop ebx
xor eax, ebx
xor esi, eax
xor eax, eax
add eax, esi
add esp, 0xfffffffc
mov dword [esp], eax
pop edi
and edi, esi
je 0x406220
pop eax
mov esi, eax
push esi
pop edi
add esp, 0xfffffffc
mov dword [esp], edi
mov ecx, 0x50000841
mov ebx, 0xc500000
xor ecx, ebx
push 0x71fa5428
mov edx, 0x50f2913e
pop esi
xor edx, esi
xor ecx, edx
xor eax, ecx
push 0x742dde3d
mov edx, 0x705577ab
pop esi
xor edx, esi
xor eax, edx
xor esi, esi
add esi, eax
mov edi, esi
and edi, edi
je 0x40625d
pop ecx
push ecx
pop ebx
mov edx, ebx
mov eax, edx
add esp, 0xfffffffc
mov dword [esp], eax
mov edi, 0x51c94979
xor edi, 0x805f15b
mov edx, edi
xor edx, 0xffffffff
and edx, 0x74db97d6
and edi, 0x8b246829
or edi, edx
xor ecx, edi
push 0x2e871f8b
mov edi, 0x7c034e0b
pop esi
xor edi, esi
push 0x2fa709a9
mov edx, 0x7d235829
pop esi
xor edx, esi
xor edx, edi
xor edx, ecx
or edx, 0
jne 0x4060aa
mov eax, 0x1a405f38
mov ebx, 0x31c79ebf
xor ebx, eax
push 0x629a6164
mov edx, 0x491da0e3
pop esi
xor edx, esi
xor edx, ebx
mov edi, 0
mov esi, 0
xor edi, esi
mov eax, 0
mov ebx, 0
xor eax, ebx
xor edi, eax
xor edx, edi
add esp, 0xfffffffc
mov eax, esp
mov dword [eax], edx
pop ebx
mov edi, ebx
push edi
pop ecx
add esp, 0xfffffffc
mov dword [esp], ecx
mov edx, 0x43143b7
mov ecx, 0x2a2f5f70
xor ecx, edx
mov edx, 0x8565b09d
xor ecx, edx
xor ecx, 0x91d30a8
xor ebx, ecx
test ebx, ebx
jne 0x406120
push 0x30ed2180
mov ecx, 0x7ce2cbbf
pop edi
xor ecx, edi
push ecx
mov esi, 0x72f2bbce
xor esi, 0x1a991917
pop edx
xor esi, edx
mov ebx, 0x28d01404
mov eax, 0x5020a882
xor ebx, eax
xor esi, ebx
mov edi, esi
xor edi, 0xffffffff
and edi, 0x5c94f460
and esi, 0xa36b0b9f
or esi, edi
mov ebx, esi
add esp, 0xfffffffc
mov dword [esp], ebx
pop ecx
add esp, 0xfffffffc
mov edi, esp
add esp, 0xfffffffc
mov dword [esp], edi
pop esi
mov dword [esi], ecx
add esp, 0xfffffffc
mov eax, esp
mov dword [eax], ecx
pop edx
mov edi, 0x552b46af
xor edi, 0x8ef4dae4
xor edx, edi
mov esi, 0x242063b4
xor edx, esi
and edx, 0x29334686
and ecx, 0xd6ccb979
or ecx, edx
and ecx, 0xffff
xor esi, esi
add esi, ecx
or esi, esi
jne 0x40619c
push 0x6892456f
mov eax, 0x7c595ee1
pop ebx
xchg edx, eax
push 0x595ee1b8
jl 0x4061d1
xor eax, ebx
mov edi, 0x37f85ce5
xor eax, edi
push 0x4c7a3726
mov ecx, 0x6f49704d
pop ebx
xor ecx, ebx
xor eax, ecx
mov ebx, 0
xor ebx, eax
add esp, 0xfffffffc
mov edi, esp
mov dword [edi], ebx
pop ecx
xor edi, edi
add edi, ecx
mov eax, edi
push eax
pop ebx
or ebx, 0
jne 0x406325
mov edx, 0x7e9b0297
mov eax, 0x6a660105
xor eax, edx
mov ebx, 0x362bc519
xor eax, ebx
xor eax, 0x2af53a47
push 0x8a29ffc
mov edi, 0x8f69fa4
pop edx
lahf
test byte [eax], 0x5a
xor edi, edx
push 0x39c4c62
mov ecx, 0x2144f61
pop ebx
xor ecx, ebx
xor edi, ecx
xor edi, eax
xor eax, eax
add eax, edi
add esp, 0xfffffffc
mov dword [esp], eax
pop ebx
mov edi, 0x45685f4b
mov ecx, 0x7af64a1d
xor ecx, edi
mov edx, 0xc061eaa9
xor ecx, edx
add ebx, ecx
and ebx, 0x7fffffff
mov edi, ebx
add esp, 0xfffffffc
mov dword [esp], edi
cmp ebx, 0
jne 0x4061f2
pop ebx
pop edx
jmp 0x4063ce
push 0x6502b6e5
mov esi, 0x7020f45d
pop ebx
xor esi, ebx
mov eax, 0x48b3633c
xor eax, 0x6023433c
xor esi, eax
mov edx, esi
add esp, 0xfffffffc
mov dword [esp], edx
mov esi, 0x6e68026d
mov ebx, 0x5190
xor esi, ebx
push esi
mov edi, 0xd1f2af2
xor edi, 0x5ec51bb3
pop eax
xor edi, eax
pop ecx
xor edi, ecx
add esp, 0xfffffffc
xor esi, esi
add esi, esp
mov dword [esi], edi
push 0x7a5bd1c6
mov edi, 0x1d0c3067
pop ecx
xor edi, ecx
mov ecx, 0x726058d6
mov ebx, 0x1577d83f
xor ebx, ecx
xor ebx, edi
mov edi, 0x1d4e82b4
xor edi, 0x714293ec
push edi
mov esi, 0x6c0c0000
mov ecx, 0x148
xor esi, ecx
pop edx
xor esi, edx
xor ebx, esi
call dword [ebx]
pop ebx
add ebx, 0xffffffff
mov edx, 0
xor edx, ebx
mov esi, edx
push esi
pop ecx
xor ecx, 0
jne 0x40625d
push 0x360e0320
mov ecx, 0x370f43b8
pop edi
xor ecx, edi
mov esi, 0xa409421
mov edx, 0x22202
xor esi, edx
xor ecx, esi
mov edx, 0x733ff613
xor edx, 0x1c69bfb3
xor ecx, edx
call ecx
pop eax
mov eax, 0x2594e214
mov ebx, 0x20c93e3c
xor ebx, eax
mov edi, 0x1ef80a03
xor edi, 0x415c231d
xor edi, ebx
push edi
pop ebx
mov eax, 0xffffffff
xor ebx, eax
and ebx, 0x5ab985aa
and edi, 0xa5467a55
or edi, ebx
call dword [edi]
push 0x1de80dd9
mov eax, 0x1e782f1b
pop ecx
xor eax, ecx
push 0x2cfb0878
mov ebx, 0x24dd507c
pop ecx
xor ebx, ecx
xor eax, ebx
mov edi, 0x6223d7a
xor edi, 0x71a79b4d
mov ebx, 0x2a15cb3
xor edi, ebx
xor edi, eax
call fcn.00405f61
mov ebx, 0x8401009
mov eax, 0x402aa100
xor ebx, eax
push 0x1cb732e4
mov edx, 0x1c6c977d
pop ecx
xor edx, ecx
xor edx, ebx
mov edi, 0x2da066eb
xor edi, 0x72a0dbbb
mov eax, 0x5f449c58
xor edi, eax
xor edx, edi
mov eax, 0
xor eax, edx
add esp, 0xfffffffc
mov dword [esp], eax
jmp 0x406325
push 0x7a6ed72c
mov eax, 0x72bcd72c
pop esi
xor eax, esi
mov ecx, 0x4d07e173
xor ecx, 0x59068373
xor eax, ecx
add esp, 0xfffffffc
mov edx, esp
mov dword [edx], eax
push 0x6536e10a
mov ebx, 0x453aa122
pop esi
xor ebx, esi
mov ecx, 0x7eba766d
xor ecx, 0x32da526b
xor ebx, ecx
add esp, 0xfffffffc
mov esi, esp
mov dword [esi], ebx
push 0xc2ae47
mov edi, 0x1b72775c
pop eax
xor edi, eax
push edi
mov ecx, 0x30897217
xor ecx, 0x190ac769
pop esi
xor ecx, esi
mov ebx, ecx
push ebx
mov ebx, 0x17d2f5d3
mov esi, 0x562641ae
xor esi, ebx
mov edi, 0x260e47d7
xor esi, edi
xor esi, 0x98896e1
mov edi, esi
add esp, 0xfffffffc
mov dword [esp], edi
mov edx, esp
mov esi, edx
add esp, 0xfffffffc
mov dword [esp], esi
mov edi, 0x7b25fecb
xor edi, 0x268341e
mov eax, 0x1f90f5cb
xor edi, eax
xor edi, 0x669d4faa
call dword [edi]
add esp, 0x10
xor ecx, ecx
add ecx, eax
mov ebx, ecx
mov edi, ebx
push 0x5f07f0b3
mov edx, 0x5b0780d3
pop ebx
xor edx, ebx
mov esi, 0x22000001
mov ebx, 0x80000402
xor esi, ebx
xor edx, esi
mov ebx, edx
add esp, 0xfffffffc
mov dword [esp], ebx
mov ecx, 0x17523586
mov esi, 0x3cb71586
xor esi, ecx
mov ebx, 0xc0d19c9
xor esi, ebx
xor esi, 0x429c56bb
mov ebx, esi
add esp, 0xfffffffc
mov dword [esp], ebx
mov edx, 0x450871
mov ebx, 0x65828200
xor edx, ebx
mov ebx, 0x22bb323
xor edx, ebx
xor edx, 0x37805827
add esp, 0xfffffffc
mov ebx, esp
mov dword [ebx], edx
mov ebx, 0x13aa4b3
mov ecx, 0x8440100
xor ebx, ecx
mov ecx, ebx
xor ecx, 0xffffffff
and ecx, 0x7d0ccce5
and ebx, 0x82f3331a
or ebx, ecx
mov ecx, ebx
add esp, 0xfffffffc
mov dword [esp], ecx
xor ecx, ecx
add ecx, esp
mov ebx, ecx
push ebx
add esp, 0xfffffffc
mov edx, 0
xor edx, esp
mov dword [edx], edi
push 0x3f0bb224
mov edi, 0xaac7f88
pop esi
xor edi, esi
mov esi, edi
xor esi, 0xffffffff
and esi, 0x35e7bd5c
and edi, 0xca1842a3
or edi, esi
call dword [edi]
add esp, 0x10
mov esi, 0
mov ecx, 0
xor esi, ecx
mov edi, 0x766df5b1
xor edi, 0x766df5b1
xor esi, edi
add esp, 0xfffffffc
mov ebx, esp
mov dword [ebx], esi
mov ebx, esp
mov ecx, ebx
add esp, 0xfffffffc
mov dword [esp], ecx
mov ebx, 0x5c00800
mov edi, 0x4208e080
xor ebx, edi
mov edi, 0x47c8e8c0
xor ebx, edi
add esp, 0xfffffffc
mov esi, esp
mov dword [esi], ebx
push 0x6e52a73d
mov edx, 0x6e52ff3d
pop ecx
xor edx, ecx
mov ebx, 0x400
mov ecx, 0x200
xor ebx, ecx
xor edx, ebx
add esp, 0xfffffffc
mov edi, esp
mov dword [edi], edx
push 0x173f9f52
mov ebx, 0x177f9f52
pop edx
xor ebx, edx
mov ecx, 0
mov esi, 0x1000
xor ecx, esi
xor ebx, ecx
mov edx, ebx
push edx
call eax
mov ebx, 0x401378
add esp, 0xfffffffc
mov edi, 0
xor edi, esp
mov dword [edi], ebx
xor esi, esi
add esi, ebx
mov edx, 0
mov edi, 0
xor edx, edi
xor edx, esi
push 0x2bcbada3
mov ebx, 0x2bcbafe6
pop edi
xor ebx, edi
mov edi, 0x411cedd9
mov ecx, 0x411cec6b
xor ecx, edi
xor ebx, ecx
add edx, ebx
add edx, 0xffffffff
add esi, ebx
mov edi, ebx
mov ecx, edi
add esp, 0xfffffffc
mov dword [esp], ecx
mov eax, esi
mov edi, eax
mov eax, edi
add esp, 0xfffffffc
mov dword [esp], eax
xor ebx, ebx
mov bl, byte [edx]
add esi, ebx
mov bl, byte [esi]
pop esi
mov byte [edx], bl
add edx, 0xffffffff
pop ebx
add ebx, 0xffffffff
add esp, 0xfffffffc
mov ecx, esp
mov dword [ecx], ebx
pop eax
and eax, 0xffffffff
jne 0x406613
pop edi
mov ebx, 0x31a0004
mov ecx, 0x30c43281
xor ebx, ecx
mov esi, 0x21164254
mov eax, 0x12880021
xor esi, eax
xor esi, ebx
mov ecx, esi
mov edx, ecx
sub edx, 0x42
mov ecx, 1
sub edx, ecx
mov esi, dword [edx + 0x43]
mov eax, esi
mov ecx, eax
mov eax, ecx
add esp, 0xfffffffc
mov dword [esp], eax
mov edx, 0x18381921
mov eax, 0x418100d8
xor edx, eax
mov ebx, 0x4fba6893
xor edx, ebx
xor edx, 0x1603716a
mov eax, edx
push eax
push 0x68ea1c6b
mov ebx, 0x61f4acc6
pop ecx
xor ebx, ecx
mov esi, 0x466b3971
xor esi, 0x4f35f968
xor esi, ebx
mov eax, esi
mov edx, eax
sub edx, 0x35
dec edx
mov esi, dword [edx + 0x36]
add esp, 0xfffffffc
push esp
pop ecx
mov dword [ecx], esi
mov ebx, 0x29e59251
xor ebx, 0x162a6b4f
push ebx
mov esi, 0x330308c8
mov ecx, 0xcccf221
xor esi, ecx
pop eax
xor esi, eax
add esi, edi
add esp, 0xfffffffc
mov eax, esp
mov ecx, eax
mov dword [ecx], esi
mov ebx, 0x7ad4dfe9
xor ebx, 0x22d691d5
push ebx
push 0xede6eb9
mov esi, 0x56dcb98f
pop edx
xor esi, edx
pop eax
xor esi, eax
add esp, 0xfffffffc
mov ebx, esp
mov dword [ebx], esi
push 0x75bb4f4b
mov edx, 0x75bb477b
pop esi
xor edx, esi
push 0x45af63d6
mov eax, 0x45af63d9
pop ebx
xor eax, ebx
xor edx, eax
add esp, 0xfffffffc
xor ebx, ebx
add ebx, esp
mov dword [ebx], edx
mov ebx, 0x1113705
mov esi, 0x186a8872
xor ebx, esi
mov ecx, 0x6edcc9a6
mov eax, 0x77a77f9b
xor eax, ecx
xor eax, ebx
push eax
pop edx
mov esi, edx
add esp, 0xfffffffc
mov dword [esp], esi
call edi
inc esi
or bl, ch
and byte [ebx + 0xf00cc7d], al
test byte [ecx + 2], dl
add byte [eax], al
cmp dword [ebp - 0x34], 0
je 0x4069c2
mov ecx, dword [ebp - 0x38]
dec dword [ebp - 0x34]
movzx edx, byte [ecx]
mov ecx, ebx
shl edx, cl
or dword [ebp - 0x40], edx
inc dword [ebp - 0x38]
add ebx, 8
cmp ebx, eax
jb 0x406767
movzx ecx, word [eax*2 + 0x409394]
and ecx, dword [ebp - 0x40]
add dword [esi + 0xc], ecx
mov ecx, eax
shr dword [ebp - 0x40], cl
sub ebx, eax
mov dword [esi], 5
mov eax, dword [ebp - 0x30]
mov edx, dword [esi + 0xc]
mov ecx, eax
sub ecx, esi
sub ecx, 0x1ba0
cmp ecx, edx
jae 0x4067cd
mov ecx, dword [esi + 0x9ba0]
sub ecx, edx
sub ecx, esi
lea ecx, [ecx + eax - 0x1ba0]
jmp 0x4067d1
mov ecx, eax
sub ecx, edx
cmp dword [esi + 4], 0
mov dword [ebp - 0x20], ecx
je 0x40616e
mov edi, dword [ebp - 0x2c]
test edi, edi
jne 0x40687a
mov edi, dword [esi + 0x9ba0]
cmp eax, edi
jne 0x406816
mov ecx, dword [esi + 0x9ba4]
lea edx, [esi + 0x1ba0]
cmp ecx, edx
je 0x406816
mov eax, edx
cmp eax, ecx
jae 0x406810
sub ecx, eax
dec ecx
mov edi, ecx
jmp 0x406812
sub edi, eax
test edi, edi
jne 0x40687a
push dword [ebp + 8]
mov dword [esi + 0x9ba8], eax
call fcn.00406a2d
mov eax, dword [esi + 0x9ba8]
mov ecx, dword [esi + 0x9ba4]
cmp eax, ecx
mov dword [ebp - 0x30], eax
jae 0x40683e
mov edi, ecx
sub edi, eax
dec edi
jmp 0x406846
mov edi, dword [esi + 0x9ba0]
sub edi, eax
mov edx, dword [esi + 0x9ba0]
cmp eax, edx
mov dword [ebp - 8], edx
jne 0x406872
lea edx, [esi + 0x1ba0]
cmp ecx, edx
je 0x406872
mov eax, edx
cmp eax, ecx
mov dword [ebp - 0x30], eax
jae 0x40686d
sub ecx, eax
dec ecx
mov edi, ecx
jmp 0x406872
mov edi, dword [ebp - 8]
sub edi, eax
test edi, edi
je 0x4069de
mov ecx, dword [ebp - 0x20]
mov dl, byte [ecx]
mov byte [eax], dl
inc eax
inc ecx
dec edi
cmp ecx, dword [esi + 0x9ba0]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x2c], edi
jne 0x40689e
lea ecx, [esi + 0x1ba0]
mov dword [ebp - 0x20], ecx
dec dword [esi + 4]
jne 0x4067e1
jmp 0x40616e
mov eax, dword [ebp - 0x40]
xor edi, edi
mov dword [esi + 0x51c], eax
mov eax, dword [ebp + 8]
mov dword [esi + 0x518], ebx
mov dword [eax + 4], edi
jmp 0x406076
xor edi, edi
jmp 0x40605e