joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4498e0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x4a6eab
mov eax, dword fs:[0]
push eax
sub esp, 0xec
mov eax, dword [0x4cc850]
xor eax, esp
mov dword [esp + 0xe8], eax
push ebp
push esi
push edi
mov eax, dword [0x4cc850]
xor eax, esp
push eax
lea eax, [esp + 0xfc]
mov dword fs:[0], eax
mov eax, dword [esp + 0x10c]
mov dword [esp + 0x10], eax
xor esi, esi
mov ebp, 8
lea esp, [esp]
mov eax, dword [0x4d0f70]
add eax, 1
push eax
push str.temp_d
lea ecx, [esp + 0x38]
push 0x64
push ecx
mov dword [0x4d0f70], eax
call fcn.00484063
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], esi
mov word [esp + 0x28], si
lea edx, [esp + 0x24]
push edx
lea edx, [esp + 0x44]
mov ecx, ebx
mov dword [esp + 0x118], esi
call fcn.0043df40
mov edi, dword [esp + 0x2c]
add esp, 0x14
cmp dword [esp + 0x2c], ebp
jae 0x449988
lea edi, [esp + 0x18]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4499af
push edi
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
cmp dword [esp + 0x2c], ebp
jb 0x449930
mov eax, dword [esp + 0x18]
push eax
call fcn.004692b1
add esp, 4
jmp 0x449930
mov ecx, dword [esp + 0x10]
push 0xffffffffffffffff
push esi
lea eax, [esp + 0x1c]
call fcn.00406430
cmp dword [esp + 0x2c], ebp
jb 0x4499d2
mov ecx, dword [esp + 0x18]
push ecx
call fcn.004692b1
add esp, 4
mov ecx, dword [esp + 0xfc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0xe8]
xor ecx, esp
call fcn.00483bf3
add esp, 0xf8
ret
Function at 0x449b30
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x4aa042
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4cc850]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov edi, dword [esp + 0x28]
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov dword [edi], 0x4b6344
mov dword [edi + 0x58], 0x4b625c
lea esi, [edi + 8]
push esi
mov dword [esp + 0x24], ebx
push edi
mov dword [esp + 0x1c], 1
call fcn.004312d0
mov dword [esp + 0x20], 1
mov eax, dword [edi]
mov ecx, dword [eax + 4]
push esi
mov dword [edi + ecx], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
call fcn.004313e0
lea edx, [esi + 8]
mov dword [esi + 0x10], edx
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov byte [esi + 0x48], bl
mov byte [esi + 0x41], bl
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], ebx
mov eax, dword [esi + 0x24]
mov dword [eax], ebx
mov ecx, dword [esi + 0x34]
mov dword [ecx], ebx
mov edx, dword [esi + 0x10]
mov dword [edx], ebx
mov eax, dword [esi + 0x20]
mov edx, dword [0x4d45a4]
mov dword [eax], ebx
mov ecx, dword [esi + 0x30]
mov dword [ecx], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x44], edx
mov dword [esi + 0x3c], ebx
mov ecx, dword [esp + 0x2c]
push 0x21
mov byte [esp + 0x24], 2
call fcn.00433100
test eax, eax
jne 0x449c28
mov eax, dword [edi]
mov ecx, dword [eax + 4]
mov eax, dword [ecx + edi + 8]
add ecx, edi
or eax, 2
cmp dword [ecx + 0x28], ebx
jne 0x449c21
or eax, 4
push ebx
push eax
call fcn.00412820
mov eax, edi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret 8
Function at 0x44ad60
Capabilities:
Create process on windows
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x4a52f8
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x4cc850]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push esi
mov eax, dword [0x4cc850]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
mov esi, ecx
test esi, esi
je 0x44ae8f
test edi, edi
je 0x44ae8f
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
call ebx
test eax, eax
jle 0x44ae8f
push edi
call ebx
test eax, eax
jle 0x44ae8f
mov edx, 0x4b53e0
lea eax, [esp + 0x68]
call fcn.00405e60
lea eax, [esp + 0x68]
push eax
mov edx, esi
mov dword [esp + 0x94], 0
call fcn.00408230
push 1
push 0x4b53e0
lea ecx, [esp + 0x70]
call fcn.00408260
lea ecx, [esp + 0x68]
push ecx
mov edx, edi
call fcn.00408230
push 0x44
lea edx, [esp + 0x20]
push 0
push edx
call fcn.0048a580
xor eax, eax
add esp, 0xc
cmp dword [esp + 0x80], 8
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x1c], 0x44
jae 0x44ae3f
lea eax, [esp + 0x6c]
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x20]
push edx
push 0
push 0
push 0x20
push 0
push 0
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov eax, dword [esp + 0xc]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [esp + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
mov edx, dword [esp + 0xc]
push edx
call esi
lea ecx, [esp + 0x68]
call fcn.00401a00
mov eax, 1
jmp 0x44ae9c
push str.MyExeRegisterServer
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor eax, eax
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.00483bf3
add esp, 0x88
ret

Function at 0x44afd0
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
lea eax, [esp + 4]
push eax
push 0x20
mov dword [esp + 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
lea ecx, [esp + 8]
push ecx
push str.SeShutdownPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
push 0
push 0
mov edx, 2
push 0
mov dword [esp + 0x28], edx
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x14]
push 0
push eax
mov dword [esp + 0x28], 1
mov dword [esp + 0x30], ecx
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 2
call dword [sym.imp.USER32.dll_ExitWindowsEx]
mov esp, ebp
pop ebp
ret
Function at 0x44d0b0
Capabilities:
Enumerate gui resources
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4a52c8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x4cc850]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, dword [ebp + 0xc]
xor edi, edi
push edi
push 0x4b3a8c
call fcn.00406d50
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov eax, dword [ebp + 8]
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x3c], edi
push 0x44d2d0
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], eax
call dword [sym.imp.USER32.dll_EnumWindows]
cmp dword [esp + 0x24], edi
je 0x44d23f
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
cmp edi, eax
jbe 0x44d136
call fcn.00484029
mov eax, dword [esp + 0x1c]
mov ebx, dword [sym.imp.USER32.dll_GetWindowLongW]
lea esp, [esp]
cmp dword [esp + 0x18], eax
mov esi, eax
jbe 0x44d151
call fcn.00484029
mov eax, dword [esp + 0x1c]
cmp edi, esi
je 0x44d23d
cmp edi, eax
jb 0x44d162
call fcn.00484029
mov edx, dword [edi]
push 0xfffffffffffffff0
push edx
call ebx
cmp edi, dword [esp + 0x1c]
mov esi, eax
jb 0x44d176
call fcn.00484029
mov eax, dword [edi]
push 0xffffffffffffffec
push eax
call ebx
test esi, 0x10000000
je 0x44d1a1
test al, al
js 0x44d1a1
cmp edi, dword [esp + 0x1c]
jb 0x44d194
call fcn.00484029
mov ecx, dword [edi]
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jne 0x44d1b7
mov eax, dword [esp + 0x1c]
cmp edi, eax
jb 0x44d1b2
call fcn.00484029
mov eax, dword [esp + 0x1c]
add edi, 4
jmp 0x44d140
lea esi, [eax + 1]
xor ecx, ecx
mov eax, esi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004692ac
add esp, 4
cmp edi, dword [esp + 0x1c]
mov ebx, eax
jb 0x44d1e2
call fcn.00484029
mov eax, dword [edi]
push esi
push ebx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x44d1f2
mov esi, dword [ebp + 0xc]
sub eax, edx
sar eax, 1
push eax
push ebx
call fcn.00406d50
push ebx
call fcn.004692b1
mov eax, dword [esp + 0x1c]
add esp, 4
test eax, eax
je 0x44d225
push eax
call fcn.004692b1
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor edi, edi
mov eax, dword [esp + 0x18]
cmp eax, edi
je 0x44d250
push eax
call fcn.004692b1
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44d710
Capabilities:
Get session information
Get session user name

