Function at 0x10042657
Capabilities:
Copy file

Disassembly:
push ebp
lea ebp, [esp - 0x19c]
sub esp, 0x21c
mov eax, dword [0x10207390]
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.1001d93c
mov eax, dword [esi + 0x18]
push eax
push dword [eax + 4]
lea ecx, [ebp - 0x80]
call fcn.1001d93c
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x78]
call fcn.10054d99
mov edi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
jmp 0x1004271c
call fcn.10054ee4
mov ebx, dword [eax + 4]
mov eax, dword [ebx + 4]
movzx eax, byte [eax]
push eax
lea eax, [ebp - 0x70]
push 0x10186370
push eax
call fcn.10004df5
add ebx, 8
push ebx
call fcn.10085b54
add esp, 0x10
test eax, eax
jle 0x100426f9
lea eax, [esi + 0x98]
cmp dword [eax + 0x18], 8
jb 0x100426e9
mov eax, dword [eax + 4]
jmp 0x100426ec
add eax, 4
push eax
lea eax, [ebp - 0x70]
push eax
push ebx
push str.Setting
call edi
lea ecx, [ebp - 0x78]
call fcn.100423b5
mov eax, dword [esi + 0x18]
push eax
push dword [eax + 4]
lea ecx, [ebp - 0x80]
call fcn.1001d93c
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x78]
call fcn.10054d99
test al, al
lea ecx, [ebp - 0x78]
je 0x100426ab
mov eax, dword [esi + 0x1c]
push eax
mov eax, dword [eax + 4]
push dword [eax]
call fcn.1001d93c
jmp 0x10042787
call fcn.10054ee4
mov ebx, dword [eax + 4]
mov eax, dword [ebx + 4]
push dword [eax]
lea eax, [ebp - 0x70]
push 0x10186370
push eax
call fcn.10004df5
add ebx, 8
push ebx
call fcn.10085b54
add esp, 0x10
test eax, eax
jle 0x1004277f
lea eax, [esi + 0x98]
cmp dword [eax + 0x18], 8
jb 0x1004276f
mov eax, dword [eax + 4]
jmp 0x10042772
add eax, 4
push eax
lea eax, [ebp - 0x70]
push eax
push ebx
push str.Setting
call edi
lea ecx, [ebp - 0x78]
call fcn.100423b5
mov eax, dword [esi + 0x1c]
push eax
push dword [eax + 4]
lea ecx, [ebp - 0x80]
call fcn.1001d93c
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x78]
call fcn.10054d99
test al, al
lea ecx, [ebp - 0x78]
je 0x10042733
mov eax, dword [esi + 0x20]
push eax
mov eax, dword [eax + 4]
push dword [eax]
call fcn.1001d93c
jmp 0x1004280e
lea ecx, [ebp - 0x78]
call fcn.10054ee4
mov ebx, dword [eax + 4]
push dword [ebx + 4]
lea eax, [ebp - 0x70]
push 0x10187268
push eax
call fcn.10004df5
add ebx, 8
push ebx
call fcn.10085b54
add esp, 0x10
test eax, eax
jle 0x10042806
lea eax, [esi + 0x98]
cmp dword [eax + 0x18], 8
jb 0x100427f6
mov eax, dword [eax + 4]
jmp 0x100427f9
add eax, 4
push eax
lea eax, [ebp - 0x70]
push eax
push ebx
push str.Setting
call edi
lea ecx, [ebp - 0x78]
call fcn.100423b5
mov eax, dword [esi + 0x20]
push eax
push dword [eax + 4]
lea ecx, [ebp - 0x80]
call fcn.1001d93c
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x78]
call fcn.10054d99
test al, al
je 0x100427b9
cmp dword [esi + 0xe8], 8
jb 0x1004283e
mov eax, dword [esi + 0xd4]
jmp 0x10042844
lea eax, [esi + 0xd4]
push eax
push 0x1018636c
push str.ModifySetConfig
mov ebx, str.SetModify
push ebx
call edi
cmp dword [esi + 0xe8], 8
jb 0x10042868
mov eax, dword [esi + 0xd4]
jmp 0x1004286e
lea eax, [esi + 0xd4]
push eax
push 0x1018636c
push str.ModifySetConfig64
push ebx
call edi
cmp dword [esi + 0xe8], 8
jb 0x1004288d
mov eax, dword [esi + 0xd4]
jmp 0x10042893
lea eax, [esi + 0xd4]
push eax
push 0x1018636c
push str.TempModifySetConfig
push ebx
call edi
cmp dword [esi + 0xe8], 8
jb 0x100428b2
mov eax, dword [esi + 0xd4]
jmp 0x100428b8
lea eax, [esi + 0xd4]
push eax
push 0x1018636c
push str.TempModifySetConfig64
push ebx
call edi
lea eax, [esi + 0xb4]
cmp dword [eax + 0x18], 8
jb 0x100428d7
mov eax, dword [eax + 4]
jmp 0x100428da
add eax, 4
add esi, 0x98
cmp dword [esi + 0x18], 8
jb 0x100428eb
mov esi, dword [esi + 4]
jmp 0x100428ee
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.1008545e
add ebp, 0x19c
leave
ret