Function at 0x424940
Capabilities:
Modify service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b1f7e
mov eax, dword fs:[0]
push eax
sub esp, 0x1a4
mov eax, dword [0x4e5728]
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
call fcn.0043c280
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x424a9d
push 0x78
push str.d:jenkins.jenkinsworkspacepay_groupmulti_wechatmulti_wechat_clientclientclientmulti_wechat_srcwechat_helper.cc
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], al
call fcn.004082b0
push 3
push 0x4ba7a4
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
call fcn.004082b0
mov byte [ebp - 4], 1
call fcn.0043c280
mov edi, eax
lea ecx, [ebp - 0x118]
push 0x420
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00403c10
mov esi, eax
push str.WechatHelper::CheckSecondaryLogonStatus
push esi
mov byte [ebp - 4], 2
call fcn.00404ba0
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x118]
call fcn.00404e00
mov edx, dword [ebp - 0x18]
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x424a50
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x424a46
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42534b
push edx
push ecx
call fcn.00467a3f
add esp, 8
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
mov dword [ebp - 4], 0xffffffff
cmp edx, 0x10
jb 0x424a9d
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x424a93
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x425350
push edx
push ecx
call fcn.00467a3f
add esp, 8
push 0xf003f
xor ebx, ebx
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 0x4c], eax
test eax, eax
jne 0x424b92
call fcn.0043c280
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x425206
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x78
push str.d:jenkins.jenkinsworkspacepay_groupmulti_wechatmulti_wechat_clientclientclientmulti_wechat_srcwechat_helper.cc
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], 0
mov ebx, eax
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
call fcn.004082b0
push 3
push 0x4ba7a4
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], 3
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
call fcn.004082b0
mov byte [ebp - 4], 4
call fcn.0043c280
mov edi, eax
lea ecx, [ebp - 0x118]
push 0x427
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.00403c10
mov esi, eax
push str.OpenSCManager_fail__errno_
push esi
mov byte [ebp - 4], 5
call fcn.00404ba0
add esp, 8
mov ecx, esi
push ebx
call fcn.00404a00
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x118]
call fcn.00404e00
lea ecx, [ebp - 0x44]
call fcn.00404580
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0xffffffff
call fcn.00404580
jmp 0x425213
push 0xf01ff
push str.seclogon
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
mov dword [ebp - 0x50], esi
test esi, esi
jne 0x424c85
call fcn.0043c280
push 1
mov ecx, eax
mov edx, dword [eax]
mov edx, dword [edx + 8]
call edx
movzx eax, al
sub eax, 1
jne 0x4251f1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x78
push str.d:jenkins.jenkinsworkspacepay_groupmulti_wechatmulti_wechat_clientclientclientmulti_wechat_srcwechat_helper.cc
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], esi
mov ebx, eax
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
call fcn.004082b0
push 3
push 0x4ba7a4
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], 6
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
call fcn.004082b0
mov byte [ebp - 4], 7
call fcn.0043c280
mov edi, eax
lea ecx, [ebp - 0x118]
push 0x42d
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.00403c10
mov esi, eax
push str.OpenService_fail__errno_
push esi
mov byte [ebp - 4], 8
call fcn.00404ba0
add esp, 8
mov ecx, esi
push ebx
call fcn.00404a00
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x118]
call fcn.00404e00
lea ecx, [ebp - 0x44]
call fcn.00404580
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0xffffffff
call fcn.00404580
xor ebx, ebx
jmp 0x4251f1
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], ebx
push eax
push 0
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceConfigW]
test eax, eax
jne 0x424d41
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x424d41
call fcn.0043c280
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x4251f1
push 0x78
push str.d:jenkins.jenkinsworkspacepay_groupmulti_wechatmulti_wechat_clientclientclientmulti_wechat_srcwechat_helper.cc
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], bl
call fcn.004082b0
push 3
push 0x4ba7a4
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], 9
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
call fcn.004082b0
mov byte [ebp - 4], 0xa
call fcn.0043c280
mov edi, eax
lea ecx, [ebp - 0x118]
push 0x433
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.00403c10
mov esi, eax
mov byte [ebp - 4], 0xb
push str.QueryServiceConfig_check_buf_size_fail
jmp 0x4251be
mov edi, dword [ebp - 0x14]
push edi
call fcn.00467a4d
mov ebx, eax
add esp, 4
mov dword [ebp - 0x48], ebx
test ebx, ebx
je 0x425133
push edi
push 0
push ebx
call fcn.00473050
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x14]
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceConfigW]
test eax, eax
jne 0x424e5c
call fcn.0043c280
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x4251f1
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
call eax
push 0x78
push str.d:jenkins.jenkinsworkspacepay_groupmulti_wechatmulti_wechat_clientclientclientmulti_wechat_srcwechat_helper.cc
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], 0
mov ebx, eax
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
call fcn.004082b0
push 3
push 0x4ba7a4
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], 0xf
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
call fcn.004082b0
mov byte [ebp - 4], 0x10
call fcn.0043c280
mov edi, eax
lea ecx, [ebp - 0x118]
push 0x43e
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.00403c10
mov esi, eax
push str.QueryServiceConfig_fail__errno_
push esi
mov byte [ebp - 4], 0x11
call fcn.00404ba0
add esp, 8
mov ecx, esi
push ebx
call fcn.00404a00
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x118]
call fcn.00404e00
lea ecx, [ebp - 0x44]
call fcn.00404580
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0xffffffff
call fcn.00404580
mov ebx, dword [ebp - 0x48]
jmp 0x4251f1
cmp dword [ebx + 4], 4
je 0x424ef9
call fcn.0043c280
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x4251f1
push 0x78
push str.d:jenkins.jenkinsworkspacepay_groupmulti_wechatmulti_wechat_clientclientclientmulti_wechat_srcwechat_helper.cc
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], al
call fcn.004082b0
push 3
push 0x4ba7a4
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], 0x12
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
call fcn.004082b0
mov byte [ebp - 4], 0x13
call fcn.0043c280
mov edi, eax
lea ecx, [ebp - 0x118]
push 0x442
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.00403c10
mov esi, eax
mov byte [ebp - 4], 0x14
push str.service_is_not_disable
jmp 0x4251be
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push 2
push 0xffffffffffffffff
push esi
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
test eax, eax
jne 0x424ffb
call fcn.0043c280
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x4251f1
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
call eax
push 0x78
push str.d:jenkins.jenkinsworkspacepay_groupmulti_wechatmulti_wechat_clientclientclientmulti_wechat_srcwechat_helper.cc
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], 0
mov ebx, eax
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
call fcn.004082b0
push 3
push 0x4ba7a4
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], 0x15
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
call fcn.004082b0
mov byte [ebp - 4], 0x16
call fcn.0043c280
mov edi, eax
lea ecx, [ebp - 0x118]
push 0x448
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.00403c10
mov esi, eax
push str.ChangeServiceConfig_fail__errno_
push esi
mov byte [ebp - 4], 0x17
call fcn.00404ba0
add esp, 8
mov ecx, esi
push ebx
call fcn.00404a00
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x118]
call fcn.00404e00
lea ecx, [ebp - 0x44]
call fcn.00404580
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0xffffffff
call fcn.00404580
mov ebx, dword [ebp - 0x48]
jmp 0x4251f1
call fcn.0043c280
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x4251f1
push 0x78
push str.d:jenkins.jenkinsworkspacepay_groupmulti_wechatmulti_wechat_clientclientclientmulti_wechat_srcwechat_helper.cc
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], al
call fcn.004082b0
push 3
push 0x4ba7a4
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0x18
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
call fcn.004082b0
mov byte [ebp - 4], 0x19
call fcn.0043c280
mov edi, eax
lea ecx, [ebp - 0x118]
push 0x44b
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00403c10
mov esi, eax
push str.change_seclogon_start_type_to_auto_start
push esi
mov byte [ebp - 4], 0x1a
call fcn.00404ba0
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x118]
call fcn.00404e00
mov edx, dword [ebp - 0x18]
mov byte [ebp - 4], 0x18
cmp edx, 0x10
jb 0x4250dd
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4250d3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x425355
push edx
push ecx
call fcn.00467a3f
add esp, 8
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
mov dword [ebp - 4], 0xffffffff
cmp edx, 0x10
jb 0x4251f1
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x425124
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42535a
push edx
push ecx
call fcn.00467a3f
add esp, 8
jmp 0x4251f1
xor ebx, ebx
call fcn.0043c280
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x4251f1
push 0x78
push str.d:jenkins.jenkinsworkspacepay_groupmulti_wechatmulti_wechat_clientclientclientmulti_wechat_srcwechat_helper.cc
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], bl
call fcn.004082b0
push 3
push 0x4ba7a4
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], 0xc
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], bl
call fcn.004082b0
mov byte [ebp - 4], 0xd
call fcn.0043c280
mov edi, eax
lea ecx, [ebp - 0x118]
push 0x439
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.00403c10
mov esi, eax
mov byte [ebp - 4], 0xe
push str.new_service_config_fail
push esi
call fcn.00404ba0
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x118]
call fcn.00404e00
lea ecx, [ebp - 0x44]
call fcn.00404580
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0xffffffff
call fcn.00404580
push dword [ebp - 0x4c]
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x425206
push eax
call esi
test ebx, ebx
je 0x425213
push ebx
call fcn.00467a56
add esp, 4
call fcn.0043c280
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x42532f
push 0x78
push str.d:jenkins.jenkinsworkspacepay_groupmulti_wechatmulti_wechat_clientclientclientmulti_wechat_srcwechat_helper.cc
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], 0xf
mov byte [ebp - 0x80], al
call fcn.004082b0
push 3
push 0x4ba7a4
lea ecx, [ebp - 0x68]
mov dword [ebp - 4], 0x1b
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0xf
mov byte [ebp - 0x68], 0
call fcn.004082b0
mov byte [ebp - 4], 0x1c
call fcn.0043c280
mov edi, eax
lea ecx, [ebp - 0x1b0]
push 0x459
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.00403c10
mov esi, eax
push str.WechatHelper::CheckSecondaryLogonStatus_end
push esi
mov byte [ebp - 4], 0x1d
call fcn.00404ba0
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x1b0]
call fcn.00404e00
mov edx, dword [ebp - 0x54]
cmp edx, 0x10
jb 0x4252ed
mov ecx, dword [ebp - 0x68]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4252e3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42535f
push edx
push ecx
call fcn.00467a3f
add esp, 8
mov edx, dword [ebp - 0x6c]
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0xf
mov byte [ebp - 0x68], 0
cmp edx, 0x10
jb 0x42532f
mov ecx, dword [ebp - 0x80]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x425325
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x425364
push edx
push ecx
call fcn.00467a3f
add esp, 8
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.00467d03
mov esp, ebp
pop ebp
ret
call fcn.004764c9
call fcn.004764c9
call fcn.004764c9
call fcn.004764c9
call fcn.004764c9
call fcn.004764c9
int3