joyce8/EMBER2024-capa huggingface dataset:
Function at 0x444e10
Capabilities:
Create thread

Disassembly:
push ecx
lea eax, [esp]
push esi
mov esi, ecx
push eax
push 0
push esi
push 0x444e50
push 0
push 0
mov dword [esp + 0x1c], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
xor ecx, ecx
mov dword [esi + 0x1e8], eax
test eax, eax
setne cl
mov eax, ecx
pop esi
pop ecx
ret
Function at 0x453050
Capabilities:
Log keystrokes via polling

Disassembly:
push ecx
push ebx
push ebp
mov ebp, dword [sym.imp.USER32.dll_GetKeyState]
push esi
push edi
mov edi, ecx
push 0x11
call ebp
mov ebx, dword [esp + 0x18]
mov esi, 5
test ax, ax
setl byte [esp + 0x13]
cmp ebx, 8
jne 0x453084
test byte [edi + 0x24], 0x10
je 0x453084
mov esi, 4
jmp 0x4530e6
push 0x20
call ebp
test ax, ax
jge 0x453094
mov ebx, 9
jmp 0x4530e6
cmp ebx, 8
jge 0x4530e6
mov esi, ebx
sar esi, 1
and esi, 1
test bl, 1
jne 0x4530cc
mov al, byte [esp + 0x13]
test al, al
je 0x4530b3
test byte [edi + 0x24], 1
jne 0x4530b9
cmp dword [edi + 0x40], 3
jne 0x4530c0
mov esi, 7
jmp 0x4530e6
mov al, byte [edi + 0x3e]
test al, al
je 0x4530e6
xor esi, 1
jmp 0x4530e6
mov al, byte [esp + 0x13]
add esi, 2
test al, al
je 0x4530dd
test byte [edi + 0x24], 2
jne 0x4530e3
cmp dword [edi + 0x40], 4
jne 0x4530e6
add esi, 6
mov al, byte [esp + 0x13]
test al, al
je 0x4530f8
cmp ebx, 9
jne 0x4530f8
mov esi, 6
mov esi, dword [esi*4 + 0x57c130]
test esi, esi
je 0x45310a
push esi
call dword [sym.imp.USER32.dll_SetCursor]
xor eax, eax
pop edi
test esi, esi
pop esi
pop ebp
setne al
pop ebx
pop ecx
ret 4
Function at 0x453380
Capabilities:
Query or enumerate registry key

