Function at 0x10028e20
Capabilities:
Check if file exists
Copy file
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x10080440]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x208
lea eax, [ebp - 0x20c]
mov esi, ecx
push 0
push eax
mov dword [ebp - 0x210], esi
call fcn.10044800
lea ebx, [esi + 0x90]
add esp, 0xc
cmp dword [ebx + 0x14], 8
jb 0x10028e64
mov eax, dword [ebx]
jmp 0x10028e66
mov eax, ebx
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push eax
call edi
test eax, eax
jne 0x10028eaa
add esi, 0xa8
cmp dword [esi + 0x14], 8
jb 0x10028e83
mov eax, dword [esi]
jmp 0x10028e85
mov eax, esi
push eax
call edi
test eax, eax
je 0x10028eaa
cmp dword [ebx + 0x14], 8
jb 0x10028e96
mov eax, dword [ebx]
jmp 0x10028e98
mov eax, ebx
cmp dword [esi + 0x14], 8
jb 0x10028ea0
mov esi, dword [esi]
push 0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov ebx, dword [ebp - 0x210]
mov eax, dword [ebx + 0x20]
mov eax, dword [eax]
mov esi, dword [eax]
cmp esi, eax
je 0x10028fb8
nop
mov ebx, dword [esi + 0x14]
lea edx, [ebx + 0xc]
mov ecx, edx
lea edi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10028ed0
sub ecx, edi
sar ecx, 1
test ecx, ecx
jle 0x10028f66
mov eax, dword [ebp - 0x210]
add eax, 0x90
cmp dword [eax + 0x14], 8
jb 0x10028efa
mov eax, dword [eax]
push eax
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0x10063fd0
push edx
push str.GDftSet
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, 0x10063fd0
lea eax, [ebp - 0x20c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x10028f49
test dx, dx
je 0x10028f45
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x10028f49
add eax, 4
add ecx, 4
test dx, dx
jne 0x10028f23
xor eax, eax
jmp 0x10028f4e
sbb eax, eax
or eax, 1
test eax, eax
je 0x10028f66
lea eax, [ebp - 0x20c]
push eax
call fcn.1004a83c
mov ecx, dword [ebx + 8]
add esp, 4
mov dword [ecx], eax
cmp byte [esi + 0xd], 0
jne 0x10028fa7
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x10028f8c
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x10028fa7
nop
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x10028f80
jmp 0x10028fa7
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x10028fa5
cmp esi, dword [eax + 8]
jne 0x10028fa5
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x10028f95
mov esi, eax
mov ebx, dword [ebp - 0x210]
mov eax, dword [ebx + 0x20]
cmp esi, dword [eax]
jne 0x10028ec0
mov eax, dword [ebx + 0x1c]
mov eax, dword [eax]
mov esi, dword [eax]
cmp esi, eax
je 0x100290b9
mov ebx, dword [esi + 0x14]
lea edi, [ebx + 0xc]
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10028fd2
sub ecx, edx
sar ecx, 1
test ecx, ecx
jle 0x10029068
mov eax, dword [ebp - 0x210]
add eax, 0x90
cmp dword [eax + 0x14], 8
jb 0x10028ffc
mov eax, dword [eax]
push eax
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0x10063fd0
push edi
push str.GDftSet
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, 0x10063fd0
lea eax, [ebp - 0x20c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1002904b
test dx, dx
je 0x10029047
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1002904b
add eax, 4
add ecx, 4
test dx, dx
jne 0x10029025
xor eax, eax
jmp 0x10029050
sbb eax, eax
or eax, 1
test eax, eax
je 0x10029068
lea eax, [ebp - 0x20c]
push eax
call fcn.1004a83c
mov ecx, dword [ebx + 8]
add esp, 4
mov byte [ecx], al
cmp byte [esi + 0xd], 0
jne 0x100290a8
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x1002908d
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x100290a8
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x10029081
jmp 0x100290a8
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x100290a6
cmp esi, dword [eax + 8]
jne 0x100290a6
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x10029096
mov esi, eax
mov ebx, dword [ebp - 0x210]
mov eax, dword [ebx + 0x1c]
cmp esi, dword [eax]
jne 0x10028fc7
mov eax, dword [ebx + 0x24]
mov eax, dword [eax]
mov esi, dword [eax]
cmp esi, eax
je 0x100291c8
mov ebx, dword [esi + 0x14]
lea edi, [ebx + 0xc]
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100290d3
sub ecx, edx
sar ecx, 1
test ecx, ecx
jle 0x10029171
mov eax, dword [ebp - 0x210]
add eax, 0x90
cmp dword [eax + 0x14], 8
jb 0x100290fd
mov eax, dword [eax]
push eax
push 0x104
lea eax, [ebp - 0x20c]
push eax
push str.nothing
push edi
push str.GDftSet
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, str.nothing
lea eax, [ebp - 0x20c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1002914c
test dx, dx
je 0x10029148
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1002914c
add eax, 4
add ecx, 4
test dx, dx
jne 0x10029126
xor eax, eax
jmp 0x10029151
sbb eax, eax
or eax, 1
test eax, eax
je 0x10029171
mov edx, dword [ebx + 8]
lea ecx, [ebp - 0x20c]
nop
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx], ax
lea edx, [edx + 2]
test ax, ax
jne 0x10029160
cmp byte [esi + 0xd], 0
jne 0x100291b7
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x1002919c
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x100291b7
nop word [eax + eax]
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x10029190
jmp 0x100291b7
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x100291b5
cmp esi, dword [eax + 8]
jne 0x100291b5
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x100291a5
mov esi, eax
mov ebx, dword [ebp - 0x210]
mov eax, dword [ebx + 0x24]
cmp esi, dword [eax]
jne 0x100290c8
mov ecx, ebx
call fcn.100293c0
mov eax, dword [ebx + 0x5c]
mov eax, dword [eax]
mov ecx, dword [eax]
cmp ecx, eax
je 0x100292b8
nop
mov ebx, dword [ebx + 0x20]
mov edi, dword [ecx + 0x10]
mov edx, dword [ebx]
mov eax, edx
mov esi, dword [edx + 4]
cmp byte [esi + 0xd], 0
jne 0x10029207
cmp dword [esi + 0x10], edi
jge 0x100291fd
mov esi, dword [esi + 8]
jmp 0x10029201
mov eax, esi
mov esi, dword [esi]
cmp byte [esi + 0xd], 0
je 0x100291f3
cmp eax, edx
je 0x10029210
cmp edi, dword [eax + 0x10]
jge 0x10029212
mov eax, edx
cmp eax, edx
jne 0x10029253
mov eax, dword [ebp - 0x210]
mov ebx, dword [eax + 0x1c]
mov edx, dword [ebx]
mov eax, edx
mov esi, dword [edx + 4]
cmp byte [esi + 0xd], 0
jne 0x10029244
nop dword [eax]
cmp dword [esi + 0x10], edi
jge 0x1002923a
mov esi, dword [esi + 8]
jmp 0x1002923e
mov eax, esi
mov esi, dword [esi]
cmp byte [esi + 0xd], 0
je 0x10029230
cmp eax, edx
je 0x1002924d
cmp edi, dword [eax + 0x10]
jge 0x1002924f
mov eax, edx
cmp eax, edx
je 0x10029267
mov eax, dword [eax + 0x14]
test eax, eax
je 0x10029267
mov edx, dword [ecx + 0x14]
mov eax, dword [eax + 8]
mov edx, dword [edx + 8]
mov eax, dword [eax]
mov dword [edx], eax
cmp byte [ecx + 0xd], 0
jne 0x100292a7
mov eax, dword [ecx + 8]
cmp byte [eax + 0xd], 0
jne 0x1002928c
mov ecx, eax
mov eax, dword [ecx]
cmp byte [eax + 0xd], 0
jne 0x100292a7
mov ecx, eax
mov eax, dword [ecx]
cmp byte [eax + 0xd], 0
je 0x10029280
jmp 0x100292a7
mov eax, dword [ecx + 4]
cmp byte [eax + 0xd], 0
jne 0x100292a5
cmp ecx, dword [eax + 8]
jne 0x100292a5
mov ecx, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x10029295
mov ecx, eax
mov ebx, dword [ebp - 0x210]
mov eax, dword [ebx + 0x5c]
cmp ecx, dword [eax]
jne 0x100291e0
mov eax, dword [ebx + 0x58]
mov eax, dword [eax]
mov ecx, dword [eax]
cmp ecx, eax
je 0x100293a8
mov ebx, dword [ebx + 0x20]
mov edi, dword [ecx + 0x10]
mov edx, dword [ebx]
mov eax, edx
mov esi, dword [edx + 4]
cmp byte [esi + 0xd], 0
jne 0x100292f4
nop word [eax + eax]
cmp dword [esi + 0x10], edi
jge 0x100292ea
mov esi, dword [esi + 8]
jmp 0x100292ee
mov eax, esi
mov esi, dword [esi]
cmp byte [esi + 0xd], 0
je 0x100292e0
cmp eax, edx
je 0x100292fd
cmp edi, dword [eax + 0x10]
jge 0x100292ff
mov eax, edx
cmp eax, edx
jne 0x10029343
mov eax, dword [ebp - 0x210]
mov ebx, dword [eax + 0x1c]
mov edx, dword [ebx]
mov eax, edx
mov esi, dword [edx + 4]
cmp byte [esi + 0xd], 0
jne 0x10029334
nop dword [eax]
cmp dword [esi + 0x10], edi
jge 0x1002932a
mov esi, dword [esi + 8]
jmp 0x1002932e
mov eax, esi
mov esi, dword [esi]
cmp byte [esi + 0xd], 0
je 0x10029320
cmp eax, edx
je 0x1002933d
cmp edi, dword [eax + 0x10]
jge 0x1002933f
mov eax, edx
cmp eax, edx
je 0x10029357
mov eax, dword [eax + 0x14]
test eax, eax
je 0x10029357
mov edx, dword [ecx + 0x14]
mov eax, dword [eax + 8]
mov edx, dword [edx + 8]
mov al, byte [eax]
mov byte [edx], al
cmp byte [ecx + 0xd], 0
jne 0x10029397
mov eax, dword [ecx + 8]
cmp byte [eax + 0xd], 0
jne 0x1002937c
mov ecx, eax
mov eax, dword [ecx]
cmp byte [eax + 0xd], 0
jne 0x10029397
mov ecx, eax
mov eax, dword [ecx]
cmp byte [eax + 0xd], 0
je 0x10029370
jmp 0x10029397
mov eax, dword [ecx + 4]
cmp byte [eax + 0xd], 0
jne 0x10029395
cmp ecx, dword [eax + 8]
jne 0x10029395
mov ecx, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x10029385
mov ecx, eax
mov ebx, dword [ebp - 0x210]
mov eax, dword [ebx + 0x58]
cmp ecx, dword [eax]
jne 0x100292c7
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1002c484
mov esp, ebp
pop ebp
ret