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

Disassembly:
push 0x2ac
mov eax, 0x1004a0de
call fcn.10032dfa
xor esi, esi
lea eax, [ebp - 0x270]
mov edi, ecx
mov ebx, edx
mov dword [ebp - 0x27c], esi
call fcn.1002f61d
mov dword [ebp - 4], esi
cmp dword [ebp - 0x25c], esi
jne 0x1002f75f
xor edi, edi
inc edi
push esi
push 1
lea esi, [ebp - 0x270]
call fcn.1000233d
mov eax, edi
call fcn.10032e7d
ret
xor eax, eax
push 0x206
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push esi
push eax
call fcn.10033d90
add esp, 0xc
mov dword [ebp - 0x280], esi
call fcn.10025475
mov dword [ebp - 0x27c], 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.1002f6ab
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 0x1002f7ec
mov dword [ebp - 0x278], 8
jmp 0x1002fa6c
push 3
lea eax, [ebp - 0x21c]
push eax
call fcn.10027214
test eax, eax
jne 0x1002f80d
mov dword [ebp - 0x278], 0xa
jmp 0x1002fa51
lea eax, [ebp - 0x238]
push eax
mov dword [ebp - 0x280], 1
call fcn.1002f664
pop ecx
mov byte [ebp - 4], 1
cmp dword [ebp - 0x258], 8
mov eax, dword [ebp - 0x26c]
jae 0x1002f83d
lea eax, [ebp - 0x26c]
cmp dword [ebp - 0x220], 8
mov edi, dword [ebp - 0x234]
jae 0x1002f852
lea edi, [ebp - 0x234]
push 0
push eax
mov ebx, str.Group
mov esi, reloc.WS2_32.dll_bind
call fcn.10026d88
test eax, eax
je 0x1002fa34
cmp dword [ebp - 0x220], 8
mov edi, dword [ebp - 0x234]
jae 0x1002f881
lea edi, [ebp - 0x234]
push 0
push str.gxdte_driver
mov ebx, str.Description
call fcn.10026d88
test eax, eax
je 0x1002fa34
push str.gxdte
lea esi, [ebp - 0x2b8]
call fcn.10002018
push str._Instance
push eax
lea eax, [ebp - 0x254]
push eax
mov byte [ebp - 4], 2
call fcn.10006e45
add esp, 0xc
push 0
push 1
mov byte [ebp - 4], 4
call fcn.1000233d
push str.Instances_
lea eax, [ebp - 0x238]
push eax
call fcn.1000596e
cmp dword [ebp - 0x23c], 8
mov eax, dword [ebp - 0x250]
jae 0x1002f8f6
lea eax, [ebp - 0x250]
cmp dword [ebp - 0x220], 8
mov edi, dword [ebp - 0x234]
jae 0x1002f90b
lea edi, [ebp - 0x234]
push 0
push eax
mov ebx, str.DefaultInstance
mov esi, reloc.WS2_32.dll_bind
call fcn.10026d88
test eax, eax
jne 0x1002f944
xor ebx, ebx
push ebx
push 1
lea esi, [ebp - 0x254]
mov dword [ebp - 0x278], 0xb
call fcn.1000233d
mov byte [ebp - 4], bl
push ebx
jmp 0x1002fa44
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x254]
lea esi, [ebp - 0x238]
call fcn.10005ff5
push 0x22343
push 0x10054888
lea ecx, [ebp - 0x29c]
call fcn.10026cac
cmp dword [eax + 0x18], 8
pop ecx
pop ecx
jb 0x1002f97b
mov eax, dword [eax + 4]
jmp 0x1002f97e
add eax, 4
cmp dword [ebp - 0x220], 8
mov edi, dword [ebp - 0x234]
jae 0x1002f993
lea edi, [ebp - 0x234]
push 0
push eax
mov ebx, str.Altitude
mov esi, reloc.WS2_32.dll_bind
call fcn.10026d88
test eax, eax
je 0x1002f9d8
cmp dword [ebp - 0x220], 8
mov eax, dword [ebp - 0x234]
jae 0x1002f9be
lea eax, [ebp - 0x234]
xor ebx, ebx
push ebx
push str.Flags
push eax
call fcn.10026d64
test eax, eax
je 0x1002f9da
mov byte [ebp - 0x271], bl
jmp 0x1002f9e1
xor ebx, ebx
mov byte [ebp - 0x271], 1
xor edi, edi
push ebx
inc edi
push edi
lea esi, [ebp - 0x29c]
call fcn.1000233d
push ebx
lea esi, [ebp - 0x254]
push edi
cmp byte [ebp - 0x271], bl
je 0x1002fa17
mov dword [ebp - 0x278], 0xb
call fcn.1000233d
push ebx
mov byte [ebp - 4], bl
push edi
jmp 0x1002fa46
mov dword [ebp - 0x278], ebx
call fcn.1000233d
push ebx
push edi
lea esi, [ebp - 0x238]
mov byte [ebp - 4], bl
call fcn.1000233d
jmp 0x1002fa6c
mov dword [ebp - 0x278], 0xb
mov byte [ebp - 4], 0
push 0
push 1
lea esi, [ebp - 0x238]
call fcn.1000233d
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0x280], 0
je 0x1002fa6c
call fcn.1002735c
push dword [ebp - 0x27c]
call fcn.100254b5
mov edi, dword [ebp - 0x278]
xor esi, esi
jmp 0x1002f749