Disassembly:
sub esp, 0x214
mov eax, dword [0x4cc850]
xor eax, esp
mov dword [esp + 0x210], eax
push esi
push edi
push 0x202
xor edi, edi
lea eax, [esp + 0x18]
push edi
push eax
mov esi, ecx
mov dword [esp + 0x14], 0
call fcn.0048a580
add esp, 0xc
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call dword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
test eax, eax
je 0x44d786
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0xc]
push eax
push 5
push ecx
push edi
call sub.WTSAPI32.dll_WTSQuerySessionInformationW
test eax, eax
je 0x44d786
mov edx, dword [esp + 8]
push edx
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x44d7bf
lea eax, [esp + 0x14]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x44d7a0
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x18]
push edx
call fcn.00406d50
mov edi, 1
mov eax, dword [esp + 8]
test eax, eax
je 0x44d7cd
push eax
call sub.WTSAPI32.dll_WTSFreeMemory
mov ecx, dword [esp + 0x218]
mov eax, edi
pop edi
pop esi
xor ecx, esp
call fcn.00483bf3
add esp, 0x214
ret
Function at 0x44ff80
Capabilities:
Create new key via cryptacquirecontext
Encrypt data using des via winapi
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
push ebp
mov ebp, dword [esp + 0xc]
push 0
push 1
push 0
push 0
push esi
mov dword [ebp], 0
call ebx
test eax, eax
jne 0x44ffaf
push 8
push 1
push eax
push eax
push esi
call ebx
test eax, eax
je 0x450004
mov eax, dword [esi]
push edi
push 0
push 0
push 0x8003
push eax
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x44fff9
mov eax, str.Canon_Inc_IC_Auto_Update
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x44ffd0
push 0
sub eax, edx
mov edx, dword [edi]
push eax
push str.Canon_Inc_IC_Auto_Update
push edx
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x450009
mov eax, dword [edi]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov ecx, dword [esi]
push 0
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
pop ebp
xor al, al
pop ebx
ret
mov edx, dword [edi]
mov eax, dword [esi]
push ebp
push 1
push edx
push 0x6601
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
test eax, eax
jne 0x45003a
mov ecx, dword [edi]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov edx, dword [esi]
push 0
push edx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
pop ebp
xor al, al
pop ebx
ret
pop ebp
mov al, 1
pop ebx
ret

Function at 0x451c50
Capabilities:
Get file version info

Disassembly:
sub esp, 8
push ebp
mov ebp, dword [esp + 0x10]
cmp dword [ebp + 0x18], 8
push esi
jb 0x451c64
mov eax, dword [ebp + 4]
jmp 0x451c67
lea eax, [ebp + 4]
lea ecx, [esp + 8]
push ecx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
jne 0x451c80
pop esi
xor al, al
pop ebp
add esp, 8
ret
push ebx
push edi
push esi
call fcn.00484e69
add esp, 4
mov edi, eax
push edi
push esi
push 0
mov eax, ebp
xor bl, bl
call fcn.00406000
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x451cd5
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x20]
push eax
push 0x4b55a0
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x451cd5
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 8]
mov edx, dword [esp + 0x20]
mov eax, dword [eax + 0xc]
mov dword [edx], ecx
mov ecx, dword [esp + 0x24]
mov dword [ecx], eax
mov bl, 1
push edi
call fcn.00484433
add esp, 4
pop edi
mov al, bl
pop ebx
pop esi
pop ebp
add esp, 8
ret
Function at 0x453dc0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4a6a01
mov eax, dword fs:[0]
push eax
sub esp, 0x260
mov eax, dword [0x4cc850]
xor eax, esp
mov dword [esp + 0x25c], eax
push ebx
push esi
push edi
mov eax, dword [0x4cc850]
xor eax, esp
push eax
lea eax, [esp + 0x270]
mov dword fs:[0], eax
lea eax, [esp + 0x64]
push eax
xor edi, edi
push edi
push edi
push 0x2b
push edi
mov ebx, ecx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
cmp eax, edi
je 0x453e68
push 0xd
push str._UninsFolder_
lea esi, [esp + 0x18]
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], edi
mov word [esp + 0x1c], di
call fcn.00406d50
mov ecx, esi
push ecx
add ebx, 4
push ebx
mov dword [esp + 0x280], edi
call fcn.004235e0
push edi
push 0x4b3a8c
mov esi, eax
call fcn.00406d50
cmp dword [esp + 0x28], 8
jb 0x453f25
mov edx, dword [esp + 0x14]
push edx
jmp 0x453f1d
lea eax, [esp + 0x64]
mov dword [esp + 0x60], 7
mov dword [esp + 0x5c], edi
mov word [esp + 0x4c], di
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x453e80
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x68]
push eax
lea esi, [esp + 0x50]
call fcn.00406d50
push 0x36
push str.Canon_Inc_ICUniversalInstallerUninstallUnInstaller
mov ecx, esi
mov dword [esp + 0x280], 1
call fcn.00408260
push 0xd
push str._UninsFolder_
lea esi, [esp + 0x34]
mov dword [esp + 0x4c], 7
mov dword [esp + 0x48], edi
mov word [esp + 0x38], di
call fcn.00406d50
mov ecx, esi
push ecx
add ebx, 4
push ebx
mov byte [esp + 0x280], 2
call fcn.004235e0
push 0xffffffffffffffff
mov ecx, eax
push edi
lea eax, [esp + 0x50]
call fcn.00406430
mov esi, 8
cmp dword [esp + 0x44], esi
jb 0x453f12
mov edx, dword [esp + 0x30]
push edx
call fcn.004692b1
add esp, 4
cmp dword [esp + 0x60], esi
jb 0x453f25
mov eax, dword [esp + 0x4c]
push eax
call fcn.004692b1
add esp, 4
mov ecx, dword [esp + 0x270]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x25c]
xor ecx, esp
call fcn.00483bf3
add esp, 0x26c
ret
Function at 0x453f50
Capabilities:
Check for peb beingdebugged flag
Get common file path
Get startup folder

