joyce8/EMBER2024-capa huggingface dataset:
Function at 0x412b40
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
mov eax, dword [0x4b34c4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, edx
push 0x490f58
push eax
mov esi, ecx
mov dword [ebp - 0x8c], edi
mov byte [ebp - 0x7d], 1
call fcn.00421248
mov ecx, eax
xor eax, eax
add esp, 8
mov dword [ebp - 0x88], ecx
cmp ecx, eax
jne 0x412bc4
cmp ebx, eax
je 0x412bb2
call fcn.00422870
mov eax, dword [eax]
push eax
call fcn.00422664
mov ecx, eax
add esp, 4
lea esi, [ecx + 1]
jmp 0x412ba0
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x412ba0
sub ecx, esi
push ecx
push eax
mov ecx, ebx
call fcn.004059e0
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042097b
mov esp, ebp
pop ebp
ret
cmp edi, eax
je 0x412bd2
mov edx, dword [edi]
mov dword [ebp - 0x84], edx
jmp 0x412bd8
mov dword [ebp - 0x84], eax
mov edi, dword [esi + 0x10]
mov byte [ebp - 0x18], al
mov dword [ebp - 0x17], eax
mov dword [ebp - 0x13], eax
mov dword [ebp - 0xf], eax
mov dword [ebp - 0xb], eax
mov word [ebp - 7], ax
mov byte [ebp - 5], al
test edi, edi
je 0x412c11
cmp dword [esi + 0x14], 0x10
jb 0x412bfd
mov esi, dword [esi]
push ecx
push 1
push edi
push esi
call fcn.00421bb0
add esp, 0x10
cmp eax, 1
sete byte [ebp - 0x7d]
push edi
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x7c]
push str._s_d_bytes
push ecx
call fcn.00420d65
add esp, 0x10
test ebx, ebx
je 0x412c46
lea eax, [ebp - 0x7c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x412c31
sub eax, edx
push eax
lea edx, [ebp - 0x7c]
push edx
mov ecx, ebx
call fcn.004059e0
cmp byte [ebp - 0x7d], 0
jne 0x412c77
test ebx, ebx
je 0x412c77
call fcn.00422870
mov eax, dword [eax]
push eax
call fcn.00422664
mov ecx, eax
add esp, 4
lea esi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x412c65
sub ecx, esi
push ecx
push eax
mov ecx, ebx
call fcn.004059e0
mov ecx, dword [ebp - 0x88]
push ecx
call fcn.00421ea4
mov eax, dword [ebp - 0x8c]
add esp, 4
test eax, eax
je 0x412c98
mov edx, dword [ebp - 0x84]
mov dword [eax], edx
mov ecx, dword [ebp - 4]
mov al, byte [ebp - 0x7d]
pop edi
xor ecx, ebp
pop esi
call fcn.0042097b
mov esp, ebp
pop ebp
ret
Function at 0x417a30
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x476da0
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x4b34c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov al, byte [ebp + 8]
mov byte [ebp - 0x33], al
xor eax, eax
xor ebx, ebx
mov byte [ebp - 0x34], 0x52
mov dword [ebp - 0x32], eax
mov dword [ebp - 0x2e], eax
mov dword [ebp - 0x2a], eax
mov dword [ebp - 0x26], eax
mov dword [ebp - 0x22], eax
mov dword [ebp - 0x1e], eax
mov dword [ebp - 0x1a], eax
mov word [ebp - 0x16], ax
mov byte [ebp - 0x14], al
cmp ecx, ebx
je 0x417a96
push edx
push ecx
lea eax, [ebp - 0x32]
push eax
call fcn.00428770
add esp, 0xc
push str.WriteDataEVENT
push 1
xor eax, eax
push 1
push ebx
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], eax
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov ecx, dword [esi]
push ecx
mov dword [ebp - 0x58], eax
call dword [sym.imp.HID.DLL_HidD_FlushQueue]
lea edx, [ebp - 0x68]
push edx
mov edx, dword [esi]
lea eax, [ebp - 0x54]
push eax
push 0x21
lea ecx, [ebp - 0x34]
push ecx
push edx
mov dword [ebp - 0x54], ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x417bd4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp edi, 0x3e5
je 0x417b73
push 0xf
push str.Write_cmd_fail_
lea ecx, [esi + 0x60]
call fcn.004059e0
cmp edi, ebx
je 0x417bd4
lea eax, [ebp - 0x50]
push edi
push eax
call fcn.004019c0
sub esp, 0x14
mov dword [ebp - 4], ebx
mov ecx, esp
mov dword [ebp - 0x70], esp
push eax
mov eax, str.error_code_
call fcn.0040e560
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x6c], esp
mov byte [ebp - 4], 1
push 0xa
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], ebx
push str.write_data
mov byte [ecx], bl
call fcn.004059e0
mov ecx, 0x4bc400
mov byte [ebp - 4], bl
call fcn.00402560
cmp dword [ebp - 0x3c], 0x10
jb 0x417b6f
mov ecx, dword [ebp - 0x50]
push ecx
call fcn.00421a4e
add esp, 4
mov eax, edi
jmp 0x417bd6
mov eax, dword [ebp - 0x58]
push 0x7d0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, ebx
je 0x417bd4
cmp eax, 0x102
je 0x417bb2
push 0x18
push str.Write_cmd_unknown_error_
lea ecx, [esi + 0x60]
call fcn.004059e0
mov ecx, dword [esi]
push ecx
call dword [sym.imp.KERNEL32.dll_CancelIo]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x417b04
mov edx, dword [esi]
push edx
call dword [sym.imp.KERNEL32.dll_CancelIo]
push 0x12
push str.Write_cmd_timeout_
lea ecx, [esi + 0x60]
mov edi, 0x5b4
call fcn.004059e0
jmp 0x417b0c
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042097b
mov esp, ebp
pop ebp
ret 4
Function at 0x42097b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4b34c4]
jne 0x420985
repz ret
jmp fcn.00423cd1

