Function at 0x4b2478
Capabilities:
Delete file
Get disk information
Manipulate boot configuration

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xf
push 0
push 0
dec ecx
jne 0x4b2480
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.0040525c
xor eax, eax
push ebp
push 0x4b2a87
push dword fs:[eax]
mov dword fs:[eax], esp
test ebx, ebx
jg 0x4b2a5f
mov eax, 0x4b2aa0
call fcn.00409dbc
test al, al
je 0x4b24ee
xor eax, eax
push ebp
push 0x4b24e4
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x4b2aa0
call fcn.0040526c
push eax
call sub.kernel32.dll_DeleteFileA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4b24ee
mov eax, dword [ebp - 4]
test eax, eax
je 0x4b24fa
sub eax, 4
mov eax, dword [eax]
test eax, eax
jg 0x4b2a5f
mov eax, 0x4b2ab8
call fcn.00409d74
test al, al
je 0x4b25db
xor eax, eax
push ebp
push 0x4b255c
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, 0x4b2ab8
mov dl, 1
mov eax, dword [0x424334]
call fcn.004243ec
mov ebx, eax
push 0
lea eax, [ebp - 8]
push eax
mov ecx, 0x4b2ad0
mov edx, 0x4b2ae0
mov eax, ebx
mov esi, dword [eax]
call dword [esi]
mov eax, ebx
call fcn.00403e30
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4b2573
cmp dword [ebp - 8], 0
je 0x4b25db
lea eax, [ebp - 0x2c]
mov ecx, 0x4b2b04
mov edx, dword [ebp - 8]
call fcn.004050f4
mov eax, dword [ebp - 0x2c]
call fcn.00409dbc
test al, al
je 0x4b25db
lea eax, [ebp - 0x30]
mov ecx, 0x4b2b24
mov edx, dword [ebp - 8]
call fcn.004050f4
mov eax, dword [ebp - 0x30]
call fcn.00409d74
test al, al
jne 0x4b25db
lea eax, [ebp - 0x34]
mov ecx, 0x4b2b50
mov edx, dword [ebp - 8]
call fcn.004050f4
mov eax, dword [ebp - 0x34]
call fcn.00409d74
test al, al
jne 0x4b25db
mov eax, dword [ebp - 8]
call fcn.0040526c
push eax
call sub.kernel32.dll_DeleteFileA
mov eax, 0x4b2b80
call fcn.00409d74
test al, al
je 0x4b2702
mov dl, 1
mov eax, dword [0x419bc4]
call fcn.00403e00
mov dword [ebp - 0x1c], eax
mov ecx, 0x4b2b80
mov dl, 1
mov eax, dword [0x424334]
call fcn.004243ec
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x1c]
mov edx, 0x4b2b94
mov eax, dword [ebp - 0x24]
mov ebx, dword [eax]
call dword [ebx + 0x40]
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x4b26fa
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x20], 1
lea eax, [ebp - 0x14]
call fcn.00404ddc
lea ecx, [ebp - 0xc]
mov edx, dword [ebp - 0x20]
dec edx
mov eax, dword [ebp - 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0xc]
xor ebx, ebx
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x4b265f
sub eax, 4
mov eax, dword [eax]
mov edx, eax
test edx, edx
jle 0x4b267a
mov eax, 1
mov ecx, dword [ebp - 0xc]
cmp byte [ecx + eax - 1], 0x5c
jne 0x4b2676
mov ebx, eax
inc eax
dec edx
jne 0x4b266a
test ebx, ebx
je 0x4b269d
mov esi, dword [ebp - 0xc]
test esi, esi
je 0x4b268a
sub esi, 4
mov esi, dword [esi]
lea eax, [ebp - 0x14]
push eax
mov ecx, esi
sub ecx, ebx
lea edx, [ebx + 1]
mov eax, dword [ebp - 0xc]
call fcn.004052d4
mov dword [ebp - 0x18], 0x43
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 0x18]
call fcn.00404fc4
lea eax, [ebp - 0x38]
mov ecx, 0x4b2bb0
mov edx, dword [ebp - 0xc]
call fcn.004050f4
mov eax, dword [ebp - 0x38]
call fcn.0040526c
push eax
call sub.kernel32.dll_GetDriveTypeA
push dword [ebp - 0xc]
push 0x4b2bb0
push dword [ebp - 0x14]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00405170
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 0x5b
jne 0x4b26a4
inc dword [ebp - 0x20]
dec dword [ebp - 0x28]
jne 0x4b263a
mov eax, dword [ebp - 0x24]
call fcn.00403e30
mov dword [ebp - 0x18], 0x43
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 0x18]
call fcn.00404fc4
lea eax, [ebp - 0x3c]
mov ecx, 0x4b2bb0
mov edx, dword [ebp - 0xc]
call fcn.004050f4
mov eax, dword [ebp - 0x3c]
call fcn.0040526c
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 2
je 0x4b2a52
cmp eax, 5
je 0x4b2a52
lea eax, [ebp - 0x40]
mov ecx, 0x4b2bbc
mov edx, dword [ebp - 0xc]
call fcn.004050f4
mov eax, dword [ebp - 0x40]
call fcn.00409d74
test al, al
je 0x4b27a0
xor eax, eax
push ebp
push 0x4b2796
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x44]
mov ecx, 0x4b2bbc
mov edx, dword [ebp - 0xc]
call fcn.004050f4
mov eax, dword [ebp - 0x44]
call fcn.0040526c
push eax
call sub.kernel32.dll_DeleteFileA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4b27a0
lea eax, [ebp - 0x48]
mov ecx, 0x4b2bd8
mov edx, dword [ebp - 0xc]
call fcn.004050f4
mov eax, dword [ebp - 0x48]
call fcn.00409d74
test al, al
je 0x4b27fc
xor eax, eax
push ebp
push 0x4b27f2
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
mov ecx, 0x4b2bd8
mov edx, dword [ebp - 0xc]
call fcn.004050f4
mov eax, dword [ebp - 0x4c]
call fcn.0040526c
push eax
call sub.kernel32.dll_DeleteFileA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4b27fc
lea eax, [ebp - 0x50]
mov ecx, 0x4b2c04
mov edx, dword [ebp - 0xc]
call fcn.004050f4
mov eax, dword [ebp - 0x50]
call fcn.00409dbc
test al, al
je 0x4b2858
xor eax, eax
push ebp
push 0x4b284e
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x54]
mov ecx, 0x4b2c04
mov edx, dword [ebp - 0xc]
call fcn.004050f4
mov eax, dword [ebp - 0x54]
call fcn.0040526c
push eax
call sub.kernel32.dll_DeleteFileA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4b2858
lea eax, [ebp - 0x58]
mov ecx, 0x4b2c1c
mov edx, dword [ebp - 0xc]
call fcn.004050f4
mov eax, dword [ebp - 0x58]
call fcn.00409d74
test al, al
je 0x4b28b4
xor eax, eax
push ebp
push 0x4b28aa
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x5c]
mov ecx, 0x4b2c1c
mov edx, dword [ebp - 0xc]
call fcn.004050f4
mov eax, dword [ebp - 0x5c]
call fcn.0040526c
push eax
call sub.kernel32.dll_DeleteFileA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4b28b4
lea eax, [ebp - 0x60]
mov ecx, 0x4b2c3c
mov edx, dword [ebp - 0xc]
call fcn.004050f4
mov eax, dword [ebp - 0x60]
call fcn.00409d74
test al, al
je 0x4b2910
xor eax, eax
push ebp
push 0x4b2906
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x64]
mov ecx, 0x4b2c3c
mov edx, dword [ebp - 0xc]
call fcn.004050f4
mov eax, dword [ebp - 0x64]
call fcn.0040526c
push eax
call sub.kernel32.dll_DeleteFileA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4b2910
lea eax, [ebp - 0x68]
mov ecx, 0x4b2c68
mov edx, dword [ebp - 0xc]
call fcn.004050f4
mov eax, dword [ebp - 0x68]
call fcn.00409dbc
test al, al
je 0x4b296c
xor eax, eax
push ebp
push 0x4b2962
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x6c]
mov ecx, 0x4b2c68
mov edx, dword [ebp - 0xc]
call fcn.004050f4
mov eax, dword [ebp - 0x6c]
call fcn.0040526c
push eax
call sub.kernel32.dll_DeleteFileA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4b296c
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0xc]
call fcn.00404e74
lea eax, [ebp - 0x70]
mov ecx, 0x4b2c80
mov edx, dword [ebp - 0x10]
call fcn.004050f4
mov eax, dword [ebp - 0x70]
call fcn.00409d74
test al, al
jne 0x4b29df
lea eax, [ebp - 0x74]
mov ecx, 0x4b2c98
mov edx, dword [ebp - 0x10]
call fcn.004050f4
mov eax, dword [ebp - 0x74]
call fcn.00409d74
test al, al
jne 0x4b29df
xor eax, eax
push ebp
push 0x4b29d5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
call fcn.0040526c
push eax
call sub.kernel32.dll_DeleteFileA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4b29df
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0xc]
call fcn.00404e74
lea eax, [ebp - 0x78]
mov ecx, 0x4b2c80
mov edx, dword [ebp - 0x10]
call fcn.004050f4
mov eax, dword [ebp - 0x78]
call fcn.00409d74
test al, al
jne 0x4b2a52
lea eax, [ebp - 0x7c]
mov ecx, 0x4b2c98
mov edx, dword [ebp - 0x10]
call fcn.004050f4
mov eax, dword [ebp - 0x7c]
call fcn.00409d74
test al, al
jne 0x4b2a52
xor eax, eax
push ebp
push 0x4b2a48
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
call fcn.0040526c
push eax
call sub.kernel32.dll_DeleteFileA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4b2a52
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 0x5b
jne 0x4b2709
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b2a8e
lea eax, [ebp - 0x7c]
mov edx, 0x15
call fcn.00404e00
lea eax, [ebp - 0x14]
mov edx, 5
call fcn.00404e00
ret