Function at 0x44a3f0
Capabilities:
Copy file
Create process on windows
Print debug messages
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f58e6
mov eax, dword fs:[0]
push eax
sub esp, 0x314
mov eax, dword [0x54c1b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, ecx
mov ebx, edx
mov dword [ebp - 0x31c], eax
mov dword [ebp - 4], 0
mov eax, dword [0x54fee0]
test eax, eax
je 0x44a475
cmp dword [eax + 8], 4
mov dword [ebp - 0x320], eax
jl 0x44a475
push str.MainUpdate.cpp
push 4
push ecx
mov ecx, esp
mov dword [ebp - 0x318], esp
push ecx
mov ecx, str.begin_RunNewUpdate
mov esi, 0x9d
call fcn.0042fa10
mov edx, dword [ebp - 0x320]
push edx
mov ecx, esi
call fcn.0042d670
lea esi, [ebp - 0x26c]
mov ecx, edi
call fcn.0041ae50
lea esi, [ebp - 0x2a4]
mov ecx, ebx
mov byte [ebp - 4], 1
call fcn.0041ae50
mov ecx, dword [ebp - 0x31c]
lea esi, [ebp - 0x288]
mov byte [ebp - 4], 2
call fcn.0041ae50
mov byte [ebp - 4], 3
cmp dword [ebp - 0x258], 0x10
mov eax, dword [ebp - 0x26c]
jae 0x44a4c1
lea eax, [ebp - 0x26c]
push eax
call fcn.004bce0e
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 4
mov dword [ebp - 0x31c], eax
xor ebx, ebx
mov eax, dword [ebp - 0x31c]
push eax
push 0
push 1
inc ebx
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x44a54a
push 0xbb8
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x44a84a
cmp ebx, 0xa
jne 0x44a512
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call edi
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp ebx, 0x14
jl 0x44a4d8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x5180d0
push str.MainUpdate.cpp
mov edx, 0xc1
mov esi, 2
mov eax, 0x54fee0
call fcn.0042c610
add esp, 0xc
lea esi, [ebp - 0x2dc]
call fcn.00403ce0
mov esi, eax
mov byte [ebp - 4], 4
test byte [0x550018], 1
jne 0x44a57d
or dword [0x550018], 1
call fcn.004443f0
push 0x4f70a0
call fcn.004bd58e
add esp, 4
push 0x5118c0
lea edx, [ebp - 0x314]
push 0x54ff68
push edx
call fcn.00407ab0
add esp, 0xc
mov ecx, eax
mov eax, esi
lea ebx, [ebp - 0x250]
mov byte [ebp - 4], 5
call fcn.00414360
mov edi, 8
cmp dword [ebp - 0x300], edi
jb 0x44a5c5
mov eax, dword [ebp - 0x314]
push eax
call fcn.004bb4d8
add esp, 4
mov esi, 7
xor ebx, ebx
xor ecx, ecx
mov dword [ebp - 0x300], esi
mov dword [ebp - 0x304], ebx
mov word [ebp - 0x314], cx
mov byte [ebp - 4], 8
cmp dword [ebp - 0x2c8], edi
jb 0x44a5fc
mov edx, dword [ebp - 0x2dc]
push edx
call fcn.004bb4d8
add esp, 4
push 0x104
lea ecx, [ebp - 0x218]
push ecx
xor eax, eax
push ebx
mov dword [ebp - 0x2c8], esi
mov dword [ebp - 0x2cc], ebx
mov word [ebp - 0x2dc], ax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 6
xor edx, edx
push str._rY6R
lea ecx, [ebp - 0x234]
mov dword [ebp - 0x220], esi
mov dword [ebp - 0x224], ebx
mov word [ebp - 0x234], dx
call fcn.00408810
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 9
lea edx, [eax + 2]
jmp 0x44a660
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x44a660
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x218]
lea ecx, [ebp - 0x234]
call fcn.00407820
push 3
mov eax, 0x518108
lea ecx, [ebp - 0x234]
call fcn.00407820
push ebx
lea eax, [ebp - 0x250]
push eax
or eax, 0xffffffff
lea esi, [ebp - 0x234]
call fcn.00407720
mov eax, dword [ebp - 0x250]
cmp dword [ebp - 0x23c], edi
jae 0x44a6bd
lea eax, [ebp - 0x250]
push eax
lea ecx, [ebp - 0x218]
push ecx
push str.src_s_dest_s
push str.MainUpdate.cpp
mov edx, 0xce
mov esi, 2
mov eax, 0x54fee0
call fcn.0042c610
mov eax, dword [ebp - 0x250]
add esp, 0x10
cmp dword [ebp - 0x23c], edi
jae 0x44a6fa
lea eax, [ebp - 0x250]
push ebx
push eax
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x44a893
mov eax, dword [0x54fee0]
cmp eax, ebx
je 0x44a74f
cmp dword [eax + 8], 4
mov edi, eax
jl 0x44a74a
push str.MainUpdate.cpp
push 4
push ecx
mov eax, esp
mov dword [ebp - 0x318], esp
push eax
mov ecx, 0x518130
mov esi, 0xd1
call fcn.0042fa10
push edi
mov ecx, esi
call fcn.0042d670
mov edi, 8
cmp dword [ebp - 0x220], edi
jb 0x44a766
mov ecx, dword [ebp - 0x234]
push ecx
call fcn.004bb4d8
add esp, 4
xor edx, edx
mov esi, 7
mov dword [ebp - 0x220], esi
mov dword [ebp - 0x224], ebx
mov word [ebp - 0x234], dx
cmp dword [ebp - 0x23c], edi
jb 0x44a797
mov eax, dword [ebp - 0x250]
push eax
call fcn.004bb4d8
add esp, 4
xor ecx, ecx
mov edi, 0x10
mov dword [ebp - 0x23c], esi
mov dword [ebp - 0x240], ebx
mov word [ebp - 0x250], cx
cmp dword [ebp - 0x274], edi
jb 0x44a7c8
mov edx, dword [ebp - 0x288]
push edx
call fcn.004bb4d8
add esp, 4
mov esi, 0xf
mov dword [ebp - 0x274], esi
mov dword [ebp - 0x278], ebx
mov byte [ebp - 0x288], bl
cmp dword [ebp - 0x290], edi
jb 0x44a7f6
mov eax, dword [ebp - 0x2a4]
push eax
call fcn.004bb4d8
add esp, 4
mov dword [ebp - 0x290], esi
mov dword [ebp - 0x294], ebx
mov byte [ebp - 0x2a4], bl
cmp dword [ebp - 0x258], edi
jb 0x44a81f
mov ecx, dword [ebp - 0x26c]
push ecx
call fcn.004bb4d8
add esp, 4
cmp dword [ebp + 0x20], 8
mov dword [ebp - 0x258], esi
mov dword [ebp - 0x25c], ebx
mov byte [ebp - 0x26c], bl
jb 0x44a843
mov edx, dword [ebp + 0xc]
push edx
call fcn.004bb4d8
add esp, 4
xor al, al
jmp 0x44aba4
push esi
call edi
mov eax, dword [0x54fee0]
test eax, eax
je 0x44a54a
cmp dword [eax + 8], 4
mov edi, eax
jl 0x44a54a
push str.MainUpdate.cpp
push 4
push ecx
mov ecx, esp
mov dword [ebp - 0x318], esp
push ecx
mov ecx, 0x5180b4
mov esi, 0xb2
call fcn.0042fa10
push edi
mov ecx, esi
call fcn.0042d670
jmp 0x44a54a
push 3
mov eax, 0x518174
lea ecx, [ebp - 0x234]
call fcn.00407820
mov eax, dword [ebp - 0x234]
cmp dword [ebp - 0x220], edi
jae 0x44a8b9
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [0x54fee0]
cmp eax, ebx
je 0x44a8fe
cmp dword [eax + 8], 4
mov edi, eax
jl 0x44a8f9
push str.MainUpdate.cpp
push 4
push ecx
mov eax, esp
mov dword [ebp - 0x318], esp
push eax
mov ecx, 0x51817c
mov esi, 0xd6
call fcn.0042fa10
push edi
mov ecx, esi
call fcn.0042d670
mov edi, 8
lea ecx, [ebp - 0x2f8]
push ecx
lea ecx, [ebp - 0x288]
call fcn.0040b370
add esp, 4
mov edx, 0x54d674
lea ecx, [ebp - 0x2dc]
mov byte [ebp - 4], 0xa
call fcn.00403940
mov esi, eax
mov byte [ebp - 4], 0xb
test byte [0x550018], 1
jne 0x44a94f
or dword [0x550018], 1
call fcn.004443f0
push 0x4f70a0
call fcn.004bd58e
add esp, 4
movzx edx, byte [0x54fff6]
push edx
lea edx, [ebp - 0x2f8]
mov ecx, esi
call fcn.00408dd0
add esp, 4
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x2c8], edi
jb 0x44a982
mov eax, dword [ebp - 0x2dc]
push eax
call fcn.004bb4d8
add esp, 4
lea ecx, [ebp - 0x2c0]
push ecx
lea ecx, [ebp - 0x2a4]
call fcn.0040b370
add esp, 4
mov byte [ebp - 4], 0xc
test byte [0x550018], 1
jne 0x44a9bd
or dword [0x550018], 1
call fcn.004443f0
push 0x4f70a0
call fcn.004bd58e
add esp, 4
cmp byte [0x54fff5], bl
je 0x44a9df
cmp dword [ebp - 0x2b0], ebx
jne 0x44a9df
push 7
push str._update
lea ecx, [ebp - 0x2c0]
call fcn.00408810
mov ecx, dword [ebp - 0x2c0]
cmp dword [ebp - 0x2ac], edi
jae 0x44a9f3
lea ecx, [ebp - 0x2c0]
mov eax, dword [ebp - 0x250]
cmp dword [ebp - 0x23c], edi
jae 0x44aa07
lea eax, [ebp - 0x250]
push 1
push ebx
push ecx
push eax
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, dword [0x54fee0]
cmp eax, ebx
je 0x44aa56
cmp dword [eax + 8], 4
mov edi, eax
jl 0x44aa51
push str.MainUpdate.cpp
push 4
push ecx
mov edx, esp
mov dword [ebp - 0x318], esp
push edx
mov ecx, str.end_RunNewUpdate
mov esi, 0xe1
call fcn.0042fa10
push edi
mov ecx, esi
call fcn.0042d670
mov edi, 8
cmp dword [ebp - 0x2ac], edi
jb 0x44aa6d
mov eax, dword [ebp - 0x2c0]
push eax
call fcn.004bb4d8
add esp, 4
xor ecx, ecx
mov esi, 7
mov dword [ebp - 0x2ac], esi
mov dword [ebp - 0x2b0], ebx
mov word [ebp - 0x2c0], cx
cmp dword [ebp - 0x2e4], edi
jb 0x44aa9e
mov edx, dword [ebp - 0x2f8]
push edx
call fcn.004bb4d8
add esp, 4
xor eax, eax
mov dword [ebp - 0x2e4], esi
mov dword [ebp - 0x2e8], ebx
mov word [ebp - 0x2f8], ax
cmp dword [ebp - 0x220], edi
jb 0x44aaca
mov ecx, dword [ebp - 0x234]
push ecx
call fcn.004bb4d8
add esp, 4
xor edx, edx
mov dword [ebp - 0x220], esi
mov dword [ebp - 0x224], ebx
mov word [ebp - 0x234], dx
cmp dword [ebp - 0x23c], edi
jb 0x44aaf6
mov eax, dword [ebp - 0x250]
push eax
call fcn.004bb4d8
add esp, 4
xor ecx, ecx
mov edi, 0x10
mov dword [ebp - 0x23c], esi
mov dword [ebp - 0x240], ebx
mov word [ebp - 0x250], cx
cmp dword [ebp - 0x274], edi
jb 0x44ab27
mov edx, dword [ebp - 0x288]
push edx
call fcn.004bb4d8
add esp, 4
mov esi, 0xf
mov dword [ebp - 0x274], esi
mov dword [ebp - 0x278], ebx
mov byte [ebp - 0x288], bl
cmp dword [ebp - 0x290], edi
jb 0x44ab55
mov eax, dword [ebp - 0x2a4]
push eax
call fcn.004bb4d8
add esp, 4
mov dword [ebp - 0x290], esi
mov dword [ebp - 0x294], ebx
mov byte [ebp - 0x2a4], bl
cmp dword [ebp - 0x258], edi
jb 0x44ab7e
mov ecx, dword [ebp - 0x26c]
push ecx
call fcn.004bb4d8
add esp, 4
cmp dword [ebp + 0x20], 8
mov dword [ebp - 0x258], esi
mov dword [ebp - 0x25c], ebx
mov byte [ebp - 0x26c], bl
jb 0x44aba2
mov edx, dword [ebp + 0xc]
push edx
call fcn.004bb4d8
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004bb4e3
mov esp, ebp
pop ebp
ret