Function at 0x47bbbc
Capabilities:
Delete file
Get disk information

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x11
push 0
push 0
dec ecx
jne 0x47bbc5
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp + 8]
xor eax, eax
push ebp
push 0x47c4fa
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x65], edx
cmp dword [ebp - 0x14], 0
jne 0x47bc1d
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x5d]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jne 0x47bc1d
xor ecx, ecx
mov edx, 0x283d
mov eax, dword [ebp - 0x10]
call fcn.0047a7e8
jmp 0x47c4cf
cmp dword [ebp - 0x14], 2
jge 0x47bc40
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x61], 0
jne 0x47bc40
xor ecx, ecx
mov edx, 0x2776
mov eax, dword [ebp - 0x10]
call fcn.0047a7e8
jmp 0x47c4cf
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0x172], 0
je 0x47bc72
mov eax, dword [ebp - 0x10]
test byte [eax + 0x35], 4
je 0x47bc72
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0x69], 0
jne 0x47bc72
xor ecx, ecx
mov edx, 0x283e
mov eax, dword [ebp - 0x10]
call fcn.0047a7e8
jmp 0x47c4cf
cmp dword [ebp - 0x14], 2
jge 0x47bc81
mov eax, dword [ebp - 0x10]
test byte [eax + 0x35], 0x40
jne 0x47bc8e
mov eax, dword [ebp - 0x10]
test byte [eax + 0x35], 0x80
je 0x47bd40
mov eax, dword [ebp - 0x10]
test byte [eax + 0x34], 8
jne 0x47bca0
mov eax, dword [ebp - 0x10]
test byte [eax + 0x34], 0x10
je 0x47bcb4
xor ecx, ecx
mov edx, 0x283f
mov eax, dword [ebp - 0x10]
call fcn.0047a7e8
jmp 0x47c4cf
lea edx, [ebp - 0x34]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x61]
call fcn.00409a1c
mov eax, dword [ebp - 0x34]
lea edx, [ebp - 0x30]
call fcn.00408acc
mov eax, dword [ebp - 0x30]
mov edx, 0x47c514
call fcn.00404bec
jne 0x47bcf0
xor ecx, ecx
mov edx, 0x2b21
mov eax, dword [ebp - 0x10]
call fcn.0047a7e8
jmp 0x47c4cf
lea eax, [ebp - 4]
push eax
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 0x10]
call fcn.0047c6d0
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0x50], 0
je 0x47bd4e
mov eax, dword [ebp - 0x10]
cmp word [eax + 0x246], 0
je 0x47bd4e
lea eax, [ebp - 0x38]
mov ecx, dword [ebp - 4]
mov edx, 0x47c524
call fcn.00404aec
mov eax, dword [ebp - 0x38]
push eax
mov edi, dword [ebp - 0x10]
xor ecx, ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edi + 0x248]
call dword [edi + 0x244]
jmp 0x47bd4e
lea eax, [ebp - 4]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x61]
call fcn.00404878
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0x5a], 0
jne 0x47c4cf
cmp dword [ebp - 0x14], 2
jge 0x47be3a
lea edx, [ebp - 0x40]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x61]
call fcn.00409a1c
mov eax, dword [ebp - 0x40]
lea edx, [ebp - 0x3c]
call fcn.00408acc
mov eax, dword [ebp - 0x3c]
mov edx, 0x47c514
call fcn.00404bec
jne 0x47be3a
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x16a], 0
jne 0x47be3a
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x61]
call fcn.00404878
mov eax, dword [ebp - 0xc]
call fcn.004095fc
inc eax
setne al
test al, al
jne 0x47be3a
xor edx, edx
push ebp
push 0x47be10
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x173], 1
mov eax, dword [ebp - 0x10]
call fcn.0047fa1c
mov edi, eax
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x173], 0
test edi, edi
je 0x47be06
push edi
mov ecx, 0x2840
mov dl, 1
mov eax, dword [0x478498]
call fcn.0047d86c
call fcn.004041ec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47be3a
lea edx, [ebp - 0x15]
mov eax, dword [ebp - 0x10]
call fcn.0047ce98
mov edi, eax
test edi, edi
je 0x47c4cf
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x5a], 1
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x3a], 0
xor edx, edx
push ebp
push 0x47c498
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
push ebp
push 0x47c395
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, 0xd8
call fcn.00408a48
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x22c], eax
lea edx, [ebp - 4]
mov ecx, edi
mov eax, dword [ebp - 0x10]
call fcn.0047b3c4
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x22c]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x14], 1
jne 0x47bef8
mov eax, dword [ebp - 0x28]
mov dword [eax + 0xa8], 0xffffffff
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x1f0]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 0x28]
mov dword [edx + 0xac], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x1f0]
mov edx, dword [eax]
call dword [edx]
mov edx, dword [ebp - 0x28]
mov dword [edx + 0xb0], eax
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp + 0xc]
mov dword [eax + 0xb4], edx
mov eax, dword [ebp - 0x28]
mov dword [eax + 0xb8], esi
cmp dword [ebp - 0x14], 2
jne 0x47bf5a
mov eax, dword [ebp - 0x28]
mov dword [eax + 0x9c], 0xffffffff
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x1f0]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 0x28]
mov dword [edx + 0xa0], eax
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
add eax, 6
mov edx, dword [ebp - 0x28]
mov dword [edx + 0xa4], eax
mov eax, dword [ebp - 0x28]
mov dword [eax + 0xa8], 0xffffffff
mov eax, dword [ebx + 4]
mov edx, dword [ebp - 0x28]
mov dword [edx + 0xac], eax
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov edx, dword [ebp - 0x28]
mov dword [edx + 0xb0], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x5d]
mov edx, dword [eax]
call dword [edx + 0x14]
imul eax, eax, 0x68
call fcn.00408a48
mov edx, dword [ebp - 0x28]
mov dword [edx + 0x8c], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x5d]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x47c201
inc eax
mov dword [ebp - 0x2c], eax
xor esi, esi
lea ecx, [ebp - 0x44]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x5d]
mov edx, esi
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x44]
call fcn.00404aa0
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x24], 1
mov eax, dword [ebp - 0x28]
mov ebx, dword [eax + 0x8c]
imul eax, esi, 0x68
add ebx, eax
mov eax, dword [ebp - 0x28]
movzx eax, word [eax + 0x4c]
mov word [ebx + 0x14], ax
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x4c]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x5d]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x4c]
mov ecx, 1
mov edx, 1
call fcn.00404d00
mov eax, dword [ebp - 0x48]
mov edx, 0x47c540
call fcn.00404bec
jne 0x47c009
mov word [ebx + 0x14], 0xffff
inc dword [ebp - 0x24]
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x54]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x5d]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x54]
mov ecx, 1
mov edx, 1
call fcn.00404d00
mov eax, dword [ebp - 0x50]
mov edx, 0x47c54c
call fcn.00404bec
jne 0x47c047
mov word [ebx + 0x14], 0
inc dword [ebp - 0x24]
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x1c]
mov dword [ebx + 0x10], eax
lea eax, [ebp - 0x58]
mov edx, dword [ebp - 0x28]
mov edx, dword [edx + 0x14]
call fcn.004049d8
mov eax, dword [ebp - 0x58]
call fcn.00404aa0
test eax, eax
jle 0x47c0b0
lea eax, [ebp - 0x5c]
mov edx, dword [ebp - 0x28]
mov edx, dword [edx + 0x14]
call fcn.004049d8
mov eax, dword [ebp - 0x5c]
call fcn.00404aa0
inc eax
call fcn.00409d3c
mov edi, eax
mov dword [ebx + 0xc], edi
lea eax, [ebp - 0x60]
mov edx, dword [ebp - 0x28]
mov edx, dword [edx + 0x14]
call fcn.004049d8
mov eax, dword [ebp - 0x60]
call fcn.00404aa0
mov ecx, eax
mov eax, dword [ebp - 0x28]
mov edx, dword [eax + 0x14]
mov eax, edi
call fcn.00409b9c
lea ecx, [ebp - 0x64]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x5d]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x64]
mov eax, 0x47c558
call fcn.0040da2c
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x47c16e
mov dword [ebx + 0x10], 0xffff
mov eax, dword [ebx + 0xc]
call fcn.00409d88
xor eax, eax
mov dword [ebx + 0xc], eax
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x6c]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x5d]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x6c]
mov edx, dword [ebp - 0x20]
inc edx
mov ecx, 1
call fcn.00404d00
cmp dword [ebp - 0x68], 0
jne 0x47c120
xor eax, eax
mov dword [ebx + 0x10], eax
jmp 0x47c16e
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x20]
inc eax
call fcn.00409d3c
mov dword [ebx + 0xc], eax
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x74]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x5d]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x1c]
sub ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x20]
inc edx
call fcn.00404d00
mov edx, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x1c]
sub ecx, dword [ebp - 0x20]
inc ecx
mov eax, dword [ebx + 0xc]
call fcn.00409bf4
mov eax, dword [ebp - 0x20]
dec eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x202], 0
je 0x47c1ae
lea edx, [ebp - 8]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x202]
call fcn.00409a64
mov eax, dword [ebp - 8]
call fcn.00404aa0
mov edi, eax
lea eax, [edi + 1]
call fcn.00409d3c
mov dword [ebx + 0x24], eax
lea ecx, [edi + 1]
mov eax, dword [ebx + 0x24]
mov edx, dword [ebp - 8]
call fcn.00409bf4
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x24]
add eax, 2
call fcn.00409d3c
mov dword [ebx], eax
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0x7c]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x5d]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x1c]
sub ecx, dword [ebp - 0x24]
inc ecx
mov edx, dword [ebp - 0x24]
call fcn.00404d00
mov edx, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x1c]
sub ecx, dword [ebp - 0x24]
add ecx, 2
mov eax, dword [ebx]
call fcn.00409bf4
inc esi
dec dword [ebp - 0x2c]
jne 0x47bf90
mov eax, dword [ebp - 0x28]
mov dword [eax + 0xd4], 7
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x5d]
mov edx, dword [eax]
call dword [edx + 0x14]
mov edx, dword [ebp - 0x10]
mov ebx, dword [edx + 0x22c]
mov dword [ebx + 0x78], eax
push ebx
mov eax, dword [ebp - 0x10]
call dword [eax + 0x214]
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x65], eax
cmp dword [ebp - 0x14], 2
jge 0x47c35b
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x65], 0
jle 0x47c35b
mov eax, dword [ebp - 0x10]
test byte [eax + 0x35], 0x40
jne 0x47c262
mov eax, dword [ebp - 0x10]
test byte [eax + 0x35], 0x80
je 0x47c35b
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x61]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
call fcn.0047e528
test eax, eax
jne 0x47c345
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x194]
call fcn.00404ca0
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 3
je 0x47c29d
cmp eax, 4
jne 0x47c34d
lea eax, [ebp - 0x80]
push eax
lea edx, [ebp - 0x84]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x61]
call fcn.00409a1c
mov eax, dword [ebp - 0x84]
call fcn.00404aa0
push eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x61]
call fcn.00404aa0
mov ecx, eax
pop eax
sub ecx, eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x61]
mov edx, 1
call fcn.00404d00
push dword [ebp - 0x80]
lea eax, [ebp - 0x88]
push eax
lea edx, [ebp - 0x8c]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x19d]
add eax, 0x3e9
call fcn.00409034
mov eax, dword [ebp - 0x8c]
mov ecx, 3
mov edx, 2
call fcn.00404d00
push dword [ebp - 0x88]
lea edx, [ebp - 0x90]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x61]
call fcn.00409a1c
push dword [ebp - 0x90]
mov eax, dword [ebp - 0x10]
add eax, 0x61
mov edx, 3
call fcn.00404b60
jmp 0x47c34d
mov eax, dword [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x65], edx
mov eax, dword [ebp - 4]
call fcn.00404ca0
push eax
call sub.kernel32.dll_DeleteFileA
cmp dword [ebp - 0x14], 2
jne 0x47c38b
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x65], 1
jne 0x47c38b
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x22c]
mov eax, dword [eax + 0xa4]
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x1f0]
mov edx, dword [eax]
call dword [edx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47c3ae
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47c4a2
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x5d]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x1fd]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [ebp - 0x10]
mov edi, dword [eax + 0x22c]
mov eax, dword [edi + 0x7c]
call fcn.00409d88
mov eax, dword [edi + 0x14]
call fcn.00409d88
mov eax, dword [edi + 0x18]
call fcn.00409d88
xor eax, eax
mov dword [edi + 0x14], eax
mov eax, dword [edi + 0x80]
call fcn.00409d88
mov eax, dword [edi + 0x84]
call fcn.00409d88
mov esi, dword [edi + 0x78]
dec esi
cmp esi, 0
jl 0x47c441
mov ebx, dword [edi + 0x8c]
imul eax, esi, 0x68
add ebx, eax
mov eax, dword [ebx]
call fcn.00409d88
mov eax, dword [ebx + 0xc]
call fcn.00409d88
mov eax, dword [ebx + 0x24]
call fcn.00409d88
dec esi
cmp esi, 0xffffffff
jne 0x47c419
mov eax, dword [edi + 0x8c]
call fcn.00402780
mov esi, dword [edi + 0x94]
dec esi
cmp esi, 0
jl 0x47c473
mov eax, dword [edi + 0x98]
mov edx, esi
add edx, edx
add edx, edx
add eax, edx
mov eax, dword [eax]
call fcn.00409d88
dec esi
cmp esi, 0xffffffff
jne 0x47c458
mov eax, dword [edi + 0x98]
call fcn.00402780
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x22c]
call fcn.00402780
mov eax, dword [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x22c], edx
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47c501
lea eax, [ebp - 0x90]
mov edx, 0x19
call fcn.00404804
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404804
ret