Function at 0x409008
Capabilities:
Contain obfuscated stackstrings
Copy file
Get common file path
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42a0be
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1d0
mov dword [ebp - 0x178], ecx
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x120]
call fcn.004021f0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x118]
call fcn.004021f0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x11c]
call fcn.004021f0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x114]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x114]
push ecx
lea ecx, [ebp - 0x11c]
call fcn.00420e8a
push 0x437584
lea ecx, [ebp - 0x128]
call fcn.00420dbb
mov byte [ebp - 4], 4
push 1
lea edx, [ebp - 0x128]
push edx
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x12c]
push ecx
call fcn.0040d540
add esp, 0x10
mov dword [ebp - 0x17c], eax
mov edx, dword [ebp - 0x17c]
mov dword [ebp - 0x180], edx
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x180]
push eax
lea ecx, [ebp - 0x120]
call fcn.00420e3a
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x12c]
call fcn.00420d4d
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x128]
call fcn.00420d4d
lea ecx, [ebp - 0x120]
push ecx
call fcn.0040c470
add esp, 4
test eax, eax
je 0x409610
push 0
lea edx, [ebp - 0x130]
push edx
mov ecx, 0x43a310
call fcn.00409bb0
mov dword [ebp - 0x184], eax
mov eax, dword [ebp - 0x184]
mov dword [ebp - 0x188], eax
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x188]
push ecx
lea ecx, [ebp - 0x118]
call fcn.00420e3a
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x130]
call fcn.00420d4d
push str.CDChange.exe
lea ecx, [ebp - 0x134]
call fcn.00420dbb
mov byte [ebp - 4], 7
push 1
lea edx, [ebp - 0x134]
push edx
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x124]
push ecx
call fcn.0040d540
add esp, 0x10
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x134]
call fcn.00420d4d
push 0x20
lea ecx, [ebp - 0x124]
call fcn.004022c0
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 0
lea ecx, [ebp - 0x124]
call fcn.004022c0
push eax
lea ecx, [ebp - 0x120]
call fcn.004022c0
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
je 0x4095b3
push 0x4375a4
lea edx, [ebp - 0x118]
push edx
lea eax, [ebp - 0x138]
push eax
call fcn.00420f96
mov dword [ebp - 0x18c], eax
mov ecx, dword [ebp - 0x18c]
mov dword [ebp - 0x190], ecx
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x190]
call fcn.004022c0
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x13c], esp
lea edx, [ebp + 0x6c]
push edx
call fcn.00420ac2
mov dword [ebp - 0x194], eax
lea eax, [ebp - 0x140]
push eax
call fcn.0040d0e0
add esp, 8
mov dword [ebp - 0x198], eax
mov ecx, dword [ebp - 0x198]
mov dword [ebp - 0x19c], ecx
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x19c]
call fcn.004022c0
push eax
push str.TestFile
push 0x4375c0
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x140]
call fcn.00420d4d
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x138]
call fcn.00420d4d
push 0x4375c8
lea edx, [ebp - 0x118]
push edx
lea eax, [ebp - 0x144]
push eax
call fcn.00420f96
mov dword [ebp - 0x1a0], eax
mov ecx, dword [ebp - 0x1a0]
mov dword [ebp - 0x1a4], ecx
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x1a4]
call fcn.004022c0
push eax
lea ecx, [ebp + 0x5c]
call fcn.004022c0
push eax
push str.MessageTxt
push 0x4375e4
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x144]
call fcn.00420d4d
push 0x4375ec
lea edx, [ebp - 0x118]
push edx
lea eax, [ebp - 0x148]
push eax
call fcn.00420f96
mov dword [ebp - 0x1a8], eax
mov ecx, dword [ebp - 0x1a8]
mov dword [ebp - 0x1ac], ecx
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x1ac]
call fcn.004022c0
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x14c], esp
lea edx, [ebp - 0x11c]
push edx
call fcn.00420ac2
mov dword [ebp - 0x1b0], eax
lea eax, [ebp - 0x150]
push eax
call fcn.0040cb30
add esp, 8
mov dword [ebp - 0x1b4], eax
mov ecx, dword [ebp - 0x1b4]
mov dword [ebp - 0x1b8], ecx
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x1b8]
call fcn.004022c0
push eax
push str.CDDrive
push 0x437604
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x150]
call fcn.00420d4d
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x148]
call fcn.00420d4d
push 0x43760c
lea edx, [ebp - 0x118]
push edx
lea eax, [ebp - 0x154]
push eax
call fcn.00420f96
mov dword [ebp - 0x1bc], eax
mov ecx, dword [ebp - 0x1bc]
mov dword [ebp - 0x1c0], ecx
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x1c0]
call fcn.004022c0
push eax
lea ecx, [ebp + 0x64]
call fcn.004022c0
push eax
push 0x43761c
push 0x437620
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x154]
call fcn.00420d4d
push 0x437628
lea edx, [ebp - 0x118]
push edx
lea eax, [ebp - 0x158]
push eax
call fcn.00420f96
mov dword [ebp - 0x1c4], eax
mov ecx, dword [ebp - 0x1c4]
mov dword [ebp - 0x1c8], ecx
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x1c8]
call fcn.004022c0
push eax
lea ecx, [ebp + 0x68]
call fcn.004022c0
push eax
push str.CommandLine
push str.Info
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x158]
call fcn.00420d4d
push 0x20
lea ecx, [ebp - 0x124]
call fcn.004022c0
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push ecx
mov ecx, esp
mov dword [ebp - 0x15c], esp
push 0x4399ec
call fcn.00420dbb
mov dword [ebp - 0x1cc], eax
mov edx, dword [ebp - 0x1cc]
mov dword [ebp - 0x1d0], edx
mov byte [ebp - 4], 0x11
push ecx
mov ecx, esp
mov dword [ebp - 0x160], esp
lea eax, [ebp - 0x124]
push eax
call fcn.00420ac2
mov dword [ebp - 0x1d4], eax
mov byte [ebp - 4], 9
call fcn.00412060
add esp, 8
lea ecx, [ebp - 0x124]
push ecx
call fcn.0040b150
add esp, 4
push str.CDChange.ini
lea ecx, [ebp - 0x164]
call fcn.00420dbb
mov byte [ebp - 4], 0x12
push 1
lea edx, [ebp - 0x164]
push edx
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x168]
push ecx
call fcn.0040d540
add esp, 0x10
mov dword [ebp - 0x1d8], eax
mov edx, dword [ebp - 0x1d8]
mov dword [ebp - 0x1dc], edx
mov byte [ebp - 4], 0x13
mov eax, dword [ebp - 0x1dc]
push eax
call fcn.0040b150
add esp, 4
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x168]
call fcn.00420d4d
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x164]
call fcn.00420d4d
mov dword [ebp - 0x16c], 1
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x124]
call fcn.00420d4d
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x11c]
call fcn.00420d4d
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x118]
call fcn.00420d4d
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x120]
call fcn.00420d4d
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004036cd
mov eax, dword [ebp - 0x16c]
jmp 0x40965c
mov dword [ebp - 0x170], 1
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x124]
call fcn.00420d4d
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x11c]
call fcn.00420d4d
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x118]
call fcn.00420d4d
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x120]
call fcn.00420d4d
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004036cd
mov eax, dword [ebp - 0x170]
jmp 0x40965c
mov dword [ebp - 0x174], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x11c]
call fcn.00420d4d
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x118]
call fcn.00420d4d
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x120]
call fcn.00420d4d
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004036cd
mov eax, dword [ebp - 0x174]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x88