Function at 0x42dd50
Capabilities:
Delete file
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x47c6c6
mov eax, dword fs:[0]
push eax
sub esp, 0x104
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a9128]
xor eax, esp
push eax
lea eax, [esp + 0x118]
mov dword fs:[0], eax
lea ecx, [esp + 0x6c]
call fcn.004078a0
lea ecx, [esp + 0x48]
mov dword [esp + 0x120], 0
call fcn.004078a0
mov byte [esp + 0x120], 1
call fcn.00434e50
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x42ddbc
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0x120], 2
call fcn.00434e50
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x42ddee
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x6c]
mov byte [esp + 0x120], 3
call fcn.00407900
lea ecx, [esp + 0x48]
call fcn.00407900
lea ecx, [esp + 0x90]
call fcn.00416b90
lea ecx, [esp + 0xb4]
mov byte [esp + 0x120], 4
call fcn.0040da60
mov edi, dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
push 0
push 0
mov byte [esp + 0x128], 5
call edi
mov esi, eax
lea ecx, [esi + 1]
push ecx
call fcn.0043379c
add esp, 4
mov ebx, eax
push ebx
push esi
mov dword [esp + 0x2c], ebx
call edi
mov eax, ebx
lea ecx, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x42de70
sub eax, ecx
mov esi, eax
mov dword [esp + 0x20], esi
call fcn.00434e50
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x42de9b
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
test esi, esi
mov byte [esp + 0x120], 6
jbe 0x42e2cd
jmp 0x42dec0
test ebx, ebx
jne 0x42dec8
xor eax, eax
jmp 0x42dedb
mov eax, ebx
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x42ded0
sub eax, edx
push eax
push ebx
lea ecx, [esp + 0x20]
call fcn.00401910
mov edi, dword [esp + 0x18]
cmp dword [edi - 0xc], 0
jl 0x42e3ba
mov cl, byte [edi]
mov byte [esp + 0x38], cl
mov edx, dword [esp + 0x38]
push edx
call fcn.0040ad80
add esp, 4
test eax, eax
je 0x42df2e
lea ebx, [ebx + esi + 1]
mov eax, ebx
mov dword [esp + 0x24], ebx
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x42df18
sub eax, edx
mov esi, eax
mov dword [esp + 0x20], esi
jmp 0x42e2c5
xor ebx, ebx
jmp 0x42df36
mov edi, dword [esp + 0x18]
cmp dword [edi - 0xc], 0
jl 0x42e3ba
mov al, byte [edi]
mov byte [esp + 0x3c], al
mov ecx, dword [esp + 0x3c]
push ebx
push ecx
lea edx, [esp + 0x4c]
push edx
call fcn.0040b510
push str.mi.dat
push eax
lea eax, [esp + 0x40]
push eax
mov byte [esp + 0x138], 7
call fcn.00401d00
add esp, 0x18
mov ecx, dword [eax]
mov esi, dword [esp + 0x14]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
mov byte [esp + 0x120], 8
je 0x42dfd0
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x42dfc2
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x42dfc2
push eax
call fcn.00401180
mov ebp, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x42dfb9
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebp, 0x10
mov dword [esp + 0x14], ebp
jmp 0x42dfd0
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.00401910
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov byte [esp + 0x120], 7
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42dff8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
mov byte [esp + 0x120], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42e020
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x14]
cmp dword [ecx - 0xc], 6
jle 0x42e0a8
lea ecx, [esp + 0x6c]
call fcn.00407900
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x70]
call fcn.00408480
mov esi, dword [esp + 0x74]
test esi, esi
je 0x42e09d
lea esp, [esp]
test esi, esi
mov eax, esi
je 0x42e3c4
mov eax, dword [eax + 8]
test eax, eax
mov esi, dword [esi]
je 0x42e099
lea ecx, [esp + 0x1c]
push ecx
lea edi, [eax + 0x10]
lea ebp, [eax + 0xc]
push edi
push ebp
add eax, 4
push eax
lea ecx, [esp + 0xa0]
call fcn.00419950
test eax, eax
je 0x42e099
push 0
push edi
push ebp
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0xc4]
call fcn.00414130
test esi, esi
jne 0x42e050
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
add ebx, 1
cmp ebx, 3
jl 0x42df32
xor eax, eax
mov dword [esp + 0x28], eax
lea ebx, [ebx]
mov ecx, dword [esp + 0x18]
cmp dword [ecx - 0xc], 0
jl 0x42e3ba
mov edx, ecx
mov cl, byte [edx]
mov byte [esp + 0x40], cl
mov edx, dword [esp + 0x40]
push eax
push edx
lea eax, [esp + 0x3c]
push eax
call fcn.0040b510
push str.wei.dat
push eax
lea ecx, [esp + 0x44]
push ecx
mov byte [esp + 0x138], 9
call fcn.00401d00
add esp, 0x18
mov eax, dword [eax]
mov ebp, dword [esp + 0x14]
lea esi, [eax - 0x10]
add ebp, 0xfffffff0
cmp esi, ebp
mov byte [esp + 0x120], 0xa
je 0x42e1b2
cmp dword [ebp + 0xc], 0
lea ebx, [ebp + 0xc]
jl 0x42e1a4
mov ecx, dword [esi]
cmp ecx, dword [ebp]
jne 0x42e1a4
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x42e14e
cmp eax, dword [esi]
jne 0x42e14e
mov edi, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x42e184
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 1
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x42e3c9
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
add eax, 1
push eax
add esi, 0x10
push esi
push eax
lea ecx, [edi + 0x10]
push ecx
call fcn.0045cd8f
add esp, 0x10
or edx, 0xffffffff
lock xadd dword [ebx], edx
dec edx
test edx, edx
jg 0x42e19b
mov ecx, dword [ebp]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebp
call edx
add edi, 0x10
mov dword [esp + 0x14], edi
jmp 0x42e1b2
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.00401910
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
mov byte [esp + 0x120], 9
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42e1da
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
mov byte [esp + 0x120], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42e202
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x14]
cmp dword [ecx - 0xc], 7
jle 0x42e288
lea ecx, [esp + 0x48]
call fcn.00407900
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x4c]
call fcn.00408480
mov esi, dword [esp + 0x50]
test esi, esi
je 0x42e27d
jmp 0x42e230
test esi, esi
mov eax, esi
je 0x42e3c4
mov eax, dword [eax + 8]
test eax, eax
mov esi, dword [esi]
je 0x42e279
lea ecx, [esp + 0x1c]
push ecx
lea edi, [eax + 0x10]
lea ebp, [eax + 0xc]
push edi
push ebp
add eax, 4
push eax
lea ecx, [esp + 0xa0]
call fcn.0041a730
test eax, eax
je 0x42e279
push 0
push edi
push ebp
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0xc4]
call fcn.00412b00
test esi, esi
jne 0x42e230
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [esp + 0x28]
add eax, 1
cmp eax, 3
mov dword [esp + 0x28], eax
jl 0x42e0c0
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
lea eax, [ecx + edx + 1]
mov dword [esp + 0x24], eax
lea edx, [eax + 1]
nop
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x42e2b0
mov ebx, dword [esp + 0x24]
sub eax, edx
mov dword [esp + 0x20], eax
mov esi, eax
test esi, esi
ja 0x42dec0
push ebx
call fcn.00433797
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
add esp, 4
mov byte [esp + 0x120], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42e2fe
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0xb4]
mov byte [esp + 0x120], 4
call fcn.0040db60
lea ecx, [esp + 0x90]
mov byte [esp + 0x120], 3
call fcn.00416240
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x120], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42e34e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x120], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42e376
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x120], 0
call fcn.00407960
lea ecx, [esp + 0x6c]
mov dword [esp + 0x120], 0xffffffff
call fcn.00407960
mov eax, 1
mov ecx, dword [esp + 0x118]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x110
ret
push 0x80070057
call fcn.00401000
jmp fcn.00433e1f
jmp fcn.00401170