Function at 0x43819b
Capabilities:
Delete file
Set file attributes

Disassembly:
push ebp
sub esp, 0x100
lea ebp, [esp - 4]
mov eax, dword [0x6d25dc]
xor eax, ebp
mov dword [ebp + 0x100], eax
push 0x1d0
mov eax, 0x5f65ac
call fcn.00579aba
mov eax, dword [ebp + 0x10c]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x110]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x114]
push 0x6da2ac
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x4c]
push 0x6da0c0
push eax
call fcn.0042d354
mov esi, 0x6d9b80
push esi
push eax
lea eax, [ebp - 0x114]
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
call fcn.0042d354
push 0x6d9d40
push eax
lea eax, [ebp - 0xf8]
xor edi, edi
push eax
inc edi
mov byte [ebp - 4], 1
call fcn.0042d354
push 0x6d9ec8
push eax
lea eax, [ebp - 0x130]
push eax
mov byte [ebp - 4], 2
call fcn.0042d354
push 0x6d9fe0
push eax
lea eax, [ebp + 0x58]
push eax
mov byte [ebp - 4], 3
call fcn.0042d354
add esp, 0x3c
push ebx
push edi
lea ecx, [ebp - 0x130]
call fcn.00415386
push ebx
push edi
lea ecx, [ebp - 0xf8]
call fcn.00415386
push ebx
push edi
lea ecx, [ebp - 0x114]
call fcn.00415386
push ebx
push edi
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 8
call fcn.00415386
mov ecx, dword [ebp - 0x18]
push edi
push ebx
lea eax, [ebp + 0x58]
push eax
call fcn.00482da5
test al, al
jne 0x438301
mov ecx, dword [ebp - 0x18]
lea eax, [ebp + 0xe4]
push eax
call fcn.0042d81d
cmp dword [eax + 0x18], 0x10
mov byte [ebp - 4], 9
jb 0x4382b2
mov eax, dword [eax + 4]
jmp 0x4382b5
add eax, 4
push eax
push 0x62fbd8
push ebx
call fcn.0048212f
add esp, 0xc
lea ecx, [ebp + 0xe4]
push ebx
push edi
call fcn.00415386
push ebx
push edi
lea ecx, [ebp + 0x58]
call fcn.00415386
push 2
pop eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x100]
xor ecx, ebp
call fcn.00579aab
add ebp, 0x104
leave
ret
push ebx
lea ecx, [ebp + 0xc8]
mov dword [ebp + 0xe0], 0xf
call fcn.00415e5a
push ebx
lea ecx, [ebp + 0x74]
mov dword [ebp + 0x8c], 0xf
call fcn.00415e5a
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x11]
push eax
lea eax, [ebp + 0xc8]
push eax
push esi
mov byte [ebp - 4], 0xb
mov byte [ebp - 0x10], bl
mov byte [ebp - 0xd], bl
call fcn.00482cb4
test al, al
mov esi, str._d_c
je 0x4383b9
cmp byte [ebp - 0x11], bl
jne 0x438378
push str.Switch_requires_a_value_____ENTRY
push ebx
call fcn.0048212f
pop ecx
pop ecx
push ebx
push edi
lea ecx, [ebp + 0x74]
call fcn.00415386
lea ecx, [ebp + 0xc8]
jmp 0x4382ca
cmp dword [ebp + 0xe0], 0x10
mov eax, dword [ebp + 0xcc]
jae 0x43838d
lea eax, [ebp + 0xcc]
lea ecx, [ebp - 0x1d]
push ecx
lea ecx, [ebp - 0x2c]
push ecx
push esi
push eax
call fcn.0057db7a
add esp, 0x10
cmp eax, edi
jne 0x4383e8
cmp dword [ebp - 0x2c], edi
jl 0x4383e8
mov ecx, dword [ebp - 0x24]
call fcn.00428b1e
cmp dword [ebp - 0x2c], eax
jg 0x4383e8
mov byte [ebp - 0xd], 1
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x11]
push eax
lea eax, [ebp + 0xc8]
push eax
push 0x6d9d40
call fcn.00482cb4
test al, al
je 0x4384b8
cmp byte [ebp - 0x11], bl
jne 0x438411
push str.Switch_requires_a_value_____TIMEOUT
jmp 0x43835b
cmp dword [ebp + 0xe0], 0x10
mov eax, dword [ebp + 0xcc]
jae 0x4383fd
lea eax, [ebp + 0xcc]
push eax
push str.Invalid_boot_entry_ID_____s
push ebx
call fcn.0048212f
add esp, 0xc
jmp 0x438363
cmp dword [ebp + 0xe0], 0x10
mov eax, dword [ebp + 0xcc]
jae 0x438426
lea eax, [ebp + 0xcc]
lea ecx, [ebp - 0x1d]
push ecx
lea ecx, [ebp - 0x30]
push ecx
push esi
push eax
call fcn.0057db7a
add esp, 0x10
cmp eax, edi
jne 0x438498
cmp dword [ebp - 0x30], ebx
jl 0x438498
push 0xffffffffffffffff
push ebx
lea eax, [ebp + 0xc8]
push eax
lea ecx, [ebp + 0x74]
mov byte [ebp - 0x10], 1
call fcn.00415271
lea ecx, [ebp]
call fcn.0042c510
cmp byte [ebp - 0xd], bl
mov byte [ebp - 4], 0xc
je 0x4384f5
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x24]
dec eax
push eax
call fcn.00428b3f
push eax
lea ecx, [ebp]
call fcn.0042e4b0
cmp byte [ebp - 0x10], bl
jne 0x4384f5
cmp byte [ebp + 0x54], bl
je 0x4384f5
lea ecx, [ebp]
call fcn.0042c4e8
xor esi, esi
jmp 0x4384cd
cmp dword [ebp + 0xe0], 0x10
mov eax, dword [ebp + 0xcc]
jae 0x4384ad
lea eax, [ebp + 0xcc]
push eax
push str.Invalid_timeout_value_____s
jmp 0x438403
cmp byte [ebp - 0xd], bl
jne 0x438457
push str.Required_switch_missing_____ENTRY___TIMEOUT
push ebx
call fcn.0048212f
pop ecx
pop ecx
push 2
pop esi
push ebx
push edi
lea ecx, [ebp + 0x74]
call fcn.00415386
push ebx
push edi
lea ecx, [ebp + 0xc8]
call fcn.00415386
push ebx
push edi
lea ecx, [ebp + 0x58]
call fcn.00415386
mov eax, esi
jmp 0x4382de
push 0x6583a8
lea ecx, [ebp + 0x90]
call fcn.00414b61
cmp byte [ebp - 0xd], bl
mov byte [ebp - 4], 0xd
je 0x438583
mov ecx, dword [ebp - 0x24]
xor esi, esi
call fcn.00428b1e
test eax, eax
jbe 0x438583
mov eax, dword [ebp - 0x2c]
dec eax
cmp esi, eax
jae 0x43855c
cmp dword [ebp + 0x50], 0x10
mov eax, dword [ebp + 0x3c]
jae 0x438530
lea eax, [ebp + 0x3c]
mov ecx, dword [ebp - 0x24]
push esi
mov dword [ebp - 0x28], eax
call fcn.00428b3f
add eax, 0x38
cmp dword [eax + 0x18], 0x10
jb 0x43854a
mov eax, dword [eax + 4]
jmp 0x43854d
add eax, 4
push dword [ebp - 0x28]
push eax
call fcn.00583f9e
test eax, eax
pop ecx
pop ecx
je 0x43856b
mov ecx, dword [ebp - 0x24]
inc esi
call fcn.00428b1e
cmp esi, eax
jb 0x43851c
jmp 0x438583
mov ecx, dword [ebp - 0x24]
push esi
call fcn.00428b3f
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp + 0x90]
call fcn.00415271
push ebx
lea ecx, [ebp + 0xac]
mov dword [ebp + 0xc4], 0xf
call fcn.00415e5a
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x4c]
push eax
mov byte [ebp - 4], 0xe
call fcn.0042d802
push dword [ebp - 0x1c]
lea edx, [ebp + 0xac]
mov ecx, eax
mov byte [ebp - 4], 0xf
call fcn.00435dcd
pop ecx
push ebx
test eax, eax
push edi
lea ecx, [ebp - 0x4c]
setne byte [ebp - 0xe]
mov byte [ebp - 4], 0xe
call fcn.00415386
cmp byte [ebp - 0xe], bl
je 0x438600
push ebx
push edi
lea ecx, [ebp + 0xac]
call fcn.00415386
push ebx
push edi
lea ecx, [ebp + 0x90]
call fcn.00415386
lea ecx, [ebp]
call fcn.0042c4e8
mov esi, edi
jmp 0x4384cd
mov esi, dword [ebp - 0x1c]
lea eax, [ebp - 0x18]
push eax
call fcn.0042a86d
test eax, eax
pop ecx
jne 0x4385d7
cmp dword [esi + 0x18], 0x10
jb 0x43861e
add esi, 4
mov eax, dword [esi]
jmp 0x438623
add esi, 4
mov eax, esi
push eax
mov dword [ebp - 0x28], esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
mov eax, dword [ebp - 0x1c]
jne 0x438651
cmp dword [eax + 0x18], 0x10
jb 0x43863e
mov eax, dword [esi]
jmp 0x438640
mov eax, esi
push eax
push str.Cannot_overwrite__s_file
push ebx
call fcn.0048212f
add esp, 0xc
jmp 0x4385d7
cmp dword [eax + 0x18], 0x10
jb 0x43865b
mov eax, dword [esi]
jmp 0x43865d
mov eax, esi
push edi
push 0x40
push 2
push eax
lea ecx, [ebp - 0x1dc]
call fcn.00435b7d
cmp dword [ebp + 0xc4], 0x10
mov eax, dword [ebp + 0xb0]
mov byte [ebp - 4], 0x10
jae 0x438687
lea eax, [ebp + 0xb0]
push edi
push 0x40
push edi
push eax
lea ecx, [ebp - 0xdc]
call fcn.00435b7d
mov eax, dword [ebp - 0x1dc]
mov eax, dword [eax + 4]
mov eax, dword [ebp + eax - 0x1d4]
test al, 6
mov byte [ebp - 4], 0x11
je 0x4386f0
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x18], 0x10
jb 0x4386bc
mov eax, dword [esi]
jmp 0x4386be
mov eax, esi
push eax
push str.Cannot_overwrite__s_file
push ebx
call fcn.0048212f
add esp, 0xc
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 0x10
call fcn.00432737
lea ecx, [ebp - 0x1dc]
mov byte [ebp - 4], 0xe
call fcn.00432737
jmp 0x4385d7
mov eax, dword [ebp - 0xdc]
mov eax, dword [eax + 4]
mov eax, dword [ebp + eax - 0xd4]
test al, 6
je 0x438721
cmp dword [ebp + 0xc4], 0x10
mov eax, dword [ebp + 0xb0]
jae 0x438719
lea eax, [ebp + 0xb0]
push eax
push str.Cannot_open__s_backup_file
jmp 0x4386c4
test al, 1
mov byte [ebp - 0xe], bl
mov byte [ebp - 0xf], bl
jne 0x43895d
or esi, 0xffffffff
cmp eax, ebx
jne 0x43895a
push ebx
lea ecx, [ebp + 0xe4]
mov dword [ebp + 0xfc], 0xf
call fcn.00415e5a
push 0xa
lea eax, [ebp + 0xe4]
push eax
lea eax, [ebp - 0xdc]
push eax
mov byte [ebp - 4], 0x12
call fcn.004334f0
mov eax, dword [ebp + 0xe8]
add esp, 0xc
cmp dword [ebp + 0xfc], 0x10
jae 0x438781
lea eax, [ebp + 0xe8]
push str._operating_systems_
push eax
call fcn.00583f9e
test eax, eax
pop ecx
pop ecx
jne 0x43879e
mov byte [ebp - 0xe], 1
mov byte [ebp - 0xf], bl
jmp 0x4388fc
cmp dword [ebp + 0xfc], 0x10
mov eax, dword [ebp + 0xe8]
jae 0x4387b3
lea eax, [ebp + 0xe8]
push str._boot_loader_
push eax
call fcn.00583f9e
test eax, eax
pop ecx
pop ecx
jne 0x4387d0
mov byte [ebp - 0xe], bl
mov byte [ebp - 0xf], 1
jmp 0x4388fc
cmp byte [ebp - 0xf], bl
je 0x438893
push ebx
push 0x6315a4
lea ecx, [ebp + 0xe4]
call fcn.0042a902
test eax, eax
je 0x438796
cmp byte [ebp - 0xd], bl
je 0x438834
push ebx
push str.default
lea ecx, [ebp + 0xe4]
call fcn.0042a902
test eax, eax
jne 0x438834
lea eax, [ebp + 0x38]
push eax
lea eax, [ebp - 0x4c]
push str.default
push eax
call fcn.0042d39f
add esp, 0xc
push esi
push ebx
push eax
lea ecx, [ebp + 0xe4]
mov byte [ebp - 4], 0x13
call fcn.00415271
lea ecx, [ebp - 0x4c]
jmp 0x438886
cmp byte [ebp - 0x10], bl
je 0x4388fc
push ebx
push 0x631960
lea ecx, [ebp + 0xe4]
call fcn.0042a902
test eax, eax
jne 0x4388fc
lea eax, [ebp + 0x74]
push eax
lea eax, [ebp - 0x14c]
push 0x631960
push eax
call fcn.0042d39f
add esp, 0xc
push esi
push ebx
push eax
lea ecx, [ebp + 0xe4]
mov byte [ebp - 4], 0x14
call fcn.00415271
lea ecx, [ebp - 0x14c]
push ebx
push edi
mov byte [ebp - 4], 0x12
call fcn.00415386
jmp 0x4388fc
cmp byte [ebp - 0xe], bl
je 0x4388fc
push ebx
push 0x6315a4
lea ecx, [ebp + 0xe4]
call fcn.0042a902
test eax, eax
jne 0x4388b2
mov byte [ebp - 0xe], bl
jmp 0x4388fc
cmp byte [ebp - 0xd], bl
je 0x4388fc
cmp dword [ebp + 0xa4], ebx
je 0x4388fc
lea eax, [ebp + 0x90]
push eax
lea ecx, [ebp + 0xe4]
call fcn.00414bc5
test eax, eax
lea ecx, [ebp + 0xe4]
lea eax, [ebp]
je 0x4388f4
push eax
call fcn.00414bc5
test eax, eax
jne 0x4388fc
lea eax, [ebp + 0x90]
lea ecx, [ebp + 0xe4]
push esi
push ebx
push eax
call fcn.00415271
lea eax, [ebp + 0xe4]
push eax
lea eax, [ebp - 0x1d4]
push eax
call fcn.0043322c
mov eax, dword [ebp - 0xdc]
mov eax, dword [eax + 4]
test byte [ebp + eax - 0xd4], 1
pop ecx
pop ecx
jne 0x438931
lea eax, [ebp - 0x1d4]
push eax
call fcn.0042841f
pop ecx
push ebx
push edi
lea ecx, [ebp + 0xe4]
mov byte [ebp - 4], 0x11
call fcn.00415386
mov eax, dword [ebp - 0xdc]
mov eax, dword [eax + 4]
mov eax, dword [ebp + eax - 0xd4]
test al, 1
je 0x438732
mov esi, dword [ebp - 0x28]
lea ecx, [ebp - 0x1dc]
call fcn.00430e30
lea ecx, [ebp - 0xdc]
call fcn.00430e30
test byte [ebp - 0x18], 1
je 0x438992
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x18], 0x10
jb 0x438986
mov eax, dword [esi]
jmp 0x438988
mov eax, esi
push dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 0x10
call fcn.00432737
lea ecx, [ebp - 0x1dc]
mov byte [ebp - 4], 0xe
call fcn.00432737
push ebx
push edi
lea ecx, [ebp + 0xac]
call fcn.00415386
push ebx
push edi
lea ecx, [ebp + 0x90]
call fcn.00415386
jmp 0x43848c