Function at 0x415740
Capabilities:
Copy file
Create process on windows
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x46b6fa
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x84
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x18]
mov eax, dword [esi + 0x70]
push eax
call fcn.0045b618
mov ecx, dword [esp + 0x18]
xor edi, edi
mov dword [esp + 0x9c], edi
mov eax, dword [ecx - 8]
cmp eax, edi
jle 0x415eda
mov edx, dword [0x48a8c4]
mov dword [esp + 0x1c], edx
push ecx
mov byte [esp + 0xa0], 1
mov ecx, esp
mov dword [esp + 0x28], esp
push str.HWND
call fcn.0045b618
push ecx
lea eax, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
mov byte [esp + 0xa8], 2
call fcn.0045b31f
lea ecx, [esp + 0x1c]
mov byte [esp + 0xa4], 1
push ecx
mov ecx, esi
call fcn.004155a0
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0xa0], 3
call fcn.0045b6e3
lea ecx, [esp + 0x14]
mov byte [esp + 0x9c], 1
call fcn.0045b5aa
mov edx, dword [esp + 0x1c]
cmp dword [edx - 8], edi
je 0x415821
push edi
push ecx
lea eax, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call fcn.0045b31f
mov ecx, esi
call fcn.0041cf60
mov dword [esi + 0xc0], eax
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x48917c
call fcn.0045b618
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
mov byte [esp + 0xa8], 4
call fcn.0045b31f
lea eax, [esp + 0x1c]
mov ecx, esi
push eax
mov byte [esp + 0xa8], 1
call fcn.004155a0
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0xa0], 5
call fcn.0045b6e3
lea ecx, [esp + 0x14]
mov byte [esp + 0x9c], 1
call fcn.0045b5aa
mov eax, dword [esp + 0x1c]
cmp dword [eax - 8], edi
je 0x4158c9
push str.CheckVer
push eax
call fcn.0043e755
add esp, 8
test eax, eax
jne 0x4158a9
mov dword [esi + 0x234c], 2
jmp 0x4158c9
mov ecx, dword [esp + 0x1c]
push str.Preview
push ecx
call fcn.0043e755
add esp, 8
test eax, eax
jne 0x4158c9
mov dword [esi + 0x234c], 1
lea ecx, [esp + 0x18]
call fcn.0045bb06
push str.self_update
lea ecx, [esp + 0x1c]
call fcn.004594e5
test eax, eax
jl 0x415db2
cmp dword [esi + 0x17c], edi
je 0x415905
mov edx, dword [esi + 0x2614]
lea ecx, [esi + 0x2614]
call dword [edx + 0x4c]
mov dword [esi + 0x17c], edi
mov eax, dword [esi + 0xcc]
lea ebp, [esi + 0xcc]
lea ecx, [esp + 0x14]
mov eax, dword [eax - 8]
add eax, 0xfffffffc
push eax
push ecx
mov ecx, ebp
call fcn.0045944b
push eax
mov ecx, ebp
mov byte [esp + 0xa0], 6
call fcn.0045b6e3
lea ecx, [esp + 0x14]
mov byte [esp + 0x9c], 1
call fcn.0045b5aa
push ebp
xor ebx, ebx
call fcn.00415f10
add esp, 4
cmp eax, 0xffffffff
je 0x4159a7
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0xc8
call edi
push 1
push 0
push 0
lea edx, [esp + 0x44]
push 0
push edx
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x41598f
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea ecx, [esp + 0x38]
push ecx
call dword [sym.imp.USER32.dll_DispatchMessageA]
mov edx, ebx
inc ebx
cmp edx, 0xa
jg 0x4159a5
push ebp
call fcn.00415f10
add esp, 4
cmp eax, 0xffffffff
jne 0x41595b
xor edi, edi
mov ebx, dword [ebp]
push str..exe
lea eax, [esp + 0x18]
push ebp
push eax
call fcn.0045b83f
mov eax, dword [eax]
push edi
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
lea ecx, [esp + 0x14]
mov ebx, eax
call fcn.0045b5aa
cmp ebx, edi
je 0x415d86
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push str.self_update
call fcn.0045b618
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
mov byte [esp + 0xa8], 7
call fcn.0045b31f
lea eax, [esp + 0x1c]
mov ecx, esi
push eax
mov byte [esp + 0xa8], 1
call fcn.004155a0
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0xa0], 8
call fcn.0045b6e3
lea ecx, [esp + 0x14]
mov byte [esp + 0x9c], 1
call fcn.0045b5aa
mov eax, dword [0x48a8c4]
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x30], eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x9c], 0xb
call fcn.0045a74b
lea ecx, [esp + 0x38]
mov bl, 0xc
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x489158
mov byte [esp + 0xa8], bl
call fcn.0045b618
push ecx
lea edx, [esp + 0x28]
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
mov byte [esp + 0xac], 0xd
call fcn.0045b31f
mov byte [esp + 0xa8], bl
call fcn.00416520
mov eax, dword [esp + 0x4c]
add esp, 0xc
cmp eax, 2
jne 0x415d42
lea eax, [esp + 0x10]
push edi
push eax
lea ecx, [esp + 0x40]
call fcn.0040e7b0
push eax
lea ecx, [esp + 0x30]
push str.file
push ecx
mov byte [esp + 0xa8], 0xe
call fcn.0045b8b3
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0xa0], 0xf
call fcn.0045b6e3
lea ecx, [esp + 0x2c]
mov byte [esp + 0x9c], 0xe
call fcn.0045b5aa
lea ecx, [esp + 0x10]
mov byte [esp + 0x9c], bl
call fcn.0045b5aa
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x40]
call fcn.0040e7b0
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0xa0], 0x10
call fcn.0045b6e3
lea ecx, [esp + 0x10]
mov byte [esp + 0x9c], bl
call fcn.0045b5aa
push 0x492044
lea eax, [esp + 0x14]
push 0x492060
push eax
call fcn.0045b7d9
mov eax, dword [eax]
mov edx, dword [0x492054]
lea ecx, [esp + 0x54]
mov byte [esp + 0x9c], 0x11
push ecx
push eax
mov eax, dword [0x49205c]
push edx
push eax
call fcn.00416160
add esp, 0x10
lea ecx, [esp + 0x10]
mov edi, eax
mov byte [esp + 0x9c], bl
call fcn.0045b5aa
push edi
lea ecx, [esp + 0x2c]
call fcn.0045b618
push edi
mov byte [esp + 0xa0], 0x12
call fcn.0043e66c
lea edx, [esp + 0x2c]
mov ecx, esp
mov dword [esp + 0x14], esp
push edx
call fcn.0045b31f
lea edi, [esi + 0xd8]
mov ecx, edi
call fcn.0040daa0
test eax, eax
je 0x415cac
push ecx
lea eax, [esp + 0x34]
mov ecx, esp
mov dword [esp + 0x14], esp
push eax
call fcn.0045b31f
push ecx
mov byte [esp + 0xa4], 0x13
mov ecx, esp
mov dword [esp + 0x34], esp
push 0x488760
call fcn.0045b618
push ecx
lea edx, [esp + 0x2c]
mov ecx, esp
mov dword [esp + 0x40], esp
push edx
mov byte [esp + 0xac], 0x14
call fcn.0045b31f
mov ecx, edi
mov byte [esp + 0xa8], 0x12
call fcn.0040d820
lea eax, [esp + 0x10]
mov ecx, edi
push eax
call fcn.0040df40
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0xa0], 0x15
call fcn.0045b6e3
lea ecx, [esp + 0x10]
mov byte [esp + 0x9c], 0x12
call fcn.0045b5aa
push 0x492044
lea ecx, [esp + 0x14]
push 0x492060
push ecx
call fcn.0045b7d9
mov eax, dword [eax]
mov ecx, 0x492054
push eax
mov byte [esp + 0xa0], 0x16
call fcn.00408550
push eax
mov ecx, 0x49205c
call fcn.00408550
push eax
push ecx
lea edx, [esp + 0x38]
mov ecx, esp
mov dword [esp + 0x44], esp
push edx
call fcn.0045b31f
call fcn.00416330
add esp, 0x10
lea ecx, [esp + 0x10]
mov byte [esp + 0x9c], 0x12
call fcn.0045b5aa
lea ecx, [esp + 0x28]
call fcn.0045b535
push str.self_finish
push str.self_update
lea ecx, [esp + 0x20]
call fcn.004591b3
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0x58]
lea edx, [esp + 0x14]
rep stosd dword es:[edi], eax
mov eax, dword [esi + 0xc8]
lea ecx, [esi + 0xc8]
mov eax, dword [eax - 8]
dec eax
push eax
push edx
call fcn.0045944b
mov eax, dword [esp + 0x14]
mov ebp, dword [ebp]
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x58]
push edx
mov dword [esp + 0x74], eax
mov dword [esp + 0x5c], 0x3c
mov dword [esp + 0x64], 0
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x78], 5
mov dword [esp + 0x60], 0x40
mov dword [esp + 0x70], ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
lea ecx, [esp + 0x14]
call fcn.0045b5aa
lea ecx, [esp + 0x28]
mov byte [esp + 0x9c], bl
call fcn.0045b5aa
lea ecx, [esp + 0x38]
mov byte [esp + 0x9c], 0xb
call fcn.0045a77e
lea ecx, [esp + 0x30]
mov byte [esp + 0x9c], 0xa
call fcn.0045b5aa
lea ecx, [esp + 0x20]
mov byte [esp + 0x9c], 9
call fcn.0045b5aa
lea ecx, [esp + 0x24]
mov byte [esp + 0x9c], 1
call fcn.0045b5aa
lea ecx, [esp + 0x1c]
mov byte [esp + 0x9c], 0
call fcn.0045b5aa
lea ecx, [esp + 0x18]
mov dword [esp + 0x9c], 0xffffffff
call fcn.0045b5aa
xor eax, eax
jmp 0x415ef3
push str.self_finish
lea ecx, [esp + 0x1c]
call fcn.004594e5
test eax, eax
jl 0x415ec9
cmp dword [esi + 0x17c], edi
je 0x415de5
mov eax, dword [esi + 0x2614]
lea ecx, [esi + 0x2614]
call dword [eax + 0x4c]
mov dword [esi + 0x17c], edi
add esi, 0xcc
push str..exe
lea ecx, [esp + 0x24]
push esi
push ecx
xor ebp, ebp
call fcn.0045b83f
push eax
mov byte [esp + 0xa0], 0x17
call fcn.00415f10
add esp, 4
cmp eax, 0xffffffff
lea ecx, [esp + 0x20]
mov byte [esp + 0x9c], 1
setne bl
call fcn.0045b5aa
test bl, bl
je 0x415ea7
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0xc8
call edi
push 1
push 0
push 0
lea edx, [esp + 0x44]
push 0
push edx
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x415e63
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea ecx, [esp + 0x38]
push ecx
call dword [sym.imp.USER32.dll_DispatchMessageA]
mov edx, ebp
inc ebp
cmp edx, 0xa
jg 0x415ea7
push str..exe
lea eax, [esp + 0x24]
push esi
push eax
call fcn.0045b83f
push eax
mov byte [esp + 0xa0], 0x17
call fcn.00415f10
add esp, 4
cmp eax, 0xffffffff
lea ecx, [esp + 0x20]
mov byte [esp + 0x9c], 1
setne bl
call fcn.0045b5aa
test bl, bl
jne 0x415e2f
push str..exe
lea ecx, [esp + 0x28]
push esi
push ecx
call fcn.0045b83f
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0x24]
call fcn.0045b5aa
lea ecx, [esp + 0x1c]
mov byte [esp + 0x9c], 0
call fcn.0045b5aa
lea ecx, [esp + 0x18]
mov dword [esp + 0x9c], 0xffffffff
call fcn.0045b5aa
mov eax, 1
mov ecx, dword [esp + 0x94]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x90
ret