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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x51b08c]
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.004a35f0
lea ebx, [esi + 0x8c]
add esp, 0xc
cmp dword [ebx + 0x14], 8
jb 0x4e0c54
mov eax, dword [ebx]
jmp 0x4e0c56
mov eax, ebx
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push eax
call edi
test eax, eax
jne 0x4e0c9a
add esi, 0xa4
cmp dword [esi + 0x14], 8
jb 0x4e0c73
mov eax, dword [esi]
jmp 0x4e0c75
mov eax, esi
push eax
call edi
test eax, eax
je 0x4e0c9a
cmp dword [ebx + 0x14], 8
jb 0x4e0c86
mov eax, dword [ebx]
jmp 0x4e0c88
mov eax, ebx
cmp dword [esi + 0x14], 8
jb 0x4e0c90
mov esi, dword [esi]
push 0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov edi, dword [ebp - 0x210]
mov eax, dword [edi + 0x18]
mov eax, dword [eax]
mov esi, dword [eax]
cmp esi, eax
je 0x4e0da5
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 0x4e0cc0
sub ecx, edi
mov edi, dword [ebp - 0x210]
sar ecx, 1
test ecx, ecx
jle 0x4e0d5a
cmp dword [edi + 0xa0], 8
lea eax, [edi + 0x8c]
jb 0x4e0cee
mov eax, dword [eax]
push eax
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0x502380
push edx
push str.AppSetting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, 0x502380
lea eax, [ebp - 0x20c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4e0d3d
test dx, dx
je 0x4e0d39
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4e0d3d
add eax, 4
add ecx, 4
test dx, dx
jne 0x4e0d17
xor eax, eax
jmp 0x4e0d42
sbb eax, eax
or eax, 1
test eax, eax
je 0x4e0d5a
lea eax, [ebp - 0x20c]
push eax
call fcn.004a5bf6
mov ecx, dword [ebx + 8]
add esp, 4
mov dword [ecx], eax
cmp byte [esi + 0xd], 0
jne 0x4e0d9a
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x4e0d7f
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x4e0d9a
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x4e0d73
jmp 0x4e0d9a
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x4e0d98
cmp esi, dword [eax + 8]
jne 0x4e0d98
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x4e0d88
mov esi, eax
mov eax, dword [edi + 0x18]
cmp esi, dword [eax]
jne 0x4e0cb0
mov eax, dword [edi + 0x14]
mov eax, dword [eax]
mov esi, dword [eax]
cmp esi, eax
je 0x4e0ea8
mov ebx, dword [esi + 0x14]
lea edi, [ebx + 0xc]
mov ecx, edi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4e0dc0
sub ecx, edx
sar ecx, 1
test ecx, ecx
jle 0x4e0e56
mov eax, dword [ebp - 0x210]
add eax, 0x8c
cmp dword [eax + 0x14], 8
jb 0x4e0dea
mov eax, dword [eax]
push eax
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0x502380
push edi
push str.AppSetting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, 0x502380
lea eax, [ebp - 0x20c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4e0e39
test dx, dx
je 0x4e0e35
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4e0e39
add eax, 4
add ecx, 4
test dx, dx
jne 0x4e0e13
xor eax, eax
jmp 0x4e0e3e
sbb eax, eax
or eax, 1
test eax, eax
je 0x4e0e56
lea eax, [ebp - 0x20c]
push eax
call fcn.004a5bf6
mov ecx, dword [ebx + 8]
add esp, 4
mov byte [ecx], al
cmp byte [esi + 0xd], 0
jne 0x4e0e97
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x4e0e7c
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x4e0e97
nop
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x4e0e70
jmp 0x4e0e97
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x4e0e95
cmp esi, dword [eax + 8]
jne 0x4e0e95
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x4e0e85
mov esi, eax
mov edi, dword [ebp - 0x210]
mov eax, dword [edi + 0x14]
cmp esi, dword [eax]
jne 0x4e0db4
mov eax, dword [edi + 0x1c]
mov eax, dword [eax]
mov esi, dword [eax]
cmp esi, eax
je 0x4e0fb8
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 0x4e0ec2
sub ecx, edx
sar ecx, 1
test ecx, ecx
jle 0x4e0f61
mov eax, dword [ebp - 0x210]
add eax, 0x8c
cmp dword [eax + 0x14], 8
jb 0x4e0eec
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 0x4e0f3b
test dx, dx
je 0x4e0f37
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4e0f3b
add eax, 4
add ecx, 4
test dx, dx
jne 0x4e0f15
xor eax, eax
jmp 0x4e0f40
sbb eax, eax
or eax, 1
test eax, eax
je 0x4e0f61
mov edx, dword [ebx + 8]
lea ecx, [ebp - 0x20c]
nop dword [eax]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx], ax
lea edx, [edx + 2]
test ax, ax
jne 0x4e0f50
cmp byte [esi + 0xd], 0
jne 0x4e0fa7
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x4e0f8c
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x4e0fa7
nop word [eax + eax]
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x4e0f80
jmp 0x4e0fa7
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x4e0fa5
cmp esi, dword [eax + 8]
jne 0x4e0fa5
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x4e0f95
mov esi, eax
mov edi, dword [ebp - 0x210]
mov eax, dword [edi + 0x1c]
cmp esi, dword [eax]
jne 0x4e0eb7
mov eax, dword [edi + 0x54]
mov ecx, dword [eax]
mov eax, dword [ecx]
cmp eax, ecx
je 0x4e10b2
mov ebx, dword [edi + 0x18]
mov esi, dword [eax + 0x10]
test ebx, ebx
je 0x4e1009
mov edi, dword [ebx]
mov edx, edi
mov ecx, dword [edi + 4]
cmp byte [ecx + 0xd], 0
jne 0x4e0ff4
nop
cmp dword [ecx + 0x10], esi
jge 0x4e0fea
mov ecx, dword [ecx + 8]
jmp 0x4e0fee
mov edx, ecx
mov ecx, dword [ecx]
cmp byte [ecx + 0xd], 0
je 0x4e0fe0
cmp edx, edi
je 0x4e0ffd
cmp esi, dword [edx + 0x10]
jge 0x4e0fff
mov edx, edi
cmp edx, edi
jne 0x4e1043
mov edi, dword [ebp - 0x210]
mov ebx, dword [edi + 0x14]
test ebx, ebx
je 0x4e1065
mov edi, dword [ebx]
mov edx, edi
mov ecx, dword [edi + 4]
cmp byte [ecx + 0xd], 0
jne 0x4e1034
nop dword [eax]
cmp dword [ecx + 0x10], esi
jge 0x4e102a
mov ecx, dword [ecx + 8]
jmp 0x4e102e
mov edx, ecx
mov ecx, dword [ecx]
cmp byte [ecx + 0xd], 0
je 0x4e1020
cmp edx, edi
je 0x4e103d
cmp esi, dword [edx + 0x10]
jge 0x4e103f
mov edx, edi
cmp edx, edi
je 0x4e105f
mov ecx, dword [edx + 0x14]
mov edi, dword [ebp - 0x210]
test ecx, ecx
je 0x4e1065
mov edx, dword [eax + 0x14]
mov ecx, dword [ecx + 8]
mov edx, dword [edx + 8]
mov ecx, dword [ecx]
mov dword [edx], ecx
jmp 0x4e1065
mov edi, dword [ebp - 0x210]
cmp byte [eax + 0xd], 0
jne 0x4e10a7
mov ecx, dword [eax + 8]
cmp byte [ecx + 0xd], 0
jne 0x4e108c
mov eax, ecx
mov ecx, dword [eax]
cmp byte [ecx + 0xd], 0
jne 0x4e10a7
nop
mov eax, ecx
mov ecx, dword [eax]
cmp byte [ecx + 0xd], 0
je 0x4e1080
jmp 0x4e10a7
mov ecx, dword [eax + 4]
cmp byte [ecx + 0xd], 0
jne 0x4e10a5
cmp eax, dword [ecx + 8]
jne 0x4e10a5
mov eax, ecx
mov ecx, dword [ecx + 4]
cmp byte [ecx + 0xd], 0
je 0x4e1095
mov eax, ecx
mov ecx, dword [edi + 0x54]
cmp eax, dword [ecx]
jne 0x4e0fc7
mov eax, dword [edi + 0x50]
mov ecx, dword [eax]
mov eax, dword [ecx]
cmp eax, ecx
je 0x4e11a5
mov ebx, dword [edi + 0x18]
mov esi, dword [eax + 0x10]
test ebx, ebx
je 0x4e1101
mov edi, dword [ebx]
mov edx, edi
mov ecx, dword [edi + 4]
cmp byte [ecx + 0xd], 0
jne 0x4e10ec
cmp dword [ecx + 0x10], esi
jge 0x4e10e2
mov ecx, dword [ecx + 8]
jmp 0x4e10e6
mov edx, ecx
mov ecx, dword [ecx]
cmp byte [ecx + 0xd], 0
je 0x4e10d8
cmp edx, edi
je 0x4e10f5
cmp esi, dword [edx + 0x10]
jge 0x4e10f7
mov edx, edi
cmp edx, edi
jne 0x4e1138
mov edi, dword [ebp - 0x210]
mov ebx, dword [edi + 0x14]
test ebx, ebx
je 0x4e115a
mov edi, dword [ebx]
mov edx, edi
mov ecx, dword [edi + 4]
cmp byte [ecx + 0xd], 0
jne 0x4e1129
cmp dword [ecx + 0x10], esi
jge 0x4e111f
mov ecx, dword [ecx + 8]
jmp 0x4e1123
mov edx, ecx
mov ecx, dword [ecx]
cmp byte [ecx + 0xd], 0
je 0x4e1115
cmp edx, edi
je 0x4e1132
cmp esi, dword [edx + 0x10]
jge 0x4e1134
mov edx, edi
cmp edx, edi
je 0x4e1154
mov ecx, dword [edx + 0x14]
mov edi, dword [ebp - 0x210]
test ecx, ecx
je 0x4e115a
mov edx, dword [eax + 0x14]
mov ecx, dword [ecx + 8]
mov edx, dword [edx + 8]
mov cl, byte [ecx]
mov byte [edx], cl
jmp 0x4e115a
mov edi, dword [ebp - 0x210]
cmp byte [eax + 0xd], 0
jne 0x4e119a
mov ecx, dword [eax + 8]
cmp byte [ecx + 0xd], 0
jne 0x4e117f
mov eax, ecx
mov ecx, dword [eax]
cmp byte [ecx + 0xd], 0
jne 0x4e119a
mov eax, ecx
mov ecx, dword [eax]
cmp byte [ecx + 0xd], 0
je 0x4e1173
jmp 0x4e119a
mov ecx, dword [eax + 4]
cmp byte [ecx + 0xd], 0
jne 0x4e1198
cmp eax, dword [ecx + 8]
jne 0x4e1198
mov eax, ecx
mov ecx, dword [ecx + 4]
cmp byte [ecx + 0xd], 0
je 0x4e1188
mov eax, ecx
mov ecx, dword [edi + 0x50]
cmp eax, dword [ecx]
jne 0x4e10c1
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00499a52
mov esp, ebp
pop ebp
ret