Function at 0x43017b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4b34c4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.004247f7
and dword [ebp - 0x14], 0
cmp dword [0x4bbad4], 0
mov dword [ebp - 0x18], eax
jne 0x43022e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4302d6
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x4302d6
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x4bbad4], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4bbad8], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4bbadc], eax
call edi
push eax
call esi
mov dword [0x4bbae4], eax
test eax, eax
je 0x43022e
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4bbae0], eax
mov eax, dword [0x4bbae0]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x430287
cmp dword [0x4bbae4], ecx
je 0x430287
push eax
call esi
push dword [0x4bbae4]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x430287
test ebx, ebx
je 0x430287
call edi
test eax, eax
je 0x43027e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x43027e
test byte [ebp - 8], 1
jne 0x430287
or dword [ebp + 0x10], 0x200000
jmp 0x4302ba
mov eax, dword [0x4bbad8]
cmp eax, dword [ebp - 0x18]
je 0x4302ba
push eax
call esi
test eax, eax
je 0x4302ba
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4302ba
mov eax, dword [0x4bbadc]
cmp eax, dword [ebp - 0x18]
je 0x4302ba
push eax
call esi
test eax, eax
je 0x4302ba
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4bbad4]
call esi
test eax, eax
je 0x4302d6
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4302d8
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042097b
leave
ret
Function at 0x4363b4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x314], ebx
je 0x43641b
cmp dword [ebp + 8], 0x100
jne 0x43640a
cmp byte [ebp + 0xc], 0xd
jne 0x43640a
cmp byte [esi + 0x31a], bl
je 0x4363f1
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x43640a
cmp byte [esi + 0x31b], bl
jne 0x43640a
mov ecx, dword [esi + 0x40]
cmp ecx, ebx
je 0x436406
push ebx
push ebx
push ebx
push str.return
push esi
call sym.PB20Configurator.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::SendNotify_class_DuiLib::CControlUI___char_const___unsigned_int__long_int__bool_
xor eax, eax
jmp 0x43641e
mov eax, dword [esi + 0x314]
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx]
pop esi
pop ebx
pop ebp
jmp dword [eax + 0xc]
xor eax, eax
inc eax
pop esi
pop ebx
pop ebp
ret 0x10
Function at 0x438cd9
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push edi
push 0x11
xor edi, edi
call esi
test ax, ax
jns 0x438cef
push 8
pop edi
push 2
call esi
test ax, ax
jns 0x438cfb
or edi, 1
push 1
call esi
test ax, ax
jns 0x438d07
or edi, 2
push 0x10
call esi
test ax, ax
jns 0x438d13
or edi, 4
push 0x12
call esi
test ax, ax
jns 0x438d1f
or edi, 0x20
mov eax, edi
pop edi
pop esi
ret

