Function at 0x10100ff0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xcc
mov eax, dword [0x1025ab04]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x1026bc98]
push ebx
push esi
push edi
test al, 1
jne 0x101011b9
or eax, 1
mov ecx, 0x1025a4e0
mov dword [0x1026bc98], eax
lea eax, [ebp - 0x7c]
push eax
call fcn.100503a0
cmp dword [ebp - 0x68], 0x10
lea edi, [ebp - 0x7c]
cmovae edi, dword [ebp - 0x7c]
cmp byte [0x1025a4a0], 0
je 0x1010109a
cmp byte [0x1025a4a1], 0
jne 0x101010e5
mov byte [0x1025a4a1], 1
xor esi, esi
xor edx, edx
mov ebx, esi
xor edx, dword [0x1025a4dc]
xor ebx, dword [0x1025a4d8]
xor edx, 0xd28f2c5
xor ebx, 0x1de26cd5
mov ecx, edx
mov eax, ebx
shld ecx, eax, 0xd
shl eax, 0xd
xor edx, ecx
xor ebx, eax
mov dword [ebp - 0xc8], edx
mov eax, ebx
shrd eax, edx, 7
xor al, bl
xor byte [esi + 0x1025a4a2], al
inc esi
cmp esi, 0x30
jb 0x10101053
jmp 0x101010e5
xor esi, esi
nop dword [eax]
xor edx, edx
mov ebx, esi
xor edx, dword [0x1025a4dc]
xor ebx, dword [0x1025a4d8]
xor edx, 0xd28f2c5
xor ebx, 0x1de26cd5
mov ecx, edx
mov eax, ebx
shld ecx, eax, 0xd
shl eax, 0xd
xor edx, ecx
xor ebx, eax
mov dword [ebp - 0xc8], edx
mov eax, ebx
shrd eax, edx, 7
xor al, bl
xor byte [esi + 0x1025a4a2], al
inc esi
cmp esi, 0x30
jb 0x101010a0
push 0x2f
push 0x1025a4a2
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0xf
call fcn.10045f20
mov ecx, dword [0x1025ba8c]
lea edx, [ebp - 0x1c]
cmp dword [ebp - 8], 0x10
push 0
cmovae edx, dword [ebp - 0x1c]
mov eax, dword [ecx]
push 1
push edi
push edx
mov eax, dword [eax + 0x150]
call eax
mov edx, dword [ebp - 8]
mov dword [0x1026bc94], eax
cmp edx, 0x10
jb 0x1010115f
mov ecx, dword [ebp - 0x1c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10101155
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10101197
push edx
push ecx
call fcn.101041fa
add esp, 8
mov edx, dword [ebp - 0x68]
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0xf
mov byte [ebp - 0x1c], 0
cmp edx, 0x10
jb 0x101011a7
mov ecx, dword [ebp - 0x7c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1010119d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1010119d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.101041fa
add esp, 8
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0xf
mov byte [ebp - 0x7c], 0
mov eax, dword [0x1026bca0]
test al, 1
jne 0x10101388
or eax, 1
mov ecx, 0x1025a538
mov dword [0x1026bca0], eax
lea eax, [ebp - 0x94]
push eax
call fcn.100503a0
cmp dword [ebp - 0x80], 0x10
lea edi, [ebp - 0x94]
cmovae edi, dword [ebp - 0x94]
cmp byte [0x1025a500], 0
je 0x1010125d
cmp byte [0x1025a501], 0
jne 0x101012ab
mov byte [0x1025a501], 1
xor esi, esi
nop
xor edx, edx
mov ebx, esi
xor edx, dword [0x1025a534]
xor ebx, dword [0x1025a530]
xor edx, 0xd28f2c5
xor ebx, 0x1de26cd5
mov ecx, edx
mov eax, ebx
shld ecx, eax, 0xd
shl eax, 0xd
xor edx, ecx
xor ebx, eax
mov dword [ebp - 0xc8], edx
mov eax, ebx
shrd eax, edx, 7
xor al, byte [esi + 0x1025a502]
xor al, bl
mov byte [esi + 0x1025a502], al
inc esi
cmp esi, 0x29
jb 0x10101210
jmp 0x101012ab
xor esi, esi
nop
xor edx, edx
mov ebx, esi
xor edx, dword [0x1025a534]
xor ebx, dword [0x1025a530]
xor edx, 0xd28f2c5
xor ebx, 0x1de26cd5
mov ecx, edx
mov eax, ebx
shld ecx, eax, 0xd
shl eax, 0xd
xor edx, ecx
xor ebx, eax
mov dword [ebp - 0xc8], edx
mov eax, ebx
shrd eax, edx, 7
xor al, byte [esi + 0x1025a502]
xor al, bl
mov byte [esi + 0x1025a502], al
inc esi
cmp esi, 0x29
jb 0x10101260
push 0x28
push 0x1025a502
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xf
call fcn.10045f20
mov ecx, dword [0x1025ba8c]
lea edx, [ebp - 0x34]
cmp dword [ebp - 0x20], 0x10
push 0
cmovae edx, dword [ebp - 0x34]
mov eax, dword [ecx]
push 1
push edi
push edx
mov eax, dword [eax + 0x150]
call eax
mov edx, dword [ebp - 0x20]
mov dword [0x1026bc9c], eax
cmp edx, 0x10
jb 0x10101325
mov ecx, dword [ebp - 0x34]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1010131b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10101360
push edx
push ecx
call fcn.101041fa
add esp, 8
mov edx, dword [ebp - 0x80]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
cmp edx, 0x10
jb 0x10101370
mov ecx, dword [ebp - 0x94]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10101366
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10101366
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.101041fa
add esp, 8
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0xf
mov byte [ebp - 0x94], 0
mov eax, dword [0x1026bca8]
test al, 1
jne 0x1010155e
or eax, 1
mov ecx, 0x1025a598
mov dword [0x1026bca8], eax
lea eax, [ebp - 0xac]
push eax
call fcn.100503a0
cmp dword [ebp - 0x98], 0x10
lea edi, [ebp - 0xac]
cmovae edi, dword [ebp - 0xac]
cmp byte [0x1025a558], 0
je 0x1010142e
cmp byte [0x1025a559], 0
jne 0x1010147b
mov byte [0x1025a559], 1
xor esi, esi
xor edx, edx
mov ebx, esi
xor edx, dword [0x1025a594]
xor ebx, dword [0x1025a590]
xor edx, 0xd28f2c5
xor ebx, 0x1de26cd5
mov ecx, edx
mov eax, ebx
shld ecx, eax, 0xd
shl eax, 0xd
xor edx, ecx
xor ebx, eax
mov dword [ebp - 0xc8], edx
mov eax, ebx
shrd eax, edx, 7
xor al, byte [esi + 0x1025a55a]
xor al, bl
mov byte [esi + 0x1025a55a], al
inc esi
cmp esi, 0x34
jb 0x101013e1
jmp 0x1010147b
xor esi, esi
xor edx, edx
mov ebx, esi
xor edx, dword [0x1025a594]
xor ebx, dword [0x1025a590]
xor edx, 0xd28f2c5
xor ebx, 0x1de26cd5
mov ecx, edx
mov eax, ebx
shld ecx, eax, 0xd
shl eax, 0xd
xor edx, ecx
xor ebx, eax
mov dword [ebp - 0xc8], edx
mov eax, ebx
shrd eax, edx, 7
xor al, byte [esi + 0x1025a55a]
xor al, bl
mov byte [esi + 0x1025a55a], al
inc esi
cmp esi, 0x34
jb 0x10101430
push 0x33
push 0x1025a55a
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0xf
call fcn.10045f20
mov ecx, dword [0x1025ba8c]
lea edx, [ebp - 0x4c]
cmp dword [ebp - 0x38], 0x10
push 0
cmovae edx, dword [ebp - 0x4c]
mov eax, dword [ecx]
push 1
push edi
push edx
mov eax, dword [eax + 0x150]
call eax
mov edx, dword [ebp - 0x38]
mov dword [0x1026bca4], eax
cmp edx, 0x10
jb 0x101014f5
mov ecx, dword [ebp - 0x4c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x101014eb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10101533
push edx
push ecx
call fcn.101041fa
add esp, 8
mov edx, dword [ebp - 0x98]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0xf
mov byte [ebp - 0x4c], 0
cmp edx, 0x10
jb 0x10101543
mov ecx, dword [ebp - 0xac]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10101539
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10101539
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.101041fa
add esp, 8
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x98], 0xf
mov byte [ebp - 0xac], 0
mov eax, dword [0x1026bcb0]
test al, 1
jne 0x1010173e
or eax, 1
mov ecx, 0x1025a5f0
mov dword [0x1026bcb0], eax
lea eax, [ebp - 0xc4]
push eax
call fcn.100503a0
cmp dword [ebp - 0xb0], 0x10
lea edi, [ebp - 0xc4]
cmovae edi, dword [ebp - 0xc4]
cmp byte [0x1025a5b8], 0
je 0x1010160d
cmp byte [0x1025a5b9], 0
jne 0x1010165b
mov byte [0x1025a5b9], 1
xor esi, esi
nop word [eax + eax]
xor edx, edx
mov ebx, esi
xor edx, dword [0x1025a5ec]
xor ebx, dword [0x1025a5e8]
xor edx, 0xd28f2c5
xor ebx, 0x1de26cd5
mov ecx, edx
mov eax, ebx
shld ecx, eax, 0xd
shl eax, 0xd
xor edx, ecx
xor ebx, eax
mov dword [ebp - 0xc8], edx
mov eax, ebx
shrd eax, edx, 7
xor al, byte [esi + 0x1025a5ba]
xor al, bl
mov byte [esi + 0x1025a5ba], al
inc esi
cmp esi, 0x28
jb 0x101015c0
jmp 0x1010165b
xor esi, esi
nop
xor edx, edx
mov ebx, esi
xor edx, dword [0x1025a5ec]
xor ebx, dword [0x1025a5e8]
xor edx, 0xd28f2c5
xor ebx, 0x1de26cd5
mov ecx, edx
mov eax, ebx
shld ecx, eax, 0xd
shl eax, 0xd
xor edx, ecx
xor ebx, eax
mov dword [ebp - 0xc8], edx
mov eax, ebx
shrd eax, edx, 7
xor al, byte [esi + 0x1025a5ba]
xor al, bl
mov byte [esi + 0x1025a5ba], al
inc esi
cmp esi, 0x28
jb 0x10101610
push 0x27
push 0x1025a5ba
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0xf
call fcn.10045f20
mov ecx, dword [0x1025ba8c]
lea edx, [ebp - 0x64]
cmp dword [ebp - 0x50], 0x10
push 0
cmovae edx, dword [ebp - 0x64]
mov eax, dword [ecx]
push 1
push edi
push edx
mov eax, dword [eax + 0x150]
call eax
mov edx, dword [ebp - 0x50]
mov dword [0x1026bcac], eax
cmp edx, 0x10
jb 0x101016d5
mov ecx, dword [ebp - 0x64]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x101016cb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10101713
push edx
push ecx
call fcn.101041fa
add esp, 8
mov edx, dword [ebp - 0xb0]
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0xf
mov byte [ebp - 0x64], 0
cmp edx, 0x10
jb 0x10101723
mov ecx, dword [ebp - 0xc4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10101719
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10101719
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.101041fa
add esp, 8
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xb0], 0xf
mov byte [ebp - 0xc4], 0
mov eax, dword [0x1024ed08]
mov ecx, dword [0x1026bc94]
shr eax, 3
and al, 1
mov byte [ebp - 0xc8], al
mov eax, dword [ecx]
mov esi, dword [ebp - 0xc8]
push esi
push 4
call dword [eax + 0x74]
mov ecx, dword [0x1026bc9c]
push esi
push 4
mov eax, dword [ecx]
call dword [eax + 0x74]
mov ecx, dword [0x1026bca4]
push esi
push 4
mov eax, dword [ecx]
call dword [eax + 0x74]
mov ecx, dword [0x1026bcac]
push esi
push 4
mov eax, dword [ecx]
call dword [eax + 0x74]
test byte [0x1024ed08], 8
pop edi
pop esi
pop ebx
je 0x101017a3
mov eax, dword [0x1025df24]
mov dword [eax], 0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10104522
mov esp, ebp
pop ebp
ret