Function at 0x1005df26
Capabilities:
Copy file
Delete file
Get common file path

Disassembly:
push 0x2a4
mov eax, 0x1007a59f
call fcn.100600fa
and dword [ebp - 0x274], 0
lea esi, [ebp - 0x270]
mov edi, ecx
mov ebx, edx
call fcn.1005ddf4
xor esi, esi
mov dword [ebp - 4], esi
cmp dword [ebp - 0x25c], esi
jne 0x1005df6e
xor edi, edi
inc edi
lea esi, [ebp - 0x270]
call fcn.1002fe50
mov eax, edi
call fcn.1006017d
ret
xor eax, eax
push 0x206
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push esi
push eax
call fcn.10062cf0
add esp, 0xc
mov dword [ebp - 0x278], esi
call fcn.1003ae16
mov dword [ebp - 0x274], eax
push 0x104
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push str.drivers
lea eax, [ebp - 0x21c]
push eax
call esi
lea edx, [ebp - 0x21c]
call fcn.1005de7c
push ebx
lea eax, [ebp - 0x21c]
push eax
call esi
push 0
lea eax, [ebp - 0x21c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x1005dff4
push 8
pop edi
jmp 0x1005e214
push 3
lea eax, [ebp - 0x21c]
push eax
call fcn.1003cb99
test eax, eax
jne 0x1005e00e
push 0xa
pop edi
jmp 0x1005e1f9
lea eax, [ebp - 0x238]
mov dword [ebp - 0x278], 1
call fcn.1005de38
mov byte [ebp - 4], 1
cmp dword [ebp - 0x258], 8
mov eax, dword [ebp - 0x26c]
jae 0x1005e03c
lea eax, [ebp - 0x26c]
cmp dword [ebp - 0x220], 8
mov edi, dword [ebp - 0x234]
jae 0x1005e051
lea edi, [ebp - 0x234]
push 0
push eax
mov ebx, str.Group
call fcn.1003c5e2
test eax, eax
je 0x1005e1e7
cmp dword [ebp - 0x220], 8
mov edi, dword [ebp - 0x234]
jae 0x1005e07b
lea edi, [ebp - 0x234]
push 0
push str.gxdte_driver
mov ebx, str.Description
call fcn.1003c5e2
test eax, eax
je 0x1005e1e7
mov eax, str.gxdte
lea ecx, [ebp - 0x294]
call fcn.10007820
push eax
mov ebx, str._Instance
lea esi, [ebp - 0x254]
mov byte [ebp - 4], 2
call fcn.1002af00
pop ecx
lea esi, [ebp - 0x294]
mov byte [ebp - 4], 4
call fcn.1002fe50
lea eax, [ebp - 0x238]
push eax
mov eax, str.Instances_
call fcn.100078c0
cmp dword [ebp - 0x23c], 8
mov eax, dword [ebp - 0x250]
jae 0x1005e0ef
lea eax, [ebp - 0x250]
cmp dword [ebp - 0x220], 8
mov edi, dword [ebp - 0x234]
jae 0x1005e104
lea edi, [ebp - 0x234]
push 0
push eax
mov ebx, str.DefaultInstance
call fcn.1003c5e2
test eax, eax
jne 0x1005e128
lea esi, [ebp - 0x254]
push 0xb
pop edi
call fcn.1002fe50
jmp 0x1005e1ea
push 0
lea eax, [ebp - 0x254]
push eax
or eax, 0xffffffff
lea esi, [ebp - 0x238]
call fcn.1000a820
push 0x22343
push 0x10085294
lea esi, [ebp - 0x2b0]
call fcn.1003c4c4
cmp dword [eax + 0x18], 8
pop ecx
pop ecx
jb 0x1005e161
mov eax, dword [eax + 4]
jmp 0x1005e164
add eax, 4
cmp dword [ebp - 0x220], 8
mov edi, dword [ebp - 0x234]
jae 0x1005e179
lea edi, [ebp - 0x234]
push 0
push eax
mov ebx, str.Altitude
call fcn.1003c5e2
test eax, eax
je 0x1005e1b4
cmp dword [ebp - 0x220], 8
mov eax, dword [ebp - 0x234]
jae 0x1005e19f
lea eax, [ebp - 0x234]
push 0
push str.Flags
push eax
call fcn.1003c5ac
test eax, eax
je 0x1005e1b4
xor bl, bl
jmp 0x1005e1b6
mov bl, 1
lea esi, [ebp - 0x2b0]
call fcn.1002fe50
lea esi, [ebp - 0x254]
test bl, bl
jne 0x1005e11b
xor edi, edi
call fcn.1002fe50
lea esi, [ebp - 0x238]
mov byte [ebp - 4], 0
call fcn.1002fe50
jmp 0x1005e214
push 0xb
pop edi
lea esi, [ebp - 0x238]
mov byte [ebp - 4], 0
call fcn.1002fe50
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0x278], 0
je 0x1005e214
call fcn.1003cce1
push dword [ebp - 0x274]
call fcn.1003ae56
jmp 0x1005df5b