Disassembly:
push 0xffffffffffffffff
push 0x4e9609
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x218
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x24], esi
xor ebp, ebp
mov dword [esi], 0x4ecbd0
mov dword [esp + 0x230], ebp
mov dword [esi + 0xc], ebp
mov dword [esi + 0x10], ebp
mov dword [esi + 8], ebp
mov dword [esi + 4], ebp
mov dword [esi + 0x14], ebp
mov dword [esi + 0x18], 0xa
lea ecx, [esp + 0x18]
mov byte [esp + 0x230], 1
call sub.MFC42.DLL_CString::CString
mov ecx, 0x7f
xor eax, eax
lea edi, [esp + 0x29]
mov byte [esp + 0x28], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x238]
lea ecx, [esp + 0x20]
push eax
mov bl, 2
mov edi, 0x200
push str.SoftWareGWZ_
push ecx
mov byte [esp + 0x23c], bl
mov dword [esp + 0x1c], edi
call sub.MFC42.DLL_operator_1
push eax
lea ecx, [esp + 0x23c]
mov byte [esp + 0x234], 3
call fcn.0047d35a
lea ecx, [esp + 0x20]
mov byte [esp + 0x230], bl
call fcn.0047d354
mov eax, dword [esp + 0x238]
lea edx, [esp + 0x14]
push edx
push 0xf003f
push ebp
push eax
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebp
jne 0x453555
mov eax, dword [esp + 0x14]
push ebp
push ebp
push ebp
lea ecx, [esp + 0x1c]
push ebp
lea edx, [esp + 0x38]
push ecx
push edx
push ebp
push eax
mov dword [esp + 0x30], edi
mov dword [esp + 0x3c], 1
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
cmp eax, ebp
jne 0x453555
cmp dword [esp + 0x10], ebp
jbe 0x453524
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x1c]
call fcn.0047d36c
mov eax, dword [esi + 0x10]
mov ebx, dword [esi + 8]
cmp eax, ebp
jne 0x4534e1
mov edx, dword [esi + 0x18]
push 0xc
lea eax, [esi + 0x14]
push edx
push eax
call sub.MFC42.DLL_CPlex::Create
mov ecx, dword [esi + 0x18]
lea edx, [ecx + ecx*2]
dec ecx
cmp ecx, ebp
lea eax, [eax + edx*4 - 8]
jl 0x4534e1
inc ecx
mov edx, dword [esi + 0x10]
mov dword [eax], edx
mov dword [esi + 0x10], eax
sub eax, 0xc
dec ecx
jne 0x4534d3
mov edi, dword [esi + 0x10]
push 1
mov eax, dword [edi]
mov dword [esi + 0x10], eax
mov dword [edi + 4], ebx
mov dword [edi], ebp
mov ecx, dword [esi + 0xc]
lea ebp, [edi + 8]
inc ecx
push ebp
mov dword [esi + 0xc], ecx
call sub.MFC42.DLL_ConstructElements
lea ecx, [esp + 0x18]
push ecx
mov ecx, ebp
call fcn.0047d35a
mov eax, dword [esi + 8]
test eax, eax
je 0x453517
mov dword [eax], edi
jmp 0x45351a
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov edi, 0x200
xor ebp, ebp
mov ecx, dword [esp + 0x1c]
push ebp
mov eax, ecx
inc ecx
push ebp
mov dword [esp + 0x24], ecx
push ebp
lea edx, [esp + 0x1c]
push ebp
lea ecx, [esp + 0x38]
push edx
mov edx, dword [esp + 0x28]
push ecx
push eax
push edx
mov dword [esp + 0x30], edi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
cmp eax, ebp
je 0x453492
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x18]
mov byte [esp + 0x230], 1
call fcn.0047d354
lea ecx, [esp + 0x238]
mov dword [esp + 0x230], 0xffffffff
call fcn.0047d354
mov ecx, dword [esp + 0x228]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x224
ret 4
Function at 0x4535b0
Capabilities:
Delete registry key

