Function at 0x419fa0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x462524]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
push esi
push edi
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x41a07d
mov eax, dword [eax]
mov esi, dword [eax]
cmp esi, eax
je 0x41a07d
nop
mov edi, dword [esi + 0x14]
mov eax, dword [edi + 8]
movzx eax, byte [eax]
push eax
lea eax, [ebp - 0x20c]
push 0x449444
push eax
call fcn.00406e60
add esp, 0xc
add edi, 0xc
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x419ff6
sub ecx, edx
sar ecx, 1
test ecx, ecx
jle 0x41a02e
cmp dword [ebx + 0xa0], 8
lea eax, [ebx + 0x8c]
jb 0x41a01a
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x20c]
push eax
push edi
push str.AppSetting
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
cmp byte [esi + 0xd], 0
jne 0x41a072
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x41a053
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x41a072
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x41a047
jmp 0x41a072
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x41a070
nop dword [eax]
cmp esi, dword [eax + 8]
jne 0x41a070
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x41a060
mov esi, eax
mov eax, dword [ebx + 0x14]
cmp esi, dword [eax]
jne 0x419fd0
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x41a143
mov eax, dword [eax]
mov esi, dword [eax]
cmp esi, eax
je 0x41a143
mov edi, dword [esi + 0x14]
mov eax, dword [edi + 8]
push dword [eax]
lea eax, [ebp - 0x20c]
push 0x449444
push eax
call fcn.00406e60
add esp, 0xc
add edi, 0xc
mov ecx, edi
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41a0c0
sub ecx, edx
sar ecx, 1
test ecx, ecx
jle 0x41a0f8
cmp dword [ebx + 0xa0], 8
lea eax, [ebx + 0x8c]
jb 0x41a0e4
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x20c]
push eax
push edi
push str.AppSetting
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
cmp byte [esi + 0xd], 0
jne 0x41a138
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x41a11d
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x41a138
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x41a111
jmp 0x41a138
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x41a136
cmp esi, dword [eax + 8]
jne 0x41a136
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x41a126
mov esi, eax
mov eax, dword [ebx + 0x18]
cmp esi, dword [eax]
jne 0x41a094
mov eax, dword [ebx + 0x1c]
test eax, eax
je 0x41a205
mov eax, dword [eax]
mov esi, dword [eax]
cmp esi, eax
je 0x41a205
nop word [eax + eax]
mov edi, dword [esi + 0x14]
lea eax, [ebp - 0x20c]
push dword [edi + 8]
push 0x44b2f4
push eax
call fcn.00406e60
add esp, 0xc
add edi, 0xc
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41a182
sub ecx, edx
sar ecx, 1
test ecx, ecx
jle 0x41a1ba
cmp dword [ebx + 0xa0], 8
lea eax, [ebx + 0x8c]
jb 0x41a1a6
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x20c]
push eax
push edi
push str.AppSetting
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
cmp byte [esi + 0xd], 0
jne 0x41a1fa
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x41a1df
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x41a1fa
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x41a1d3
jmp 0x41a1fa
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x41a1f8
cmp esi, dword [eax + 8]
jne 0x41a1f8
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x41a1e8
mov esi, eax
mov eax, dword [ebx + 0x1c]
cmp esi, dword [eax]
jne 0x41a160
cmp dword [ebx + 0xb8], 8
lea eax, [ebx + 0xa4]
jb 0x41a216
mov eax, dword [eax]
cmp dword [ebx + 0xa0], 8
lea ecx, [ebx + 0x8c]
pop edi
pop esi
pop ebx
jb 0x41a22a
mov ecx, dword [ecx]
push 0
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
call fcn.0041e99a
mov esp, ebp
pop ebp
ret