Function at 0x10038dfd
Capabilities:
Copy file

Disassembly:
push ebp
lea ebp, [esp - 0x19c]
sub esp, 0x21c
mov eax, dword [0x101f1dd0]
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.1000969b
mov eax, dword [esi + 0x18]
push eax
push dword [eax + 4]
lea ecx, [ebp - 0x80]
call fcn.1000969b
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x78]
call fcn.10004bce
mov edi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
jmp 0x10038ec2
call fcn.10047e32
mov ebx, dword [eax + 4]
mov eax, dword [ebx + 4]
movzx eax, byte [eax]
push eax
lea eax, [ebp - 0x70]
push 0x10174330
push eax
call fcn.100048d5
add ebx, 8
push ebx
call fcn.10076514
add esp, 0x10
test eax, eax
jle 0x10038e9f
lea eax, [esi + 0x98]
cmp dword [eax + 0x18], 8
jb 0x10038e8f
mov eax, dword [eax + 4]
jmp 0x10038e92
add eax, 4
push eax
lea eax, [ebp - 0x70]
push eax
push ebx
push str.Setting
call edi
lea ecx, [ebp - 0x78]
call fcn.10038b21
mov eax, dword [esi + 0x18]
push eax
push dword [eax + 4]
lea ecx, [ebp - 0x80]
call fcn.1000969b
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x78]
call fcn.10004bce
test al, al
lea ecx, [ebp - 0x78]
je 0x10038e51
mov eax, dword [esi + 0x1c]
push eax
mov eax, dword [eax + 4]
push dword [eax]
call fcn.1000969b
jmp 0x10038f2d
call fcn.10047e32
mov ebx, dword [eax + 4]
mov eax, dword [ebx + 4]
push dword [eax]
lea eax, [ebp - 0x70]
push 0x10174330
push eax
call fcn.100048d5
add ebx, 8
push ebx
call fcn.10076514
add esp, 0x10
test eax, eax
jle 0x10038f25
lea eax, [esi + 0x98]
cmp dword [eax + 0x18], 8
jb 0x10038f15
mov eax, dword [eax + 4]
jmp 0x10038f18
add eax, 4
push eax
lea eax, [ebp - 0x70]
push eax
push ebx
push str.Setting
call edi
lea ecx, [ebp - 0x78]
call fcn.10038b21
mov eax, dword [esi + 0x1c]
push eax
push dword [eax + 4]
lea ecx, [ebp - 0x80]
call fcn.1000969b
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x78]
call fcn.10004bce
test al, al
lea ecx, [ebp - 0x78]
je 0x10038ed9
mov eax, dword [esi + 0x20]
push eax
mov eax, dword [eax + 4]
push dword [eax]
call fcn.1000969b
jmp 0x10038fb4
lea ecx, [ebp - 0x78]
call fcn.10047e32
mov ebx, dword [eax + 4]
push dword [ebx + 4]
lea eax, [ebp - 0x70]
push 0x10175610
push eax
call fcn.100048d5
add ebx, 8
push ebx
call fcn.10076514
add esp, 0x10
test eax, eax
jle 0x10038fac
lea eax, [esi + 0x98]
cmp dword [eax + 0x18], 8
jb 0x10038f9c
mov eax, dword [eax + 4]
jmp 0x10038f9f
add eax, 4
push eax
lea eax, [ebp - 0x70]
push eax
push ebx
push str.Setting
call edi
lea ecx, [ebp - 0x78]
call fcn.10038b21
mov eax, dword [esi + 0x20]
push eax
push dword [eax + 4]
lea ecx, [ebp - 0x80]
call fcn.1000969b
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x78]
call fcn.10004bce
test al, al
je 0x10038f5f
cmp dword [esi + 0xe8], 8
jb 0x10038fe4
mov eax, dword [esi + 0xd4]
jmp 0x10038fea
lea eax, [esi + 0xd4]
push eax
push 0x1017432c
push str.ModifySetConfig
mov ebx, str.SetModify
push ebx
call edi
cmp dword [esi + 0xe8], 8
jb 0x1003900e
mov eax, dword [esi + 0xd4]
jmp 0x10039014
lea eax, [esi + 0xd4]
push eax
push 0x1017432c
push str.ModifySetConfig64
push ebx
call edi
cmp dword [esi + 0xe8], 8
jb 0x10039033
mov eax, dword [esi + 0xd4]
jmp 0x10039039
lea eax, [esi + 0xd4]
push eax
push 0x1017432c
push str.TempModifySetConfig
push ebx
call edi
cmp dword [esi + 0xe8], 8
jb 0x10039058
mov eax, dword [esi + 0xd4]
jmp 0x1003905e
lea eax, [esi + 0xd4]
push eax
push 0x1017432c
push str.TempModifySetConfig64
push ebx
call edi
lea eax, [esi + 0xb4]
cmp dword [eax + 0x18], 8
jb 0x1003907d
mov eax, dword [eax + 4]
jmp 0x10039080
add eax, 4
add esi, 0x98
cmp dword [esi + 0x18], 8
jb 0x10039091
mov esi, dword [esi + 4]
jmp 0x10039094
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.10075e13
add ebp, 0x19c
leave
ret