Function at 0x4529c0
Capabilities:
Copy file
Create process on windows
Persist via application shimming

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56c6e0
mov eax, dword fs:[0]
push eax
sub esp, 0x364
mov eax, dword [0x5f7448]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
push 0x3c
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0
push str.CServiceModule::Replace___Trying_to_replace_running_process_n
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x21c], 0xf
mov dword [ebp - 0x220], 0
mov byte [ebp - 0x230], 0
call fcn.004059b0
mov dword [ebp - 4], 0
push 0
lea eax, [ebp - 0x230]
push eax
mov ecx, 0x601abc
call fcn.0049e170
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x21c], 0x10
jb 0x452a69
push dword [ebp - 0x230]
call fcn.004ad196
add esp, 4
push 0xf003f
xor edi, edi
push edi
push edi
mov dword [ebp - 0x21c], 0xf
mov dword [ebp - 0x220], 0
mov byte [ebp - 0x230], 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov esi, eax
test esi, esi
je 0x4538f3
push 1
lea ecx, [ebx + 0x30]
push ecx
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov ebx, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test eax, eax
je 0x452abc
push eax
mov edi, 1
call ebx
push esi
call ebx
test edi, edi
je 0x4538f3
push 0x2e
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0
push str.CServiceModule::Replace___Service_is_installed
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x21c], 0xf
mov dword [ebp - 0x220], 0
mov byte [ebp - 0x230], 0
call fcn.004059b0
mov dword [ebp - 4], 2
push 0
lea eax, [ebp - 0x230]
push eax
mov ecx, 0x601abc
call fcn.0049e170
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x21c], 0x10
jb 0x452b40
push dword [ebp - 0x230]
call fcn.004ad196
add esp, 4
xor eax, eax
mov dword [ebp - 0x298], 0
mov dword [ebp - 0x294], 0
mov dword [ebp - 0x21c], 0xf
mov dword [ebp - 0x220], 0
mov byte [ebp - 0x230], 0
mov dword [ebp - 0x328], 0
mov dword [ebp - 0x294], 7
mov dword [ebp - 0x298], 0
mov word [ebp - 0x2a8], ax
mov dword [ebp - 4], 3
lea eax, [ebp - 0x2a8]
push eax
lea eax, [ebp - 0x328]
push eax
push 0x58133c
call fcn.0044ead0
add esp, 0xc
test al, al
jne 0x452c1e
push str.CServiceModule::Replace___Failed_getting_service_status_
lea ecx, [ebp - 0x278]
call fcn.00405090
mov byte [ebp - 4], 4
push 1
lea eax, [ebp - 0x278]
push eax
mov ecx, 0x601abc
call fcn.0049e170
mov byte [ebp - 4], 3
cmp dword [ebp - 0x264], 0x10
jb 0x452bfe
push dword [ebp - 0x278]
call fcn.004ad196
add esp, 4
mov dword [ebp - 0x264], 0xf
mov dword [ebp - 0x268], 0
mov byte [ebp - 0x278], 0
jmp 0x4538ac
push 0x58133c
call fcn.00455ae0
add esp, 4
test al, al
jne 0x452c9e
push str.CServiceModule::Replace___Failed_to_shutdown_service_
lea ecx, [ebp - 0x278]
call fcn.00405090
mov byte [ebp - 4], 5
push 1
lea eax, [ebp - 0x278]
push eax
mov ecx, 0x601abc
call fcn.0049e170
mov byte [ebp - 4], 3
cmp dword [ebp - 0x264], 0x10
jb 0x452c71
push dword [ebp - 0x278]
call fcn.004ad196
add esp, 4
push str.LTVSRV.EXE
mov dword [ebp - 0x264], 0xf
mov dword [ebp - 0x268], 0
mov byte [ebp - 0x278], 0
call fcn.00455f80
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x452cd8
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, 0x64
lea esp, [esp]
push str.LTVSRV.EXE
call fcn.004503a0
add esp, 4
test al, al
je 0x452cca
push 0x64
call edi
dec esi
jne 0x452cb0
jmp 0x452cce
test esi, esi
jne 0x452ce2
push str.LTVSRV.EXE
call fcn.00455f80
add esp, 4
push 0x3e8
call edi
cmp dword [ebp - 0x328], 4
je 0x452d39
push 4
push 0x58133c
call fcn.004557b0
add esp, 8
test al, al
jne 0x452d39
push str.CServiceModule::Replace___Failed_setting_service_status_
lea ecx, [ebp - 0x2c0]
call fcn.00405090
mov byte [ebp - 4], 6
push 1
lea eax, [ebp - 0x2c0]
push eax
mov ecx, 0x601abc
call fcn.0049e170
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c0]
call fcn.004050f0
jmp 0x4538ac
push 0x208
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov eax, 0xa
dec eax
push str.LTVSRV.EXE
mov dword [ebp - 0x32c], eax
call fcn.00455f80
add esp, 4
push 0xc8
call edi
cmp dword [ebp - 0x294], 8
lea eax, [ebp - 0x2a8]
cmovae eax, dword [ebp - 0x2a8]
push 0
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
setne bl
mov byte [ebp - 0x321], bl
test bl, bl
jne 0x453142
xor eax, eax
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x24c], 0
mov dword [ebp - 0x24c], 7
mov dword [ebp - 0x250], 0
mov word [ebp - 0x260], ax
cmp word [ebp - 0x218], ax
je 0x452df6
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x452de7
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x260]
call fcn.004040e0
mov byte [ebp - 4], 7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x2c0]
push eax
call fcn.00425090
mov ebx, eax
mov byte [ebp - 4], 8
lea eax, [ebp - 0x2a8]
push eax
lea eax, [ebp - 0x2f0]
push eax
call fcn.00461ee0
mov edi, eax
mov byte [ebp - 4], 9
lea eax, [ebp - 0x260]
push eax
lea eax, [ebp - 0x308]
push eax
call fcn.00461ee0
add esp, 0x18
mov esi, eax
mov byte [ebp - 4], 0xa
push 0x34
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0
push str.CServiceModule::Replace___Failed_copying_file_from:
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x21c], 0xf
mov dword [ebp - 0x220], 0
mov byte [ebp - 0x230], 0
call fcn.004059b0
mov byte [ebp - 4], 0xb
push esi
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x2d8]
push eax
call fcn.00406fc0
mov byte [ebp - 4], 0xc
push str._to:
push eax
lea eax, [ebp - 0x320]
push eax
call fcn.00407080
mov byte [ebp - 4], 0xd
push edi
push eax
lea eax, [ebp - 0x290]
push eax
call fcn.00406fc0
mov byte [ebp - 4], 0xe
push str._with_error:
push eax
lea eax, [ebp - 0x278]
push eax
call fcn.00407080
mov byte [ebp - 4], 0xf
push ebx
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.00406fc0
add esp, 0x3c
mov byte [ebp - 4], 0x10
push 1
push eax
mov ecx, 0x601abc
call fcn.0049e170
mov byte [ebp - 4], 0xf
cmp dword [ebp - 0x234], 0x10
jb 0x452f33
push dword [ebp - 0x248]
call fcn.004ad196
add esp, 4
mov dword [ebp - 0x234], 0xf
mov dword [ebp - 0x238], 0
mov byte [ebp - 0x248], 0
mov byte [ebp - 4], 0xe
cmp dword [ebp - 0x264], 0x10
jb 0x452f69
push dword [ebp - 0x278]
call fcn.004ad196
add esp, 4
mov dword [ebp - 0x264], 0xf
mov dword [ebp - 0x268], 0
mov byte [ebp - 0x278], 0
mov byte [ebp - 4], 0xd
cmp dword [ebp - 0x27c], 0x10
jb 0x452f9f
push dword [ebp - 0x290]
call fcn.004ad196
add esp, 4
mov dword [ebp - 0x27c], 0xf
mov dword [ebp - 0x280], 0
mov byte [ebp - 0x290], 0
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x30c], 0x10
jb 0x452fd5
push dword [ebp - 0x320]
call fcn.004ad196
add esp, 4
mov dword [ebp - 0x30c], 0xf
mov dword [ebp - 0x310], 0
mov byte [ebp - 0x320], 0
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x2c4], 0x10
jb 0x45300b
push dword [ebp - 0x2d8]
call fcn.004ad196
add esp, 4
mov dword [ebp - 0x2c4], 0xf
mov dword [ebp - 0x2c8], 0
mov byte [ebp - 0x2d8], 0
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x21c], 0x10
jb 0x453041
push dword [ebp - 0x230]
call fcn.004ad196
add esp, 4
mov dword [ebp - 0x21c], 0xf
mov dword [ebp - 0x220], 0
mov byte [ebp - 0x230], 0
mov byte [ebp - 4], 9
cmp dword [ebp - 0x2f4], 0x10
jb 0x453077
push dword [ebp - 0x308]
call fcn.004ad196
add esp, 4
mov dword [ebp - 0x2f4], 0xf
mov dword [ebp - 0x2f8], 0
mov byte [ebp - 0x308], 0
mov byte [ebp - 4], 8
cmp dword [ebp - 0x2dc], 0x10
jb 0x4530ad
push dword [ebp - 0x2f0]
call fcn.004ad196
add esp, 4
mov dword [ebp - 0x2dc], 0xf
mov dword [ebp - 0x2e0], 0
mov byte [ebp - 0x2f0], 0
mov byte [ebp - 4], 7
cmp dword [ebp - 0x2ac], 0x10
jb 0x4530e3
push dword [ebp - 0x2c0]
call fcn.004ad196
add esp, 4
mov dword [ebp - 0x2ac], 0xf
mov dword [ebp - 0x2b0], 0
mov byte [ebp - 0x2c0], 0
mov byte [ebp - 4], 3
cmp dword [ebp - 0x24c], 8
jb 0x453119
push dword [ebp - 0x260]
call fcn.004ad196
add esp, 4
mov bl, byte [ebp - 0x321]
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
xor eax, eax
mov dword [ebp - 0x24c], 7
mov dword [ebp - 0x250], 0
mov word [ebp - 0x260], ax
mov eax, dword [ebp - 0x32c]
test eax, eax
je 0x453156
test bl, bl
je 0x452d52
jmp 0x45315e
test bl, bl
je 0x4537bd
lea eax, [ebp - 0x248]
push eax
call fcn.00411030
mov byte [ebp - 4], 0x11
xor eax, eax
mov dword [ebp - 0x268], 0
mov dword [ebp - 0x264], 0
mov dword [ebp - 0x264], 7
mov dword [ebp - 0x268], 0
mov word [ebp - 0x278], ax
mov byte [ebp - 4], 0x12
mov dword [ebp - 0x280], eax
mov dword [ebp - 0x27c], eax
mov dword [ebp - 0x27c], 7
mov dword [ebp - 0x280], eax
mov word [ebp - 0x290], ax
mov byte [ebp - 4], 0x13
lea eax, [ebp - 0x278]
push eax
lea eax, [ebp - 0x290]
push eax
lea eax, [ebp - 0x2a8]
push eax
push 0x5c
call fcn.00461b90
add esp, 0x14
test al, al
je 0x4534c2
mov eax, dword [0x601c60]
test al, 1
jne 0x45333a
or eax, 1
mov dword [0x601c60], eax
mov byte [ebp - 4], 0x14
push str.freebl3.dll
mov ecx, 0x601b28
call fcn.004038b0
mov byte [ebp - 4], 0x15
push str.libnspr4.dll
mov ecx, 0x601b40
call fcn.004038b0
mov byte [ebp - 4], 0x16
push str.libplc4.dll
mov ecx, 0x601b58
call fcn.004038b0
mov byte [ebp - 4], 0x17
push str.libplds4.dll
mov ecx, 0x601b70
call fcn.004038b0
mov byte [ebp - 4], 0x18
push str.nss3.dll
mov ecx, 0x601b88
call fcn.004038b0
mov byte [ebp - 4], 0x19
push str.nssckbi.dll
mov ecx, 0x601ba0
call fcn.004038b0
mov byte [ebp - 4], 0x1a
push str.nssdbm3.dll
mov ecx, 0x601bb8
call fcn.004038b0
mov byte [ebp - 4], 0x1b
push str.nssutil3.dll
mov ecx, 0x601bd0
call fcn.004038b0
mov byte [ebp - 4], 0x1c
push str.smime3.dll
mov ecx, 0x601be8
call fcn.004038b0
mov byte [ebp - 4], 0x1d
push str.softokn3.dll
mov ecx, 0x601c00
call fcn.004038b0
mov byte [ebp - 4], 0x1e
push str.sqlite3.dll
mov ecx, 0x601c18
call fcn.004038b0
mov byte [ebp - 4], 0x1f
push str.ssl3.dll
mov ecx, 0x601c30
call fcn.004038b0
mov byte [ebp - 4], 0x20
push str.CertInstaller.dll
lea ecx, [ebp - 0x2c0]
call fcn.00405090
mov byte [ebp - 4], 0x21
lea eax, [ebp - 0x2c0]
push eax
push 0x601c48
call fcn.00462010
add esp, 8
mov byte [ebp - 4], 0x23
lea ecx, [ebp - 0x2c0]
call fcn.004050f0
mov byte [ebp - 4], 0x14
push 0x57d210
call fcn.004af59d
add esp, 4
mov byte [ebp - 4], 0x13
mov esi, 0x601b28
mov edi, 0xd
xor eax, eax
push 0xffffffffffffffff
push eax
mov word [ebp - 0x230], ax
lea eax, [ebp - 0x248]
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0
push eax
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
call fcn.00403fc0
mov byte [ebp - 4], 0x24
push 0x5c
push 1
lea ecx, [ebp - 0x230]
call fcn.00414df0
push 0xffffffffffffffff
push 0
push esi
lea ecx, [ebp - 0x230]
call fcn.00403d80
xor eax, eax
push 0xffffffffffffffff
push eax
mov word [ebp - 0x260], ax
lea eax, [ebp - 0x290]
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x24c], 0
push eax
lea ecx, [ebp - 0x260]
mov dword [ebp - 0x24c], 7
mov dword [ebp - 0x250], 0
call fcn.00403fc0
mov byte [ebp - 4], 0x25
push 0x5c
push 1
lea ecx, [ebp - 0x260]
call fcn.00414df0
push 0xffffffffffffffff
push 0
push esi
lea ecx, [ebp - 0x260]
call fcn.00403d80
cmp dword [ebp - 0x24c], 8
lea ecx, [ebp - 0x260]
cmovae ecx, dword [ebp - 0x260]
cmp dword [ebp - 0x21c], 8
push 0
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov byte [ebp - 4], 0x24
cmp dword [ebp - 0x24c], 8
jb 0x453463
push dword [ebp - 0x260]
call fcn.004ad196
add esp, 4
xor eax, eax
mov dword [ebp - 0x24c], 7
mov dword [ebp - 0x250], 0
mov word [ebp - 0x260], ax
mov byte [ebp - 4], 0x13
cmp dword [ebp - 0x21c], 8
jb 0x45349b
push dword [ebp - 0x230]
call fcn.004ad196
add esp, 4
xor eax, eax
add esi, 0x18
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
dec edi
jne 0x453344
push 0x44
lea eax, [ebp - 0x370]
push 0
push eax
call fcn.004af380
add esp, 0xc
cmp dword [ebp - 0x294], 8
lea ecx, [ebp - 0x318]
push ecx
lea ecx, [ebp - 0x370]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x2a8]
cmovae eax, dword [ebp - 0x2a8]
push str._Update__Service
push eax
mov dword [ebp - 0x370], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
setne al
test al, al
jne 0x4536ff
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x260]
push eax
call fcn.00425090
mov edi, eax
mov byte [ebp - 4], 0x26
lea eax, [ebp - 0x2a8]
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.00461ee0
add esp, 0x10
mov esi, eax
mov byte [ebp - 4], 0x27
push str.CServiceModule::Replace___Failed_to_run:
lea ecx, [ebp - 0x2d8]
call fcn.00405090
mov byte [ebp - 4], 0x28
push esi
push eax
lea eax, [ebp - 0x308]
push eax
call fcn.00406fc0
mov byte [ebp - 4], 0x29
push str._with_error:
push eax
lea eax, [ebp - 0x2f0]
push eax
call fcn.00407080
mov byte [ebp - 4], 0x2a
push edi
push eax
lea eax, [ebp - 0x2c0]
push eax
call fcn.00406fc0
add esp, 0x24
mov byte [ebp - 4], 0x2b
push 0
push eax
mov ecx, 0x601abc
call fcn.0049e170
mov byte [ebp - 4], 0x2a
cmp dword [ebp - 0x2ac], 0x10
jb 0x4535d4
push dword [ebp - 0x2c0]
call fcn.004ad196
add esp, 4
mov dword [ebp - 0x2ac], 0xf
mov dword [ebp - 0x2b0], 0
mov byte [ebp - 0x2c0], 0
mov byte [ebp - 4], 0x29
cmp dword [ebp - 0x2dc], 0x10
jb 0x45360a
push dword [ebp - 0x2f0]
call fcn.004ad196
add esp, 4
mov dword [ebp - 0x2dc], 0xf
mov dword [ebp - 0x2e0], 0
mov byte [ebp - 0x2f0], 0
mov byte [ebp - 4], 0x28
cmp dword [ebp - 0x2f4], 0x10
jb 0x453640
push dword [ebp - 0x308]
call fcn.004ad196
add esp, 4
mov dword [ebp - 0x2f4], 0xf
mov dword [ebp - 0x2f8], 0
mov byte [ebp - 0x308], 0
mov byte [ebp - 4], 0x27
cmp dword [ebp - 0x2c4], 0x10
jb 0x453676
push dword [ebp - 0x2d8]
call fcn.004ad196
add esp, 4
mov dword [ebp - 0x2c4], 0xf
mov dword [ebp - 0x2c8], 0
mov byte [ebp - 0x2d8], 0
mov byte [ebp - 4], 0x26
cmp dword [ebp - 0x21c], 0x10
jb 0x4536ac
push dword [ebp - 0x230]
call fcn.004ad196
add esp, 4
mov dword [ebp - 0x21c], 0xf
mov dword [ebp - 0x220], 0
mov byte [ebp - 0x230], 0
mov byte [ebp - 4], 0x13
cmp dword [ebp - 0x24c], 0x10
jb 0x4536e2
push dword [ebp - 0x260]
call fcn.004ad196
add esp, 4
mov dword [ebp - 0x24c], 0xf
mov dword [ebp - 0x250], 0
mov byte [ebp - 0x260], 0
xor bl, bl
push dword [ebp - 0x314]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x318]
call esi
mov byte [ebp - 4], 0x12
cmp dword [ebp - 0x27c], 8
jb 0x453730
push dword [ebp - 0x290]
call fcn.004ad196
add esp, 4
xor eax, eax
mov dword [ebp - 0x27c], 7
mov dword [ebp - 0x280], 0
mov word [ebp - 0x290], ax
mov byte [ebp - 4], 0x11
cmp dword [ebp - 0x264], 8
jb 0x453768
push dword [ebp - 0x278]
call fcn.004ad196
add esp, 4
xor eax, eax
mov dword [ebp - 0x264], 7
mov dword [ebp - 0x268], 0
mov word [ebp - 0x278], ax
mov byte [ebp - 4], 3
cmp dword [ebp - 0x234], 8
jb 0x4537a0
push dword [ebp - 0x248]
call fcn.004ad196
add esp, 4
xor eax, eax
mov dword [ebp - 0x234], 7
mov dword [ebp - 0x238], 0
mov word [ebp - 0x248], ax
mov eax, dword [ebp - 0x328]
cmp eax, 4
je 0x4537f0
push eax
push 0x58133c
call fcn.004557b0
add esp, 8
test al, al
jne 0x4537f0
push str.CServiceModule::Replace___Failed_setting_service_status__2__
lea ecx, [ebp - 0x248]
call fcn.00405090
mov byte [ebp - 4], 0x2c
jmp 0x453863
lea ecx, [ebp - 0x248]
test bl, bl
je 0x453855
push str.CServiceModule::Replace___Success
call fcn.00405090
mov byte [ebp - 4], 0x2d
push 0
lea eax, [ebp - 0x248]
push eax
mov ecx, 0x601abc
call fcn.0049e170
mov byte [ebp - 4], 3
cmp dword [ebp - 0x234], 0x10
jb 0x453836
push dword [ebp - 0x248]
call fcn.004ad196
add esp, 4
mov dword [ebp - 0x234], 0xf
mov dword [ebp - 0x238], 0
mov byte [ebp - 0x248], 0
xor esi, esi
jmp 0x4538b1
push str.CServiceModule::Replace___Failed_
call fcn.00405090
mov byte [ebp - 4], 0x2e
push 1
lea eax, [ebp - 0x248]
push eax
mov ecx, 0x601abc
call fcn.0049e170
mov byte [ebp - 4], 3
cmp dword [ebp - 0x234], 0x10
jb 0x453891
push dword [ebp - 0x248]
call fcn.004ad196
add esp, 4
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
mov dword [ebp - 0x238], 0
mov esi, 0x80004005
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x294], 8
jb 0x4538cf
push dword [ebp - 0x2a8]
call fcn.004ad196
add esp, 4
xor eax, eax
mov word [ebp - 0x2a8], ax
mov dword [ebp - 0x294], 7
mov dword [ebp - 0x298], 0
mov eax, esi
jmp 0x45398c
push 0x42
mov dword [ebp - 0x280], 0
mov dword [ebp - 0x27c], 0
push str.CServiceModule::Replace___Not_installed_as_service__cant_replace_
lea ecx, [ebp - 0x290]
mov dword [ebp - 0x27c], 0xf
mov dword [ebp - 0x280], 0
mov byte [ebp - 0x290], 0
call fcn.004059b0
mov dword [ebp - 4], 1
push 1
lea eax, [ebp - 0x290]
push eax
mov ecx, 0x601abc
call fcn.0049e170
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x27c], 0x10
jb 0x45396c
push dword [ebp - 0x290]
call fcn.004ad196
add esp, 4
mov dword [ebp - 0x27c], 0xf
mov dword [ebp - 0x280], 0
mov byte [ebp - 0x290], 0
mov eax, 0x80004005
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004adbd4
mov esp, ebp
pop ebp
ret