Disassembly:
push 0xffffffffffffffff
push 0x4e9630
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
lea eax, [esp + 0x18]
lea ecx, [esp + 4]
push eax
push str.SoftWareGWZ_
push ecx
mov dword [esp + 0x1c], 0
call sub.MFC42.DLL_operator_1
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x14], 1
call fcn.0047d35a
lea ecx, [esp + 4]
mov byte [esp + 0x10], 0
call fcn.0047d354
mov edx, dword [esp + 0x18]
push edx
push connect
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
lea ecx, [esp + 0x18]
mov esi, eax
mov dword [esp + 0x10], 0xffffffff
call fcn.0047d354
mov ecx, dword [esp + 8]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x453690
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4e969b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x18], esi
lea edi, [esi + 8]
mov dword [esp + 0x24], 0
mov ecx, edi
call sub.MFC42.DLL_CString::CString
lea ebp, [esi + 0xc]
mov byte [esp + 0x24], 1
mov ecx, ebp
call sub.MFC42.DLL_CString::CString
push str.SoftWareGWZ_
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 2
call sub.MFC42.DLL_CString::CString_2
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x10]
push eax
lea edx, [esp + 0x18]
mov bl, 3
push ecx
push edx
mov byte [esp + 0x30], bl
call sub.MFC42.DLL_operator_2
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 4
call fcn.0047d35a
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], bl
call fcn.0047d354
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov dword [esi + 0x14], ecx
mov ecx, dword [esp + 0x38]
xor eax, eax
mov dword [esi], ecx
push 0x522284
lea ecx, [esp + 0x30]
mov dword [esi + 0x10], eax
mov dword [esi + 0x1c], edx
mov dword [esi + 0x18], eax
call sub.MFC42.DLL_CString::TrimLeft_1
push 0x5c
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CString::ReverseFind
lea edx, [esp + 0x30]
push eax
push edx
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CString::Left
push eax
mov ecx, ebp
mov byte [esp + 0x28], 5
call fcn.0047d35a
lea ecx, [esp + 0x30]
mov byte [esp + 0x24], bl
call fcn.0047d354
push 0x522284
mov ecx, ebp
call sub.MFC42.DLL_CString::TrimRight_1
mov eax, dword [esp + 0x2c]
push 0x5c
lea ecx, [esp + 0x30]
mov ebp, dword [eax - 8]
call sub.MFC42.DLL_CString::ReverseFind
sub ebp, eax
lea ecx, [esp + 0x30]
push ebp
push ecx
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CString::Right
push eax
mov ecx, edi
mov byte [esp + 0x28], 6
call fcn.0047d35a
lea ecx, [esp + 0x30]
mov byte [esp + 0x24], bl
call fcn.0047d354
push 0x522284
mov ecx, edi
call sub.MFC42.DLL_CString::TrimLeft_1
push 0x522284
mov ecx, edi
call sub.MFC42.DLL_CString::TrimRight_1
mov ecx, esi
call fcn.00453870
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], 2
call fcn.0047d354
lea ecx, [esp + 0x2c]
mov dword [esp + 0x24], 0xffffffff
call fcn.0047d354
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 0x10
Function at 0x453870
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0xc]
lea edi, [esi + 4]
push edi
push 0x20019
push 0
push eax
mov eax, dword [esi]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4538df
mov eax, dword [esi + 8]
lea ecx, [esp + 0xc]
lea ebx, [esi + 0x10]
push ecx
lea edx, [esp + 0x14]
push ebx
push edx
push 0
push eax
mov eax, dword [edi]
push eax
mov dword [esp + 0x24], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4538d6
mov ecx, dword [edi]
mov dword [esi + 0x18], 1
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebx]
pop edi
pop esi
pop ebx
add esp, 8
ret
mov edx, dword [edi]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esi + 0x14]
pop edi
pop esi
pop ebx
add esp, 8
ret

Function at 0x4538f0
Capabilities:
Set registry value

Disassembly:
push ecx
push esi
mov esi, ecx
push edi
lea ecx, [esp + 8]
mov eax, dword [esi + 0xc]
mov edx, dword [esi]
lea edi, [esi + 4]
push ecx
push edi
push 0
push 0x20006
push 0
push 0x52e658
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x45394a
mov eax, dword [esi + 8]
mov edx, dword [edi]
lea ecx, [esi + 0x10]
push 4
push ecx
push 4
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x453941
mov dword [esi + 0x18], 1
mov eax, dword [edi]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ecx
ret

