Function at 0x417b22
Capabilities:
Copy file

Disassembly:
push ebp
lea ebp, [esp - 0x19c]
sub esp, 0x21c
mov eax, dword [0x4f04c0]
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.00424706
mov eax, dword [esi + 0x18]
push eax
push dword [eax + 4]
lea ecx, [ebp - 0x80]
call fcn.00424706
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x78]
call fcn.0040b5af
mov edi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
jmp 0x417be7
call fcn.0041dd3f
mov ebx, dword [eax + 4]
mov eax, dword [ebx + 4]
movzx eax, byte [eax]
push eax
lea eax, [ebp - 0x70]
push 0x4bb4d0
push eax
call fcn.004479ae
add ebx, 8
push ebx
call fcn.00446b43
add esp, 0x10
test eax, eax
jle 0x417bc4
lea eax, [esi + 0x98]
cmp dword [eax + 0x18], 8
jb 0x417bb4
mov eax, dword [eax + 4]
jmp 0x417bb7
add eax, 4
push eax
lea eax, [ebp - 0x70]
push eax
push ebx
push str.Setting
call edi
lea ecx, [ebp - 0x78]
call fcn.00424609
mov eax, dword [esi + 0x18]
push eax
push dword [eax + 4]
lea ecx, [ebp - 0x80]
call fcn.00424706
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x78]
call fcn.0040b5af
test al, al
lea ecx, [ebp - 0x78]
je 0x417b76
mov eax, dword [esi + 0x1c]
push eax
mov eax, dword [eax + 4]
push dword [eax]
call fcn.00424706
jmp 0x417c52
call fcn.0041dd3f
mov ebx, dword [eax + 4]
mov eax, dword [ebx + 4]
push dword [eax]
lea eax, [ebp - 0x70]
push 0x4bb4d0
push eax
call fcn.004479ae
add ebx, 8
push ebx
call fcn.00446b43
add esp, 0x10
test eax, eax
jle 0x417c4a
lea eax, [esi + 0x98]
cmp dword [eax + 0x18], 8
jb 0x417c3a
mov eax, dword [eax + 4]
jmp 0x417c3d
add eax, 4
push eax
lea eax, [ebp - 0x70]
push eax
push ebx
push str.Setting
call edi
lea ecx, [ebp - 0x78]
call fcn.00424609
mov eax, dword [esi + 0x1c]
push eax
push dword [eax + 4]
lea ecx, [ebp - 0x80]
call fcn.00424706
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x78]
call fcn.0040b5af
test al, al
lea ecx, [ebp - 0x78]
je 0x417bfe
mov eax, dword [esi + 0x20]
push eax
mov eax, dword [eax + 4]
push dword [eax]
call fcn.00424706
jmp 0x417cd9
lea ecx, [ebp - 0x78]
call fcn.0041dd3f
mov ebx, dword [eax + 4]
push dword [ebx + 4]
lea eax, [ebp - 0x70]
push 0x4b9e74
push eax
call fcn.004479ae
add ebx, 8
push ebx
call fcn.00446b43
add esp, 0x10
test eax, eax
jle 0x417cd1
lea eax, [esi + 0x98]
cmp dword [eax + 0x18], 8
jb 0x417cc1
mov eax, dword [eax + 4]
jmp 0x417cc4
add eax, 4
push eax
lea eax, [ebp - 0x70]
push eax
push ebx
push str.Setting
call edi
lea ecx, [ebp - 0x78]
call fcn.00424609
mov eax, dword [esi + 0x20]
push eax
push dword [eax + 4]
lea ecx, [ebp - 0x80]
call fcn.00424706
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x78]
call fcn.0040b5af
test al, al
je 0x417c84
cmp dword [esi + 0xe8], 8
jb 0x417d09
mov eax, dword [esi + 0xd4]
jmp 0x417d0f
lea eax, [esi + 0xd4]
push eax
push 0x4b9e58
push str.ModifySetConfig
mov ebx, str.SetModify
push ebx
call edi
cmp dword [esi + 0xe8], 8
jb 0x417d33
mov eax, dword [esi + 0xd4]
jmp 0x417d39
lea eax, [esi + 0xd4]
push eax
push 0x4b9e58
push str.ModifySetConfig64
push ebx
call edi
cmp dword [esi + 0xe8], 8
jb 0x417d58
mov eax, dword [esi + 0xd4]
jmp 0x417d5e
lea eax, [esi + 0xd4]
push eax
push 0x4b9e58
push str.TempModifySetConfig
push ebx
call edi
cmp dword [esi + 0xe8], 8
jb 0x417d7d
mov eax, dword [esi + 0xd4]
jmp 0x417d83
lea eax, [esi + 0xd4]
push eax
push 0x4b9e58
push str.TempModifySetConfig64
push ebx
call edi
lea eax, [esi + 0xb4]
cmp dword [eax + 0x18], 8
jb 0x417da2
mov eax, dword [eax + 4]
jmp 0x417da5
add eax, 4
add esi, 0x98
cmp dword [esi + 0x18], 8
jb 0x417db6
mov esi, dword [esi + 4]
jmp 0x417db9
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.004471af
add ebp, 0x19c
leave
ret