Function at 0x1010b710
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd0
mov eax, dword [0x1030cb40]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x1034dc2c]
push ebx
push esi
push edi
test al, 1
jne 0x1010b8d3
or eax, 1
mov ecx, 0x1030c4f8
mov dword [0x1034dc2c], eax
lea eax, [ebp - 0x34]
push eax
call fcn.1004efd0
cmp dword [ebp - 0x20], 0xf
lea edi, [ebp - 0x34]
cmova edi, dword [ebp - 0x34]
cmp byte [0x1030c4b8], 0
je 0x1010b7ba
cmp byte [0x1030c4b9], 0
jne 0x1010b805
mov byte [0x1030c4b9], 1
xor esi, esi
xor edx, edx
mov ebx, esi
xor edx, dword [0x1030c4f4]
xor ebx, dword [0x1030c4f0]
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 + 0x1030c4ba], al
inc esi
cmp esi, 0x30
jb 0x1010b773
jmp 0x1010b805
xor esi, esi
nop dword [eax]
xor edx, edx
mov ebx, esi
xor edx, dword [0x1030c4f4]
xor ebx, dword [0x1030c4f0]
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 + 0x1030c4ba], al
inc esi
cmp esi, 0x30
jb 0x1010b7c0
lea eax, [ebp - 0xc5]
push eax
push 0x1030c4e9
push 0x1030c4ba
lea ecx, [ebp - 0x1c]
call fcn.1004d640
mov ecx, dword [0x1030d95c]
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 [0x1034dc28], eax
cmp ecx, 0xf
jbe 0x1010b874
mov edx, dword [ebp - 0x1c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1010b86a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1010b8ac
push ecx
push edx
call fcn.1010f1fa
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 0x1010b8bc
mov edx, dword [ebp - 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1010b8b2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1010b8b2
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1010f1fa
add esp, 8
mov eax, dword [0x1034dc2c]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
test al, 2
jne 0x1010ba83
or eax, 2
mov ecx, 0x1030c550
mov dword [0x1034dc2c], eax
lea eax, [ebp - 0x64]
push eax
call fcn.1004efd0
cmp dword [ebp - 0x50], 0xf
lea edi, [ebp - 0x64]
cmova edi, dword [ebp - 0x64]
cmp byte [0x1030c518], 0
je 0x1010b967
cmp byte [0x1030c519], 0
jne 0x1010b9b5
mov byte [0x1030c519], 1
xor esi, esi
nop dword [eax + eax]
xor edx, edx
mov ebx, esi
xor edx, dword [0x1030c54c]
xor ebx, dword [0x1030c548]
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 + 0x1030c51a], al
inc esi
cmp esi, 0x29
jb 0x1010b920
jmp 0x1010b9b5
xor esi, esi
nop dword [eax]
xor edx, edx
mov ebx, esi
xor edx, dword [0x1030c54c]
xor ebx, dword [0x1030c548]
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 + 0x1030c51a], al
inc esi
cmp esi, 0x29
jb 0x1010b970
lea eax, [ebp - 0xc5]
push eax
push 0x1030c542
push 0x1030c51a
lea ecx, [ebp - 0x4c]
call fcn.1004d640
mov ecx, dword [0x1030d95c]
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 [0x1034dc30], eax
cmp ecx, 0xf
jbe 0x1010ba24
mov edx, dword [ebp - 0x4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1010ba1a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1010ba5c
push ecx
push edx
call fcn.1010f1fa
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 0x1010ba6c
mov edx, dword [ebp - 0x64]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1010ba62
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1010ba62
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1010f1fa
add esp, 8
mov eax, dword [0x1034dc2c]
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0xf
mov byte [ebp - 0x64], 0
test al, 4
jne 0x1010bc3c
or eax, 4
mov ecx, 0x1030c5b0
mov dword [0x1034dc2c], eax
lea eax, [ebp - 0x94]
push eax
call fcn.1004efd0
cmp dword [ebp - 0x80], 0xf
lea edi, [ebp - 0x94]
cmova edi, dword [ebp - 0x94]
cmp byte [0x1030c570], 0
je 0x1010bb1b
cmp byte [0x1030c571], 0
jne 0x1010bb65
mov byte [0x1030c571], 1
xor esi, esi
xor edx, edx
mov ebx, esi
xor edx, dword [0x1030c5ac]
xor ebx, dword [0x1030c5a8]
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 + 0x1030c572], al
inc esi
cmp esi, 0x34
jb 0x1010bad4
jmp 0x1010bb65
xor esi, esi
nop dword [eax]
xor edx, edx
mov ebx, esi
xor edx, dword [0x1030c5ac]
xor ebx, dword [0x1030c5a8]
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 + 0x1030c572], al
inc esi
cmp esi, 0x34
jb 0x1010bb20
lea eax, [ebp - 0xc5]
push eax
push 0x1030c5a5
push 0x1030c572
lea ecx, [ebp - 0x7c]
call fcn.1004d640
mov ecx, dword [0x1030d95c]
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 [0x1034dc34], eax
cmp ecx, 0xf
jbe 0x1010bbd4
mov edx, dword [ebp - 0x7c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1010bbca
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1010bc0f
push ecx
push edx
call fcn.1010f1fa
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 0x1010bc1f
mov edx, dword [ebp - 0x94]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1010bc15
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1010bc15
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1010f1fa
add esp, 8
mov eax, dword [0x1034dc2c]
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0xf
mov byte [ebp - 0x94], 0
test al, 8
jne 0x1010be18
or eax, 8
mov ecx, 0x1030c608
mov dword [0x1034dc2c], eax
lea eax, [ebp - 0xc4]
push eax
call fcn.1004efd0
cmp dword [ebp - 0xb0], 0xf
lea edi, [ebp - 0xc4]
cmova edi, dword [ebp - 0xc4]
cmp byte [0x1030c5d0], 0
je 0x1010bcd7
cmp byte [0x1030c5d1], 0
jne 0x1010bd25
mov byte [0x1030c5d1], 1
xor esi, esi
xor edx, edx
mov ebx, esi
xor edx, dword [0x1030c604]
xor ebx, dword [0x1030c600]
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 + 0x1030c5d2], al
inc esi
cmp esi, 0x28
jb 0x1010bc90
jmp 0x1010bd25
xor esi, esi
nop dword [eax]
xor edx, edx
mov ebx, esi
xor edx, dword [0x1030c604]
xor ebx, dword [0x1030c600]
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 + 0x1030c5d2], al
inc esi
cmp esi, 0x28
jb 0x1010bce0
lea eax, [ebp - 0xc5]
push eax
push 0x1030c5f9
push 0x1030c5d2
lea ecx, [ebp - 0xac]
call fcn.1004d640
mov ecx, dword [0x1030d95c]
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 [0x1034dc38], eax
cmp ecx, 0xf
jbe 0x1010bda6
mov edx, dword [ebp - 0xac]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1010bd9c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1010bded
push ecx
push edx
call fcn.1010f1fa
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 0x1010bdfd
mov edx, dword [ebp - 0xc4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1010bdf3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1010bdf3
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1010f1fa
add esp, 8
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xb0], 0xf
mov byte [ebp - 0xc4], 0
mov eax, dword [0x102ff840]
mov ecx, dword [0x1034dc28]
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 [0x1034dc30]
push esi
push 4
mov eax, dword [ecx]
call dword [eax + 0x74]
mov ecx, dword [0x1034dc34]
push esi
push 4
mov eax, dword [ecx]
call dword [eax + 0x74]
mov ecx, dword [0x1034dc38]
push esi
push 4
mov eax, dword [ecx]
call dword [eax + 0x74]
test byte [0x102ff840], 8
je 0x1010be7a
mov eax, dword [0x1030e284]
mov dword [eax], 0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1010f522
mov esp, ebp
pop ebp
ret