joyce8/EMBER2024-capa huggingface dataset:
Function at 0x417290
Capabilities:
Print debug messages

Disassembly:
mov eax, 0x100c
call fcn.004377c0
mov eax, dword [0x4c3740]
xor eax, esp
mov dword [esp + 0x1008], eax
mov ecx, dword [esp + 0x1010]
push edi
lea eax, [esp + 0x1018]
push eax
push ecx
call dword [sym.imp.MSVCR80.dll__vscprintf]
add eax, 1
add esp, 8
cmp eax, 0x1000
jg 0x417337
mov eax, dword [esp + 0x1014]
lea edx, [esp + 0x1018]
push edx
push eax
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.MSVCR80.dll_vsprintf]
mov edi, eax
add esp, 0xc
test edi, edi
jl 0x417337
cmp byte [esi + 5], 0
je 0x417301
lea edx, [esp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp byte [esi + 7], 0
je 0x417313
lea eax, [esp + 8]
push eax
mov ecx, esi
call fcn.00417900
cmp byte [esi + 4], 0
je 0x417337
mov eax, dword [esi]
push 0
lea ecx, [esp + 8]
push ecx
push edi
lea edx, [esp + 0x14]
push edx
push eax
mov dword [esp + 0x18], 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleA]
mov ecx, dword [esp + 0x100c]
pop edi
xor ecx, esp
call fcn.00437634
add esp, 0x100c
ret

Function at 0x417350
Capabilities:
Print debug messages

Disassembly:
mov eax, 0x2010
call fcn.004377c0
mov eax, dword [0x4c3740]
xor eax, esp
mov dword [esp + 0x200c], eax
mov ecx, dword [esp + 0x2014]
push ebx
push edi
lea eax, [esp + 0x2020]
push eax
push ecx
call dword [sym.imp.MSVCR80.dll__vscwprintf]
add eax, 1
add esp, 8
cmp eax, 0x1000
jg 0x4173f6
mov eax, dword [esp + 0x201c]
lea edx, [esp + 0x2020]
push edx
push eax
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.MSVCR80.dll__vswprintf]
mov ebx, eax
add esp, 0xc
test ebx, ebx
jl 0x4173f6
cmp byte [esi + 5], 0
je 0x4173c2
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp byte [esi + 7], 0
je 0x4173d2
push esi
lea edi, [esp + 0x14]
call fcn.00417be0
cmp byte [esi + 4], 0
je 0x4173f6
mov edx, dword [esi]
push 0
lea eax, [esp + 0x10]
push eax
push ebx
lea ecx, [esp + 0x1c]
push ecx
push edx
mov dword [esp + 0x20], 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleW]
mov ecx, dword [esp + 0x2014]
pop edi
pop ebx
xor ecx, esp
call fcn.00437634
add esp, 0x2010
ret
Function at 0x417d00
Capabilities:
Get system information on windows

