Function at 0x40c7f0
Capabilities:
Get number of processors
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x439f1b
mov eax, dword fs:[0]
push eax
sub esp, 0x82c
mov eax, dword [0x449cd0]
xor eax, esp
mov dword [esp + 0x828], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x449cd0]
xor eax, esp
push eax
lea eax, [esp + 0x840]
mov dword fs:[0], eax
mov eax, dword [esp + 0x854]
mov edi, dword [esp + 0x850]
push 0x7d000
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], eax
call fcn.0040f12f
push 0x104
lea ecx, [esp + 0x34]
push 0
push ecx
mov dword [esp + 0x30], eax
call fcn.0041ec20
push 0x208
lea edx, [esp + 0x248]
push 0
push edx
call fcn.0041ec20
add esp, 0x1c
call fcn.00410194
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40c891
push 0x80004005
call fcn.00401330
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
push 0x43b560
push edi
mov dword [esp + 0x850], 0
call fcn.0041e83b
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x40caa2
push 0x400
lea ecx, [esp + 0x440]
push 0
push ecx
call fcn.0041ec20
push ebp
call fcn.0041e452
add esp, 0x10
test eax, eax
jne 0x40ca97
lea esp, [esp]
push ebp
push 0x400
lea edx, [esp + 0x444]
push 1
push edx
call fcn.0041e75a
push ebp
mov esi, eax
call fcn.0041eb9e
add esp, 0x14
mov ebx, eax
mov dword [esp + 0x28], edx
cmp esi, 0x400
jne 0x40ca86
mov ecx, str.LeaderCab
lea eax, [esp + 0x43c]
mov edi, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x40c950
test dl, dl
je 0x40c94c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x40c950
add eax, 2
add ecx, 2
test dl, dl
jne 0x40c930
xor eax, eax
jmp 0x40c955
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x40ca86
push 0x104
push eax
lea eax, [esp + 0x138]
push eax
call fcn.0041ec20
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x13c]
add esp, 0xc
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x40c980
lea edi, [esp + 0x130]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x40c992
mov cx, word [0x43b574]
lea eax, [esp + 0x460]
mov word [edi], cx
mov esi, eax
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40c9b0
lea edi, [esp + 0x130]
sub eax, esi
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x40c9c1
mov edx, dword [esp + 0x28]
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
push 0
push edx
mov ecx, eax
and ecx, 3
push ebx
push ebp
rep movsb byte es:[edi], byte [esi]
call fcn.0041ed36
lea eax, [esp + 0x140]
push eax
lea ecx, [esp + 0x28]
push str.SplitFile_:_s__Begin
push ecx
call fcn.00401ce0
mov edx, dword [esp + 0x30]
add esp, 0x1c
push 0
push edx
mov ecx, 0x44b3c5
call fcn.0040aa20
mov eax, dword [esp + 0x45c]
mov edx, dword [esp + 0x4cc]
push eax
lea ecx, [esp + 0x4c8]
push ecx
push edx
lea eax, [esp + 0x13c]
push eax
push ebp
call fcn.0040beb0
lea ecx, [esp + 0x144]
push ecx
lea edx, [esp + 0x2c]
push str.SplitFile_:_s__End
push edx
call fcn.00401ce0
mov eax, dword [esp + 0x34]
add esp, 0x20
push 0
push eax
mov ecx, 0x44b3c5
call fcn.0040aa20
mov ecx, dword [esp + 0x4cc]
mov edx, dword [esp + 0x4d0]
add ecx, ebx
adc edx, dword [esp + 0x28]
push 0
push edx
push ecx
push ebp
call fcn.0041ed36
mov edi, dword [esp + 0x2c]
add esp, 0x10
push ebp
call fcn.0041e452
add esp, 4
test eax, eax
je 0x40c8f0
push ebp
call fcn.0041e1f2
add esp, 4
jmp 0x40cacd
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
lea eax, [esp + 0x1c]
push str.CUnCompressFile::UnCompressldmFile_fopen__s__fial__d_
push eax
call fcn.00401ce0
mov ecx, dword [esp + 0x24]
add esp, 0x10
push 0
push ecx
mov ecx, 0x44b3c5
call fcn.0040aa20
mov edx, dword [esp + 0x20]
push edx
call fcn.0040f13a
lea eax, [esp + 0x30]
push eax
call fcn.00407920
add esp, 8
test eax, eax
je 0x40cb5d
lea eax, [esp + 0x234]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x40caf0
mov ecx, dword [str.__srcfile__]
mov edx, dword [0x43c2b0]
mov dword [eax], ecx
mov ecx, dword [0x43c2b4]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov eax, edi
mov ecx, edi
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x40cb16
lea edi, [esp + 0x234]
sub eax, ecx
mov esi, ecx
dec edi
lea esp, [esp]
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x40cb30
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x234]
dec edi
mov edi, edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x40cb50
jmp 0x40cca9
push 0x104
lea edx, [esp + 0x30]
push 0
push edx
call fcn.0041ec20
lea eax, [esp + 0x38]
push eax
call fcn.004078c0
lea eax, [esp + 0x3c]
add esp, 0x10
dec eax
cmp byte [esp + 0x858], 1
jne 0x40cbb6
lea ebx, [ebx]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x40cb90
mov ecx, dword [str.Ldxc.exe]
mov edx, dword [0x43c254]
mov dword [eax], ecx
mov cx, word [0x43c258]
mov dword [eax + 4], edx
mov word [eax + 8], cx
jmp 0x40cbd8
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x40cbb6
mov edx, dword [0x43c244]
mov ecx, dword [0x43c248]
mov dword [eax], edx
mov dl, byte [0x43c24c]
mov dword [eax + 4], ecx
mov byte [eax + 8], dl
lea eax, [esp + 0x234]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x40cbe0
mov ecx, dword [str.__Simplefile__]
mov edx, dword [0x43c2a0]
mov dword [eax], ecx
mov ecx, dword [0x43c2a4]
mov dword [eax + 4], edx
mov dx, word [0x43c2a8]
mov dword [eax + 8], ecx
mov cl, byte [0x43c2aa]
mov word [eax + 0xc], dx
mov byte [eax + 0xe], cl
mov eax, dword [esp + 0x18]
mov ecx, eax
lea esp, [esp]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x40cc20
lea edi, [esp + 0x234]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x40cc33
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [esp + 0x234]
rep movsb byte es:[edi], byte [esi]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x40cc51
mov edx, dword [0x43c294]
mov cl, byte [0x43c298]
mov dword [eax], edx
mov byte [eax + 4], cl
mov eax, dword [esp + 0x1c]
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x40cc70
lea edi, [esp + 0x234]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x40cc83
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x234]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x40cca1
mov dx, word [0x43bd88]
push 0x64
mov word [edi], dx
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
lea eax, [esp + 0x238]
push eax
lea ecx, [esp + 0x34]
push ecx
call fcn.004083a0
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
add esp, 0xc
mov dword [esp + 0x848], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40ccfd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x840]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x828]
xor ecx, esp
call fcn.0041d4f4
add esp, 0x838
ret