Function at 0x445c40
Capabilities:
Check if file exists
Get common file path
Get file attributes
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4daed1
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x698
mov eax, dword [0x520078]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xorps xmm0, xmm0
lea ecx, [ebp - 0x670]
xor edi, edi
movq qword [ebp - 0x660], xmm0
mov dword [ebp - 0x688], edi
movups xmmword [ebp - 0x670], xmm0
mov dword [ebp - 0x658], edi
call fcn.00414fe0
mov dword [ebp - 4], edi
mov dword [ebp - 0x658], edi
mov dword [ebp - 4], 1
cmp word [0x527710], di
push 0xfa0
push 0x525b88
mov dword [ebp - 0x680], edi
setne byte [ebp - 0x681]
mov dword [ebp - 0x698], edi
mov dword [ebp - 0x69c], edi
mov dword [ebp - 0x650], 0x4f8ec0
mov dword [ebp - 0x64c], 0x4459c0
mov dword [ebp - 0x648], str.ws2_32.dll
mov dword [ebp - 0x644], 0x4457e0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
xor eax, eax
mov word [ebp - 0x20], ax
mov word [ebp - 0x228], ax
lea eax, [ebp - 0x228]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x44648d
lea eax, [ebp - 0x228]
push eax
call fcn.004bf9c3
add esp, 4
push 0x4f4a60
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, eax
test esi, esi
je 0x445d8e
push 0x4f8ef0
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x445d7c
push 0x4f409c
mov ecx, edi
call dword [0x4e3310]
call edi
push 0x4f8f04
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x698], eax
push str.kernelbase.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x445daf
push 0x4f8f04
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x69c], eax
cmp word [ebp - 0x228], 0
jne 0x445dbd
xor ecx, ecx
jmp 0x445dd5
lea ecx, [ebp - 0x228]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x445dc6
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x228]
push eax
lea ecx, [ebp - 0x670]
call fcn.00415460
push 6
push str..DLL
lea ecx, [ebp - 0x670]
call fcn.00414c90
mov esi, dword [0x527270]
lea eax, [ebp - 0x670]
push eax
push dword [esi + 4]
push esi
call fcn.00446d90
mov ecx, dword [0x527274]
mov edx, eax
mov eax, 0x71c71c6
sub eax, ecx
cmp eax, 1
jae 0x445e2e
push str.list_T__too_long
call fcn.0048fb06
inc ecx
mov dword [0x527274], ecx
mov dword [esi + 4], edx
mov eax, dword [edx + 4]
mov dword [eax], edx
cmp word [ebp - 0x228], 0
jne 0x445e4b
xor ecx, ecx
jmp 0x445e63
lea ecx, [ebp - 0x228]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x445e54
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x228]
push eax
lea ecx, [ebp - 0x670]
call fcn.00415460
push 0xc
push str.UXTHEME.DLL
lea ecx, [ebp - 0x670]
call fcn.00414c90
lea eax, [ebp - 0x670]
push eax
lea eax, [ebp - 0x690]
push eax
call fcn.00446e30
mov eax, dword [ebp - 0x690]
mov byte [eax + 0x2c], 1
cmp word [ebp - 0x228], 0
jne 0x445eb3
xor ecx, ecx
jmp 0x445ecf
lea ecx, [ebp - 0x228]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x445ec0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x228]
push eax
lea ecx, [ebp - 0x670]
call fcn.00415460
push 0xa
push str.MSCTF.DLL
lea ecx, [ebp - 0x670]
call fcn.00414c90
lea eax, [ebp - 0x670]
push eax
lea eax, [ebp - 0x690]
push eax
call fcn.00446e30
mov eax, dword [ebp - 0x690]
xor esi, esi
cmp byte [ebp - 0x681], 0
mov edi, 0x20119
mov byte [eax + 0x2c], 1
mov eax, 0x20019
cmove edi, eax
lea eax, [ebp - 0x680]
push eax
push edi
push esi
push str.SOFTWAREFreedom_ScientificJAWS
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x446138
mov dword [ebp - 0x67c], esi
nop
xor eax, eax
mov dword [ebp - 0x654], 0x100
push eax
push eax
push eax
push eax
mov word [ebp - 0x442], ax
mov word [ebp - 0x640], ax
lea eax, [ebp - 0x654]
push eax
lea eax, [ebp - 0x640]
push eax
push esi
push dword [ebp - 0x680]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
inc esi
test eax, eax
jne 0x446138
lea eax, [ebp - 0x67c]
push eax
push edi
push 0
lea eax, [ebp - 0x640]
push eax
push dword [ebp - 0x680]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x446129
mov word [ebp - 0x230], ax
mov word [ebp - 0x438], ax
lea eax, [ebp - 0x654]
push eax
lea eax, [ebp - 0x438]
mov dword [ebp - 0x654], 0x208
push eax
push 0
push 0
push str.Target
push dword [ebp - 0x67c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x446118
lea eax, [ebp - 0x438]
push eax
call fcn.004bf9c3
add esp, 4
cmp word [ebp - 0x438], 0
jne 0x446017
xor ecx, ecx
jmp 0x44602f
lea ecx, [ebp - 0x438]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x446020
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x438]
push eax
lea ecx, [ebp - 0x670]
call fcn.00415460
push 9
push str.JHOOK.DLL
lea ecx, [ebp - 0x670]
call fcn.00414c90
lea ecx, [ebp - 0x670]
call fcn.004155c0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x446088
lea eax, [ebp - 0x670]
push eax
lea eax, [ebp - 0x690]
push eax
call fcn.00446e30
mov eax, dword [ebp - 0x690]
mov byte [eax + 0x2c], 1
cmp byte [ebp - 0x681], 0
je 0x446118
cmp word [ebp - 0x438], 0
jne 0x4460a3
xor ecx, ecx
jmp 0x4460bf
lea ecx, [ebp - 0x438]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4460b0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x438]
push eax
lea ecx, [ebp - 0x670]
call fcn.00415460
push 0xd
push str.X86JHOOK.DLL
lea ecx, [ebp - 0x670]
call fcn.00414c90
lea ecx, [ebp - 0x670]
call fcn.004155c0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x446118
lea eax, [ebp - 0x670]
push eax
lea eax, [ebp - 0x6a8]
push eax
call fcn.00446e30
mov eax, dword [ebp - 0x6a8]
mov byte [eax + 0x2c], 1
mov eax, dword [ebp - 0x67c]
test eax, eax
je 0x446129
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x67c], 0
jmp 0x445f50
mov eax, dword [ebp - 0x680]
test eax, eax
je 0x446153
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x680], 0
lea eax, [ebp - 0x680]
push eax
push 0x20019
push 0
push str.SOFTWARENVDA
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4461da
push 1
push 0x4f9018
lea ecx, [ebp - 0x670]
call fcn.00415460
push 0x19
push 0x4f901c
lea ecx, [ebp - 0x670]
call fcn.00414c90
mov esi, dword [0x527268]
lea eax, [ebp - 0x670]
push eax
push dword [esi + 4]
push esi
call fcn.00446d90
mov ecx, eax
mov edx, 0x71c71c6
mov eax, dword [0x52726c]
sub edx, eax
cmp edx, 1
jae 0x4461cc
push str.list_T__too_long
call fcn.0048fb06
inc eax
mov dword [0x52726c], eax
mov dword [esi + 4], ecx
mov eax, dword [ecx + 4]
mov dword [eax], ecx
mov eax, dword [ebp - 0x680]
test eax, eax
je 0x4461f5
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x680], 0
push 0x4f9050
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x44648b
push str.RtlImageDirectoryEntryToData
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x654], eax
test eax, eax
je 0x44648b
lea esi, [ebp - 0x64c]
mov dword [ebp - 0x6a0], 2
mov dword [ebp - 0x67c], esi
nop dword [eax + eax]
push dword [esi - 4]
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edi, eax
mov dword [ebp - 0x694], edi
test edi, edi
jne 0x4462f7
cmp word [ebp - 0x228], ax
jne 0x446266
xor ecx, ecx
jmp 0x44627f
lea ecx, [ebp - 0x228]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x446270
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x228]
push eax
lea ecx, [ebp - 0x670]
call fcn.00415460
push 0x5c
push 1
lea ecx, [ebp - 0x670]
call fcn.00419bc0
mov edx, dword [esi - 4]
cmp word [edx], 0
jne 0x4462ae
xor ecx, ecx
jmp 0x4462c8
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4462b3
sub ecx, esi
mov esi, dword [ebp - 0x67c]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x670]
call fcn.00414c90
lea ecx, [ebp - 0x670]
call fcn.004155c0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
mov dword [ebp - 0x694], eax
test edi, edi
je 0x4463e1
mov ecx, dword [ebp - 0x654]
lea eax, [ebp - 0x678]
push eax
push 1
push 1
push edi
call dword [0x4e3310]
call dword [ebp - 0x654]
mov ecx, eax
mov dword [ebp - 0x6a4], ecx
test ecx, ecx
je 0x4463e1
cmp dword [ecx + 0xc], 0
lea edx, [ecx + 0xc]
mov esi, ecx
mov dword [ebp - 0x68c], edx
mov eax, edx
je 0x44636c
nop dword [eax + eax]
mov eax, dword [eax]
add eax, edi
push str.kernel32.dll
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x446360
add esi, 0x14
cmp dword [esi + 0xc], 0
lea eax, [esi + 0xc]
jne 0x446340
mov ecx, dword [ebp - 0x6a4]
mov edx, dword [ebp - 0x68c]
cmp dword [esi + 0xc], 0
jne 0x4463a4
cmp dword [edx], 0
mov esi, ecx
je 0x44639e
nop dword [eax]
mov eax, dword [esi + 0xc]
add eax, edi
push str.api_ms_win_core_libraryloader_l1_1_0.dll
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x44639e
add esi, 0x14
cmp dword [esi + 0xc], 0
jne 0x446380
cmp dword [esi + 0xc], 0
je 0x4463db
mov edi, dword [esi + 0x10]
add edi, dword [ebp - 0x694]
mov eax, dword [edi]
test eax, eax
je 0x4463db
mov ecx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edx, dword [ebp - 0x698]
mov esi, dword [ebp - 0x69c]
cmp eax, ecx
je 0x446402
cmp eax, edx
je 0x446402
cmp eax, esi
je 0x446402
mov eax, dword [edi + 4]
add edi, 4
test eax, eax
jne 0x4463c5
mov esi, dword [ebp - 0x67c]
mov edi, dword [ebp - 0x688]
add esi, 8
sub dword [ebp - 0x6a0], 1
mov dword [ebp - 0x67c], esi
jne 0x446240
jmp 0x44648d
mov esi, dword [ebp - 0x67c]
push 0
push 4
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x4463db
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e6
jne 0x4463db
lea eax, [ebp - 0x674]
push eax
push 8
push 4
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x446475
push 0
push 4
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov esi, eax
lea eax, [ebp - 0x674]
push eax
push dword [ebp - 0x674]
push 4
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test esi, esi
jne 0x4463db
mov esi, dword [ebp - 0x67c]
mov edi, 0x3e6
mov dword [ebp - 0x688], edi
jmp 0x4463e7
xor edi, edi
mov dword [ebp - 4], 2
mov ecx, dword [ebp - 0x658]
test ecx, ecx
je 0x4464a7
push ecx
call fcn.004938d1
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x670]
call fcn.00415720
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0049384c
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret