Function at 0x440840
Capabilities:
Accept command line arguments
Copy file
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x68a0a8
mov eax, dword fs:[0]
push eax
sub esp, 0x2dc
mov eax, dword [0x732694]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 8]
sub esp, 0x18
mov eax, esp
mov dword [ebp - 0x2b8], ecx
push ecx
push eax
call fcn.004e63e6
add esp, 8
lea eax, [ebp - 0x27c]
push eax
call fcn.004e7482
add esp, 4
mov dword [ebp - 4], 0
push esp
call fcn.004e6643
add esp, 4
lea eax, [ebp - 0x24c]
push eax
call fcn.004e7482
add esp, 0x1c
cmp dword [ebp - 0x238], 8
lea ecx, [ebp - 0x24c]
mov edi, dword [ebp - 0x23c]
lea eax, [ebp - 0x27c]
cmovae ecx, dword [ebp - 0x24c]
cmp dword [ebp - 0x268], 8
mov esi, dword [ebp - 0x27c]
mov edx, dword [ebp - 0x26c]
cmovae eax, esi
cmp edi, edx
mov byte [ebp - 4], 1
cmovb edx, edi
mov edi, dword [ebp - 0x24c]
test edx, edx
je 0x44091b
sub eax, ecx
mov dword [ebp - 0x2b4], eax
mov ax, word [eax + ecx]
cmp ax, word [ecx]
jne 0x440937
mov eax, dword [ebp - 0x2b4]
add ecx, 2
sub edx, 1
jne 0x440904
mov eax, dword [ebp - 0x26c]
cmp eax, dword [ebp - 0x23c]
jb 0x440937
ja 0x440937
mov byte [ebp - 0x2ad], 0
jmp 0x440c47
lea eax, [ebp - 0x2d0]
push 5
push eax
call fcn.004f2127
mov esi, eax
lea eax, [ebp - 0x2e8]
mov byte [ebp - 4], 2
push eax
call fcn.004e6643
add esp, 0xc
cmp dword [esi + 0x14], 8
mov byte [ebp - 4], 3
jb 0x440966
mov esi, dword [esi]
cmp dword [eax + 0x14], 8
jb 0x44096e
mov eax, dword [eax]
push esi
push eax
lea eax, [ebp - 0x264]
push str._sgaunisti_s.exe
push eax
call fcn.004e7163
mov edx, dword [ebp - 0x2d4]
add esp, 0x10
mov byte [ebp - 4], 2
cmp edx, 8
jb 0x4409c8
mov ecx, dword [ebp - 0x2e8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4409be
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x440cfd
push edx
push ecx
call fcn.00447d89
add esp, 8
mov edx, dword [ebp - 0x2bc]
xor eax, eax
mov dword [ebp - 0x2d8], 0
mov dword [ebp - 0x2d4], 7
mov word [ebp - 0x2e8], ax
mov byte [ebp - 4], 1
cmp edx, 8
jb 0x440a29
mov ecx, dword [ebp - 0x2d0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x440a1f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x440d02
push edx
push ecx
call fcn.00447d89
add esp, 8
xor eax, eax
mov dword [ebp - 0x2c0], 0
mov dword [ebp - 0x2bc], 7
mov word [ebp - 0x2d0], ax
push 0x20c
push eax
lea eax, [ebp - 0x21c]
mov byte [ebp - 4], 4
push eax
call fcn.005175d0
add esp, 0xc
lea eax, [ebp - 0x21c]
push 0x105
push eax
push dword [ebp - 0x2b8]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
cmp dword [ebp - 0x250], 8
lea eax, [ebp - 0x264]
push 0
cmovae eax, dword [ebp - 0x264]
push eax
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x440aaa
mov byte [ebp - 0x2ad], al
jmp 0x440c30
lea ecx, [ebp - 0x2ac]
call fcn.004f1694
lea ecx, [ebp - 0x2ac]
mov byte [ebp - 4], 5
call fcn.004f1bad
xor eax, eax
mov dword [ebp - 0x224], 0
push 0x10
lea ecx, [ebp - 0x234]
mov dword [ebp - 0x220], 7
mov word [ebp - 0x234], ax
call fcn.004022d0
movups xmm0, xmmword [str._5128431579]
mov ecx, eax
mov dword [ebp - 0x224], 0xb
mov dword [ebp - 0x220], 0xf
movups xmmword [ecx], xmm0
mov eax, dword [0x69a90c]
mov dword [ecx + 0x10], eax
mov ax, word [0x69a910]
mov word [ecx + 0x14], ax
xor eax, eax
mov word [ecx + 0x16], ax
mov dword [ebp - 0x234], ecx
push 1
push 0x6984ac
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 6
call fcn.00402da0
lea eax, [ebp - 0x2d0]
push eax
lea ecx, [ebp - 0x2ac]
call fcn.004f1c59
cmp dword [eax + 0x14], 8
mov ecx, eax
mov byte [ebp - 4], 7
jb 0x440b62
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x234]
call fcn.00402da0
lea ecx, [ebp - 0x2d0]
mov byte [ebp - 4], 6
call fcn.00401e90
push 2
push 0x6964cc
lea ecx, [ebp - 0x234]
call fcn.00402da0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edx, eax
mov ecx, edx
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x440ba0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x234]
call fcn.00402da0
cmp dword [ebp - 0x220], 8
lea ecx, [ebp - 0x234]
push 0
cmovae ecx, dword [ebp - 0x234]
lea eax, [ebp - 0x264]
cmp dword [ebp - 0x250], 8
push 0
cmovae eax, dword [ebp - 0x264]
push ecx
push eax
call fcn.004e54e5
add esp, 0x10
test eax, eax
lea eax, [ebp - 0x264]
setne byte [ebp - 0x2ad]
cmp dword [ebp - 0x250], 8
cmovae eax, dword [ebp - 0x264]
push 4
push 0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea ecx, [ebp - 0x234]
call fcn.00401e90
lea ecx, [ebp - 0x2ac]
call fcn.004ec205
lea ecx, [ebp - 0x264]
call fcn.00401e90
mov esi, dword [ebp - 0x27c]
mov edi, dword [ebp - 0x24c]
mov eax, dword [ebp - 0x238]
cmp eax, 8
jb 0x440c87
lea ecx, [eax*2 + 2]
mov eax, edi
cmp ecx, 0x1000
jb 0x440c77
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x440d07
push ecx
push edi
call fcn.00447d89
mov esi, dword [ebp - 0x27c]
add esp, 8
xor eax, eax
mov dword [ebp - 0x23c], 0
mov word [ebp - 0x24c], ax
mov eax, dword [ebp - 0x268]
mov dword [ebp - 0x238], 7
cmp eax, 8
jb 0x440cda
lea ecx, [eax*2 + 2]
mov eax, esi
cmp ecx, 0x1000
jb 0x440cd0
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x440d0c
push ecx
push esi
call fcn.00447d89
add esp, 8
mov al, byte [ebp - 0x2ad]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00447de7
mov esp, ebp
pop ebp
ret 4
call fcn.0051ae21
call fcn.0051ae21
call fcn.0051ae21
call fcn.0051ae21
int3