Function at 0x441220
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 0x47a8b9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x204
mov eax, dword [0x4994a0]
xor eax, dword [esp + 0x210]
push ebx
push ebp
push esi
push edi
push str.ERRORKILLERSTOPSCANNING
xor ebx, ebx
push ebx
push 1
mov ebp, ecx
push ebx
mov dword [esp + 0x220], eax
mov dword [esp + 0x60], ebp
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov edi, eax
push ebx
push edi
mov dword [esp + 0x78], edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x441288
push 1
push ebx
call fcn.0046c315
jmp 0x441dc2
push str.HKEY_CURRENT_USERAppEventsSchemesApps.Default
lea ecx, [esp + 0x18]
call fcn.00405920
mov dword [esp + 0x21c], ebx
call fcn.0046b487
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x18], eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x34]
push ecx
mov ecx, ebp
mov byte [esp + 0x224], 1
call fcn.0043f660
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x220], 2
call fcn.00402990
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
mov byte [esp + 0x21c], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x441301
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x20]
push edx
mov ecx, ebp
mov dword [esp + 0x50], ebx
mov dword [esp + 0x44], ebx
call fcn.0043cac0
cmp eax, ebx
jne 0x441ce9
lea eax, [esp + 0xdc]
push eax
lea ecx, [esp + 0xc0]
push ecx
lea edx, [esp + 0xdc]
push edx
lea eax, [esp + 0xfc]
push eax
lea ecx, [esp + 0xd8]
push ecx
lea edx, [esp + 0xf8]
push edx
mov edx, dword [esp + 0x3c]
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0xec]
push ecx
push ebx
push ebx
push ebx
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
cmp eax, ebx
je 0x441397
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x21c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x441d8f
mov eax, dword [esp + 0x4c]
inc eax
push eax
call fcn.0046b3ee
mov ebx, eax
add esp, 4
test ebx, ebx
mov dword [esp + 0x40], ebx
jne 0x4413cf
mov byte [esp + 0x21c], al
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x441d8f
mov dword [esp + 0x3c], 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x441cd3
mov eax, dword [esp + 0x4c]
lea ecx, [esp + 0xdc]
push ecx
mov ecx, dword [esp + 0x28]
push 0
push 0
push 0
inc eax
lea edx, [esp + 0x78]
push edx
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x50]
push ebx
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov esi, eax
test esi, esi
mov dword [esp + 0xb0], esi
jne 0x441cc2
mov eax, dword [esp + 0x68]
test eax, eax
jbe 0x441cc2
lea edx, [esp + 0x2c]
push edx
mov byte [eax + ebx], 0
mov eax, dword [esp + 0x28]
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x441cc2
lea ecx, [esp + 0xe8]
push ecx
mov dword [esp + 0x7c], eax
lea edx, [esp + 0x10c]
push edx
lea eax, [esp + 0xe0]
push eax
lea ecx, [esp + 0xcc]
push ecx
lea edx, [esp + 0xd4]
push edx
lea eax, [esp + 0xe0]
push eax
mov eax, dword [esp + 0x44]
lea ecx, [esp + 0x6c]
push ecx
lea edx, [esp + 0x94]
push edx
push esi
push esi
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
jne 0x441cb7
mov eax, dword [esp + 0x78]
test eax, eax
jbe 0x441cb7
mov ecx, dword [esp + 0x54]
inc ecx
push ecx
call fcn.0046b3ee
mov esi, eax
add esp, 4
test esi, esi
mov dword [esp + 0x58], esi
je 0x441d18
mov dword [esp + 0x48], 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x441ca7
mov edx, dword [esp + 0x54]
lea eax, [esp + 0xe8]
push eax
mov eax, dword [esp + 0x30]
push 0
push 0
push 0
inc edx
lea ecx, [esp + 0x84]
push ecx
mov dword [esp + 0x88], edx
mov edx, dword [esp + 0x5c]
push esi
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov edi, eax
test edi, edi
mov dword [esp + 0xa8], edi
jne 0x441c92
mov eax, dword [esp + 0x74]
test eax, eax
jbe 0x441c92
push esi
lea ecx, [esp + 0x24]
mov byte [eax + esi], 0
call fcn.00405920
lea ecx, [esp + 0x20]
mov byte [esp + 0x21c], 3
call fcn.00423970
lea ecx, [esp + 0x20]
push str..current
push ecx
call fcn.00407d70
add esp, 8
test al, al
jne 0x441586
lea edx, [esp + 0x20]
push str..default
push edx
call fcn.00407d70
add esp, 8
test al, al
je 0x441c81
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x30]
push eax
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x441c81
lea ecx, [esp + 0xf4]
call fcn.004660f0
mov eax, dword [esp + 0x30]
lea edx, [esp + 0xf4]
push edx
push eax
mov ecx, ebp
mov byte [esp + 0x224], 4
call fcn.0043dfd0
lea ecx, [ebp + 0xf8]
push esi
call fcn.00402c40
mov eax, dword [esp + 0xfc]
xor ecx, ecx
test eax, eax
mov dword [esp + 0xa0], eax
mov dword [esp + 0x60], ecx
jle 0x441c62
nop
mov edx, dword [esp + 0xf8]
mov edi, dword [edx + ecx*4]
test edi, edi
je 0x441c3f
lea eax, [esp + 0x34]
push eax
mov ecx, edi
call fcn.00416bc0
lea ecx, [esp + 0xb8]
push ecx
mov ecx, edi
mov byte [esp + 0x220], 5
call fcn.00416bc0
mov eax, dword [eax]
push str._Default_
push eax
call fcn.004578d3
add esp, 8
mov ebx, eax
neg ebx
sbb bl, bl
lea ecx, [esp + 0xb8]
inc bl
call fcn.00413d20
test bl, bl
je 0x441bec
inc dword [esp + 0x44]
lea edx, [esp + 0x10]
push edx
mov ecx, edi
call fcn.00416bf0
mov eax, dword [esp + 0x10]
push str._value_not_set_
push eax
mov byte [esp + 0x224], 6
call fcn.004578d3
add esp, 8
test eax, eax
jne 0x4416cf
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 0x44169c
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 0x4416b8
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 0x441c2e
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
test esi, esi
lea ecx, [esp + 0x10]
jl 0x44180a
lea eax, [esi + 1]
push eax
push 0x484a54
call fcn.0042a1c0
test eax, eax
jl 0x441760
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 + 0x110]
push edx
push esi
mov byte [esp + 0x228], 7
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
lea eax, [esp + 0x10c]
push eax
push esi
lea ecx, [esp + 0x18]
call fcn.00408390
lea ecx, [esp + 0x5c]
jmp 0x4418ae
push 0
push 0x482af8
lea ecx, [esp + 0x18]
call fcn.0042a1c0
cmp eax, 0xffffffff
jne 0x4418bb
push 0x104
lea ecx, [esp + 0x110]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea edx, [esp + 0x10c]
push edx
lea ecx, [esp + 0x70]
call fcn.00405920
push 0x482af8
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0x84]
push ecx
mov byte [esp + 0x228], 8
call fcn.00405860
lea edx, [esp + 0x1c]
push edx
push eax
lea eax, [esp + 0x98]
push eax
mov byte [esp + 0x234], 9
call fcn.00408720
add esp, 0x18
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x220], 0xa
call fcn.00402990
lea ecx, [esp + 0x84]
call fcn.00413d20
lea ecx, [esp + 0x7c]
call fcn.00413d20
lea ecx, [esp + 0x6c]
jmp 0x4418ae
push 0
push 0x482af8
call fcn.0042a1c0
cmp eax, 0xffffffff
jne 0x4418bb
push 0x104
lea ecx, [esp + 0x110]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea edx, [esp + 0x10c]
push edx
lea ecx, [esp + 0x68]
call fcn.00405920
push 0x482af8
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0x94]
push ecx
mov byte [esp + 0x228], 0xb
call fcn.00405860
lea edx, [esp + 0x1c]
push edx
push eax
lea eax, [esp + 0xc0]
push eax
mov byte [esp + 0x234], 0xc
call fcn.00408720
add esp, 0x18
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x220], 0xd
call fcn.00402990
lea ecx, [esp + 0xac]
call fcn.00413d20
lea ecx, [esp + 0x8c]
call fcn.00413d20
lea ecx, [esp + 0x64]
mov byte [esp + 0x21c], 6
call fcn.00413d20
mov ebx, dword [esp + 0x10]
push str._Default_
push ebx
call fcn.004578d3
add esp, 8
test eax, eax
jne 0x441936
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 0x4418ee
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 0x44190a
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
lea ecx, [esp + 0x34]
mov byte [esp + 0x21c], 4
call fcn.00413d20
mov esi, dword [esp + 0x58]
jmp 0x441c3f
lea eax, [esp + 0x88]
push eax
mov ecx, edi
call fcn.00416bc0
mov esi, eax
push 0x482af8
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x88]
push edx
mov byte [esp + 0x228], 0xe
call fcn.00405860
mov ecx, dword [esp + 0x4c]
push ecx
push eax
lea edx, [esp + 0xb0]
push edx
mov byte [esp + 0x234], 0xf
call fcn.00405860
push 0x484d7c
push eax
lea eax, [esp + 0xd4]
push eax
mov byte [esp + 0x240], 0x10
call fcn.00405860
push esi
push eax
lea ecx, [esp + 0xc0]
push ecx
mov byte [esp + 0x24c], 0x11
call fcn.00408720
push 0x482c2c
push eax
lea edx, [esp + 0xdc]
push edx
mov byte [esp + 0x258], 0x12
call fcn.00405860
add esp, 0x3c
mov eax, dword [eax]
mov ecx, dword [ebp + 0xf0]
push eax
mov byte [esp + 0x220], 0x13
call fcn.0046a8fe
lea ecx, [esp + 0xa4]
call fcn.00413d20
lea ecx, [esp + 0x94]
call fcn.00413d20
lea ecx, [esp + 0xb4]
call fcn.00413d20
lea ecx, [esp + 0x9c]
call fcn.00413d20
lea ecx, [esp + 0x80]
call fcn.00413d20
lea ecx, [esp + 0x88]
mov byte [esp + 0x21c], 6
call fcn.00413d20
lea eax, [esp + 0x10]
push eax
lea ecx, [ebp + 0xf8]
call fcn.00402990
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x441bd7
push 0x1c
call fcn.0046b3c3
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x21c], 0x14
je 0x441a7b
mov ecx, eax
call fcn.0043c2d0
mov esi, eax
jmp 0x441a7d
xor esi, esi
push 0xc
mov byte [esp + 0x220], 6
call fcn.0046b3c3
add esp, 4
test eax, eax
je 0x441a9e
mov ecx, eax
call fcn.00434520
mov ebp, eax
jmp 0x441aa0
xor ebp, ebp
lea ecx, [esp + 0x90]
push ecx
mov ecx, edi
call fcn.00416bc0
push eax
mov ecx, ebp
mov byte [esp + 0x220], 0x15
call fcn.00402b70
lea ecx, [esp + 0x90]
mov byte [esp + 0x21c], 6
call fcn.00413d20
lea edx, [esp + 0x98]
push edx
mov ecx, edi
call fcn.00416bf0
push eax
lea ecx, [ebp + 4]
mov byte [esp + 0x220], 0x16
call fcn.00402b70
lea ecx, [esp + 0x98]
mov byte [esp + 0x21c], 6
call fcn.00413d20
mov eax, dword [edi + 8]
push ebp
mov ecx, esi
mov dword [ebp + 8], eax
call fcn.0043c700
push str.HKEY_CURRENT_USERAppEventsSchemesApps.Default
lea ecx, [esp + 0x2c]
call fcn.00405920
push 0x482af8
lea ecx, [esp + 0x2c]
mov byte [esp + 0x220], 0x17
call fcn.00402f00
mov eax, dword [esp + 0x40]
push eax
lea ecx, [esp + 0x2c]
call fcn.00402f00
push ecx
lea edx, [esp + 0x2c]
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.Sound_Section
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 + 0x38]
mov edx, dword [esi + 0x24]
inc eax
inc edx
mov dword [esp + 0x38], eax
mov dword [esi + 0x24], edx
push eax
mov ecx, esi
call fcn.0043d7c0
lea ecx, [esp + 0x28]
call fcn.00413d20
mov ebp, esi
lea ecx, [esp + 0x10]
mov byte [esp + 0x21c], 5
call fcn.00413d20
mov esi, dword [esp + 0x58]
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 0x441c09
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 0x441c25
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 + 0x34]
mov byte [esp + 0x21c], 4
call fcn.00413d20
mov ecx, dword [esp + 0x60]
mov eax, dword [esp + 0xa0]
inc ecx
cmp ecx, eax
mov dword [esp + 0x60], ecx
jl 0x4415f0
mov edi, dword [esp + 0xa8]
mov ebx, dword [esp + 0x40]
mov eax, dword [esp + 0x30]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0xf4]
mov byte [esp + 0x21c], 3
call fcn.00466107
lea ecx, [esp + 0x20]
mov byte [esp + 0x21c], 1
call fcn.00413d20
mov ecx, dword [esp + 0x48]
inc ecx
test edi, edi
mov edi, dword [esp + 0x70]
mov dword [esp + 0x48], ecx
je 0x4414d6
push esi
call fcn.0046b3f3
mov esi, dword [esp + 0xb4]
add esp, 4
mov ecx, dword [esp + 0x2c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x3c]
inc ecx
test esi, esi
mov dword [esp + 0x3c], ecx
je 0x4413d7
push ebx
call fcn.0046b3f3
mov edx, dword [esp + 0x28]
add esp, 4
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ebx, ebx
push 0x10
call fcn.0046b3c3
mov esi, eax
add esp, 4
mov dword [esp + 0x1c], esi
cmp esi, ebx
mov byte [esp + 0x21c], 0x18
je 0x441d2f
call fcn.0046b487
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi], eax
jmp 0x441d31
lea ecx, [esp + 0x18]
call fcn.00413d20
lea ecx, [esp + 0x14]
call fcn.00413d20
jmp 0x441dc2
xor esi, esi
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push str.Invalid_Sound_Section
mov byte [esp + 0x224], 1
call fcn.00405920
mov ecx, esi
call fcn.0043d300
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x44]
mov dword [esi + 8], ecx
mov ecx, dword [esp + 0x224]
mov dword [esi + 4], eax
mov dword [esi + 0xc], ebx
mov eax, dword [ecx + 8]
push esi
push eax
call fcn.00466011
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x21c], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x441d99
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0x21c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x441dc2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x214]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x210]
xor ecx, dword [esp + 0x220]
call fcn.00456aa7
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x210
ret 4