Disassembly:
push 0xffffffffffffffff
push 0x4a69ab
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x4cc850]
xor eax, esp
mov dword [esp + 0x224], eax
push ebx
push esi
push edi
mov eax, dword [0x4cc850]
xor eax, esp
push eax
lea eax, [esp + 0x238]
mov dword fs:[0], eax
xor ebx, ebx
push 0x206
lea eax, [esp + 0x32]
push ebx
push eax
mov edi, ecx
mov word [esp + 0x38], bx
call fcn.0048a580
add esp, 0xc
push ebx
push 0x18
lea ecx, [esp + 0x34]
push ecx
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0xf
push str._StartUpFolder_
lea esi, [esp + 0x18]
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], ebx
mov word [esp + 0x1c], bx
call fcn.00406d50
mov edx, esi
push edx
add edi, 4
push edi
mov dword [esp + 0x248], ebx
call fcn.004235e0
lea ecx, [esp + 0x2c]
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x453ff0
sub ecx, esi
sar ecx, 1
push ecx
lea ecx, [esp + 0x30]
push ecx
mov esi, eax
call fcn.00406d50
cmp dword [esp + 0x28], 8
jb 0x454020
mov edx, dword [esp + 0x14]
push edx
call fcn.004692b1
add esp, 4
mov ecx, dword [esp + 0x238]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x224]
xor ecx, esp
call fcn.00483bf3
add esp, 0x234
ret

Function at 0x454050
Capabilities:
Check for peb beingdebugged flag
Get common file path
Get startup folder

