Function at 0x41e170
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x5da2b4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
push esi
push edi
mov eax, dword [ebx + 0x18]
mov eax, dword [eax]
mov esi, dword [eax]
cmp esi, eax
je 0x41e243
mov edi, dword [esi + 0x14]
mov eax, dword [edi + 4]
movzx eax, byte [eax]
push eax
lea eax, [ebp - 0x20c]
push 0x5719bc
push eax
call fcn.0041ee30
add esp, 0xc
add edi, 8
mov ecx, edi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41e1c0
sub ecx, edx
sar ecx, 1
test ecx, ecx
jle 0x41e1f8
cmp dword [ebx + 0xa0], 8
lea eax, [ebx + 0x8c]
jb 0x41e1e4
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 0x41e238
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x41e21d
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x41e238
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x41e211
jmp 0x41e238
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x41e236
cmp esi, dword [eax + 8]
jne 0x41e236
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x41e226
mov esi, eax
mov eax, dword [ebx + 0x18]
cmp esi, dword [eax]
jne 0x41e197
mov eax, dword [ebx + 0x1c]
mov eax, dword [eax]
mov esi, dword [eax]
cmp esi, eax
je 0x41e2fd
mov edi, dword [esi + 0x14]
mov eax, dword [edi + 4]
push dword [eax]
lea eax, [ebp - 0x20c]
push 0x5719bc
push eax
call fcn.0041ee30
add esp, 0xc
add edi, 8
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41e276
sub ecx, edx
sar ecx, 1
test ecx, ecx
jle 0x41e2ae
cmp dword [ebx + 0xa0], 8
lea eax, [ebx + 0x8c]
jb 0x41e29a
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 0x41e2f2
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x41e2d3
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x41e2f2
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x41e2c7
jmp 0x41e2f2
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x41e2f0
nop dword [eax]
cmp esi, dword [eax + 8]
jne 0x41e2f0
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x41e2e0
mov esi, eax
mov eax, dword [ebx + 0x1c]
cmp esi, dword [eax]
jne 0x41e252
mov eax, dword [ebx + 0x20]
mov eax, dword [eax]
mov esi, dword [eax]
cmp esi, eax
je 0x41e3b5
nop dword [eax]
mov edi, dword [esi + 0x14]
lea eax, [ebp - 0x20c]
push dword [edi + 4]
push 0x572ea0
push eax
call fcn.0041ee30
add esp, 0xc
add edi, 8
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41e332
sub ecx, edx
sar ecx, 1
test ecx, ecx
jle 0x41e36a
cmp dword [ebx + 0xa0], 8
lea eax, [ebx + 0x8c]
jb 0x41e356
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 0x41e3aa
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x41e38f
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x41e3aa
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x41e383
jmp 0x41e3aa
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x41e3a8
cmp esi, dword [eax + 8]
jne 0x41e3a8
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x41e398
mov esi, eax
mov eax, dword [ebx + 0x20]
cmp esi, dword [eax]
jne 0x41e310
cmp dword [ebx + 0xd0], 8
lea esi, [ebx + 0xbc]
jb 0x41e3c8
mov eax, dword [esi]
jmp 0x41e3ca
mov eax, esi
mov edi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push eax
push 0x572ea8
push 0x571988
push str.SetModify
call edi
cmp dword [esi + 0x14], 8
jb 0x41e3ec
mov eax, dword [esi]
jmp 0x41e3ee
mov eax, esi
push eax
push 0x572ea8
push 0x572eac
push str.SetModify
call edi
cmp dword [esi + 0x14], 8
jb 0x41e40a
mov eax, dword [esi]
jmp 0x41e40c
mov eax, esi
push eax
push 0x572ea8
push str.TempModifySetConfig
push str.SetModify
call edi
cmp dword [esi + 0x14], 8
jb 0x41e426
mov esi, dword [esi]
push esi
push 0x572ea8
push str.TempModifySetConfig64
push str.SetModify
call edi
cmp dword [ebx + 0xb8], 8
lea ecx, [ebx + 0xa4]
jb 0x41e449
mov ecx, dword [ecx]
cmp dword [ebx + 0xa0], 8
lea eax, [ebx + 0x8c]
pop edi
pop esi
pop ebx
jb 0x41e45d
mov eax, dword [eax]
push 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
call fcn.00437c42
mov esp, ebp
pop ebp
ret