Function at 0x453950
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [ecx + 0x18]
test eax, eax
je 0x453962
mov eax, dword [ecx + 0x1c]
test eax, eax
jne 0x453962
mov eax, dword [ecx + 0x10]
ret
jmp fcn.00453870
Function at 0x4539a0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4e9729
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x18], esi
lea edi, [esi + 8]
mov dword [esp + 0x24], 1
mov ecx, edi
call sub.MFC42.DLL_CString::CString
lea ebp, [esi + 0xc]
mov byte [esp + 0x24], 2
mov ecx, ebp
call sub.MFC42.DLL_CString::CString
lea ebx, [esi + 0x10]
mov byte [esp + 0x24], 3
mov ecx, ebx
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x14]
mov byte [esp + 0x24], 4
call sub.MFC42.DLL_CString::CString
push str.SoftWareGWZ_
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 5
call sub.MFC42.DLL_CString::CString_2
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x10]
push eax
lea edx, [esp + 0x18]
push ecx
push edx
mov byte [esp + 0x30], 6
call sub.MFC42.DLL_operator_2
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 7
call fcn.0047d35a
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], 6
call fcn.0047d354
push 0x52e658
mov ecx, ebx
call fcn.0047d36c
lea eax, [esp + 0x30]
lea ecx, [esi + 0x14]
push eax
call fcn.0047d35a
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov dword [esi + 0x1c], ecx
xor ebx, ebx
push 0x522284
lea ecx, [esp + 0x30]
mov dword [esi], edx
mov dword [esi + 0x18], ebx
call sub.MFC42.DLL_CString::TrimLeft_1
push 0x5c
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CString::ReverseFind
push eax
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CString::Left
push eax
mov ecx, ebp
mov byte [esp + 0x28], 8
call fcn.0047d35a
lea ecx, [esp + 0x34]
mov byte [esp + 0x24], 6
call fcn.0047d354
push 0x522284
mov ecx, ebp
call sub.MFC42.DLL_CString::TrimRight_1
mov ecx, dword [esp + 0x2c]
push 0x5c
mov ebp, dword [ecx - 8]
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CString::ReverseFind
sub ebp, eax
lea edx, [esp + 0x34]
push ebp
push edx
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CString::Right
push eax
mov ecx, edi
mov byte [esp + 0x28], 9
call fcn.0047d35a
lea ecx, [esp + 0x34]
mov byte [esp + 0x24], 6
call fcn.0047d354
push 0x522284
mov ecx, edi
call sub.MFC42.DLL_CString::TrimLeft_1
push 0x522284
mov ecx, edi
call sub.MFC42.DLL_CString::TrimRight_1
lea eax, [esp + 0x34]
mov ecx, esi
push eax
call fcn.00453be0
lea ecx, [esp + 0x34]
call fcn.0047d354
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], 5
call fcn.0047d354
lea ecx, [esp + 0x2c]
mov byte [esp + 0x24], bl
call fcn.0047d354
lea ecx, [esp + 0x30]
mov dword [esp + 0x24], 0xffffffff
call fcn.0047d354
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 0x10
Function at 0x453be0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4e9778
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, ecx
push edi
xor ebx, ebx
mov eax, dword [esi + 0xc]
lea edi, [esi + 4]
push edi
push 0x20019
push ebx
push eax
mov eax, dword [esi]
mov dword [esp + 0x28], ebx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x453cc6
mov eax, dword [esi + 8]
lea ecx, [esp + 0x10]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push ecx
lea edx, [esp + 0x18]
push ebx
push edx
push ebx
push eax
mov eax, dword [edi]
push eax
mov dword [esp + 0x28], ebx
call ebp
mov ecx, dword [esp + 0x10]
push ecx
call sub.MFC42.DLL_operatornew
add esp, 4
lea edx, [esp + 0x10]
mov ebx, eax
mov eax, dword [esi + 8]
push edx
mov edx, dword [edi]
lea ecx, [esp + 0x18]
push ebx
push ecx
push 0
push eax
push edx
call ebp
test eax, eax
push ebx
jne 0x453cb5
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::CString_2
lea ebp, [esi + 0x10]
push eax
mov ecx, ebp
mov dword [esp + 0x28], 0
call fcn.0047d35a
lea ecx, [esp + 0x18]
mov dword [esp + 0x24], 0xffffffff
call fcn.0047d354
push ebx
call sub.MFC42.DLL_operatordelete
mov eax, dword [edi]
add esp, 4
mov dword [esi + 0x18], 1
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebp
jmp 0x453cca
call sub.MFC42.DLL_operatordelete
mov ecx, dword [edi]
add esp, 4
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esi, 0x14
push esi
mov esi, dword [esp + 0x30]
mov ecx, esi
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 4

Function at 0x453cf0
Capabilities:
Set registry value

