Function at 0x1000c0c0
Capabilities:
Encode data using xor
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x58
lea edx, [eax + 0x1c20]
push esi
mov ecx, eax
push edi
mov dword [esp + 0x14], ecx
mov dword [esp + 0x1c], edx
cmp eax, edx
ja case.0x1000c116.13199
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x1c]
jmp 0x1000c0f0
cmp ecx, 0x5c26
ja 0x1000c1c0
je 0x1000c179
lea eax, [ecx - 0x32ae]
cmp eax, 0xe1
ja case.0x1000c1d8.23666
movzx eax, byte [eax + 0x1000c550]
jmp dword [eax*4 + 0x1000c53c]
mov ecx, dword [ebp + 8]
mov dx, word [ecx]
mov word [esp + 0x18], dx
jmp case.0x1000c1d8.23666
mov eax, dword [ebp + 0xc]
push eax
call fcn.1000f600
add esp, 4
mov dword [esp + 8], eax
jmp case.0x1000c1d8.23666
cmp dword [esp + 8], 0
je case.0x1000c1d8.23666
mov ecx, dword [esp + 8]
movzx eax, word [ecx + 0x28]
test ax, ax
je case.0x1000c1d8.23666
mov edx, dword [ebp + 8]
movzx ecx, word [edx]
add eax, 0xffffffd8
movzx eax, ax
cmp cx, ax
jae 0x1000c171
mov eax, ecx
mov word [edx], ax
jmp case.0x1000c1d8.23666
cmp dword [ebx], 0
mov edx, dword [ebp + 8]
mov esi, dword [edx]
mov edi, dword [esp + 0x1c]
not esi
je case.0x1000c1d8.23666
lea ecx, [ecx]
mov eax, dword [ebp + 0xc]
test al, 3
je case.0x1000c1d8.23666
movzx ecx, byte [eax]
xor ecx, esi
and ecx, 0xff
shr esi, 8
xor esi, dword [ecx*4 + 0x10177268]
dec dword [ebx]
inc eax
cmp dword [ebx], 0
mov dword [ebp + 0xc], eax
jne 0x1000c190
jmp case.0x1000c1d8.23666
lea eax, [ecx - 0x5c71]
cmp eax, 0xe1
ja case.0x1000c1d8.23666
movzx edx, byte [eax + 0x1000c648]
jmp dword [edx*4 + 0x1000c634]
not esi
jmp case.0x1000c1d8.23666
cmp dword [ebx], 0x20
mov edi, dword [ebp + 0xc]
jb case.0x1000c1d8.23666
xor eax, eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0xa
cmp eax, 0x75
ja case.0x1000c210.1
movzx eax, byte [eax + 0x1000c758]
jmp dword [eax*4 + 0x1000c72c]
xor esi, dword [edi]
add edi, 4
mov ecx, esi
shr ecx, 0x10
mov edx, esi
and ecx, 0xff
mov eax, dword [ecx*4 + 0x10177668]
shr edx, 8
and edx, 0xff
xor eax, dword [edx*4 + 0x10177a68]
mov ecx, esi
shr ecx, 0x18
xor eax, dword [ecx*4 + 0x10177268]
and esi, 0xff
xor eax, dword [esi*4 + 0x10177e68]
mov esi, eax
jmp case.0x1000c210.1
lea edx, [esp + 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
jmp case.0x1000c210.1
mov eax, esi
shr eax, 0x10
mov ecx, esi
and eax, 0xff
mov edx, dword [eax*4 + 0x10177668]
shr ecx, 8
and ecx, 0xff
xor edx, dword [ecx*4 + 0x10177a68]
mov eax, esi
shr eax, 0x18
xor edx, dword [eax*4 + 0x10177268]
and esi, 0xff
xor edx, dword [esi*4 + 0x10177e68]
mov esi, edx
jmp case.0x1000c210.1
mov ecx, esi
shr ecx, 0x10
mov edx, esi
and ecx, 0xff
mov eax, dword [ecx*4 + 0x10177668]
shr edx, 8
and edx, 0xff
xor eax, dword [edx*4 + 0x10177a68]
mov ecx, esi
shr ecx, 0x18
xor eax, dword [ecx*4 + 0x10177268]
and esi, 0xff
xor eax, dword [esi*4 + 0x10177e68]
xor eax, dword [edi]
add edi, 4
mov esi, eax
jmp case.0x1000c210.1
mov edx, esi
shr edx, 0x10
mov eax, esi
and edx, 0xff
mov ecx, dword [edx*4 + 0x10177668]
shr eax, 8
and eax, 0xff
xor ecx, dword [eax*4 + 0x10177a68]
mov edx, esi
shr edx, 0x18
xor ecx, dword [edx*4 + 0x10177268]
and esi, 0xff
xor ecx, dword [esi*4 + 0x10177e68]
xor ecx, dword [edi]
add edi, 4
mov esi, ecx
jmp case.0x1000c210.1
xor esi, dword [edi]
mov eax, esi
shr eax, 0x10
mov ecx, esi
and eax, 0xff
mov edx, dword [eax*4 + 0x10177668]
shr ecx, 8
and ecx, 0xff
xor edx, dword [ecx*4 + 0x10177a68]
mov eax, esi
shr eax, 0x18
xor edx, dword [eax*4 + 0x10177268]
and esi, 0xff
xor edx, dword [esi*4 + 0x10177e68]
xor edx, dword [edi + 4]
add edi, 8
mov esi, edx
jmp case.0x1000c210.1
push 0x40
lea ecx, [esp + 0x24]
push 0
push ecx
call fcn.100fefe0
xor esi, dword [edi]
add esp, 0xc
mov edx, esi
shr edx, 0x10
mov eax, esi
and edx, 0xff
mov ecx, dword [edx*4 + 0x10177668]
shr eax, 8
and eax, 0xff
xor ecx, dword [eax*4 + 0x10177a68]
mov edx, esi
shr edx, 0x18
xor ecx, dword [edx*4 + 0x10177268]
and esi, 0xff
xor ecx, dword [esi*4 + 0x10177e68]
xor ecx, dword [edi + 4]
add edi, 8
mov esi, ecx
jmp case.0x1000c210.1
add dword [ebx], 0xffffffe0
jmp case.0x1000c210.1
mov dword [esp + 0x20], 0x40
jmp case.0x1000c210.1
mov eax, esi
shr eax, 0x10
mov ecx, esi
and eax, 0xff
mov eax, dword [eax*4 + 0x10177668]
shr ecx, 8
and ecx, 0xff
xor eax, dword [ecx*4 + 0x10177a68]
mov edx, esi
shr edx, 0x18
xor eax, dword [edx*4 + 0x10177268]
and esi, 0xff
xor eax, dword [esi*4 + 0x10177e68]
add edi, 4
xor eax, dword [edi - 4]
mov ecx, eax
shr ecx, 0x10
and ecx, 0xff
mov esi, dword [ecx*4 + 0x10177668]
mov edx, eax
shr edx, 8
and edx, 0xff
xor esi, dword [edx*4 + 0x10177a68]
mov ecx, eax
shr ecx, 0x18
xor esi, dword [ecx*4 + 0x10177268]
and eax, 0xff
xor esi, dword [eax*4 + 0x10177e68]
mov eax, dword [esp + 0xc]
add eax, 0xd
dec dword [esp + 0x10]
mov dword [esp + 0xc], eax
jne 0x1000c200
cmp dword [ebx], 0x20
jae 0x1000c1f2
jmp case.0x1000c1d8.23666
cmp dword [ebx], 4
jb 0x1000c4eb
xor esi, dword [edi]
add edi, 4
mov edx, esi
shr edx, 0x10
mov eax, esi
and edx, 0xff
mov ecx, dword [edx*4 + 0x10177668]
shr eax, 8
and eax, 0xff
xor ecx, dword [eax*4 + 0x10177a68]
mov edx, esi
shr edx, 0x18
xor ecx, dword [edx*4 + 0x10177268]
and esi, 0xff
xor ecx, dword [esi*4 + 0x10177e68]
add dword [ebx], 0xfffffffc
cmp dword [ebx], 4
mov esi, ecx
jae 0x1000c4a0
cmp dword [ebx], 0
mov dword [ebp + 0xc], edi
je case.0x1000c1d8.23666
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, esi
and ecx, 0xff
shr esi, 8
xor esi, dword [ecx*4 + 0x10177268]
inc eax
dec dword [ebx]
mov dword [ebp + 0xc], eax
jne 0x1000c4f3
mov ecx, dword [esp + 0x14]
add ecx, 0x4b
mov dword [esp + 0x14], ecx
cmp ecx, dword [esp + 0x1c]
jbe 0x1000c0f0
mov eax, dword [esp + 0x18]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret