Function at 0x40ab5c
Capabilities:
Create thread
Get common file path
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x244
push ebx
push esi
mov ebx, ecx
push edi
mov dword [esp + 0x1c], ebx
call fcn.0043c5cd
push eax
lea ecx, [esp + 0x34]
call fcn.0043ac50
mov ecx, dword [0x4ab4f0]
lea eax, [esp + 0x30]
push eax
push str.NotLoadWofadk
mov edx, 0x486104
call fcn.0044d2be
pop ecx
pop ecx
push 0x48e394
lea ecx, [esp + 0x34]
call fcn.00431dfc
test eax, eax
je 0x40abc8
call fcn.0044bd1c
cmp eax, 0x60002
jb 0x40abc8
call fcn.00415279
test al, al
jne 0x40abc8
call fcn.0040585f
mov eax, dword [ebx]
push 0x48fda4
mov eax, dword [eax + 0x1e0]
mov esi, dword [eax]
call sym.Dismx86.exe_DismMultiLanguage
mov ecx, dword [ebx]
push eax
mov ecx, dword [ecx + 0x1e0]
call dword [esi + 0x2c]
push 0xf
pop ecx
push 0x1cc
lea eax, [esp + 0x88]
mov esi, str.A:WindowsSystem32_ntdll.dll
lea edi, [esp + 0x4c]
push 0
rep movsd dword es:[edi], dword [esi]
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea ecx, [esp + 0x34]
call fcn.00430375
push 0x5a
pop esi
cmp word [esp + 0x48], si
ja 0x40ac6e
lea ecx, [esp + 0x48]
call fcn.0044c9a8
cmp eax, 1
jne 0x40ac5d
push 2
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x1c]
call fcn.0043a92d
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x3c]
call fcn.00434be0
mov ecx, dword [esp + 0x14]
lea ecx, [ecx - 0x10]
call fcn.0043c924
mov ax, word [esp + 0x48]
inc ax
mov word [esp + 0x48], ax
cmp ax, si
jbe 0x40ac20
push 0x104
lea eax, [esp + 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push 0x5c
push 0
lea eax, [esp + 0x50]
push eax
call dword [sym.imp.SHLWAPI.dll_StrRChrW]
xor ecx, ecx
xor ebx, ebx
xor esi, esi
mov dword [esp + 0x20], ebx
xor edi, edi
mov dword [esp + 0x24], esi
mov word [eax], cx
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x2c], edi
call fcn.0043b487
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x3c]
call fcn.00435400
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x48]
push eax
mov dword [esp + 0x18], eax
call fcn.004356dc
test al, al
jne 0x40ace4
mov eax, dword [esp + 0x34]
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x18]
lea ecx, [ecx - 0x10]
call fcn.0043c924
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x10]
cmp eax, ecx
je 0x40ad33
lea ecx, [esp + 0x14]
push ecx
push dword [eax + 0x10]
call sym.Dismx86.exe_DismGetSystemInfoByPath
test eax, eax
jne 0x40ad1c
mov eax, dword [esp + 0x1c]
push dword [esp + 0x14]
mov ecx, dword [eax]
call fcn.0040b316
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x34]
push eax
lea eax, [esp + 0x30]
push eax
call fcn.0043039b
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx]
mov dword [esp + 0x14], eax
cmp byte [eax + 0xd], bl
jne 0x40ad8e
push 2
push dword [eax + 0x10]
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
call fcn.0040b2b0
mov dword [esp + 0x10], eax
cmp esi, edi
je 0x40ad61
mov dword [esi], eax
add esi, 4
mov dword [esp + 0x24], esi
jmp 0x40ad78
lea eax, [esp + 0x10]
push eax
push esi
lea ecx, [esp + 0x28]
call fcn.00432d85
mov edi, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
lea ecx, [esp + 0x14]
call fcn.0042f6ed
mov eax, dword [esp + 0x14]
cmp byte [eax + 0xd], bl
je 0x40ad3e
mov ebx, dword [esp + 0x20]
and dword [esp + 0x14], 0
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x18]
push eax
call sym.Dismx86.exe_DismGetMountedImages
test eax, eax
jne 0x40ae6a
and dword [esp + 0x18], eax
lea eax, [esp + 0x18]
push eax
push 0x20019
push dword [0x4ab220]
push str.SOFTWAREDismHide
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x10], eax
test eax, eax
je 0x40ae60
mov ebx, dword [esp + 0x14]
cmp dword [esp + 0x18], 0
je 0x40ae02
lea eax, [esp + 0x3c]
push eax
xor eax, eax
push eax
push eax
push eax
push ebx
push dword [esp + 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x40ae4f
mov eax, dword [esp + 0x1c]
push 4
push ebx
mov ecx, dword [eax]
call fcn.0040b2b0
cmp dword [ebx + 0x414], 0
mov dword [esp + 0x2c], eax
je 0x40ae29
mov ecx, dword [eax + 0x22c]
mov dword [ecx], 3
cmp esi, edi
je 0x40ae38
mov dword [esi], eax
add esi, 4
mov dword [esp + 0x24], esi
jmp 0x40ae4f
lea eax, [esp + 0x2c]
push eax
push esi
lea ecx, [esp + 0x28]
call fcn.00432d85
mov edi, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
add ebx, 0x41a
sub dword [esp + 0x10], 1
jne 0x40ade2
mov ebx, dword [esp + 0x20]
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp ebx, esi
je 0x40af8d
mov edi, dword [ebx]
cmp dword [edi + 0x238], 0
jne 0x40af6f
lea eax, [esp + 0x10]
push eax
mov eax, dword [edi + 0x22c]
add eax, 0x870
push eax
call sym.Dismx86.exe_DismGetSystemInfoByPath
test eax, eax
jne 0x40af78
mov eax, dword [edi + 0x22c]
push 3
pop esi
cmp dword [eax], esi
jne 0x40aeb2
mov eax, dword [esp + 0x10]
mov dword [eax], esi
mov ecx, dword [edi + 0x22c]
mov eax, dword [esp + 0x10]
push ecx
mov dword [esp + 0x14], ecx
mov dword [edi + 0x22c], eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push 0xffffffffffffffff
mov ecx, edi
call fcn.0047de71
mov eax, dword [edi + 0x22c]
cmp dword [eax], esi
jne 0x40af6f
add eax, 0x870
push eax
push 0x48fe28
call sym.Dismx86.exe_DismMultiLanguage
push eax
lea eax, [esp + 0x34]
push eax
call fcn.00449eea
add esp, 0xc
mov esi, eax
push 0xf1
push 0x486080
call sym.Dismx86.exe_DismMultiLanguage
push eax
mov eax, dword [esp + 0x24]
push dword [esi]
mov eax, dword [eax]
push dword [eax + 0x1c]
call dword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, dword [esp + 0x2c]
mov esi, eax
add ecx, 0xfffffff0
call fcn.0043c924
cmp esi, 1
jne 0x40af6f
push 4
call dword [sym.imp.msvcrt.dll_void____cdecl_operator_new_unsigned_int_]
pop ecx
test eax, eax
je 0x40af49
mov dword [eax], edi
jmp 0x40af4b
xor eax, eax
push 0
push 0
push eax
push 0x432782
push 0
push 0
call dword [sym.imp.msvcrt.dll__beginthreadex]
add esp, 0x18
test eax, eax
je 0x40af78
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x40af78
push 0
mov ecx, edi
call fcn.0047dbc3
add ebx, 4
cmp ebx, dword [esp + 0x24]
jne 0x40ae72
mov edi, dword [esp + 0x28]
mov ebx, dword [esp + 0x20]
push dword [esp + 0x14]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov ecx, dword [esp + 0x1c]
push 0x48fe6c
mov eax, dword [ecx]
mov eax, dword [eax + 0x1e0]
mov esi, dword [eax]
call sym.Dismx86.exe_DismMultiLanguage
push eax
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
mov ecx, dword [ecx + 0x1e0]
call dword [esi + 0x2c]
test ebx, ebx
je 0x40afd1
sub edi, ebx
mov ecx, ebx
and edi, 0xfffffffc
mov edx, edi
call fcn.0043a508
lea ecx, [esp + 0x34]
call fcn.0040e5b4
mov ecx, dword [esp + 0x30]
lea ecx, [ecx - 0x10]
call fcn.0043c924
call fcn.0043ac97
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret