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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100b6ee8
mov eax, dword fs:[0]
push eax
sub esp, 0xf0
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0xe8], eax
push ebx
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x100]
mov dword fs:[0], eax
mov dword [esp + 0x34], edx
mov dword [esp + 0x18], ecx
mov edi, dword [ebp + 0xc]
xor esi, esi
mov eax, dword [ebp + 0x10]
mov ebx, dword [ebp + 8]
mov dword [esp + 0x3c], edi
mov edi, dword [ecx]
mov dword [esp + 0x30], esi
mov esi, dword [esp + 0x3c]
mov dword [esp + 0x14], eax
xor eax, eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], eax
mov ecx, dword [esi + 0x14]
mov dword [esp + 0x38], eax
mov dword [esp + 0x1c], eax
test ecx, ecx
je 0x1005ab86
mov ecx, dword [ecx + 0x84]
jmp 0x1005ab88
xor ecx, ecx
mov eax, dword [ecx + 0xc]
sub eax, dword [ecx + 8]
sar eax, 2
test ax, ax
jne 0x1005ab9d
xor al, al
jmp 0x1005b017
push 4
mov dword [esp + 0xbc], 0
lea ecx, [esp + 0xac]
mov dword [esp + 0xc0], 0
push str..TOT
mov dword [esp + 0xc4], 0xf
mov dword [esp + 0xc0], 0
mov byte [esp + 0xb0], 0
call fcn.10093cc0
mov dword [esp + 0x108], 0
mov eax, dword [esi + 0x14]
test eax, eax
je 0x1005abfe
mov ecx, dword [eax + 0x84]
jmp 0x1005ac00
xor ecx, ecx
push ecx
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0xb0]
push eax
call fcn.100955d0
test al, al
je 0x1005afd0
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x1005ac2a
mov edx, dword [ecx + 0x84]
jmp 0x1005ac2c
xor edx, edx
mov eax, dword [edx + 0xc]
sub eax, dword [edx + 8]
mov edx, dword [esp + 0x10]
sar eax, 2
dec eax
movzx eax, ax
cmp dx, ax
jne 0x1005afd0
test ecx, ecx
je 0x1005ac52
mov ecx, dword [ecx + 0x84]
jmp 0x1005ac54
xor ecx, ecx
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x44]
push eax
push edx
call fcn.10097c50
mov edx, dword [esp + 0x20]
mov cl, al
mov eax, dword [esi + 4]
mov dword [esp + 0x20], edx
cmp edx, eax
jbe 0x1005ac79
mov dword [esp + 0x20], eax
test cl, cl
je 0x1005afd0
mov ecx, dword [esp + 0x18]
mov esi, dword [ecx + 4]
mov ecx, dword [esp + 0x14]
lea eax, [ecx + 0x64]
cmp eax, esi
ja 0x1005afd0
mov dword [esp + 0xc0], 0x155000a
mov dword [esp + 0xc4], 0x3ec028b
mov dword [esp + 0xc8], 0x5520450
mov dword [esp + 0xcc], 0x7530651
mov dword [esp + 0xd0], 0x9570856
mov byte [esp + 0xd4], 0xba
mov dword [esp + 0xd8], 0x103000e
mov dword [esp + 0xdc], 0x3080243
mov dword [esp + 0xe0], 0x52304b9
mov dword [esp + 0xe4], 0x7000623
mov dword [esp + 0xe8], 0x98d0800
mov dword [esp + 0xec], 0xb010a04
mov dword [esp + 0xf0], 0xd310cf0
mov byte [esp + 0xf4], 0x10
cmp ecx, esi
jae 0x1005afd0
lea eax, [esp + 0xc0]
mov dword [esp + 0x10], eax
mov eax, esi
sub eax, ecx
push eax
lea eax, [ecx + edi]
push eax
lea ecx, [esp + 0x18]
call fcn.1001cbe0
test al, al
je 0x1005afd0
mov ecx, dword [esp + 0x14]
add ecx, 0x13
cmp ecx, esi
jae 0x1005afd0
lea eax, [esp + 0xd8]
mov dword [esp + 0x10], eax
mov eax, esi
sub eax, ecx
push eax
lea eax, [ecx + edi]
push eax
lea ecx, [esp + 0x18]
call fcn.1001cbe0
test al, al
je 0x1005afd0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
sub esi, ecx
push 0
add ecx, 9
sub esi, 9
mov eax, dword [eax]
add eax, ecx
lea ecx, [esp + 0x48]
push esi
push eax
call fcn.1001d150
mov ecx, dword [esp + 0x14]
lea eax, [ecx + 0x2d]
lea esi, [ecx + 9]
mov dword [esp + 0x10], eax
cmp esi, eax
jae 0x1005ae62
movzx eax, byte [esi + edi]
add eax, 0xffffff48
cmp eax, 0x47
ja case.0x1005add8.187
movzx eax, byte [eax + 0x1005b050]
jmp dword [eax*4 + 0x1005b03c]
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
inc ecx
add ecx, esi
call fcn.1001ca30
mov dword [esp + 0x24], eax
jmp case.0x1005add8.187
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
inc ecx
add ecx, esi
call fcn.1001ca30
mov dword [esp + 0x38], eax
jmp case.0x1005add8.187
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
inc ecx
add ecx, esi
call fcn.1001ca30
mov dword [esp + 0x1c], eax
jmp case.0x1005add8.187
cmp byte [esi + edi + 1], 0xe1
jne case.0x1005add8.187
cmp byte [esi + edi + 2], 0x8b
jne case.0x1005add8.187
cmp byte [esi + edi + 3], 0xff
jne case.0x1005add8.187
mov eax, esi
sub eax, ecx
mov ecx, dword [esp + 0x34]
add eax, 4
mov dword [ecx], eax
lea edx, [esp + 0x2f]
lea ecx, [esp + 0x44]
call fcn.100ae1f0
test eax, eax
je 0x1005afd0
mov ecx, dword [esp + 0x14]
add esi, eax
cmp esi, dword [esp + 0x10]
jb 0x1005adc3
mov ecx, dword [esp + 0x38]
lea eax, [esp + 0x10]
mov esi, dword [esp + 0x1c]
push 1
push eax
lea eax, [esp + 0x3c]
mov dword [esp + 0x3c], 0
push eax
add esi, ecx
mov dword [esp + 0x20], 0
push ecx
mov ecx, dword [esp + 0x4c]
call fcn.100951f0
mov ecx, dword [esp + 0x3c]
lea eax, [esp + 0x10]
push 1
push eax
lea eax, [esp + 0x1c]
push eax
push esi
call fcn.100951f0
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x40]
add eax, 3
cmp eax, esi
jb 0x1005afd0
cmp eax, dword [esp + 0x20]
ja 0x1005afd0
push 0x4646
mov ecx, ebx
call fcn.100941d0
mov ecx, dword [esp + 0x18]
xor edx, edx
mov eax, dword [esp + 0x1c]
mov edi, dword [ecx]
add edi, esi
lea esi, [eax + 4]
test esi, esi
je 0x1005aeff
mov ecx, dword [ebx]
mov al, byte [edi + edx]
mov byte [edx + ecx], al
mov ecx, edx
inc edx
mov dword [esp + 0x30], ecx
cmp edx, esi
jb 0x1005aee6
mov eax, dword [esp + 0x1c]
jmp 0x1005af01
xor ecx, ecx
xor edi, edi
test eax, eax
je 0x1005af7d
mov esi, dword [ebx]
sub esi, edi
add esi, ecx
movzx ecx, byte [esi]
movzx eax, byte [esi - 1]
shl cx, 8
or cx, ax
movzx eax, byte [esi - 3]
movzx edx, cx
movzx ecx, byte [esi - 2]
shl cx, 8
or cx, ax
shl edx, 0x10
mov eax, dword [esp + 0x24]
movzx ebx, cx
or ebx, edx
mov edx, dword [esp + 0x28]
xor ebx, eax
ror eax, 1
mov dword [esp + 0x24], eax
mov ecx, ebx
mov eax, ebx
shr ecx, 0x10
shr eax, 0x18
mov byte [esi], al
mov eax, dword [edx]
mov esi, dword [esp + 0x30]
sub eax, edi
mov byte [eax + esi - 1], cl
mov ecx, ebx
mov eax, dword [edx]
sub eax, edi
shr ecx, 8
mov byte [eax + esi - 2], cl
mov ecx, esi
mov eax, dword [edx]
sub eax, edi
inc edi
mov byte [eax + ecx - 3], bl
mov ebx, edx
cmp edi, dword [esp + 0x1c]
jb 0x1005af07
mov eax, dword [ebx]
cmp byte [eax], 0xe8
jne 0x1005afd0
cmp byte [eax + 5], 0x50
jne 0x1005afd0
cmp byte [eax + 6], 0x50
jne 0x1005afd0
cmp byte [eax + 7], 0x8d
jne 0x1005afd0
cmp byte [eax + 8], 0x8b
jne 0x1005afd0
cmp byte [eax + 0xd], 0xff
jne 0x1005afd0
cmp byte [eax + 0xe], 0xd1
jne 0x1005afd0
cmp byte [eax + 0x27], 0x58
jne 0x1005afd0
cmp byte [eax + 0x28], 0x5f
jne 0x1005afd0
cmp byte [eax + 0x29], 0x5e
jne 0x1005afd0
cmp byte [eax + 0x2a], 0x5b
jne 0x1005afd0
cmp byte [eax + 0x2b], 0x59
jne 0x1005afd0
cmp byte [eax + 0x30], 0xc9
jne 0x1005afd0
mov bl, 1
jmp 0x1005afd2
xor bl, bl
mov dword [esp + 0x108], 0xffffffff
cmp dword [esp + 0xbc], 0x10
jb 0x1005aff7
push dword [esp + 0xa8]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [esp + 0xbc], 0xf
mov al, bl
mov dword [esp + 0xb8], 0
mov byte [esp + 0xa8], 0
mov ecx, dword [esp + 0x100]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xe8]
xor ecx, esp
call fcn.100b37df
mov esp, ebp
pop ebp
ret