Function at 0x401ef0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x496efd
mov eax, dword fs:[0]
push eax
sub esp, 0x9a4
mov eax, dword [0x4c3008]
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 esi, dword [ebp + 8]
lea ecx, [ebp - 0x864]
mov edi, dword [ebp + 0x10]
xor eax, eax
push 0x11
mov dword [ebp - 0x854], 0
mov dword [ebp - 0x850], 0
push str.2345rtprotect.exe
mov dword [ebp - 0x854], 0
mov dword [ebp - 0x850], 7
mov word [ebp - 0x864], ax
call fcn.00402760
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x864]
call fcn.00466d00
test al, al
jne 0x4023bb
lea ecx, [ebp - 0x9b0]
call fcn.004662b0
lea ecx, [ebp - 0x12c]
call fcn.004662b0
cmp dword [ebp - 0x128], 6
jb 0x402208
lea ecx, [ebp - 0x814]
mov dword [ebp - 0x814], 0
call fcn.00463330
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea ecx, [ebp - 0x814]
call fcn.00464590
test al, al
jne 0x4021f9
push 0x800
lea eax, [ebp - 0x810]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x810]
push 0x400
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor eax, eax
mov dword [ebp - 0x81c], 0
mov dword [ebp - 0x818], 0
mov dword [ebp - 0x81c], 0
mov dword [ebp - 0x818], 7
mov word [ebp - 0x82c], ax
mov byte [ebp - 4], 2
mov dword [ebp - 0x830], eax
lea eax, [ebp - 0x830]
push eax
push edi
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
xor esi, esi
mov ebx, eax
cmp dword [ebp - 0x830], esi
jle 0x4020a5
cmp dword [ebp - 0x81c], 0
je 0x402070
push 1
push 0x4a7844
lea ecx, [ebp - 0x82c]
call fcn.004028b0
mov edx, dword [ebx + esi*4]
mov ecx, edx
lea edi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x402080
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x82c]
call fcn.004028b0
inc esi
cmp esi, dword [ebp - 0x830]
jl 0x402055
xor eax, eax
mov dword [ebp - 0x83c], 0
lea ecx, [ebp - 0x810]
mov dword [ebp - 0x838], 0
mov dword [ebp - 0x83c], 0
lea edx, [ecx + 2]
mov dword [ebp - 0x838], 7
mov word [ebp - 0x84c], ax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4020e0
sub ecx, edx
lea eax, [ebp - 0x810]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x84c]
call fcn.00402760
mov byte [ebp - 4], 3
sub esp, 8
lea edx, [ebp - 0x82c]
lea ecx, [ebp - 0x84c]
call fcn.00468940
add esp, 8
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x838]
cmp edx, 8
jb 0x402163
mov ecx, dword [ebp - 0x84c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402159
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x402159
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00495334
add esp, 8
xor eax, eax
mov dword [ebp - 0x83c], 0
mov dword [ebp - 0x838], 7
mov word [ebp - 0x84c], ax
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x818]
cmp edx, 8
jb 0x4021c6
mov ecx, dword [ebp - 0x82c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4021bc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4021bc
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00495334
add esp, 8
xor eax, eax
mov dword [ebp - 0x81c], 0
mov dword [ebp - 0x818], 7
mov word [ebp - 0x82c], ax
mov byte [ebp - 4], al
lea ecx, [ebp - 0x814]
call fcn.004633b0
or ebx, 0xffffffff
jmp 0x402523
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x814]
call fcn.004633b0
lea ecx, [ebp - 0x894]
call fcn.004038e0
mov byte [ebp - 4], 4
lea eax, [ebp - 0x864]
push eax
lea edx, [ebp - 0x894]
lea ecx, [ebp - 0x87c]
call fcn.00468670
add esp, 4
mov byte [ebp - 4], 5
xor eax, eax
push eax
mov dword [ebp - 0x81c], 0
lea ecx, [ebp - 0x82c]
mov dword [ebp - 0x818], 0
push 0x4a781c
mov dword [ebp - 0x81c], 0
mov dword [ebp - 0x818], 7
mov word [ebp - 0x82c], ax
call fcn.00402760
mov byte [ebp - 4], 6
sub esp, 8
lea edx, [ebp - 0x82c]
lea ecx, [ebp - 0x87c]
call fcn.00468940
add esp, 8
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x818]
cmp edx, 8
jb 0x4022d9
mov ecx, dword [ebp - 0x82c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4022cf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4022cf
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00495334
add esp, 8
xor eax, eax
mov dword [ebp - 0x81c], 0
mov dword [ebp - 0x818], 7
mov word [ebp - 0x82c], ax
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x868]
cmp edx, 8
jb 0x40233c
mov ecx, dword [ebp - 0x87c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402332
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x402332
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00495334
add esp, 8
xor eax, eax
mov dword [ebp - 0x86c], 0
mov dword [ebp - 0x868], 7
mov word [ebp - 0x87c], ax
mov byte [ebp - 4], al
mov edx, dword [ebp - 0x880]
cmp edx, 8
jb 0x40239e
mov ecx, dword [ebp - 0x894]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402394
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x402394
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00495334
add esp, 8
xor eax, eax
mov dword [ebp - 0x884], 0
mov dword [ebp - 0x880], 7
mov word [ebp - 0x894], ax
xorps xmm0, xmm0
mov dword [ebp - 0x838], 0
movq qword [ebp - 0x840], xmm0
push 4
mov dword [ebp - 0x840], 0
call fcn.00495304
mov esi, eax
mov dword [ebp - 0x830], esi
mov byte [ebp - 4], 7
push 4
mov dword [esi], 0
call fcn.00495304
add esp, 8
mov dword [ebp - 0x814], eax
mov byte [ebp - 4], 8
mov dword [eax], 0
mov dword [eax], 0
mov byte [ebp - 4], 7
mov dword [esi], eax
mov byte [ebp - 4], 0
mov dword [ebp - 0x83c], esi
mov byte [ebp - 4], 9
mov dword [ebp - 0x838], 0
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x824]
push 0
push eax
lea eax, [ebp - 0x834]
mov dword [ebp - 0x834], 0
push eax
mov dword [ebp - 0x824], 1
mov dword [ebp - 0x820], 0
mov dword [ebp - 0x81c], 0
mov dword [ebp - 0x818], 0
call dword [sym.imp.gdiplus.dll_GdiplusStartup]
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x840]
push edi
call fcn.00402ba0
mov ebx, eax
call fcn.0040c1e0
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x834]
test eax, eax
je 0x4024b3
push eax
call dword [sym.imp.gdiplus.dll_GdiplusShutdown]
mov dword [ebp - 0x834], 0
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x838]
test eax, eax
je 0x4024d2
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x838], 0
mov byte [ebp - 4], 0
mov esi, dword [ebp - 0x83c]
test esi, esi
je 0x402523
mov edi, dword [esi]
test edi, edi
je 0x40250e
mov eax, dword [edi]
test eax, eax
je 0x4024fd
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test eax, eax
je 0x4024fd
mov dword [edi], 0
push 4
push edi
call fcn.00495334
add esp, 8
mov dword [esi], 0
push 4
push esi
call fcn.00495334
add esp, 8
mov dword [ebp - 0x83c], 0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x850]
cmp edx, 8
jb 0x40256c
mov ecx, dword [ebp - 0x864]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402562
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x402562
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00495334
add esp, 8
xor eax, eax
mov dword [ebp - 0x854], 0
mov word [ebp - 0x864], ax
mov eax, ebx
mov dword [ebp - 0x850], 7
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.004952f3
mov esp, ebp
pop ebp
ret 0x10