Function at 0x1010ab60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x1029e280]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x1029c980], 0
push esi
je 0x1010ad19
lea eax, [ebp - 0x1c]
mov byte [0x1029c980], 0
push eax
mov ecx, 0x1029c988
call fcn.1004fec0
mov ecx, dword [0x1029f25c]
lea edx, [ebp - 0x1c]
cmp dword [ebp - 8], 0xf
cmova edx, dword [ebp - 0x1c]
mov eax, dword [ecx]
push edx
mov eax, dword [eax + 0x40]
call eax
mov ecx, eax
push 0
mov edx, dword [eax]
mov eax, dword [edx + 0x40]
call eax
mov ecx, dword [ebp - 8]
cmp ecx, 0xf
jbe 0x1010abed
mov edx, dword [ebp - 0x1c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1010abe3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1010abe3
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.101169da
add esp, 8
lea eax, [ebp - 0x1c]
mov ecx, 0x1029c9a0
push eax
call fcn.10056a90
mov ecx, dword [0x1029f25c]
lea edx, [ebp - 0x1c]
cmp dword [ebp - 8], 0xf
cmova edx, dword [ebp - 0x1c]
mov eax, dword [ecx]
push edx
mov eax, dword [eax + 0x40]
call eax
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 0x40]
call eax
mov ecx, dword [ebp - 8]
cmp ecx, 0xf
jbe 0x1010ac55
mov edx, dword [ebp - 0x1c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1010ac4b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1010ac4b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.101169da
add esp, 8
lea eax, [ebp - 0x34]
mov ecx, 0x1029c9c0
push eax
call fcn.100502c0
mov ecx, dword [0x1029f25c]
lea edx, [ebp - 0x34]
cmp dword [ebp - 0x20], 0xf
cmova edx, dword [ebp - 0x34]
mov eax, dword [ecx]
push edx
mov eax, dword [eax + 0x40]
call eax
mov esi, eax
mov ecx, 0x1029c9e0
lea eax, [ebp - 0x1c]
push eax
call fcn.10083270
cmp dword [ebp - 8], 0xf
lea ecx, [ebp - 0x1c]
mov eax, dword [esi]
cmova ecx, dword [ebp - 0x1c]
push ecx
mov ecx, esi
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [ebp - 8]
cmp ecx, 0xf
jbe 0x1010acd1
mov edx, dword [ebp - 0x1c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1010acc7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1010ad09
push ecx
push edx
call fcn.101169da
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 0x1010ad19
mov edx, dword [ebp - 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1010ad0f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1010ad0f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.101169da
add esp, 8
mov al, byte [0x1028f351]
cmp byte [0x1029c9f0], al
je 0x1010aeac
mov byte [0x1029c9f0], al
test al, al
lea eax, [ebp - 0x1c]
jne 0x1010ad9e
push eax
mov ecx, 0x1029c9f8
call fcn.100502c0
mov ecx, dword [0x1029f25c]
lea edx, [ebp - 0x1c]
cmp dword [ebp - 8], 0xf
cmova edx, dword [ebp - 0x1c]
mov eax, dword [ecx]
push edx
mov eax, dword [eax + 0x40]
call eax
mov esi, eax
mov ecx, 0x1029ca18
lea eax, [ebp - 0x34]
push eax
call fcn.10083270
cmp dword [ebp - 0x20], 0xf
lea ecx, [ebp - 0x34]
mov eax, dword [esi]
cmova ecx, dword [ebp - 0x34]
push ecx
mov ecx, esi
mov eax, dword [eax + 0x38]
call eax
lea ecx, [ebp - 0x34]
call fcn.10044c60
lea ecx, [ebp - 0x1c]
call fcn.10044c60
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10116d02
mov esp, ebp
pop ebp
ret
push ebx
push edi
push eax
mov ecx, 0x1029ca28
call fcn.100502c0
mov ecx, dword [0x1029f25c]
lea edx, [ebp - 0x1c]
cmp dword [ebp - 8], 0xf
cmova edx, dword [ebp - 0x1c]
mov eax, dword [ecx]
push edx
mov eax, dword [eax + 0x40]
call eax
cmp byte [0x1029ca48], 0
mov edi, eax
je 0x1010ae26
cmp byte [0x1029ca49], 0
jne 0x1010ae6f
mov byte [0x1029ca49], 1
xor esi, esi
xor edx, edx
mov ebx, esi
xor edx, dword [0x1029ca84]
xor ebx, dword [0x1029ca80]
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 eax, ebx
shrd eax, edx, 7
xor al, bl
xor byte [esi + 0x1029ca4a], al
inc esi
cmp esi, 0x32
jb 0x1010ade5
jmp 0x1010ae6f
xor esi, esi
nop dword [eax + eax]
xor edx, edx
mov ebx, esi
xor edx, dword [0x1029ca84]
xor ebx, dword [0x1029ca80]
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 eax, ebx
shrd eax, edx, 7
xor al, bl
xor byte [esi + 0x1029ca4a], al
inc esi
cmp esi, 0x32
jb 0x1010ae30
lea eax, [ebp - 0x35]
push eax
push 0x1029ca7b
push 0x1029ca4a
lea ecx, [ebp - 0x34]
call fcn.1004f490
cmp dword [ebp - 0x20], 0xf
lea ecx, [ebp - 0x34]
mov eax, dword [edi]
cmova ecx, dword [ebp - 0x34]
push ecx
mov ecx, edi
mov eax, dword [eax + 0x38]
call eax
lea ecx, [ebp - 0x34]
call fcn.10044c60
lea ecx, [ebp - 0x1c]
call fcn.10044c60
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.10116d02
mov esp, ebp
pop ebp
ret