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

Disassembly:
push 0x2ac
mov eax, 0x1005a661
call fcn.100422ea
xor esi, esi
lea eax, [ebp - 0x270]
mov edi, ecx
mov ebx, edx
mov dword [ebp - 0x27c], esi
call fcn.1003e12e
mov dword [ebp - 4], esi
cmp dword [ebp - 0x25c], esi
jne 0x1003e270
xor edi, edi
inc edi
push esi
push 1
lea esi, [ebp - 0x270]
call fcn.10002370
mov eax, edi
call fcn.1004236d
ret
xor eax, eax
push 0x206
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push esi
push eax
call fcn.10043280
add esp, 0xc
mov dword [ebp - 0x280], esi
call fcn.10032c9f
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.1003e1bc
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 0x1003e2fd
mov dword [ebp - 0x278], 8
jmp 0x1003e56f
push 3
lea eax, [ebp - 0x21c]
push eax
call fcn.10034e2a
test eax, eax
jne 0x1003e31e
mov dword [ebp - 0x278], 0xa
jmp 0x1003e54f
lea eax, [ebp - 0x238]
push eax
mov dword [ebp - 0x280], 1
call fcn.1003e175
pop ecx
mov byte [ebp - 4], 1
cmp dword [ebp - 0x258], 8
mov esi, dword [ebp - 0x26c]
jae 0x1003e34e
lea esi, [ebp - 0x26c]
cmp dword [ebp - 0x220], 8
mov ebx, dword [ebp - 0x234]
jae 0x1003e363
lea ebx, [ebp - 0x234]
push str.Group
mov edi, reloc.WS2_32.dll_bind
call fcn.10034889
test eax, eax
je 0x1003e532
cmp dword [ebp - 0x220], 8
mov ebx, dword [ebp - 0x234]
jae 0x1003e38f
lea ebx, [ebp - 0x234]
push str.Description
mov esi, str.gxdte_driver
call fcn.10034889
test eax, eax
je 0x1003e532
push str.gxdte
lea esi, [ebp - 0x2b8]
call fcn.10002030
push str._Instance
push eax
lea eax, [ebp - 0x254]
push eax
mov byte [ebp - 4], 2
call fcn.10006cd0
add esp, 0xc
push 0
push 1
mov byte [ebp - 4], 4
call fcn.10002370
push str.Instances_
lea eax, [ebp - 0x238]
push eax
call fcn.10005834
cmp dword [ebp - 0x23c], 8
mov esi, dword [ebp - 0x250]
jae 0x1003e402
lea esi, [ebp - 0x250]
cmp dword [ebp - 0x220], 8
mov ebx, dword [ebp - 0x234]
jae 0x1003e417
lea ebx, [ebp - 0x234]
push str.DefaultInstance
call fcn.10034889
test eax, eax
jne 0x1003e448
xor ebx, ebx
push ebx
push 1
lea esi, [ebp - 0x254]
mov dword [ebp - 0x278], 0xb
call fcn.10002370
mov byte [ebp - 4], bl
push ebx
jmp 0x1003e542
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x254]
lea ecx, [ebp - 0x238]
call fcn.10005e49
push 0x22343
push 0x10068a38
lea ecx, [ebp - 0x29c]
call fcn.100347ad
cmp dword [eax + 0x18], 8
pop ecx
pop ecx
jb 0x1003e47f
mov eax, dword [eax + 4]
jmp 0x1003e482
add eax, 4
cmp dword [ebp - 0x220], 8
mov ebx, dword [ebp - 0x234]
jae 0x1003e497
lea ebx, [ebp - 0x234]
push str.Altitude
mov esi, eax
call fcn.10034889
test eax, eax
je 0x1003e4d6
cmp dword [ebp - 0x220], 8
mov eax, dword [ebp - 0x234]
jae 0x1003e4bc
lea eax, [ebp - 0x234]
xor ebx, ebx
push ebx
push str.Flags
push eax
call fcn.10034865
test eax, eax
je 0x1003e4d8
mov byte [ebp - 0x271], bl
jmp 0x1003e4df
xor ebx, ebx
mov byte [ebp - 0x271], 1
xor edi, edi
push ebx
inc edi
push edi
lea esi, [ebp - 0x29c]
call fcn.10002370
push ebx
lea esi, [ebp - 0x254]
push edi
cmp byte [ebp - 0x271], bl
je 0x1003e515
mov dword [ebp - 0x278], 0xb
call fcn.10002370
push ebx
mov byte [ebp - 4], bl
push edi
jmp 0x1003e544
mov dword [ebp - 0x278], ebx
call fcn.10002370
push ebx
push edi
lea esi, [ebp - 0x238]
mov byte [ebp - 4], bl
call fcn.10002370
jmp 0x1003e56f
mov dword [ebp - 0x278], 0xb
mov byte [ebp - 4], 0
push 0
push 1
lea esi, [ebp - 0x238]
call fcn.10002370
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0x280], 0
je 0x1003e56f
push str.gxdte
call fcn.10034ff1
push dword [ebp - 0x27c]
call fcn.10032cdf
mov edi, dword [ebp - 0x278]
xor esi, esi
jmp 0x1003e25a