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

Disassembly:
push 0xffffffffffffffff
push 0x43c3bb
mov eax, dword fs:[0]
push eax
sub esp, 0xa34
mov eax, dword [0x44ccd0]
xor eax, esp
mov dword [esp + 0xa30], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x44ccd0]
xor eax, esp
push eax
lea eax, [esp + 0xa48]
mov dword fs:[0], eax
mov eax, dword [esp + 0xa5c]
mov edi, dword [esp + 0xa58]
push 0x7d000
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], eax
call fcn.0041152f
push 0x208
lea ecx, [esp + 0x23c]
push 0
push ecx
mov dword [esp + 0x30], eax
call fcn.00421360
push 0x208
lea edx, [esp + 0x40]
push 0
push edx
call fcn.00421360
add esp, 0x1c
call fcn.004125a5
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40e0f1
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
push 0x43e570
push edi
mov dword [esp + 0xa58], 0
call fcn.00420f7d
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x40e302
push 0x400
lea ecx, [esp + 0x648]
push 0
push ecx
call fcn.00421360
push ebp
call fcn.00420b94
add esp, 0x10
test eax, eax
jne 0x40e2f7
lea esp, [esp]
push ebp
push 0x400
lea edx, [esp + 0x64c]
push 1
push edx
call fcn.00420e9c
push ebp
mov esi, eax
call fcn.004212e0
add esp, 0x14
mov ebx, eax
mov dword [esp + 0x28], edx
cmp esi, 0x400
jne 0x40e2e6
mov ecx, str.LeaderCab
lea eax, [esp + 0x644]
mov edi, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x40e1b0
test dl, dl
je 0x40e1ac
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x40e1b0
add eax, 2
add ecx, 2
test dl, dl
jne 0x40e190
xor eax, eax
jmp 0x40e1b5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x40e2e6
push 0x208
push eax
lea eax, [esp + 0x444]
push eax
call fcn.00421360
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x448]
add esp, 0xc
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x40e1e0
lea edi, [esp + 0x43c]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x40e1f2
mov cx, word [0x43e584]
lea eax, [esp + 0x668]
mov word [edi], cx
mov esi, eax
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40e210
lea edi, [esp + 0x43c]
sub eax, esi
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x40e221
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.00421476
lea eax, [esp + 0x44c]
push eax
lea ecx, [esp + 0x28]
push str.SplitFile_:_s__Begin
push ecx
call fcn.00401f40
mov edx, dword [esp + 0x30]
add esp, 0x1c
push 0
push edx
mov ecx, 0x44e3c9
call fcn.0040be50
mov eax, dword [esp + 0x664]
mov edx, dword [esp + 0x6d4]
push eax
lea ecx, [esp + 0x6d0]
push ecx
push edx
lea eax, [esp + 0x448]
push eax
push ebp
call fcn.0040d6a0
lea ecx, [esp + 0x450]
push ecx
lea edx, [esp + 0x2c]
push str.SplitFile_:_s__End
push edx
call fcn.00401f40
mov eax, dword [esp + 0x34]
add esp, 0x20
push 0
push eax
mov ecx, 0x44e3c9
call fcn.0040be50
mov ecx, dword [esp + 0x6d4]
mov edx, dword [esp + 0x6d8]
add ecx, ebx
adc edx, dword [esp + 0x28]
push 0
push edx
push ecx
push ebp
call fcn.00421476
mov edi, dword [esp + 0x2c]
add esp, 0x10
push ebp
call fcn.00420b94
add esp, 4
test eax, eax
je 0x40e150
push ebp
call fcn.00420934
add esp, 4
jmp 0x40e32d
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.00401f40
mov ecx, dword [esp + 0x24]
add esp, 0x10
push 0
push ecx
mov ecx, 0x44e3c9
call fcn.0040be50
mov edx, dword [esp + 0x20]
push edx
call fcn.0041153a
lea eax, [esp + 0x238]
push eax
call fcn.00408690
add esp, 8
test eax, eax
je 0x40e3ae
lea eax, [esp + 0x2c]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x40e350
mov ecx, dword [str.__srcfile__]
mov edx, dword [0x43f5cc]
mov dword [eax], ecx
mov ecx, dword [0x43f5d0]
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 0x40e376
lea edi, [esp + 0x2c]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x40e386
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 + 0x2c]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x40e3a1
jmp 0x40e4f8
push 0x208
lea edx, [esp + 0x238]
push 0
push edx
call fcn.00421360
lea eax, [esp + 0x240]
push eax
call fcn.00408630
lea eax, [esp + 0x244]
add esp, 0x10
dec eax
cmp byte [esp + 0xa60], 1
jne 0x40e410
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x40e3e4
mov ecx, dword [str.Ldxc.exe]
mov edx, dword [0x43f570]
mov dword [eax], ecx
mov cx, word [0x43f574]
mov dword [eax + 4], edx
mov word [eax + 8], cx
jmp 0x40e432
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x40e410
mov edx, dword [0x43f560]
mov ecx, dword [0x43f564]
mov dword [eax], edx
mov dl, byte [0x43f568]
mov dword [eax + 4], ecx
mov byte [eax + 8], dl
lea eax, [esp + 0x2c]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x40e437
mov ecx, dword [str.__Simplefile__]
mov edx, dword [0x43f5bc]
mov dword [eax], ecx
mov ecx, dword [0x43f5c0]
mov dword [eax + 4], edx
mov dx, word [0x43f5c4]
mov dword [eax + 8], ecx
mov cl, byte [0x43f5c6]
mov word [eax + 0xc], dx
mov byte [eax + 0xe], cl
mov eax, dword [esp + 0x18]
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x40e473
lea edi, [esp + 0x2c]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x40e483
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [esp + 0x2c]
rep movsb byte es:[edi], byte [esi]
dec eax
mov edi, edi
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x40e4a0
mov edx, dword [0x43f5b0]
mov cl, byte [0x43f5b4]
mov dword [eax], edx
mov byte [eax + 4], cl
mov eax, dword [esp + 0x1c]
mov ecx, eax
nop
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x40e4c0
lea edi, [esp + 0x2c]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x40e4d0
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 + 0x2c]
dec edi
jmp 0x40e4f0
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x40e4f0
mov dx, word [0x43ef8c]
push 0x64
mov word [edi], dx
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x23c]
push ecx
call fcn.00409140
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
add esp, 0xc
mov dword [esp + 0xa50], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40e54c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0xa48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xa30]
xor ecx, esp
call fcn.0041f914
add esp, 0xa40
ret