Function at 0x433e80
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47656d
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x490040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0x18]
mov dword [ebp - 0x7c], eax
mov byte [eax], 1
test esi, esi
je 0x433ec2
mov dword [esi], 0
push 0
push ecx
call fcn.00433d50
test al, al
je 0x433f84
push 0
push 0
mov ecx, edi
call fcn.00435240
test eax, eax
je 0x433f12
push 0
push 0
mov ecx, edi
call fcn.00435240
test eax, eax
je 0x433f0b
lea ecx, [ebp - 0x70]
push ecx
push 0x24
lea ecx, [ebp - 0x50]
push ecx
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
jne 0x434193
mov ecx, edi
call fcn.00435690
cmp dword [edi + 0x18], 7
lea eax, [edi + 4]
jbe 0x433f1d
mov eax, dword [eax]
push 0x10075
push eax
push dword [edi + 0x38]
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov dword [edi + 0x3c], eax
test eax, eax
jne 0x433f41
test esi, esi
je 0x433f84
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
jmp 0x433f84
test esi, esi
je 0x433f4b
mov dword [esi], 0
push 0
push 0
mov ecx, edi
call fcn.00435240
test eax, eax
je 0x433f7d
lea ecx, [ebp - 0x70]
push ecx
push 0x24
lea ecx, [ebp - 0x50]
push ecx
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
jne 0x433fa3
test esi, esi
je 0x433f7d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
mov ecx, edi
call fcn.00435690
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00452933
mov esp, ebp
pop ebp
ret 0x18
cmp byte [ebp + 0x1c], 0
je 0x434193
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 7
movups xmmword [ebp - 0x28], xmm0
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x28]
push ecx
push eax
mov ecx, edi
call fcn.00435420
mov esi, dword [ebp - 0x28]
test al, al
je 0x43402a
cmp dword [ebp - 0x14], 7
lea ecx, [edi + 0x1c]
lea edx, [ebp - 0x28]
mov dword [ebp - 0x78], ecx
cmova edx, esi
mov eax, ecx
cmp dword [ecx + 0x14], 7
mov esi, dword [ecx + 0x10]
jbe 0x433ffb
mov eax, dword [ecx]
cmp esi, dword [ebp - 0x18]
jne 0x434067
test esi, esi
je 0x434027
sub eax, edx
mov dword [ebp - 0x70], eax
nop dword [eax]
movzx ecx, word [edx + eax]
movzx eax, word [edx]
cmp cx, ax
jne 0x434064
mov eax, dword [ebp - 0x70]
add edx, 2
sub esi, 1
jne 0x434010
mov esi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
cmp eax, 7
jbe 0x434193
lea ecx, [eax*2 + 2]
mov eax, esi
cmp ecx, 0x1000
jb 0x434189
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43419a
jmp 0x434189
lea ecx, [edi + 0x1c]
cmp dword [ebp - 0x14], 7
lea esi, [ebp - 0x28]
cmova esi, dword [ebp - 0x28]
cmp dword [ecx + 0x14], 7
jbe 0x43407d
mov ecx, dword [ecx]
mov dword [ebp - 0x78], ecx
movaps xmm0, xmmword [0x487a70]
mov eax, dword fs:[0x2c]
movups xmmword [ebp - 0x6c], xmm0
mov byte [ebp - 0x2c], 0x1b
movaps xmm0, xmmword [0x487db0]
mov ecx, dword [eax]
mov eax, dword [0x499790]
movups xmmword [ebp - 0x5c], xmm0
movaps xmm0, xmmword [0x488480]
movups xmmword [ebp - 0x4c], xmm0
movaps xmm0, xmmword [0x4879e0]
movups xmmword [ebp - 0x3c], xmm0
cmp eax, dword [ecx + 4]
jle 0x434120
push 0x499790
call fcn.00452992
add esp, 4
cmp dword [0x499790], 0xffffffff
jne 0x434120
xorps xmm0, xmm0
mov byte [0x4997e1], 1
movlpd qword [ebp - 0x74], xmm0
mov edx, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x74]
nop dword [eax]
mov al, byte [ebp + ecx - 0x6c]
mov byte [ecx + 0x4997a0], al
add ecx, 1
adc edx, 0
test edx, edx
jne 0x434109
cmp ecx, 0x41
jb 0x4340f0
push 0x47bf20
call fcn.00452c62
push 0x499790
call fcn.00452941
add esp, 8
mov ecx, 0x4997a0
call fcn.0041eeb0
push esi
push dword [ebp - 0x78]
push 0x4997a0
push 2
call fcn.00401610
add esp, 0x10
mov ecx, edi
call fcn.00435690
mov eax, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x14]
mov byte [eax], 0
cmp ecx, 7
jbe 0x433f84
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x43417a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43419a
push ecx
push edx
call fcn.00452c7c
add esp, 8
jmp 0x433f84
push ecx
push esi
call fcn.00452c7c
add esp, 8
mov al, 1
jmp 0x433f86
call fcn.004579bf
int3