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

Disassembly:
push 0xffffffffffffffff
push 0x439edb
mov eax, dword fs:[0]
push eax
sub esp, 0x664
mov eax, dword [0x449cd0]
xor eax, esp
mov dword [esp + 0x660], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x449cd0]
xor eax, esp
push eax
lea eax, [esp + 0x678]
mov dword fs:[0], eax
mov esi, dword [esp + 0x688]
mov edi, dword [esp + 0x68c]
mov ebx, dword [esp + 0x690]
push 0x13f
lea eax, [esp + 0x139]
push 0
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x24], edi
mov dword [esp + 0x30], ebx
mov byte [esp + 0x140], 0
call fcn.0041ec20
push 0x7d000
call fcn.0040f12f
push 0x104
lea ecx, [esp + 0x44]
push 0
push ecx
mov dword [esp + 0x38], eax
call fcn.0041ec20
add esp, 0x1c
call fcn.00410194
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40c304
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 esi
mov dword [esp + 0x688], 0
call fcn.0041e83b
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x40c516
push 0x400
lea ecx, [esp + 0x278]
push 0
push ecx
call fcn.0041ec20
push ebp
call fcn.0041e452
add esp, 0x10
test eax, eax
jne 0x40c50d
push ebp
push 0x400
lea edx, [esp + 0x27c]
push 1
push edx
call fcn.0041e75a
push ebp
mov esi, eax
call fcn.0041eb9e
add esp, 0x14
mov ebx, eax
mov dword [esp + 0x2c], edx
cmp esi, 0x400
jne 0x40c4f4
mov ecx, str.LeaderCab
lea eax, [esp + 0x274]
lea ebx, [ebx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x40c3c0
test dl, dl
je 0x40c3bc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x40c3c0
add eax, 2
add ecx, 2
test dl, dl
jne 0x40c3a0
xor eax, eax
jmp 0x40c3c5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x40c4f4
push 0x104
push eax
lea eax, [esp + 0x13c]
push eax
call fcn.0041ec20
lea edx, [esp + 0x140]
add esp, 0xc
mov eax, edi
sub edx, edi
mov edi, edi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x40c3f0
lea edi, [esp + 0x134]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x40c402
mov cx, word [0x43b574]
lea eax, [esp + 0x298]
mov word [edi], cx
mov esi, eax
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40c420
lea edi, [esp + 0x134]
sub eax, esi
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x40c431
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]
mov esi, dword [esp + 0x2c]
push 0
push esi
push ebx
push ebp
call fcn.0041ed36
lea edx, [esp + 0x144]
push edx
lea eax, [esp + 0x28]
push str.SplitFile_:_s__Begin
push eax
call fcn.00401ce0
mov ecx, dword [esp + 0x30]
add esp, 0x1c
push 0
push ecx
mov ecx, 0x44b3c5
call fcn.0040aa20
mov edx, dword [esp + 0x294]
mov ecx, dword [esp + 0x304]
push edx
lea eax, [esp + 0x300]
push eax
push ecx
lea edx, [esp + 0x140]
push edx
push ebp
call fcn.0040beb0
lea eax, [esp + 0x148]
push eax
lea ecx, [esp + 0x2c]
push str.SplitFile_:_s__End
push ecx
call fcn.00401ce0
mov edx, dword [esp + 0x34]
add esp, 0x20
push 0
push edx
mov ecx, 0x44b3c5
call fcn.0040aa20
mov eax, dword [esp + 0x304]
mov ecx, dword [esp + 0x308]
add eax, ebx
push 0
adc ecx, esi
push ecx
push eax
push ebp
call fcn.0041ed36
mov edi, dword [esp + 0x28]
add esp, 0x10
push ebp
call fcn.0041e452
add esp, 4
test eax, eax
je 0x40c35c
mov ebx, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
push ebp
call fcn.0041e1f2
add esp, 4
mov edx, dword [esp + 0x1c]
push edx
call fcn.0040f13a
lea eax, [esp + 0x34]
push eax
call fcn.00407920
add esp, 8
test eax, eax
je 0x40c5e5
push 0x207
lea ecx, [esp + 0x279]
push 0
push ecx
mov byte [esp + 0x280], 0
call fcn.0041ec20
lea eax, [esp + 0x280]
add esp, 0xc
dec eax
lea esp, [esp]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x40c560
mov edx, dword [str.__Back__]
mov ecx, dword [0x43c260]
mov dword [eax], edx
mov dl, byte [0x43c264]
mov dword [eax + 4], ecx
mov byte [eax + 8], dl
mov eax, ebx
mov ecx, ebx
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x40c586
lea edi, [esp + 0x274]
sub eax, ecx
mov esi, ecx
dec edi
lea esp, [esp]
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x40c5a0
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 + 0x274]
dec edi
mov edi, edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x40c5c0
mov ax, word [0x43bd88]
push 1
lea ecx, [esp + 0x278]
push ecx
lea edx, [esp + 0x38]
mov word [edi], ax
push edx
jmp 0x40c782
push 0x104
lea eax, [esp + 0x34]
push 0
push eax
call fcn.0041ec20
lea ecx, [esp + 0x3c]
push ecx
call fcn.004078c0
push esi
call fcn.00407ce0
push str..ldx
push eax
call fcn.0041efe4
add esp, 0x1c
test eax, eax
lea eax, [esp + 0x30]
jne 0x40c646
dec eax
lea ecx, [ecx]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x40c620
mov edx, dword [str.Ldxc.exe]
mov ecx, dword [0x43c254]
mov dword [eax], edx
mov dx, word [0x43c258]
mov dword [eax + 4], ecx
mov word [eax + 8], dx
jmp 0x40c669
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x40c647
mov ecx, dword [0x43c244]
mov edx, dword [0x43c248]
mov dword [eax], ecx
mov cl, byte [0x43c24c]
mov dword [eax + 4], edx
mov byte [eax + 8], cl
push 0x207
lea edx, [esp + 0x279]
push 0
push edx
mov byte [esp + 0x280], 0
call fcn.0041ec20
lea eax, [esp + 0x280]
add esp, 0xc
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x40c690
mov ecx, dword [str.__SimpleBack__]
mov edx, dword [0x43c238]
mov dword [eax], ecx
mov ecx, dword [0x43c23c]
mov dword [eax + 4], edx
mov dx, word [0x43c240]
mov dword [eax + 8], ecx
mov cl, byte [0x43c242]
mov word [eax + 0xc], dx
mov byte [eax + 0xe], cl
mov eax, ebx
mov ecx, ebx
lea ebx, [ebx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x40c6d0
lea edi, [esp + 0x274]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x40c6e3
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 + 0x274]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x40c701
mov edx, dword [0x43c230]
mov eax, dword [esp + 0x18]
mov dword [edi], edx
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x40c717
lea edi, [esp + 0x274]
sub eax, ecx
mov esi, ecx
dec edi
lea ebx, [ebx]
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x40c730
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [esp + 0x274]
rep movsb byte es:[edi], byte [esi]
dec eax
mov edi, edi
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x40c750
mov cx, word [0x43c22c]
mov dl, byte [0x43c22e]
mov word [eax], cx
push 0x64
mov byte [eax + 2], dl
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
lea eax, [esp + 0x278]
push eax
lea ecx, [esp + 0x38]
push ecx
call fcn.004083a0
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
add esp, 0xc
mov dword [esp + 0x680], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40c7b5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 3
mov ecx, dword [esp + 0x678]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x660]
xor ecx, esp
call fcn.0041d4f4
add esp, 0x670
ret