Function at 0x43807e
Capabilities:
Delete file
Set file attributes

Disassembly:
push ebp
sub esp, 0x100
lea ebp, [esp - 4]
mov eax, dword [0x6d15dc]
xor eax, ebp
mov dword [ebp + 0x100], eax
push 0x1d0
mov eax, 0x5f5ec5
call fcn.0057938a
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 0x6d927c
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x4c]
push 0x6d90a0
push eax
call fcn.0042cdad
mov esi, 0x6d8b60
push esi
push eax
lea eax, [ebp - 0x114]
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
call fcn.0042cdad
push 0x6d8d20
push eax
lea eax, [ebp - 0xf8]
xor edi, edi
push eax
inc edi
mov byte [ebp - 4], 1
call fcn.0042cdad
push 0x6d8ea8
push eax
lea eax, [ebp - 0x130]
push eax
mov byte [ebp - 4], 2
call fcn.0042cdad
push 0x6d8fc0
push eax
lea eax, [ebp + 0x58]
push eax
mov byte [ebp - 4], 3
call fcn.0042cdad
add esp, 0x3c
push ebx
push edi
lea ecx, [ebp - 0x130]
call fcn.00414e93
push ebx
push edi
lea ecx, [ebp - 0xf8]
call fcn.00414e93
push ebx
push edi
lea ecx, [ebp - 0x114]
call fcn.00414e93
push ebx
push edi
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 8
call fcn.00414e93
mov ecx, dword [ebp - 0x18]
push edi
push ebx
lea eax, [ebp + 0x58]
push eax
call fcn.00482680
test al, al
jne 0x4381e4
mov ecx, dword [ebp - 0x18]
lea eax, [ebp + 0xe4]
push eax
call fcn.0042cf1d
cmp dword [eax + 0x18], 0x10
mov byte [ebp - 4], 9
jb 0x438195
mov eax, dword [eax + 4]
jmp 0x438198
add eax, 4
push eax
push 0x62ed54
push ebx
call fcn.00481a0a
add esp, 0xc
lea ecx, [ebp + 0xe4]
push ebx
push edi
call fcn.00414e93
push ebx
push edi
lea ecx, [ebp + 0x58]
call fcn.00414e93
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.0057937b
add ebp, 0x104
leave
ret
push ebx
lea ecx, [ebp + 0xc8]
mov dword [ebp + 0xe0], 0xf
call fcn.00415967
push ebx
lea ecx, [ebp + 0x74]
mov dword [ebp + 0x8c], 0xf
call fcn.00415967
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.0048258f
test al, al
mov esi, str._d_c
je 0x43829c
cmp byte [ebp - 0x11], bl
jne 0x43825b
push str.Switch_requires_a_value_____ENTRY
push ebx
call fcn.00481a0a
pop ecx
pop ecx
push ebx
push edi
lea ecx, [ebp + 0x74]
call fcn.00414e93
lea ecx, [ebp + 0xc8]
jmp 0x4381ad
cmp dword [ebp + 0xe0], 0x10
mov eax, dword [ebp + 0xcc]
jae 0x438270
lea eax, [ebp + 0xcc]
lea ecx, [ebp - 0x1d]
push ecx
lea ecx, [ebp - 0x2c]
push ecx
push esi
push eax
call fcn.0057d44a
add esp, 0x10
cmp eax, edi
jne 0x4382cb
cmp dword [ebp - 0x2c], edi
jl 0x4382cb
mov ecx, dword [ebp - 0x24]
call fcn.00428607
cmp dword [ebp - 0x2c], eax
jg 0x4382cb
mov byte [ebp - 0xd], 1
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x11]
push eax
lea eax, [ebp + 0xc8]
push eax
push 0x6d8d20
call fcn.0048258f
test al, al
je 0x43839b
cmp byte [ebp - 0x11], bl
jne 0x4382f4
push str.Switch_requires_a_value_____TIMEOUT
jmp 0x43823e
cmp dword [ebp + 0xe0], 0x10
mov eax, dword [ebp + 0xcc]
jae 0x4382e0
lea eax, [ebp + 0xcc]
push eax
push str.Invalid_boot_entry_ID_____s
push ebx
call fcn.00481a0a
add esp, 0xc
jmp 0x438246
cmp dword [ebp + 0xe0], 0x10
mov eax, dword [ebp + 0xcc]
jae 0x438309
lea eax, [ebp + 0xcc]
lea ecx, [ebp - 0x1d]
push ecx
lea ecx, [ebp - 0x30]
push ecx
push esi
push eax
call fcn.0057d44a
add esp, 0x10
cmp eax, edi
jne 0x43837b
cmp dword [ebp - 0x30], ebx
jl 0x43837b
push 0xffffffffffffffff
push ebx
lea eax, [ebp + 0xc8]
push eax
lea ecx, [ebp + 0x74]
mov byte [ebp - 0x10], 1
call fcn.00414d7e
lea ecx, [ebp]
call fcn.0042bf94
cmp byte [ebp - 0xd], bl
mov byte [ebp - 4], 0xc
je 0x4383d8
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x24]
dec eax
push eax
call fcn.00428628
push eax
lea ecx, [ebp]
call fcn.0042d3db
cmp byte [ebp - 0x10], bl
jne 0x4383d8
cmp byte [ebp + 0x54], bl
je 0x4383d8
lea ecx, [ebp]
call fcn.0042bf6c
xor esi, esi
jmp 0x4383b0
cmp dword [ebp + 0xe0], 0x10
mov eax, dword [ebp + 0xcc]
jae 0x438390
lea eax, [ebp + 0xcc]
push eax
push str.Invalid_timeout_value_____s
jmp 0x4382e6
cmp byte [ebp - 0xd], bl
jne 0x43833a
push str.Required_switch_missing_____ENTRY___TIMEOUT
push ebx
call fcn.00481a0a
pop ecx
pop ecx
push 2
pop esi
push ebx
push edi
lea ecx, [ebp + 0x74]
call fcn.00414e93
push ebx
push edi
lea ecx, [ebp + 0xc8]
call fcn.00414e93
push ebx
push edi
lea ecx, [ebp + 0x58]
call fcn.00414e93
mov eax, esi
jmp 0x4381c1
push 0x657368
lea ecx, [ebp + 0x90]
call fcn.0041466e
cmp byte [ebp - 0xd], bl
mov byte [ebp - 4], 0xd
je 0x438466
mov ecx, dword [ebp - 0x24]
xor esi, esi
call fcn.00428607
test eax, eax
jbe 0x438466
mov eax, dword [ebp - 0x2c]
dec eax
cmp esi, eax
jae 0x43843f
cmp dword [ebp + 0x50], 0x10
mov eax, dword [ebp + 0x3c]
jae 0x438413
lea eax, [ebp + 0x3c]
mov ecx, dword [ebp - 0x24]
push esi
mov dword [ebp - 0x28], eax
call fcn.00428628
add eax, 0x38
cmp dword [eax + 0x18], 0x10
jb 0x43842d
mov eax, dword [eax + 4]
jmp 0x438430
add eax, 4
push dword [ebp - 0x28]
push eax
call fcn.0058372e
test eax, eax
pop ecx
pop ecx
je 0x43844e
mov ecx, dword [ebp - 0x24]
inc esi
call fcn.00428607
cmp esi, eax
jb 0x4383ff
jmp 0x438466
mov ecx, dword [ebp - 0x24]
push esi
call fcn.00428628
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp + 0x90]
call fcn.00414d7e
push ebx
lea ecx, [ebp + 0xac]
mov dword [ebp + 0xc4], 0xf
call fcn.00415967
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x4c]
push eax
mov byte [ebp - 4], 0xe
call fcn.0042cf02
push dword [ebp - 0x1c]
lea edx, [ebp + 0xac]
mov ecx, eax
mov byte [ebp - 4], 0xf
call fcn.00436430
pop ecx
push ebx
test eax, eax
push edi
lea ecx, [ebp - 0x4c]
setne byte [ebp - 0xe]
mov byte [ebp - 4], 0xe
call fcn.00414e93
cmp byte [ebp - 0xe], bl
je 0x4384e3
push ebx
push edi
lea ecx, [ebp + 0xac]
call fcn.00414e93
push ebx
push edi
lea ecx, [ebp + 0x90]
call fcn.00414e93
lea ecx, [ebp]
call fcn.0042bf6c
mov esi, edi
jmp 0x4383b0
mov esi, dword [ebp - 0x1c]
lea eax, [ebp - 0x18]
push eax
call fcn.0042a2e2
test eax, eax
pop ecx
jne 0x4384ba
cmp dword [esi + 0x18], 0x10
jb 0x438501
add esi, 4
mov eax, dword [esi]
jmp 0x438506
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 0x438534
cmp dword [eax + 0x18], 0x10
jb 0x438521
mov eax, dword [esi]
jmp 0x438523
mov eax, esi
push eax
push str.Cannot_overwrite__s_file
push ebx
call fcn.00481a0a
add esp, 0xc
jmp 0x4384ba
cmp dword [eax + 0x18], 0x10
jb 0x43853e
mov eax, dword [esi]
jmp 0x438540
mov eax, esi
push edi
push 0x40
push 2
push eax
lea ecx, [ebp - 0x1dc]
call fcn.00436131
cmp dword [ebp + 0xc4], 0x10
mov eax, dword [ebp + 0xb0]
mov byte [ebp - 4], 0x10
jae 0x43856a
lea eax, [ebp + 0xb0]
push edi
push 0x40
push edi
push eax
lea ecx, [ebp - 0xdc]
call fcn.00436131
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 0x4385d3
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x18], 0x10
jb 0x43859f
mov eax, dword [esi]
jmp 0x4385a1
mov eax, esi
push eax
push str.Cannot_overwrite__s_file
push ebx
call fcn.00481a0a
add esp, 0xc
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 0x10
call fcn.00432227
lea ecx, [ebp - 0x1dc]
mov byte [ebp - 4], 0xe
call fcn.00432227
jmp 0x4384ba
mov eax, dword [ebp - 0xdc]
mov eax, dword [eax + 4]
mov eax, dword [ebp + eax - 0xd4]
test al, 6
je 0x438604
cmp dword [ebp + 0xc4], 0x10
mov eax, dword [ebp + 0xb0]
jae 0x4385fc
lea eax, [ebp + 0xb0]
push eax
push str.Cannot_open__s_backup_file
jmp 0x4385a7
test al, 1
mov byte [ebp - 0xe], bl
mov byte [ebp - 0xf], bl
jne 0x438840
or esi, 0xffffffff
cmp eax, ebx
jne 0x43883d
push ebx
lea ecx, [ebp + 0xe4]
mov dword [ebp + 0xfc], 0xf
call fcn.00415967
push 0xa
lea eax, [ebp + 0xe4]
push eax
lea eax, [ebp - 0xdc]
push eax
mov byte [ebp - 4], 0x12
call fcn.00433fcd
mov eax, dword [ebp + 0xe8]
add esp, 0xc
cmp dword [ebp + 0xfc], 0x10
jae 0x438664
lea eax, [ebp + 0xe8]
push str._operating_systems_
push eax
call fcn.0058372e
test eax, eax
pop ecx
pop ecx
jne 0x438681
mov byte [ebp - 0xe], 1
mov byte [ebp - 0xf], bl
jmp 0x4387df
cmp dword [ebp + 0xfc], 0x10
mov eax, dword [ebp + 0xe8]
jae 0x438696
lea eax, [ebp + 0xe8]
push str._boot_loader_
push eax
call fcn.0058372e
test eax, eax
pop ecx
pop ecx
jne 0x4386b3
mov byte [ebp - 0xe], bl
mov byte [ebp - 0xf], 1
jmp 0x4387df
cmp byte [ebp - 0xf], bl
je 0x438776
push ebx
push 0x6308b4
lea ecx, [ebp + 0xe4]
call fcn.0042a377
test eax, eax
je 0x438679
cmp byte [ebp - 0xd], bl
je 0x438717
push ebx
push str.default
lea ecx, [ebp + 0xe4]
call fcn.0042a377
test eax, eax
jne 0x438717
lea eax, [ebp + 0x38]
push eax
lea eax, [ebp - 0x4c]
push str.default
push eax
call fcn.0042dbb3
add esp, 0xc
push esi
push ebx
push eax
lea ecx, [ebp + 0xe4]
mov byte [ebp - 4], 0x13
call fcn.00414d7e
lea ecx, [ebp - 0x4c]
jmp 0x438769
cmp byte [ebp - 0x10], bl
je 0x4387df
push ebx
push 0x630c70
lea ecx, [ebp + 0xe4]
call fcn.0042a377
test eax, eax
jne 0x4387df
lea eax, [ebp + 0x74]
push eax
lea eax, [ebp - 0x14c]
push 0x630c70
push eax
call fcn.0042dbb3
add esp, 0xc
push esi
push ebx
push eax
lea ecx, [ebp + 0xe4]
mov byte [ebp - 4], 0x14
call fcn.00414d7e
lea ecx, [ebp - 0x14c]
push ebx
push edi
mov byte [ebp - 4], 0x12
call fcn.00414e93
jmp 0x4387df
cmp byte [ebp - 0xe], bl
je 0x4387df
push ebx
push 0x6308b4
lea ecx, [ebp + 0xe4]
call fcn.0042a377
test eax, eax
jne 0x438795
mov byte [ebp - 0xe], bl
jmp 0x4387df
cmp byte [ebp - 0xd], bl
je 0x4387df
cmp dword [ebp + 0xa4], ebx
je 0x4387df
lea eax, [ebp + 0x90]
push eax
lea ecx, [ebp + 0xe4]
call fcn.004146d2
test eax, eax
lea ecx, [ebp + 0xe4]
lea eax, [ebp]
je 0x4387d7
push eax
call fcn.004146d2
test eax, eax
jne 0x4387df
lea eax, [ebp + 0x90]
lea ecx, [ebp + 0xe4]
push esi
push ebx
push eax
call fcn.00414d7e
lea eax, [ebp + 0xe4]
push eax
lea eax, [ebp - 0x1d4]
push eax
call fcn.00433e64
mov eax, dword [ebp - 0xdc]
mov eax, dword [eax + 4]
test byte [ebp + eax - 0xd4], 1
pop ecx
pop ecx
jne 0x438814
lea eax, [ebp - 0x1d4]
push eax
call fcn.00427f2c
pop ecx
push ebx
push edi
lea ecx, [ebp + 0xe4]
mov byte [ebp - 4], 0x11
call fcn.00414e93
mov eax, dword [ebp - 0xdc]
mov eax, dword [eax + 4]
mov eax, dword [ebp + eax - 0xd4]
test al, 1
je 0x438615
mov esi, dword [ebp - 0x28]
lea ecx, [ebp - 0x1dc]
call fcn.004313e7
lea ecx, [ebp - 0xdc]
call fcn.004313e7
test byte [ebp - 0x18], 1
je 0x438875
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x18], 0x10
jb 0x438869
mov eax, dword [esi]
jmp 0x43886b
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.00432227
lea ecx, [ebp - 0x1dc]
mov byte [ebp - 4], 0xe
call fcn.00432227
push ebx
push edi
lea ecx, [ebp + 0xac]
call fcn.00414e93
push ebx
push edi
lea ecx, [ebp + 0x90]
call fcn.00414e93
jmp 0x43836f