Function at 0x1000c060
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x87c
mov eax, dword [0x10047810]
xor eax, esp
mov dword [esp + 0x878], eax
cmp dword [esp + 0x894], 0x18
mov eax, dword [esp + 0x888]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x88c]
push ebp
mov ebp, dword [esp + 0x8a0]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x894]
push esi
mov esi, dword [esp + 0x88c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x8a0]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x14], esi
mov dword [esp + 0x1c], eax
jbe 0x1000c0c9
xor al, al
jmp 0x1000c320
push ebx
push edi
xor edi, edi
lea ebx, [ecx + 0xf4]
push esi
mov ecx, ebx
call fcn.1001ffd0
test al, al
je 0x1000c14b
mov ecx, dword [esp + 0x8a4]
lea eax, [ebx + 0x10]
cmp dword [eax + 0x30], ecx
jne 0x1000c14b
mov edx, dword [esp + 0x10]
mov esi, 0xc
mov ecx, dword [eax]
cmp ecx, dword [edx]
jne 0x1000c147
add eax, 4
add edx, 4
sub esi, 4
jae 0x1000c0f7
push 0
push 0
lea eax, [esp + 0x50]
mov ecx, 8
lea esi, [ebx + 0x20]
lea edi, [esp + 0x50]
push 0x20
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.100202a0
lea esi, [ebx + 0x44]
mov ecx, 8
lea edi, [esp + 0x38]
rep movsd dword es:[edi], dword [esi]
lea esi, [ebx + 0x64]
mov ecx, 8
lea edi, [esp + 0x78]
rep movsd dword es:[edi], dword [esi]
jmp 0x1000c268
mov esi, dword [esp + 0x1c]
inc edi
add ebx, 0x84
cmp edi, 4
jb 0x1000c0d3
push 0x800
lea eax, [esp + 0x8c]
push eax
push dword [esp + 0x28]
call fcn.10024310
lea edx, [esp + 0x94]
add esp, 0xc
lea ecx, [edx + 1]
mov edi, edi
mov al, byte [edx]
inc edx
test al, al
jne 0x1000c180
mov edi, dword [esp + 0x8a4]
sub edx, ecx
mov ecx, edi
mov eax, 1
shl eax, cl
push eax
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x70]
push eax
lea eax, [esp + 0x54]
push eax
push 0x10
push dword [esp + 0x24]
lea eax, [esp + 0xa0]
push edx
push eax
call fcn.1000c650
lea eax, [esp + 0xa8]
push 0x800
push eax
call fcn.10020440
mov edx, dword [esp + 0x3c]
add esp, 0x28
mov ecx, dword [edx + 0x304]
lea ebx, [edx + 0xf4]
mov eax, ecx
and eax, 3
imul eax, eax, 0x84
add ebx, eax
lea eax, [ecx + 1]
mov dword [edx + 0x304], eax
mov dword [ebx + 0x40], edi
cmp ebx, esi
je 0x1000c20f
push dword [esp + 0x18]
mov ecx, ebx
push dword [esi + 4]
push dword [esi]
call fcn.1000adf0
mov al, byte [esi + 0xc]
lea esi, [esp + 0x48]
mov ecx, dword [esp + 0x10]
mov byte [ebx + 0xc], al
push 0
push 1
mov eax, dword [ecx]
mov dword [ebx + 0x10], eax
mov eax, dword [ecx + 4]
mov dword [ebx + 0x14], eax
mov eax, dword [ecx + 8]
mov dword [ebx + 0x18], eax
mov eax, dword [ecx + 0xc]
mov ecx, 8
mov dword [ebx + 0x1c], eax
lea eax, [ebx + 0x20]
mov edi, eax
rep movsd dword es:[edi], dword [esi]
lea edi, [ebx + 0x44]
mov ecx, 8
lea esi, [esp + 0x30]
rep movsd dword es:[edi], dword [esi]
lea edi, [ebx + 0x64]
mov ecx, 8
lea esi, [esp + 0x70]
push 0x20
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.100202a0
mov eax, dword [esp + 0x34]
add esp, 0x10
test eax, eax
je 0x1000c280
mov ecx, 8
lea esi, [esp + 0x68]
mov edi, eax
rep movsd dword es:[edi], dword [esi]
test ebp, ebp
je 0x1000c2e4
xor eax, eax
mov esi, 1
mov dword [ebp], eax
xor edi, edi
mov dword [ebp + 4], eax
lea edx, [eax + 3]
mov al, byte [esp + esi + 0x27]
mov ecx, edi
and ecx, 7
add edi, 4
xor byte [ecx + ebp], al
mov ecx, esi
mov al, byte [esp + esi + 0x28]
and ecx, 7
add esi, 4
xor byte [ecx + ebp], al
lea ecx, [edx - 1]
mov al, byte [esp + edx + 0x27]
and ecx, 7
xor byte [ecx + ebp], al
mov ecx, edx
mov al, byte [esp + edx + 0x28]
and ecx, 7
add edx, 4
xor byte [ecx + ebp], al
cmp esi, 0x21
jb 0x1000c296
lea eax, [esp + 0x28]
push 0x20
push eax
call fcn.10020440
add esp, 8
mov eax, dword [esp + 0x18]
pop edi
pop ebx
test eax, eax
je 0x1000c30f
mov ecx, dword [esp + 0xc]
push eax
push 0x100
lea eax, [esp + 0x48]
add ecx, 0x30c
push eax
push dword [esp + 0x894]
call fcn.1001f400
lea eax, [esp + 0x40]
push 0x20
push eax
call fcn.10020440
add esp, 8
mov al, 1
mov ecx, dword [esp + 0x880]
pop esi
pop ebp
xor ecx, esp
call fcn.100308d8
add esp, 0x87c
ret 0x20