Function at 0x1010bbd0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd0
mov eax, dword [0x103250c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x1036622c]
push ebx
push esi
push edi
test al, 1
jne 0x1010bd93
or eax, 1
mov ecx, 0x10324a90
mov dword [0x1036622c], eax
lea eax, [ebp - 0x34]
push eax
call fcn.1004ef70
cmp dword [ebp - 0x20], 0xf
lea edi, [ebp - 0x34]
cmova edi, dword [ebp - 0x34]
cmp byte [0x10324a50], 0
je 0x1010bc7a
cmp byte [0x10324a51], 0
jne 0x1010bcc5
mov byte [0x10324a51], 1
xor esi, esi
xor edx, edx
mov ebx, esi
xor edx, dword [0x10324a8c]
xor ebx, dword [0x10324a88]
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 - 0xcc], edx
mov eax, ebx
shrd eax, edx, 7
xor al, bl
xor byte [esi + 0x10324a52], al
inc esi
cmp esi, 0x30
jb 0x1010bc33
jmp 0x1010bcc5
xor esi, esi
nop dword [eax]
xor edx, edx
mov ebx, esi
xor edx, dword [0x10324a8c]
xor ebx, dword [0x10324a88]
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 - 0xcc], edx
mov eax, ebx
shrd eax, edx, 7
xor al, bl
xor byte [esi + 0x10324a52], al
inc esi
cmp esi, 0x30
jb 0x1010bc80
lea eax, [ebp - 0xc5]
push eax
push 0x10324a81
push 0x10324a52
lea ecx, [ebp - 0x1c]
call fcn.1004d5e0
mov ecx, dword [0x10325edc]
lea edx, [ebp - 0x1c]
cmp dword [ebp - 8], 0xf
push 0
cmova edx, dword [ebp - 0x1c]
mov eax, dword [ecx]
push 1
push edi
push edx
mov eax, dword [eax + 0x150]
call eax
mov ecx, dword [ebp - 8]
mov dword [0x10366228], eax
cmp ecx, 0xf
jbe 0x1010bd34
mov edx, dword [ebp - 0x1c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1010bd2a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1010bd6c
push ecx
push edx
call fcn.1010f64a
add esp, 8
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0xf
mov byte [ebp - 0x1c], 0
cmp ecx, 0xf
jbe 0x1010bd7c
mov edx, dword [ebp - 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1010bd72
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1010bd72
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1010f64a
add esp, 8
mov eax, dword [0x1036622c]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
test al, 2
jne 0x1010bf43
or eax, 2
mov ecx, 0x10324ae8
mov dword [0x1036622c], eax
lea eax, [ebp - 0x64]
push eax
call fcn.1004ef70
cmp dword [ebp - 0x50], 0xf
lea edi, [ebp - 0x64]
cmova edi, dword [ebp - 0x64]
cmp byte [0x10324ab0], 0
je 0x1010be27
cmp byte [0x10324ab1], 0
jne 0x1010be75
mov byte [0x10324ab1], 1
xor esi, esi
nop dword [eax + eax]
xor edx, edx
mov ebx, esi
xor edx, dword [0x10324ae4]
xor ebx, dword [0x10324ae0]
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 - 0xcc], edx
mov eax, ebx
shrd eax, edx, 7
xor al, bl
xor byte [esi + 0x10324ab2], al
inc esi
cmp esi, 0x29
jb 0x1010bde0
jmp 0x1010be75
xor esi, esi
nop dword [eax]
xor edx, edx
mov ebx, esi
xor edx, dword [0x10324ae4]
xor ebx, dword [0x10324ae0]
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 - 0xcc], edx
mov eax, ebx
shrd eax, edx, 7
xor al, bl
xor byte [esi + 0x10324ab2], al
inc esi
cmp esi, 0x29
jb 0x1010be30
lea eax, [ebp - 0xc5]
push eax
push 0x10324ada
push 0x10324ab2
lea ecx, [ebp - 0x4c]
call fcn.1004d5e0
mov ecx, dword [0x10325edc]
lea edx, [ebp - 0x4c]
cmp dword [ebp - 0x38], 0xf
push 0
cmova edx, dword [ebp - 0x4c]
mov eax, dword [ecx]
push 1
push edi
push edx
mov eax, dword [eax + 0x150]
call eax
mov ecx, dword [ebp - 0x38]
mov dword [0x10366230], eax
cmp ecx, 0xf
jbe 0x1010bee4
mov edx, dword [ebp - 0x4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1010beda
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1010bf1c
push ecx
push edx
call fcn.1010f64a
add esp, 8
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0xf
mov byte [ebp - 0x4c], 0
cmp ecx, 0xf
jbe 0x1010bf2c
mov edx, dword [ebp - 0x64]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1010bf22
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1010bf22
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1010f64a
add esp, 8
mov eax, dword [0x1036622c]
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0xf
mov byte [ebp - 0x64], 0
test al, 4
jne 0x1010c0fc
or eax, 4
mov ecx, 0x10324b48
mov dword [0x1036622c], eax
lea eax, [ebp - 0x94]
push eax
call fcn.1004ef70
cmp dword [ebp - 0x80], 0xf
lea edi, [ebp - 0x94]
cmova edi, dword [ebp - 0x94]
cmp byte [0x10324b08], 0
je 0x1010bfdb
cmp byte [0x10324b09], 0
jne 0x1010c025
mov byte [0x10324b09], 1
xor esi, esi
xor edx, edx
mov ebx, esi
xor edx, dword [0x10324b44]
xor ebx, dword [0x10324b40]
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 - 0xcc], edx
mov eax, ebx
shrd eax, edx, 7
xor al, bl
xor byte [esi + 0x10324b0a], al
inc esi
cmp esi, 0x34
jb 0x1010bf94
jmp 0x1010c025
xor esi, esi
nop dword [eax]
xor edx, edx
mov ebx, esi
xor edx, dword [0x10324b44]
xor ebx, dword [0x10324b40]
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 - 0xcc], edx
mov eax, ebx
shrd eax, edx, 7
xor al, bl
xor byte [esi + 0x10324b0a], al
inc esi
cmp esi, 0x34
jb 0x1010bfe0
lea eax, [ebp - 0xc5]
push eax
push 0x10324b3d
push 0x10324b0a
lea ecx, [ebp - 0x7c]
call fcn.1004d5e0
mov ecx, dword [0x10325edc]
lea edx, [ebp - 0x7c]
cmp dword [ebp - 0x68], 0xf
push 0
cmova edx, dword [ebp - 0x7c]
mov eax, dword [ecx]
push 1
push edi
push edx
mov eax, dword [eax + 0x150]
call eax
mov ecx, dword [ebp - 0x68]
mov dword [0x10366234], eax
cmp ecx, 0xf
jbe 0x1010c094
mov edx, dword [ebp - 0x7c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1010c08a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1010c0cf
push ecx
push edx
call fcn.1010f64a
add esp, 8
mov ecx, dword [ebp - 0x80]
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0xf
mov byte [ebp - 0x7c], 0
cmp ecx, 0xf
jbe 0x1010c0df
mov edx, dword [ebp - 0x94]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1010c0d5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1010c0d5
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1010f64a
add esp, 8
mov eax, dword [0x1036622c]
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0xf
mov byte [ebp - 0x94], 0
test al, 8
jne 0x1010c2d8
or eax, 8
mov ecx, 0x10324ba0
mov dword [0x1036622c], eax
lea eax, [ebp - 0xc4]
push eax
call fcn.1004ef70
cmp dword [ebp - 0xb0], 0xf
lea edi, [ebp - 0xc4]
cmova edi, dword [ebp - 0xc4]
cmp byte [0x10324b68], 0
je 0x1010c197
cmp byte [0x10324b69], 0
jne 0x1010c1e5
mov byte [0x10324b69], 1
xor esi, esi
xor edx, edx
mov ebx, esi
xor edx, dword [0x10324b9c]
xor ebx, dword [0x10324b98]
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 - 0xcc], edx
mov eax, ebx
shrd eax, edx, 7
xor al, bl
xor byte [esi + 0x10324b6a], al
inc esi
cmp esi, 0x28
jb 0x1010c150
jmp 0x1010c1e5
xor esi, esi
nop dword [eax]
xor edx, edx
mov ebx, esi
xor edx, dword [0x10324b9c]
xor ebx, dword [0x10324b98]
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 - 0xcc], edx
mov eax, ebx
shrd eax, edx, 7
xor al, bl
xor byte [esi + 0x10324b6a], al
inc esi
cmp esi, 0x28
jb 0x1010c1a0
lea eax, [ebp - 0xc5]
push eax
push 0x10324b91
push 0x10324b6a
lea ecx, [ebp - 0xac]
call fcn.1004d5e0
mov ecx, dword [0x10325edc]
lea edx, [ebp - 0xac]
cmp dword [ebp - 0x98], 0xf
push 0
cmova edx, dword [ebp - 0xac]
mov eax, dword [ecx]
push 1
push edi
push edx
mov eax, dword [eax + 0x150]
call eax
mov ecx, dword [ebp - 0x98]
mov dword [0x10366238], eax
cmp ecx, 0xf
jbe 0x1010c266
mov edx, dword [ebp - 0xac]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1010c25c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1010c2ad
push ecx
push edx
call fcn.1010f64a
add esp, 8
mov ecx, dword [ebp - 0xb0]
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x98], 0xf
mov byte [ebp - 0xac], 0
cmp ecx, 0xf
jbe 0x1010c2bd
mov edx, dword [ebp - 0xc4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1010c2b3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1010c2b3
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1010f64a
add esp, 8
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xb0], 0xf
mov byte [ebp - 0xc4], 0
mov eax, dword [0x10317d48]
mov ecx, dword [0x10366228]
shr eax, 3
and al, 1
mov byte [ebp - 0xcc], al
mov eax, dword [ecx]
mov esi, dword [ebp - 0xcc]
push esi
push 4
call dword [eax + 0x74]
mov ecx, dword [0x10366230]
push esi
push 4
mov eax, dword [ecx]
call dword [eax + 0x74]
mov ecx, dword [0x10366234]
push esi
push 4
mov eax, dword [ecx]
call dword [eax + 0x74]
mov ecx, dword [0x10366238]
push esi
push 4
mov eax, dword [ecx]
call dword [eax + 0x74]
test byte [0x10317d48], 8
je 0x1010c33a
mov eax, dword [0x10326854]
mov dword [eax], 0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1010f972
mov esp, ebp
pop ebp
ret