Function at 0x10011cc0
Capabilities:
Encode data using xor
Get file size

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1002b78b
mov eax, dword fs:[0]
push eax
sub esp, 0x460
mov eax, dword [0x100331b0]
xor eax, esp
mov dword [esp + 0x458], eax
push ebx
push esi
push edi
mov eax, dword [0x100331b0]
xor eax, esp
push eax
lea eax, [esp + 0x470]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
mov dword [esp + 0x10], ebx
mov dword [esp + 0x478], ebx
cmp eax, ebx
jne 0x10011d27
mov eax, 0xa0
jmp 0x10011fc0
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
jne 0x10011e13
call fcn.100143b0
cmp eax, ebx
jne 0x10011fe5
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x18]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [esp + 0x14], eax
cmp eax, 0xffffffff
je 0x10011fbb
cmp dword [esp + 0x18], ebx
ja 0x10011fbb
add eax, 0xffffffc4
cmp eax, 0x12bfffc4
ja 0x10011fbb
mov esi, 0x3c
lea ecx, [esp + 0x42c]
lea edx, [esp + 0x10]
call fcn.10011c00
test eax, eax
jne 0x10011fd6
cmp dword [esp + 0x42c], 0x33363044
jne 0x10011fb4
mov eax, dword [esp + 0x430]
cmp eax, esi
jb 0x10011fb4
mov ecx, dword [esp + 0x14]
cmp eax, ecx
ja 0x10011fb4
mov edx, ecx
sub edx, eax
cmp dword [esp + 0x440], edx
jne 0x10011fb4
mov eax, dword [esp + 0x434]
cmp eax, 1
ja 0x10011fb4
jb 0x10011fb4
add ecx, 0x14
push ecx
call fcn.1001b5aa
mov edi, eax
add esp, 4
cmp edi, ebx
jne 0x10011e1c
lea eax, [esi - 0x2e]
jmp 0x10011fc0
mov dword [esp + 0x10], eax
jmp 0x10011d54
mov eax, dword [esp + 0x14]
add eax, 0x14
push eax
push ebx
push edi
call fcn.1001cf30
add esp, 0xc
lea ecx, [esp + 0x10]
call fcn.10011c40
test eax, eax
jne 0x10011fc7
mov esi, dword [esp + 0x14]
mov ecx, edi
lea edx, [esp + 0x10]
call fcn.10011c00
test eax, eax
jne 0x10011fc7
cmp dword [esp + 0x434], 1
jne 0x10011eb5
lea esi, [esp + 0x24]
mov dword [esp + 0x24], vtable.CCrc32.0
call fcn.100121d0
mov eax, dword [edi + 0x28]
cmp eax, 2
je 0x10011e8e
cmp eax, 3
je 0x10011e8e
xor eax, eax
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], eax
mov dword [edi + 0x20], eax
mov dword [edi + 0x24], eax
jmp 0x10011e91
mov dword [edi + 0x18], ebx
mov ebx, dword [esp + 0x14]
mov edx, ebx
mov ecx, edi
lea esi, [esp + 0x24]
call fcn.10012270
cmp eax, dword [esp + 0x444]
je 0x10011eb9
mov eax, 0xd
jmp 0x10011fc0
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x454]
cmp eax, 1
je 0x10011f6b
jbe 0x10011f98
cmp eax, 3
ja 0x10011f98
cmp dword [ebp + 0x10], 0
mov dl, 0x45
jne 0x10011ee7
mov dl, byte [esp + 0x458]
mov ecx, dword [esp + 0x430]
sub ebx, ecx
lea eax, [ecx + edi]
je 0x10011f06
mov ecx, ebx
xor byte [eax], dl
inc eax
sub ecx, 1
jne 0x10011ef7
mov ecx, dword [esp + 0x430]
mov eax, dword [esp + 0x448]
mov dword [esp + 0x20], eax
add eax, ecx
push eax
call fcn.1001b5aa
mov ecx, dword [esp + 0x434]
add esp, 4
push ecx
mov esi, eax
push edi
push esi
call fcn.1001baa0
mov eax, dword [esp + 0x43c]
add esp, 0xc
lea edx, [esi + eax]
push ebx
add eax, edi
push eax
mov eax, dword [esp + 0x45c]
push eax
lea ecx, [esp + 0x2c]
call fcn.10012010
test eax, eax
jne 0x10011f5e
push esi
call fcn.1001ba90
add esp, 4
jmp 0x10011fc7
push edi
call fcn.1001ba90
add esp, 4
mov edi, esi
jmp 0x10011f98
cmp dword [ebp + 0x10], 0
mov dl, 0x45
jne 0x10011f7a
mov dl, byte [esp + 0x458]
mov eax, dword [esp + 0x430]
sub ebx, eax
lea eax, [eax + edi]
je 0x10011f98
mov ecx, ebx
lea ebx, [ebx]
xor byte [eax], dl
inc eax
sub ecx, 1
jne 0x10011f90
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
mov dword [ecx], edi
test eax, eax
je 0x10011fad
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x10011fe7
mov eax, 0xb
jmp 0x10011fc0
mov eax, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor ebx, ebx
cmp edi, ebx
je 0x10011fd6
push edi
call fcn.1001ba90
add esp, 4
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x10011fe5
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [esp + 0x470]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x458]
xor ecx, esp
call fcn.1001b630
mov esp, ebp
pop ebp
ret 0xc