Function at 0x1005b400
Capabilities:
Encode data using xor
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x1015b6a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
mov al, byte [0x101978ac]
push ebx
push esi
push edi
test al, 1
mov byte [esp + 0x28], 0xf8
mov byte [esp + 0x29], 0x69
mov byte [esp + 0x2a], 0xe5
mov byte [esp + 0x2b], 0xfc
mov byte [esp + 0x2c], 0x45
mov byte [esp + 0x2d], 0x39
mov byte [esp + 0x2e], 0x84
mov byte [esp + 0x2f], 0xf1
mov byte [esp + 0x30], 0x66
mov byte [esp + 0x31], 0xdd
mov byte [esp + 0x14], 0x8d
mov byte [esp + 0x15], 0x1a
mov byte [esp + 0x16], 0x80
mov byte [esp + 0x17], 0x8e
mov byte [esp + 0x18], 0x76
mov byte [esp + 0x19], 0xb
mov byte [esp + 0x1a], 0xaa
mov byte [esp + 0x1b], 0x95
mov byte [esp + 0x1c], 0xa
mov byte [esp + 0x1d], 0xb1
jne 0x1005b4eb
mov bl, al
push 0xb
or bl, 1
mov byte [0x101978ac], bl
call fcn.1013c2df
add esp, 4
mov dword [0x101978b0], eax
xor esi, esi
mov al, byte [esp + esi + 0x14]
mov bl, byte [esp + esi + 0x28]
movsx eax, al
movsx ecx, bl
push eax
push ecx
mov ecx, 0x101978b0
call fcn.10025de0
mov cl, byte [esp + esi + 0x14]
mov edx, dword [0x101978b0]
xor bl, cl
or al, bl
mov byte [esi + edx], al
inc esi
cmp esi, 0xa
jb 0x1005b4a4
mov eax, dword [0x101978b0]
push 0x1005b6d0
mov byte [eax + 0xa], 0
call fcn.1013c36b
add esp, 4
mov ecx, dword [0x101978b0]
mov al, 0xc
mov byte [esp + 0x23], al
mov byte [esp + 0x27], al
mov al, 0x6d
mov dword [esp + 0xc], ecx
mov byte [esp + 0x36], al
mov byte [esp + 0x39], al
mov al, byte [0x101978b4]
mov bl, 0x7b
mov dl, 0x74
mov cl, 3
test al, 1
mov byte [esp + 0x14], 0xd4
mov byte [esp + 0x15], 0xfa
mov byte [esp + 0x16], 0xaa
mov byte [esp + 0x17], 0
mov byte [esp + 0x18], bl
mov byte [esp + 0x19], 0xf1
mov byte [esp + 0x1a], 0xe5
mov byte [esp + 0x1b], 0x3b
mov byte [esp + 0x1c], dl
mov byte [esp + 0x1d], 0x8c
mov byte [esp + 0x1e], 0xfe
mov byte [esp + 0x1f], cl
mov byte [esp + 0x20], 0x10
mov byte [esp + 0x21], 0x20
mov byte [esp + 0x22], 0x1f
mov byte [esp + 0x24], 0x32
mov byte [esp + 0x25], cl
mov byte [esp + 0x26], 0x8e
mov byte [esp + 0x28], 0x87
mov byte [esp + 0x29], 0x83
mov byte [esp + 0x2a], 0xd9
mov byte [esp + 0x2b], dl
mov byte [esp + 0x2c], 0x1e
mov byte [esp + 0x2d], 0x9c
mov byte [esp + 0x2e], 0xb5
mov byte [esp + 0x2f], 0x5a
mov byte [esp + 0x30], 6
mov byte [esp + 0x31], 0xed
mov byte [esp + 0x32], 0x93
mov byte [esp + 0x33], 0x66
mov byte [esp + 0x34], 0x64
mov byte [esp + 0x35], 0x45
mov byte [esp + 0x37], 0x7f
mov byte [esp + 0x38], bl
mov byte [esp + 0x3a], 0xe8
mov byte [esp + 0x3b], 0x63
jne 0x1005b62a
mov bl, al
push 0x15
or bl, 1
mov byte [0x101978b4], bl
call fcn.1013c2df
add esp, 4
mov dword [0x101978b8], eax
xor esi, esi
mov al, byte [esp + esi + 0x28]
mov bl, byte [esp + esi + 0x14]
movsx edx, al
movsx eax, bl
push edx
push eax
mov ecx, 0x101978b8
call fcn.10025de0
mov cl, byte [esp + esi + 0x28]
xor bl, cl
mov ecx, dword [0x101978b8]
or al, bl
mov byte [esi + ecx], al
inc esi
cmp esi, 0x14
jb 0x1005b5e2
mov edx, dword [0x101978b8]
push 0x1005b6e0
mov byte [edx + 0x14], 0
call fcn.1013c36b
add esp, 4
mov ebx, dword [0x101978b8]
xor edi, edi
cmp byte [ebx], 0
je 0x1005b640
mov al, byte [ebx + edi + 1]
inc edi
test al, al
jne 0x1005b637
lea eax, [edi + 2]
push eax
call fcn.1013c2df
add esp, 4
mov esi, eax
test edi, edi
mov dword [esp + 0x10], esi
jle 0x1005b667
mov ecx, ebx
push ebp
sub ecx, esi
mov ebp, edi
mov dl, byte [ecx + eax]
mov byte [eax], dl
inc eax
dec ebp
jne 0x1005b65d
pop ebp
mov byte [esi + edi + 1], 0
mov byte [esi + edi], 0x57
mov eax, dword [esp + 0xc]
mov dword [esp + 0x44], 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x54]
push ecx
mov ecx, dword [esp + 0x54]
push edx
mov edx, dword [esp + 0x54]
push ecx
push edx
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
push esi
mov edi, eax
mov dword [esp + 0x48], 0xffffffff
call fcn.101307a0
mov ecx, dword [esp + 0x40]
add esp, 4
mov eax, edi
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x3c
ret