Function at 0x438e71
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x4b34c4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
xor eax, eax
mov esi, 0x104
push esi
push eax
mov dword [ebp - 0x110], eax
mov byte [ebp - 0x10c], al
lea eax, [ebp - 0x10b]
push eax
call fcn.00427230
add esp, 0xc
lea eax, [ebp - 0x10c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push 0xffffffffffffffff
lea eax, [ebp - 0x10c]
push eax
mov ecx, edi
call sym.PB20Configurator.exe_public:_void___thiscall_DuiLib::CDuiString::constructor_char_const___int_
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.0042097b
leave
ret

Function at 0x43b37d
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, ecx
call dword [sym.imp.USER32.dll_GetFocus]
mov ecx, dword [esi]
mov ebx, dword [ebp + 8]
cmp eax, ecx
je 0x43b3a2
cmp ebx, dword [esi + 0x54]
je 0x43b3a2
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [esi + 0x54]
cmp ebx, eax
je 0x43b464
push edi
test eax, eax
je 0x43b3f5
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x1c]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x20], 0x14
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x54]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
mov eax, dword [ecx]
push edx
call dword [eax + pe_nt_image_headers32]
xor edi, edi
push edi
push edi
push edi
push str.killfocus
push dword [esi + 0x54]
mov ecx, esi
call sym.PB20Configurator.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::SendNotify_class_DuiLib::CControlUI___char_const___unsigned_int__long_int__bool_
mov dword [esi + 0x54], edi
test ebx, ebx
je 0x43b463
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
cmp eax, esi
jne 0x43b463
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xc8]
test al, al
je 0x43b463
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xd4]
test al, al
je 0x43b463
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x1c]
rep stosd dword es:[edi], eax
mov dword [esi + 0x54], ebx
mov dword [ebp - 0x20], 0x15
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x54]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
mov eax, dword [ecx]
push edx
call dword [eax + pe_nt_image_headers32]
xor eax, eax
push eax
push eax
push eax
push str.setfocus
push dword [esi + 0x54]
mov ecx, esi
call sym.PB20Configurator.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::SendNotify_class_DuiLib::CControlUI___char_const___unsigned_int__long_int__bool_
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x43b664
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [esi + 0xd0]
xor ebx, ebx
call sym.PB20Configurator.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
test eax, eax
jle 0x43b6b9
push ebx
lea ecx, [esi + 0xd0]
mov byte [ebp - 1], 0
call sym.PB20Configurator.exe_public:_void____thiscall_DuiLib::CStdPtrArray::operator___int_const
mov edx, dword [eax]
lea ecx, [ebp - 1]
push ecx
push dword [ebp + 0x10]
mov ecx, eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [edx]
cmp byte [ebp - 1], 0
jne 0x43b717
lea ecx, [esi + 0xd0]
inc ebx
call sym.PB20Configurator.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
cmp ebx, eax
jl 0x43b680
mov eax, dword [ebp + 8]
sub eax, 0x100
je 0x43b76e
sub eax, 4
je 0x43b71b
dec eax
dec eax
jne 0x43b765
push dword [ebp + 0xc]
mov byte [ebp + 8], al
lea edi, [ebp + 9]
stosb byte es:[edi], al
call fcn.0042321c
pop ecx
mov ecx, dword [esi + 0x50]
push 0x8000000a
lea edx, [ebp + 8]
push edx
mov byte [ebp + 8], al
mov eax, dword [ecx]
push sym.PB20Configurator.exe_private:_static_class_DuiLib::CControlUI____stdcall_DuiLib::CPaintManagerUI::__FindControlFromShortcut_class_DuiLib::CControlUI___void__
call dword [eax + 0xfc]
mov esi, eax
test esi, esi
je 0x43b765
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xf0]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18]
mov al, 1
jmp 0x43b767
cmp dword [esi + 0x54], 0
je 0x43b765
xor eax, eax
push 7
pop ecx
lea edi, [ebp - 0x20]
rep stosd dword es:[edi], eax
mov al, byte [ebp + 0xc]
mov byte [ebp - 0x10], al
mov eax, dword [esi + 0x64]
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0x68]
mov dword [ebp - 0x24], 6
mov dword [ebp - 0x14], eax
call fcn.00438cd9
mov word [ebp - 0xe], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x54]
lea edx, [ebp - 0x24]
mov dword [ebp - 0x1c], eax
mov eax, dword [ecx]
push edx
call dword [eax + pe_nt_image_headers32]
xor al, al
pop edi
pop esi
pop ebx
leave
ret 0x10
cmp dword [ebp + 0xc], 9
jne 0x43b765
cmp dword [esi + 0x54], 0
je 0x43b7bd
mov ecx, dword [esi + 0x54]
mov eax, dword [ecx]
call dword [eax + 0xc8]
test al, al
je 0x43b7bd
mov ecx, dword [esi + 0x54]
mov eax, dword [ecx]
call dword [eax + 0xd4]
test al, al
je 0x43b7bd
mov ecx, dword [esi + 0x54]
mov eax, dword [ecx]
call dword [eax + 0xc]
push str.RichEditUI
push eax
call fcn.0046eb93
pop ecx
pop ecx
test eax, eax
je 0x43b7bd
mov ecx, dword [esi + 0x54]
call sym.PB20Configurator.exe_public:_bool___thiscall_DuiLib::CRichEditUI::IsWantTab_void_
test al, al
jne 0x43b765
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
setns al
movzx eax, al
push eax
mov ecx, esi
call sym.PB20Configurator.exe_public:_bool___thiscall_DuiLib::CPaintManagerUI::SetNextTabControl_bool_
jmp 0x43b717
Function at 0x454f4d
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x454f5b
xor eax, eax
pop ebp
ret
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0x10]
not eax
mov ecx, 0xff
cmp edi, 8
jb 0x455016
mov esi, edi
shr esi, 3
push ebx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x481f00]
movzx ebx, byte [edx + 1]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x481f00]
movzx ebx, byte [edx + 2]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x481f00]
movzx ebx, byte [edx + 3]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x481f00]
movzx ebx, byte [edx + 4]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x481f00]
movzx ebx, byte [edx + 5]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x481f00]
movzx ebx, byte [edx + 6]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x481f00]
movzx ebx, byte [edx + 7]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x481f00]
add edx, 8
sub edi, 8
dec esi
jne 0x454f79
pop ebx
test edi, edi
je 0x45502f
movzx esi, byte [edx]
xor esi, eax
and esi, ecx
shr eax, 8
xor eax, dword [esi*4 + 0x481f00]
inc edx
dec edi
jne 0x45501a
pop edi
not eax
pop esi
pop ebp
ret

