Function at 0x443fc0
Capabilities:
Check if file exists
Get common file path
Query environment variable
Query or enumerate registry key
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x47ae6d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1fc
mov eax, dword [0x4994a0]
xor eax, dword [esp + 0x208]
push ebx
push ebp
push esi
push edi
push str.ERRORKILLERSTOPSCANNING
xor edi, edi
push edi
push 1
mov ebp, ecx
push edi
mov dword [esp + 0x218], eax
mov dword [esp + 0x60], ebp
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov ebx, eax
push edi
push ebx
mov dword [esp + 0xa8], ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x44402b
push 1
push edi
call fcn.0046c315
jmp 0x444ca1
push str.HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServices
lea ecx, [esp + 0x1c]
call fcn.00405920
mov dword [esp + 0x214], edi
call fcn.0046b487
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x20], eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x30]
push ecx
mov ecx, ebp
mov byte [esp + 0x21c], 1
call fcn.0043f660
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x218], 2
call fcn.00402990
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov byte [esp + 0x214], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4440a4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x28]
push edx
mov ecx, ebp
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
call fcn.0043cac0
cmp eax, edi
jne 0x444bdf
lea eax, [esp + 0xe0]
push eax
lea ecx, [esp + 0xd4]
push ecx
lea edx, [esp + 0xe0]
push edx
lea eax, [esp + 0xf4]
push eax
lea ecx, [esp + 0xec]
push ecx
lea edx, [esp + 0x114]
push edx
mov edx, dword [esp + 0x40]
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0xf0]
push ecx
push edi
push edi
push edi
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
cmp eax, edi
je 0x44413a
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x214], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x444c6e
mov eax, dword [esp + 0x58]
inc eax
push eax
call fcn.0046b3ee
mov edi, eax
add esp, 4
test edi, edi
mov dword [esp + 0x40], edi
jne 0x444172
mov byte [esp + 0x214], al
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x444c6e
mov dword [esp + 0x3c], 0
lea ebx, [ebx]
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x444bc9
mov eax, dword [esp + 0x58]
lea ecx, [esp + 0xe0]
push ecx
mov ecx, dword [esp + 0x2c]
push 0
push 0
push 0
inc eax
lea edx, [esp + 0x64]
push edx
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x50]
push edi
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov esi, eax
test esi, esi
mov dword [esp + 0x98], esi
jne 0x444bb8
mov eax, dword [esp + 0x54]
test eax, eax
jbe 0x444bb8
lea edx, [esp + 0x2c]
push edx
mov byte [eax + edi], 0
mov eax, dword [esp + 0x2c]
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x444bb8
mov eax, dword [esp + 0x30]
inc eax
lea ecx, [esp + 0xec]
mov dword [esp + 0x30], eax
call fcn.004660f0
mov edx, dword [esp + 0x2c]
lea ecx, [esp + 0xec]
push ecx
push edx
mov ecx, ebp
mov byte [esp + 0x21c], 3
call fcn.0043dfd0
mov eax, dword [esp + 0xf4]
xor ecx, ecx
test eax, eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x4c], ecx
jle 0x444b99
jmp 0x444250
mov eax, dword [esp + 0xf0]
mov edi, dword [eax + ecx*4]
test edi, edi
je 0x444b6f
lea ecx, [esp + 0x38]
push ecx
mov ecx, edi
call fcn.00416bc0
lea edx, [esp + 0x84]
push edx
mov ecx, edi
mov byte [esp + 0x218], 4
call fcn.00416bc0
mov eax, dword [eax]
push str.ImagePath
push eax
call fcn.004578d3
add esp, 8
mov ebx, eax
neg ebx
sbb bl, bl
lea ecx, [esp + 0x84]
inc bl
call fcn.00413d20
test bl, bl
je 0x444b1c
lea eax, [esp + 0x10]
push eax
mov ecx, edi
call fcn.00416bf0
mov ecx, dword [esp + 0x10]
push str._value_not_set_
push ecx
mov byte [esp + 0x21c], 5
call fcn.004578d3
add esp, 8
test eax, eax
je 0x4447e2
push 0x47e490
push 0x48493c
lea ecx, [esp + 0x18]
call fcn.00408390
push 0
push 0x484a54
lea ecx, [esp + 0x18]
call fcn.0042a1c0
mov esi, eax
lea eax, [esi + 1]
push eax
push 0x484a54
lea ecx, [esp + 0x18]
call fcn.0042a1c0
test esi, esi
jl 0x44436c
test eax, eax
jl 0x44436c
sub eax, esi
inc eax
push eax
push esi
lea ecx, [esp + 0x64]
push ecx
lea ecx, [esp + 0x1c]
call fcn.004239b0
mov esi, dword [esp + 0x5c]
push 0x104
lea edx, [esp + 0x108]
push edx
push esi
mov byte [esp + 0x220], 6
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
lea eax, [esp + 0x104]
push eax
push esi
lea ecx, [esp + 0x18]
call fcn.00408390
lea ecx, [esp + 0x5c]
jmp 0x444714
push 0
push 0x482af8
lea ecx, [esp + 0x18]
call fcn.0042a1c0
cmp eax, 0xffffffff
jne 0x444421
push 0x104
lea ecx, [esp + 0x108]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea edx, [esp + 0x104]
push edx
lea ecx, [esp + 0x48]
call fcn.00405920
push 0x482af8
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0xd4]
push ecx
mov byte [esp + 0x220], 7
call fcn.00405860
lea edx, [esp + 0x1c]
push edx
push eax
lea eax, [esp + 0xdc]
push eax
mov byte [esp + 0x22c], 8
call fcn.00408720
add esp, 0x18
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x218], 9
call fcn.00402990
lea ecx, [esp + 0xc8]
call fcn.00413d20
lea ecx, [esp + 0xcc]
call fcn.00413d20
lea ecx, [esp + 0x44]
mov byte [esp + 0x214], 5
call fcn.00413d20
push 8
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x18]
call fcn.00408600
lea ecx, [esp + 0x14]
mov byte [esp + 0x214], 0xa
call fcn.00423970
lea edx, [esp + 0x14]
push str.system32
push edx
call fcn.00407d70
add esp, 8
test al, al
je 0x4444ee
push 0x104
lea eax, [esp + 0x108]
push eax
push str._SystemRoot_
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
lea ecx, [esp + 0x104]
push ecx
lea ecx, [esp + 0x78]
call fcn.00405920
push 0x482af8
push eax
lea edx, [esp + 0xb8]
push edx
mov byte [esp + 0x220], 0xb
call fcn.00405860
lea ecx, [esp + 0x1c]
push ecx
push eax
lea edx, [esp + 0x80]
push edx
mov byte [esp + 0x22c], 0xc
call fcn.00408720
add esp, 0x18
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x218], 0xd
call fcn.00402990
lea ecx, [esp + 0x6c]
call fcn.00413d20
lea ecx, [esp + 0xb0]
call fcn.00413d20
lea ecx, [esp + 0x74]
jmp 0x44470b
push 0xa
lea eax, [esp + 0xc4]
push eax
lea ecx, [esp + 0x18]
call fcn.00408600
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x218], 0xe
call fcn.00402990
lea ecx, [esp + 0xc0]
mov byte [esp + 0x214], 0xa
call fcn.00413d20
lea ecx, [esp + 0x14]
call fcn.00423970
lea ecx, [esp + 0x14]
push str.systemroot
push ecx
call fcn.00407d70
add esp, 8
test al, al
je 0x444612
push 0x104
lea edx, [esp + 0x108]
push edx
push str._SystemRoot_
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
mov eax, dword [esp + 0x10]
mov eax, dword [eax - 0xc]
add eax, 0xfffffff6
push eax
lea ecx, [esp + 0xac]
push ecx
lea ecx, [esp + 0x18]
call fcn.00408580
mov esi, eax
lea edx, [esp + 0x104]
push edx
lea ecx, [esp + 0x64]
mov byte [esp + 0x218], 0xf
call fcn.00405920
push 0x482af8
push eax
lea eax, [esp + 0xc0]
push eax
mov byte [esp + 0x220], 0x10
call fcn.00405860
push esi
push eax
lea ecx, [esp + 0x90]
push ecx
mov byte [esp + 0x22c], 0x11
call fcn.00408720
add esp, 0x18
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x218], 0x12
call fcn.00402990
lea ecx, [esp + 0x7c]
call fcn.00413d20
lea ecx, [esp + 0xb8]
call fcn.00413d20
lea ecx, [esp + 0x60]
call fcn.00413d20
lea ecx, [esp + 0xa8]
mov byte [esp + 0x214], 0xa
call fcn.00413d20
push 0xb
lea edx, [esp + 0x90]
push edx
lea ecx, [esp + 0x18]
call fcn.00408600
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x218], 0x13
call fcn.00402990
lea ecx, [esp + 0x8c]
mov byte [esp + 0x214], 0xa
call fcn.00413d20
lea ecx, [esp + 0x14]
call fcn.00423970
lea eax, [esp + 0x14]
push str._systemroot
push eax
call fcn.00407d70
add esp, 8
test al, al
je 0x444710
push 0x104
lea ecx, [esp + 0x108]
push ecx
push str._SystemRoot_
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
mov edx, dword [esp + 0x10]
mov eax, dword [edx - 0xc]
add eax, 0xfffffff5
push eax
lea eax, [esp + 0xb8]
push eax
lea ecx, [esp + 0x18]
call fcn.00408580
mov esi, eax
lea ecx, [esp + 0x104]
push ecx
lea ecx, [esp + 0x98]
mov byte [esp + 0x218], 0x14
call fcn.00405920
push esi
push eax
lea edx, [esp + 0xb4]
push edx
mov byte [esp + 0x220], 0x15
call fcn.00408720
add esp, 0xc
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x218], 0x16
call fcn.00402990
lea ecx, [esp + 0xac]
call fcn.00413d20
lea ecx, [esp + 0x94]
call fcn.00413d20
lea ecx, [esp + 0xb4]
call fcn.00413d20
lea ecx, [esp + 0x14]
mov byte [esp + 0x214], 5
call fcn.00413d20
push 0
push 0x485184
lea ecx, [esp + 0x18]
call fcn.0042a1c0
test eax, eax
jle 0x44476d
push eax
lea eax, [esp + 0xa0]
push eax
lea ecx, [esp + 0x18]
call fcn.00408600
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x218], 0x17
call fcn.00402990
lea ecx, [esp + 0x9c]
mov byte [esp + 0x214], 5
call fcn.00413d20
push 0
push 0x485180
lea ecx, [esp + 0x18]
call fcn.0042a1c0
test eax, eax
jle 0x4447b9
push eax
lea ecx, [esp + 0xc0]
push ecx
lea ecx, [esp + 0x18]
call fcn.00408600
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x218], 0x18
call fcn.00402990
lea ecx, [esp + 0xbc]
mov byte [esp + 0x214], 5
call fcn.00413d20
push 0x47e490
push 0x485318
lea ecx, [esp + 0x18]
call fcn.00408390
mov ebx, dword [esp + 0x10]
push str._Default_
push ebx
call fcn.004578d3
add esp, 8
test eax, eax
jne 0x444832
mov eax, dword [edi + 4]
sub eax, 0x10
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4447ff
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [edi]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44481b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push edi
call fcn.0046b3f3
add esp, 4
lea ecx, [esp + 0x10]
call fcn.00413d20
jmp 0x444b5e
lea eax, [esp + 0x78]
push eax
mov ecx, edi
call fcn.00416bc0
mov esi, eax
push 0x482af8
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x78]
push edx
mov byte [esp + 0x220], 0x19
call fcn.00405860
mov ecx, dword [esp + 0x4c]
push ecx
push eax
lea edx, [esp + 0x7c]
push edx
mov byte [esp + 0x22c], 0x1a
call fcn.00405860
push 0x484d7c
push eax
lea eax, [esp + 0x84]
push eax
mov byte [esp + 0x238], 0x1b
call fcn.00405860
push esi
push eax
lea ecx, [esp + 0xf0]
push ecx
mov byte [esp + 0x244], 0x1c
call fcn.00408720
push 0x482c2c
push eax
lea edx, [esp + 0xdc]
push edx
mov byte [esp + 0x250], 0x1d
call fcn.00405860
add esp, 0x3c
mov eax, dword [eax]
mov ecx, dword [ebp + 0xf0]
push eax
mov byte [esp + 0x218], 0x1e
call fcn.0046a8fe
lea ecx, [esp + 0xa4]
call fcn.00413d20
lea ecx, [esp + 0xc4]
call fcn.00413d20
lea ecx, [esp + 0x64]
call fcn.00413d20
lea ecx, [esp + 0x68]
call fcn.00413d20
lea ecx, [esp + 0x70]
call fcn.00413d20
lea ecx, [esp + 0x78]
mov byte [esp + 0x214], 5
call fcn.00413d20
mov esi, dword [ebx - 0xc]
push 0x5c
lea ecx, [esp + 0x14]
call fcn.00407ce0
sub esi, eax
dec esi
push esi
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x18]
call fcn.00408580
push 0
push 0x484954
lea ecx, [esp + 0x50]
mov byte [esp + 0x21c], 0x1f
call fcn.0042a1c0
test eax, eax
jl 0x444b02
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x444b02
push 0x3a
lea ecx, [esp + 0x14]
call fcn.00407ce0
cmp eax, 3
jge 0x444b02
push 0x1c
call fcn.0046b3c3
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x214], 0x20
je 0x4449a6
mov ecx, eax
call fcn.0043c2d0
mov esi, eax
jmp 0x4449a8
xor esi, esi
push 0xc
mov byte [esp + 0x218], 0x1f
call fcn.0046b3c3
add esp, 4
test eax, eax
je 0x4449c9
mov ecx, eax
call fcn.00434520
mov ebp, eax
jmp 0x4449cb
xor ebp, ebp
lea ecx, [esp + 0x80]
push ecx
mov ecx, edi
call fcn.00416bc0
push eax
mov ecx, ebp
mov byte [esp + 0x218], 0x21
call fcn.00402b70
lea ecx, [esp + 0x80]
mov byte [esp + 0x214], 0x1f
call fcn.00413d20
lea edx, [esp + 0x88]
push edx
mov ecx, edi
call fcn.00416bf0
push eax
lea ecx, [ebp + 4]
mov byte [esp + 0x218], 0x22
call fcn.00402b70
lea ecx, [esp + 0x88]
mov byte [esp + 0x214], 0x1f
call fcn.00413d20
mov eax, dword [edi + 8]
push ebp
mov ecx, esi
mov dword [ebp + 8], eax
call fcn.0043c700
push str.HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServices
lea ecx, [esp + 0x28]
call fcn.00405920
push 0x482af8
lea ecx, [esp + 0x28]
mov byte [esp + 0x218], 0x23
call fcn.00402f00
mov eax, dword [esp + 0x40]
push eax
lea ecx, [esp + 0x28]
call fcn.00402f00
push ecx
lea edx, [esp + 0x28]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call fcn.004023e0
mov ecx, esi
call fcn.0043c4c0
push ecx
lea eax, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call fcn.004023e0
mov ecx, esi
call fcn.0043c860
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push str.System_Services
call fcn.00405920
mov ecx, esi
call fcn.0043c580
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x4849a8
call fcn.00405920
mov ecx, esi
call fcn.0043c640
push esi
mov esi, dword [esp + 0x54]
lea ecx, [esi + 8]
call fcn.0043ca80
mov eax, dword [esp + 0x34]
mov edx, dword [esi + 0x24]
inc eax
inc edx
mov dword [esp + 0x34], eax
mov dword [esi + 0x24], edx
push eax
mov ecx, esi
call fcn.0043d7c0
lea ecx, [esp + 0x24]
call fcn.00413d20
mov ebp, esi
lea ecx, [esp + 0x48]
call fcn.00413d20
lea ecx, [esp + 0x10]
mov byte [esp + 0x214], 4
call fcn.00413d20
mov eax, dword [edi + 4]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x444b39
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [edi]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x444b55
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push edi
call fcn.0046b3f3
add esp, 4
lea ecx, [esp + 0x38]
mov byte [esp + 0x214], 3
call fcn.00413d20
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x90]
inc ecx
cmp ecx, eax
mov dword [esp + 0x4c], ecx
jl 0x444250
mov edi, dword [esp + 0x40]
mov esi, dword [esp + 0x98]
mov ebx, dword [esp + 0xa0]
mov eax, dword [esp + 0x2c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0xec]
mov byte [esp + 0x214], 1
call fcn.00466107
mov ecx, dword [esp + 0x3c]
inc ecx
test esi, esi
mov dword [esp + 0x3c], ecx
je 0x444180
push edi
call fcn.0046b3f3
mov ecx, dword [esp + 0x2c]
add esp, 4
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edi, edi
push 0x10
call fcn.0046b3c3
mov esi, eax
add esp, 4
mov dword [esp + 0x1c], esi
cmp esi, edi
mov byte [esp + 0x214], 0x24
je 0x444c0e
call fcn.0046b487
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi], eax
jmp 0x444c10
xor esi, esi
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push str.Invalid_Sound_Section
mov byte [esp + 0x21c], 1
call fcn.00405920
mov ecx, esi
call fcn.0043d300
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
mov dword [esi + 8], ecx
mov ecx, dword [esp + 0x21c]
mov dword [esi + 4], eax
mov dword [esi + 0xc], edi
mov eax, dword [ecx + 8]
push esi
push eax
call fcn.00466011
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x214], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x444c78
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov dword [esp + 0x214], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x444ca1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x20c]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x208]
xor ecx, dword [esp + 0x218]
call fcn.00456aa7
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret 4