Function at 0x440345
Capabilities:
Link many functions at runtime
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4d00a9
mov eax, dword fs:[0]
push eax
sub esp, 0x668
mov eax, dword [0x5154b0]
xor eax, esp
mov dword [esp + 0x660], eax
push ebx
push esi
push edi
mov eax, dword [0x5154b0]
xor eax, esp
push eax
lea eax, [esp + 0x678]
mov dword fs:[0], eax
mov ebx, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push str.KERNEL32.DLL
call ebx
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x440472
push str.OpenThread
push edi
call esi
push 0x4ecb94
push edi
mov dword [0x5192cc], eax
call esi
push str.Thread32First
push edi
mov dword [0x5192e8], eax
call esi
push str.Thread32Next
push edi
mov dword [0x5192e4], eax
call esi
push 0x4ecbd0
push edi
mov dword [0x5192e0], eax
call esi
push str.Module32Next
push edi
mov dword [0x5192dc], eax
call esi
push 0x4ecbf0
push edi
mov dword [0x5192d8], eax
call esi
push 0x4ecc00
push edi
mov dword [0x5192d4], eax
call esi
push str.GetSystemWow64DirectoryA
push edi
mov dword [0x5192d0], eax
call esi
push str.GetSystemWindowsDirectoryA
push edi
mov dword [0x519278], eax
call esi
push str.GlobalMemoryStatusEx
push edi
mov dword [0x519270], eax
call esi
push str.IsWow64Process
push edi
mov dword [0x5192c8], eax
call esi
push str.GetProcessHandleCount
push edi
mov dword [0x519288], eax
call esi
push str.ProcessIdToSessionId
push edi
mov dword [0x519284], eax
call esi
push str.GetNativeSystemInfo
push edi
mov dword [0x519280], eax
call esi
push 0x4eccb4
push edi
mov dword [0x51927c], eax
call esi
mov dword [0x519274], eax
cmp dword [0x5192e8], 0
je 0x4404b1
cmp dword [0x5192e4], 0
je 0x4404b1
cmp dword [0x5192e0], 0
je 0x4404b1
cmp dword [0x5192dc], 0
je 0x4404b1
cmp dword [0x5192d8], 0
je 0x4404b1
cmp dword [0x5192d4], 0
je 0x4404b1
cmp dword [0x5192d0], 0
jne 0x4404b6
call fcn.004408f4
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push str.DBGHELP.DLL
call edi
mov dword [0x519294], eax
test eax, eax
je 0x4405a3
push str.SymCleanup
push eax
call esi
push str.SymEnumSymbols
push dword [0x519294]
mov dword [0x5192c4], eax
call esi
push str.SymSetOptions
push dword [0x519294]
mov dword [0x5192c0], eax
call esi
push str.SymInitialize
push dword [0x519294]
mov dword [0x5192bc], eax
call esi
push str.SymSetContext
push dword [0x519294]
mov dword [0x5192b8], eax
call esi
push str.SymGetLineFromAddr64
push dword [0x519294]
mov dword [0x5192b4], eax
call esi
push str.SymFromAddr
push dword [0x519294]
mov dword [0x5192b0], eax
call esi
push str.StackWalk64
push dword [0x519294]
mov dword [0x5192ac], eax
call esi
push str.SymFunctionTableAccess64
push dword [0x519294]
mov dword [0x5192a8], eax
call esi
push str.SymGetModuleBase64
push dword [0x519294]
mov dword [0x5192a4], eax
call esi
push str.SymGetTypeInfo
push dword [0x519294]
mov dword [0x5192a0], eax
call esi
push str.MiniDumpWriteDump
push dword [0x519294]
mov dword [0x51929c], eax
call esi
mov dword [0x519250], eax
cmp dword [0x5192c4], 0
je 0x440606
cmp dword [0x5192c0], 0
je 0x440606
cmp dword [0x5192bc], 0
je 0x440606
cmp dword [0x5192b8], 0
je 0x440606
cmp dword [0x5192b4], 0
je 0x440606
cmp dword [0x5192b0], 0
je 0x440606
cmp dword [0x5192ac], 0
je 0x440606
cmp dword [0x5192a8], 0
je 0x440606
cmp dword [0x5192a4], 0
je 0x440606
cmp dword [0x5192a0], 0
je 0x440606
cmp dword [0x51929c], 0
jne 0x44060b
call fcn.0044091a
push str.USER32.DLL
call ebx
test eax, eax
je 0x440625
push str.GetGuiResources
push eax
call esi
mov dword [0x519298], eax
jmp 0x44062c
and dword [0x519298], 0
push str.PSAPI.DLL
call edi
mov dword [0x519290], eax
test eax, eax
je 0x44065b
push str.GetProcessMemoryInfo
push eax
call esi
push str.GetPerformanceInfo
push dword [0x519290]
mov dword [0x51928c], eax
call esi
mov dword [0x51925c], eax
push str.Wtsapi32.dll
call edi
mov dword [0x51926c], eax
test eax, eax
je 0x44069c
push str.WTSGetActiveConsoleSessionId
push eax
call esi
push str.WTSFreeMemory
push dword [0x51926c]
mov dword [0x519268], eax
call esi
push str.WTSQuerySessionInformationA
push dword [0x51926c]
mov dword [0x519260], eax
call esi
mov dword [0x519264], eax
push str.ADVAPI32.DLL
call edi
mov dword [0x519258], eax
test eax, eax
je 0x4406b9
push str.GetCurrentHwProfileA
push eax
call esi
mov dword [0x519254], eax
push str.XCPTHLR
mov byte [esp + 0x160], 0
call ebx
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 0x15c]
mov edi, 0x104
push edi
push ecx
push eax
call esi
lea eax, [esp + 0x15c]
push eax
lea ecx, [esp + 0x28]
call fcn.00404860
push ecx
push ecx
lea eax, [esp + 0x18]
xor ebx, ebx
mov dword [esp + 0x688], ebx
lea ecx, [esp + 0x2c]
push eax
mov byte [esp + 0x1c], 0x5c
call fcn.004038e5
push eax
push ebx
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x30]
call fcn.0040371a
push eax
lea ecx, [esp + 0x28]
call fcn.004036f5
push ebx
push 1
lea ecx, [esp + 0x44]
call fcn.00404b60
cmp dword [esp + 0x38], 0x10
lea ecx, [esp + 0x24]
cmovae ecx, dword [esp + 0x24]
call fcn.004408b4
push edi
lea eax, [esp + 0x58]
mov byte [esp + 0x58], bl
push eax
push ebx
call esi
lea esi, [edi - 4]
push esi
lea eax, [esp + 0x368]
push eax
push esi
lea eax, [esp + 0x470]
push eax
push ebx
push ebx
push ebx
lea eax, [esp + 0x70]
push ebx
push eax
call fcn.004a7b97
add esp, 0x24
lea eax, [esp + 0x364]
push eax
lea eax, [esp + 0x468]
push eax
push ebx
push ebx
lea eax, [esp + 0x574]
push edi
push eax
call fcn.004a7da3
push str.SOFTWAREKWMUSIC
lea eax, [esp + 0x280]
push esi
push eax
call fcn.004a62d0
add esp, 0x24
mov dword [esp + 0x14], ebx
lea eax, [esp + 0x14]
push eax
push 0x20019
push ebx
lea eax, [esp + 0x270]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x440867
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x24]
mov dword [esp + 0x20], ebx
push eax
lea eax, [esp + 0x24]
mov dword [esp + 0x20], 4
push eax
push ebx
push str.Exception_Flags
push dword [esp + 0x28]
mov dword [esp + 0x38], ebx
call esi
mov ecx, dword [0x516600]
test eax, eax
lea eax, [esp + 0x18]
mov dword [esp + 0x18], ebx
cmove ecx, dword [esp + 0x20]
mov edi, str.Exception_LogFile
push eax
push ebx
lea eax, [esp + 0x24]
mov dword [0x516600], ecx
push eax
push ebx
push edi
push dword [esp + 0x28]
call esi
test eax, eax
jne 0x44085d
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0x104
push eax
push 0x51a958
lea eax, [esp + 0x24]
push eax
push ebx
push edi
push dword [esp + 0x28]
call esi
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push fcn.00440c40
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
push 1
mov dword [0x5192ec], eax
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
push ebx
push 1
lea ecx, [esp + 0x2c]
call fcn.00404b60
mov eax, 0x51b357
mov ecx, dword [esp + 0x678]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x660]
xor ecx, esp
call fcn.004a41df
mov esp, ebp
pop ebp
ret