Disassembly:
sub esp, 0x2c8
mov eax, dword [0x4c3740]
xor eax, esp
mov dword [esp + 0x2c4], eax
xor eax, 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
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
push edi
lea eax, [esp + 8]
push eax
mov dword [esp + 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
push 0x98
lea ecx, [esp + 0x34]
push 0
push ecx
call sub.MSVCR80.dll_memset
add esp, 0xc
lea edx, [esp + 0x2c]
push edx
mov dword [esp + 0x30], 0x9c
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
push str.IsWow64Process
push str.kernel32
mov dword [esp + 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x417da4
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call edi
push 0x1ff
lea ecx, [esp + 0xcd]
push 0
push ecx
mov byte [esp + 0xd4], 0
call sub.MSVCR80.dll_memset
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
push edx
push eax
push ecx
push str.Version___d._d._d_r_n
mov ecx, 0x200
lea edi, [esp + 0xe4]
call fcn.0040e120
add esp, 0x1c
mov ecx, esi
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::clear_void_]
push str._SystemInfo__r_n
mov ecx, esi
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
mov edx, edi
push edx
mov ecx, esi
call dword [0x43e254]
cmp dword [esp + 4], 0
mov ecx, esi
je 0x417e18
push str.SystemType__64Bit_r_n
jmp 0x417e1d
push str.SystemType__32Bit_r_n
call dword [0x43e254]
push 0x200
lea eax, [esp + 0xcc]
push 0
push eax
call sub.MSVCR80.dll_memset
mov ecx, dword [esp + 0x28]
push ecx
push str.NumberOfProcessors:___d_r_n
mov ecx, 0x200
lea edi, [esp + 0xdc]
call fcn.0040e120
add esp, 0x14
mov edx, edi
push edx
mov ecx, esi
call dword [0x43e254]
push str._r_n_r_n
mov ecx, esi
call dword [0x43e254]
mov ecx, dword [esp + 0x2c8]
pop edi
xor ecx, esp
call fcn.00437634
add esp, 0x2c8
ret
Function at 0x4184a0
Capabilities:
Get storage device properties

Disassembly:
mov eax, 0x1014
call fcn.004377c0
mov eax, dword [0x4c3740]
xor eax, esp
mov dword [esp + 0x1010], eax
push ebx
push esi
push edi
xor ebx, ebx
push ebx
push ebx
push 3
push ebx
push 3
push 0xc0000000
push str..PhysicalDrive0
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x41852e
push 0xfff
lea eax, [esp + 0x21]
push ebx
push eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov byte [esp + 0x28], bl
call sub.MSVCR80.dll_memset
add esp, 0xc
push ebx
lea ecx, [esp + 0x10]
push ecx
push 0x1000
lea edx, [esp + 0x28]
push edx
push 0xc
lea eax, [esp + 0x24]
push eax
push 0x2d1400
push esi
mov dword [esp + 0x2c], ebx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
push esi
jne 0x418548
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [esp + 0x1010]
xor ecx, esp
call fcn.00437634
add esp, 0x1014
ret
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x30]
lea eax, [esp + eax + 0x1c]
call fcn.00418590
push eax
push str._08X
mov ecx, 0xc
call fcn.0040e120
mov ecx, dword [esp + 0x1024]
add esp, 8
pop edi
pop esi
pop ebx
xor ecx, esp
mov al, 1
call fcn.00437634
add esp, 0x1014
ret
Function at 0x41a580
Capabilities:
Monitor local ipv4 address changes

