Function at 0x5e0025fa
Capabilities:
Copy file
Set file attributes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7fc
push ebx
push esi
lea eax, [ebp - 0x7fc]
push edi
push eax
mov dword [ebp - 4], 0xe
push dword [ebp + 0x20]
call fcn.5e002987
mov dword [ebp - 8], eax
mov al, byte [0x5e001314]
push 0x40
mov byte [ebp - 0x3f4], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x3f3]
mov edx, 0x81
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor ebx, ebx
mov ecx, edx
xor eax, eax
lea edi, [ebp - 0x5fb]
mov byte [ebp - 0x5fc], bl
mov byte [ebp - 0x2f0], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, edx
xor eax, eax
lea edi, [ebp - 0x2ef]
push dword [ebp + 8]
rep stosd dword es:[edi], eax
push dword [ebp - 8]
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x7fc]
push eax
lea eax, [ebp - 0xe8]
push dword [ebp + 0x2c]
push dword [ebp + 0x28]
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push eax
call fcn.5e0029d2
mov edi, dword [ebp + 0xc]
push edi
call fcn.5e005a22
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
add esp, 0x30
test eax, eax
je 0x5e0026b6
cmp dword [0x5e01a030], 1
jne 0x5e002752
lea eax, [ebp - 0x2f0]
push 0x208
push eax
push 0xfffffffffffffffa
call fcn.5e0076e6
push eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x2f0]
push 0x5c
push eax
call fcn.5e005af8
mov byte [eax + 1], bl
lea eax, [ebp - 0x5fc]
push eax
push edi
call fcn.5e008b24
add esp, 0x10
lea eax, [ebp - 0x5fc]
push eax
lea eax, [ebp - 0x2f0]
push eax
call esi
push dword [ebp - 0xc8]
lea eax, [ebp - 0x2f0]
push eax
push dword [ebp + 0x18]
push dword [ebp - 0xc4]
call fcn.5e002ab8
add esp, 0x10
test eax, eax
jne 0x5e002731
push 1
call fcn.5e010d37
push ebx
lea eax, [ebp - 0x2f0]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
push 0x80
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov dword [0x5e01a030], ebx
lea eax, [ebp - 0xe8]
mov dword [0x5e01b2b0], eax
lea eax, [ebp - 0xbc]
push eax
push 0xffffffffffffffff
push fcn.5e002e9a
push fcn.5e002e43
push fcn.5e002e08
push 0x5e002dda
push 0x5e002c2d
push 0x5e002c22
push 0x5e002c00
call fcn.5e009ef0
add esp, 0x24
cmp eax, ebx
mov dword [ebp - 0xc0], eax
jne 0x5e0027a4
mov ax, 6
jmp 0x5e002982
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0xd0]
cmp eax, dword [ebp - 0xcc]
jge 0x5e0028fe
mov eax, dword [ebp - 0xc8]
cmp eax, dword [ebp + 0x14]
jg 0x5e0028fe
push eax
push edi
call fcn.5e002a21
pop ecx
test eax, eax
pop ecx
je 0x5e0028cc
push edi
call fcn.5e005a22
test eax, eax
pop ecx
jne 0x5e00287d
lea eax, [ebp - 0x2f0]
push 0x208
push eax
push 0xfffffffffffffffa
call fcn.5e0076e6
push eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x2f0]
push 0x5c
push eax
call fcn.5e005af8
mov byte [eax + 1], bl
lea eax, [ebp - 0x5fc]
push eax
push edi
call fcn.5e008b24
add esp, 0x10
lea eax, [ebp - 0x5fc]
push eax
lea eax, [ebp - 0x2f0]
push eax
call esi
push dword [ebp - 0xc8]
lea eax, [ebp - 0x2f0]
push eax
push dword [ebp + 0x18]
push dword [ebp - 0xc4]
call fcn.5e002ab8
add esp, 0x10
test eax, eax
je 0x5e0028d8
push ebx
lea eax, [ebp - 0x2f0]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
push 0x80
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 0x5c
push dword [ebp + 0x18]
call fcn.5e005af8
mov byte [eax + 1], bl
lea eax, [ebp - 0x3f4]
push eax
push edi
call fcn.5e008b24
lea eax, [ebp - 0xe8]
push eax
push ebx
push 0x5e002360
push ebx
push dword [ebp + 0x18]
lea eax, [ebp - 0x3f4]
push eax
push dword [ebp - 0xc0]
call fcn.5e00a000
add esp, 0x2c
test eax, eax
je 0x5e0028df
inc dword [ebp - 0xc8]
jmp 0x5e0027ad
mov dword [ebp - 4], 3
jmp 0x5e00295b
push 1
call fcn.5e010d37
mov ax, word [ebp - 0xb0]
sub ax, 0xe
neg ax
sbb eax, eax
and eax, dword [ebp - 0xb0]
cmp ax, 0xe
mov dword [ebp - 4], eax
jne 0x5e00295b
cmp dword [ebp - 8], ebx
mov dword [ebp + 0x18], ebx
jle 0x5e00295b
lea eax, [ebp - 0x7fc]
mov dword [ebp + 8], eax
cmp dword [ebp + 0x18], 0x40
jg 0x5e00295b
mov eax, dword [ebp + 8]
cmp dword [eax], ebx
jne 0x5e00293b
push 0x5e001310
push dword [ebp + 0x28]
call esi
mov edi, dword [ebp + 0x20]
lea eax, [edi + 1]
push eax
push dword [ebp + 0x28]
call esi
mov dword [ebp - 4], 3
jmp 0x5e00293e
mov edi, dword [ebp + 0x20]
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc dword [ebp + 0x18]
add dword [ebp + 8], 4
lea eax, [edi + eax + 1]
mov dword [ebp + 0x20], eax
mov eax, dword [ebp + 0x18]
cmp eax, dword [ebp - 8]
jl 0x5e00290f
push dword [ebp - 0xc0]
call fcn.5e009f90
mov eax, dword [0x5e01b2b0]
pop ecx
mov eax, dword [eax + 0xdc]
cmp eax, 0xffffffff
je 0x5e00297e
push eax
call fcn.5e002e43
pop ecx
mov ax, word [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret