Function at 0x10029210
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.10044bd0
lea ebx, [esi + 0x90]
add esp, 0xc
cmp dword [ebx + 0x14], 8
jb 0x10029254
mov eax, dword [ebx]
jmp 0x10029256
mov eax, ebx
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push eax
call edi
test eax, eax
jne 0x1002929a
add esi, 0xa8
cmp dword [esi + 0x14], 8
jb 0x10029273
mov eax, dword [esi]
jmp 0x10029275
mov eax, esi
push eax
call edi
test eax, eax
je 0x1002929a
cmp dword [ebx + 0x14], 8
jb 0x10029286
mov eax, dword [ebx]
jmp 0x10029288
mov eax, ebx
cmp dword [esi + 0x14], 8
jb 0x10029290
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 0x100293a8
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 0x100292c0
sub ecx, edi
sar ecx, 1
test ecx, ecx
jle 0x10029356
mov eax, dword [ebp - 0x210]
add eax, 0x90
cmp dword [eax + 0x14], 8
jb 0x100292ea
mov eax, dword [eax]
push eax
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0x10063fe8
push edx
push str.GDftSet
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, 0x10063fe8
lea eax, [ebp - 0x20c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x10029339
test dx, dx
je 0x10029335
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x10029339
add eax, 4
add ecx, 4
test dx, dx
jne 0x10029313
xor eax, eax
jmp 0x1002933e
sbb eax, eax
or eax, 1
test eax, eax
je 0x10029356
lea eax, [ebp - 0x20c]
push eax
call fcn.1004ac39
mov ecx, dword [ebx + 8]
add esp, 4
mov dword [ecx], eax
cmp byte [esi + 0xd], 0
jne 0x10029397
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x1002937c
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x10029397
nop
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x10029370
jmp 0x10029397
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x10029395
cmp esi, dword [eax + 8]
jne 0x10029395
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x10029385
mov esi, eax
mov ebx, dword [ebp - 0x210]
mov eax, dword [ebx + 0x20]
cmp esi, dword [eax]
jne 0x100292b0
mov eax, dword [ebx + 0x1c]
mov eax, dword [eax]
mov esi, dword [eax]
cmp esi, eax
je 0x100294a9
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 0x100293c2
sub ecx, edx
sar ecx, 1
test ecx, ecx
jle 0x10029458
mov eax, dword [ebp - 0x210]
add eax, 0x90
cmp dword [eax + 0x14], 8
jb 0x100293ec
mov eax, dword [eax]
push eax
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0x10063fe8
push edi
push str.GDftSet
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, 0x10063fe8
lea eax, [ebp - 0x20c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1002943b
test dx, dx
je 0x10029437
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1002943b
add eax, 4
add ecx, 4
test dx, dx
jne 0x10029415
xor eax, eax
jmp 0x10029440
sbb eax, eax
or eax, 1
test eax, eax
je 0x10029458
lea eax, [ebp - 0x20c]
push eax
call fcn.1004ac39
mov ecx, dword [ebx + 8]
add esp, 4
mov byte [ecx], al
cmp byte [esi + 0xd], 0
jne 0x10029498
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x1002947d
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x10029498
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x10029471
jmp 0x10029498
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x10029496
cmp esi, dword [eax + 8]
jne 0x10029496
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x10029486
mov esi, eax
mov ebx, dword [ebp - 0x210]
mov eax, dword [ebx + 0x1c]
cmp esi, dword [eax]
jne 0x100293b7
mov eax, dword [ebx + 0x24]
mov eax, dword [eax]
mov esi, dword [eax]
cmp esi, eax
je 0x100295b8
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 0x100294c3
sub ecx, edx
sar ecx, 1
test ecx, ecx
jle 0x10029561
mov eax, dword [ebp - 0x210]
add eax, 0x90
cmp dword [eax + 0x14], 8
jb 0x100294ed
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 0x1002953c
test dx, dx
je 0x10029538
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1002953c
add eax, 4
add ecx, 4
test dx, dx
jne 0x10029516
xor eax, eax
jmp 0x10029541
sbb eax, eax
or eax, 1
test eax, eax
je 0x10029561
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 0x10029550
cmp byte [esi + 0xd], 0
jne 0x100295a7
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x1002958c
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x100295a7
nop word [eax + eax]
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x10029580
jmp 0x100295a7
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x100295a5
cmp esi, dword [eax + 8]
jne 0x100295a5
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x10029595
mov esi, eax
mov ebx, dword [ebp - 0x210]
mov eax, dword [ebx + 0x24]
cmp esi, dword [eax]
jne 0x100294b8
mov ecx, ebx
call fcn.100297b0
mov eax, dword [ebx + 0x5c]
mov eax, dword [eax]
mov ecx, dword [eax]
cmp ecx, eax
je 0x100296a8
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 0x100295f7
cmp dword [esi + 0x10], edi
jge 0x100295ed
mov esi, dword [esi + 8]
jmp 0x100295f1
mov eax, esi
mov esi, dword [esi]
cmp byte [esi + 0xd], 0
je 0x100295e3
cmp eax, edx
je 0x10029600
cmp edi, dword [eax + 0x10]
jge 0x10029602
mov eax, edx
cmp eax, edx
jne 0x10029643
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 0x10029634
nop dword [eax]
cmp dword [esi + 0x10], edi
jge 0x1002962a
mov esi, dword [esi + 8]
jmp 0x1002962e
mov eax, esi
mov esi, dword [esi]
cmp byte [esi + 0xd], 0
je 0x10029620
cmp eax, edx
je 0x1002963d
cmp edi, dword [eax + 0x10]
jge 0x1002963f
mov eax, edx
cmp eax, edx
je 0x10029657
mov eax, dword [eax + 0x14]
test eax, eax
je 0x10029657
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 0x10029697
mov eax, dword [ecx + 8]
cmp byte [eax + 0xd], 0
jne 0x1002967c
mov ecx, eax
mov eax, dword [ecx]
cmp byte [eax + 0xd], 0
jne 0x10029697
mov ecx, eax
mov eax, dword [ecx]
cmp byte [eax + 0xd], 0
je 0x10029670
jmp 0x10029697
mov eax, dword [ecx + 4]
cmp byte [eax + 0xd], 0
jne 0x10029695
cmp ecx, dword [eax + 8]
jne 0x10029695
mov ecx, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x10029685
mov ecx, eax
mov ebx, dword [ebp - 0x210]
mov eax, dword [ebx + 0x5c]
cmp ecx, dword [eax]
jne 0x100295d0
mov eax, dword [ebx + 0x58]
mov eax, dword [eax]
mov ecx, dword [eax]
cmp ecx, eax
je 0x10029798
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 0x100296e4
nop word [eax + eax]
cmp dword [esi + 0x10], edi
jge 0x100296da
mov esi, dword [esi + 8]
jmp 0x100296de
mov eax, esi
mov esi, dword [esi]
cmp byte [esi + 0xd], 0
je 0x100296d0
cmp eax, edx
je 0x100296ed
cmp edi, dword [eax + 0x10]
jge 0x100296ef
mov eax, edx
cmp eax, edx
jne 0x10029733
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 0x10029724
nop dword [eax]
cmp dword [esi + 0x10], edi
jge 0x1002971a
mov esi, dword [esi + 8]
jmp 0x1002971e
mov eax, esi
mov esi, dword [esi]
cmp byte [esi + 0xd], 0
je 0x10029710
cmp eax, edx
je 0x1002972d
cmp edi, dword [eax + 0x10]
jge 0x1002972f
mov eax, edx
cmp eax, edx
je 0x10029747
mov eax, dword [eax + 0x14]
test eax, eax
je 0x10029747
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 0x10029787
mov eax, dword [ecx + 8]
cmp byte [eax + 0xd], 0
jne 0x1002976c
mov ecx, eax
mov eax, dword [ecx]
cmp byte [eax + 0xd], 0
jne 0x10029787
mov ecx, eax
mov eax, dword [ecx]
cmp byte [eax + 0xd], 0
je 0x10029760
jmp 0x10029787
mov eax, dword [ecx + 4]
cmp byte [eax + 0xd], 0
jne 0x10029785
cmp ecx, dword [eax + 8]
jne 0x10029785
mov ecx, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x10029775
mov ecx, eax
mov ebx, dword [ebp - 0x210]
mov eax, dword [ebx + 0x58]
cmp ecx, dword [eax]
jne 0x100296b7
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1002c8d2
mov esp, ebp
pop ebp
ret