joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44f6ec
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44f724]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44f705
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44f714
or bl, 4
test esi, 0x20000000
je 0x44f71f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x455dcc
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x455dde
add esp, 0xfffffff0
call fcn.00403420
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00419398
mov eax, dword [0x4718d0]
mov dword [eax + 4], ebx
mov dword [eax], 0x456170
mov eax, dword [0x4718dc]
mov dword [eax + 4], ebx
mov dword [eax], 0x45617c
mov eax, ebx
call fcn.00456188
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x411670]
call fcn.004030cc
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x411670]
call fcn.004030cc
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x411670]
call fcn.004030cc
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x411670]
call fcn.004030cc
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x411670]
call fcn.004030cc
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x4525a4
push eax
push 0
push 0
mov eax, dword [0x471a28]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41ae14]
call fcn.0041c588
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41ae14]
call fcn.0041c588
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41ae14]
call fcn.0041c588
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.004565a8
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x456484
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x456484
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x456484
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x455f1b
call fcn.00403478
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x456268
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x456413
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x4563f4
mov dl, 1
mov eax, dword [0x411a8c]
call fcn.004030cc
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00403e4c
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x4563e3
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.00443dbc
test al, al
je 0x4563d6
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x456424
lea eax, [ebp - 0x254]
call fcn.00408ad4
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4563d6
xor eax, eax
push ebp
push 0x4563cf
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x45645c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4563b8
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004040bc
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x4563b8
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004040bc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4563d6
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4562d9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00415588
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45641a
lea eax, [ebp - 0x260]
call fcn.00403e4c
ret

Function at 0x456d48
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x472bb0]
cmp byte [eax + 0xa5], 0
jne 0x456db9
cmp dword [0x472bc8], 0
jne 0x456d7a
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x456d04
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x472bc8], eax
cmp dword [0x472bc4], 0
jne 0x456d95
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x472bc4], eax
cmp dword [0x472bcc], 0
jne 0x456db9
push esp
push 0
push 0
push 0x456ca8
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x472bcc], eax
pop edx
ret
Function at 0x456eb0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x456ec7
add esp, 0xfffffff0
call fcn.00403420
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00419398
mov eax, dword [0x471a14]
cmp word [eax + 2], 0
jne 0x456eef
mov eax, dword [0x471a14]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00458588
mov eax, dword [0x471ac8]
cmp word [eax + 2], 0
jne 0x456f09
mov eax, dword [0x471ac8]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00458780
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x411670]
call fcn.004030cc
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x411670]
call fcn.004030cc
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x41b8f4]
call fcn.00423454
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x457090
mov eax, dword [0x471934]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00423824
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x458d20
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x471934]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040c214
test eax, eax
je 0x456ffe
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.004084b4
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040c23c
test eax, eax
je 0x457012
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.004040bc
mov eax, dword [0x47181c]
cmp byte [eax], 0
jne 0x457046
mov eax, ebx
call fcn.004571b8
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.00458efc
mov eax, ebx
call fcn.004598c0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x457086
call fcn.00403478
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x457438
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x472bb0]
cmp dword [eax + 0x30], 0
je 0x4574e2
cmp dword [ebx + 0x94], 0
jne 0x4574dc
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4573c8
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4574dc
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x4574a2
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4574dc
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.004139d8
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4574b1
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x458044
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x458079
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00403f3c
jmp 0x458086
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00403ea0
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x4590d8
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x459119
mov eax, esi
call fcn.0043f360
test al, al
je 0x459119
mov eax, dword [ebx + 0x84]
call fcn.0043f05c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x459119
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043f05c
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x45f2d4
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x45f302
mov eax, ebx
call fcn.0045fd88
cmp dword [ebx + 0x40], 0
je 0x45f2fb
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x45f373
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x45f365
cmp dword [ebx + 8], 0
je 0x45f324
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x45f336
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x45f365
cmp dword [ebx + 8], 0
je 0x45f317
cmp eax, 3
je 0x45f349
dec eax
jne 0x45f317
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x45f317
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x45f317
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x45f391
cmp dword [ebx + 0x14], 0xcc
je 0x45f391
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.0045f39c
pop ebx
ret
Function at 0x401000
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x43c730]
xor eax, esp
mov dword [esp + 0x114], eax
lea eax, [esp]
push eax
mov dword [esp + 4], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 4], 5
mov ecx, dword [esp + 0x114]
sbb eax, eax
xor ecx, esp
inc eax
call fcn.00422272
add esp, 0x118
ret

Function at 0x401050
Capabilities:
Get common file path
Get file version info

Disassembly:
sub esp, 0x420
mov eax, dword [0x43c730]
xor eax, esp
mov dword [esp + 0x41c], eax
push esi
mov esi, dword [esp + 0x428]
test esi, esi
jne 0x401088
xor eax, eax
pop esi
mov ecx, dword [esp + 0x41c]
xor ecx, esp
call fcn.00422272
add esp, 0x420
ret
push 0x104
lea eax, [esp + 0x21c]
push eax
mov dword [esp + 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push esi
lea ecx, [esp + 0x21c]
push ecx
lea edx, [esp + 0x18]
push 0x4343f0
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [esp + 4]
push eax
lea ecx, [esp + 0x14]
push ecx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
je 0x401148
push edi
push esi
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x401139
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ebx, eax
push ebx
push esi
push 0
lea edx, [esp + 0x24]
push edx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x401138
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
push ecx
push 0x4343ec
push ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x401138
mov eax, dword [esp + 0x10]
movzx ecx, word [eax + 0xc]
mov dword [esp + 0xc], ecx
movzx edx, word [eax + 0xe]
sub edx, 0xa
imul edx, edx, 0x2710
add ecx, edx
mov dword [esp + 0xc], ecx
pop ebx
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
mov ecx, dword [esp + 0x420]
mov eax, dword [esp + 4]
pop esi
xor ecx, esp
call fcn.00422272
add esp, 0x420
ret
Function at 0x4041a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
push ebx
push ebp
mov ebp, dword [esp + 0x10]
xor ebx, ebx
test ebp, ebp
je 0x404271
cmp dword [esp + 0x14], ebx
je 0x404271
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push edi
lea eax, [esp + 0x18]
push eax
push 0x20019
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionUninstallNVIDIA_nView_Desktop_Manager
push 0x80000002
call esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40421a
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x1c]
push ecx
push ebp
lea edx, [esp + 0x18]
push edx
push ebx
push str.InstallLocation
push eax
mov dword [esp + 0x28], 1
call edi
test eax, eax
jne 0x40420b
lea ebx, [eax + 1]
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x404269
lea edx, [esp + 0x18]
push edx
push 0x20019
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionUninstallB2FE1952_0186_46C3_BAEC_A80AA35AC5B8_Display.NView
push 0x80000002
call esi
test eax, eax
jne 0x404269
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x1c]
push eax
push ebp
lea ecx, [esp + 0x18]
push ecx
push 0
push str.InstallLocation
push edx
mov dword [esp + 0x28], 1
call edi
test eax, eax
jne 0x40425e
lea ebx, [eax + 1]
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
pop ecx
ret
pop ebp
mov eax, ebx
pop ebx
pop ecx
ret
Function at 0x4060a0
Capabilities:
Check mutex on windows

Disassembly:
sub esp, 0x204
mov eax, dword [0x43c730]
xor eax, esp
mov dword [esp + 0x200], eax
push str.nwiz.exe
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
test eax, eax
je 0x406164
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x406164
push esi
push edi
xor eax, eax
push 0x1fe
push eax
lea ecx, [esp + 0x12]
push ecx
mov word [esp + 0x14], ax
call fcn.00422290
xor esi, esi
add esp, 0xc
cmp dword [0x43b178], esi
jle 0x406162
mov edi, dword [sym.imp.USER32.dll_FindWindowW]
jmp 0x406110
mov eax, dword [esi*4 + 0x43b16c]
push 0xff
lea edx, [esp + 0xc]
push edx
push eax
call fcn.004158e0
add esp, 0xc
lea ecx, [esp + 8]
push ecx
push 0
call edi
test eax, eax
jne 0x406142
inc esi
cmp esi, dword [0x43b178]
jl 0x406110
jmp 0x406162
push 0
push 0
push 0x476
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x4c8
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
pop edi
pop esi
mov ecx, dword [esp + 0x200]
xor ecx, esp
xor eax, eax
call fcn.00422272
add esp, 0x204
ret

Function at 0x406d50
Capabilities:
Create process on windows
Get common file path

Disassembly:
sub esp, 0x210
mov eax, dword [0x43c730]
xor eax, esp
mov dword [esp + 0x20c], eax
lea eax, [esp]
push eax
mov dword [esp + 4], 0
call fcn.00417a00
add esp, 4
test eax, eax
je 0x406dca
cmp dword [esp], 0
je 0x406dca
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0xe]
push edx
mov word [esp + 0x10], cx
call fcn.00422290
add esp, 0xc
push 0x104
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 1
lea ecx, [esp + 8]
push ecx
push str.nvwdmcpl.dll_nViewMain
push str.rundll32.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.00422272
add esp, 0x210
ret

Function at 0x406de0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x10
push ebx
lea eax, [esp + 8]
push eax
push 0xf003f
xor ebx, ebx
push ebx
push str.SoftwareNVIDIA_CorporationGlobal_nViewInstalled
push 0x80000001
mov dword [esp + 0x1c], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x406e9c
lea ecx, [esp + 0xc]
push ecx
mov ecx, dword [esp + 0xc]
lea edx, [esp + 8]
push edx
lea eax, [esp + 0x18]
push eax
push ebx
push str.nViewModeSet
push ecx
mov dword [esp + 0x28], 4
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x24], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x406e79
mov ebx, dword [esp + 4]
cmp dword [esp + 0x18], eax
je 0x406e79
push 4
lea edx, [esp + 8]
push edx
push 4
push eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x18]
push str.nViewModeSet
push eax
mov dword [esp + 0x24], 4
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
je 0x406e9c
call fcn.004075d0
call fcn.00406d50
mov eax, 1
pop ebx
add esp, 0x10
ret
xor eax, eax
pop ebx
add esp, 0x10
ret
Function at 0x407a10
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x34
push ebp
push edi
xor edi, edi
cmp ecx, edi
je 0x407c37
mov ebp, dword [esp + 0x44]
cmp ebp, edi
je 0x407c37
mov eax, dword [ebp + 0x10]
push ebx
mov dword [esp + 0xc], eax
xor eax, eax
push esi
lea edx, [esp + 0x34]
push edx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
lea eax, [esp + 0x28]
push eax
push ebp
push ecx
mov dword [esp + 0x34], edi
mov dword [esp + 0x2c], 1
mov dword [esp + 0x30], edi
call fcn.00407010
add esp, 0x10
cmp dword [ebp], edi
jle 0x407b29
lea ebx, [esp + 0x24]
lea esi, [ebp + 0x1c]
lea ebx, [ebx]
test edi, edi
je 0x407ab8
cmp dword [esp + 0x10], 1
jne 0x407b27
lea eax, [ebp + 0x1c]
push eax
push 0x40
push esi
call fcn.0042270b
mov ecx, dword [ebp + 0x18]
push ecx
push esi
call fcn.00407460
add esp, 0x14
mov edx, dword [esi - 0x14]
mov eax, dword [edx + 0x54]
push eax
call fcn.0040abe0
add esp, 4
test eax, eax
jne 0x407adf
cmp dword [esp + 0x10], 3
jne 0x407af6
push ebp
call fcn.0040bbf0
add esp, 4
test eax, eax
je 0x407af6
push ebp
call fcn.0040bc30
add esp, 4
test eax, eax
jne 0x407af6
mov dword [esp + edi*4 + 0x1c], 1
jmp 0x407b17
mov ecx, dword [esi + 0x54]
mov edx, dword [esi + 0x50]
mov eax, dword [esp + 0x48]
push ecx
mov ecx, dword [eax + 0xbc]
push edx
push ebx
push esi
push ecx
call fcn.00405b40
add esp, 0x14
mov dword [esp + edi*4 + 0x1c], eax
inc edi
add ebx, 0x10
add esi, 0x78
cmp edi, dword [ebp]
jl 0x407a90
xor edi, edi
xor eax, eax
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], eax
lea ebx, [esp + 0x24]
lea esi, [ebp + 0x6c]
lea ebx, [ebx]
cmp dword [esp + eax*4 + 0x1c], 0
jne 0x407c01
push ebp
call fcn.0040bbf0
add esp, 4
test eax, eax
je 0x407c2d
cmp dword [ebp + 0x10], 3
jne 0x407c2d
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x54]
push eax
call fcn.0040abe0
add esp, 4
test eax, eax
jne 0x407c2d
mov ecx, dword [esi + 4]
mov edx, dword [esi]
mov eax, dword [esp + 0x48]
push 1
push ecx
mov ecx, dword [eax + 0xbc]
push edx
push ebx
lea edi, [esi - 0x50]
push edi
push ecx
call fcn.004055b0
mov edx, dword [esp + 0x28]
add esp, 0x18
mov dword [esp + edx*4 + 0x1c], eax
test eax, eax
je 0x407bee
lea eax, [esp + 0x18]
push eax
push str.PruningMode
mov dword [esp + 0x20], 0
call fcn.00405070
add esp, 8
test eax, eax
je 0x407c01
mov ecx, dword [esi + 4]
mov edx, dword [esi]
mov eax, dword [esp + 0x48]
push 0
push ecx
mov ecx, dword [eax + 0xbc]
push edx
push ebx
push edi
push ecx
call fcn.00405f50
mov edx, dword [esp + 0x28]
add esp, 0x18
mov dword [esp + edx*4 + 0x1c], eax
mov eax, dword [esp + 0x10]
cmp dword [esp + eax*4 + 0x1c], 0
jne 0x407c01
mov dword [esp + 0x14], 1
mov eax, dword [esp + 0x10]
inc eax
add ebx, 0x10
add esi, 0x78
cmp eax, 2
mov dword [esp + 0x10], eax
jl 0x407b40
cmp dword [esp + 0x14], 0
jne 0x407c2d
pop esi
pop ebx
pop edi
mov eax, 1
pop ebp
add esp, 0x34
ret
pop esi
pop ebx
pop edi
xor eax, eax
pop ebp
add esp, 0x34
ret
pop edi
xor eax, eax
pop ebp
add esp, 0x34
ret
Function at 0x40e1d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x74
mov eax, dword [0x43c730]
xor eax, esp
mov dword [esp + 0x70], eax
push ebp
mov ebp, dword [esp + 0x7c]
test ebp, ebp
jne 0x40e1f9
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.00422272
add esp, 0x74
ret
mov eax, dword [0x443a78]
imul eax, eax, 0x2a4
mov ecx, dword [eax + ebp + 0x614]
push ecx
push ebp
call fcn.0040c2f0
mov edx, dword [0x443a84]
add esp, 8
push str.NvCplForceFSUnderScan
push edx
mov dword [esp + 0xc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esp + 8], eax
test eax, eax
je 0x40e1e7
push esi
push edi
xor eax, eax
push 0x3e
push eax
lea ecx, [esp + 0x46]
push ecx
mov word [esp + 0x48], ax
call fcn.00422290
mov edx, dword [0x443a78]
add esp, 0xc
xor edi, edi
imul edx, edx, 0x2a4
lea eax, [edx + ebp + 0x618]
mov dword [esp + 0x18], eax
lea esi, [ebp + 0x12954]
jmp 0x40e270
mov eax, dword [esi]
mov ecx, dword [esp + 0x18]
add eax, 4
lea esp, [esp]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x40e2a0
test dl, dl
je 0x40e29c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x40e2a0
add eax, 2
add ecx, 2
test dl, dl
jne 0x40e280
xor eax, eax
jmp 0x40e2a5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x40e2b4
inc edi
add esi, 0x78
cmp edi, 2
jl 0x40e270
jmp 0x40e2ce
mov ecx, edi
shl ecx, 4
sub ecx, edi
lea edx, [ebp + ecx*8 + 0x12968]
push edx
lea eax, [esp + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
xor eax, eax
push eax
push eax
push 0x40
lea ecx, [esp + 0x28]
push ecx
push 0xffffffffffffffff
lea edx, [esp + 0x50]
push edx
push eax
push eax
mov byte [esp + 0x3c], 0
mov dword [esp + 0x3d], eax
mov dword [esp + 0x41], eax
mov dword [esp + 0x45], eax
mov dword [esp + 0x49], eax
mov dword [esp + 0x4d], eax
mov dword [esp + 0x51], eax
mov dword [esp + 0x55], eax
mov word [esp + 0x59], ax
mov byte [esp + 0x5b], al
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edx, dword [esp + 0xc]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x20]
push ecx
push edx
mov dword [esp + 0x20], 0
call dword [esp + 0x1c]
mov ecx, dword [esp + 0x7c]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.00422272
add esp, 0x74
ret