Function at 0x10078350
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x101bd92c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
push esi
mov eax, dword [ebx + 0x18]
push edi
mov eax, dword [eax]
mov esi, dword [eax]
cmp esi, eax
je 0x10078423
mov edi, dword [esi + 0x14]
mov eax, dword [edi + 4]
movzx eax, byte [eax]
push eax
lea eax, [ebp - 0x20c]
push 0x10191a90
push eax
call fcn.10091da4
add esp, 0xc
add edi, 8
mov ecx, edi
lea edx, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100783a0
sub ecx, edx
sar ecx, 1
test ecx, ecx
jle 0x100783d8
cmp dword [ebx + 0xa4], 8
lea eax, [ebx + 0x90]
jb 0x100783c4
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x20c]
push eax
push edi
push str.Setting
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
cmp byte [esi + 0xd], 0
jne 0x10078418
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x100783fd
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x10078418
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x100783f1
jmp 0x10078418
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x10078416
cmp esi, dword [eax + 8]
jne 0x10078416
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x10078406
mov esi, eax
mov eax, dword [ebx + 0x18]
cmp esi, dword [eax]
jne 0x10078377
mov eax, dword [ebx + 0x1c]
mov eax, dword [eax]
mov esi, dword [eax]
cmp esi, eax
je 0x100784dd
mov edi, dword [esi + 0x14]
mov eax, dword [edi + 4]
push dword [eax]
lea eax, [ebp - 0x20c]
push 0x10191a90
push eax
call fcn.10091da4
add esp, 0xc
add edi, 8
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10078456
sub ecx, edx
sar ecx, 1
test ecx, ecx
jle 0x1007848e
cmp dword [ebx + 0xa4], 8
lea eax, [ebx + 0x90]
jb 0x1007847a
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x20c]
push eax
push edi
push str.Setting
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
cmp byte [esi + 0xd], 0
jne 0x100784d2
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x100784b3
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x100784d2
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x100784a7
jmp 0x100784d2
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x100784d0
lea esp, [esp]
cmp esi, dword [eax + 8]
jne 0x100784d0
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x100784c0
mov esi, eax
mov eax, dword [ebx + 0x1c]
cmp esi, dword [eax]
jne 0x10078432
mov eax, dword [ebx + 0x20]
mov eax, dword [eax]
mov esi, dword [eax]
cmp esi, eax
je 0x10078595
lea esp, [esp]
mov edi, dword [esi + 0x14]
lea eax, [ebp - 0x20c]
push dword [edi + 4]
push 0x10192050
push eax
call fcn.10091da4
add esp, 0xc
add edi, 8
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10078512
sub ecx, edx
sar ecx, 1
test ecx, ecx
jle 0x1007854a
cmp dword [ebx + 0xa4], 8
lea eax, [ebx + 0x90]
jb 0x10078536
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x20c]
push eax
push edi
push str.Setting
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
cmp byte [esi + 0xd], 0
jne 0x1007858a
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x1007856f
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x1007858a
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x10078563
jmp 0x1007858a
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x10078588
cmp esi, dword [eax + 8]
jne 0x10078588
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x10078578
mov esi, eax
mov eax, dword [ebx + 0x20]
cmp esi, dword [eax]
jne 0x100784f0
cmp dword [ebx + 0xd4], 8
lea esi, [ebx + 0xc0]
jb 0x100785a8
mov eax, dword [esi]
jmp 0x100785aa
mov eax, esi
mov edi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push eax
push 0x10191dc0
push str.ModifySetConfig
push str.SetModify
call edi
cmp dword [esi + 0x14], 8
jb 0x100785cc
mov eax, dword [esi]
jmp 0x100785ce
mov eax, esi
push eax
push 0x10191dc0
push str.ModifySetConfig64
push str.SetModify
call edi
cmp dword [esi + 0x14], 8
jb 0x100785ea
mov eax, dword [esi]
jmp 0x100785ec
mov eax, esi
push eax
push 0x10191dc0
push str.TempModifySetConfig
push str.SetModify
call edi
cmp dword [esi + 0x14], 8
jb 0x10078606
mov esi, dword [esi]
push esi
push 0x10191dc0
push str.TempModifySetConfig64
push str.SetModify
call edi
cmp dword [ebx + 0xbc], 8
lea ecx, [ebx + 0xa8]
jb 0x10078629
mov ecx, dword [ecx]
cmp dword [ebx + 0xa4], 8
lea eax, [ebx + 0x90]
pop edi
pop esi
pop ebx
jb 0x1007863d
mov eax, dword [eax]
push 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, 1
call fcn.1009174c
mov esp, ebp
pop ebp
ret