Disassembly:
sub esp, 0x1c
push ebx
push ebp
push esi
mov esi, eax
xor ebx, ebx
cmp byte [esi + 0x410], bl
push edi
jne 0x41a5a8
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
mov dword [esp + 0x14], ebx
call dword [sym.imp.WS2_32.dll_WSACreateEvent]
cmp eax, ebx
mov dword [esp + 0x28], eax
jne 0x41a640
lea edi, [esi + 0x434]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call fcn.0041ab90
push 0xfa0
mov byte [esi + 0x410], bl
call dword [sym.imp.KERNEL32.dll_Sleep]
call sub.Comn.dll_GetObjectLogPXE
mov ebx, eax
mov esi, dword [ebx]
push 0x21b
add esi, 0xc
call fcn.00418f10
add esp, 4
push eax
mov eax, dword [esi]
push str._s:__HFS_Create_WSA_event_fail
push ebx
call eax
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call sub.Comn.dll_GetObjectLogPXE
mov edi, eax
mov esi, dword [edi]
push 0x21e
add esi, 0xc
call fcn.00418f10
mov ecx, dword [esi]
add esp, 4
push eax
push str._s:_120
push edi
call ecx
add esp, 0xc
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x18]
push eax
call sub.IPHLPAPI.DLL_NotifyAddrChange
test eax, eax
je 0x41a6c6
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x3e5
je 0x41a6c6
lea edi, [esi + 0x434]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call fcn.0041ab90
push 0xfa0
mov byte [esi + 0x410], bl
call dword [sym.imp.KERNEL32.dll_Sleep]
call sub.Comn.dll_GetObjectLogPXE
mov ebx, eax
mov esi, dword [ebx]
push 0x22b
add esi, 0xc
call fcn.00418f10
mov ecx, dword [esi]
add esp, 4
push eax
push str._s:__HFS_add_notify_fail
push ebx
call ecx
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edx, dword [esp + 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
mov eax, dword [esp + 0x28]
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x1f4
push eax
call edi
cmp eax, 0x102
mov bl, 1
jne 0x41a709
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x1f4
call ebp
cmp byte [esi + 0x44c], bl
je 0x41a709
mov ecx, dword [esp + 0x28]
push 0x1f4
push ecx
call edi
cmp eax, 0x102
je 0x41a6e7
lea edx, [esp + 0x18]
push edx
call sub.IPHLPAPI.DLL_CancelIPChangeNotify
test eax, eax
jne 0x41a73e
call sub.Comn.dll_GetObjectLogPXE
mov edi, eax
mov esi, dword [edi]
push 0x23d
add esi, 0xc
call fcn.00418f10
add esp, 4
push eax
mov eax, dword [esi]
push str._s:__HFS_CancelNotify_Faile
push edi
call eax
add esp, 0xc
mov ecx, dword [esp + 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
mov al, bl
pop ebx
add esp, 0x1c
ret
Function at 0x41c430
Capabilities:
Get file size

Disassembly:
sub esp, 0x10
push esi
push 0
push 0x80
push 3
push 0
push 3
push bind
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x41c46b
lea ecx, [esp + 8]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
push esi
jne 0x41c472
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
pop esi
add esp, 0x10
ret
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
mov dword [edi], edx
mov dword [edi + 4], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop esi
add esp, 0x10
ret

Function at 0x41ce00
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x54
push 0x44
lea eax, [esp + 0x14]
push 0
push eax
call sub.MSVCR80.dll_memset
xor eax, eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x64]
add esp, 0xc
cmp dword [eax + 0x18], 8
mov dword [esp + 0x10], 0x44
mov dword [esp + 0x3c], 1
mov word [esp + 0x40], 0
jb 0x41ce4c
mov eax, dword [eax + 4]
jmp 0x41ce4f
add eax, 4
lea ecx, [esp]
push ecx
lea edx, [esp + 0x14]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x41ce7d
call dword [sym.imp.KERNEL32.dll_GetLastError]
add esp, 0x54
ret 4
mov eax, dword [esp]
push esi
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [esp + 8]
lea ecx, [esp + 0x5c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
mov eax, dword [esp + 4]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
mov ecx, dword [esp + 8]
push ecx
call esi
mov eax, dword [esp + 0x5c]
pop esi
add esp, 0x54
ret 4

Function at 0x41d0c0
Capabilities:
Check if file exists
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x30]
mov ecx, dword [esi + 0x28]
push eax
call dword [sym.imp.QtGui4.dll_public:_void___thiscall_QStackedWidget::setCurrentWidget_class_QWidget__]
mov ecx, dword [esi + 0x30]
pop esi
jmp fcn.00428110
Function at 0x4205a0
Capabilities:
Get disk information
Get disk size

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4393eb
mov eax, dword fs:[0]
push eax
sub esp, 0x478
mov eax, dword [0x4c3740]
xor eax, esp
mov dword [esp + 0x470], eax
push ebx
push esi
push edi
mov eax, dword [0x4c3740]
xor eax, esp
push eax
lea eax, [esp + 0x488]
mov dword fs:[0], eax
xor edi, edi
push 0x3fe
lea eax, [esp + 0x82]
push edi
push eax
mov word [esp + 0x88], di
call sub.MSVCR80.dll_memset
add esp, 0xc
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
lea ecx, [esp + 0x7c]
push ecx
push 0x400
mov dword [esp + 0x498], edi
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
cmp eax, edi
je 0x4206de
mov ebx, dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
lea esi, [esp + 0x7c]
push 0x3e
lea edx, [esp + 0x42]
push edi
push edx
mov word [esp + 0x48], di
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0x20
lea eax, [esp + 0x40]
push eax
push edi
push edi
push edi
push edi
push edi
push esi
call ebx
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x2c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
mov ecx, str.NTFS
lea eax, [esp + 0x3c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x42069e
cmp dx, di
je 0x42069a
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x42069e
add eax, 4
add ecx, 4
cmp dx, di
jne 0x420678
xor eax, eax
jmp 0x4206a3
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
jne 0x4206b9
cmp dword [esp + 0x28], edi
ja 0x420718
jb 0x4206b9
cmp dword [esp + 0x24], 0x80000000
ja 0x420718
mov eax, esi
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x4206c0
sub eax, edx
sar eax, 1
cmp word [esi + eax*2 + 2], di
lea esi, [esi + eax*2 + 2]
jne 0x420635
lea ecx, [esp + 0x14]
mov dword [esp + 0x490], 0xffffffff
call fcn.00420540
xor al, al
mov ecx, dword [esp + 0x488]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x470]
xor ecx, esp
call fcn.00437634
mov esp, ebp
pop ebp
ret
lea ecx, [esp + 0x14]
mov dword [esp + 0x490], 0xffffffff
call fcn.00420540
mov al, 1
jmp 0x4206f4
Function at 0x421950
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x1218
call fcn.004377c0
mov eax, dword [0x4c3740]
xor eax, esp
mov dword [esp + 0x1214], eax
push ebp
push esi
push edi
mov edi, dword [esp + 0x1228]
mov eax, dword [esp + 0x1230]
xor esi, esi
push esi
mov ebp, dword [esp + 0x1230]
push esi
push esi
push esi
lea ecx, [esp + 0x24]
push ecx
push esi
push esi
push esi
push esi
push esi
push esi
push edi
mov dword [esp + 0x3c], eax
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
je 0x4219d0
call sub.Comn.dll_GetObjectLogPXE
mov edi, eax
mov esi, dword [edi]
push 0x1fd
mov ecx, str..PanelThree.cpp
add esi, 0xc
call fcn.00421360
mov edx, dword [esi]
push eax
push str._s:__UI_Query_Reg_Pxe_Run_Fail
push edi
call edx
add esp, 0x10
xor al, al
jmp 0x421a7c
push ebx
push 0x1fc
lea eax, [esp + 0x2a]
push esi
push eax
mov word [esp + 0x30], si
call sub.MSVCR80.dll_memset
push 0xfff
lea ecx, [esp + 0x235]
push esi
push ecx
mov dword [esp + 0x2c], 0x1fe
mov byte [esp + 0x23c], 0
call sub.MSVCR80.dll_memset
add esp, 0x18
cmp dword [esp + 0x18], esi
mov dword [esp + 0x1c], 0x1000
jbe 0x421a72
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x228]
push eax
lea ecx, [esp + 0x28]
push ecx
push 0
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x38]
push eax
push esi
push edi
call ebx
test eax, eax
jne 0x421a69
lea ecx, [esp + 0x24]
push ebp
push ecx
mov dword [esp + 0x1c], 0x1fe
mov dword [esp + 0x24], 0x1000
call dword [sym.imp.MSVCR80.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x421a96
add esi, 1
cmp esi, dword [esp + 0x18]
jb 0x421a20
mov eax, dword [esp + 0x10]
mov byte [eax], 0
mov al, 1
pop ebx
mov ecx, dword [esp + 0x1220]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.00437634
add esp, 0x1218
ret 0xc
mov edx, dword [esp + 0x10]
mov byte [edx], 1
jmp 0x421a79
Function at 0x421ce0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4397d2
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
push edi
mov eax, dword [0x4c3740]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov eax, dword [sym.imp.QtCore4.dll_struct_QString::Data_QString::shared_null]
mov dword [esp + 0xc], eax
mov ecx, 1
lock xadd dword [eax], ecx
movzx edx, word [esp + 0x20]
movzx eax, word [esp + 0x1e]
movzx ecx, word [esp + 0x1c]
push edx
push eax
push ecx
lea edx, [esp + 0x18]
push str.__02d:_02d:_02d
push edx
mov dword [esp + 0x40], 0
call dword [sym.imp.QtCore4.dll_public:_class_QString____cdecl_QString::sprintf_char_const__]
add esp, 0x14
call sub.Comn.dll_GetObjectLang
mov edx, dword [eax]
push 0xffffffffffffffff
mov ecx, eax
mov eax, dword [edx]
push str.60021
call eax
push eax
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.QtCore4.dll_public:_static_class_QString___cdecl_QString::fromWCharArray_unsigned_short_int_const___int_]
add esp, 0xc
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 1
call dword [sym.imp.QtCore4.dll_public:_class_QString____thiscall_QString::append_class_QString_const__]
mov edx, dword [esp + 0x10]
mov byte [esp + 0x2c], 0
or eax, 0xffffffff
lock xadd dword [edx], eax
mov edi, dword [sym.imp.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__]
jne 0x421da6
mov ecx, dword [esp + 0x10]
push ecx
call edi
add esp, 4
mov ecx, dword [esi + 0x30]
lea edx, [esp + 0xc]
push edx
call dword [sym.imp.QtGui4.dll_public:_void___thiscall_QTextEdit::append_class_QString_const__]
mov eax, dword [esp + 0xc]
mov dword [esp + 0x2c], 0xffffffff
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x421dd3
mov edx, dword [esp + 0xc]
push edx
call edi
add esp, 4
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x24
ret
Function at 0x4236a0
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
sub esp, 0x40c
mov eax, dword [0x4c3740]
xor eax, esp
mov dword [esp + 0x408], eax
push esi
push edi
lea eax, [esp + 0xc]
push eax
push 0xf003f
push 0
push str.softwaremicrosoftwindowscurrentversion_run
push reloc.WS2_32.dll_bind
mov esi, ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x42371a
call sub.Comn.dll_GetObjectLogPXE
mov edi, eax
mov esi, dword [edi]
push 0x17e
mov ecx, str..PanelThree.cpp
add esi, 0xc
call fcn.00421360
mov ecx, dword [esi]
push eax
push str._s:__UI_Open_Reg_Fail
push edi
call ecx
add esp, 0x10
pop edi
xor al, al
pop esi
mov ecx, dword [esp + 0x408]
xor ecx, esp
call fcn.00437634
add esp, 0x40c
ret
mov eax, dword [esp + 0xc]
lea edx, [esp + 0xb]
push edx
push str.AOMEIPxeRun
push eax
mov ecx, esi
mov byte [esp + 0x17], 0
call fcn.00421950
test al, al
je 0x4238a9
cmp byte [esp + 0xb], 0
jne 0x4238a9
push 0x3fe
lea ecx, [esp + 0x16]
push 0
push ecx
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0x3fe
lea edx, [esp + 0x16]
push edx
mov esi, 0x22
push 0
mov word [esp + 0x1c], si
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x4237a0
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
xor al, al
pop esi
mov ecx, dword [esp + 0x408]
xor ecx, esp
call fcn.00437634
add esp, 0x40c
ret
lea eax, [esp + 0x10]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4237a7
sub eax, edx
sar eax, 1
cmp eax, 0x1fd
jle 0x42380a
call sub.Comn.dll_GetObjectLogPXE
mov edi, eax
mov esi, dword [edi]
push 0x194
mov ecx, str..PanelThree.cpp
add esi, 0xc
call fcn.00421360
mov ecx, dword [esi]
push eax
push str._s:_UI_File_Path_Is_Too_Long
push edi
call ecx
mov edx, dword [esp + 0x1c]
add esp, 0x10
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
xor al, al
pop esi
mov ecx, dword [esp + 0x408]
xor ecx, esp
call fcn.00437634
add esp, 0x40c
ret
mov word [esp + eax*2 + 0x10], si
mov word [esp + eax*2 + 0x12], 0x20
mov word [esp + eax*2 + 0x14], 0x73
lea eax, [esp + 0x10]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x423824
sub eax, edx
mov edx, dword [esp + 0xc]
sar eax, 1
lea eax, [eax + eax + 2]
push eax
lea ecx, [esp + 0x14]
push ecx
push 1
push 0
push str.AOMEIPxeRun
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x4238a2
call sub.Comn.dll_GetObjectLogPXE
mov edi, eax
mov esi, dword [edi]
push 0x1a0
mov ecx, str..PanelThree.cpp
add esi, 0xc
call fcn.00421360
push eax
mov eax, dword [esi]
push str._s:__UI_Write_Reg_Fail
push edi
call eax
mov ecx, dword [esp + 0x1c]
add esp, 0x10
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
xor al, al
pop esi
mov ecx, dword [esp + 0x408]
xor ecx, esp
call fcn.00437634
add esp, 0x40c
ret
mov edx, dword [esp + 0xc]
push edx
jmp 0x4238ae
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x410]
pop edi
pop esi
xor ecx, esp
mov al, 1
call fcn.00437634
add esp, 0x40c
ret
Function at 0x4238d0
Capabilities:
Persist via windows service
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x58
mov eax, dword [0x4c3740]
xor eax, esp
mov dword [esp + 0x54], eax
push esi
lea eax, [esp + 8]
push eax
push 0xf003f
push 0
push str.systemcurrentcontrolset_services_tcpipparameters
push reloc.WS2_32.dll_bind
mov esi, ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x42393e
push edi
call sub.Comn.dll_GetObjectLogPXE
mov edi, eax
mov esi, dword [edi]
push 0x1b0
mov ecx, str..PanelThree.cpp
add esi, 0xc
call fcn.00421360
mov ecx, dword [esi]
push eax
push str._s:__UI_Open_Reg_Fail
push edi
call ecx
add esp, 0x10
pop edi
xor al, al
pop esi
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.00437634
add esp, 0x58
ret
mov eax, dword [esp + 8]
lea edx, [esp + 7]
push edx
push str.TcpTimedWaitDelay
push eax
mov ecx, esi
mov byte [esp + 0x13], 0
call fcn.00421950
test al, al
jne 0x42397a
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
pop esi
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.00437634
add esp, 0x58
ret
cmp byte [esp + 7], 0
je 0x4239ea
push 0x3f
lea edx, [esp + 0x1d]
push 0
push edx
mov byte [esp + 0x24], 0
call sub.MSVCR80.dll_memset
add esp, 0xc
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x1c]
push edx
push 0
push str.TcpTimedWaitDelay
push eax
mov dword [esp + 0x28], 0x40
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x423a0d
mov eax, 0x1e
cmp dword [esp + 0x18], eax
je 0x423a0d
mov edx, dword [esp + 8]
push 4
lea ecx, [esp + 0x10]
push ecx
push 4
push 0
push str.TcpTimedWaitDelay
mov dword [esp + 0x20], eax
push edx
jmp 0x423a07
mov ecx, dword [esp + 8]
push 4
lea eax, [esp + 0x10]
push eax
push 4
push 0
push str.TcpTimedWaitDelay
mov dword [esp + 0x20], 0x1e
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x58]
pop esi
xor ecx, esp
mov al, 1
call fcn.00437634
add esp, 0x58
ret
Function at 0x423a30
Capabilities:
Delete registry value
Persist via run registry key

