Function at 0x1002a030
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10087fac
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x100a7078]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x80], ecx
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 4], 0
cmp dword [0x100aa818], 0
je 0x1002a720
cmp byte [0x100a79c9], 0
je 0x1002a720
add eax, 0x10
mov ebx, 0xa
mov dword [ebp - 0x4c], eax
mov edi, eax
nop dword [eax]
mov esi, dword [edi]
test esi, esi
je 0x1002a0bc
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1002a0bc
push eax
mov ecx, esi
call dword [0x1009d358]
add edi, 4
sub ebx, 1
jne 0x1002a0a0
mov ebx, dword [ebp - 0x44]
mov ecx, dword [ebx + 4]
call dword [0x1009d43c]
mov esi, dword [ebp - 0x80]
mov ecx, dword [ebp - 0x7c]
mov ax, word [esi]
cmp ax, word [ecx]
jb 0x1002a25b
mov ax, word [esi + 2]
cmp ax, word [ecx + 2]
jb 0x1002a25b
mov ax, word [esi + 4]
cmp ax, word [ecx + 4]
jb 0x1002a25b
mov ax, word [esi + 6]
cmp ax, word [ecx + 6]
jb 0x1002a25b
mov ebx, dword [ebp - 0x4c]
mov ecx, dword [ebx]
call fcn.10018870
mov ecx, dword [ebp - 0x44]
mov edi, edx
mov ecx, dword [ecx + 0xc]
call fcn.10018870
mov ecx, dword [ebx]
mov dword [ebp - 0x48], eax
call fcn.100188f0
mov ebx, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
add edi, eax
mov eax, dword [ebp - 0x44]
mov esi, dword [eax + 0xc]
test esi, esi
je 0x1002a154
push 4
push esi
call ebx
test eax, eax
jne 0x1002a154
push edi
push dword [ebp - 0x48]
mov ecx, esi
call dword [0x1009d350]
cmp dword [ebp + 0x28], 0x10
lea eax, [ebp + 0x14]
mov dl, 0x2f
mov byte [ebp - 0x3d], 0
cmovae eax, dword [ebp + 0x14]
mov cl, 0x5c
push eax
mov al, 0xa
mov byte [ebp - 0x40], dl
xor al, dl
mov byte [ebp - 0x3d], 0
sub esp, 0x18
mov byte [ebp - 0x3f], al
xor cl, dl
lea eax, [ebp - 0x3f]
mov byte [ebp - 0x3e], cl
mov ecx, esp
push eax
call fcn.10002870
lea eax, [ebp - 0xb0]
push eax
call fcn.1000d830
add esp, 0x20
mov edi, dword [ebp - 0x44]
mov edx, eax
mov byte [ebp - 4], 1
mov ecx, dword [edi + 8]
call fcn.10019110
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 0
call fcn.10002220
movaps xmm0, xmmword [0x1009df30]
xor ecx, ecx
movups xmmword [ebp - 0x98], xmm0
mov dword [ebp - 0x88], 0x171e021f
mov dword [ebp - 0x84], 0x531706
nop dword [eax]
mov al, byte [ebp - 0x98]
xor byte [ebp + ecx - 0x97], al
inc ecx
cmp ecx, 0x16
jb 0x1002a1e0
sub esp, 0x18
mov byte [ebp - 0x81], 0
lea eax, [ebp - 0x97]
mov ecx, esp
push eax
call fcn.10002870
lea eax, [ebp - 0xb0]
push eax
call fcn.1000d830
add esp, 0x1c
mov byte [ebp - 4], 2
mov edx, eax
mov ecx, dword [edi + 0x38]
call fcn.10019110
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 0
call fcn.10002220
mov esi, dword [ebp - 0x4c]
mov esi, dword [esi]
test esi, esi
je 0x1002a253
push 4
push esi
call ebx
test eax, eax
jne 0x1002a253
push 1
mov ecx, esi
call dword [0x1009d358]
mov ecx, dword [edi + 4]
jmp 0x1002a718
cmp dword [ebp + 0x28], 0x10
lea eax, [ebp + 0x14]
mov dl, 0x4f
mov byte [ebp - 0x3d], 0
cmovae eax, dword [ebp + 0x14]
mov cl, 0x3c
push eax
mov byte [ebp - 0x40], dl
mov al, 0x6a
xor al, dl
mov byte [ebp - 0x3d], 0
xor cl, dl
mov byte [ebp - 0x3f], al
sub esp, 0x18
mov byte [ebp - 0x3e], cl
mov edx, esp
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov dword [edx + 0x14], 0xf
cmp dword [edx + 0x14], 0x10
mov dword [edx + 0x10], 0
jb 0x1002a2ad
mov eax, dword [edx]
jmp 0x1002a2af
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x3f], 0
jne 0x1002a2bc
xor ecx, ecx
jmp 0x1002a2ce
lea ecx, [ebp - 0x3f]
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002a2c2
sub ecx, esi
mov esi, dword [ebp - 0x80]
push ecx
lea eax, [ebp - 0x3f]
mov ecx, edx
push eax
call fcn.10002770
lea eax, [ebp - 0x98]
push eax
call fcn.1000d830
add esp, 0x20
mov byte [ebp - 4], 3
mov edx, eax
mov ecx, dword [ebx + 8]
call fcn.10019110
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x84]
cmp eax, 0x10
jb 0x1002a319
inc eax
lea ecx, [ebp - 0x98]
push eax
push dword [ebp - 0x98]
call fcn.10002650
mov edi, dword [ebp + 8]
sub dword [ebp - 0x7c], edi
sub esi, edi
mov dword [ebp - 0x84], 0xf
mov dword [ebp - 0x88], 0
mov byte [ebp - 0x98], 0
mov dword [ebp - 0x80], esi
mov dword [ebp - 0x48], 4
nop word [eax + eax]
movzx eax, word [edi]
test ax, ax
je 0x1002a6fe
mov esi, dword [0x100aac58]
mov edx, eax
mov eax, esi
mov ecx, dword [esi + 4]
cmp byte [ecx + 0xd], 0
jne 0x1002a38d
nop
cmp dword [ecx + 0x10], edx
jae 0x1002a37a
mov ecx, dword [ecx + 8]
jmp 0x1002a37e
mov eax, ecx
mov ecx, dword [ecx]
cmp byte [ecx + 0xd], 0
je 0x1002a370
cmp eax, esi
je 0x1002a38d
cmp edx, dword [eax + 0x10]
jae 0x1002a38f
mov eax, esi
cmp eax, esi
jne 0x1002a397
xor esi, esi
jmp 0x1002a39a
lea esi, [eax + 0x14]
mov bh, 0x6f
mov dword [ebp - 0x20], 0xf
mov al, 1
mov byte [ebp - 0x70], bh
mov dl, al
mov dword [ebp - 0x24], 0
xor bl, bl
mov byte [ebp - 0x34], 0
mov dh, 0x3a
mov byte [ebp - 0x68], bl
mov ch, dl
mov byte [ebp - 0x68], 0
mov cl, 4
mov ah, 0x18
xor dh, bh
xor al, bh
xor cl, bh
mov byte [ebp - 0x6f], dh
xor dl, bh
mov byte [ebp - 0x6e], al
xor bl, bh
mov byte [ebp - 0x6d], cl
xor ah, bh
mov byte [ebp - 0x6c], dl
xor ch, bh
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], ah
mov byte [ebp - 0x69], ch
test dh, dh
jne 0x1002a3f1
xor ecx, ecx
jmp 0x1002a400
lea ecx, [ebp - 0x6f]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002a3f7
sub ecx, edx
push ecx
lea eax, [ebp - 0x6f]
push eax
lea ecx, [ebp - 0x34]
call fcn.10002770
mov byte [ebp - 4], 4
test esi, esi
je 0x1002a434
add esi, 4
lea eax, [ebp - 0x34]
cmp eax, esi
je 0x1002a52a
push 0xffffffffffffffff
push 0
push esi
mov ecx, eax
call fcn.10002330
jmp 0x1002a52a
cmp word [edi], 1
jne 0x1002a52a
cmp byte [0x100aa87d], 0
mov edi, dword [0x100aa818]
je 0x1002a480
mov ecx, 0xd78c9c
call fcn.10019420
mov esi, eax
test esi, esi
je 0x1002a480
mov ebx, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push 4
push esi
call ebx
test eax, eax
jne 0x1002a480
push 4
add esi, 0x6a0
push esi
call ebx
test eax, eax
jne 0x1002a480
mov al, byte [esi]
mov byte [edi + 0x34], al
cmp byte [edi + 0x34], 1
jne 0x1002a4d3
mov byte [ebp - 0x64], 0x60
mov al, 0x25
xor al, byte [ebp - 0x64]
mov dl, 0x40
mov dh, 1
mov byte [ebp - 0x63], al
mov al, byte [ebp - 0x64]
mov cl, 0xc
mov bl, 0x2d
mov byte [ebp - 0x5b], 0
mov ah, 0xf
mov byte [ebp - 0x5b], 0
mov ch, 0x12
xor dl, al
xor dh, al
mov byte [ebp - 0x61], dl
mov bh, 4
mov byte [ebp - 0x5d], dh
xor cl, al
lea edx, [ebp - 0x63]
xor bl, al
mov byte [ebp - 0x62], cl
xor ah, al
mov byte [ebp - 0x60], bl
xor ch, al
mov byte [ebp - 0x5f], ah
xor bh, al
mov byte [ebp - 0x5e], ch
mov byte [ebp - 0x5c], bh
jmp 0x1002a506
mov ch, 0x5c
mov byte [ebp - 0x72], 0
mov dl, 0x2e
mov byte [ebp - 0x78], ch
mov al, 0x17
mov byte [ebp - 0x72], 0
mov cl, 0x3d
mov bl, 0x29
xor dl, ch
mov ah, 0x2f
xor al, ch
mov byte [ebp - 0x75], dl
xor cl, ch
mov byte [ebp - 0x77], al
xor bl, ch
mov byte [ebp - 0x76], cl
xor ah, ch
mov byte [ebp - 0x74], bl
mov byte [ebp - 0x73], ah
lea edx, [ebp - 0x77]
cmp byte [edx], 0
jne 0x1002a50f
xor ecx, ecx
jmp 0x1002a51d
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002a514
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x34]
call fcn.10002770
mov edi, dword [ebp + 8]
mov eax, dword [ebp - 0x7c]
mov dl, 0x6a
cmp dword [ebp - 0x20], 0x10
mov cl, 0x39
mov byte [ebp - 0x58], 0x4a
mov ch, 0x65
mov byte [ebp - 0x4f], 0
movzx eax, word [eax + edi]
push eax
mov eax, dword [ebp - 0x80]
mov byte [ebp - 0x4f], 0
movzx eax, word [eax + edi]
push eax
lea eax, [ebp - 0x34]
cmovae eax, dword [ebp - 0x34]
push eax
mov al, 0x6f
mov ah, 0x2e
mov bl, al
sub esp, 0x18
xor al, byte [ebp - 0x58]
mov dh, bl
mov byte [ebp - 0x57], al
mov bh, ah
mov al, byte [ebp - 0x58]
xor dl, al
xor dh, al
mov byte [ebp - 0x55], dl
xor cl, al
mov byte [ebp - 0x51], dh
xor bl, al
mov edx, esp
mov byte [ebp - 0x56], cl
mov byte [ebp - 0x54], bl
xor ah, al
mov byte [ebp - 0x53], ah
xor ch, al
mov byte [ebp - 0x52], ch
xor bh, al
mov byte [ebp - 0x50], bh
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov dword [edx + 0x14], 0xf
cmp dword [edx + 0x14], 0x10
mov dword [edx + 0x10], 0
jb 0x1002a5b9
mov eax, dword [edx]
jmp 0x1002a5bb
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x57], 0
jne 0x1002a5c8
xor ecx, ecx
jmp 0x1002a5d9
lea ecx, [ebp - 0x57]
lea esi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002a5d0
sub ecx, esi
push ecx
lea eax, [ebp - 0x57]
mov ecx, edx
push eax
call fcn.10002770
lea eax, [ebp - 0xb0]
push eax
call fcn.1000d830
add esp, 0x28
mov edi, dword [ebp - 0x4c]
mov edx, eax
mov byte [ebp - 4], 5
mov ecx, dword [edi + 0x28]
call fcn.10019110
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x9c]
cmp eax, 0x10
jb 0x1002a627
inc eax
lea ecx, [ebp - 0xb0]
push eax
push dword [ebp - 0xb0]
call fcn.10002650
mov esi, dword [edi]
mov ebx, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x3c], 0
test esi, esi
je 0x1002a656
push 4
push esi
call ebx
test eax, eax
jne 0x1002a656
lea eax, [ebp - 0x3c]
mov ecx, esi
push eax
call dword [0x1009d34c]
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov esi, dword [eax + 0xc]
test esi, esi
je 0x1002a683
push 4
push esi
call ebx
test eax, eax
jne 0x1002a683
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
call dword [0x1009d34c]
mov esi, dword [edi]
test esi, esi
je 0x1002a6a0
push 4
push esi
call ebx
test eax, eax
jne 0x1002a6a0
mov ecx, dword [esi + 0xe8]
sub ecx, dword [esi + 0xe0]
jmp 0x1002a6a2
xor ecx, ecx
mov eax, dword [ebp - 0x44]
mov edi, dword [ebp - 0x38]
add edi, ecx
mov esi, dword [eax + 0xc]
test esi, esi
je 0x1002a6c6
push 4
push esi
call ebx
test eax, eax
jne 0x1002a6c6
push edi
push dword [ebp - 0x1c]
mov ecx, esi
call dword [0x1009d350]
mov esi, dword [ebp - 0x4c]
mov esi, dword [esi]
test esi, esi
je 0x1002a6e2
push 4
push esi
call ebx
test eax, eax
jne 0x1002a6e2
push 1
mov ecx, esi
call dword [0x1009d358]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x20]
cmp eax, 0x10
jb 0x1002a6fb
inc eax
lea ecx, [ebp - 0x34]
push eax
push dword [ebp - 0x34]
call fcn.10002650
mov edi, dword [ebp + 8]
add dword [ebp - 0x4c], 4
add edi, 2
sub dword [ebp - 0x48], 1
mov dword [ebp + 8], edi
jne 0x1002a350
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax + 4]
push 1
call dword [0x1009d440]
mov eax, dword [ebp + 0x28]
cmp eax, 0x10
jb 0x1002a735
inc eax
lea ecx, [ebp + 0x14]
push eax
push dword [ebp + 0x14]
call fcn.10002650
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10067955
mov esp, ebp
pop ebp
ret 0x24