Function at 0x410b60
Capabilities:
Check if file exists
Get number of processors
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x43c671
mov eax, dword fs:[0]
push eax
mov eax, 0x8128
call fcn.00421330
mov eax, dword [0x44ccd0]
xor eax, esp
mov dword [esp + 0x8124], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x44ccd0]
xor eax, esp
push eax
lea eax, [esp + 0x813c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x8150]
mov ebp, dword [esp + 0x814c]
xor esi, esi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], esi
mov dword [esp + 0x30], esi
call fcn.004125a5
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x410bd5
push 0x80004005
call fcn.004011d0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov dword [esp + 0x8144], esi
call fcn.004125a5
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x410c06
push 0x80004005
call fcn.004011d0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
mov byte [esp + 0x8144], 1
call fcn.004125a5
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x410c38
push 0x80004005
call fcn.004011d0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
push 0x103
lea ecx, [esp + 0x39]
push esi
push ecx
mov byte [esp + 0x8150], 2
xor edi, edi
mov dword [esp + 0x24], esi
mov byte [esp + 0x40], 0
call fcn.00421360
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
add esp, 0xc
push 0x43e570
push ebp
call fcn.00420f7d
add esp, 8
mov dword [esp + 0x24], eax
cmp eax, esi
jne 0x410f76
call ebx
mov esi, eax
inc edi
cmp esi, 2
je 0x410cac
cmp edi, 0x12c
jg 0x410cac
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
xor esi, esi
jmp 0x410c74
push esi
push ebp
lea edx, [esp + 0x1c]
push str.CompressFile_SrcFile__s__Fail__d_
push edx
call fcn.00401f40
mov eax, dword [esp + 0x24]
add esp, 0x10
push 0
push eax
mov ecx, 0x44e3c9
call fcn.0040be50
push 0
push 0
lea ecx, [esp + 0x20]
push ecx
push 0x400
push esi
push 0
push 0x1100
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push str.LdWaterMarkHook
push ebp
call fcn.0041fb80
add esp, 8
test eax, eax
jne 0x410d4a
push str.LdPrintMonitor
push ebp
call fcn.0041fb80
add esp, 8
test eax, eax
jne 0x410d4a
mov edx, dword [esp + 0x18]
push edx
lea eax, [esp + 0x20]
push 0x43f120
push eax
call fcn.00401f40
push ebp
lea ecx, [esp + 0x30]
push 0x43f120
push ecx
call fcn.00401f40
mov edx, dword [esp + 0x30]
push edx
push ebp
push str.Open__s_Failed_.__s_
lea eax, [esp + 0x38]
push eax
jmp 0x410f1d
lea ecx, [esp + 0x34]
push ecx
call fcn.00408630
lea edi, [esp + 0x38]
add esp, 4
dec edi
lea esp, [esp]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x410d60
mov dx, word [0x43e584]
push str.LdWaterMarkHook32.dll
push ebp
mov word [edi], dx
call fcn.0041fb80
add esp, 8
test eax, eax
je 0x410dd4
lea eax, [esp + 0x34]
dec eax
lea esp, [esp]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x410d90
mov ecx, dword [str.LdWaterMarkHook32.dll]
mov edx, dword [0x43f914]
mov dword [eax], ecx
mov ecx, dword [0x43f918]
mov dword [eax + 4], edx
mov edx, dword [0x43f91c]
mov dword [eax + 8], ecx
mov ecx, dword [0x43f920]
mov dword [eax + 0xc], edx
mov dx, word [0x43f924]
mov dword [eax + 0x10], ecx
mov word [eax + 0x14], dx
jmp 0x410ee5
push str.LdWaterMarkHook64.dll
push ebp
call fcn.0041fb80
add esp, 8
test eax, eax
je 0x410e34
lea eax, [esp + 0x34]
dec eax
jmp 0x410df0
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x410df0
mov ecx, dword [str.LdWaterMarkHook64.dll]
mov edx, dword [0x43f8fc]
mov dword [eax], ecx
mov ecx, dword [0x43f900]
mov dword [eax + 4], edx
mov edx, dword [0x43f904]
mov dword [eax + 8], ecx
mov ecx, dword [0x43f908]
mov dword [eax + 0xc], edx
mov dx, word [0x43f90c]
mov dword [eax + 0x10], ecx
mov word [eax + 0x14], dx
jmp 0x410ee5
push str.LdPrintMonitor.dll
push ebp
call fcn.0041fb80
add esp, 8
test eax, eax
je 0x410e91
lea eax, [esp + 0x34]
dec eax
jmp 0x410e50
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x410e50
mov ecx, dword [str.LdPrintMonitor.dll]
mov edx, dword [0x43f8e8]
mov dword [eax], ecx
mov ecx, dword [0x43f8ec]
mov dword [eax + 4], edx
mov edx, dword [0x43f8f0]
mov dword [eax + 8], ecx
mov cx, word [0x43f8f4]
mov dword [eax + 0xc], edx
mov dl, byte [0x43f8f6]
mov word [eax + 0x10], cx
mov byte [eax + 0x12], dl
jmp 0x410ee5
push str.LdPrintMonitor64.dll
push ebp
call fcn.0041fb80
add esp, 8
test eax, eax
je 0x410ee5
lea eax, [esp + 0x34]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x410ea8
mov ecx, dword [str.LdPrintMonitor64.dll]
mov edx, dword [0x43f8d0]
mov dword [eax], ecx
mov ecx, dword [0x43f8d4]
mov dword [eax + 4], edx
mov edx, dword [0x43f8d8]
mov dword [eax + 8], ecx
mov ecx, dword [0x43f8dc]
mov dword [eax + 0xc], edx
mov dl, byte [0x43f8e0]
mov dword [eax + 0x10], ecx
mov byte [eax + 0x14], dl
mov eax, dword [esp + 0x18]
push eax
lea ecx, [esp + 0x20]
push 0x43f120
push ecx
call fcn.00401f40
lea edx, [esp + 0x40]
push edx
lea eax, [esp + 0x30]
push 0x43f120
push eax
call fcn.00401f40
lea ecx, [esp + 0x4c]
push ecx
push ebp
push str.Open__s_Failed_.__s_
lea edx, [esp + 0x38]
push edx
call fcn.00401f40
mov eax, dword [esp + 0x3c]
add esp, 0x28
push 0
push eax
mov ecx, 0x44e3c9
call fcn.0040be50
mov ecx, dword [esp + 0x1c]
cmp dword [ecx - 0xc], 0
je 0x410f5e
mov edx, dword [esp + 0x20]
cmp dword [edx - 0xc], 0
je 0x410f5e
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x20]
push ecx
mov ecx, 0x44e3c9
call fcn.0040b8f0
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov esi, dword [esp + 0x24]
mov ebp, dword [esp + 0x30]
jmp 0x411087
cmp edi, 5
jle 0x410fa0
push edi
push ebp
lea eax, [esp + 0x1c]
push str.CompressFile_SrcFile__s__Time__d_
push eax
call fcn.00401f40
mov ecx, dword [esp + 0x24]
add esp, 0x10
push esi
push ecx
mov ecx, 0x44e3c9
call fcn.0040be50
nop
mov edi, dword [esp + 0x2c]
push 0x43e590
push edi
call fcn.00436380
mov ebp, eax
add esp, 8
test ebp, ebp
jne 0x410ffb
inc esi
cmp esi, 0x12c
jg 0x410fcb
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x410fa0
call ebx
push eax
push edi
lea edx, [esp + 0x1c]
push str.CompressFile_DestFile__s__Fail__d_
push edx
call fcn.00401f40
mov eax, dword [esp + 0x24]
add esp, 0x10
push 0
push eax
mov ecx, 0x44e3c9
call fcn.0040be50
mov esi, dword [esp + 0x24]
jmp 0x411087
cmp esi, 5
jle 0x411025
push esi
push edi
lea ecx, [esp + 0x1c]
push str.CompressFile_DestFile__s__Time__d_
push ecx
call fcn.00401f40
mov edx, dword [esp + 0x24]
add esp, 0x10
push 0
push edx
mov ecx, 0x44e3c9
call fcn.0040be50
mov esi, dword [esp + 0x24]
push esi
call fcn.00420b94
add esp, 4
test eax, eax
jne 0x411087
mov dword [esp + 0x28], 1
push esi
push 0x8000
lea eax, [esp + 0x140]
push 1
push eax
call fcn.00420e9c
add esp, 0x10
test eax, eax
jle 0x411087
push eax
lea ecx, [esp + 0x13c]
push ecx
push ebp
call fcn.00436b80
add esp, 0xc
test eax, eax
je 0x41107f
push esi
call fcn.00420b94
add esp, 4
test eax, eax
je 0x41103e
jmp 0x411087
mov dword [esp + 0x28], 0
test esi, esi
je 0x411094
push esi
call fcn.00420934
add esp, 4
test ebp, ebp
je 0x4110a1
push ebp
call fcn.00436d60
add esp, 4
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x8144], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4110c9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x8144], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4110f1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0x8144], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41111c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x813c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x8124]
xor ecx, esp
call fcn.0041f914
add esp, 0x8134
ret