Function at 0x100ca5b0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x24
mov eax, dword [0x101f9740]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
mov esi, ecx
mov dword [esp + 8], 0xffffffff
mov eax, dword [esi + 8]
lea ecx, [esi + 8]
mov dword [esi + 0x74], eax
lea ebx, [esi + 0x9c]
mov eax, dword [esi + 0xc]
mov dword [esi + 0x78], eax
mov eax, dword [esi + 0x10]
mov dword [esi + 0x7c], eax
mov eax, dword [esi + 0x14]
mov dword [esi + 0x80], eax
mov eax, dword [esi + 0x18]
mov dword [esi + 0x84], eax
lea eax, [esi + 0x31c]
push eax
push ebx
mov dword [esp + 0x18], ebx
call fcn.100c6cb0
add esp, 8
cmp dword [esi + 0x64], 0
je 0x100ca7d8
cmp dword [esi + 0x68], 0
je 0x100ca626
lea edx, [esp + 8]
mov ecx, ebx
call fcn.100cc580
mov eax, dword [esp + 8]
test eax, eax
je 0x100ca7d8
push ebp
xor ebp, ebp
mov dword [esp + 0x10], ebp
cmp dword [0x101fa350], ebp
je 0x100ca7d7
xor ebx, ebx
push edi
nop dword [eax + eax]
mov ecx, dword [ebx + 0x101fa364]
mov edx, 1
shl edx, cl
test eax, edx
je 0x100ca786
lea ebp, [esi + 0x1dc]
mov edi, 0x10
lea edx, [ebx + 0x101fa36c]
mov eax, ebp
nop dword [eax + eax]
mov ecx, dword [eax - 0x140]
lea eax, [eax + 0x14]
xor ecx, dword [edx - 4]
lea edx, [edx + 0x14]
mov dword [eax - 0x14], ecx
mov ecx, dword [eax - 0x150]
xor ecx, dword [edx - 0x14]
mov dword [eax - 0x10], ecx
mov ecx, dword [eax - 0x14c]
xor ecx, dword [edx - 0x10]
mov dword [eax - 0xc], ecx
mov ecx, dword [eax - 0x148]
xor ecx, dword [edx - 0xc]
mov dword [eax - 8], ecx
mov ecx, dword [eax - 0x144]
xor ecx, dword [edx - 8]
mov dword [eax - 4], ecx
sub edi, 1
jne 0x100ca680
mov ecx, dword [ebx + 0x101fa35c]
lea eax, [ecx*4 + 0xc7]
add eax, ecx
lea eax, [esi + eax*4]
cmp ecx, 0x3a
je 0x100ca6fa
cmp ecx, 0x41
jne 0x100ca7e9
push eax
push ebp
lea edx, [esp + 0x24]
lea ecx, [esi + 0x88]
call fcn.100c9480
jmp 0x100ca70b
push eax
push ebp
lea edx, [esp + 0x24]
lea ecx, [esi + 0x88]
call fcn.100c8380
mov ecx, dword [esi + 0xc]
add esp, 8
xor ecx, dword [esp + 0x20]
mov eax, dword [esi + 8]
xor eax, dword [esp + 0x1c]
or ecx, eax
mov eax, dword [esi + 0x18]
xor eax, dword [esp + 0x2c]
or ecx, eax
mov eax, dword [esi + 0x14]
xor eax, dword [esp + 0x28]
or ecx, eax
mov eax, dword [esi + 0x10]
xor eax, dword [esp + 0x24]
or ecx, eax
je 0x100ca7b1
cmp dword [esi + 0x6c], 0
je 0x100ca77e
mov ecx, dword [esi + 0x98]
xor ecx, dword [esi + 0x84]
mov eax, dword [esi + 0x90]
xor eax, dword [esi + 0x7c]
or ecx, eax
mov eax, dword [esi + 0x94]
xor eax, dword [esi + 0x80]
or ecx, eax
mov eax, dword [esi + 0x8c]
xor eax, dword [esi + 0x78]
or ecx, eax
mov eax, dword [esi + 0x88]
xor eax, dword [esi + 0x74]
or ecx, eax
je 0x100ca7b1
mov eax, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
inc ebp
imul ebx, ebp, 0x158
mov dword [esp + 0x14], ebp
cmp dword [ebx + 0x101fa350], 0
jne 0x100ca650
pop edi
pop ebp
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.10173495
add esp, 0x24
ret
cmp dword [esi + 0x60], 0
mov dword [esi + 0x5c], 1
je 0x100ca7d6
mov edx, dword [esp + 0x18]
lea ecx, [esi + 8]
call fcn.100c5d00
mov edx, dword [esp + 0x18]
lea ecx, [esi + 8]
call fcn.100c5d00
pop edi
pop ebp
mov ecx, dword [esp + 0x28]
pop esi
pop ebx
xor ecx, esp
call fcn.10173495
add esp, 0x24
ret
call fcn.101840da
int3