Function at 0x4069d0
Capabilities:
Delete file
Get number of processors
Move file
Read file on windows
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x43ec8b
mov eax, dword fs:[0]
push eax
sub esp, 0xa64
mov eax, dword [0x44fb64]
xor eax, esp
mov dword [esp + 0xa60], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x44fb64]
xor eax, esp
push eax
lea eax, [esp + 0xa78]
mov dword fs:[0], eax
mov eax, dword [esp + 0xa88]
mov esi, dword [esp + 0xa8c]
mov edi, edx
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], eax
mov dword [esp + 0x20], esi
mov dword [esp + 0x30], ecx
call fcn.004133f1
xor ecx, ecx
xor ebx, ebx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x406a47
push 0x80004005
call fcn.00409d60
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov dword [esp + 0xa80], ebx
xor eax, eax
mov byte [esp + 0x3c], bl
lea ebx, [esp + 0x3c]
mov dword [esp + 0x3d], eax
mov dword [esp + 0x41], 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 word [esp + 0x59], ax
mov byte [esp + 0x5b], al
call fcn.00407db0
push 0
push edi
push 0x453d09
call fcn.0040d390
push 0x447a7c
push esi
call fcn.00422167
push 0x7d000
mov ebp, eax
call fcn.004133db
add esp, 0xc
mov edi, eax
mov dword [esp + 0x1c], edi
test ebp, ebp
je 0x406f61
push ebp
call fcn.004227eb
add esp, 4
test eax, eax
jne 0x406b92
push ebp
mov dword [edi], 0
call fcn.004227a1
add esp, 4
push ebp
push 0x7d000
push 1
push edi
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], edx
call fcn.00422af3
mov ebx, eax
add esp, 0x10
xor esi, esi
test ebx, ebx
jle 0x406b77
lea ecx, [esp + 0x3c]
mov eax, edi
mov edi, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x406b30
test dl, dl
je 0x406b2c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x406b30
add eax, 2
add ecx, 2
test dl, dl
jne 0x406b10
xor eax, eax
jmp 0x406b35
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x406b4b
add esi, 0x200
add edi, 0x200
cmp esi, ebx
jl 0x406b08
jmp 0x406b73
mov ecx, dword [edi + 0xf4]
mov eax, esi
cdq
xor edi, edi
add ecx, eax
adc edi, edx
add ecx, dword [esp + 0x24]
push 0
adc edi, dword [esp + 0x2c]
push edi
push ecx
push ebp
call fcn.00422bac
add esp, 0x10
cmp esi, ebx
jl 0x406b8a
mov edi, dword [esp + 0x1c]
push ebp
call fcn.004227eb
add esp, 4
test eax, eax
je 0x406ad8
jmp 0x406b8e
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x20]
push 0x400
xor ebx, ebx
lea edx, [esp + 0x678]
push ebx
push edx
call fcn.00424c40
add esp, 0xc
push ebp
call fcn.004227eb
add esp, 4
test eax, eax
jne 0x406c6f
jmp 0x406bc0
push ebp
call fcn.004227a1
add esp, 4
push ebp
push 0x400
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x67c]
push 1
push eax
mov dword [esp + 0x38], edx
call fcn.00422af3
add esp, 0x10
cmp eax, 0x400
jne 0x406c57
mov ecx, str.LeaderCab
lea eax, [esp + 0x674]
lea esp, [esp]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x406c20
test dl, dl
je 0x406c1c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x406c20
add eax, 2
add ecx, 2
test dl, dl
jne 0x406c00
xor eax, eax
jmp 0x406c25
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x406c57
lea ecx, [esp + 0x698]
push str.ldcab.ldind
push ecx
call fcn.00421a4e
add esp, 8
test eax, eax
je 0x406c6a
mov eax, dword [esp + 0x704]
cdq
push 1
push edx
push eax
push ebp
call fcn.00422bac
add esp, 0x10
push ebp
call fcn.004227eb
add esp, 4
test eax, eax
je 0x406bc0
jmp 0x406c6f
mov ebx, 1
push ebp
call fcn.004221f5
add esp, 4
test ebx, ebx
je 0x406f61
push 0x208
lea edx, [esp + 0x60]
push 0
push edx
call fcn.00424c40
lea edx, [esp + 0x68]
add esp, 0xc
mov eax, esi
sub edx, esi
lea esp, [esp]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x406ca0
lea eax, [esp + 0x5c]
dec eax
nop
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x406cb0
mov ecx, dword [str..tmp]
mov dl, byte [0x447cc8]
mov ebx, dword [esp + 0x24]
mov dword [eax], ecx
mov byte [eax + 4], dl
lea eax, [esp + 0x5c]
push eax
mov eax, esi
call fcn.0040a850
add esp, 4
lea ecx, [esp + 0x5c]
push 0x447988
push ecx
call fcn.00422167
mov ebp, eax
add esp, 8
test ebp, ebp
jne 0x406d37
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
xor esi, esi
lea esp, [esp]
lea edx, [esp + 0x5c]
push 0x447988
push edx
call fcn.00422167
mov ebp, eax
add esp, 8
test ebp, ebp
jne 0x406d37
push 0x64
inc esi
call edi
cmp esi, 0x64
jl 0x406d00
lea eax, [esp + 0x5c]
push eax
call fcn.0040aa10
add esp, 4
push 2
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 0x208
lea ecx, [esp + 0x268]
push 0
push ecx
call fcn.00424c40
mov esi, dword [esp + 0x44]
lea edx, [esp + 0x270]
add esp, 0xc
mov eax, esi
sub edx, esi
lea ecx, [ecx]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x406d60
lea eax, [esp + 0x264]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x406d72
mov edx, dword [0x4479b0]
mov ecx, dword [0x4479b4]
mov dword [eax], edx
mov edx, dword [0x4479b8]
mov dword [eax + 4], ecx
mov cl, byte [0x4479bc]
mov dword [eax + 8], edx
lea edx, [esp + 0x46c]
mov byte [eax + 0xc], cl
mov eax, esi
sub edx, esi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x406da8
lea eax, [esp + 0x46c]
dec eax
lea ebx, [ebx]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x406dc0
mov edx, dword [0x447bc0]
mov ecx, dword [0x447bc4]
mov dword [eax], edx
mov edx, dword [0x447bc8]
mov dword [eax + 4], ecx
mov cl, byte [0x447bcc]
mov dword [eax + 8], edx
lea edx, [esp + 0x264]
mov byte [eax + 0xc], cl
push 0
push edx
mov ebx, ebp
lea ecx, [esp + 0x64]
call fcn.00403cf0
mov edi, eax
add esp, 8
test edi, edi
je 0x406e26
push edi
lea eax, [esp + 0x268]
push eax
lea ecx, [esp + 0x20]
push str.JoinFiles__s_in_UpdateLdxToExeFile__failed_with_return_value:__d
push ecx
call fcn.00409670
add esp, 0x10
jmp 0x406e6b
lea edx, [esp + 0x5c]
push 0x447988
push edx
call fcn.00422167
mov edx, dword [esp + 0x38]
mov esi, eax
mov eax, dword [esp + 0x3c]
push eax
mov ecx, esi
call fcn.00407580
add esp, 0xc
push esi
mov bl, al
call fcn.004221f5
add esp, 4
test bl, bl
jne 0x406e6b
lea ecx, [esp + 0x18]
push str.EncryptFileToLdCab_failed
push ecx
call fcn.00409670
add esp, 8
test ebp, ebp
je 0x406e78
push ebp
call fcn.004221f5
add esp, 4
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
test edi, edi
je 0x406edc
lea edx, [esp + 0x5c]
push edx
call esi
lea eax, [esp + 0x264]
push eax
call esi
lea ecx, [esp + 0x46c]
push ecx
call esi
mov esi, dword [esp + 0x18]
push 0
push esi
push 0x453d09
call fcn.0040d390
lea eax, [esi - 0x10]
mov dword [esp + 0xa80], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x406ed5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
jmp 0x406f97
mov edi, dword [esp + 0x20]
push edi
call esi
push edi
lea ecx, [esp + 0x60]
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
jne 0x406efc
lea edx, [esp + 0x5c]
push edx
call esi
jmp 0x406f26
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [esp + 0x1c]
push str.MoveFile_Error:__d
push eax
call fcn.00409670
mov ecx, dword [esp + 0x24]
add esp, 0xc
push 0
push ecx
push 0x453d09
call fcn.0040d390
lea edx, [esp + 0x46c]
push edx
call esi
lea eax, [esp + 0x264]
push eax
call esi
lea ecx, [esp + 0x18]
push str.Update_File_Success
push ecx
call fcn.00409670
mov edx, dword [esp + 0x20]
add esp, 8
push 0
push edx
push 0x453d09
call fcn.0040d390
mov edi, dword [esp + 0x1c]
push edi
call fcn.004133e6
mov dword [esp + 0xa84], 0xffffffff
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
add esp, 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406f95
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0xa78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xa60]
xor ecx, esp
call fcn.0042179d
add esp, 0xa70
ret