Function at 0x5d0c50
Capabilities:
Encode data using xor
Get number of processors
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x669a60
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x705e7c]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x705e7c]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov edx, dword [esp + 0x88]
mov eax, dword [edx]
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x18], edx
mov ebp, 4
jle 0x5d0e67
mov dword [esp + 0x1c], eax
jmp 0x5d0cb8
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x30]
mov eax, dword [edx + ebp]
sub eax, 4
add ebp, 4
mov dword [esp + 0x14], eax
mov eax, dword [edx + ebp]
add ebp, 4
mov dword [esp + 0x2c], eax
mov dword [esp + 0x20], ebp
cmp dword [ecx + 0x3c74], ebx
je 0x5d0cff
mov eax, dword [ecx + 0x3c7c]
mov dword [esp + 0x24], eax
cmp eax, ebx
je 0x5d0cf5
mov ecx, dword [eax]
mov dword [esp + 0x28], ecx
lea eax, [esp + 0x24]
jmp 0x5d0d0b
mov dword [esp + 0x28], ebx
lea eax, [esp + 0x24]
jmp 0x5d0d0b
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
lea eax, [esp + 0x34]
mov esi, dword [eax + 4]
mov edi, dword [eax]
cmp esi, ebx
je 0x5d0e58
push 0xffffffffffffffff
lea eax, [esi + 4]
push ebx
push eax
lea ecx, [esp + 0x48]
mov dword [esp + 0x60], 0xf
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x4c], bl
call fcn.00418140
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x5c]
push eax
mov dword [esp + 0x88], ebx
call fcn.004f7c80
add esp, 8
cmp dword [esp + 0x54], 0x10
mov byte [esp + 0x80], 2
jb 0x5d0d6d
mov ecx, dword [esp + 0x40]
push ecx
call fcn.00611358
add esp, 4
cmp dword [esp + 0x70], 0x10
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x54], 0xf
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], bl
jae 0x5d0d8c
lea eax, [esp + 0x5c]
mov edx, dword [esp + 0x6c]
add edx, eax
xor ecx, ecx
cmp eax, edx
jae 0x5d0db4
jmp 0x5d0da0
movzx ebp, byte [eax]
imul ecx, ecx, 0x1000193
inc eax
xor ecx, ebp
cmp eax, edx
jb 0x5d0da0
mov ebp, dword [esp + 0x20]
cmp dword [esp + 0x2c], ecx
je 0x5d0dfc
cmp dword [esp + 0x70], 0x10
mov dword [esp + 0x80], 0xffffffff
jb 0x5d0dd9
mov eax, dword [esp + 0x5c]
push eax
call fcn.00611358
add esp, 4
mov eax, dword [esi]
cmp eax, ebx
jne 0x5d0dea
nop
mov eax, dword [edi + 4]
add edi, 4
cmp eax, ebx
je 0x5d0de0
mov esi, edi
sub esi, eax
neg esi
sbb esi, esi
and esi, eax
jne 0x5d0d18
jmp 0x5d0e58
mov ecx, dword [esi + 0x20]
call fcn.005d1fa0
mov ecx, dword [esp + 0x18]
add ecx, ebp
push ecx
mov ecx, eax
call fcn.005d7d10
mov edx, dword [esp + 0x14]
cmp edx, eax
je 0x5d0e39
cmp dword [esp + 0x70], 0x10
mov ecx, dword [esp + 0x5c]
jae 0x5d0e29
lea ecx, [esp + 0x5c]
push eax
push edx
push ecx
push str.d:_ymir_work_ui_public_slotactiveeffect_09.sub
call fcn.00584ec0
add esp, 0x10
cmp dword [esp + 0x70], 0x10
mov dword [esp + 0x80], 0xffffffff
jb 0x5d0e58
mov edx, dword [esp + 0x5c]
push edx
call fcn.00611358
add esp, 4
add ebp, dword [esp + 0x14]
sub dword [esp + 0x1c], 1
jne 0x5d0cb0
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.006117ae
add esp, 0x70
ret 4