Function at 0x100a7120
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d8c85
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x100ea00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x34], ecx
mov dl, byte [ecx]
xor esi, esi
test dl, dl
mov eax, 0xff
cmove eax, esi
neg dl
mov dword [ecx + 8], eax
mov eax, dword [0x1015e6f0]
sbb dl, dl
mov ebx, dword [ecx + 8]
and dl, 0xa
mov edi, dword [ecx + 0x20]
mov esi, dword [ecx + 0x14]
mov dword [ebp - 0x38], eax
mov al, byte [ecx + 8]
mov byte [ebp - 0x35], al
mov eax, dword [0x100de0a0]
mov dword [ebp - 0x2c], eax
mov eax, dword [ecx + 0x1c]
mov dword [ebp - 0x30], eax
mov eax, dword [ecx + 0x18]
mov ecx, dword [0x1015fea4]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x29], dl
mov eax, dword [ecx]
mov edx, dword [eax + 0x38]
movzx eax, bl
shl eax, 0x18
or eax, 0x141414
push eax
call edx
mov ecx, dword [0x1015fea4]
mov ebx, dword [ebp - 0x3c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x40]
lea eax, [edi + ebx]
push eax
mov eax, dword [ebp - 0x30]
add eax, esi
push eax
push ebx
push esi
call edx
mov edx, dword [ebp - 0x34]
mov ecx, 0x465c5cff
mov esi, dword [ebp - 0x2c]
mov eax, esi
cmp byte [edx], 0
mov ebx, dword [edx + 0x18]
mov edi, dword [edx + 0x14]
cmovne eax, ecx
mov ecx, dword [edx + 0x20]
inc ebx
sub ecx, 2
inc edi
mov dword [ebp - 0x3c], ecx
mov ecx, dword [edx + 0x1c]
sub ecx, 2
mov dword [ebp - 0x30], ecx
mov ecx, dword [0x1015fea4]
push eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x38]
call edx
mov ecx, dword [0x1015fea4]
mov eax, dword [ecx]
mov edx, dword [eax + 0x48]
mov eax, dword [ebp - 0x3c]
add eax, ebx
push eax
mov eax, dword [ebp - 0x30]
add eax, edi
push eax
push ebx
push edi
call edx
mov edx, dword [ebp - 0x34]
mov eax, esi
mov ecx, 0x825c5cff
cmp byte [edx], 0
cmovne eax, ecx
mov ecx, dword [edx + 0x1c]
mov ebx, dword [edx + 0x18]
sub ecx, 0xa
mov edi, dword [edx + 0x14]
add ebx, 0x1e
mov dword [ebp - 0x3c], ecx
add edi, 5
mov ecx, dword [0x1015fea4]
push eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x38]
call edx
mov ecx, dword [0x1015fea4]
mov eax, dword [ecx]
mov edx, dword [eax + 0x40]
lea eax, [ebx + 1]
push eax
mov eax, dword [ebp - 0x3c]
add eax, edi
push eax
push ebx
push edi
call edx
push 0xc
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x28]
push 0x100ded60
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.10024c70
mov ebx, dword [ebp - 0x34]
lea ecx, [ebp - 0x54]
mov dword [ebp - 4], 0
push 0xc
mov dword [ebp - 0x54], 0
cmp byte [ebx], 0
mov edi, dword [ebx + 0x18]
cmovne esi, dword [0x100de0a0]
add edi, 8
push 0x100ded60
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0xf
mov byte [ebp - 0x54], 0
call fcn.10024c70
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x60]
mov ecx, 0x101601cc
push eax
call fcn.100c2830
mov ecx, dword [ebx + 0x14]
add ecx, 0xb
push 1
mov eax, dword [eax]
add eax, ecx
lea ecx, [ebp - 0x28]
push ecx
push esi
push edi
push eax
mov ecx, 0x101601cc
call fcn.100c2520
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x40]
cmp edx, 0x10
jb 0x100a733c
mov ecx, dword [ebp - 0x54]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100a7332
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a737b
push edx
push ecx
call fcn.100cfec4
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0xf
mov byte [ebp - 0x54], 0
cmp edx, 0x10
jb 0x100a738b
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100a7381
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100a7381
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100cfec4
add esp, 8
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x30], 8
mov esi, dword [edx + 0x28]
mov eax, dword [edx + 0x2c]
cmp esi, eax
je 0x100a76d2
mov ecx, dword [edx + 0x14]
sub eax, esi
mov ebx, dword [edx + 0x18]
mov dword [ebp - 0x58], ecx
xor ecx, ecx
sar eax, 2
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x3c], ecx
test eax, eax
je 0x100a74b7
mov edi, dword [ebp - 0x38]
mov ebx, dword [esi + ecx*4]
lea eax, [esi + ecx*4]
cmp ebx, dword [edx + 0x34]
lea ecx, [ebp - 0x28]
mov esi, dword [ebp - 0x2c]
push 0xd
mov dword [ebp - 0x28], 0
cmove esi, edi
push 0x100ded70
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.10024c70
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 2
push eax
lea eax, [ebp - 0x68]
mov ecx, 0x101601cc
push eax
call fcn.100c2830
mov edx, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x30]
add edx, 0xff
add ecx, edx
mov eax, dword [eax]
push 0
add eax, ecx
mov ecx, dword [ebp - 0x5c]
push ebx
push esi
add ecx, 8
push ecx
push eax
mov ecx, 0x101601cc
call fcn.100c2520
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x100a747a
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100a7470
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a737b
push edx
push ecx
call fcn.100cfec4
add esp, 8
mov eax, dword [ebp - 0x38]
mov ecx, 0x101601cc
push dword [eax]
lea eax, [ebp - 0x44]
push eax
call fcn.100c2830
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x34]
add ecx, 0xc
mov eax, dword [eax]
add ecx, eax
mov dword [ebp - 0x30], ecx
mov eax, dword [edx + 0x2c]
mov ecx, dword [ebp - 0x3c]
mov esi, dword [edx + 0x28]
inc ecx
sub eax, esi
mov dword [ebp - 0x3c], ecx
sar eax, 2
cmp ecx, eax
jb 0x100a73c4
mov ecx, dword [edx + 0x34]
mov eax, dword [ecx + 0x18]
cmp eax, dword [ecx + 0x1c]
je 0x100a76d2
mov eax, dword [edx + 8]
mov esi, dword [edx + 0x20]
mov edi, dword [edx + 0x14]
sub esi, 0x2d
mov ecx, dword [0x1015fea4]
mov byte [ebp - 0x29], al
mov eax, dword [edx + 0x1c]
sub eax, 0x14
mov word [ebp - 0x2c], 0x1717
cdq
sub eax, edx
mov byte [ebp - 0x2a], 0x17
push dword [ebp - 0x2c]
mov ebx, eax
mov eax, dword [ebp - 0x34]
sar ebx, 1
mov eax, dword [eax + 0x18]
add eax, 0x23
mov dword [ebp - 0x30], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x1015fea4]
mov eax, dword [ecx]
mov edx, dword [eax + 0x40]
mov eax, dword [ebp - 0x30]
add eax, esi
lea esi, [edi + 0xd]
push eax
mov dword [ebp - 0x38], eax
lea eax, [ebx - 6]
add eax, esi
push eax
push dword [ebp - 0x30]
push esi
call edx
mov ecx, dword [ebp - 0x34]
lea esi, [edi + 0xd]
mov word [ebp - 0x2c], 0x1717
add esi, ebx
mov byte [ebp - 0x2a], 0x17
mov eax, dword [ecx + 8]
mov ecx, dword [0x1015fea4]
mov byte [ebp - 0x29], al
push dword [ebp - 0x2c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x1015fea4]
push dword [ebp - 0x38]
mov eax, dword [ecx]
mov edx, dword [eax + 0x40]
lea eax, [ebx - 6]
add eax, esi
push eax
push dword [ebp - 0x30]
push esi
call edx
mov ecx, dword [ebp - 0x34]
mov word [ebp - 0x2c], 0
mov byte [ebp - 0x2a], 2
mov eax, dword [ecx + 8]
mov ecx, dword [0x1015fea4]
mov byte [ebp - 0x29], al
push dword [ebp - 0x2c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x1015fea4]
lea esi, [edi + 0xd]
push dword [ebp - 0x38]
mov eax, dword [ecx]
mov edx, dword [eax + 0x48]
lea eax, [ebx - 7]
add eax, esi
push eax
push dword [ebp - 0x30]
push esi
call edx
mov ecx, dword [ebp - 0x34]
mov eax, dword [ecx + 8]
mov ecx, dword [0x1015fea4]
lea esi, [edi + 0xe]
mov byte [ebp - 0x29], al
add esi, ebx
mov word [ebp - 0x2c], 0
mov byte [ebp - 0x2a], 2
mov eax, dword [ecx]
push dword [ebp - 0x2c]
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x1015fea4]
push dword [ebp - 0x38]
mov eax, dword [ecx]
mov edx, dword [eax + 0x48]
lea eax, [ebx - 7]
add eax, esi
push eax
push dword [ebp - 0x30]
push esi
call edx
mov dword [ebp - 0x48], 0x69392c1a
xor eax, eax
mov dword [ebp - 0x44], 0x7b697b78
mov dword [ebp - 0x40], 0x497a7b79
xor byte [ebp + eax - 0x48], 0x49
inc eax
cmp eax, 0xc
jb 0x100a7606
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100a7630
sub ecx, edx
lea eax, [ebp - 0x48]
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.10024c70
mov edx, dword [ebp - 0x34]
mov dword [ebp - 4], 3
mov eax, dword [edx + 0x34]
mov edi, dword [eax + 0x1c]
mov esi, dword [eax + 0x18]
cmp esi, edi
je 0x100a768b
nop dword [eax]
mov ecx, dword [esi]
test ecx, ecx
je 0x100a7684
mov eax, dword [edx + 0x38]
test eax, eax
je 0x100a7671
cmp ecx, eax
je 0x100a7684
cmp byte [ecx + 0x68], 0
je 0x100a7684
test byte [ecx + 0x50], 1
je 0x100a7684
mov eax, dword [ecx]
call dword [eax]
mov edx, dword [ebp - 0x34]
add esi, 4
cmp esi, edi
jne 0x100a7660
mov ecx, dword [edx + 0x38]
test ecx, ecx
je 0x100a769c
cmp byte [ecx + 0x68], 0
je 0x100a769c
mov eax, dword [ecx]
call dword [eax]
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x100a76d2
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100a76c8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100a76c8
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100cfec4
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100cfa49
mov esp, ebp
pop ebp
ret