Function at 0x100a2160
Capabilities:
Contain obfuscated stackstrings
Get number of processors
Resolve function by parsing pe exports
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x1017724c
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x101c8fb4]
xor eax, esp
mov dword [esp + 0x8c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101c8fb4]
xor eax, esp
push eax
lea eax, [esp + 0xa4]
mov dword fs:[0], eax
mov eax, dword [esp + 0xb8]
push 0xbb8
push 0x102da39c
mov edi, ecx
mov esi, edx
mov dword [esp + 0x44], eax
call fcn.10056fb0
lea ecx, [esp + 0x28]
push ecx
xor ebx, ebx
push edi
mov byte [esp + 0x30], 0x61
mov byte [esp + 0x31], 0x62
mov byte [esp + 0x32], bl
call fcn.10112d44
mov ebp, eax
add esp, 0x10
cmp ebp, ebx
je 0x100a25f3
cmp byte [esi], bl
je 0x100a25af
xor eax, eax
lea edx, [esp + 0x2c]
push edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push esi
lea ecx, [esp + 0x18]
call fcn.100449b0
mov dword [esp + 0xac], ebx
mov al, 0x79
mov byte [esp + 0x79], al
mov byte [esp + 0x7a], al
mov byte [esp + 0x7b], al
mov byte [esp + 0x7c], al
movzx eax, word [esp + 0x2c]
push eax
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esp + 0x88]
push edx
mov byte [esp + 0x54], 0x25
mov byte [esp + 0x55], 0x30
mov byte [esp + 0x56], 0x34
mov byte [esp + 0x57], 0x64
mov byte [esp + 0x58], bl
mov byte [esp + 0x84], 0x25
mov byte [esp + 0x89], 0x25
mov byte [esp + 0x8a], bl
call fcn.10112d57
add esp, 0xc
lea eax, [esp + 0x80]
push eax
lea ecx, [esp + 0x7c]
push ecx
lea ecx, [esp + 0x1c]
call fcn.1009ed00
movzx edx, word [esp + 0x2e]
mov al, 0x4d
mov byte [esp + 0x69], al
mov byte [esp + 0x6a], al
push edx
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x88]
push ecx
mov byte [esp + 0x4c], 0x25
mov byte [esp + 0x4d], 0x30
mov byte [esp + 0x4e], 0x32
mov byte [esp + 0x4f], 0x64
mov byte [esp + 0x50], bl
mov byte [esp + 0x74], 0x25
mov byte [esp + 0x77], 0x25
mov byte [esp + 0x78], bl
call fcn.10112d57
add esp, 0xc
lea edx, [esp + 0x80]
push edx
lea eax, [esp + 0x6c]
push eax
lea ecx, [esp + 0x1c]
call fcn.1009ed00
movzx ecx, word [esp + 0x32]
push ecx
lea edx, [esp + 0x44]
push edx
lea eax, [esp + 0x88]
push eax
mov byte [esp + 0x64], 0x25
mov byte [esp + 0x65], 0x64
mov byte [esp + 0x66], 0x64
mov byte [esp + 0x67], 0x25
mov byte [esp + 0x68], bl
call fcn.10112d57
add esp, 0xc
lea ecx, [esp + 0x80]
push ecx
lea edx, [esp + 0x5c]
push edx
lea ecx, [esp + 0x1c]
call fcn.1009ed00
mov al, 0x68
mov byte [esp + 0x61], al
mov byte [esp + 0x62], al
movzx eax, word [esp + 0x34]
push eax
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x88]
push edx
mov byte [esp + 0x6c], 0x25
mov byte [esp + 0x6f], 0x25
mov byte [esp + 0x70], bl
call fcn.10112d57
add esp, 0xc
lea eax, [esp + 0x80]
push eax
lea ecx, [esp + 0x64]
push ecx
lea ecx, [esp + 0x1c]
call fcn.1009ed00
movzx edx, word [esp + 0x36]
mov al, 0x6d
mov byte [esp + 0x71], al
mov byte [esp + 0x72], al
push edx
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x88]
push ecx
mov byte [esp + 0x7c], 0x25
mov byte [esp + 0x7f], 0x25
mov byte [esp + 0x80], bl
call fcn.10112d57
add esp, 0xc
lea edx, [esp + 0x80]
push edx
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0x1c]
call fcn.1009ed00
movzx ecx, word [esp + 0x38]
mov al, 0x73
push ecx
lea edx, [esp + 0x44]
mov byte [esp + 0x55], al
mov byte [esp + 0x56], al
push edx
lea eax, [esp + 0x88]
push eax
mov byte [esp + 0x5c], 0x25
mov byte [esp + 0x5f], 0x25
mov byte [esp + 0x60], bl
call fcn.10112d57
add esp, 0xc
lea ecx, [esp + 0x80]
push ecx
lea edx, [esp + 0x54]
push edx
lea ecx, [esp + 0x1c]
call fcn.1009ed00
mov ecx, dword [esp + 0x14]
cmp dword [ecx - 0xc], ebx
jl 0x100a258b
push 0x1017bcc4
push ecx
call fcn.1011547a
mov ecx, dword [esp + 0x1c]
add esp, 8
cmp eax, ebx
je 0x100a243a
sub eax, ecx
mov edi, eax
jns 0x100a248c
cmp dword [ecx - 0xc], ebx
jl 0x100a258b
push 0x1017bcc0
push ecx
call fcn.1011547a
mov ecx, dword [esp + 0x1c]
add esp, 8
cmp eax, ebx
je 0x100a245f
sub eax, ecx
mov edi, eax
jns 0x100a248c
cmp dword [ecx - 0xc], ebx
jl 0x100a258b
push 0x1017bcbc
push ecx
call fcn.1011547a
add esp, 8
cmp eax, ebx
je 0x100a2587
mov ecx, dword [esp + 0x14]
sub eax, ecx
mov edi, eax
js 0x100a258b
lea eax, [edi + 1]
push eax
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x1c]
call fcn.1005a710
mov byte [esp + 0xac], 1
mov edx, dword [esp + 0x18]
push 0x25
push edx
call fcn.10115c11
add esp, 8
cmp eax, ebx
je 0x100a256f
sub eax, dword [esp + 0x18]
mov esi, eax
js 0x100a256f
mov eax, edi
sub eax, esi
add eax, 2
push eax
push esi
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x20]
call fcn.1009e700
mov byte [esp + 0xac], 2
mov edx, dword [esp + 0x18]
mov eax, dword [edx - 0xc]
sub eax, esi
sub eax, 2
push eax
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x20]
call fcn.1005a660
mov byte [esp + 0xac], 3
push 0x1017bcb8
push ebx
lea ecx, [esp + 0x2c]
call fcn.1009ec30
mov ecx, dword [esp + 0xb4]
mov edx, dword [esp + 0x24]
push ecx
push edx
lea eax, [esp + 0x88]
push eax
call fcn.10112d57
mov edx, dword [esp + 0x34]
add esp, 0xc
lea ecx, [esp + 0x80]
push ecx
push edx
lea ecx, [esp + 0x1c]
call fcn.1009ed00
mov byte [esp + 0xac], 2
lea ecx, [esp + 0x24]
call fcn.1001f260
mov byte [esp + 0xac], 1
lea ecx, [esp + 0x28]
call fcn.1001f260
mov byte [esp + 0xac], bl
lea ecx, [esp + 0x18]
call fcn.1001f260
cmp edi, ebx
jge 0x100a2411
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx - 0xc]
push ebp
push eax
push 1
push ecx
call fcn.101150b8
add esp, 0x10
mov dword [esp + 0xac], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.1001f260
mov esi, dword [esp + 0x3c]
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x100a25b8
push ebp
sub eax, edx
push eax
push 1
push esi
call fcn.101150b8
push ebp
push 2
lea eax, [esp + 0x34]
push 1
push eax
mov byte [esp + 0x3c], 0xd
mov byte [esp + 0x3d], 0xa
mov byte [esp + 0x3e], bl
call fcn.101150b8
push ebp
call fcn.1011263b
add esp, 0x24
push 0x102da39c
call fcn.10057040
add esp, 4
mov ecx, dword [esp + 0xa4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x8c]
xor ecx, esp
call fcn.10111b17
add esp, 0x9c
ret