Disassembly:
push ecx
push esi
mov esi, ecx
push edi
lea ecx, [esp + 8]
mov eax, dword [esi + 0xc]
mov edx, dword [esi]
lea edi, [esi + 4]
push ecx
push edi
push 0
push 0x20006
push 0
push 0x52e658
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x453d4d
mov eax, dword [esi + 0x10]
mov edx, dword [esi + 8]
mov ecx, dword [eax - 8]
inc ecx
push ecx
push eax
mov eax, dword [edi]
push 1
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x453d44
mov dword [esi + 0x18], 1
mov ecx, dword [edi]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ecx
ret
Function at 0x453e20
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4e97eb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x18], esi
lea edi, [esi + 8]
mov dword [esp + 0x24], 0
mov ecx, edi
call sub.MFC42.DLL_CString::CString
lea ebp, [esi + 0xc]
mov byte [esp + 0x24], 1
mov ecx, ebp
call sub.MFC42.DLL_CString::CString
push str.SoftWareGWZ_
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 2
call sub.MFC42.DLL_CString::CString_2
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x10]
push eax
lea edx, [esp + 0x18]
mov bl, 3
push ecx
push edx
mov byte [esp + 0x30], bl
call sub.MFC42.DLL_operator_2
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 4
call fcn.0047d35a
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], bl
call fcn.0047d354
lea ebx, [esi + 0x10]
xor eax, eax
xor ecx, ecx
xor edx, edx
mov dword [ebx], eax
push 0x522284
mov dword [esi + 0x30], 0
mov dword [ebx + 4], ecx
mov ecx, dword [esp + 0x34]
mov dword [ebx + 8], edx
mov edx, dword [esp + 0x38]
mov dword [ebx + 0xc], eax
lea eax, [esi + 0x20]
mov dword [esi + 0x20], ecx
mov ecx, dword [esp + 0x3c]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x40]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x48]
mov dword [esi], ecx
lea ecx, [esp + 0x30]
mov dword [eax + 0xc], edx
mov eax, dword [esp + 0x44]
mov dword [esi + 0x34], eax
call sub.MFC42.DLL_CString::TrimLeft_1
push 0x5c
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CString::ReverseFind
lea edx, [esp + 0x40]
push eax
push edx
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CString::Left
push eax
mov ecx, ebp
mov byte [esp + 0x28], 5
call fcn.0047d35a
mov bl, 3
lea ecx, [esp + 0x40]
mov byte [esp + 0x24], bl
call fcn.0047d354
push 0x522284
mov ecx, ebp
call sub.MFC42.DLL_CString::TrimRight_1
mov eax, dword [esp + 0x2c]
push 0x5c
lea ecx, [esp + 0x30]
mov ebp, dword [eax - 8]
call sub.MFC42.DLL_CString::ReverseFind
sub ebp, eax
lea ecx, [esp + 0x40]
push ebp
push ecx
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CString::Right
push eax
mov ecx, edi
mov byte [esp + 0x28], 6
call fcn.0047d35a
lea ecx, [esp + 0x40]
mov byte [esp + 0x24], bl
call fcn.0047d354
push 0x522284
mov ecx, edi
call sub.MFC42.DLL_CString::TrimLeft_1
push 0x522284
mov ecx, edi
call sub.MFC42.DLL_CString::TrimRight_1
lea edx, [esp + 0x30]
mov ecx, esi
push edx
call fcn.00454030
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], 2
call fcn.0047d354
lea ecx, [esp + 0x2c]
mov dword [esp + 0x24], 0xffffffff
call fcn.0047d354
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 0x1c
Function at 0x454030
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x18
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0xc]
lea ebx, [esi + 4]
push ebx
push 0x20019
push 0
push eax
mov eax, dword [esi]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x45411d
lea ecx, [esp + 0x10]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push ecx
mov ecx, dword [ebx]
lea edx, [esp + 0x18]
push eax
push edx
mov dword [esp + 0x1c], eax
push eax
mov eax, dword [esi + 8]
push eax
push ecx
call edi
mov edx, dword [esp + 0x10]
push edx
call sub.MFC42.DLL_operatornew
add esp, 4
lea ecx, [esp + 0x10]
mov ebp, eax
mov eax, dword [esi + 8]
push ecx
lea edx, [esp + 0x18]
push ebp
push edx
push 0
push eax
mov eax, dword [ebx]
push eax
call edi
test eax, eax
push ebp
jne 0x45410c
lea ecx, [esp + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_CopyRect]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
lea edi, [esi + 0x10]
push ebp
mov edx, edi
mov dword [edx], eax
mov eax, dword [esp + 0x24]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x28]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
call sub.MFC42.DLL_operatordelete
mov edx, dword [ebx]
add esp, 4
mov dword [esi + 0x30], 1
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x2c]
mov edx, dword [edi]
mov ecx, eax
mov dword [ecx], edx
mov edx, dword [edi + 4]
mov dword [ecx + 4], edx
mov edx, dword [edi + 8]
mov dword [ecx + 8], edx
mov edx, dword [edi + 0xc]
pop edi
pop esi
pop ebp
mov dword [ecx + 0xc], edx
pop ebx
add esp, 0x18
ret 4
call sub.MFC42.DLL_operatordelete
mov eax, dword [ebx]
add esp, 4
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x2c]
add esi, 0x20
mov ecx, eax
pop edi
mov edx, dword [esi]
mov dword [ecx], edx
mov edx, dword [esi + 4]
mov dword [ecx + 4], edx
mov edx, dword [esi + 8]
mov dword [ecx + 8], edx
mov edx, dword [esi + 0xc]
pop esi
pop ebp
mov dword [ecx + 0xc], edx
pop ebx
add esp, 0x18
ret 4

