Function at 0x10103440
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd0
mov eax, dword [0x10273240]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x1027eba8]
push ebx
push esi
push edi
test al, 1
jne 0x10103603
or eax, 1
mov ecx, 0x10272c20
mov dword [0x1027eba8], eax
lea eax, [ebp - 0x34]
push eax
call fcn.100514f0
cmp dword [ebp - 0x20], 0xf
lea edi, [ebp - 0x34]
cmova edi, dword [ebp - 0x34]
cmp byte [0x10272be0], 0
je 0x101034ea
cmp byte [0x10272be1], 0
jne 0x10103535
mov byte [0x10272be1], 1
xor esi, esi
xor edx, edx
mov ebx, esi
xor edx, dword [0x10272c1c]
xor ebx, dword [0x10272c18]
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 + 0x10272be2], al
inc esi
cmp esi, 0x30
jb 0x101034a3
jmp 0x10103535
xor esi, esi
nop dword [eax]
xor edx, edx
mov ebx, esi
xor edx, dword [0x10272c1c]
xor ebx, dword [0x10272c18]
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 + 0x10272be2], al
inc esi
cmp esi, 0x30
jb 0x101034f0
lea eax, [ebp - 0xc5]
push eax
push 0x10272c11
push 0x10272be2
lea ecx, [ebp - 0x1c]
call fcn.1004f9c0
mov ecx, dword [0x1027405c]
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 [0x1027eba4], eax
cmp ecx, 0xf
jbe 0x101035a4
mov edx, dword [ebp - 0x1c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1010359a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x101035dc
push ecx
push edx
call fcn.1010682a
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 0x101035ec
mov edx, dword [ebp - 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x101035e2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x101035e2
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1010682a
add esp, 8
mov eax, dword [0x1027eba8]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
test al, 2
jne 0x101037b3
or eax, 2
mov ecx, 0x10272c78
mov dword [0x1027eba8], eax
lea eax, [ebp - 0x64]
push eax
call fcn.100514f0
cmp dword [ebp - 0x50], 0xf
lea edi, [ebp - 0x64]
cmova edi, dword [ebp - 0x64]
cmp byte [0x10272c40], 0
je 0x10103697
cmp byte [0x10272c41], 0
jne 0x101036e5
mov byte [0x10272c41], 1
xor esi, esi
nop dword [eax + eax]
xor edx, edx
mov ebx, esi
xor edx, dword [0x10272c74]
xor ebx, dword [0x10272c70]
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 + 0x10272c42], al
inc esi
cmp esi, 0x29
jb 0x10103650
jmp 0x101036e5
xor esi, esi
nop dword [eax]
xor edx, edx
mov ebx, esi
xor edx, dword [0x10272c74]
xor ebx, dword [0x10272c70]
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 + 0x10272c42], al
inc esi
cmp esi, 0x29
jb 0x101036a0
lea eax, [ebp - 0xc5]
push eax
push 0x10272c6a
push 0x10272c42
lea ecx, [ebp - 0x4c]
call fcn.1004f9c0
mov ecx, dword [0x1027405c]
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 [0x1027ebac], eax
cmp ecx, 0xf
jbe 0x10103754
mov edx, dword [ebp - 0x4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1010374a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1010378c
push ecx
push edx
call fcn.1010682a
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 0x1010379c
mov edx, dword [ebp - 0x64]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10103792
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10103792
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1010682a
add esp, 8
mov eax, dword [0x1027eba8]
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0xf
mov byte [ebp - 0x64], 0
test al, 4
jne 0x1010396c
or eax, 4
mov ecx, 0x10272cd8
mov dword [0x1027eba8], eax
lea eax, [ebp - 0x94]
push eax
call fcn.100514f0
cmp dword [ebp - 0x80], 0xf
lea edi, [ebp - 0x94]
cmova edi, dword [ebp - 0x94]
cmp byte [0x10272c98], 0
je 0x1010384b
cmp byte [0x10272c99], 0
jne 0x10103895
mov byte [0x10272c99], 1
xor esi, esi
xor edx, edx
mov ebx, esi
xor edx, dword [0x10272cd4]
xor ebx, dword [0x10272cd0]
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 + 0x10272c9a], al
inc esi
cmp esi, 0x34
jb 0x10103804
jmp 0x10103895
xor esi, esi
nop dword [eax]
xor edx, edx
mov ebx, esi
xor edx, dword [0x10272cd4]
xor ebx, dword [0x10272cd0]
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 + 0x10272c9a], al
inc esi
cmp esi, 0x34
jb 0x10103850
lea eax, [ebp - 0xc5]
push eax
push 0x10272ccd
push 0x10272c9a
lea ecx, [ebp - 0x7c]
call fcn.1004f9c0
mov ecx, dword [0x1027405c]
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 [0x1027ebb0], eax
cmp ecx, 0xf
jbe 0x10103904
mov edx, dword [ebp - 0x7c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x101038fa
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1010393f
push ecx
push edx
call fcn.1010682a
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 0x1010394f
mov edx, dword [ebp - 0x94]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10103945
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10103945
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1010682a
add esp, 8
mov eax, dword [0x1027eba8]
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0xf
mov byte [ebp - 0x94], 0
test al, 8
jne 0x10103b48
or eax, 8
mov ecx, 0x10272d30
mov dword [0x1027eba8], eax
lea eax, [ebp - 0xc4]
push eax
call fcn.100514f0
cmp dword [ebp - 0xb0], 0xf
lea edi, [ebp - 0xc4]
cmova edi, dword [ebp - 0xc4]
cmp byte [0x10272cf8], 0
je 0x10103a07
cmp byte [0x10272cf9], 0
jne 0x10103a55
mov byte [0x10272cf9], 1
xor esi, esi
xor edx, edx
mov ebx, esi
xor edx, dword [0x10272d2c]
xor ebx, dword [0x10272d28]
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 + 0x10272cfa], al
inc esi
cmp esi, 0x28
jb 0x101039c0
jmp 0x10103a55
xor esi, esi
nop dword [eax]
xor edx, edx
mov ebx, esi
xor edx, dword [0x10272d2c]
xor ebx, dword [0x10272d28]
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 + 0x10272cfa], al
inc esi
cmp esi, 0x28
jb 0x10103a10
lea eax, [ebp - 0xc5]
push eax
push 0x10272d21
push 0x10272cfa
lea ecx, [ebp - 0xac]
call fcn.1004f9c0
mov ecx, dword [0x1027405c]
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 [0x1027ebb4], eax
cmp ecx, 0xf
jbe 0x10103ad6
mov edx, dword [ebp - 0xac]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10103acc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10103b1d
push ecx
push edx
call fcn.1010682a
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 0x10103b2d
mov edx, dword [ebp - 0xc4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10103b23
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10103b23
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1010682a
add esp, 8
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xb0], 0xf
mov byte [ebp - 0xc4], 0
mov eax, dword [0x10266e18]
mov ecx, dword [0x1027eba4]
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 [0x1027ebac]
push esi
push 4
mov eax, dword [ecx]
call dword [eax + 0x74]
mov ecx, dword [0x1027ebb0]
push esi
push 4
mov eax, dword [ecx]
call dword [eax + 0x74]
mov ecx, dword [0x1027ebb4]
push esi
push 4
mov eax, dword [ecx]
call dword [eax + 0x74]
test byte [0x10266e18], 8
je 0x10103baa
mov eax, dword [0x102749a4]
mov dword [eax], 0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10106b52
mov esp, ebp
pop ebp
ret