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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4d0d59
mov eax, dword fs:[0]
push eax
sub esp, 0x668
mov eax, dword [0x5164b0]
xor eax, esp
mov dword [esp + 0x660], eax
push ebx
push esi
push edi
mov eax, dword [0x5164b0]
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 0x440032
push str.OpenThread
push edi
call esi
push 0x4edb14
push edi
mov dword [0x51a29c], eax
call esi
push str.Thread32First
push edi
mov dword [0x51a2b8], eax
call esi
push str.Thread32Next
push edi
mov dword [0x51a2b4], eax
call esi
push str.Module32First
push edi
mov dword [0x51a2b0], eax
call esi
push str.Module32Next
push edi
mov dword [0x51a2ac], eax
call esi
push 0x4edb70
push edi
mov dword [0x51a2a8], eax
call esi
push 0x4edb80
push edi
mov dword [0x51a2a4], eax
call esi
push str.GetSystemWow64DirectoryA
push edi
mov dword [0x51a2a0], eax
call esi
push str.GetSystemWindowsDirectoryA
push edi
mov dword [0x51a248], eax
call esi
push str.GlobalMemoryStatusEx
push edi
mov dword [0x51a240], eax
call esi
push str.IsWow64Process
push edi
mov dword [0x51a298], eax
call esi
push str.GetProcessHandleCount
push edi
mov dword [0x51a258], eax
call esi
push str.ProcessIdToSessionId
push edi
mov dword [0x51a254], eax
call esi
push str.GetNativeSystemInfo
push edi
mov dword [0x51a250], eax
call esi
push 0x4edc34
push edi
mov dword [0x51a24c], eax
call esi
mov dword [0x51a244], eax
cmp dword [0x51a2b8], 0
je 0x440071
cmp dword [0x51a2b4], 0
je 0x440071
cmp dword [0x51a2b0], 0
je 0x440071
cmp dword [0x51a2ac], 0
je 0x440071
cmp dword [0x51a2a8], 0
je 0x440071
cmp dword [0x51a2a4], 0
je 0x440071
cmp dword [0x51a2a0], 0
jne 0x440076
call fcn.004404b4
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push str.DBGHELP.DLL
call edi
mov dword [0x51a264], eax
test eax, eax
je 0x440163
push str.SymCleanup
push eax
call esi
push str.SymEnumSymbols
push dword [0x51a264]
mov dword [0x51a294], eax
call esi
push str.SymSetOptions
push dword [0x51a264]
mov dword [0x51a290], eax
call esi
push str.SymInitialize
push dword [0x51a264]
mov dword [0x51a28c], eax
call esi
push str.SymSetContext
push dword [0x51a264]
mov dword [0x51a288], eax
call esi
push str.SymGetLineFromAddr64
push dword [0x51a264]
mov dword [0x51a284], eax
call esi
push str.SymFromAddr
push dword [0x51a264]
mov dword [0x51a280], eax
call esi
push str.StackWalk64
push dword [0x51a264]
mov dword [0x51a27c], eax
call esi
push str.SymFunctionTableAccess64
push dword [0x51a264]
mov dword [0x51a278], eax
call esi
push str.SymGetModuleBase64
push dword [0x51a264]
mov dword [0x51a274], eax
call esi
push str.SymGetTypeInfo
push dword [0x51a264]
mov dword [0x51a270], eax
call esi
push str.MiniDumpWriteDump
push dword [0x51a264]
mov dword [0x51a26c], eax
call esi
mov dword [0x51a220], eax
cmp dword [0x51a294], 0
je 0x4401c6
cmp dword [0x51a290], 0
je 0x4401c6
cmp dword [0x51a28c], 0
je 0x4401c6
cmp dword [0x51a288], 0
je 0x4401c6
cmp dword [0x51a284], 0
je 0x4401c6
cmp dword [0x51a280], 0
je 0x4401c6
cmp dword [0x51a27c], 0
je 0x4401c6
cmp dword [0x51a278], 0
je 0x4401c6
cmp dword [0x51a274], 0
je 0x4401c6
cmp dword [0x51a270], 0
je 0x4401c6
cmp dword [0x51a26c], 0
jne 0x4401cb
call fcn.004404da
push str.USER32.DLL
call ebx
test eax, eax
je 0x4401e5
push str.GetGuiResources
push eax
call esi
mov dword [0x51a268], eax
jmp 0x4401ec
and dword [0x51a268], 0
push str.PSAPI.DLL
call edi
mov dword [0x51a260], eax
test eax, eax
je 0x44021b
push str.GetProcessMemoryInfo
push eax
call esi
push str.GetPerformanceInfo
push dword [0x51a260]
mov dword [0x51a25c], eax
call esi
mov dword [0x51a22c], eax
push str.Wtsapi32.dll
call edi
mov dword [0x51a23c], eax
test eax, eax
je 0x44025c
push str.WTSGetActiveConsoleSessionId
push eax
call esi
push str.WTSFreeMemory
push dword [0x51a23c]
mov dword [0x51a238], eax
call esi
push str.WTSQuerySessionInformationA
push dword [0x51a23c]
mov dword [0x51a230], eax
call esi
mov dword [0x51a234], eax
push str.ADVAPI32.DLL
call edi
mov dword [0x51a228], eax
test eax, eax
je 0x440279
push str.GetCurrentHwProfileA
push eax
call esi
mov dword [0x51a224], 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.004041e5
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.004034e0
push eax
push ebx
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x30]
call fcn.004033ea
push eax
lea ecx, [esp + 0x28]
call fcn.004033c5
push ebx
push 1
lea ecx, [esp + 0x44]
call fcn.004044e5
cmp dword [esp + 0x38], 0x10
lea ecx, [esp + 0x24]
cmovae ecx, dword [esp + 0x24]
call fcn.00440474
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.004a8907
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.004a8b13
push str.SOFTWAREKWMUSIC
lea eax, [esp + 0x280]
push esi
push eax
call fcn.004a7040
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 0x440427
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 [0x517600]
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 [0x517600], ecx
push eax
push ebx
push edi
push dword [esp + 0x28]
call esi
test eax, eax
jne 0x44041d
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0x104
push eax
push 0x51b928
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.00440800
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
push 1
mov dword [0x51a2bc], eax
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
push ebx
push 1
lea ecx, [esp + 0x2c]
call fcn.004044e5
mov eax, 0x51c327
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.004a5088
mov esp, ebp
pop ebp
ret