Function at 0x454150
Capabilities:
Set registry value

Disassembly:
push ecx
push esi
mov esi, ecx
push edi
lea ecx, [esp + 8]
mov eax, dword [esi + 0xc]
mov edx, dword [esi]
lea edi, [esi + 4]
push ecx
push edi
push 0
push 0x20006
push 0
push 0x52e658
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4541aa
mov eax, dword [esi + 8]
mov edx, dword [edi]
lea ecx, [esi + 0x10]
push 0x10
push ecx
push 3
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x4541a1
mov dword [esi + 0x30], 1
mov eax, dword [edi]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ecx
ret
Function at 0x458b60
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0x34
push ebx
push ebp
push esi
push edi
mov esi, ecx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
mov dword [esp + 0x1c], eax
call dword [sym.imp.USER32.dll_GetWindowDC]
mov ebp, eax
push ebp
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [esi + 0x50]
mov ebx, eax
mov eax, dword [esi + 0x54]
push eax
push ecx
push ebp
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push ebx
mov dword [esp + 0x18], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x14], eax
mov al, byte [esp + 0x48]
test al, al
je 0x458bcd
mov edx, dword [esi + 0x5c]
mov eax, dword [esi + 0x58]
mov ecx, dword [esi + 0x4c]
push 0xcc0020
push edx
mov edx, dword [esi + 0x48]
push eax
push ebp
push ecx
push edx
push 0
push 0
push ebx
call dword [sym.imp.GDI32.dll_BitBlt]
mov edx, dword [esi + 0x9c]
mov ecx, 0xa
xor eax, eax
lea edi, [esp + 0x1c]
rep stosd dword es:[edi], eax
mov eax, dword [esi + 0x64]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x68]
push 0
push ecx
push edx
mov dword [esp + 0x30], eax
push eax
mov eax, dword [esp + 0x20]
push 0
push eax
push ebx
mov dword [esp + 0x38], 0x28
mov word [esp + 0x44], 1
mov word [esp + 0x46], 0x18
mov dword [esp + 0x48], 0
call dword [sym.imp.GDI32.dll_SetDIBits]
mov ecx, dword [esi + 0x20]
push ecx
call dword [sym.imp.USER32.dll_GetDC]
push eax
call sub.MFC42.DLL_CDC::FromHandle
mov edx, dword [esi + 0x4c]
push 0xcc0020
push 0
mov edi, eax
mov eax, dword [esi + 0x48]
push 0
mov ecx, dword [edi + 4]
push ebx
push edx
push eax
push 0
push 0
push ecx
call dword [sym.imp.GDI32.dll_BitBlt]
mov edx, dword [edi]
lea eax, [esi + 0xa8]
push eax
mov ecx, edi
call dword [edx + 0x30]
push 1
mov ecx, edi
call sub.MFC42.DLL_CDC::SetBkMode
mov edx, dword [edi]
push 0x64c864
mov ecx, edi
call dword [edx + 0x38]
mov eax, dword [esi + 0x98]
mov edx, dword [edi]
mov ecx, dword [eax - 8]
push ecx
push eax
push 0x15e
push 0x96
mov ecx, edi
call dword [edx + 0x64]
mov edx, dword [edi + 4]
mov eax, dword [esi + 0x20]
mov esi, dword [sym.imp.USER32.dll_ReleaseDC]
push edx
push eax
call esi
mov ecx, dword [esp + 0x14]
push ecx
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.GDI32.dll_DeleteObject]
push ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [esp + 0x18]
push ebp
push eax
call esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret 4