Function at 0x8749d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xbc
mov esi, ecx
nop
mov eax, dword [ebp + 8]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], 0x8755e0
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
call fcn.008755d0
mov edx, dword [0xa6d038]
mov ecx, dword [0xa6d010]
mov edi, 0x408
sub edi, eax
sub ecx, edi
add ecx, edx
call dword [0xa37360]
call ecx
mov ebx, eax
mov dword [ebp - 0x7c], esi
mov dword [esi], 0
mov eax, dword [0xa6d030]
mov ecx, dword [0xa6d014]
mov dword [ebp - 0x30], edi
sub ecx, edi
add ecx, eax
mov esi, ebx
xor esi, 0x42845163
call dword [0xa37360]
push esi
call ecx
mov ecx, eax
mov eax, ebx
xor eax, 0x708d0d33
lea edi, [eax + ebp]
add edi, 0xffffff38
mov esi, ebx
xor esi, 0x708d0d2c
mov dword [ebp - 0x24], ebx
mov eax, ebx
mov byte [ebp - 0x3c], bl
xor al, 0x16
mov byte [ebp - 0x20], al
xor ebx, ebx
nop word cs:[eax + eax]
mov eax, ecx
xor edx, edx
div esi
or dl, byte [ebp - 0x20]
mov byte [edi - 1], dl
dec edi
inc ebx
cmp ecx, esi
mov ecx, eax
jae 0x874a90
nop
mov esi, dword [ebp - 0x24]
mov ecx, esi
xor ecx, 0x708d0d36
mov dword [ebp - 0x34], ecx
mov eax, dword [0xa6d0c0]
mov dword [ebp - 0x20], eax
mov edx, 0x9ea214
mov eax, dword [0x9ea214]
mov ecx, eax
sub ecx, edx
imul ecx, edx
mov edx, esi
xor edx, 0x708d0d32
xor dword [ebp - 0x20], esi
add ecx, ecx
sub ecx, eax
cmp dword [ebp - 0x20], 0xf5a7f7b3
lea eax, [eax + 0x9ea214]
cmove eax, ecx
mov dword [ebp - 0x80], eax
mov eax, dword [0x9ea220]
mov dword [ebp - 0x58], eax
mov eax, 0x9ea218
add eax, dword [0x9ea218]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp + eax - 0x98], 0
xor esi, 0x708d0d29
mov dword [ebp - 0x2c], edx
mov dword [ebp + edx - 0x98], esi
mov byte [ebp - 0x98], 0
mov dword [ebp - 0x28], esi
cmp ebx, esi
mov dword [ebp - 0x10], 0xffffffff
jbe 0x874b6f
nop
mov eax, dword [0xa6d044]
mov esi, dword [0xa6d020]
sub esi, dword [ebp - 0x30]
add esi, eax
mov ecx, esi
call dword [0xa37360]
sub esp, 0xc
movzx eax, byte [ebp - 0xb0]
mov byte [esp + 4], al
mov dword [esp + 8], edi
mov dword [esp], ebx
lea ecx, [ebp - 0x98]
call esi
jmp 0x874ba6
nop
mov eax, dword [ebp - 0x34]
mov dword [ebp + eax - 0x98], ebx
mov eax, dword [0xa6d040]
mov ecx, dword [0xa6d01c]
sub ecx, dword [ebp - 0x30]
add ecx, eax
call dword [0xa37360]
lea eax, [ebp - 0x98]
push ebx
push edi
push eax
call ecx
add esp, 0xc
mov byte [ebp + ebx - 0x98], 0
nop
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x34]
mov esi, dword [edx + eax]
mov ecx, dword [ebp - 0x24]
mov eax, ecx
xor eax, 0xf72f2d2
cmp esi, eax
jg 0x875261
nop
mov eax, dword [ebp - 0x2c]
mov eax, dword [edx + eax]
mov dword [ebp - 0x40], eax
mov eax, dword [edx]
mov dword [ebp - 0x20], eax
mov eax, ecx
xor eax, 0x708d0d2d
mov dword [ebp - 0x50], eax
lea edx, [esi + eax]
mov dword [ebp - 0x44], edx
cmp edx, dword [ebp - 0x28]
nop
mov dword [ebp - 0x4c], esi
jbe 0x874c7f
mov eax, ecx
xor eax, 0x8f72f2d3
cmp esi, eax
mov dword [ebp - 0x38], 0x7fffffff
mov eax, 0x80000000
jl 0x874c34
nop
test byte [0xa8c5b8], 1
jne 0x874c34
nop
mov eax, dword [ebp - 0x44]
or eax, dword [ebp - 0x28]
cmp eax, 0x17
mov edx, 0x16
cmovae edx, eax
mov ecx, dword [ebp - 0x24]
xor ecx, 0x708d02d8
cmp eax, ecx
mov dword [ebp - 0x38], edx
lea eax, [edx + 1]
jbe 0x874c89
nop
mov ecx, dword [ebp - 0x24]
xor ecx, 0x708d0d05
mov dword [ebp - 0x78], ecx
add eax, ecx
mov dword [ebp - 0x10], 4
push eax
call fcn.0091d7fd
add esp, 4
nop
mov edi, dword [ebp - 0x78]
add edi, eax
mov esi, dword [ebp - 0x24]
mov ecx, esi
xor ecx, edi
xor ecx, 0x708d0d39
mov edx, esi
xor edx, 0x8f72f2c6
or edx, edi
and edx, ecx
mov ecx, esi
xor ecx, 0x8f72f2da
mov dword [edx + ecx], eax
jmp 0x874c9c
mov esi, 0xf
lea edx, [ebp - 0x74]
jmp 0x874ca4
nop
mov dword [ebp - 0x10], 4
push eax
call fcn.0091d7fd
add esp, 4
mov edx, eax
nop
mov dword [ebp - 0x74], edx
nop
mov esi, dword [ebp - 0x38]
nop
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x40]
cmp eax, dword [ebp - 0x28]
mov eax, dword [ebp - 0x48]
cmova eax, dword [ebp - 0x20]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x44]
mov dword [ebp + eax - 0x74], ecx
mov eax, dword [ebp - 0x2c]
mov dword [ebp + eax - 0x74], esi
movzx eax, byte [0xa6cfac]
movzx ecx, byte [ebp - 0x3c]
xor cl, 0x62
mov byte [ebp - 0x20], cl
cmp al, cl
je 0x874d75
movzx edx, byte [ebp - 0x3c]
mov ecx, edx
xor cl, 0x18
xor dl, 0xfc
nop
mov eax, ecx
lock cmpxchg byte [0xa6cfac], dl
je 0x874d03
cmp al, byte [ebp - 0x20]
jne 0x874cf0
jmp 0x874d75
nop
mov ebx, dword [ebp - 0x24]
mov eax, ebx
xor eax, 0xd7e64f39
mov dword [ebp - 0x40], eax
xor ebx, 0x708d0d2a
mov ch, byte [ebp - 0x3c]
mov cl, ch
xor cl, 0x2d
xor ch, 0xd2
cmp ebx, 2
mov esi, 1
cmovge esi, ebx
xor edi, edi
xor ch, cl
nop word cs:[eax + eax]
nop
mov eax, dword [ebp - 0x40]
add eax, edi
xor edx, edx
div ebx
not edx
movzx eax, byte [ebx + edx + 0x9ea230]
and al, ch
xor al, cl
add byte [edi + 0xa6cfa0], al
inc edi
cmp esi, edi
jne 0x874d40
nop
movzx eax, byte [ebp - 0x20]
xchg byte [0xa6cfac], al
mov dword [ebp - 0x10], 0xffffffff
nop
mov eax, dword [0xa6d03c]
mov ecx, dword [0xa6d018]
mov esi, dword [ebp - 0x30]
sub ecx, esi
add ecx, eax
mov dword [ebp - 0x10], 0xffffffff
call dword [0xa37360]
mov edi, dword [ebp - 0x50]
push edi
push 0xa6cfa0
mov ebx, dword [ebp - 0x38]
push ebx
call ecx
add esp, 0xc
add edi, ebx
mov eax, dword [0xa6d03c]
mov ecx, dword [0xa6d018]
sub ecx, esi
add ecx, eax
call dword [0xa37360]
push dword [ebp - 0x4c]
push dword [ebp - 0x48]
push edi
call ecx
add esp, 0xc
mov eax, dword [ebp - 0x44]
mov byte [ebx + eax], 0
mov esi, dword [ebp - 0x34]
mov eax, dword [ebp + esi - 0x74]
mov ecx, dword [ebp - 0x2c]
mov ecx, dword [ebp + ecx - 0x74]
cmp ecx, eax
jne 0x874e1c
nop
mov dword [ebp - 0x10], 5
sub esp, 0x10
movzx eax, byte [ebp - 0xc8]
mov byte [esp + 4], al
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0x9d88c8
mov dword [esp], 1
lea ecx, [ebp - 0x74]
call fcn.00671270
mov esi, eax
jmp 0x874e3f
lea edx, [eax + 1]
mov dword [ebp + esi - 0x74], edx
lea esi, [ebp - 0x74]
mov edx, esi
cmp ecx, dword [ebp - 0x28]
jbe 0x874e30
mov edx, dword [ebp - 0x74]
movzx ecx, byte [ebp - 0x3c]
xor cl, 0xb
mov byte [edx + eax], cl
mov byte [edx + eax + 1], 0
nop
mov ebx, dword [ebp - 0x24]
xor ebx, 0x708d0d3e
mov eax, dword [0xa6d03c]
mov ecx, dword [0xa6d018]
sub ecx, dword [ebp - 0x30]
add ecx, eax
mov dword [ebp - 0x10], 0xffffffff
call dword [0xa37360]
lea edi, [ebp - 0xb0]
push ebx
push esi
push edi
call ecx
add esp, 0xc
mov eax, dword [ebp - 0x34]
mov dword [esi + eax], 0
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
mov dword [esi + ecx], eax
mov byte [esi], 0
mov dword [ebp - 0x10], 6
sub esp, 0xc
movzx eax, byte [ebp - 0x5c]
mov byte [esp], al
lea eax, [ebp - 0x98]
mov dword [esp + 8], eax
mov dword [esp + 4], edi
lea ecx, [ebp - 0xc8]
mov dword [ebp - 0x4c], ecx
call fcn.0077ca00
nop
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp + eax - 0xb0]
cmp ecx, dword [ebp - 0x28]
jbe 0x874f17
nop
mov eax, dword [ebp - 0xb0]
lea edx, [ecx + 1]
mov edi, dword [ebp - 0x24]
mov esi, edi
xor esi, 0x708d02d9
cmp edx, esi
jbe 0x874f0c
mov edx, edi
xor edx, 0x8f72f2da
lea esi, [eax + edx]
mov eax, dword [eax + edx]
sub esi, eax
mov edx, edi
xor edx, 0x708d0d06
cmp esi, edx
jae 0x87526e
mov edx, edi
xor edx, 0x708d0d02
add ecx, edx
mov edx, ecx
nop
push edx
push eax
call fcn.0091d82d
add esp, 8
nop
mov eax, dword [0xa6d0c4]
xor eax, dword [ebp - 0x24]
cmp eax, 0x5e69356f
mov ecx, dword [0xa6d0bc]
jne 0x874f40
lea eax, [ecx*4 + 1]
mov dword [0xa6d0c4], 0x19782eaa
jmp 0x874f43
lea eax, [ecx + 1]
nop
mov dword [0xa6d0bc], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x38], ecx
test eax, ecx
je 0x875157
xor ebx, ebx
nop
mov eax, dword [ebp - 0x34]
mov dword [ebp + eax - 0xb0], 0
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x28]
mov dword [ebp + eax - 0xb0], edx
mov byte [ebp - 0xb0], 0
mov ecx, dword [ebp + eax - 0x74]
cmp ecx, edx
jbe 0x874ff0
nop
mov eax, dword [ebp - 0x74]
mov edi, dword [ebp - 0x24]
mov edx, edi
xor edx, 0x5c139049
mov esi, edi
xor esi, 0xa3ec6fb6
add esi, edx
lea edx, [ecx + esi]
add edx, 2
mov esi, edi
xor esi, 0x708d02d9
cmp edx, esi
jbe 0x874fe5
mov edx, edi
xor edx, 0x8f72f2da
lea esi, [eax + edx]
mov eax, dword [eax + edx]
mov dword [0xa6d0d0], 0xdd39085b
sub esi, eax
mov edx, edi
xor edx, 0x708d0d06
cmp esi, edx
jae 0x87527b
mov edx, edi
xor edx, 0x708d0d02
add ecx, edx
mov edx, ecx
nop
push edx
push eax
call fcn.0091d82d
add esp, 8
nop
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp + eax - 0x98]
cmp ecx, dword [ebp - 0x28]
jbe 0x875066
nop
mov eax, dword [ebp - 0x98]
lea edx, [ecx + 1]
mov edi, dword [ebp - 0x24]
mov esi, edi
xor esi, 0x708d02d9
cmp edx, esi
jbe 0x875054
mov edx, edi
xor edx, 0x8f72f2da
lea esi, [eax + edx]
mov eax, dword [eax + edx]
mov dword [0xa6d0c8], 0xad893932
sub esi, eax
mov edx, edi
xor edx, 0x708d0d06
cmp esi, edx
jae 0x875288
mov edx, edi
xor edx, 0x708d0d02
mov esi, ecx
xor esi, edx
and edx, ecx
lea edx, [esi + edx*2]
nop
push edx
push eax
call fcn.0091d82d
add esp, 8
mov dword [ebp - 0x10], 7
nop
mov dword [ebp - 0x20], ebx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
cmp dword [ebp + eax - 0xc8], ecx
jbe 0x875082
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x10], 7
push dword [ebp - 0x4c]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
nop
mov edi, dword [ebp - 0x7c]
mov dword [edi], eax
mov eax, dword [ebp - 0x2c]
mov eax, dword [ebp + eax - 0xc8]
cmp eax, dword [ebp - 0x28]
nop
mov ebx, dword [ebp - 0x20]
jbe 0x87513e
xor ecx, ecx
mov esi, dword [ebp - 0x50]
and esi, dword [ebp - 0x38]
setne cl
movzx edx, word [0x9ea212]
sub edx, ebx
neg ecx
xor ecx, edx
xor ebx, ebx
test esi, esi
cmove ecx, esi
sete bl
neg ebx
xor ebx, edx
or ebx, ecx
cmp bx, 0xffff
setne cl
or cl, byte [0xa8c5b8]
and cl, 1
mov byte [0xa8c5b8], cl
lea edx, [eax + 1]
mov ebx, dword [ebp - 0x24]
mov ecx, ebx
xor ecx, 0x708d02d9
cmp edx, ecx
mov ecx, dword [ebp - 0xc8]
jbe 0x875133
mov edx, ebx
xor edx, 0x8f72f2da
lea esi, [ecx + edx]
mov ecx, dword [ecx + edx]
sub esi, ecx
mov edx, ebx
xor edx, 0x708d0d06
cmp esi, edx
jae 0x875295
xor ebx, 0x708d0d02
add eax, ebx
mov edx, eax
nop
push edx
push ecx
call fcn.0091d82d
add esp, 8
nop
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, edi
add esp, 0xbc
pop esi
pop edi
pop ebx
pop ebp
ret 4
nop
cmp byte [0xa8c5c5], 0
jne 0x875198
nop
mov eax, dword [0xa6d0c8]
xor eax, dword [ebp - 0x24]
cmp eax, 0x2661b39c
jne 0x875198
nop
mov dword [0xa6d0c0], 0x3333f1f9
mov eax, dword [ebp - 0x24]
xor eax, 0x308d0d23
mov edx, dword [ebp - 0x54]
lea ecx, [edx + eax*4]
add ecx, dword [edx + eax*4]
cmp dword [ebp - 0x58], 0
jne 0x8751aa
jmp 0x874f57
nop
mov eax, dword [ebp - 0x54]
mov ecx, dword [eax]
add ecx, eax
cmp dword [ebp - 0x58], 0
jle 0x874f57
xor esi, esi
mov edx, dword [ebp - 0x24]
mov eax, edx
xor eax, 0xd25
mov dword [ebp - 0x48], eax
mov eax, edx
xor eax, 0xffffde54
mov edi, edx
xor edi, 0x21ab
add edi, eax
mov dword [ebp - 0x3c], edi
xor edx, 0x708d0d22
add edx, 0xfffffffe
mov dword [ebp - 0x44], edx
xor edi, edi
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x40], 0
jmp 0x875200
xor ebx, edi
add esi, 2
mov edi, ebx
cmp esi, dword [ebp - 0x58]
jge 0x874f59
nop
mov eax, dword [ebp - 0x80]
lea ebx, [eax + esi]
mov edx, ecx
sub edx, ebx
mov ebx, dword [ebp - 0x20]
sbb ebx, 0
cmp edx, 2
sbb ebx, 0
movzx ebx, word [eax + esi]
jge 0x8751f0
nop
mov dword [ebp - 0x20], ebx
mov ebx, edx
mov ecx, dword [ebp - 0x48]
shl ebx, cl
mov eax, 1
mov ecx, ebx
mov ebx, dword [ebp - 0x20]
shl eax, cl
add eax, dword [ebp - 0x3c]
and ebx, eax
mov eax, dword [ebp - 0x40]
mov ecx, eax
xor ecx, 1
and eax, 1
lea eax, [ecx + eax*2]
add esi, dword [ebp - 0x44]
add esi, edx
mov edx, dword [ebp - 0x54]
lea ecx, [edx + eax*4]
mov dword [ebp - 0x40], eax
add ecx, dword [edx + eax*4]
mov dword [ebp - 0x20], 0
jmp 0x8751f0
nop
mov dword [ebp - 0x10], 4
call fcn.0066e300
nop
mov dword [ebp - 0x10], 0
call fcn.00900ce1
nop
mov dword [ebp - 0x10], 1
call fcn.00900ce1
nop
mov dword [ebp - 0x10], 2
call fcn.00900ce1
nop
mov dword [ebp - 0x10], 3
call fcn.00900ce1
nop word cs:[eax + eax]
push ebp
sub esp, 0x10
add ebp, 0xc
call fcn.009350a0
nop dword [eax]
push ebp
sub esp, 0x10
add ebp, 0xc
call fcn.009350a0
nop dword [eax]
push ebp
sub esp, 0x10
add ebp, 0xc
call fcn.009350a0
nop dword [eax]
push ebp
sub esp, 0x10
add ebp, 0xc
call fcn.009350a0
nop dword [eax]
push ebp
sub esp, 0x10
add ebp, 0xc
nop
mov eax, dword [0xa6d034]
mov esi, dword [0xa6d024]
sub esi, dword [ebp - 0x30]
add esi, eax
mov ecx, esi
call dword [0xa37360]
lea ecx, [ebp - 0xc8]
call esi
add esp, 0x10
pop ebp
ret