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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x5da2b4]
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.004bf1c0
lea ebx, [esi + 0x8c]
add esp, 0xc
cmp dword [ebx + 0x14], 8
jb 0x41d244
mov eax, dword [ebx]
jmp 0x41d246
mov eax, ebx
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push eax
call edi
test eax, eax
jne 0x41d28a
add esi, 0xa4
cmp dword [esi + 0x14], 8
jb 0x41d263
mov eax, dword [esi]
jmp 0x41d265
mov eax, esi
push eax
call edi
test eax, eax
je 0x41d28a
cmp dword [ebx + 0x14], 8
jb 0x41d276
mov eax, dword [ebx]
jmp 0x41d278
mov eax, ebx
cmp dword [esi + 0x14], 8
jb 0x41d280
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 0x41d398
nop
mov ebx, dword [esi + 0x14]
lea edx, [ebx + 8]
mov ecx, edx
lea edi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41d2b0
sub ecx, edi
sar ecx, 1
test ecx, ecx
jle 0x41d346
mov eax, dword [ebp - 0x210]
add eax, 0x8c
cmp dword [eax + 0x14], 8
jb 0x41d2da
mov eax, dword [eax]
push eax
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0x57195c
push edx
push str.Setting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, 0x57195c
lea eax, [ebp - 0x20c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41d329
test dx, dx
je 0x41d325
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41d329
add eax, 4
add ecx, 4
test dx, dx
jne 0x41d303
xor eax, eax
jmp 0x41d32e
sbb eax, eax
or eax, 1
test eax, eax
je 0x41d346
lea eax, [ebp - 0x20c]
push eax
call fcn.004c66ef
mov ecx, dword [ebx + 4]
add esp, 4
mov dword [ecx], eax
cmp byte [esi + 0xd], 0
jne 0x41d387
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x41d36c
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x41d387
nop
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x41d360
jmp 0x41d387
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x41d385
cmp esi, dword [eax + 8]
jne 0x41d385
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x41d375
mov esi, eax
mov ebx, dword [ebp - 0x210]
mov eax, dword [ebx + 0x1c]
cmp esi, dword [eax]
jne 0x41d2a0
mov eax, dword [ebx + 0x18]
mov eax, dword [eax]
mov esi, dword [eax]
cmp esi, eax
je 0x41d499
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 0x41d3b2
sub ecx, edx
sar ecx, 1
test ecx, ecx
jle 0x41d448
mov eax, dword [ebp - 0x210]
add eax, 0x8c
cmp dword [eax + 0x14], 8
jb 0x41d3dc
mov eax, dword [eax]
push eax
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0x57195c
push edi
push str.Setting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, 0x57195c
lea eax, [ebp - 0x20c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41d42b
test dx, dx
je 0x41d427
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41d42b
add eax, 4
add ecx, 4
test dx, dx
jne 0x41d405
xor eax, eax
jmp 0x41d430
sbb eax, eax
or eax, 1
test eax, eax
je 0x41d448
lea eax, [ebp - 0x20c]
push eax
call fcn.004c66ef
mov ecx, dword [ebx + 4]
add esp, 4
mov byte [ecx], al
cmp byte [esi + 0xd], 0
jne 0x41d488
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x41d46d
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x41d488
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x41d461
jmp 0x41d488
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x41d486
cmp esi, dword [eax + 8]
jne 0x41d486
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x41d476
mov esi, eax
mov ebx, dword [ebp - 0x210]
mov eax, dword [ebx + 0x18]
cmp esi, dword [eax]
jne 0x41d3a7
mov eax, dword [ebx + 0x20]
mov eax, dword [eax]
mov esi, dword [eax]
cmp esi, eax
je 0x41d5a8
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 0x41d4b3
sub ecx, edx
sar ecx, 1
test ecx, ecx
jle 0x41d551
mov eax, dword [ebp - 0x210]
add eax, 0x8c
cmp dword [eax + 0x14], 8
jb 0x41d4dd
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 0x41d52c
test dx, dx
je 0x41d528
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41d52c
add eax, 4
add ecx, 4
test dx, dx
jne 0x41d506
xor eax, eax
jmp 0x41d531
sbb eax, eax
or eax, 1
test eax, eax
je 0x41d551
mov edx, dword [ebx + 4]
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 0x41d540
cmp byte [esi + 0xd], 0
jne 0x41d597
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x41d57c
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x41d597
nop word [eax + eax]
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x41d570
jmp 0x41d597
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x41d595
cmp esi, dword [eax + 8]
jne 0x41d595
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x41d585
mov esi, eax
mov ebx, dword [ebp - 0x210]
mov eax, dword [ebx + 0x20]
cmp esi, dword [eax]
jne 0x41d4a8
mov ecx, ebx
call fcn.0041d7c0
cmp dword [ebx + 0xd0], 8
lea eax, [ebx + 0xbc]
jb 0x41d5c0
mov eax, dword [eax]
push eax
push 0x571984
push 0x571988
push str.SetModify
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov eax, dword [ebx + 0x58]
mov eax, dword [eax]
mov ecx, dword [eax]
cmp ecx, eax
je 0x41d6b9
mov ebx, dword [ebx + 0x1c]
mov edi, dword [ecx + 0x10]
mov edx, dword [ebx]
mov eax, edx
mov esi, dword [edx + 4]
cmp byte [esi + 0xd], 0
jne 0x41d60c
cmp dword [esi + 0x10], edi
jge 0x41d602
mov esi, dword [esi + 8]
jmp 0x41d606
mov eax, esi
mov esi, dword [esi]
cmp byte [esi + 0xd], 0
je 0x41d5f8
cmp eax, edx
je 0x41d615
cmp edi, dword [eax + 0x10]
jge 0x41d617
mov eax, edx
cmp eax, edx
jne 0x41d654
mov eax, dword [ebp - 0x210]
mov ebx, dword [eax + 0x18]
mov edx, dword [ebx]
mov eax, edx
mov esi, dword [edx + 4]
cmp byte [esi + 0xd], 0
jne 0x41d645
cmp dword [esi + 0x10], edi
jge 0x41d63b
mov esi, dword [esi + 8]
jmp 0x41d63f
mov eax, esi
mov esi, dword [esi]
cmp byte [esi + 0xd], 0
je 0x41d631
cmp eax, edx
je 0x41d64e
cmp edi, dword [eax + 0x10]
jge 0x41d650
mov eax, edx
cmp eax, edx
je 0x41d668
mov eax, dword [eax + 0x14]
test eax, eax
je 0x41d668
mov edx, dword [ecx + 0x14]
mov eax, dword [eax + 4]
mov edx, dword [edx + 4]
mov eax, dword [eax]
mov dword [edx], eax
cmp byte [ecx + 0xd], 0
jne 0x41d6a8
mov eax, dword [ecx + 8]
cmp byte [eax + 0xd], 0
jne 0x41d68d
mov ecx, eax
mov eax, dword [ecx]
cmp byte [eax + 0xd], 0
jne 0x41d6a8
mov ecx, eax
mov eax, dword [ecx]
cmp byte [eax + 0xd], 0
je 0x41d681
jmp 0x41d6a8
mov eax, dword [ecx + 4]
cmp byte [eax + 0xd], 0
jne 0x41d6a6
cmp ecx, dword [eax + 8]
jne 0x41d6a6
mov ecx, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x41d696
mov ecx, eax
mov ebx, dword [ebp - 0x210]
mov eax, dword [ebx + 0x58]
cmp ecx, dword [eax]
jne 0x41d5e5
mov eax, dword [ebx + 0x54]
mov eax, dword [eax]
mov ecx, dword [eax]
cmp ecx, eax
je 0x41d7a8
mov ebx, dword [ebx + 0x1c]
mov edi, dword [ecx + 0x10]
mov edx, dword [ebx]
mov eax, edx
mov esi, dword [edx + 4]
cmp byte [esi + 0xd], 0
jne 0x41d6f4
nop dword [eax + eax]
cmp dword [esi + 0x10], edi
jge 0x41d6ea
mov esi, dword [esi + 8]
jmp 0x41d6ee
mov eax, esi
mov esi, dword [esi]
cmp byte [esi + 0xd], 0
je 0x41d6e0
cmp eax, edx
je 0x41d6fd
cmp edi, dword [eax + 0x10]
jge 0x41d6ff
mov eax, edx
cmp eax, edx
jne 0x41d743
mov eax, dword [ebp - 0x210]
mov ebx, dword [eax + 0x18]
mov edx, dword [ebx]
mov eax, edx
mov esi, dword [edx + 4]
cmp byte [esi + 0xd], 0
jne 0x41d734
nop dword [eax]
cmp dword [esi + 0x10], edi
jge 0x41d72a
mov esi, dword [esi + 8]
jmp 0x41d72e
mov eax, esi
mov esi, dword [esi]
cmp byte [esi + 0xd], 0
je 0x41d720
cmp eax, edx
je 0x41d73d
cmp edi, dword [eax + 0x10]
jge 0x41d73f
mov eax, edx
cmp eax, edx
je 0x41d757
mov eax, dword [eax + 0x14]
test eax, eax
je 0x41d757
mov edx, dword [ecx + 0x14]
mov eax, dword [eax + 4]
mov edx, dword [edx + 4]
mov al, byte [eax]
mov byte [edx], al
cmp byte [ecx + 0xd], 0
jne 0x41d797
mov eax, dword [ecx + 8]
cmp byte [eax + 0xd], 0
jne 0x41d77c
mov ecx, eax
mov eax, dword [ecx]
cmp byte [eax + 0xd], 0
jne 0x41d797
mov ecx, eax
mov eax, dword [ecx]
cmp byte [eax + 0xd], 0
je 0x41d770
jmp 0x41d797
mov eax, dword [ecx + 4]
cmp byte [eax + 0xd], 0
jne 0x41d795
cmp ecx, dword [eax + 8]
jne 0x41d795
mov ecx, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x41d785
mov ecx, eax
mov ebx, dword [ebp - 0x210]
mov eax, dword [ebx + 0x54]
cmp ecx, dword [eax]
jne 0x41d6c8
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00437c42
mov esp, ebp
pop ebp
ret