Function at 0x455486
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0xc]
imul edi, dword [ebp + 0x10]
cmp byte [esi], 0
je 0x4554ba
push 0
lea eax, [ebp + 0x10]
push eax
push edi
push dword [ebp + 8]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4554b5
mov byte [esi + 8], 1
mov eax, dword [ebp + 0x10]
jmp 0x4554e2
mov ecx, dword [esi + 0x18]
mov eax, dword [esi + 0x14]
lea edx, [ecx + edi]
cmp edx, eax
jbe 0x4554cb
sub eax, ecx
mov edi, eax
mov eax, dword [esi + 0x10]
push edi
add eax, ecx
push eax
push dword [ebp + 8]
call fcn.00428770
add esp, 0xc
add dword [esi + 0x18], edi
mov eax, edi
xor edx, edx
div dword [ebp + 0xc]
pop edi
pop esi
pop ebp
ret

Function at 0x4562ff
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4b34c4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x456393
mov al, byte [esi]
test al, al
je 0x456393
push edi
mov edi, esi
mov ecx, esi
cmp al, 0x2f
je 0x456331
cmp al, 0x5c
jne 0x456333
mov edi, ecx
inc ecx
mov al, byte [ecx]
test al, al
jne 0x456329
cmp edi, esi
je 0x456366
sub edi, esi
push edi
lea eax, [ebp - 0x108]
push esi
push eax
call fcn.0046ea4f
lea eax, [ebp - 0x108]
push eax
push ebx
mov byte [ebp + edi - 0x108], 0
call fcn.004562ff
add esp, 0x14
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.0046ebb0
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.0046ebc0
add esp, 0x10
push 0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0042097b
leave
ret
Function at 0x457816
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x457891
cmp dword [esi + 4], 0xffffffff
jne 0x457891
push edi
lea edi, [esi + 0x138]
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push 0x4824fc
push edi
call fcn.0046ebc0
cmp dword [ebp + 0x10], 1
pop ecx
pop ecx
pop edi
jne 0x457863
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 1
je 0x457863
mov eax, 0x2000000
jmp 0x457896
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00455293
add esp, 0x10
test eax, eax
jne 0x457881
mov eax, dword [ebp + 0x10]
jmp 0x457896
push eax
call fcn.00457405
mov dword [esi], eax
mov eax, dword [0x4bc144]
pop ecx
jmp 0x457896
mov eax, 0x1000000
pop esi
pop ebp
ret 0xc
Function at 0x45b063
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x4b34c4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp byte [esi + 0x18], bl
je 0x45b0d3
cmp dword [esi + 0x10], ebx
je 0x45b0d3
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea edi, [eax + 1]
mov eax, edi
call fcn.00430600
mov dword [ebp - 8], esp
cmp esp, ebx
je 0x45b0d3
push edi
push dword [ebp - 8]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esi + 0x10]
push dword [ebp - 8]
add ecx, 0x138
call fcn.004384b2
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
push ebx
push ebx
push ebx
push str.textchanged
push ecx
call dword [eax + 0x1c]
mov ecx, eax
call sym.PB20Configurator.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::SendNotify_class_DuiLib::CControlUI___char_const___unsigned_int__long_int__bool_
xor eax, eax
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042097b
leave
ret 0x10
Function at 0x468e3b
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, eax
mov eax, dword [esi + 8]
push edi
mov edi, eax
and edi, 7
je 0x468e60
cmp eax, edi
jge 0x468e58
mov eax, esi
call fcn.004687f9
mov ecx, edi
shr dword [esi + 0xc], cl
sub dword [esi + 8], edi
mov edi, dword [esi + 8]
xor ecx, ecx
test edi, edi
jle 0x468e8d
mov eax, dword [esi + 0xc]
push ebx
mov dl, byte [esi + 0xc]
sub edi, 8
mov byte [ebp + ecx - 4], dl
shr eax, 8
mov ebx, edi
inc ecx
mov dword [esi + 0xc], eax
test ebx, ebx
jg 0x468e6d
mov dword [esi + 8], ebx
pop ebx
cmp ecx, 4
jge 0x468eac
mov edi, dword [esi + 4]
mov eax, dword [esi]
cmp eax, edi
jb 0x468e9a
xor eax, eax
jmp 0x468ea2
mov dl, byte [eax]
inc eax
mov dword [esi], eax
movzx eax, dl
mov byte [ebp + ecx - 4], al
inc ecx
cmp ecx, 4
jl 0x468e90
movzx edi, byte [ebp - 3]
movzx eax, byte [ebp - 4]
movzx ecx, byte [ebp - 2]
shl edi, 8
add edi, eax
movzx eax, byte [ebp - 1]
shl eax, 8
add eax, ecx
mov ecx, edi
xor ecx, 0xffff
cmp eax, ecx
je 0x468ede
mov eax, str.zlib_corrupt
call fcn.004660d1
jmp 0x468f19
mov eax, dword [esi]
add eax, edi
cmp eax, dword [esi + 4]
jbe 0x468eee
mov eax, str.read_past_buffer
jmp 0x468ed7
mov eax, dword [esi + 0x10]
add eax, edi
cmp eax, dword [esi + 0x18]
jbe 0x468f03
mov ecx, edi
call fcn.0046882f
test eax, eax
je 0x468f19
push edi
push dword [esi]
push dword [esi + 0x10]
call fcn.00428770
add dword [esi], edi
add dword [esi + 0x10], edi
xor eax, eax
add esp, 0xc
inc eax
pop edi
pop esi
leave
ret
Function at 0x40e74c
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 8]
push eax
mov dword [sym.TestQuickReturn.exe_gMozillaPoisonSize], eax
call fcn.0040b9af
pop ecx
mov ecx, dword [sym.TestQuickReturn.exe_gMozillaPoisonSize]
mov dword [sym.TestQuickReturn.exe_gMozillaPoisonBase], eax
test ecx, ecx
je 0x40e784
shr ecx, 1
dec ecx
add eax, ecx
mov dword [sym.TestQuickReturn.exe_gMozillaPoisonValue], eax
mov esp, ebp
pop ebp
ret

Function at 0x401000
Capabilities:
Query environment variable
Query or enumerate registry value
Set environment variable
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 8], 0x800
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push str.SoftwareData_Access_WorldwideVisual_DataFlex8Defaults
push 0x80000002
call dword cs:[sym.imp.advapi32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4010b1
lea eax, [ebp - 8]
push eax
push 0x5820bc
push 0
push 0
push str.VdfRootDir
push dword [ebp - 4]
call dword cs:[sym.imp.advapi32.dll_RegQueryValueExA]
push eax
push dword [ebp - 4]
call dword cs:[sym.imp.advapi32.dll_RegCloseKey]
pop eax
test eax, eax
jne 0x4010b1
push str.Bin_
push 0x5820bc
call dword cs:[sym.imp.msvcrt.dll_strcat]
add esp, 8
push 0x5820bc
call dword cs:[sym.imp.msvcrt.dll_strlen]
add esp, 4
mov dword [ebp - 8], eax
push ecx
push 0x800
mov ecx, dword [ebp - 8]
lea eax, [ecx + 0x5820bc]
push eax
push str.PATH
call dword cs:[sym.imp.kernel32.dll_GetEnvironmentVariableA]
pop ecx
push 0x5820bc
push str.PATH
call dword cs:[sym.imp.kernel32.dll_SetEnvironmentVariableA]
push str.vdfvm8.dll
call dword cs:[sym.imp.kernel32.dll_LoadLibraryA]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x4010fd
push str._FlexRunProgramEx_4
push dword [ebp - 0xc]
call dword cs:[sym.imp.kernel32.dll_GetProcAddress]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x4010e3
push str.idetestrun_vagnermuratore__06_29_2022_11:41:13__c__COELHO__MURATORE_LTDA
call dword cs:[ebp - 0x10]
push dword [ebp - 0xc]
call dword cs:[sym.imp.kernel32.dll_FreeLibrary]
test dword [ebp - 0x10], 0xffffffff
je 0x4010fd
mov eax, 0
jmp 0x401114
push 0x10
push 0
push str.Unable_to_locate_a_compatible_version_of_vdfvm8.dll_or_one_of_its_components.
push 0
call dword cs:[sym.imp.user32.dll_MessageBoxA]
mov eax, 1
push eax
call dword cs:[sym.imp.msvcrt.dll_exit]
mov esp, ebp
pop ebp
ret 0x10