Function at 0x8b3780
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xb4
nop
mov esi, dword [ebp + 8]
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], 0x8b4070
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
call fcn.008b4060
mov edx, dword [0xa45f9c]
mov ecx, dword [0xa45f8c]
mov edi, 0x1677
sub edi, eax
mov dword [ebp - 0x24], edi
sub ecx, edi
add ecx, edx
call dword [0xa0535c]
call ecx
mov ebx, eax
lea eax, [esi + 4]
mov dword [ebp - 0x30], eax
mov dword [esi + 8], 0
mov edi, ebx
xor edi, 0x93175780
push edi
call fcn.008ea17d
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 4], eax
lea ecx, [esi + 0xc]
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov edx, ebx
xor edx, 0x93175797
mov dword [esi + 0x18], edx
mov dword [ebp - 0x2c], ebx
xor ebx, 0x93175798
mov dword [esi + 0x1c], ebx
mov dword [esi], 0x3f800000
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x20], ecx
push eax
mov dword [ebp - 0x88], edi
push edi
call fcn.006d5dc0
nop
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xb0], 0
mov ecx, dword [ebp - 0x2c]
mov eax, ecx
xor eax, 0x9317579f
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x4c], eax
mov eax, ecx
xor eax, 0x9317579b
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x50], eax
movzx eax, byte [0xa45ecc]
cmp al, 1
je 0x8b392a
mov eax, dword [ebp - 0x2c]
mov ecx, eax
xor cl, 0xcf
mov edx, eax
xor dl, 0xaa
nop word [eax + eax]
mov eax, ecx
lock cmpxchg byte [0xa45ecc], dl
je 0x8b38c2
cmp al, 1
jne 0x8b38b0
jmp 0x8b392a
nop
mov edi, dword [ebp - 0x2c]
mov ecx, edi
xor ecx, 0x2ac78c70
xor edi, 0x9317579c
cmp edi, 2
mov ebx, 1
cmovge ebx, edi
xor esi, esi
nop word cs:[eax + eax]
lea eax, [ecx + esi]
xor edx, edx
div edi
not edx
mov dword [0xa45fb8], 0x9512cf0d
movzx eax, byte [edi + edx + 0x9bac10]
xor al, byte [ebp - 0x2c]
xor al, 0x38
add byte [esi + 0xa45ec0], al
inc esi
cmp ebx, esi
jne 0x8b38f0
mov al, 1
xchg byte [0xa45ecc], al
mov dword [ebp - 0x10], 0xffffffff
nop
mov eax, dword [0xa45fa4]
mov ecx, dword [0xa45f7c]
sub ecx, dword [ebp - 0x24]
add ecx, eax
mov dword [ebp - 0x10], 0xffffffff
call dword [0xa0535c]
lea esi, [ebp - 0x60]
mov edi, dword [ebp - 0x30]
push edi
push 0xa45ec0
push esi
call ecx
add esp, 0xc
mov byte [ebp + edi - 0x60], 0
mov dword [ebp - 0x10], 4
push esi
push dword [ebp + 0x14]
call fcn.008a5fa0
add esp, 8
nop
mov eax, dword [ebp - 0x4c]
cmp eax, dword [ebp - 0x34]
jbe 0x8b39df
nop
mov ecx, dword [ebp - 0x60]
lea edx, [eax + 1]
mov esi, dword [ebp - 0x2c]
xor esi, 0x9317586f
cmp edx, esi
movzx ebx, byte [0xa56fc2]
ja 0x8b399b
test bl, 1
je 0x8b39d4
nop
mov esi, dword [ecx - 4]
mov edi, dword [ebp - 0x2c]
mov edx, edi
xor edx, 0x6ce8a86c
add edx, ecx
sub edx, esi
mov ecx, edi
xor ecx, 0x931757b0
cmp edx, ecx
setb cl
or bl, cl
test bl, 1
je 0x8b3f4d
mov ecx, edi
xor ecx, 0x931757b4
add eax, ecx
mov edx, eax
mov ecx, esi
nop
push edx
push ecx
call fcn.008ea1ad
add esp, 8
nop
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 4]
mov eax, dword [ebp - 0x2c]
mov edx, eax
xor edx, 0x9317579c
mov dword [ebp - 0x90], edx
mov edx, eax
xor edx, 0xece8a86f
mov dword [ebp - 0x8c], edx
mov edx, eax
xor edx, 0x9317586e
mov dword [ebp - 0x74], edx
mov edx, eax
xor edx, 0x931757b3
mov dword [ebp - 0x40], edx
mov edx, eax
xor edx, 0x6ce8a870
mov dword [ebp - 0x7c], edx
mov edx, eax
xor edx, 0x9317578f
mov dword [ebp - 0x78], edx
mov edx, eax
xor edx, 0x9317586f
mov dword [ebp - 0x80], edx
mov edx, eax
xor edx, 0x6ce8a86c
mov dword [ebp - 0x70], edx
mov edx, eax
xor edx, 0x931757b0
mov dword [ebp - 0x6c], edx
xor eax, 0x931757b4
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 0xc]
lea edx, [eax + 4]
mov dword [ebp - 0x30], edx
lea edx, [eax + 0x38]
mov dword [ebp - 0x84], edx
add eax, 0x1c
mov dword [ebp - 0xac], eax
nop
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x38], ecx
nop dword [eax]
nop
mov eax, dword [ebp - 0x38]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x64]
je 0x8b3ef4
nop
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x38], eax
mov eax, dword [eax + 0x10]
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0x3c], 0
jmp 0x8b3ac8
mov edx, dword [ebp - 0x20]
mov eax, edx
mov ecx, dword [ebp - 0x3c]
xor eax, ecx
and edx, ecx
lea eax, [eax + edx*2]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x28]
add ecx, 0x14
cmp ecx, dword [ebp - 0xa8]
je 0x8b3eb0
nop
mov dword [ebp - 0x28], ecx
mov eax, dword [ecx]
cmp eax, 1
je 0x8b3b10
test eax, eax
jne 0x8b3b70
nop
mov dword [ebp - 0x20], 0
mov eax, dword [ebp + 0xc]
cmp byte [eax], 0
je 0x8b3ab0
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x20], eax
jmp 0x8b3ab0
nop
mov eax, dword [ebp - 0x28]
mov edi, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [ebp - 0x20], eax
cmp edi, eax
je 0x8b3b7c
nop
mov dword [ebp - 0x10], 0xffffffff
nop dword [eax]
nop
mov eax, dword [0xa45fa8]
mov esi, dword [0xa45f80]
sub esi, dword [ebp - 0x24]
add esi, eax
mov ecx, esi
call dword [0xa0535c]
mov ecx, dword [ebp - 0x30]
push 0
push edi
call esi
cmp eax, 0xffffffff
setne bl
jne 0x8b3b7e
add edi, 0x18
cmp edi, dword [ebp - 0x20]
jne 0x8b3b30
jmp 0x8b3b7e
xor ebx, ebx
cmp eax, 2
je 0x8b3b8d
jmp 0x8b3e08
xor ebx, ebx
nop
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
cmp eax, 2
jne 0x8b3e08
nop
mov ecx, dword [ebp + 0xc]
cmp byte [ecx + 0x34], 0
je 0x8b3c3f
nop
mov edx, dword [ecx + 0x14]
mov eax, dword [ebp - 0x90]
mov esi, dword [ecx + eax + 0x3c]
mov eax, dword [ebp - 0x8c]
sub eax, edx
cmp eax, esi
jb 0x8b3f33
nop
mov eax, dword [ecx + 4]
mov dword [ebp - 0x9c], eax
mov eax, dword [ecx + 0x18]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x88]
mov eax, dword [ecx + eax + 0x3c]
mov dword [ebp - 0x94], eax
mov eax, dword [ecx + 0x38]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0xa4], edx
mov dword [ebp - 0xa0], esi
add edx, esi
cmp edx, dword [ebp - 0x34]
mov ecx, 0xf
lea esi, [ebp - 0x60]
mov dword [ebp - 0x48], edx
jbe 0x8b3cf6
test edx, edx
js 0x8b3ca1
mov eax, edx
or eax, dword [ebp - 0x34]
cmp eax, 0x17
mov ecx, 0x16
cmovae ecx, eax
cmp eax, dword [ebp - 0x74]
mov dword [ebp - 0x44], ecx
lea eax, [ecx + 1]
mov dword [ebp - 0x10], 3
ja 0x8b3cad
nop
push eax
call fcn.008ea17d
add esp, 4
mov esi, eax
jmp 0x8b3ceb
nop
mov eax, dword [ebp - 0x28]
mov edi, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [ebp - 0x20], eax
cmp edi, eax
je 0x8b3c9a
nop
mov dword [ebp - 0x10], 0xffffffff
nop dword [eax + eax]
nop
mov eax, dword [0xa45fa8]
mov esi, dword [0xa45f80]
sub esi, dword [ebp - 0x24]
add esi, eax
mov ecx, esi
call dword [0xa0535c]
mov ecx, dword [ebp - 0x30]
push 0
push edi
call esi
cmp eax, 0xffffffff
setne bl
jne 0x8b3e08
add edi, 0x18
cmp edi, dword [ebp - 0x20]
jne 0x8b3c60
jmp 0x8b3e08
xor ebx, ebx
jmp 0x8b3e08
mov dword [ebp - 0x44], 0x7fffffff
mov eax, 0x80000000
nop
add eax, dword [ebp - 0x40]
mov dword [ebp - 0x10], 3
push eax
call fcn.008ea17d
add esp, 4
nop
mov esi, dword [ebp - 0x40]
mov ecx, esi
xor ecx, eax
mov edx, eax
and edx, esi
lea ecx, [ecx + edx*2]
mov edx, ecx
not edx
mov esi, dword [ebp - 0x78]
and esi, edx
mov edi, ecx
and edi, dword [ebp - 0x7c]
or edi, esi
xor edi, ecx
xor esi, edx
or esi, edi
not esi
mov dword [esi - 4], eax
nop
mov dword [ebp - 0x60], esi
nop
mov edx, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x44]
nop
mov eax, dword [ebp - 0x34]
cmp dword [ebp - 0x94], eax
mov edi, dword [ebp - 0x20]
cmovbe edi, dword [ebp - 0x84]
mov dword [ebp - 0x20], edi
cmp dword [ebp - 0x98], eax
mov edi, dword [ebp - 0x9c]
cmovbe edi, dword [ebp - 0x30]
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x4c], ecx
mov eax, dword [0xa45fa4]
mov ecx, dword [0xa45f7c]
sub ecx, dword [ebp - 0x24]
add ecx, eax
mov dword [ebp - 0x10], 0xffffffff
call dword [0xa0535c]
mov ebx, dword [ebp - 0xa4]
push ebx
push edi
push esi
call ecx
add esp, 0xc
add ebx, esi
mov eax, dword [0xa45fa4]
mov ecx, dword [0xa45f7c]
sub ecx, dword [ebp - 0x24]
add ecx, eax
call dword [0xa0535c]
push dword [ebp - 0xa0]
push dword [ebp - 0x20]
push ebx
call ecx
add esp, 0xc
mov eax, dword [ebp - 0x48]
mov byte [esi + eax], 0
mov eax, dword [ebp - 0x28]
mov edi, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [ebp - 0x20], eax
cmp edi, eax
je 0x8b3dc3
nop dword [eax]
nop
mov eax, dword [0xa45fa8]
mov esi, dword [0xa45f80]
sub esi, dword [ebp - 0x24]
add esi, eax
mov ecx, esi
call dword [0xa0535c]
lea ecx, [ebp - 0x60]
push 0
push edi
call esi
cmp eax, 0xffffffff
setne bl
jne 0x8b3dc5
add edi, 0x18
cmp edi, dword [ebp - 0x20]
jne 0x8b3d90
jmp 0x8b3dc5
xor ebx, ebx
nop
mov eax, dword [ebp - 0x4c]
cmp eax, dword [ebp - 0x34]
jbe 0x8b3e08
nop
mov ecx, dword [ebp - 0x60]
lea edx, [eax + 1]
mov dword [0xa45fb0], 0x228541cf
cmp edx, dword [ebp - 0x80]
jbe 0x8b3dfd
nop
mov esi, dword [ecx - 4]
add ecx, dword [ebp - 0x70]
sub ecx, esi
cmp ecx, dword [ebp - 0x6c]
jae 0x8b3f40
add eax, dword [ebp - 0x68]
mov edx, eax
mov ecx, esi
nop
push edx
push ecx
call fcn.008ea1ad
add esp, 8
nop
mov ecx, dword [ebp - 0x28]
mov eax, dword [ecx]
xor eax, dword [ebp - 0x2c]
cmp eax, 0x93175793
jne 0x8b3e80
nop
mov ebx, dword [ecx + 4]
mov edi, dword [ecx + 8]
mov dword [ebp - 0x20], 0
cmp ebx, edi
je 0x8b3ab0
nop
mov dword [ebp - 0x10], 0xffffffff
nop word cs:[eax + eax]
nop
mov eax, dword [0xa45fa8]
mov esi, dword [0xa45f80]
sub esi, dword [ebp - 0x24]
add esi, eax
mov ecx, esi
call dword [0xa0535c]
mov ecx, dword [ebp - 0xac]
push 0
push ebx
call esi
cmp eax, 0xffffffff
jne 0x8b3e9a
add ebx, 0x18
cmp ebx, edi
jne 0x8b3e40
jmp 0x8b3ab0
nop
mov dword [ebp - 0x20], 0
test bl, bl
je 0x8b3e95
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x20], eax
jmp 0x8b3ab0
nop
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x20], eax
jmp 0x8b3ab0
nop
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 8]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x10], 3
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0xc0]
push eax
call fcn.008aa180
nop
push dword [ebp - 0x3c]
mov eax, dword [ebp - 0x38]
push dword [eax + 8]
push dword [ebp + 0x14]
call fcn.008a6330
add esp, 0xc
jmp 0x8b3a80
nop
mov eax, dword [0xa45f94]
mov esi, dword [0xa45f70]
sub esi, dword [ebp - 0x24]
add esi, eax
mov dword [ebp - 0x10], 0xffffffff
mov ecx, esi
call dword [0xa0535c]
lea ecx, [ebp - 0xb8]
call esi
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
add esp, 0xb4
pop esi
pop edi
pop ebx
pop ebp
ret
nop
mov dword [ebp - 0x10], 3
call fcn.0066ab60
nop
mov dword [ebp - 0x10], 2
call fcn.008cd651
nop
mov dword [ebp - 0x10], 1
call fcn.008cd651
nop word [eax + eax]
push ebp
sub esp, 0xc
add ebp, 0xc
call fcn.00901a00
nop dword [eax]
push ebp
sub esp, 0xc
add ebp, 0xc
nop
mov eax, dword [0xa45f98]
mov esi, dword [0xa45f84]
sub esi, dword [ebp - 0x24]
add esi, eax
mov ecx, esi
call dword [0xa0535c]
lea ecx, [ebp - 0x60]
call esi
add esp, 0xc
pop ebp
ret