Function at 0x10011050
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x100a800c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x14]
add eax, 0xfffffff5
cmp eax, 9
ja case.0x10011074.13
jmp dword [eax*4 + 0x10011438]
mov ecx, dword [esi + 0x1c]
mov ebx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
mov dword [ebp - 0xc], ecx
test ecx, ecx
jne 0x10011099
mov eax, dword [esi + 0x20]
mov dword [eax], str.Unknown_variable:_variable_set_is_not_provided
jmp 0x10011415
sub eax, ebx
lea ecx, [esi + 0x24]
sar eax, 1
mov dword [ebp - 0x14], ecx
lea edi, [eax + eax]
cmp eax, 0x20
jb 0x100110dc
lea eax, [edi + 2]
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov ecx, eax
add esp, 4
mov dword [ebp - 0x14], ecx
test ecx, ecx
jne 0x100110dc
mov eax, dword [esi]
mov eax, dword [eax + 8]
mov byte [eax], 1
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100702c8
mov esp, ebp
pop ebp
ret
push edi
push ebx
mov ebx, dword [ebp - 0x14]
push ebx
call sub.VCRUNTIME140.dll_memcpy
xor eax, eax
add esp, 0xc
mov word [edi + ebx], ax
xor ecx, ecx
movzx eax, word [ebx]
mov edx, ebx
test ax, ax
je 0x1001111f
mov edi, eax
nop
movzx eax, di
add edx, 2
add eax, ecx
imul ecx, eax, 0x401
mov eax, ecx
shr eax, 6
xor ecx, eax
movzx eax, word [edx]
mov edi, eax
test ax, ax
jne 0x10011100
mov edi, dword [ebp - 0xc]
lea eax, [ecx + ecx*8]
mov ecx, eax
shr ecx, 0xb
xor ecx, eax
and ecx, 0x3f
mov edi, dword [edi + ecx*4]
test edi, edi
je 0x10011196
mov eax, dword [edi]
dec eax
cmp eax, 3
ja case.default.0x1001113e
jmp dword [eax*4 + 0x10011460]
lea eax, [edi + 0x1c]
jmp 0x1001115b
lea eax, [edi + 0x10]
jmp 0x1001115b
lea eax, [edi + 0xc]
jmp 0x1001115b
lea eax, [edi + 0xa]
jmp 0x1001115b
xor eax, eax
mov ecx, ebx
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x10011186
test dx, dx
je 0x10011182
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x10011186
add eax, 4
add ecx, 4
test dx, dx
jne 0x10011160
xor eax, eax
jmp 0x1001118b
sbb eax, eax
or eax, 1
test eax, eax
je 0x10011198
mov edi, dword [edi + 4]
test edi, edi
jne 0x10011136
xor edi, edi
lea eax, [esi + 0x24]
cmp ebx, eax
je 0x100111a9
push ebx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
test edi, edi
jne 0x100111bb
mov eax, dword [esi + 0x20]
mov dword [eax], str.Unknown_variable:_variable_set_does_not_contain_the_given_name
jmp 0x10011415
lea ecx, [esi + 4]
call fcn.100115d0
mov ecx, dword [esi]
mov ebx, dword [edi]
push 0x18
call fcn.100186e0
test eax, eax
je 0x10011423
mov byte [eax], 0x14
mov byte [eax + 1], bl
mov word [eax + 2], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100702c8
mov esp, ebp
pop ebp
ret
lea ecx, [esi + 4]
call fcn.100115d0
push 0
mov ecx, esi
call fcn.100126f0
mov ebx, eax
test ebx, ebx
je 0x10011423
cmp dword [esi + 0x14], 0xd
je 0x1001123a
mov eax, dword [esi + 0x20]
mov dword [eax], 0x10080d40
jmp 0x10011415
lea ecx, [esi + 4]
call fcn.100115d0
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100702c8
mov esp, ebp
pop ebp
ret
lea eax, [esi + 0xc]
push eax
call fcn.10011520
mov edi, eax
test edi, edi
je 0x10011423
lea ecx, [esi + 4]
call fcn.100115d0
mov ecx, dword [esi]
push 0x18
call fcn.100186e0
test eax, eax
je 0x10011423
mov dword [eax], 0x312
jmp 0x100111e2
mov edx, dword [esi + 0xc]
lea edi, [esi + 0x24]
mov eax, dword [esi + 0x10]
sub eax, edx
mov dword [ebp - 0xc], edx
sar eax, 1
lea ebx, [eax + eax]
cmp eax, 0x20
jb 0x100112be
lea eax, [ebx + 2]
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov edi, eax
add esp, 4
test edi, edi
je 0x100110c1
mov edx, dword [ebp - 0xc]
push ebx
push edx
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
xor eax, eax
mov ecx, edi
mov word [ebx + edi], ax
call fcn.10016550
test al, al
jne 0x100112e4
movsd xmm0, qword [0x10087590]
jmp 0x100112f8
push 0
push edi
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstod]
fstp qword [ebp - 0x10]
movsd xmm0, qword [ebp - 0x10]
add esp, 8
lea eax, [esi + 0x24]
movsd qword [ebp - 0x10], xmm0
cmp edi, eax
je 0x1001130e
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
lea ecx, [esi + 4]
call fcn.100115d0
mov ecx, dword [esi]
push 0x18
call fcn.100186e0
test eax, eax
je 0x10011423
movsd xmm0, qword [ebp - 0x10]
mov dword [eax], 0x213
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
movsd qword [eax + 0x10], xmm0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100702c8
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0xc]
lea ecx, [esi + 4]
mov dword [ebp - 0x18], eax
xorps xmm0, xmm0
mov eax, dword [esi + 0x10]
xor edi, edi
movlpd qword [ebp - 0x10], xmm0
mov dword [ebp - 0x14], eax
call fcn.100115d0
xor ebx, ebx
cmp dword [esi + 0x14], 0xc
je 0x10011391
mov eax, dword [esi + 0x20]
mov dword [eax], str.Unrecognized_function_call
jmp 0x10011415
lea ecx, [esi + 4]
call fcn.100115d0
mov eax, dword [esi + 0x14]
cmp eax, 0xd
je 0x100113d8
test edi, edi
je 0x100113b2
cmp eax, 0x15
jne 0x10011401
lea ecx, [esi + 4]
call fcn.100115d0
push 0
mov ecx, esi
call fcn.100126f0
test eax, eax
je 0x10011423
cmp edi, 2
jae 0x100113ca
mov dword [ebp + edi*4 - 0x10], eax
jmp 0x100113cd
mov dword [ebx + 0xc], eax
mov ebx, eax
inc edi
mov eax, dword [esi + 0x14]
cmp eax, 0xd
jne 0x100113a1
lea ecx, [esi + 4]
call fcn.100115d0
lea eax, [ebp - 0x10]
mov ecx, esi
push eax
push edi
lea eax, [ebp - 0x18]
push eax
call fcn.10010a00
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100702c8
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x20]
mov dword [eax], str.No_comma_between_function_arguments
jmp 0x10011415
mov eax, dword [esi + 0x20]
mov dword [eax], str.Unrecognizable_primary_expression
mov ecx, dword [esi + 8]
sub ecx, dword [esi + 0x18]
mov eax, dword [esi + 0x20]
sar ecx, 1
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100702c8
mov esp, ebp
pop ebp
ret