joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40f8a0
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 0x40f8db
lea ecx, [esp + 8]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
push esi
jne 0x40f8e2
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 0x40fbe0
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 0x40fc2c
mov eax, dword [eax + 4]
jmp 0x40fc2f
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 0x40fc5d
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 0x40ff90
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x42d989
mov eax, dword fs:[0]
push eax
sub esp, 0x40c
mov eax, dword [0x4b3774]
xor eax, esp
mov dword [esp + 0x408], eax
push ebx
push esi
push edi
mov eax, dword [0x4b3774]
xor eax, esp
push eax
lea eax, [esp + 0x41c]
mov dword fs:[0], eax
mov esi, ecx
lea edi, [esi + 0x14]
push edi
mov dword [esp + 0x428], 0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
or ebx, 0xffffffff
cmp dword [esi + 0x64], ebx
jne 0x41000a
push 0
push 0
push 3
push 0
push 0
push 0xc0000000
push str..pipeReadPxeData
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, ebx
mov dword [esi + 0x64], eax
je 0x41007e
mov eax, dword [esp + 0x42c]
cmp dword [eax + 8], 0x1f4
jg 0x41007e
push 0x404
lea ecx, [esp + 0x18]
push 0
push ecx
call sub.MSVCR80.dll_memset
add esp, 0xc
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x430]
mov dword [esp + 0x18], 1
call dword [sym.imp.QtCore4.dll_public:_int___thiscall_QString::toWCharArray_unsigned_short_int__const]
mov edx, dword [esi + 0x64]
push 0
lea eax, [esp + 0x14]
push eax
push 0x404
lea ecx, [esp + 0x20]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x410071
cmp dword [esp + 0x10], 0x404
je 0x41007e
mov eax, dword [esi + 0x64]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x64], ebx
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x42c]
mov dword [esp + 0x424], ebx
lock xadd dword [ecx], ebx
jne 0x4100aa
mov edx, dword [esp + 0x42c]
push edx
call dword [sym.imp.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__]
add esp, 4
mov ecx, dword [esp + 0x41c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x408]
xor ecx, esp
call fcn.0042c614
add esp, 0x418
ret 4

Function at 0x4100e0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x40c
mov eax, dword [0x4b3774]
xor eax, esp
mov dword [esp + 0x408], eax
push ebx
push esi
mov esi, ecx
push edi
lea ebx, [esi + 0x14]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esi + 0x64], 0xffffffff
jne 0x410126
push 0
push 0
push 3
push 0
push 0
push 0xc0000000
push str..pipeReadPxeData
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi + 0x64], eax
mov edi, dword [esi + 0x64]
cmp edi, 0xffffffff
je 0x41018b
push 0x404
lea eax, [esp + 0x14]
push 0
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0
lea ecx, [esp + 0x10]
push ecx
push 0x404
lea edx, [esp + 0x1c]
push edx
push edi
mov dword [esp + 0x24], 2
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x410170
cmp dword [esp + 0xc], 0x404
je 0x410181
mov eax, dword [esi + 0x64]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x64], 0xffffffff
mov ecx, dword [esi + 0x64]
push ecx
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x414]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0042c614
add esp, 0x40c
ret
Function at 0x4101b0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x40c
mov eax, dword [0x4b3774]
xor eax, esp
mov dword [esp + 0x408], eax
push ebx
push esi
mov esi, ecx
push edi
lea ebx, [esi + 0x14]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esi + 0x64], 0xffffffff
jne 0x4101f6
push 0
push 0
push 3
push 0
push 0
push 0xc0000000
push str..pipeReadPxeData
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi + 0x64], eax
mov edi, dword [esi + 0x64]
cmp edi, 0xffffffff
je 0x41025b
push 0x404
lea eax, [esp + 0x14]
push 0
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0
lea ecx, [esp + 0x10]
push ecx
push 0x404
lea edx, [esp + 0x1c]
push edx
push edi
mov dword [esp + 0x24], 3
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x410240
cmp dword [esp + 0xc], 0x404
je 0x410251
mov eax, dword [esi + 0x64]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x64], 0xffffffff
mov ecx, dword [esi + 0x64]
push ecx
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x414]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0042c614
add esp, 0x40c
ret

