Function at 0x421110
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5002f5
mov eax, dword fs:[0]
push eax
sub esp, 0x188
mov eax, dword [0x55ec40]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
push str.RtlGetVersion
push 0x506d04
mov dword [ebp - 4], 0
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x421182
lea ecx, [ebp - 0x184]
mov dword [ebp - 0x184], 0x11c
push ecx
call eax
mov eax, dword [ebp - 0x180]
mov edi, eax
jmp 0x421188
mov eax, dword [ebp - 0x180]
cmp eax, 0xa
jne 0x42119a
cmp dword [ebp - 0x17c], 0
jne 0x4211c4
mov edi, eax
jmp 0x4211c4
cmp eax, 6
jne 0x4211c4
mov eax, dword [ebp - 0x17c]
cmp eax, 3
jne 0x4211af
lea edi, [eax + 6]
jmp 0x4211c4
cmp eax, 2
jne 0x4211b9
lea edi, [eax + 7]
jmp 0x4211c4
cmp eax, 1
mov ecx, 7
cmove edi, ecx
xorps xmm0, xmm0
mov dword [ebp - 0x34], 0
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
push str.TBS.dll
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x188], eax
test eax, eax
je 0x4212de
push 1
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov esi, eax
mov dword [ebp - 0x190], esi
test esi, esi
jne 0x421225
push dword [ebp - 0x188]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
jmp 0x4212de
push 4
push 0x506cec
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov dword [ebp - 0x18c], eax
test eax, eax
jne 0x421257
push dword [ebp - 0x188]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor eax, eax
jmp 0x4212de
lea ecx, [ebp - 0x194]
push ecx
push 0x24
lea ecx, [ebp - 0x68]
push ecx
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
push dword [ebp - 0x188]
test eax, eax
jne 0x421297
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push dword [ebp - 0x18c]
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push dword [ebp - 0x190]
call esi
xor eax, eax
jmp 0x4212de
cmp dword [ebp - 0x64], 4
je 0x4212bd
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push dword [ebp - 0x18c]
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push dword [ebp - 0x190]
call esi
xor eax, eax
jmp 0x4212de
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push dword [ebp - 0x18c]
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push dword [ebp - 0x190]
call esi
mov eax, 1
push eax
push edi
lea eax, [ebp - 0x2c]
push str.https:__api.gtaprovince.tech_api_branches_stats_tpm_os_itpm_i
push eax
call fcn.00409640
add esp, 0x10
mov ecx, dword [0x561b58]
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 2
push eax
call fcn.00423400
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xf
jbe 0x421338
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x42132e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42139c
push ecx
push edx
call fcn.004cefc9
add esp, 8
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
cmp ecx, 0xf
jbe 0x42137a
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x421370
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42139c
push ecx
push edx
call fcn.004cefc9
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 - 0x14]
xor ecx, ebp
call fcn.004cefd7
mov esp, ebp
pop ebp
ret
call fcn.004d529e
int3