Function at 0x40a3e0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4ac928
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x4de310]
xor eax, esp
mov dword [esp + 0x4c], eax
push ebx
push edi
mov eax, dword [0x4de310]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov ebx, ecx
push dword [ebp + 8]
mov edi, dword [ebp + 0xc]
push edi
push str.onResult__s___d
push 0x459
push str.LDSpaceModel::onResult
call fcn.00411450
add esp, 0x14
cmp dword [ebp + 8], 0
je 0x40a61d
xor eax, eax
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], 0
mov word [esp + 0x28], ax
cmp word [edi], ax
jne 0x40a460
xor ecx, ecx
jmp 0x40a474
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40a465
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [esp + 0x30]
call fcn.00405200
push 4
push 0
push str..exe
lea ecx, [esp + 0x34]
mov dword [esp + 0x74], 0
call fcn.0040bf60
test eax, eax
jle 0x40a561
cmp dword [esp + 0x3c], 8
lea eax, [esp + 0x28]
cmovae eax, dword [esp + 0x28]
push eax
push str.try_taskkill__s
push 0x45d
push str.LDSpaceModel::onResult
call fcn.00411450
add esp, 0x10
lea ecx, [esp + 0x40]
push 0x4cebf0
call fcn.00405330
mov byte [esp + 0x68], 1
cmp word [edi], 0
jne 0x40a4e4
xor ecx, ecx
jmp 0x40a4ff
mov ecx, edi
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40a4f0
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [esp + 0x48]
call fcn.00406750
push str.taskkill
lea ecx, [esp + 0x14]
call fcn.00405330
push 0x7d0
push 0
lea eax, [esp + 0x48]
mov byte [esp + 0x70], 2
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.0041d410
add esp, 0x10
cmp dword [esp + 0x24], 8
jb 0x40a549
push dword [esp + 0x10]
call fcn.004781a0
add esp, 4
mov byte [esp + 0x68], 0
cmp dword [esp + 0x54], 8
jb 0x40a561
push dword [esp + 0x40]
call fcn.004781a0
add esp, 4
lea eax, [ebx + 0x38]
lea ecx, [esp + 0x28]
cmp ecx, eax
je 0x40a576
push 0xffffffffffffffff
push 0
push eax
call fcn.004059a0
push 1
push 0x4ce8a4
lea ecx, [esp + 0x30]
call fcn.00406750
cmp word [edi], 0
jne 0x40a590
xor ecx, ecx
jmp 0x40a5a4
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40a595
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [esp + 0x30]
call fcn.00406750
lea eax, [esp + 0x28]
push eax
call fcn.00415450
add esp, 4
test al, al
jne 0x40a608
push str..tmp
lea edx, [esp + 0x2c]
lea ecx, [esp + 0x14]
call fcn.00407020
mov ecx, eax
add esp, 4
cmp dword [ecx + 0x14], 8
jb 0x40a5df
mov ecx, dword [ecx]
cmp dword [esp + 0x3c], 8
lea eax, [esp + 0x28]
push ecx
cmovae eax, dword [esp + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
cmp dword [esp + 0x24], 8
jb 0x40a608
push dword [esp + 0x10]
call fcn.004781a0
add esp, 4
cmp dword [esp + 0x3c], 8
jb 0x40a64b
push dword [esp + 0x28]
call fcn.004781a0
add esp, 4
jmp 0x40a64b
push 8
call fcn.004781a5
add esp, 4
test eax, eax
je 0x40a63d
xorps xmm0, xmm0
movq qword [eax], xmm0
mov dword [eax], vtable.FunctionRunable_class__lambda_c59ab23f9d69b2288725411fa9f329c8__.0
mov dword [eax + 4], ebx
jmp 0x40a63f
xor eax, eax
push eax
lea ecx, [ebx + 0x90]
call fcn.00411590
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [esp + 0x4c]
xor ecx, esp
call fcn.00478043
mov esp, ebp
pop ebp
ret 8