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

Disassembly:
push 0xffffffffffffffff
push 0x47b377
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1dc
mov eax, dword [0x4994a0]
xor eax, dword [esp + 0x1e8]
push ebx
push ebp
push esi
push edi
push str.ERRORKILLERSTOPSCANNING
xor esi, esi
push esi
push 1
push esi
mov dword [esp + 0x1f8], eax
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov ebp, eax
push esi
push ebp
mov dword [esp + 0x6c], ebp
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x447164
push 1
push esi
call fcn.0046c315
jmp 0x447f71
push str.HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionApp_Paths
lea ecx, [esp + 0x20]
call fcn.00405920
mov dword [esp + 0x1f4], esi
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 + 0x1c]
push eax
lea ecx, [esp + 0x34]
push ecx
mov ecx, edi
mov byte [esp + 0x1fc], 1
call fcn.0043f660
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x1f8], 2
call fcn.00402990
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
mov byte [esp + 0x1f4], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4471dd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x28]
push edx
mov ecx, edi
mov dword [esp + 0x68], esi
mov dword [esp + 0x24], esi
call fcn.0043cac0
cmp eax, esi
jne 0x447eab
lea eax, [esp + 0xd0]
push eax
lea ecx, [esp + 0xc8]
push ecx
lea edx, [esp + 0xe4]
push edx
lea eax, [esp + 0xd8]
push eax
lea ecx, [esp + 0xf0]
push ecx
lea edx, [esp + 0xec]
push edx
mov edx, dword [esp + 0x44]
lea eax, [esp + 0x80]
push eax
lea ecx, [esp + 0xe4]
push ecx
push esi
push esi
push esi
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
cmp eax, esi
je 0x447276
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x1f4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x447f3e
mov eax, dword [esp + 0x68]
inc eax
push eax
call fcn.0046b3ee
mov ebx, eax
add esp, 4
cmp ebx, esi
mov dword [esp + 0x30], ebx
jne 0x4472af
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x1f4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x447f3e
mov dword [esp + 0x60], esi
jmp 0x4472b7
xor esi, esi
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x447e97
mov eax, dword [esp + 0x68]
lea ecx, [esp + 0xd0]
push ecx
mov ecx, dword [esp + 0x30]
push 0
push 0
push 0
inc eax
lea edx, [esp + 0x80]
push edx
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x74]
push ebx
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov esi, eax
test esi, esi
mov dword [esp + 0x44], esi
jne 0x447e86
mov eax, dword [esp + 0x70]
test eax, eax
jbe 0x447e86
push ebx
lea ecx, [esp + 0x28]
mov byte [eax + ebx], 0
call fcn.00405920
lea ecx, [esp + 0x24]
mov byte [esp + 0x1f4], 3
call fcn.00423970
mov eax, dword [esp + 0x2c]
lea edx, [esp + 0x6c]
push edx
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x447e60
lea ecx, [esp + 0x48]
call fcn.004660f0
mov edx, dword [esp + 0x6c]
lea ecx, [esp + 0x48]
push ecx
push edx
mov ecx, edi
mov byte [esp + 0x1fc], 4
call fcn.0043dfd0
mov eax, dword [esp + 0x50]
xor ebx, ebx
test eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x40], ebx
jle 0x447e38
jmp 0x447390
mov ebp, dword [esp + 0x64]
lea ebx, [ebx]
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x44775e
mov eax, dword [esp + 0x4c]
mov esi, dword [eax + ebx*4]
test esi, esi
je 0x447748
mov ebp, dword [esp + 0x5c]
lea ecx, [esp + 0x10]
push ecx
inc ebp
mov ecx, esi
mov dword [esp + 0x60], ebp
call fcn.00416bf0
mov edx, dword [esp + 0x10]
push str._value_not_set_
push edx
mov byte [esp + 0x1fc], 5
call fcn.004578d3
add esp, 8
test eax, eax
jne 0x447446
mov eax, dword [esi + 4]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x447400
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esi]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44741c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push esi
call fcn.0046b3f3
mov eax, dword [esp + 0x50]
add esp, 4
lea ecx, [esp + 0x10]
mov dword [eax + ebx*4], 0
mov byte [esp + 0x1f4], 4
call fcn.00413d20
jmp 0x447748
lea ecx, [esp + 0x84]
push ecx
mov ecx, esi
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 + 0x84]
inc bl
call fcn.00413d20
test bl, bl
je 0x4476e2
lea edx, [esp + 0x8c]
push edx
mov ecx, esi
call fcn.00416bf0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x1f8], 6
call fcn.00402990
lea ecx, [esp + 0x8c]
mov byte [esp + 0x1f4], 5
call fcn.00413d20
lea eax, [esp + 0xa0]
push eax
mov ecx, esi
call fcn.00416bc0
mov ebp, eax
push 0x482af8
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x7c]
push edx
mov byte [esp + 0x200], 7
call fcn.00405860
mov ecx, dword [esp + 0x3c]
push ecx
push eax
lea edx, [esp + 0xd0]
push edx
mov byte [esp + 0x20c], 8
call fcn.00405860
push 0x484d7c
push eax
lea eax, [esp + 0x9c]
push eax
mov byte [esp + 0x218], 9
call fcn.00405860
push ebp
push eax
lea ecx, [esp + 0xd0]
push ecx
mov byte [esp + 0x224], 0xa
call fcn.00408720
push 0x482c2c
push eax
lea edx, [esp + 0xd0]
push edx
mov byte [esp + 0x230], 0xb
call fcn.00405860
add esp, 0x3c
mov eax, dword [eax]
mov ecx, dword [edi + 0xf0]
push eax
mov byte [esp + 0x1f8], 0xc
call fcn.0046a8fe
lea ecx, [esp + 0x98]
call fcn.00413d20
lea ecx, [esp + 0xa4]
call fcn.00413d20
lea ecx, [esp + 0x7c]
call fcn.00413d20
lea ecx, [esp + 0xbc]
call fcn.00413d20
lea ecx, [esp + 0x74]
call fcn.00413d20
lea ecx, [esp + 0xa0]
mov byte [esp + 0x1f4], 5
call fcn.00413d20
push 0x22
lea ecx, [esp + 0x14]
call fcn.0043d210
push 0x22
lea ecx, [esp + 0x14]
call fcn.0043d290
push 0
push 0x484ca4
lea ecx, [esp + 0x18]
call fcn.0042a1c0
cmp eax, 0xffffffff
je 0x44764d
mov ebx, dword [esp + 0x10]
mov eax, dword [ebx - 0xc]
cmp byte [eax + ebx - 1], 0x5c
je 0x4476e2
push 0
push 0x484b40
lea ecx, [esp + 0x18]
call fcn.0042a1c0
cmp eax, 0xffffffff
jne 0x4476e2
cmp dword [ebx - 0xc], 3
jle 0x4476e2
push 0
push ebx
mov ecx, edi
call fcn.00441120
cmp eax, 0xffffffff
jne 0x4476e2
push 0x1c
call fcn.0046b3c3
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
mov byte [esp + 0x1f4], 0xd
je 0x4477d8
mov ecx, eax
call fcn.0043c2d0
mov ebp, eax
jmp 0x4477da
push 0
push 0x484a54
lea ecx, [esp + 0x18]
call fcn.0042a1c0
mov ebx, eax
test ebx, ebx
jl 0x447c0e
lea eax, [ebx + 1]
push eax
push 0x484a54
lea ecx, [esp + 0x18]
call fcn.0042a1c0
sub eax, ebx
inc eax
push eax
push ebx
lea ecx, [esp + 0x44]
push ecx
lea ecx, [esp + 0x1c]
call fcn.004239b0
mov ebx, dword [esp + 0x3c]
push 0x104
lea edx, [esp + 0xe8]
push edx
push ebx
mov byte [esp + 0x200], 0x13
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
lea eax, [esp + 0xe4]
push eax
push ebx
lea ecx, [esp + 0x18]
call fcn.00408390
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x4479df
lea ecx, [esp + 0x3c]
mov byte [esp + 0x1f4], 5
call fcn.00413d20
mov eax, dword [esi + 4]
sub eax, 0x10
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4476ff
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esi]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44771b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push esi
call fcn.0046b3f3
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x44]
mov dword [eax + ecx*4], 0
add esp, 4
lea ecx, [esp + 0x10]
mov byte [esp + 0x1f4], 4
call fcn.00413d20
mov ebx, dword [esp + 0x40]
mov eax, dword [esp + 0x14]
inc ebx
cmp ebx, eax
mov dword [esp + 0x40], ebx
jl 0x447386
jmp 0x447e38
mov eax, dword [esp + 0x50]
xor ebx, ebx
test eax, eax
jle 0x4477c6
jmp 0x447770
mov edx, dword [esp + 0x4c]
mov esi, dword [edx + ebx*4]
test esi, esi
je 0x4477bd
mov eax, dword [esi + 4]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x447798
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esi]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4477b4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push esi
call fcn.0046b3f3
add esp, 4
mov eax, dword [esp + 0x50]
inc ebx
cmp ebx, eax
jl 0x447770
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x50]
call fcn.00465f07
jmp 0x447e38
xor ebp, ebp
push 0xc
mov byte [esp + 0x1f8], 5
call fcn.0046b3c3
add esp, 4
test eax, eax
je 0x4477fb
mov ecx, eax
call fcn.00434520
mov ebx, eax
jmp 0x4477fd
xor ebx, ebx
lea eax, [esp + 0xa8]
push eax
mov ecx, esi
call fcn.00416bc0
push eax
mov ecx, ebx
mov byte [esp + 0x1f8], 0xe
call fcn.00402b70
lea ecx, [esp + 0xa8]
mov byte [esp + 0x1f4], 5
call fcn.00413d20
lea ecx, [esp + 0x94]
push ecx
mov ecx, esi
call fcn.00416bf0
push eax
lea ecx, [ebx + 4]
mov byte [esp + 0x1f8], 0xf
call fcn.00402b70
lea ecx, [esp + 0x94]
mov byte [esp + 0x1f4], 5
call fcn.00413d20
mov esi, dword [esi + 8]
push str.HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionApp_Paths
lea ecx, [esp + 0x2c]
mov dword [ebx + 8], esi
call fcn.00405920
push 0x482af8
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0xa4]
push eax
mov byte [esp + 0x200], 0x10
call fcn.00405860
lea ecx, [esp + 0x30]
push ecx
push eax
lea edx, [esp + 0xc4]
push edx
mov byte [esp + 0x20c], 0x11
call fcn.00408720
add esp, 0x18
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1f8], 0x12
call fcn.00402990
lea ecx, [esp + 0xb0]
call fcn.00413d20
lea ecx, [esp + 0x9c]
mov byte [esp + 0x1f4], 0x10
call fcn.00413d20
push ecx
lea eax, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call fcn.004023e0
mov ecx, ebp
call fcn.0043c860
push ebx
mov ecx, ebp
call fcn.0043c700
push ecx
lea edx, [esp + 0x2c]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call fcn.004023e0
mov ecx, ebp
call fcn.0043c4c0
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push str.Application_Paths
call fcn.00405920
mov ecx, ebp
call fcn.0043c580
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x4849a8
call fcn.00405920
mov ecx, ebp
call fcn.0043c640
push ebp
lea ecx, [edi + 8]
call fcn.0043ca80
mov eax, dword [esp + 0x18]
mov edx, dword [edi + 0x24]
inc eax
inc edx
push eax
mov ecx, edi
mov dword [esp + 0x1c], eax
mov dword [edi + 0x24], edx
call fcn.0043d7c0
mov eax, dword [esp + 0x50]
xor ebx, ebx
test eax, eax
jle 0x4479d6
lea ebx, [ebx]
mov eax, dword [esp + 0x4c]
mov esi, dword [eax + ebx*4]
test esi, esi
je 0x4479cd
mov eax, dword [esi + 4]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4479a8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esi]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4479c4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push esi
call fcn.0046b3f3
add esp, 4
mov eax, dword [esp + 0x50]
inc ebx
cmp ebx, eax
jl 0x447980
lea ecx, [esp + 0x28]
jmp 0x447e2a
push 0x1c
call fcn.0046b3c3
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
mov byte [esp + 0x1f4], 0x14
je 0x447a04
mov ecx, eax
call fcn.0043c2d0
mov ebp, eax
jmp 0x447a06
xor ebp, ebp
push 0xc
mov byte [esp + 0x1f8], 0x13
call fcn.0046b3c3
add esp, 4
test eax, eax
je 0x447a27
mov ecx, eax
call fcn.00434520
mov ebx, eax
jmp 0x447a29
xor ebx, ebx
lea eax, [esp + 0xb8]
push eax
mov ecx, esi
call fcn.00416bc0
push eax
mov ecx, ebx
mov byte [esp + 0x1f8], 0x15
call fcn.00402b70
lea ecx, [esp + 0xb8]
mov byte [esp + 0x1f4], 0x13
call fcn.00413d20
lea ecx, [esp + 0xc0]
push ecx
mov ecx, esi
call fcn.00416bf0
push eax
lea ecx, [ebx + 4]
mov byte [esp + 0x1f8], 0x16
call fcn.00402b70
lea ecx, [esp + 0xc0]
mov byte [esp + 0x1f4], 0x13
call fcn.00413d20
mov esi, dword [esi + 8]
push str.HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionApp_Paths
lea ecx, [esp + 0x3c]
mov dword [ebx + 8], esi
call fcn.00405920
push 0x482af8
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0xb4]
push eax
mov byte [esp + 0x200], 0x17
call fcn.00405860
lea ecx, [esp + 0x30]
push ecx
push eax
lea edx, [esp + 0xc8]
push edx
mov byte [esp + 0x20c], 0x18
call fcn.00408720
add esp, 0x18
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x1f8], 0x19
call fcn.00402990
lea ecx, [esp + 0xb4]
call fcn.00413d20
lea ecx, [esp + 0xac]
mov byte [esp + 0x1f4], 0x17
call fcn.00413d20
push ecx
lea eax, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call fcn.004023e0
mov ecx, ebp
call fcn.0043c860
push ebx
mov ecx, ebp
call fcn.0043c700
push ecx
lea edx, [esp + 0x3c]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call fcn.004023e0
mov ecx, ebp
call fcn.0043c4c0
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push str.Application_Paths
call fcn.00405920
mov ecx, ebp
call fcn.0043c580
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x4849a8
call fcn.00405920
mov ecx, ebp
call fcn.0043c640
push ebp
lea ecx, [edi + 8]
call fcn.0043ca80
mov eax, dword [esp + 0x18]
mov edx, dword [edi + 0x24]
inc eax
inc edx
push eax
mov ecx, edi
mov dword [esp + 0x1c], eax
mov dword [edi + 0x24], edx
call fcn.0043d7c0
mov eax, dword [esp + 0x50]
xor ebx, ebx
test eax, eax
jle 0x447bfc
mov eax, dword [esp + 0x4c]
mov esi, dword [eax + ebx*4]
test esi, esi
je 0x447bf3
mov eax, dword [esi + 4]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x447bce
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esi]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x447bea
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push esi
call fcn.0046b3f3
add esp, 4
mov eax, dword [esp + 0x50]
inc ebx
cmp ebx, eax
jl 0x447ba6
lea ecx, [esp + 0x38]
call fcn.00413d20
lea ecx, [esp + 0x3c]
jmp 0x447e2a
push 0x1c
call fcn.0046b3c3
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
mov byte [esp + 0x1f4], 0x1a
je 0x447c33
mov ecx, eax
call fcn.0043c2d0
mov ebp, eax
jmp 0x447c35
xor ebp, ebp
push 0xc
mov byte [esp + 0x1f8], 5
call fcn.0046b3c3
add esp, 4
test eax, eax
je 0x447c56
mov ecx, eax
call fcn.00434520
mov ebx, eax
jmp 0x447c58
xor ebx, ebx
lea eax, [esp + 0x78]
push eax
mov ecx, esi
call fcn.00416bc0
push eax
mov ecx, ebx
mov byte [esp + 0x1f8], 0x1b
call fcn.00402b70
lea ecx, [esp + 0x78]
mov byte [esp + 0x1f4], 5
call fcn.00413d20
lea ecx, [esp + 0x80]
push ecx
mov ecx, esi
call fcn.00416bf0
push eax
lea ecx, [ebx + 4]
mov byte [esp + 0x1f8], 0x1c
call fcn.00402b70
lea ecx, [esp + 0x80]
mov byte [esp + 0x1f4], 5
call fcn.00413d20
mov esi, dword [esi + 8]
push str.HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionApp_Paths
lea ecx, [esp + 0x38]
mov dword [ebx + 8], esi
call fcn.00405920
push 0x482af8
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x98]
push eax
mov byte [esp + 0x200], 0x1d
call fcn.00405860
lea ecx, [esp + 0x30]
push ecx
push eax
lea edx, [esp + 0x9c]
push edx
mov byte [esp + 0x20c], 0x1e
call fcn.00408720
add esp, 0x18
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x1f8], 0x1f
call fcn.00402990
lea ecx, [esp + 0x88]
call fcn.00413d20
lea ecx, [esp + 0x90]
mov byte [esp + 0x1f4], 0x1d
call fcn.00413d20
push ecx
lea eax, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call fcn.004023e0
mov ecx, ebp
call fcn.0043c860
push ebx
mov ecx, ebp
call fcn.0043c700
push ecx
lea edx, [esp + 0x38]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call fcn.004023e0
mov ecx, ebp
call fcn.0043c4c0
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push str.Application_Paths
call fcn.00405920
mov ecx, ebp
call fcn.0043c580
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x4849a8
call fcn.00405920
mov ecx, ebp
call fcn.0043c640
push ebp
lea ecx, [edi + 8]
call fcn.0043ca80
mov eax, dword [esp + 0x18]
mov edx, dword [edi + 0x24]
inc eax
inc edx
push eax
mov ecx, edi
mov dword [esp + 0x1c], eax
mov dword [edi + 0x24], edx
call fcn.0043d7c0
mov eax, dword [esp + 0x50]
xor ebx, ebx
test eax, eax
jle 0x447e26
nop
mov eax, dword [esp + 0x4c]
mov esi, dword [eax + ebx*4]
test esi, esi
je 0x447e1d
mov eax, dword [esi + 4]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x447df8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esi]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x447e14
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push esi
call fcn.0046b3f3
add esp, 4
mov eax, dword [esp + 0x50]
inc ebx
cmp ebx, eax
jl 0x447dd0
lea ecx, [esp + 0x34]
call fcn.00413d20
lea ecx, [esp + 0x10]
call fcn.00413d20
mov eax, dword [esp + 0x6c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x48]
mov byte [esp + 0x1f4], 3
call fcn.00466107
mov esi, dword [esp + 0x44]
mov ebp, dword [esp + 0x64]
mov ebx, dword [esp + 0x30]
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x1f4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x447e86
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x60]
inc ecx
test esi, esi
mov dword [esp + 0x60], ecx
je 0x4472b5
push ebx
call fcn.0046b3f3
mov eax, dword [esp + 0x30]
add esp, 4
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x10
call fcn.0046b3c3
mov esi, eax
add esp, 4
mov dword [esp + 0x44], esi
test esi, esi
mov byte [esp + 0x1f4], 0x20
je 0x447eda
call fcn.0046b487
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi], eax
jmp 0x447edc
xor esi, esi
push ecx
mov ecx, esp
mov dword [esp + 0x48], esp
push str.Corrupt_Help_Files
mov byte [esp + 0x1fc], 1
call fcn.00405920
mov ecx, esi
call fcn.0043d300
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x5c]
mov dword [esi + 8], ecx
mov ecx, dword [esp + 0x1fc]
mov dword [esi + 4], eax
mov dword [esi + 0xc], 0
mov eax, dword [ecx + 8]
push esi
push eax
call fcn.00466011
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x1f4], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x447f48
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov dword [esp + 0x1f4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x447f71
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x1ec]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x1e8]
xor ecx, dword [esp + 0x1f8]
call fcn.00456aa7
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1e8
ret 4