Function at 0x410280
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x40c
mov eax, dword [0x4b3774]
xor eax, esp
mov dword [esp + 0x408], eax
push ebx
push esi
mov esi, ecx
push edi
lea ebx, [esi + 0x14]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esi + 0x64], 0xffffffff
jne 0x4102c6
push 0
push 0
push 3
push 0
push 0
push 0xc0000000
push str..pipeReadPxeData
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi + 0x64], eax
mov edi, dword [esi + 0x64]
cmp edi, 0xffffffff
je 0x41032b
push 0x404
lea eax, [esp + 0x14]
push 0
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0
lea ecx, [esp + 0x10]
push ecx
push 0x404
lea edx, [esp + 0x1c]
push edx
push edi
mov dword [esp + 0x24], 4
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x410310
cmp dword [esp + 0xc], 0x404
je 0x410321
mov eax, dword [esi + 0x64]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x64], 0xffffffff
mov ecx, dword [esi + 0x64]
push ecx
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x414]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0042c614
add esp, 0x40c
ret 4
Function at 0x411360
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20
push ebx
push ebp
push esi
mov ebx, ecx
lea eax, [ebx + 0x14]
push edi
push eax
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
or esi, 0xffffffff
cmp dword [ebx + 0x64], esi
jne 0x4113aa
push 0
push 0
push 3
push 0
push 0
push 0xc0000000
push str..pipeReadPxeData
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, esi
mov dword [ebx + 0x64], eax
je 0x411478
mov eax, dword [ebx + 0x30]
mov esi, dword [eax]
lea ebp, [ebx + 0x2c]
mov edi, ebp
mov ecx, eax
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], edi
mov dword [esp + 0x2c], ecx
test edi, edi
je 0x4113ca
cmp edi, ebp
je 0x4113d0
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp esi, dword [esp + 0x2c]
je 0x411478
test edi, edi
jne 0x4113e4
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp esi, dword [edi + 4]
jne 0x4113ef
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edx, dword [esi + 0xc]
mov dword [esp + 0x20], edx
cmp esi, dword [edi + 4]
jne 0x411401
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esi + 0x10]
push 0
lea ecx, [esp + 0x14]
push ecx
push 8
lea edx, [esp + 0x2c]
mov dword [esp + 0x30], eax
mov eax, dword [ebx + 0x64]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x41143e
cmp dword [esp + 0x10], 8
jne 0x41143e
lea ecx, [esp + 0x18]
call fcn.004109d0
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
jmp 0x4113c2
call sub.Comn.dll_GetObjectLog
mov edi, eax
mov esi, dword [edi]
push 0xa1
mov ecx, str..Frame.cpp
add esi, 0xc
call fcn.0040fcd0
mov ecx, dword [esi]
push eax
push str._s:_write_pipe_file
push edi
call ecx
mov edx, dword [ebx + 0x64]
add esp, 0x10
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebx + 0x64], 0xffffffff
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x411790
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x42da70
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x4b3774]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov dword [esi], vtable.CFrame.1.0
mov dword [esi + 8], vtable.CFrame.0
lea eax, [esi + 0x14]
push eax
mov dword [esp + 0x24], 2
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
lea ecx, [esi + 0x58]
call dword [sym.imp.QtCore4.dll_public_virtual:_void___thiscall_QThread::destructor_void_]
lea ecx, [esi + 0x3c]
mov byte [esp + 0x20], 1
call dword [sym.imp.QtGui4.dll_public_virtual:_void___thiscall_QPixmap::destructor_void_]
mov eax, dword [esi + 0x30]
mov ecx, dword [eax]
lea edi, [esi + 0x2c]
push eax
push edi
push ecx
push edi
lea ecx, [esp + 0x20]
push ecx
mov ecx, edi
mov byte [esp + 0x34], 0
call fcn.00411290
mov eax, dword [edi + 4]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ecx, esi
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [esp + 0x20], 0xffffffff
call dword [sym.imp.QtGui4.dll_public_virtual:_void___thiscall_QFrame::destructor_void_]
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x18
ret

Function at 0x411860
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x40c
mov eax, dword [0x4b3774]
xor eax, esp
mov dword [esp + 0x408], eax
push ebx
push esi
mov esi, ecx
push edi
lea ebx, [esi + 0x14]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [esp + 0x41c]
push eax
lea ecx, [esi + 0x2c]
call fcn.00411690
mov dword [eax], 1
cmp dword [esi + 0x64], 0xffffffff
jne 0x4118bc
push 0
push 0
push 3
push 0
push 0
push 0xc0000000
push str..pipeReadPxeData
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi + 0x64], eax
mov edi, dword [esi + 0x64]
cmp edi, 0xffffffff
je 0x41192b
push 0x404
lea ecx, [esp + 0x14]
push 0
push ecx
call sub.MSVCR80.dll_memset
mov eax, dword [esp + 0x428]
add esp, 0xc
push 0
lea edx, [esp + 0x10]
push edx
mov dword [esp + 0x1c], eax
push 0x404
lea eax, [esp + 0x1c]
push eax
mov ecx, 1
push edi
mov dword [esp + 0x24], 0
mov dword [esp + 0x2c], ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x41191a
cmp dword [esp + 0xc], 0x404
je 0x41192b
mov ecx, dword [esi + 0x64]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x64], 0xffffffff
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x414]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0042c614
add esp, 0x40c
ret 4
Function at 0x411950
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x40c
mov eax, dword [0x4b3774]
xor eax, esp
mov dword [esp + 0x408], eax
push ebx
push esi
mov esi, ecx
push edi
lea ebx, [esi + 0x14]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [esp + 0x41c]
push eax
lea ecx, [esi + 0x2c]
call fcn.00411690
mov dword [eax], 2
cmp dword [esi + 0x64], 0xffffffff
jne 0x4119ac
push 0
push 0
push 3
push 0
push 0
push 0xc0000000
push str..pipeReadPxeData
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi + 0x64], eax
mov edi, dword [esi + 0x64]
cmp edi, 0xffffffff
je 0x411a18
push 0x404
lea ecx, [esp + 0x14]
push 0
push ecx
call sub.MSVCR80.dll_memset
mov eax, dword [esp + 0x428]
add esp, 0xc
push 0
lea edx, [esp + 0x10]
push edx
mov dword [esp + 0x1c], eax
push 0x404
lea eax, [esp + 0x1c]
push eax
mov ecx, 2
push edi
mov dword [esp + 0x24], 0
mov dword [esp + 0x2c], ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x411a07
cmp dword [esp + 0xc], 8
je 0x411a18
mov ecx, dword [esi + 0x64]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x64], 0xffffffff
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x414]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0042c614
add esp, 0x40c
ret 4
Function at 0x4132d0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x210
mov eax, dword [0x4b3774]
xor eax, esp
mov dword [esp + 0x20c], eax
push ebx
mov ebx, dword [esp + 0x218]
push esi
push 0x206
lea eax, [esp + 0x12]
push 0
push eax
mov word [esp + 0x18], 0
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0x104
lea ecx, [esp + 0x10]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov eax, 0x103
mov ecx, 0x5c
cmp word [esp + eax*2 + 0xc], cx
je 0x413332
sub eax, 1
jns 0x413324
jmp 0x413339
mov word [esp + eax*2 + 0xc], 0
lea eax, [esp + 0xc]
add eax, 0xfffffffe
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x413340
mov edx, dword [0x4321c0]
mov ecx, dword [0x4321c4]
push 0
push 0x80
push 3
mov dword [eax], edx
mov edx, dword [0x4321c8]
push 0
mov dword [eax + 4], ecx
mov ecx, dword [0x4321cc]
push 3
mov dword [eax + 8], edx
push bind
lea edx, [esp + 0x24]
push edx
mov dword [eax + 0xc], ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4133dc
push 0
lea eax, [esp + 0xc]
push eax
push 0x418
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4133d5
cmp dword [esp + 8], 0x418
jne 0x4133d5
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov al, 1
pop ebx
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.0042c614
add esp, 0x210
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x214]
pop esi
pop ebx
xor ecx, esp
xor al, al
call fcn.0042c614
add esp, 0x210
ret
Function at 0x4150d0
Capabilities:
Get disk information
Get disk size

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x42e36b
mov eax, dword fs:[0]
push eax
sub esp, 0x478
mov eax, dword [0x4b3774]
xor eax, esp
mov dword [esp + 0x470], eax
push ebx
push esi
push edi
mov eax, dword [0x4b3774]
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 0x41520e
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 0x4151ce
cmp dx, di
je 0x4151ca
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4151ce
add eax, 4
add ecx, 4
cmp dx, di
jne 0x4151a8
xor eax, eax
jmp 0x4151d3
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
jne 0x4151e9
cmp dword [esp + 0x28], edi
ja 0x415248
jb 0x4151e9
cmp dword [esp + 0x24], 0x80000000
ja 0x415248
mov eax, esi
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x4151f0
sub eax, edx
sar eax, 1
cmp word [esi + eax*2 + 2], di
lea esi, [esi + eax*2 + 2]
jne 0x415165
lea ecx, [esp + 0x14]
mov dword [esp + 0x490], 0xffffffff
call fcn.00415070
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.0042c614
mov esp, ebp
pop ebp
ret
lea ecx, [esp + 0x14]
mov dword [esp + 0x490], 0xffffffff
call fcn.00415070
mov al, 1
jmp 0x415224
Function at 0x416590
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x1218
call fcn.0042c7a0
mov eax, dword [0x4b3774]
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 0x416610
call sub.Comn.dll_GetObjectLogPXE
mov edi, eax
mov esi, dword [edi]
push 0x24c
mov ecx, str..PanelThree.cpp
add esi, 0xc
call fcn.00415f60
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 0x4166bc
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 0x4166b2
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 0x4166a9
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 0x4166d6
add esi, 1
cmp esi, dword [esp + 0x18]
jb 0x416660
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.0042c614
add esp, 0x1218
ret 0xc
mov edx, dword [esp + 0x10]
mov byte [edx], 1
jmp 0x4166b9
Function at 0x416920
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x42e752
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
push edi
mov eax, dword [0x4b3774]
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 0x4169e6
mov ecx, dword [esp + 0x10]
push ecx
call edi
add esp, 4
mov ecx, dword [esi + 0x34]
lea edx, [esp + 0xc]
push edx
call fcn.004159e0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x2c], 0xffffffff
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x416a12
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 0x4182f0
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
sub esp, 0x40c
mov eax, dword [0x4b3774]
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 0x41836a
call sub.Comn.dll_GetObjectLogPXE
mov edi, eax
mov esi, dword [edi]
push 0x1cd
mov ecx, str..PanelThree.cpp
add esi, 0xc
call fcn.00415f60
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.0042c614
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.00416590
test al, al
je 0x4184f9
cmp byte [esp + 0xb], 0
jne 0x4184f9
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 0x4183f0
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.0042c614
add esp, 0x40c
ret
lea eax, [esp + 0x10]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4183f7
sub eax, edx
sar eax, 1
cmp eax, 0x1fd
jle 0x41845a
call sub.Comn.dll_GetObjectLogPXE
mov edi, eax
mov esi, dword [edi]
push 0x1e3
mov ecx, str..PanelThree.cpp
add esi, 0xc
call fcn.00415f60
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.0042c614
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 0x418474
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 0x4184f2
call sub.Comn.dll_GetObjectLogPXE
mov edi, eax
mov esi, dword [edi]
push 0x1ef
mov ecx, str..PanelThree.cpp
add esi, 0xc
call fcn.00415f60
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.0042c614
add esp, 0x40c
ret
mov edx, dword [esp + 0xc]
push edx
jmp 0x4184fe
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.0042c614
add esp, 0x40c
ret