Function at 0x1003fe20
Capabilities:
Delete file
Get disk information
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101223c6
mov eax, dword fs:[0]
push eax
sub esp, 0x4a0
mov eax, dword [0x1019842c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x4a4], 0
xor eax, eax
mov word [ebp - 0x218], ax
push 0x206
push 0
lea ecx, [ebp - 0x216]
push ecx
call fcn.100e0f10
add esp, 0xc
lea edx, [ebp - 0x218]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
lea ecx, [ebp - 0x438]
call fcn.10019690
mov dword [ebp - 4], 0
mov dword [ebp - 0x4a0], 0
xor eax, eax
mov word [ebp - 0x420], ax
push 0x206
push 0
lea ecx, [ebp - 0x41e]
push ecx
call fcn.100e0f10
add esp, 0xc
push 0x104
lea edx, [ebp - 0x420]
push edx
push str.APPDATA
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x468]
call fcn.10020010
mov byte [ebp - 4], 1
push 2
push 0
lea ecx, [ebp - 0x480]
push ecx
lea ecx, [ebp - 0x468]
call fcn.100194d0
mov dword [ebp - 0x4a8], eax
mov edx, dword [ebp - 0x4a8]
push edx
lea ecx, [ebp - 0x468]
call fcn.100195a0
lea ecx, [ebp - 0x480]
call fcn.10023d20
mov eax, dword [ebp - 0x4a0]
movzx ecx, word [ebp + eax*2 - 0x21a]
test ecx, ecx
jne 0x1003ff4f
mov edx, dword [ebp - 0x4a0]
movzx eax, word [ebp + edx*2 - 0x218]
test eax, eax
je 0x100400cc
push 0x1014fe78
lea ecx, [ebp - 0x438]
call fcn.10019580
mov ecx, dword [ebp - 0x4a0]
movzx edx, word [ebp + ecx*2 - 0x218]
push edx
lea ecx, [ebp - 0x438]
call fcn.10040150
push 0x1014fe7c
lea eax, [ebp - 0x438]
push eax
lea ecx, [ebp - 0x498]
push ecx
call fcn.10040170
add esp, 0xc
mov dword [ebp - 0x4ac], eax
mov edx, dword [ebp - 0x4ac]
push edx
lea ecx, [ebp - 0x438]
call fcn.100195a0
lea ecx, [ebp - 0x498]
call fcn.10023d20
mov eax, dword [ebp - 0x4a0]
add eax, 4
mov dword [ebp - 0x4a0], eax
lea ecx, [ebp - 0x438]
call fcn.10023880
push eax
push 0x1014fe80
lea ecx, [ebp - 0x450]
push ecx
call fcn.1003fc90
add esp, 0xc
lea ecx, [ebp - 0x450]
call fcn.10023880
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x450]
call fcn.10023880
push eax
push 0x1014fe98
push 0x1014fe9c
push 0x1014fea8
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
test eax, eax
je 0x10040026
mov byte [ebp - 0x499], 1
jmp 0x1004002d
mov byte [ebp - 0x499], 0
mov dl, byte [ebp - 0x499]
mov byte [ebp - 0x49a], dl
lea ecx, [ebp - 0x450]
call fcn.10023880
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x438]
call fcn.10023880
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x100400bc
movzx eax, byte [ebp - 0x49a]
test eax, eax
je 0x100400bc
lea ecx, [ebp - 0x438]
push ecx
mov ecx, dword [ebp + 8]
call fcn.1001eaa0
mov edx, dword [ebp - 0x4a4]
or edx, 1
mov dword [ebp - 0x4a4], edx
lea ecx, [ebp - 0x450]
call fcn.10023d20
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x468]
call fcn.10023d20
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x438]
call fcn.10023d20
mov eax, dword [ebp + 8]
jmp 0x1004010e
lea ecx, [ebp - 0x450]
call fcn.10023d20
jmp 0x1003ff27
lea eax, [ebp - 0x468]
push eax
mov ecx, dword [ebp + 8]
call fcn.1001eaa0
mov ecx, dword [ebp - 0x4a4]
or ecx, 1
mov dword [ebp - 0x4a4], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x468]
call fcn.10023d20
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x438]
call fcn.10023d20
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100e3849
mov esp, ebp
pop ebp
ret