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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x101bd92c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
mov ebx, ecx
push eax
mov dword [ebp - 0x210], ebx
call fcn.10098090
add ebx, 0x90
add esp, 0xc
cmp dword [ebx + 0x14], 8
jb 0x10074c9c
mov eax, dword [ebx]
jmp 0x10074c9e
mov eax, ebx
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push eax
call edi
test eax, eax
jne 0x10074ce8
mov esi, dword [ebp - 0x210]
add esi, 0xa8
cmp dword [esi + 0x14], 8
jb 0x10074cc1
mov eax, dword [esi]
jmp 0x10074cc3
mov eax, esi
push eax
call edi
test eax, eax
je 0x10074ce8
cmp dword [ebx + 0x14], 8
jb 0x10074cd4
mov eax, dword [ebx]
jmp 0x10074cd6
mov eax, ebx
cmp dword [esi + 0x14], 8
jb 0x10074cde
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 + 0x1c]
mov eax, dword [eax]
mov esi, dword [eax]
cmp esi, eax
je 0x10074df8
lea ecx, [ecx]
mov ebx, dword [esi + 0x14]
lea edi, [ebx + 8]
mov ecx, edi
lea edx, [ecx + 2]
jmp 0x10074d10
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10074d10
sub ecx, edx
sar ecx, 1
test ecx, ecx
jle 0x10074da6
mov eax, dword [ebp - 0x210]
add eax, 0x90
cmp dword [eax + 0x14], 8
jb 0x10074d3a
mov eax, dword [eax]
push eax
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0x10191c04
push edi
push str.Setting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, 0x10191c04
lea eax, [ebp - 0x20c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x10074d89
test dx, dx
je 0x10074d85
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x10074d89
add eax, 4
add ecx, 4
test dx, dx
jne 0x10074d63
xor eax, eax
jmp 0x10074d8e
sbb eax, eax
or eax, 1
test eax, eax
je 0x10074da6
lea eax, [ebp - 0x20c]
push eax
call fcn.100946c9
mov ecx, dword [ebx + 4]
add esp, 4
mov dword [ecx], eax
cmp byte [esi + 0xd], 0
jne 0x10074de7
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x10074dcc
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x10074de7
nop
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x10074dc0
jmp 0x10074de7
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x10074de5
cmp esi, dword [eax + 8]
jne 0x10074de5
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x10074dd5
mov esi, eax
mov ebx, dword [ebp - 0x210]
mov eax, dword [ebx + 0x1c]
cmp esi, dword [eax]
jne 0x10074d00
mov eax, dword [ebx + 0x18]
mov eax, dword [eax]
mov esi, dword [eax]
cmp esi, eax
je 0x10074ef9
mov ebx, dword [esi + 0x14]
lea edi, [ebx + 8]
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10074e12
sub ecx, edx
sar ecx, 1
test ecx, ecx
jle 0x10074ea8
mov eax, dword [ebp - 0x210]
add eax, 0x90
cmp dword [eax + 0x14], 8
jb 0x10074e3c
mov eax, dword [eax]
push eax
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0x10191c04
push edi
push str.Setting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, 0x10191c04
lea eax, [ebp - 0x20c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x10074e8b
test dx, dx
je 0x10074e87
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x10074e8b
add eax, 4
add ecx, 4
test dx, dx
jne 0x10074e65
xor eax, eax
jmp 0x10074e90
sbb eax, eax
or eax, 1
test eax, eax
je 0x10074ea8
lea eax, [ebp - 0x20c]
push eax
call fcn.100946c9
mov ecx, dword [ebx + 4]
add esp, 4
mov byte [ecx], al
cmp byte [esi + 0xd], 0
jne 0x10074ee8
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x10074ecd
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x10074ee8
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x10074ec1
jmp 0x10074ee8
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x10074ee6
cmp esi, dword [eax + 8]
jne 0x10074ee6
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x10074ed6
mov esi, eax
mov ebx, dword [ebp - 0x210]
mov eax, dword [ebx + 0x18]
cmp esi, dword [eax]
jne 0x10074e07
mov eax, dword [ebx + 0x20]
mov eax, dword [eax]
mov esi, dword [eax]
cmp esi, eax
je 0x10075008
mov ebx, dword [esi + 0x14]
lea edi, [ebx + 8]
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10074f13
sub ecx, edx
sar ecx, 1
test ecx, ecx
jle 0x10074fb1
mov eax, dword [ebp - 0x210]
add eax, 0x90
cmp dword [eax + 0x14], 8
jb 0x10074f3d
mov eax, dword [eax]
push eax
push 0x104
lea eax, [ebp - 0x20c]
push eax
push str.nothing
push edi
push str.Setting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, str.nothing
lea eax, [ebp - 0x20c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x10074f8c
test dx, dx
je 0x10074f88
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x10074f8c
add eax, 4
add ecx, 4
test dx, dx
jne 0x10074f66
xor eax, eax
jmp 0x10074f91
sbb eax, eax
or eax, 1
test eax, eax
je 0x10074fb1
mov edx, dword [ebx + 4]
lea ecx, [ebp - 0x20c]
mov edi, edi
movzx eax, word [ecx]
mov word [edx], ax
lea ecx, [ecx + 2]
lea edx, [edx + 2]
test ax, ax
jne 0x10074fa0
cmp byte [esi + 0xd], 0
jne 0x10074ff7
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x10074fdc
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x10074ff7
lea ebx, [ebx]
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x10074fd0
jmp 0x10074ff7
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x10074ff5
cmp esi, dword [eax + 8]
jne 0x10074ff5
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x10074fe5
mov esi, eax
mov ebx, dword [ebp - 0x210]
mov eax, dword [ebx + 0x20]
cmp esi, dword [eax]
jne 0x10074f08
mov ecx, ebx
call fcn.10078660
cmp dword [ebx + 0xd4], 8
lea eax, [ebx + 0xc0]
pop edi
pop esi
pop ebx
jb 0x10075023
mov eax, dword [eax]
push eax
push 0x10191d98
push str.ModifySetConfig
push str.SetModify
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, 1
call fcn.1009174c
mov esp, ebp
pop ebp
ret