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

Disassembly:
push 0xffffffffffffffff
push 0x43baeb
mov eax, dword fs:[0]
push eax
sub esp, 0x82c
mov eax, dword [0x44bcd0]
xor eax, esp
mov dword [esp + 0x828], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x44bcd0]
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.00410bca
push 0x104
lea ecx, [esp + 0x34]
push 0
push ecx
mov dword [esp + 0x30], eax
call fcn.00420a40
push 0x208
lea edx, [esp + 0x248]
push 0
push edx
call fcn.00420a40
add esp, 0x1c
call fcn.00411c35
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40db61
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 0x43d570
push edi
mov dword [esp + 0x850], 0
call fcn.0042065d
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x40dd72
push 0x400
lea ecx, [esp + 0x440]
push 0
push ecx
call fcn.00420a40
push ebp
call fcn.00420274
add esp, 0x10
test eax, eax
jne 0x40dd67
lea esp, [esp]
push ebp
push 0x400
lea edx, [esp + 0x444]
push 1
push edx
call fcn.0042057c
push ebp
mov esi, eax
call fcn.004209c0
add esp, 0x14
mov ebx, eax
mov dword [esp + 0x28], edx
cmp esi, 0x400
jne 0x40dd56
mov ecx, str.LeaderCab
lea eax, [esp + 0x43c]
mov edi, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x40dc20
test dl, dl
je 0x40dc1c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x40dc20
add eax, 2
add ecx, 2
test dl, dl
jne 0x40dc00
xor eax, eax
jmp 0x40dc25
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x40dd56
push 0x104
push eax
lea eax, [esp + 0x138]
push eax
call fcn.00420a40
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 0x40dc50
lea edi, [esp + 0x130]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x40dc62
mov cx, word [0x43d584]
lea eax, [esp + 0x460]
mov word [edi], cx
mov esi, eax
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40dc80
lea edi, [esp + 0x130]
sub eax, esi
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x40dc91
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.00420b56
lea eax, [esp + 0x140]
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, 0x44d3c9
call fcn.0040bc50
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.0040d0e0
lea ecx, [esp + 0x144]
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, 0x44d3c9
call fcn.0040bc50
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.00420b56
mov edi, dword [esp + 0x2c]
add esp, 0x10
push ebp
call fcn.00420274
add esp, 4
test eax, eax
je 0x40dbc0
push ebp
call fcn.00420014
add esp, 4
jmp 0x40dd9d
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, 0x44d3c9
call fcn.0040bc50
mov edx, dword [esp + 0x20]
push edx
call fcn.00410bbf
lea eax, [esp + 0x30]
push eax
call fcn.004089a0
add esp, 8
test eax, eax
je 0x40de2d
lea eax, [esp + 0x234]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x40ddc0
mov ecx, dword [str.__srcfile__]
mov edx, dword [0x43e504]
mov dword [eax], ecx
mov ecx, dword [0x43e508]
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 0x40dde6
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 0x40de00
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 0x40de20
jmp 0x40df79
push 0x104
lea edx, [esp + 0x30]
push 0
push edx
call fcn.00420a40
lea eax, [esp + 0x38]
push eax
call fcn.00408940
lea eax, [esp + 0x3c]
add esp, 0x10
dec eax
cmp byte [esp + 0x858], 1
jne 0x40de86
lea ebx, [ebx]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x40de60
mov ecx, dword [str.Ldxc.exe]
mov edx, dword [0x43e4a8]
mov dword [eax], ecx
mov cx, word [0x43e4ac]
mov dword [eax + 4], edx
mov word [eax + 8], cx
jmp 0x40dea8
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x40de86
mov edx, dword [0x43e498]
mov ecx, dword [0x43e49c]
mov dword [eax], edx
mov dl, byte [0x43e4a0]
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 0x40deb0
mov ecx, dword [str.__Simplefile__]
mov edx, dword [0x43e4f4]
mov dword [eax], ecx
mov ecx, dword [0x43e4f8]
mov dword [eax + 4], edx
mov dx, word [0x43e4fc]
mov dword [eax + 8], ecx
mov cl, byte [0x43e4fe]
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 0x40def0
lea edi, [esp + 0x234]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x40df03
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 0x40df21
mov edx, dword [0x43e4e8]
mov cl, byte [0x43e4ec]
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 0x40df40
lea edi, [esp + 0x234]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x40df53
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 0x40df71
mov dx, word [0x43df28]
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.00409450
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 0x40dfcd
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.0041eff4
add esp, 0x838
ret