Function at 0x408a30
Capabilities:
Delete file
Get number of processors
Move file
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x43f491
mov eax, dword fs:[0]
push eax
sub esp, 0x454
mov eax, dword [0x44fb64]
xor eax, esp
mov dword [esp + 0x450], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x44fb64]
xor eax, esp
push eax
lea eax, [esp + 0x468]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, edx
push 0x4484b0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], ebx
call fcn.00409b60
push 0x4484b0
lea ecx, [esp + 0x20]
mov dword [esp + 0x474], 0
call fcn.00409b60
push ebx
lea eax, [esp + 0x20]
push str._sLdCab.ldx.tmp
push eax
mov byte [esp + 0x47c], 1
call fcn.00409910
mov ecx, dword [esp + 0x28]
add esp, 0xc
push ecx
call fcn.0040a100
add esp, 4
test eax, eax
jne 0x408b51
mov edx, dword [esp + 0x1c]
push edx
push str.UpdateStrategyToLdmFile_File_Not_Exists_1__FilePath:__s_
lea eax, [esp + 0x20]
push eax
call fcn.00409910
mov ecx, dword [esp + 0x24]
add esp, 0xc
push 0
push ecx
push 0x453d11
call fcn.0040d890
mov byte [esp + 0x470], 0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
or ecx, 0xffffffff
lea edx, [eax + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x408b1e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x470], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408b49
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
or eax, 0xffffffff
jmp 0x409044
push 0x4484b0
lea ecx, [esp + 0x24]
call fcn.00409b60
push ebx
lea ecx, [esp + 0x24]
push str._sLdCab.ldx
push ecx
mov byte [esp + 0x47c], 2
call fcn.00409910
mov edx, dword [esp + 0x2c]
add esp, 0xc
push edx
call fcn.0040a100
add esp, 4
test eax, eax
je 0x408d14
mov eax, dword [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [esp + 0x20]
push ecx
test eax, eax
jne 0x408c4f
lea edx, [esp + 0x1c]
push str.UpdateStrategyToLdmFile_DeleteFile_Fail_1__FilePath:__s_
push edx
call fcn.00409910
mov eax, dword [esp + 0x24]
add esp, 0xc
push 0
push eax
push 0x453d11
call fcn.0040d890
mov byte [esp + 0x470], 1
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408bf2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x470], 0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408c1a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x470], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408c45
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 0xfffffffe
jmp 0x409044
mov edx, dword [esp + 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
jne 0x408d14
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push eax
push ecx
lea edx, [esp + 0x20]
push str.UpdateStrategyToLdmFile_MoveFile_Fail_1__SrcPath:__s___DstPath:__s_
push edx
call fcn.00409910
mov eax, dword [esp + 0x28]
add esp, 0x10
push 0
push eax
push 0x453d11
call fcn.0040d890
mov byte [esp + 0x470], 1
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408cb7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x470], 0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408cdf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x470], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408d0a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 0xfffffffd
jmp 0x409044
mov byte [esp + 0x470], 1
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408d3c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x208
lea ecx, [esp + 0x49]
push 0
push ecx
mov byte [esp + 0x50], 0
call fcn.004253a0
lea edx, [esp + 0x50]
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 0x408d60
lea eax, [esp + 0x44]
dec eax
nop
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x408d70
mov edx, dword [str..tmp]
mov cl, byte [0x447de0]
mov dword [eax], edx
lea edx, [esp + 0x44]
push 0x4483d0
push edx
mov byte [eax + 4], cl
call fcn.004228cf
push eax
call fcn.0042295d
add esp, 0xc
lea eax, [esp + 0x44]
push 0x447a18
push eax
call fcn.004228cf
add esp, 8
mov dword [esp + 0x24], eax
test eax, eax
jne 0x408dfc
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
xor esi, esi
lea ecx, [esp + 0x44]
push 0x447a18
push ecx
call fcn.004228cf
add esp, 8
mov dword [esp + 0x24], eax
test eax, eax
jne 0x408dfc
push 0x64
inc esi
call edi
cmp esi, 0x64
jl 0x408dc3
lea edx, [esp + 0x44]
push edx
call fcn.0040ae10
add esp, 4
push 2
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 0x208
lea eax, [esp + 0x259]
push 0
push eax
mov dword [esp + 0x40], str.forbit.ini
mov dword [esp + 0x44], str.ldcab.ldx
mov dword [esp + 0x48], str.ldcab.ldind
mov dword [esp + 0x4c], str.ldcab.lddat
mov byte [esp + 0x260], 0
call fcn.004253a0
lea ebp, [esp + 0x260]
add esp, 0xc
mov dword [esp + 0x28], 0
sub ebp, ebx
jmp 0x408e54
mov ebx, dword [esp + 0x2c]
mov eax, ebx
mov cl, byte [eax]
mov byte [eax + ebp], cl
inc eax
test cl, cl
jne 0x408e56
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + ecx*4 + 0x34]
mov edx, eax
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x408e70
lea edi, [esp + 0x254]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x408e81
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea edx, [esp + 0x254]
and ecx, 3
push edx
rep movsb byte es:[edi], byte [esi]
call fcn.0040a100
add esp, 4
lea ecx, [esp + 0x44]
test eax, eax
je 0x408f45
mov ebx, dword [esp + 0x24]
lea eax, [esp + 0x254]
push 0
push eax
call fcn.00403d10
mov esi, eax
add esp, 8
test esi, esi
jne 0x408f5e
mov eax, dword [esp + 0x28]
inc eax
mov dword [esp + 0x28], eax
cmp eax, 4
jb 0x408e50
mov eax, dword [esp + 0x24]
xor ebx, ebx
cmp eax, ebx
je 0x408efa
push eax
call fcn.0042295d
add esp, 4
mov edi, dword [esp + 0x30]
mov ebp, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push edi
call ebp
lea ecx, [esp + 0x44]
cmp eax, ebx
jne 0x408fb5
push ecx
call ebp
push edi
lea edx, [esp + 0x1c]
push str.UpdateStrategyToLdmFile_DeleteFile_Fail_2__FilePath:__s_
push edx
call fcn.00409910
mov eax, dword [esp + 0x24]
add esp, 0xc
push ebx
push eax
push 0x453d11
call fcn.0040d890
mov byte [esp + 0x470], bl
jmp 0x408bfa
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea edx, [esp + 0x254]
push edx
push str.UpdateStrategyToLdmFile_File_Not_Exists_2__FilePath:__s_
jmp 0x408ad8
mov eax, dword [esp + 0x24]
test eax, eax
je 0x408f6f
push eax
call fcn.0042295d
add esp, 4
lea ecx, [esp + 0x44]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea edx, [esp + 0x254]
push edx
lea eax, [esp + 0x48]
push eax
push esi
lea ecx, [esp + 0x24]
push str.UpdateStrategyToLdmFile_JonFiles_Fail__Result:__d___SrcFilePath:__s___DstFilePath:__s_
push ecx
call fcn.00409910
mov edx, dword [esp + 0x2c]
add esp, 0x14
push 0
push edx
push 0x453d11
call fcn.0040d890
mov byte [esp + 0x470], 0
jmp 0x408ff7
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileA]
cmp eax, ebx
jne 0x408ff0
push edi
lea edx, [esp + 0x1c]
push str.UpdateStrategyToLdmFile_MoveFile_Fail_2__FilePath:__s_
push edx
call fcn.00409910
mov eax, dword [esp + 0x24]
add esp, 0xc
push ebx
push eax
push 0x453d11
call fcn.0040d890
mov byte [esp + 0x470], bl
jmp 0x408cbf
mov byte [esp + 0x470], bl
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409017
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x470], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409042
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x468]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x450]
xor ecx, esp
call fcn.00421f05
add esp, 0x460
ret