Function at 0x1010c940
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd0
mov eax, dword [0x102ce4c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x102ddb18]
push ebx
push esi
push edi
test al, 1
jne 0x1010cb06
or eax, 1
mov ecx, 0x102cde90
mov dword [0x102ddb18], eax
lea eax, [ebp - 0x34]
push eax
call fcn.10050fd0
cmp dword [ebp - 0x20], 0xf
lea edi, [ebp - 0x34]
cmova edi, dword [ebp - 0x34]
cmp byte [0x102cde50], 0
je 0x1010c9f0
cmp byte [0x102cde51], 0
jne 0x1010ca3d
mov byte [0x102cde51], 1
xor esi, esi
xor edx, edx
mov ebx, esi
xor edx, dword [0x102cde8c]
xor ebx, dword [0x102cde88]
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, byte [esi + 0x102cde52]
xor al, bl
mov byte [esi + 0x102cde52], al
inc esi
cmp esi, 0x30
jb 0x1010c9a3
jmp 0x1010ca3d
xor esi, esi
xor edx, edx
mov ebx, esi
xor edx, dword [0x102cde8c]
xor ebx, dword [0x102cde88]
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, byte [esi + 0x102cde52]
xor al, bl
mov byte [esi + 0x102cde52], al
inc esi
cmp esi, 0x30
jb 0x1010c9f2
lea eax, [ebp - 0xc5]
push eax
push 0x102cde81
push 0x102cde52
lea ecx, [ebp - 0x1c]
call fcn.1004f4a0
mov ecx, dword [0x102cf48c]
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 [0x102ddb14], eax
cmp ecx, 0xf
jbe 0x1010caac
mov edx, dword [ebp - 0x1c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1010caa2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1010cae4
push ecx
push edx
call fcn.1011033a
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 0x1010caf4
mov edx, dword [ebp - 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1010caea
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1010caea
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1011033a
add esp, 8
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
mov eax, dword [0x102ddb20]
test al, 1
jne 0x1010ccb6
or eax, 1
mov ecx, 0x102cdee8
mov dword [0x102ddb20], eax
lea eax, [ebp - 0x64]
push eax
call fcn.10050fd0
cmp dword [ebp - 0x50], 0xf
lea edi, [ebp - 0x64]
cmova edi, dword [ebp - 0x64]
cmp byte [0x102cdeb0], 0
je 0x1010cba0
cmp byte [0x102cdeb1], 0
jne 0x1010cbed
mov byte [0x102cdeb1], 1
xor esi, esi
xor edx, edx
mov ebx, esi
xor edx, dword [0x102cdee4]
xor ebx, dword [0x102cdee0]
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, byte [esi + 0x102cdeb2]
xor al, bl
mov byte [esi + 0x102cdeb2], al
inc esi
cmp esi, 0x29
jb 0x1010cb53
jmp 0x1010cbed
xor esi, esi
xor edx, edx
mov ebx, esi
xor edx, dword [0x102cdee4]
xor ebx, dword [0x102cdee0]
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, byte [esi + 0x102cdeb2]
xor al, bl
mov byte [esi + 0x102cdeb2], al
inc esi
cmp esi, 0x29
jb 0x1010cba2
lea eax, [ebp - 0xc5]
push eax
push 0x102cdeda
push 0x102cdeb2
lea ecx, [ebp - 0x4c]
call fcn.1004f4a0
mov ecx, dword [0x102cf48c]
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 [0x102ddb1c], eax
cmp ecx, 0xf
jbe 0x1010cc5c
mov edx, dword [ebp - 0x4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1010cc52
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1010cc94
push ecx
push edx
call fcn.1011033a
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 0x1010cca4
mov edx, dword [ebp - 0x64]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1010cc9a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1010cc9a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1011033a
add esp, 8
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0xf
mov byte [ebp - 0x64], 0
mov eax, dword [0x102ddb28]
test al, 1
jne 0x1010ce7d
or eax, 1
mov ecx, 0x102cdf48
mov dword [0x102ddb28], eax
lea eax, [ebp - 0x94]
push eax
call fcn.10050fd0
cmp dword [ebp - 0x80], 0xf
lea edi, [ebp - 0x94]
cmova edi, dword [ebp - 0x94]
cmp byte [0x102cdf08], 0
je 0x1010cd5d
cmp byte [0x102cdf09], 0
jne 0x1010cdab
mov byte [0x102cdf09], 1
xor esi, esi
nop dword [eax]
xor edx, edx
mov ebx, esi
xor edx, dword [0x102cdf44]
xor ebx, dword [0x102cdf40]
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, byte [esi + 0x102cdf0a]
xor al, bl
mov byte [esi + 0x102cdf0a], al
inc esi
cmp esi, 0x34
jb 0x1010cd10
jmp 0x1010cdab
xor esi, esi
nop
xor edx, edx
mov ebx, esi
xor edx, dword [0x102cdf44]
xor ebx, dword [0x102cdf40]
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, byte [esi + 0x102cdf0a]
xor al, bl
mov byte [esi + 0x102cdf0a], al
inc esi
cmp esi, 0x34
jb 0x1010cd60
lea eax, [ebp - 0xc5]
push eax
push 0x102cdf3d
push 0x102cdf0a
lea ecx, [ebp - 0x7c]
call fcn.1004f4a0
mov ecx, dword [0x102cf48c]
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 [0x102ddb24], eax
cmp ecx, 0xf
jbe 0x1010ce1a
mov edx, dword [ebp - 0x7c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1010ce10
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1010ce55
push ecx
push edx
call fcn.1011033a
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 0x1010ce65
mov edx, dword [ebp - 0x94]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1010ce5b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1010ce5b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1011033a
add esp, 8
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0xf
mov byte [ebp - 0x94], 0
mov eax, dword [0x102ddb30]
test al, 1
jne 0x1010d063
or eax, 1
mov ecx, 0x102cdfa0
mov dword [0x102ddb30], eax
lea eax, [ebp - 0xc4]
push eax
call fcn.10050fd0
cmp dword [ebp - 0xb0], 0xf
lea edi, [ebp - 0xc4]
cmova edi, dword [ebp - 0xc4]
cmp byte [0x102cdf68], 0
je 0x1010cf23
cmp byte [0x102cdf69], 0
jne 0x1010cf70
mov byte [0x102cdf69], 1
xor esi, esi
xor edx, edx
mov ebx, esi
xor edx, dword [0x102cdf9c]
xor ebx, dword [0x102cdf98]
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, byte [esi + 0x102cdf6a]
xor al, bl
mov byte [esi + 0x102cdf6a], al
inc esi
cmp esi, 0x28
jb 0x1010ced6
jmp 0x1010cf70
xor esi, esi
xor edx, edx
mov ebx, esi
xor edx, dword [0x102cdf9c]
xor ebx, dword [0x102cdf98]
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, byte [esi + 0x102cdf6a]
xor al, bl
mov byte [esi + 0x102cdf6a], al
inc esi
cmp esi, 0x28
jb 0x1010cf25
lea eax, [ebp - 0xc5]
push eax
push 0x102cdf91
push 0x102cdf6a
lea ecx, [ebp - 0xac]
call fcn.1004f4a0
mov ecx, dword [0x102cf48c]
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 [0x102ddb2c], eax
cmp ecx, 0xf
jbe 0x1010cff1
mov edx, dword [ebp - 0xac]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1010cfe7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1010d038
push ecx
push edx
call fcn.1011033a
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 0x1010d048
mov edx, dword [ebp - 0xc4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1010d03e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1010d03e
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1011033a
add esp, 8
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xb0], 0xf
mov byte [ebp - 0xc4], 0
mov eax, dword [0x102c15b8]
mov ecx, dword [0x102ddb14]
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 [0x102ddb1c]
push esi
push 4
mov eax, dword [ecx]
call dword [eax + 0x74]
mov ecx, dword [0x102ddb24]
push esi
push 4
mov eax, dword [ecx]
call dword [eax + 0x74]
mov ecx, dword [0x102ddb2c]
push esi
push 4
mov eax, dword [ecx]
call dword [eax + 0x74]
test byte [0x102c15b8], 8
je 0x1010d0c5
mov eax, dword [0x102cfdc4]
mov dword [eax], 0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10110662
mov esp, ebp
pop ebp
ret