Disassembly:
sub esp, 8
push esi
push edi
lea eax, [esp + 0xc]
push eax
push 0xf003f
push 0
push str.softwaremicrosoftwindowscurrentversion_run
push reloc.WS2_32.dll_bind
mov esi, ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x423a88
call sub.Comn.dll_GetObjectLogPXE
mov edi, eax
mov esi, dword [edi]
push 0x1dd
mov ecx, str..PanelThree.cpp
add esi, 0xc
call fcn.00421360
mov ecx, dword [esi]
push eax
push str._s:__UI_Open_Reg_Fail
push edi
call ecx
add esp, 0x10
pop edi
xor al, al
pop esi
add esp, 8
ret
mov eax, dword [esp + 0xc]
lea edx, [esp + 0xb]
push edx
push str.AOMEIPxeRun
push eax
mov ecx, esi
mov byte [esp + 0x17], 0
call fcn.00421950
test al, al
je 0x423b1b
cmp byte [esp + 0xb], 0
je 0x423b1b
mov ecx, dword [esp + 0xc]
push str.AOMEIPxeRun
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x423b08
push 0x1ed
push str..PanelThree.cpp
push str._s___d_n
call dword [sym.imp.QtCore4.dll_void___cdecl_qDebug_char_const__]
call sub.Comn.dll_GetObjectLogPXE
mov edi, eax
mov esi, dword [edi]
push 0x1ef
mov ecx, str..PanelThree.cpp
add esi, 0xc
call fcn.00421360
mov edx, dword [esi]
push eax
push str._s:__UI_Clear_Pxe_Reg_Run_Fail
push edi
call edx
add esp, 0x1c
pop edi
xor al, al
pop esi
add esp, 8
ret
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov al, 1
pop esi
add esp, 8
ret
call sub.Comn.dll_GetObjectLogPXE
mov edi, eax
mov esi, dword [edi]
push 0x1e6
mov ecx, str..PanelThree.cpp
add esi, 0xc
call fcn.00421360
mov ecx, dword [esi]
push eax
push str._s:__UI_Find_PXE_Run_Key_Fail
push edi
call ecx
mov edx, dword [esp + 0x1c]
add esp, 0x10
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov al, 1
pop esi
add esp, 8
ret