Disassembly:
push 0xffffffffffffffff
push 0x4a69ab
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x4cc850]
xor eax, esp
mov dword [esp + 0x224], eax
push ebx
push esi
push edi
mov eax, dword [0x4cc850]
xor eax, esp
push eax
lea eax, [esp + 0x238]
mov dword fs:[0], eax
xor ebx, ebx
push 0x206
lea eax, [esp + 0x32]
push ebx
push eax
mov edi, ecx
mov word [esp + 0x38], bx
call fcn.0048a580
add esp, 0xc
push ebx
push 0x2e
lea ecx, [esp + 0x34]
push ecx
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0xe
push str._PubDocFolder_
lea esi, [esp + 0x18]
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], ebx
mov word [esp + 0x1c], bx
call fcn.00406d50
mov edx, esi
push edx
add edi, 4
push edi
mov dword [esp + 0x248], ebx
call fcn.004235e0
lea ecx, [esp + 0x2c]
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x4540f0
sub ecx, esi
sar ecx, 1
push ecx
lea ecx, [esp + 0x30]
push ecx
mov esi, eax
call fcn.00406d50
cmp dword [esp + 0x28], 8
jb 0x454120
mov edx, dword [esp + 0x14]
push edx
call fcn.004692b1
add esp, 4
mov ecx, dword [esp + 0x238]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x224]
xor ecx, esp
call fcn.00483bf3
add esp, 0x234
ret
Function at 0x454150
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4a6978
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
push edi
mov eax, dword [0x4cc850]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
lea eax, [esp + 0x14]
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersion
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x454275
mov edx, dword [esp + 0x14]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [esp + 0x10]
push ecx
push eax
push eax
push eax
push str.ProgramFilesDir
push edx
mov dword [esp + 0x28], eax
call esi
test eax, eax
jne 0x45426a
mov eax, dword [esp + 0x10]
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004692ac
mov edi, eax
mov eax, dword [esp + 0x14]
add esp, 4
push eax
push 0
push edi
call fcn.0048a580
mov edx, dword [esp + 0x20]
add esp, 0xc
lea ecx, [esp + 0x10]
push ecx
push edi
push 0
push 0
push str.ProgramFilesDir
push edx
call esi
test eax, eax
jne 0x454261
mov edx, str._ProgFolder_
lea eax, [esp + 0x18]
call fcn.00405e60
mov ecx, dword [esp + 0x44]
lea eax, [esp + 0x18]
push eax
add ecx, 4
push ecx
mov dword [esp + 0x44], 0
call fcn.004235e0
mov ecx, edi
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x454235
sub ecx, esi
sar ecx, 1
push ecx
push edi
mov esi, eax
call fcn.00406d50
cmp dword [esp + 0x30], 8
jb 0x454261
mov edx, dword [esp + 0x1c]
push edx
call fcn.004692b1
add esp, 4
push edi
call fcn.004692b1
add esp, 4
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x34
ret 4
Function at 0x454ad0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4a6910
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4cc850]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov ebx, ecx
call fcn.004560b0
call fcn.004560b0
xor edi, edi
cmp eax, edi
jne 0x454b74
push 0xe
push str._ProgFolder64_
lea esi, [esp + 0x28]
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], edi
mov word [esp + 0x2c], di
call fcn.00406d50
mov eax, esi
push eax
add ebx, 4
push ebx
mov dword [esp + 0x68], edi
call fcn.004235e0
push 0xe
push str._ProgFolder64_
mov esi, eax
call fcn.00406d50
cmp dword [esp + 0x38], 8
jb 0x454c4c
mov ecx, dword [esp + 0x24]
push ecx
call fcn.004692b1
add esp, 4
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret
lea edx, [esp + 0x1c]
push edx
push 0x20119
push edi
push str.SOFTWAREMicrosoftWindowsCurrentVersion
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x454c4c
mov ecx, dword [esp + 0x1c]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [esp + 0x18]
push eax
push edi
push edi
push edi
push str.ProgramFilesDir
push ecx
mov dword [esp + 0x30], edi
call ebp
test eax, eax
jne 0x454c41
mov eax, dword [esp + 0x18]
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004692ac
mov esi, eax
mov eax, dword [esp + 0x1c]
add esp, 4
push eax
push edi
push esi
call fcn.0048a580
mov edx, dword [esp + 0x28]
add esp, 0xc
lea ecx, [esp + 0x18]
push ecx
push esi
push edi
push edi
push str.ProgramFilesDir
push edx
call ebp
cmp eax, edi
jne 0x454c38
mov edx, str._ProgFolder64_
lea eax, [esp + 0x3c]
call fcn.00405e60
lea eax, [esp + 0x3c]
push eax
add ebx, 4
push ebx
mov dword [esp + 0x68], 1
call fcn.004235e0
push eax
mov edx, esi
call fcn.00405ea0
lea ecx, [esp + 0x3c]
call fcn.00401a00
push esi
call fcn.004692b1
add esp, 4
mov ecx, dword [esp + 0x1c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret
Function at 0x454c60
Capabilities:
Check for peb beingdebugged flag
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4a69ab
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x4cc850]
xor eax, esp
mov dword [esp + 0x224], eax
push ebx
push esi
push edi
mov eax, dword [0x4cc850]
xor eax, esp
push eax
lea eax, [esp + 0x238]
mov dword fs:[0], eax
xor ebx, ebx
push 0x206
lea eax, [esp + 0x32]
push ebx
push eax
mov edi, ecx
mov word [esp + 0x38], bx
call fcn.0048a580
add esp, 0xc
push 0x104
lea ecx, [esp + 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push 0xb
push str._WinFolder_
lea esi, [esp + 0x18]
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], ebx
mov word [esp + 0x1c], bx
call fcn.00406d50
mov edx, esi
push edx
add edi, 4
push edi
mov dword [esp + 0x248], ebx
call fcn.004235e0
lea ecx, [esp + 0x2c]
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x454d01
sub ecx, esi
sar ecx, 1
push ecx
lea ecx, [esp + 0x30]
push ecx
mov esi, eax
call fcn.00406d50
cmp dword [esp + 0x28], 8
jb 0x454d31
mov edx, dword [esp + 0x14]
push edx
call fcn.004692b1
add esp, 4
mov ecx, dword [esp + 0x238]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x224]
xor ecx, esp
call fcn.00483bf3
add esp, 0x234
ret