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

Disassembly:
push 0xffffffffffffffff
push 0x43ec01
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 0x448368
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], ebx
call fcn.004098c0
push 0x448368
lea ecx, [esp + 0x20]
mov dword [esp + 0x474], 0
call fcn.004098c0
push ebx
lea eax, [esp + 0x20]
push str._sLdCab.ldx.tmp
push eax
mov byte [esp + 0x47c], 1
call fcn.00409670
mov ecx, dword [esp + 0x28]
add esp, 0xc
push ecx
call fcn.00409e30
add esp, 4
test eax, eax
jne 0x408881
mov edx, dword [esp + 0x1c]
push edx
push str.UpdateStrategyToLdmFile_File_Not_Exists_1__FilePath:__s_
lea eax, [esp + 0x20]
push eax
call fcn.00409670
mov ecx, dword [esp + 0x24]
add esp, 0xc
push 0
push ecx
push 0x453d09
call fcn.0040d390
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 0x40884e
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 0x408879
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
or eax, 0xffffffff
jmp 0x408d74
push 0x448368
lea ecx, [esp + 0x24]
call fcn.004098c0
push ebx
lea ecx, [esp + 0x24]
push str._sLdCab.ldx
push ecx
mov byte [esp + 0x47c], 2
call fcn.00409670
mov edx, dword [esp + 0x2c]
add esp, 0xc
push edx
call fcn.00409e30
add esp, 4
test eax, eax
je 0x408a44
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 0x40897f
lea edx, [esp + 0x1c]
push str.UpdateStrategyToLdmFile_DeleteFile_Fail_1__FilePath:__s_
push edx
call fcn.00409670
mov eax, dword [esp + 0x24]
add esp, 0xc
push 0
push eax
push 0x453d09
call fcn.0040d390
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 0x408922
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 0x40894a
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 0x408975
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 0xfffffffe
jmp 0x408d74
mov edx, dword [esp + 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
jne 0x408a44
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.00409670
mov eax, dword [esp + 0x28]
add esp, 0x10
push 0
push eax
push 0x453d09
call fcn.0040d390
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 0x4089e7
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 0x408a0f
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 0x408a3a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 0xfffffffd
jmp 0x408d74
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 0x408a6c
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.00424c40
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 0x408a90
lea eax, [esp + 0x44]
dec eax
nop
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x408aa0
mov edx, dword [str..tmp]
mov cl, byte [0x447cc8]
mov dword [eax], edx
lea edx, [esp + 0x44]
push 0x448288
push edx
mov byte [eax + 4], cl
call fcn.00422167
push eax
call fcn.004221f5
add esp, 0xc
lea eax, [esp + 0x44]
push 0x447988
push eax
call fcn.00422167
add esp, 8
mov dword [esp + 0x24], eax
test eax, eax
jne 0x408b2c
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
xor esi, esi
lea ecx, [esp + 0x44]
push 0x447988
push ecx
call fcn.00422167
add esp, 8
mov dword [esp + 0x24], eax
test eax, eax
jne 0x408b2c
push 0x64
inc esi
call edi
cmp esi, 0x64
jl 0x408af3
lea edx, [esp + 0x44]
push edx
call fcn.0040aa10
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.00424c40
lea ebp, [esp + 0x260]
add esp, 0xc
mov dword [esp + 0x28], 0
sub ebp, ebx
jmp 0x408b84
mov ebx, dword [esp + 0x2c]
mov eax, ebx
mov cl, byte [eax]
mov byte [eax + ebp], cl
inc eax
test cl, cl
jne 0x408b86
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 0x408ba0
lea edi, [esp + 0x254]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x408bb1
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.00409e30
add esp, 4
lea ecx, [esp + 0x44]
test eax, eax
je 0x408c75
mov ebx, dword [esp + 0x24]
lea eax, [esp + 0x254]
push 0
push eax
call fcn.00403cf0
mov esi, eax
add esp, 8
test esi, esi
jne 0x408c8e
mov eax, dword [esp + 0x28]
inc eax
mov dword [esp + 0x28], eax
cmp eax, 4
jb 0x408b80
mov eax, dword [esp + 0x24]
xor ebx, ebx
cmp eax, ebx
je 0x408c2a
push eax
call fcn.004221f5
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 0x408ce5
push ecx
call ebp
push edi
lea edx, [esp + 0x1c]
push str.UpdateStrategyToLdmFile_DeleteFile_Fail_2__FilePath:__s_
push edx
call fcn.00409670
mov eax, dword [esp + 0x24]
add esp, 0xc
push ebx
push eax
push 0x453d09
call fcn.0040d390
mov byte [esp + 0x470], bl
jmp 0x40892a
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 0x408808
mov eax, dword [esp + 0x24]
test eax, eax
je 0x408c9f
push eax
call fcn.004221f5
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.00409670
mov edx, dword [esp + 0x2c]
add esp, 0x14
push 0
push edx
push 0x453d09
call fcn.0040d390
mov byte [esp + 0x470], 0
jmp 0x408d27
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileA]
cmp eax, ebx
jne 0x408d20
push edi
lea edx, [esp + 0x1c]
push str.UpdateStrategyToLdmFile_MoveFile_Fail_2__FilePath:__s_
push edx
call fcn.00409670
mov eax, dword [esp + 0x24]
add esp, 0xc
push ebx
push eax
push 0x453d09
call fcn.0040d390
mov byte [esp + 0x470], bl
jmp 0x4089ef
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 0x408d47
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 0x408d72
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.0042179d
add esp, 0x460
ret