Function at 0x10086260
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x90
mov dword [ebp - 0x34], ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov al, byte [ebp + 0x1c]
mov byte [ebp - 0x26], al
mov al, byte [ebp + 0x18]
mov byte [ebp - 0x25], al
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x24], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x20], eax
mov eax, esp
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], 0xffffffff
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], 0x1009a7c0
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
mov esi, dword [ebp - 0x24]
mov bl, byte [ebp - 0x25]
mov bh, byte [ebp - 0x26]
push eax
mov eax, esp
push eax
mov ecx, esp
mov dword [ebp - 0x40], ecx
push eax
mov edi, esp
mov dword [ebp - 0x74], edi
push eax
mov ecx, esp
mov dword [ebp - 0x3c], ecx
push eax
mov ecx, esp
sub esp, 8
mov edx, esp
mov dword [ebp - 0x70], edx
push eax
mov edx, esp
mov dword [ebp - 0x6c], edx
sub esp, 8
mov edx, esp
mov dword [ebp - 0x68], edx
sub esp, 0x18
mov edx, esp
mov dword [ebp - 0x64], edx
sub esp, 0x18
mov edx, esp
mov dword [ebp - 0x60], edx
sub esp, 0x18
mov edx, esp
mov dword [ebp - 0x5c], edx
push eax
mov edx, esp
mov dword [ebp - 0x58], edx
sub esp, 8
mov edx, esp
mov dword [ebp - 0x54], edx
sub esp, 8
mov edx, esp
mov dword [ebp - 0x50], edx
sub esp, 8
mov edx, esp
mov dword [ebp - 0x4c], edx
sub esp, 8
mov edx, esp
mov dword [ebp - 0x48], edx
sub esp, 8
mov edx, esp
mov dword [ebp - 0x44], edx
mov edx, dword [ebp - 0x30]
mov dword [eax], edx
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x40]
and bh, 1
mov byte [eax], bh
mov eax, dword [ebp - 0x3c]
mov byte [edi], bl
mov dword [eax], esi
mov dword [ecx], edx
mov ecx, dword [ecx]
mov dword [ebp - 0x38], ecx
mov ecx, dword [eax]
call fcn.1004c730
and eax, 0x4000
cmp eax, 0
jne 0x100863c6
mov eax, dword [ebp - 0x70]
mov edi, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x3c]
mov ebx, dword [ebp - 0x74]
mov edx, dword [ebp - 0x40]
mov dl, byte [edx]
and dl, 1
movzx edx, dl
mov bl, byte [ebx]
mov esi, dword [esi]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ecx + 4]
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 0x38]
mov eax, dword [ecx]
sub esp, 0x18
mov dword [esp], edi
mov edi, dword [ebp - 0x70]
mov edi, dword [edi]
mov dword [esp + 4], edi
mov edi, dword [ebp - 0x70]
mov edi, dword [edi + 4]
mov dword [esp + 8], edi
mov dword [esp + 0xc], esi
movsx esi, bl
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], edx
call dword [eax + 0x24]
jmp 0x10086935
mov edx, dword [ebp - 0x68]
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax]
sub esp, 4
mov eax, esp
mov dword [eax], edx
call fcn.1003ed50
mov ecx, dword [ebp - 0x68]
mov dword [ebp - 0x10], 0
sub esp, 4
mov eax, esp
mov dword [eax], ecx
call fcn.10088920
add esp, 4
mov dword [ebp - 0x78], eax
jmp 0x100863fb
mov eax, dword [0x1028905c]
add eax, dword [0x10289060]
add eax, 0x6d93da47
add eax, 1
add eax, 0x3157ded1
imul eax, eax, 0xa13ea877
cmp eax, 0x45bb2ca
je 0x100869af
mov ecx, dword [ebp - 0x68]
call fcn.100284c0
mov edx, dword [ebp - 0x78]
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x64]
mov dword [eax], edx
call fcn.10008f70
mov eax, dword [ebp - 0x40]
test byte [eax], 1
je 0x100864ac
mov eax, dword [0x1028906c]
imul eax, dword [0x10289070]
or eax, 0x11c9eb2b
add eax, 0x357e1865
xor eax, 0x3e27ee26
cmp eax, 0xd8c61e43
ja 0x100869cc
mov edx, dword [ebp - 0x60]
mov eax, dword [ebp - 0x6c]
mov ecx, dword [eax]
mov dword [ebp - 0x10], 1
sub esp, 4
mov eax, esp
mov dword [eax], edx
call fcn.10095a10
jmp 0x1008648e
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x64]
sub esp, 4
mov dword [esp], eax
call fcn.10095870
mov ecx, dword [ebp - 0x60]
call fcn.10006100
jmp 0x10086580
mov ecx, dword [0x1028908c]
mov edx, dword [0x10289090]
mov esi, ecx
xor esi, 0xffffffff
mov eax, edx
and eax, esi
xor edx, 0xffffffff
and ecx, edx
or eax, ecx
imul ecx, eax, 0xfee7df5e
add ecx, 0x14a9ac0
add ecx, 0x87a89b15
sub ecx, 0x14a9ac0
mov eax, ecx
xor eax, 0xd3ff4aa6
and eax, ecx
cmp eax, 0x7624bf44
jae 0x100869d1
mov ecx, dword [ebp - 0x6c]
mov eax, dword [0x10289094]
xor edx, edx
div dword [0x10289098]
mov edx, eax
sub edx, 0x4e8bbae5
sub edx, 0x4d7da5d2
add edx, 0x4e8bbae5
mov eax, edx
xor eax, 0xffffffff
and eax, 0xfd332d42
and edx, 0x2ccd2bd
sub edx, eax
mov eax, edx
and eax, 0x9a00066a
xor edx, 0x9a00066a
or eax, edx
mov ecx, dword [ecx]
mov dword [ebp - 0x7c], ecx
cmp eax, 0xe09f1fd9
je 0x100869d1
mov ecx, dword [ebp - 0x7c]
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0x10], 1
sub esp, 4
mov eax, esp
mov dword [eax], edx
call fcn.10095a40
jmp 0x10086567
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x64]
sub esp, 4
mov dword [esp], eax
call fcn.10095870
mov ecx, dword [ebp - 0x5c]
call fcn.10006100
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax]
call fcn.100827d0
sub eax, 1
sbb edx, 0
jl 0x1008660c
jmp 0x1008659b
mov eax, dword [ebp - 0x3c]
mov ecx, dword [0x102890b4]
mov edx, dword [0x102890b8]
or ecx, edx
add ecx, 0xac257518
not ecx
or ecx, 0x35acb109
xor ecx, 0x9712291c
mov dword [ebp - 0x84], ecx
mov ecx, dword [eax]
call fcn.100827d0
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x88], eax
call fcn.10048970
mov ecx, dword [ebp - 0x88]
mov edx, eax
mov eax, dword [ebp - 0x84]
cmp ecx, edx
setbe cl
mov byte [ebp - 0x7d], cl
cmp eax, 0xee95c519
ja 0x1008659b
mov al, byte [ebp - 0x7d]
test al, 1
jne 0x1008660c
jmp 0x10086667
mov ecx, dword [ebp - 0x58]
mov eax, dword [0x102890c4]
mov edi, dword [0x102890c8]
mov ebx, edi
xor ebx, 0xffffffff
mov esi, eax
and esi, ebx
mov edx, eax
or edx, ebx
xor edx, 0xffffffff
imul edx, esi
mov esi, eax
and esi, edi
or eax, edi
imul eax, esi
add eax, edx
xor eax, 0x245a84ed
mov esi, 0x71490d11
xor edx, edx
div esi
xor eax, 0xffffffff
or eax, 0x968294dd
xor eax, 0xffffffff
mov dword [ecx], 0
cmp eax, 0xb44b7cd5
jae 0x1008660c
jmp 0x100866e0
mov eax, dword [0x102890cc]
mov ecx, dword [0x102890d0]
xor eax, 0xffffffff
xor ecx, 0xffffffff
and eax, ecx
xor eax, 0xffffffff
add eax, 0xfbf40818
xor eax, 0xad1d0e3a
imul eax, eax, 0xfc91e04e
cmp eax, 0x4b2429ab
jbe 0x100869d6
mov eax, dword [ebp - 0x3c]
mov ecx, 0xd69e9241
mov dword [ebp - 0x8c], ecx
mov ecx, dword [eax]
call fcn.100827d0
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x90], eax
call fcn.10048970
mov edx, dword [ebp - 0x90]
mov ecx, dword [ebp - 0x58]
mov esi, eax
mov eax, dword [ebp - 0x8c]
sub edx, esi
mov dword [ecx], edx
cmp eax, 0x43372a
jb 0x100869d6
jmp 0x100866e0
mov eax, dword [0x102890dc]
mov esi, dword [0x102890e0]
mov ecx, eax
xor ecx, 0xffffffff
mov edx, esi
and edx, ecx
mov edi, esi
xor edi, 0xffffffff
mov ecx, eax
and ecx, edi
imul ecx, edx
mov edx, eax
and edx, esi
or eax, esi
imul eax, edx
add eax, ecx
or eax, 0x93af5983
mov ecx, 0x923dad2b
xor edx, edx
div ecx
sub eax, 0x9954636b
cmp eax, 0x17d29d53
jb 0x10086a0e
mov eax, dword [ebp - 0x3c]
mov ecx, dword [0x102890e4]
xor ecx, dword [0x102890e8]
mov edx, ecx
and edx, 0xacbbfea9
mov esi, ecx
xor esi, 0x53440156
add ecx, esi
sub ecx, edx
xor ecx, 0x7b9af9f7
sub ecx, 0x461036f3
mov dword [ebp - 0x98], ecx
mov ecx, dword [eax]
call fcn.1004c730
mov ecx, eax
mov eax, dword [ebp - 0x98]
and ecx, 0x1c0
cmp ecx, 0x40
setne cl
mov byte [ebp - 0x91], cl
cmp eax, 0xdbfb1484
ja 0x10086a0e
mov al, byte [ebp - 0x91]
test al, 1
jne 0x1008679d
jmp 0x10086867
mov eax, dword [0x102890ec]
sub eax, dword [0x102890f0]
sub eax, 0x7baaf419
sub eax, 0x8a1e96dd
add eax, 0x7baaf419
and eax, 0x97631751
add eax, 0xa47d3a1e
add eax, 1
cmp eax, 0xb905677
jb 0x10086a1d
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x50]
mov ebx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x74]
mov edi, dword [ebp - 0x58]
mov edi, dword [edi]
movsx esi, byte [esi]
movsd xmm0, qword [ebx]
movsd qword [eax], xmm0
mov dword [ebp - 0x10], 1
sub esp, 0x18
movsd xmm0, qword [eax]
mov eax, esp
movsd qword [eax + 8], xmm0
mov dword [eax + 0x14], edi
mov dword [eax + 0x10], esi
mov dword [eax + 4], edx
mov dword [eax], ecx
call fcn.10089840
add esp, 0x18
jmp 0x1008681b
mov eax, dword [0x102890fc]
and eax, dword [0x10289100]
mov ecx, eax
and ecx, 0xd44d99ff
or eax, 0xd44d99ff
add ecx, eax
mov eax, ecx
xor eax, 0x8f792c78
and eax, ecx
add eax, 0xbb1f606a
cmp eax, 0x444685e1
jb 0x10086a39
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x54]
mov esi, dword [edx]
mov dword [ecx], esi
mov edx, dword [edx + 4]
mov dword [ecx + 4], edx
mov dword [eax], 0
mov dword [ebp - 0x10], 1
mov ebx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x64]
call fcn.10048970
mov ecx, dword [ebp - 0x64]
mov edi, eax
call fcn.10008160
mov edx, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x38]
mov esi, eax
mov eax, dword [ebp - 0x48]
movsd xmm0, qword [ebx]
movsd qword [eax], xmm0
sub esp, 0x18
movsd xmm0, qword [eax]
mov eax, esp
movsd qword [eax + 8], xmm0
mov dword [eax + 0x14], edi
mov dword [eax + 0x10], esi
mov dword [eax + 4], edx
mov dword [eax], ecx
call fcn.10089d60
add esp, 0x18
jmp 0x100868bc
mov ebx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x74]
mov edi, dword [ebp - 0x58]
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x4c]
movsd xmm0, qword [ecx]
movsd qword [ebx], xmm0
mov ecx, dword [eax]
sub esp, 8
mov eax, esp
mov dword [eax + 4], 0
mov dword [eax], 0
call fcn.100830d0
mov ecx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x44]
mov edx, dword [ebp - 0x30]
mov edi, dword [edi]
movsx esi, byte [esi]
movsd xmm0, qword [ebx]
movsd qword [eax], xmm0
sub esp, 0x18
movsd xmm0, qword [eax]
mov eax, esp
movsd qword [eax + 8], xmm0
mov dword [eax + 0x14], edi
mov dword [eax + 0x10], esi
mov dword [eax + 4], edx
mov dword [eax], ecx
call fcn.10089840
add esp, 0x18
jmp 0x10086928
mov ecx, dword [ebp - 0x64]
call fcn.10006100
jmp 0x10086935
jmp 0x1008693a
mov esi, dword [0x10289134]
mov edx, dword [0x10289138]
mov eax, esi
xor eax, 0xffffffff
and eax, 0x24ae5526
and esi, 0xdb51aad9
mov ecx, edx
xor ecx, 0xffffffff
and ecx, 0x24ae5526
and edx, 0xdb51aad9
or eax, esi
or ecx, edx
xor eax, ecx
mov ecx, 0xfb694d66
xor edx, edx
div ecx
add eax, 0xbe31ab8f
mov ecx, eax
xor ecx, 0xffffffff
and ecx, 0xae5a15d9
and eax, 0x51a5ea26
sub eax, ecx
cmp eax, 0x954a25dd
ja 0x1008693a
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x18]
mov dword fs:[0], ecx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x18
mov ecx, dword [ebp - 0x68]
call fcn.100284c0
mov edx, dword [ebp - 0x78]
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x64]
mov dword [eax], edx
call fcn.10008f70
jmp 0x10086424
jmp 0x1008646e
jmp 0x100864f4
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax]
call fcn.100827d0
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x9c], eax
call fcn.10048970
mov ecx, dword [ebp - 0x9c]
mov esi, eax
mov eax, dword [ebp - 0x58]
mov edx, ecx
xor edx, 0xffffffff
and edx, esi
xor esi, 0xffffffff
and ecx, esi
sub ecx, edx
mov dword [eax], ecx
jmp 0x10086698
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax]
call fcn.1004c730
jmp 0x10086729
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx]
mov dword [eax], edx
mov ecx, dword [ecx + 4]
mov dword [eax + 4], ecx
mov dword [ebp - 0x10], 1
jmp 0x100867cf
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x54]
mov esi, dword [edx]
mov dword [ecx], esi
mov edx, dword [edx + 4]
mov dword [ecx + 4], edx
mov dword [eax], 0
jmp 0x1008684e