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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x462524]
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.00429120
lea ebx, [esi + 0x8c]
add esp, 0xc
cmp dword [ebx + 0x14], 8
jb 0x419284
mov eax, dword [ebx]
jmp 0x419286
mov eax, ebx
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push eax
call edi
test eax, eax
jne 0x4192ca
add esi, 0xa4
cmp dword [esi + 0x14], 8
jb 0x4192a3
mov eax, dword [esi]
jmp 0x4192a5
mov eax, esi
push eax
call edi
test eax, eax
je 0x4192ca
cmp dword [ebx + 0x14], 8
jb 0x4192b6
mov eax, dword [ebx]
jmp 0x4192b8
mov eax, ebx
cmp dword [esi + 0x14], 8
jb 0x4192c0
mov esi, dword [esi]
push 0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov edx, dword [ebp - 0x210]
mov eax, dword [edx + 0x18]
mov eax, dword [eax]
mov esi, dword [eax]
cmp esi, eax
je 0x4193d8
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 0x4192f0
sub ecx, edi
sar ecx, 1
test ecx, ecx
jle 0x419386
mov eax, dword [ebp - 0x210]
add eax, 0x8c
cmp dword [eax + 0x14], 8
jb 0x41931a
mov eax, dword [eax]
push eax
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0x44a968
push edx
push str.AppSetting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, 0x44a968
lea eax, [ebp - 0x20c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x419369
test dx, dx
je 0x419365
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x419369
add eax, 4
add ecx, 4
test dx, dx
jne 0x419343
xor eax, eax
jmp 0x41936e
sbb eax, eax
or eax, 1
test eax, eax
je 0x419386
lea eax, [ebp - 0x20c]
push eax
call fcn.0042e79f
mov ecx, dword [ebx + 8]
add esp, 4
mov dword [ecx], eax
cmp byte [esi + 0xd], 0
jne 0x4193c7
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x4193ac
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x4193c7
nop
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x4193a0
jmp 0x4193c7
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x4193c5
cmp esi, dword [eax + 8]
jne 0x4193c5
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x4193b5
mov esi, eax
mov edx, dword [ebp - 0x210]
mov eax, dword [edx + 0x18]
cmp esi, dword [eax]
jne 0x4192e0
mov eax, dword [edx + 0x14]
mov eax, dword [eax]
mov esi, dword [eax]
cmp esi, eax
je 0x4194d9
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 0x4193f2
sub ecx, edx
sar ecx, 1
test ecx, ecx
jle 0x419488
mov eax, dword [ebp - 0x210]
add eax, 0x8c
cmp dword [eax + 0x14], 8
jb 0x41941c
mov eax, dword [eax]
push eax
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0x44a968
push edi
push str.AppSetting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, 0x44a968
lea eax, [ebp - 0x20c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41946b
test dx, dx
je 0x419467
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41946b
add eax, 4
add ecx, 4
test dx, dx
jne 0x419445
xor eax, eax
jmp 0x419470
sbb eax, eax
or eax, 1
test eax, eax
je 0x419488
lea eax, [ebp - 0x20c]
push eax
call fcn.0042e79f
mov ecx, dword [ebx + 8]
add esp, 4
mov byte [ecx], al
cmp byte [esi + 0xd], 0
jne 0x4194c8
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x4194ad
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x4194c8
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x4194a1
jmp 0x4194c8
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x4194c6
cmp esi, dword [eax + 8]
jne 0x4194c6
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x4194b6
mov esi, eax
mov edx, dword [ebp - 0x210]
mov eax, dword [edx + 0x14]
cmp esi, dword [eax]
jne 0x4193e7
mov eax, dword [edx + 0x1c]
mov eax, dword [eax]
mov esi, dword [eax]
cmp esi, eax
je 0x4195e8
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 0x4194f3
sub ecx, edx
sar ecx, 1
test ecx, ecx
jle 0x419591
mov eax, dword [ebp - 0x210]
add eax, 0x8c
cmp dword [eax + 0x14], 8
jb 0x41951d
mov eax, dword [eax]
push eax
push 0x104
lea eax, [ebp - 0x20c]
push eax
push str.nothing
push edi
push str.AppSetting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, str.nothing
lea eax, [ebp - 0x20c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41956c
test dx, dx
je 0x419568
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41956c
add eax, 4
add ecx, 4
test dx, dx
jne 0x419546
xor eax, eax
jmp 0x419571
sbb eax, eax
or eax, 1
test eax, eax
je 0x419591
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 0x419580
cmp byte [esi + 0xd], 0
jne 0x4195d7
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x4195bc
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x4195d7
nop word [eax + eax]
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x4195b0
jmp 0x4195d7
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x4195d5
cmp esi, dword [eax + 8]
jne 0x4195d5
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x4195c5
mov esi, eax
mov edx, dword [ebp - 0x210]
mov eax, dword [edx + 0x1c]
cmp esi, dword [eax]
jne 0x4194e8
mov eax, dword [edx + 0x54]
mov eax, dword [eax]
mov ecx, dword [eax]
cmp ecx, eax
je 0x4196dd
mov ebx, dword [edx + 0x18]
mov edi, dword [ecx + 0x10]
test ebx, ebx
je 0x419639
mov edx, dword [ebx]
mov eax, edx
mov esi, dword [edx + 4]
cmp byte [esi + 0xd], 0
jne 0x419624
nop
cmp dword [esi + 0x10], edi
jge 0x41961a
mov esi, dword [esi + 8]
jmp 0x41961e
mov eax, esi
mov esi, dword [esi]
cmp byte [esi + 0xd], 0
je 0x419610
cmp eax, edx
je 0x41962d
cmp edi, dword [eax + 0x10]
jge 0x41962f
mov eax, edx
cmp eax, edx
jne 0x419673
mov edx, dword [ebp - 0x210]
mov ebx, dword [edx + 0x14]
test ebx, ebx
je 0x41968d
mov edx, dword [ebx]
mov eax, edx
mov esi, dword [edx + 4]
cmp byte [esi + 0xd], 0
jne 0x419664
nop dword [eax]
cmp dword [esi + 0x10], edi
jge 0x41965a
mov esi, dword [esi + 8]
jmp 0x41965e
mov eax, esi
mov esi, dword [esi]
cmp byte [esi + 0xd], 0
je 0x419650
cmp eax, edx
je 0x41966d
cmp edi, dword [eax + 0x10]
jge 0x41966f
mov eax, edx
cmp eax, edx
je 0x419687
mov eax, dword [eax + 0x14]
test eax, eax
je 0x419687
mov edx, dword [ecx + 0x14]
mov eax, dword [eax + 8]
mov edx, dword [edx + 8]
mov eax, dword [eax]
mov dword [edx], eax
mov edx, dword [ebp - 0x210]
cmp byte [ecx + 0xd], 0
jne 0x4196d2
mov eax, dword [ecx + 8]
cmp byte [eax + 0xd], 0
jne 0x4196b2
mov ecx, eax
mov eax, dword [ecx]
cmp byte [eax + 0xd], 0
jne 0x4196d2
mov ecx, eax
mov eax, dword [ecx]
cmp byte [eax + 0xd], 0
je 0x4196a6
jmp 0x4196d2
mov eax, dword [ecx + 4]
cmp byte [eax + 0xd], 0
jne 0x4196d0
nop dword [eax + eax]
cmp ecx, dword [eax + 8]
jne 0x4196d0
mov ecx, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x4196c0
mov ecx, eax
mov eax, dword [edx + 0x54]
cmp ecx, dword [eax]
jne 0x4195f7
mov eax, dword [edx + 0x50]
mov eax, dword [eax]
mov ecx, dword [eax]
cmp ecx, eax
je 0x4197d2
nop dword [eax]
mov ebx, dword [edx + 0x18]
mov edi, dword [ecx + 0x10]
test ebx, ebx
je 0x419730
mov edx, dword [ebx]
mov eax, edx
mov esi, dword [edx + 4]
cmp byte [esi + 0xd], 0
jne 0x41971b
cmp dword [esi + 0x10], edi
jge 0x419711
mov esi, dword [esi + 8]
jmp 0x419715
mov eax, esi
mov esi, dword [esi]
cmp byte [esi + 0xd], 0
je 0x419707
cmp eax, edx
je 0x419724
cmp edi, dword [eax + 0x10]
jge 0x419726
mov eax, edx
cmp eax, edx
jne 0x419767
mov edx, dword [ebp - 0x210]
mov ebx, dword [edx + 0x14]
test ebx, ebx
je 0x419781
mov edx, dword [ebx]
mov eax, edx
mov esi, dword [edx + 4]
cmp byte [esi + 0xd], 0
jne 0x419758
cmp dword [esi + 0x10], edi
jge 0x41974e
mov esi, dword [esi + 8]
jmp 0x419752
mov eax, esi
mov esi, dword [esi]
cmp byte [esi + 0xd], 0
je 0x419744
cmp eax, edx
je 0x419761
cmp edi, dword [eax + 0x10]
jge 0x419763
mov eax, edx
cmp eax, edx
je 0x41977b
mov eax, dword [eax + 0x14]
test eax, eax
je 0x41977b
mov edx, dword [ecx + 0x14]
mov eax, dword [eax + 8]
mov edx, dword [edx + 8]
mov al, byte [eax]
mov byte [edx], al
mov edx, dword [ebp - 0x210]
cmp byte [ecx + 0xd], 0
jne 0x4197c7
mov eax, dword [ecx + 8]
cmp byte [eax + 0xd], 0
jne 0x4197ac
mov ecx, eax
mov eax, dword [ecx]
cmp byte [eax + 0xd], 0
jne 0x4197c7
nop word [eax + eax]
mov ecx, eax
mov eax, dword [ecx]
cmp byte [eax + 0xd], 0
je 0x4197a0
jmp 0x4197c7
mov eax, dword [ecx + 4]
cmp byte [eax + 0xd], 0
jne 0x4197c5
cmp ecx, dword [eax + 8]
jne 0x4197c5
mov ecx, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x4197b5
mov ecx, eax
mov eax, dword [edx + 0x50]
cmp ecx, dword [eax]
jne 0x4196f0
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041e99a
mov esp, ebp
pop ebp
ret