Function at 0x100517ec
Capabilities:
Copy file

Disassembly:
push ebp
lea ebp, [esp - 0x19c]
sub esp, 0x21c
mov eax, dword [0x10139d20]
xor eax, ebp
mov dword [ebp + 0x198], eax
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x18]
push edi
push eax
mov eax, dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x78]
call fcn.10051728
mov eax, dword [esi + 0x18]
push eax
push dword [eax + 4]
lea ecx, [ebp - 0x80]
call fcn.10051728
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x78]
call fcn.1003f8a6
mov edi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
jmp 0x100518b1
call fcn.1003f8cd
mov ebx, dword [eax + 4]
mov eax, dword [ebx + 4]
movzx eax, byte [eax]
push eax
lea eax, [ebp - 0x70]
push 0x100f2494
push eax
call fcn.100054f5
add ebx, 8
push ebx
call fcn.10077b72
add esp, 0x10
test eax, eax
jle 0x1005188e
lea eax, [esi + 0x98]
cmp dword [eax + 0x18], 8
jb 0x1005187e
mov eax, dword [eax + 4]
jmp 0x10051881
add eax, 4
push eax
lea eax, [ebp - 0x70]
push eax
push ebx
push str.Setting
call edi
lea ecx, [ebp - 0x78]
call fcn.1005141a
mov eax, dword [esi + 0x18]
push eax
push dword [eax + 4]
lea ecx, [ebp - 0x80]
call fcn.10051728
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x78]
call fcn.1003f8a6
test al, al
lea ecx, [ebp - 0x78]
je 0x10051840
mov eax, dword [esi + 0x1c]
push eax
mov eax, dword [eax + 4]
push dword [eax]
call fcn.10051728
jmp 0x1005191c
call fcn.1003f8cd
mov ebx, dword [eax + 4]
mov eax, dword [ebx + 4]
push dword [eax]
lea eax, [ebp - 0x70]
push 0x100f2494
push eax
call fcn.100054f5
add ebx, 8
push ebx
call fcn.10077b72
add esp, 0x10
test eax, eax
jle 0x10051914
lea eax, [esi + 0x98]
cmp dword [eax + 0x18], 8
jb 0x10051904
mov eax, dword [eax + 4]
jmp 0x10051907
add eax, 4
push eax
lea eax, [ebp - 0x70]
push eax
push ebx
push str.Setting
call edi
lea ecx, [ebp - 0x78]
call fcn.1005141a
mov eax, dword [esi + 0x1c]
push eax
push dword [eax + 4]
lea ecx, [ebp - 0x80]
call fcn.10051728
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x78]
call fcn.1003f8a6
test al, al
lea ecx, [ebp - 0x78]
je 0x100518c8
mov eax, dword [esi + 0x20]
push eax
mov eax, dword [eax + 4]
push dword [eax]
call fcn.10051728
jmp 0x100519a3
lea ecx, [ebp - 0x78]
call fcn.1003f8cd
mov ebx, dword [eax + 4]
push dword [ebx + 4]
lea eax, [ebp - 0x70]
push 0x100f2dd0
push eax
call fcn.100054f5
add ebx, 8
push ebx
call fcn.10077b72
add esp, 0x10
test eax, eax
jle 0x1005199b
lea eax, [esi + 0x98]
cmp dword [eax + 0x18], 8
jb 0x1005198b
mov eax, dword [eax + 4]
jmp 0x1005198e
add eax, 4
push eax
lea eax, [ebp - 0x70]
push eax
push ebx
push str.Setting
call edi
lea ecx, [ebp - 0x78]
call fcn.1005141a
mov eax, dword [esi + 0x20]
push eax
push dword [eax + 4]
lea ecx, [ebp - 0x80]
call fcn.10051728
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x78]
call fcn.1003f8a6
test al, al
je 0x1005194e
cmp dword [esi + 0xe8], 8
jb 0x100519d3
mov eax, dword [esi + 0xd4]
jmp 0x100519d9
lea eax, [esi + 0xd4]
push eax
push 0x100f2490
push str.ModifySetConfig
mov ebx, str.SetModify
push ebx
call edi
cmp dword [esi + 0xe8], 8
jb 0x100519fd
mov eax, dword [esi + 0xd4]
jmp 0x10051a03
lea eax, [esi + 0xd4]
push eax
push 0x100f2490
push str.ModifySetConfig64
push ebx
call edi
cmp dword [esi + 0xe8], 8
jb 0x10051a22
mov eax, dword [esi + 0xd4]
jmp 0x10051a28
lea eax, [esi + 0xd4]
push eax
push 0x100f2490
push str.TempModifySetConfig
push ebx
call edi
cmp dword [esi + 0xe8], 8
jb 0x10051a47
mov eax, dword [esi + 0xd4]
jmp 0x10051a4d
lea eax, [esi + 0xd4]
push eax
push 0x100f2490
push str.TempModifySetConfig64
push ebx
call edi
lea eax, [esi + 0xb4]
cmp dword [eax + 0x18], 8
jb 0x10051a6c
mov eax, dword [eax + 4]
jmp 0x10051a6f
add eax, 4
add esi, 0x98
cmp dword [esi + 0x18], 8
jb 0x10051a80
mov esi, dword [esi + 4]
jmp 0x10051a83
add esi, 4
push 0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov ecx, dword [ebp + 0x198]
pop edi
xor eax, eax
pop esi
xor ecx, ebp
inc eax
pop ebx
call fcn.100773e8
add ebp, 0x19c
leave
ret