Function at 0x426a40
Capabilities:
Start service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x435d80
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [0x45da50]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x104], ecx
mov ecx, dword [ebp - 0x104]
call fcn.004271f0
movzx eax, al
test eax, eax
je 0x426a87
mov al, 1
jmp 0x426d55
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov byte [ebp - 0x15], 1
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 0x14], eax
push 1
push 3
lea ecx, [ebp - 0xa4]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_stringstream_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::constructor_int_]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xa4]
test ecx, ecx
je 0x426ada
lea edx, [ebp - 0x9c]
mov dword [ebp - 0x108], edx
jmp 0x426ae4
mov dword [ebp - 0x108], 0
push str.The_Service
mov eax, dword [ebp - 0x108]
push eax
call fcn.00404550
add esp, 8
mov ecx, dword [ebp - 0x104]
add ecx, 0x58
call dword [sym.imp.MSVCP80.dll_public:_bool___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::empty_void_const]
push eax
lea ecx, [ebp - 0x9c]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_ostream_unsigned_short_int__struct_std::char_traits_unsigned_short_int______thiscall_std::basic_ostream_unsigned_short_int__struct_std::char_traits_unsigned_short_int__::operator___bool_]
mov dword [ebp - 0xa8], eax
mov ecx, dword [ebp - 0xa8]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0xa8]
add ecx, dword [edx + 4]
call dword [sym.imp.MSVCP80.dll_public:_void____thiscall_std::ios_base::operator_void__void_const]
test eax, eax
je 0x426b4c
mov ecx, dword [ebp - 0x104]
add ecx, 4
call dword [sym.imp.MSVCP80.dll_public:_unsigned_short_int_const____thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::c_str_void_const]
mov dword [ebp - 0x10c], eax
jmp 0x426b61
mov ecx, dword [ebp - 0x104]
add ecx, 0x58
call dword [sym.imp.MSVCP80.dll_public:_unsigned_short_int_const____thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::c_str_void_const]
mov dword [ebp - 0x10c], eax
lea eax, [ebp - 0xa4]
test eax, eax
je 0x426b79
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0x110], ecx
jmp 0x426b83
mov dword [ebp - 0x110], 0
push str._failed_to_start_due_to_the_following_error:__n
mov edx, dword [ebp - 0x110]
push edx
call fcn.00404550
add esp, 8
cmp dword [ebp - 0x14], 0
je 0x426cb7
push 0x10
mov ecx, dword [ebp - 0x104]
add ecx, 4
call dword [sym.imp.MSVCP80.dll_public:_unsigned_short_int_const____thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::c_str_void_const]
push eax
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x426c59
push 0
push 0
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x426c3a
lea edx, [ebp - 0xc4]
push edx
lea ecx, [ebp - 0xa4]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int_____thiscall_std::basic_stringstream_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::str_void_]
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0x118], eax
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, dword [ebp - 0x118]
call dword [sym.imp.MSVCP80.dll_public:_unsigned_short_int_const____thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::c_str_void_const]
push eax
mov ecx, dword [ebp - 0x104]
call fcn.00426830
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xc4]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::destructor_void_]
mov byte [ebp - 0x15], 0
jmp 0x426c57
push 0
push 0x43fd68
mov ecx, dword [ebp - 0x104]
call fcn.00426830
mov ecx, dword [ebp - 0x104]
call fcn.00426e40
jmp 0x426cb5
lea ecx, [ebp - 0xe0]
push ecx
lea ecx, [ebp - 0xa4]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int_____thiscall_std::basic_stringstream_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::str_void_]
mov dword [ebp - 0x11c], eax
mov edx, dword [ebp - 0x11c]
mov dword [ebp - 0x120], edx
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, dword [ebp - 0x120]
call dword [sym.imp.MSVCP80.dll_public:_unsigned_short_int_const____thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::c_str_void_const]
push eax
mov ecx, dword [ebp - 0x104]
call fcn.00426830
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xe0]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::destructor_void_]
mov byte [ebp - 0x15], 0
jmp 0x426d13
lea eax, [ebp - 0xfc]
push eax
lea ecx, [ebp - 0xa4]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int_____thiscall_std::basic_stringstream_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::str_void_]
mov dword [ebp - 0x124], eax
mov ecx, dword [ebp - 0x124]
mov dword [ebp - 0x128], ecx
mov byte [ebp - 4], 3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, dword [ebp - 0x128]
call dword [sym.imp.MSVCP80.dll_public:_unsigned_short_int_const____thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::c_str_void_const]
push eax
mov ecx, dword [ebp - 0x104]
call fcn.00426830
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xfc]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::destructor_void_]
mov byte [ebp - 0x15], 0
cmp dword [ebp - 0x10], 0
je 0x426d23
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
cmp dword [ebp - 0x14], 0
je 0x426d33
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov cl, byte [ebp - 0x15]
mov byte [ebp - 0xfd], cl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa4]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_stringstream_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::vbase_dtor_void_]
mov al, byte [ebp - 0xfd]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret