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

Disassembly:
push 0xffffffffffffffff
push 0x43f1cb
mov eax, dword fs:[0]
push eax
sub esp, 0xa48
mov eax, dword [0x44fb64]
xor eax, esp
mov dword [esp + 0xa40], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x44fb64]
xor eax, esp
push eax
lea eax, [esp + 0xa5c]
mov dword fs:[0], eax
mov eax, dword [esp + 0xa6c]
mov esi, ecx
push 0x207
lea ecx, [esp + 0x39]
mov edi, edx
push 0
push ecx
mov dword [esp + 0x34], esi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], eax
mov dword [esp + 0x28], 0
mov byte [esp + 0x40], 0
call fcn.00425400
add esp, 0xc
call fcn.00413c41
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40f9ad
push 0x80004005
call fcn.0040a000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
push 0x447a48
push esi
mov dword [esp + 0xa6c], 0
call fcn.0042292f
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x40fbfc
push 0x400
lea ecx, [esp + 0x658]
push 0
push ecx
call fcn.00425400
add esp, 0xc
push ebp
call fcn.0042309e
add esp, 4
test eax, eax
jne 0x40fbb5
push ebp
push 0x400
lea edx, [esp + 0x65c]
push 1
push edx
call fcn.004233a6
push ebp
mov esi, eax
call fcn.00422e70
add esp, 0x14
mov ebx, eax
mov dword [esp + 0x30], edx
cmp esi, 0x400
jne 0x40fb9a
mov ecx, str.LeaderCab
lea eax, [esp + 0x654]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x40fa66
test dl, dl
je 0x40fa62
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x40fa66
add eax, 2
add ecx, 2
test dl, dl
jne 0x40fa46
xor eax, eax
jmp 0x40fa6b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x40fb9a
push 0x208
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.00425400
lea edx, [esp + 0x40]
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 0x40fa90
lea edi, [esp + 0x34]
dec edi
nop
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x40faa0
mov cx, word [0x4478c8]
lea eax, [esp + 0x678]
mov word [edi], cx
mov esi, eax
jmp 0x40fac0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40fac0
lea edi, [esp + 0x34]
sub eax, esi
dec edi
mov edi, edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x40fad0
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 edi, dword [esp + 0x30]
push 0
push edi
push ebx
push ebp
call fcn.00422ad5
lea edx, [esp + 0x44]
push edx
lea eax, [esp + 0x2c]
push str.SplitFile_:_s__Begin
push eax
call fcn.00409910
mov ecx, dword [esp + 0x34]
add esp, 0x1c
push 0
push ecx
push 0x453d11
call fcn.0040d890
mov edx, dword [esp + 0x674]
mov eax, dword [esp + 0x6e8]
mov ecx, dword [esp + 0x6e4]
push edx
push eax
push ecx
lea edx, [esp + 0x40]
push edx
lea ecx, [esp + 0x6ec]
mov edx, ebp
call fcn.00412870
mov esi, eax
push esi
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x30]
push str.SplitFile___s__End_Ret__d_
push ecx
call fcn.00409910
mov edx, dword [esp + 0x38]
add esp, 0x20
push 0
push edx
push 0x453d11
call fcn.0040d890
cmp esi, 1
jne 0x40fbad
mov eax, dword [esp + 0x6e4]
mov ecx, dword [esp + 0x6e8]
add eax, ebx
push 0
adc ecx, edi
push ecx
push eax
push ebp
call fcn.00422ad5
mov edi, dword [esp + 0x30]
add esp, 0x10
push ebp
call fcn.0042309e
add esp, 4
test eax, eax
je 0x40fa08
jmp 0x40fbb5
mov dword [esp + 0x1c], 0xffffffff
push ebp
call fcn.004229bd
mov esi, dword [esp + 0x20]
add esp, 4
test esi, esi
je 0x40fbf8
mov dword [esp + 0xa64], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40fbf1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
jmp 0x40fe4d
mov esi, dword [esp + 0x28]
mov ecx, dword [0x453d29]
push 0x448410
push ecx
call fcn.0042357d
add esp, 8
test eax, eax
setne al
test al, al
jne 0x40fe1d
push 0x208
lea ecx, [esp + 0x241]
push 0
push ecx
mov byte [esp + 0x248], al
call fcn.00425400
add esp, 0xc
push 0x208
lea edx, [esp + 0x240]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [esp + 0x23c]
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40fc60
sub eax, edx
add eax, 0xffffffff
js 0x40fc7e
mov cl, 0x5c
cmp byte [esp + eax + 0x23c], cl
je 0x40fc7e
sub eax, 1
jns 0x40fc70
mov byte [esp + eax + 0x23c], 0
call fcn.0040ab20
push str..ldx
push eax
call fcn.00422216
add esp, 8
test eax, eax
lea eax, [esp + 0x23c]
jne 0x40fccb
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x40fca5
mov ecx, dword [str.Ldxc.exe]
mov edx, dword [0x448bf0]
mov dword [eax], ecx
mov cx, word [0x448bf4]
mov dword [eax + 4], edx
mov word [eax + 8], cx
jmp 0x40fcf2
dec eax
lea esp, [esp]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x40fcd0
mov edx, dword [0x448bf8]
mov ecx, dword [0x448bfc]
mov dword [eax], edx
mov dl, byte [0x448c00]
mov dword [eax + 4], ecx
mov byte [eax + 8], dl
push 0x207
lea eax, [esp + 0x451]
push 0
push eax
mov byte [esp + 0x458], 0
call fcn.00425400
lea eax, [esp + 0x458]
add esp, 0xc
dec eax
lea esp, [esp]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x40fd20
mov ecx, dword [str.__SimpleBack__]
mov edx, dword [0x448c08]
mov dword [eax], ecx
mov ecx, dword [0x448c0c]
mov dword [eax + 4], edx
mov dx, word [0x448c10]
mov dword [eax + 8], ecx
mov cl, byte [0x448c12]
mov word [eax + 0xc], dx
mov byte [eax + 0xe], cl
mov eax, dword [esp + 0x24]
mov ecx, eax
lea esp, [esp]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x40fd60
lea edi, [esp + 0x44c]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x40fd73
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 + 0x44c]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x40fd91
mov edx, dword [0x448c14]
mov eax, dword [esp + 0x20]
mov dword [edi], edx
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x40fda7
lea edi, [esp + 0x44c]
sub eax, ecx
mov esi, ecx
dec edi
lea ebx, [ebx]
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x40fdc0
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [esp + 0x44c]
rep movsb byte es:[edi], byte [esi]
dec eax
mov edi, edi
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x40fde0
mov cx, word [0x448c18]
mov dl, byte [0x448c1a]
mov word [eax], cx
push 0x64
mov byte [eax + 2], dl
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
lea eax, [esp + 0x450]
push eax
lea ecx, [esp + 0x244]
push ecx
call fcn.0040a410
add esp, 0xc
mov dword [esp + 0xa64], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
or ecx, 0xffffffff
lea edx, [eax + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40fe48
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 3
mov ecx, dword [esp + 0xa5c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xa40]
xor ecx, esp
call fcn.00421f65
add esp, 0xa54
ret