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

Disassembly:
push 0xffffffffffffffff
push 0x439fb6
mov eax, dword fs:[0]
push eax
sub esp, 0x650
mov eax, dword [0x449cd0]
xor eax, esp
mov dword [esp + 0x64c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x449cd0]
xor eax, esp
push eax
lea eax, [esp + 0x664]
mov dword fs:[0], eax
mov esi, dword [esp + 0x674]
mov edi, dword [esp + 0x678]
push 0x7d000
mov dword [esp + 0x30], esi
mov dword [esp + 0x20], edi
call fcn.0040f12f
mov dword [esp + 0x28], eax
xor eax, eax
push 0x104
push eax
mov dword [esp + 0x45], eax
mov dword [esp + 0x49], eax
mov dword [esp + 0x4d], eax
mov dword [esp + 0x51], eax
mov dword [esp + 0x55], eax
mov dword [esp + 0x59], eax
mov dword [esp + 0x5d], eax
mov word [esp + 0x61], ax
mov byte [esp + 0x63], al
lea eax, [esp + 0x168]
push eax
mov byte [esp + 0x48], 0
call fcn.0041ec20
lea ecx, [esp + 0x48]
push 0x20
push ecx
call fcn.004012a0
add esp, 0x18
call fcn.00410194
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40d6d7
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 + 0x20], eax
push edi
push esi
lea ecx, [esp + 0x28]
push str.:UnCompressExeFile__s_to__s_
push ecx
mov dword [esp + 0x67c], 0
call fcn.00401ce0
mov edx, dword [esp + 0x30]
add esp, 0x10
push 0
push edx
mov ecx, 0x44b3c5
call fcn.0040aa20
push 0x43b560
push esi
call fcn.0041e83b
add esp, 8
mov dword [esp + 0x18], eax
test eax, eax
je 0x40dc2c
push eax
call fcn.0041e452
add esp, 4
test eax, eax
jne 0x40d91e
mov esi, dword [esp + 0x18]
mov ebx, dword [esp + 0x24]
push esi
mov dword [ebx], 0
call fcn.0041eb9e
push esi
push 0x7d000
push 1
push ebx
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], edx
call fcn.0041e75a
mov edi, eax
add esp, 0x14
xor esi, esi
mov dword [esp + 0x28], edi
test edi, edi
jle 0x40d909
nop
lea ecx, [esp + 0x38]
mov eax, ebx
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x40d7a6
test dl, dl
je 0x40d7a2
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x40d7a6
add eax, 2
add ecx, 2
test dl, dl
jne 0x40d786
xor eax, eax
jmp 0x40d7ab
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x40d7c4
add esi, 0x200
add ebx, 0x200
cmp esi, edi
jl 0x40d780
jmp 0x40d909
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x58]
mov dword [esp + 0x14], esi
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x40d7d2
lea edi, [esp + 0x58]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x40d7e1
mov bp, word [0x43b574]
lea eax, [ebx + 0x90]
mov word [edi], bp
mov ecx, eax
jmp 0x40d800
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x40d800
lea edi, [esp + 0x58]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x40d810
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 esi, [ebx + 0x2c]
mov edx, 0x43b830
mov ecx, esi
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x40d850
test al, al
je 0x40d84c
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x40d850
add ecx, 2
add edx, 2
test al, al
jne 0x40d830
xor eax, eax
jmp 0x40d855
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x40d8b6
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x15c]
sub eax, ecx
mov dl, byte [ecx]
mov byte [eax + ecx], dl
inc ecx
test dl, dl
jne 0x40d866
lea edi, [esp + 0x15c]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x40d878
mov eax, esi
mov word [edi], bp
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x40d887
lea edi, [esp + 0x15c]
sub eax, ecx
mov esi, ecx
dec edi
lea ebx, [ebx]
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x40d8a0
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 + 0x18]
push 0
push 0
push 0
push esi
call fcn.0041ed36
mov ecx, dword [ebx + 0x20]
push 0
lea eax, [ebx + 0x24]
push eax
push ecx
lea edx, [esp + 0x74]
push edx
push esi
call fcn.0040beb0
mov edi, dword [esp + 0x38]
mov ecx, dword [ebx + 0xf4]
mov eax, edi
cdq
xor ebx, ebx
add ecx, eax
adc ebx, edx
add ecx, dword [esp + 0x54]
push 0
adc ebx, dword [esp + 0x5c]
push ebx
push ecx
push esi
call fcn.0041ed36
add esp, 0x34
cmp edi, dword [esp + 0x28]
jl 0x40d91e
mov edx, dword [esp + 0x18]
push edx
call fcn.0041e452
add esp, 4
test eax, eax
je 0x40d742
push 0x400
lea eax, [esp + 0x264]
push 0
push eax
call fcn.0041ec20
mov ecx, dword [esp + 0x24]
push ecx
call fcn.0041e452
add esp, 0x10
test eax, eax
jne 0x40dc1b
jmp 0x40d950
mov edi, dword [esp + 0x18]
push edi
push 0x400
lea edx, [esp + 0x268]
push 1
push edx
call fcn.0041e75a
push edi
mov esi, eax
call fcn.0041eb9e
add esp, 0x14
mov ebx, eax
mov ebp, edx
cmp esi, 0x400
jne 0x40dc06
mov ecx, str.LeaderCab
lea eax, [esp + 0x260]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x40d9b0
test dl, dl
je 0x40d9ac
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x40d9b0
add eax, 2
add ecx, 2
test dl, dl
jne 0x40d990
xor eax, eax
jmp 0x40d9b5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x40dc06
push 0x104
push eax
lea eax, [esp + 0x60]
push eax
call fcn.0041ec20
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x64]
add esp, 0xc
sub edx, eax
lea ebx, [ebx]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x40d9e0
lea edi, [esp + 0x58]
dec edi
nop
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x40d9f0
mov cx, word [0x43b574]
lea edx, [esp + 0x284]
mov word [edi], cx
push edx
lea ecx, [esp + 0x18]
call fcn.00402ae0
mov edx, dword [esp + 0x14]
mov esi, dword [edx - 0xc]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, esi
or eax, ecx
mov byte [esp + 0x66c], 1
jge 0x40da41
push esi
lea ecx, [esp + 0x18]
call fcn.004016b0
mov edx, dword [esp + 0x14]
lea eax, [esi + 1]
push eax
push edx
call fcn.0041dd9f
push eax
call fcn.00401140
add esp, 0xc
test esi, esi
jl 0x40dd5a
mov eax, dword [esp + 0x14]
cmp esi, dword [eax - 8]
jg 0x40dd5a
mov dword [eax - 0xc], esi
mov ecx, dword [esp + 0x14]
mov byte [esi + ecx], 0
call fcn.00407e20
test eax, eax
je 0x40dace
mov edx, dword [esp + 0x14]
push str.LDX64.EXE
push edx
call fcn.0041fc71
add esp, 8
test eax, eax
sete al
test al, al
je 0x40daaa
lea eax, [esp + 0x58]
dec eax
lea ecx, [ecx]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x40daa0
jmp 0x40daf8
lea eax, [esp + 0x284]
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40dab3
lea edi, [esp + 0x58]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x40dac1
jmp 0x40db7e
mov eax, dword [esp + 0x14]
push str.LDX32.EXE
push eax
call fcn.0041fc71
add esp, 8
test eax, eax
sete al
test al, al
je 0x40db0e
lea eax, [esp + 0x58]
dec eax
mov edi, edi
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x40daf0
mov ecx, dword [str.Ldx.exe]
mov edx, dword [0x43c33c]
mov dword [eax], ecx
mov dword [eax + 4], edx
jmp 0x40db8e
mov eax, dword [esp + 0x14]
push str.LDDISK32.SYS
push eax
call fcn.0041fc71
add esp, 8
test eax, eax
sete al
test al, al
je 0x40db5f
lea eax, [esp + 0x58]
dec eax
mov edi, edi
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x40db30
mov ecx, dword [str.Lddisk.sys]
mov edx, dword [0x43c320]
mov dword [eax], ecx
mov cx, word [0x43c324]
mov dword [eax + 4], edx
mov dl, byte [0x43c326]
mov word [eax + 8], cx
mov byte [eax + 0xa], dl
jmp 0x40db8e
lea eax, [esp + 0x284]
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40db68
lea edi, [esp + 0x58]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x40db76
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x18]
push 0
push ebp
push ebx
push esi
call fcn.0041ed36
mov eax, dword [esp + 0x290]
mov edx, dword [esp + 0x300]
push eax
lea ecx, [esp + 0x2fc]
push ecx
push edx
lea eax, [esp + 0x74]
push eax
push esi
call fcn.0040beb0
mov ecx, dword [esp + 0x314]
mov edx, dword [esp + 0x318]
add ecx, ebx
push 0
adc edx, ebp
push edx
push ecx
push esi
call fcn.0041ed36
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
add esp, 0x34
mov byte [esp + 0x66c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40dc06
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0041e452
add esp, 4
test eax, eax
je 0x40d950
mov edx, dword [esp + 0x18]
push edx
call fcn.0041e1f2
mov esi, dword [esp + 0x30]
add esp, 4
mov eax, dword [esp + 0x24]
push eax
call fcn.0040f13a
lea ecx, [esp + 0x160]
push ecx
call fcn.00407920
add esp, 8
test eax, eax
je 0x40dd05
push 0x207
lea edx, [esp + 0x265]
push 0
push edx
mov byte [esp + 0x26c], 0
call fcn.0041ec20
lea eax, [esp + 0x26c]
add esp, 0xc
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x40dc75
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, esi
mov ecx, esi
jmp 0x40dca0
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x40dca0
lea edi, [esp + 0x260]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x40dcb3
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 + 0x260]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x40dcd1
mov dx, word [0x43bd88]
push 0x64
mov word [edi], dx
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
lea eax, [esp + 0x264]
push eax
lea ecx, [esp + 0x164]
push ecx
call fcn.004083a0
add esp, 0xc
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov dword [esp + 0x66c], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40dd30
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x664]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x64c]
xor ecx, esp
call fcn.0041d4f4
add esp, 0x65c
ret
push 0x80070057
call fcn.00401330
int3