joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a3a70
Capabilities:
Create thread
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f7ec0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x6b000c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [0x6b9760]
cmp dword [eax - 0xc], 0
je 0x4a3ab4
push eax
push str.DlgFrame
call dword [sym.imp.ycomuiu.dll_public:_void___thiscall_DuiLib::WindowImplBase::SetControlBkImage_wchar_t_const___wchar_t_const__]
push str.LoadProgress
lea ecx, [esi + 0x34]
call dword [sym.imp.ycomuiu.dll_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_wchar_t_const__const]
push 0
push 1
push 3
push 0
push 3
push SysReAllocString
push dword [esi + 0x910]
mov dword [esi + 0x914], eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x4a3b1b
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x24], esp
push 0x6b0ea8
call fcn.00420d90
mov dword [ebp - 4], 0
mov dword [ebp - 4], edi
mov ecx, dword [esi + 4]
call fcn.004e1110
add esp, 0x18
mov ecx, esi
push 1
call dword [sym.imp.ycomuiu.dll_public:_void___thiscall_DuiLib::CWindowWnd::Close_unsigned_int_]
push 0
lea eax, [ebp - 0x20]
mov word [ebp - 0x14], 0
push eax
push 9
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x20], 0
push eax
xorps xmm0, xmm0
mov byte [ebp - 0x14], 0
push edi
movq qword [ebp - 0x1c], xmm0
call dword [sym.imp.KERNEL32.dll_ReadFile]
movsx eax, byte [ebp - 0x14]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
add eax, 0xffffffd0
mov dword [esi + 0x908], eax
cmp eax, 4
jbe 0x4a3b97
push edi
call ebx
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x24], esp
push 0x6b0ea8
call fcn.00420d90
mov dword [ebp - 4], 1
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [esi + 4]
call fcn.004e1110
add esp, 0x18
mov ecx, esi
push 1
call dword [sym.imp.ycomuiu.dll_public:_void___thiscall_DuiLib::CWindowWnd::Close_unsigned_int_]
push edi
call ebx
lea eax, [ebp - 0x28]
push eax
push 0
push esi
push 0x4a3bf0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x90c], eax
test eax, eax
je 0x4a3bc7
push eax
call ebx
mov dword [esi + 0x90c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055f9be
mov esp, ebp
pop ebp
ret 4
Function at 0x4a61d0
Capabilities:
Get disk information via ioctl
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f84a8
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x6b000c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
je 0x4a637e
call fcn.0040bf10
mov ecx, eax
test ecx, ecx
je 0x4a6390
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
push 0x63d048
call fcn.0040c5a0
test al, al
jne 0x4a6247
push 4
push 0x63d048
lea ecx, [ebp - 0x10]
call fcn.0040c9d0
mov dword [ebp - 4], 1
lea eax, [ebp - 0x14]
push 2
push eax
mov ecx, edi
call fcn.0046c6c0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
call fcn.0040ceb0
mov byte [ebp - 4], 1
or eax, 0xffffffff
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4a628c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x10]
push 0
push 0
push 3
push 0
push 3
push SysReAllocString
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4a635f
push 0
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push 0xc
lea ecx, [edi + 0x2c]
push ecx
push 0
push 0
push 0x2d1080
push ebx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x4a62dd
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
lea eax, [ebp - 0x14]
push eax
push 8
lea eax, [ebp - 0x20]
push eax
push 0
push 0
push 0x7405c
push ebx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x4a6308
mov eax, dword [ebp - 0x20]
mov dword [edi + 0x20], eax
mov eax, dword [ebp - 0x1c]
jmp 0x4a6355
push 2
lea eax, [ebp - 0x18]
mov ecx, edi
push eax
call fcn.0046c6c0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x38]
push ecx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
mov byte [ebp - 4], 1
or eax, 0xffffffff
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4a634c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x28]
mov dword [edi + 0x20], eax
mov eax, dword [ebp - 0x24]
push ebx
mov dword [edi + 0x24], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4a637e
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.0040b250
int3
Function at 0x4a6790
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x80c
mov eax, dword [0x6b000c]
xor eax, esp
mov dword [esp + 0x808], eax
push ebx
push esi
push edi
mov edi, ecx
call fcn.004a6630
push 0x800
lea eax, [esp + 0x14]
push 0
push eax
call fcn.00588800
add esp, 0xc
lea eax, [esp + 0x10]
push eax
push 0x3ff
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x4a689f
cmp dword [0x6b8fe0], 0
jne 0x4a682d
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov ebx, eax
test bl, 1
je 0x4a680f
push 0x41
mov ecx, edi
call fcn.004a78a0
test eax, eax
jne 0x4a680f
push 0x653518
mov ecx, edi
call fcn.004a6c30
test bl, 2
je 0x4a682d
push 0x42
mov ecx, edi
call fcn.004a78a0
test eax, eax
jne 0x4a682d
push 0x653510
mov ecx, edi
call fcn.004a6c30
mov ax, word [esp + 0x10]
lea esi, [esp + 0x10]
test ax, ax
je 0x4a6885
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
movzx ecx, ax
cmp cx, 0x43
jb 0x4a6871
push esi
call ebx
test eax, eax
je 0x4a6885
push esi
mov ecx, edi
call fcn.004a7150
test eax, eax
jne 0x4a6871
push esi
mov ecx, edi
call fcn.004a68c0
test eax, eax
jne 0x4a6871
push esi
mov ecx, edi
call fcn.004a6c30
push esi
call ebx
lea esi, [esi + eax*2]
movzx eax, word [esi + 2]
add esi, 2
mov ecx, eax
test ax, ax
jne 0x4a6844
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x808]
xor ecx, esp
call fcn.0055f9be
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x814]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0055f9be
mov esp, ebp
pop ebp
ret
Function at 0x4a7ae0
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f87e7
mov eax, dword fs:[0]
push eax
mov eax, 0x101c
call fcn.005ddc60
mov eax, dword [0x6b000c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 0x101c], 0
mov dword [ebp - 0x1018], 0
mov dword [ebp - 0x1014], 0
call fcn.0040bf10
mov ecx, eax
test ecx, ecx
je 0x4a7c8e
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1020], eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1020]
push 0x63d048
call fcn.0040c5a0
test al, al
jne 0x4a7b7c
push 4
push 0x63d048
lea ecx, [ebp - 0x1020]
call fcn.0040c9d0
mov dword [ebp - 4], 1
test esi, esi
jne 0x4a7b8b
xor ecx, ecx
jmp 0x4a7b9f
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4a7b90
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x1020]
call fcn.0040ceb0
push 6
lea eax, [ebp - 0x1024]
push eax
lea ecx, [ebp - 0x1020]
call fcn.0046c6c0
mov byte [ebp - 4], 2
push 0
push 0
push 3
push 0
push 3
push SysReAllocString
push dword [eax]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov byte [ebp - 4], 1
or edi, 0xffffffff
mov edx, dword [ebp - 0x1024]
mov ecx, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x4a7c01
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp esi, 0xffffffff
je 0x4a7c4b
push 0
lea eax, [ebp - 0x1028]
push eax
push 0x1000
lea eax, [ebp - 0x1010]
push eax
push 0xc
lea eax, [ebp - 0x101c]
push eax
push 0x2d1400
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x4a7c44
cmp dword [ebp - 0xff4], 7
jne 0x4a7c44
mov esi, 1
jmp 0x4a7c4d
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1020]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], edi
dec edi
test edi, edi
jg 0x4a7c6f
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055f9be
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.0040b250
int3
Function at 0x4a84d0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f8991
mov eax, dword fs:[0]
push eax
mov eax, 0x1018
call fcn.005ddc60
mov eax, dword [0x6b000c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [edi + 0x78], eax
mov eax, dword [ebp + 0x10]
mov dword [edi + 0x80], ebx
mov dword [edi + 0x84], eax
call fcn.0040bf10
mov ecx, eax
test ecx, ecx
je 0x4a86e7
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1018], eax
mov dword [ebp - 4], 1
lea eax, [ebp - 0x1018]
push dword [edi + 0x78]
push str..PhysicalDrive_d
push eax
call fcn.0040d300
mov esi, dword [ebp - 0x1018]
add esp, 0xc
push 0
push 0
push 3
push 0
push 3
push SysReAllocString
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ecx, eax
mov dword [edi + 0x20], ecx
cmp ecx, 0xffffffff
je 0x4a86a6
mov eax, dword [ebp + 0x10]
push 0
mov dword [ebp - 0x1020], eax
lea eax, [ebp - 0x1020]
push eax
push ebx
push ecx
mov dword [ebp - 0x1024], ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x4a8696
push 0x1000
lea eax, [ebp - 0x1014]
push 0
push eax
call fcn.00588800
add esp, 0xc
lea eax, [ebp - 0x101c]
push 0
push eax
push 0x1000
lea eax, [ebp - 0x1014]
push eax
push dword [edi + 0x20]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4a8696
cmp dword [ebp - 0x101c], 0x1000
jne 0x4a8696
mov ax, word [ebp - 0x1009]
movzx ecx, ax
mov word [edi + 8], ax
test cx, cx
jne 0x4a8614
mov eax, 0x200
mov word [edi + 8], ax
mov ecx, eax
mov eax, dword [ebp - 0x1008]
shr eax, 8
movzx ebx, al
movzx eax, cx
imul ebx, eax
mov dword [edi + 0xc], ebx
test ebx, ebx
jne 0x4a8639
mov dword [edi + 0xc], 0x1000
mov ebx, 0x1000
movsx ecx, byte [ebp - 0xfd4]
mov edx, 1
test ecx, ecx
jle 0x4a8650
mov eax, ebx
imul eax, ecx
jmp 0x4a8656
neg ecx
mov eax, edx
shl eax, cl
movsx ecx, byte [ebp - 0xfd0]
mov dword [edi + 0x10], eax
test ecx, ecx
jle 0x4a866e
mov eax, ebx
imul eax, ecx
mov dword [edi + 0x14], eax
jmp 0x4a8675
neg ecx
shl edx, cl
mov dword [edi + 0x14], edx
mov eax, dword [ebp - 0xfe0]
mul ebx
mov ecx, eax
mov eax, dword [ebp - 0xfe4]
mul ebx
mov ebx, 1
add ecx, edx
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], ecx
jmp 0x4a86a8
push dword [edi + 0x20]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 0x20], 0
xor ebx, ebx
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4a86c7
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0055f9be
mov esp, ebp
pop ebp
ret 0xc
push 0x80004005
call fcn.0040b250
int3
Function at 0x4a9570
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f8bed
mov eax, dword fs:[0]
push eax
sub esp, 0x120
mov eax, dword [0x6b000c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x128], esi
mov ebx, dword [ebp + 0x10]
lea eax, [esi + 8]
mov dword [ebp - 0x12c], esi
mov dword [esi + 4], 0
mov dword [ebp - 0x128], eax
mov dword [eax + 0xc], 0
mov dword [ebp - 4], 1
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [ebp - 4], 3
lea eax, [esi + 0x20]
push 0x58
push 0
push eax
call fcn.00588800
xor eax, eax
mov dword [ebp - 0x124], 0x114
mov word [esi + 0x27c], ax
lea edi, [esi + 0x27c]
mov eax, dword [ebp + 8]
xor ecx, ecx
mov word [esi + 0x7c], cx
push 0x110
mov dword [esi + 0x78], eax
lea eax, [ebp - 0x120]
push ecx
push eax
mov dword [esi + 0x20], 0x58
call fcn.00588800
add esp, 0x18
lea eax, [ebp - 0x124]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4a965a
mov eax, dword [ebp - 0x120]
cmp eax, 5
jae 0x4a9661
cmp eax, 4
jne 0x4a965a
cmp dword [ebp - 0x11c], 0x5a
jae 0x4a9661
mov dword [esi + 0x20], 0x4c
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x5c], eax
lea eax, [esi + 0x7c]
mov dword [esi + 0x44], eax
mov eax, dword [ebp + 0x14]
or eax, 0x880020
mov dword [esi + 0x3c], edi
mov dword [esi + 0x54], eax
mov eax, dword [ebp + 0x18]
mov dword [esi + 0x2c], eax
mov dword [esi + 0x40], 0x104
mov dword [esi + 0x48], 0x100
mov eax, dword [0x6b5140]
mov dword [esi + 0x28], eax
mov eax, dword [ebp + 0x1c]
mov dword [esi + 0x64], 0x4c7dc0
mov dword [esi + 0x24], eax
test ebx, ebx
je 0x4a96bf
push 0xffffffffffffffff
push ebx
push 0x104
push edi
call fcn.005b919c
push eax
call fcn.0040b270
add esp, 0x14
mov dword [ebp - 4], 4
mov dword [esi], vtable.WTL::CFileDialog.0
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055f9be
mov esp, ebp
pop ebp
ret 0x18

Function at 0x4a9d70
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f8e60
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x6b000c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 8
call fcn.004ab710
mov byte [ebp - 4], 7
lea ecx, [esi + 0x60]
call fcn.0048d7d0
mov byte [ebp - 4], 6
lea ecx, [esi + 0x54]
call fcn.0048d7d0
mov byte [ebp - 4], 5
lea ecx, [esi + 0x48]
call fcn.0048d7d0
mov byte [ebp - 4], 4
lea ecx, [esi + 0x3c]
call fcn.0048d7d0
mov byte [ebp - 4], 3
lea ecx, [esi + 0x30]
call fcn.0048d7d0
mov byte [ebp - 4], 2
lea ecx, [esi + 0x24]
call fcn.0048d7d0
mov byte [ebp - 4], 1
lea ecx, [esi + 0x18]
call fcn.0048d7d0
mov byte [ebp - 4], 0
lea ecx, [esi + 0xc]
call fcn.0048d7d0
mov dword [ebp - 4], 0xffffffff
mov ecx, esi
call fcn.0048d7d0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4b4b50
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
mov bl, byte [ebp + 8]
push esi
push edi
mov edi, ecx
test bl, bl
jne 0x4b4b7f
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0
push eax
push 1
call fcn.004b4620
test al, al
je 0x4b4cff
mov esi, dword [sym.imp.ycomuiu.dll_public:_void___thiscall_DuiLib::WindowImplBase::ShowWindow_wchar_t_const___bool_]
mov ecx, edi
push 0
push str.BtnSetSize
mov dword [edi + 0xbac], 1
mov dword [edi + 0xe50], 0
mov dword [edi + 0xe54], 0
call esi
push 0
push str.checkSelectAll
mov ecx, edi
call dword [sym.imp.ycomuiu.dll_public:_int___thiscall_DuiLib::WindowImplBase::CheckDlgButton_wchar_t_const___bool_]
push 0x639ee0
push str.NameFilter
mov ecx, edi
call dword [sym.imp.ycomuiu.dll_public:_int___thiscall_DuiLib::WindowImplBase::SetDlgItemTextW_wchar_t_const___wchar_t_const__]
mov eax, dword [edi + 0xba4]
test eax, eax
je 0x4b4bf6
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
push dword [edi + 0xba4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 0xba4], 0
lea ecx, [edi + 0xb84]
call fcn.0040cb90
mov ecx, edi
test bl, bl
jne 0x4b4c8b
push 1
push str.LoadPrevScanButton
call dword [sym.imp.ycomuiu.dll_public:_void___thiscall_DuiLib::WindowImplBase::EnableWindow_wchar_t_const___bool_]
push 0
push str.SaveScanResultButton
mov ecx, edi
call esi
cmp dword [edi + 0xe6c], 0
jne 0x4b4c42
push str.tabMain
lea ecx, [edi + 0x34]
call dword [sym.imp.ycomuiu.dll_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_wchar_t_const__const]
test eax, eax
je 0x4b4c71
push 1
jmp 0x4b4c69
push 0
mov ecx, edi
mov dword [edi + 0xe70], 0
call fcn.004c0e60
push str.tabMain
lea ecx, [edi + 0x34]
call dword [sym.imp.ycomuiu.dll_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_wchar_t_const__const]
test eax, eax
je 0x4b4c71
push 0
mov ecx, eax
call dword [sym.imp.ycomuiu.dll_public:_bool___thiscall_DuiLib::CTabLayoutUI::SelectItem_int_]
mov ecx, edi
mov dword [edi + 0xa7c], 1
call fcn.004b9e60
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0
call fcn.004b9860
mov ecx, edi
call fcn.004b9e60
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push dword [edi + 0xd94]
call esi
push 0
push dword [edi + 0xdf4]
call esi
push 0
push dword [edi + 0xd34]
call esi
push 0
push str.ShowToDeepScan
mov ecx, edi
mov dword [edi + 0xb8c], 0
call dword [sym.imp.ycomuiu.dll_public:_void___thiscall_DuiLib::WindowImplBase::ShowWindow_wchar_t_const___bool_]
push 0
push str.SaveScanResultButton
mov ecx, edi
call dword [sym.imp.ycomuiu.dll_public:_void___thiscall_DuiLib::WindowImplBase::EnableWindow_wchar_t_const___bool_]
push 0
push 1
push 0x42e
mov ecx, edi
call dword [sym.imp.ycomuiu.dll_public:_long_int___thiscall_DuiLib::CWindowWnd::SendMessageW_unsigned_int__unsigned_int__long_int_]
push 1
mov ecx, edi
call fcn.004b6f80
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4b4db0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push edi
mov edi, ecx
cmp eax, 3
ja case.default.0x4b4dc3
push esi
jmp dword [eax*4 + 0x4b4e90]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push dword [edi + 0xd94]
call esi
push 0
push dword [edi + 0xdf4]
call esi
push 0
push dword [edi + 0xd34]
call esi
pop esi
mov dword [edi + 0xb8c], 0
pop edi
pop ebp
ret 4
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [edi + 0xd94]
call esi
push 0
push dword [edi + 0xdf4]
call esi
push 5
push dword [edi + 0xd34]
call esi
pop esi
mov dword [edi + 0xb8c], 1
pop edi
pop ebp
ret 4
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [edi + 0xd94]
call esi
push 5
push dword [edi + 0xdf4]
call esi
push 0
push dword [edi + 0xd34]
call esi
pop esi
mov dword [edi + 0xb8c], 2
pop edi
pop ebp
ret 4
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [edi + 0xd94]
call esi
push 0
push dword [edi + 0xdf4]
call esi
push 0
push dword [edi + 0xd34]
call esi
pop esi
pop edi
pop ebp
ret 4

Function at 0x4b4dfe
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push edi
mov edi, ecx
cmp eax, 3
ja case.default.0x4b4dc3
push esi
jmp dword [eax*4 + 0x4b4e90]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push dword [edi + 0xd94]
call esi
push 0
push dword [edi + 0xdf4]
call esi
push 0
push dword [edi + 0xd34]
call esi
pop esi
mov dword [edi + 0xb8c], 0
pop edi
pop ebp
ret 4
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [edi + 0xd94]
call esi
push 0
push dword [edi + 0xdf4]
call esi
push 5
push dword [edi + 0xd34]
call esi
pop esi
mov dword [edi + 0xb8c], 1
pop edi
pop ebp
ret 4
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [edi + 0xd94]
call esi
push 5
push dword [edi + 0xdf4]
call esi
push 0
push dword [edi + 0xd34]
call esi
pop esi
mov dword [edi + 0xb8c], 2
pop edi
pop ebp
ret 4
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [edi + 0xd94]
call esi
push 0
push dword [edi + 0xdf4]
call esi
push 0
push dword [edi + 0xd34]
call esi
pop esi
pop edi
pop ebp
ret 4
Function at 0x4b4e32
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push edi
mov edi, ecx
cmp eax, 3
ja case.default.0x4b4dc3
push esi
jmp dword [eax*4 + 0x4b4e90]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push dword [edi + 0xd94]
call esi
push 0
push dword [edi + 0xdf4]
call esi
push 0
push dword [edi + 0xd34]
call esi
pop esi
mov dword [edi + 0xb8c], 0
pop edi
pop ebp
ret 4
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [edi + 0xd94]
call esi
push 0
push dword [edi + 0xdf4]
call esi
push 5
push dword [edi + 0xd34]
call esi
pop esi
mov dword [edi + 0xb8c], 1
pop edi
pop ebp
ret 4
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [edi + 0xd94]
call esi
push 5
push dword [edi + 0xdf4]
call esi
push 0
push dword [edi + 0xd34]
call esi
pop esi
mov dword [edi + 0xb8c], 2
pop edi
pop ebp
ret 4
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [edi + 0xd94]
call esi
push 0
push dword [edi + 0xdf4]
call esi
push 0
push dword [edi + 0xd34]
call esi
pop esi
pop edi
pop ebp
ret 4

Function at 0x4b4e66
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push edi
mov edi, ecx
cmp eax, 3
ja case.default.0x4b4dc3
push esi
jmp dword [eax*4 + 0x4b4e90]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push dword [edi + 0xd94]
call esi
push 0
push dword [edi + 0xdf4]
call esi
push 0
push dword [edi + 0xd34]
call esi
pop esi
mov dword [edi + 0xb8c], 0
pop edi
pop ebp
ret 4
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [edi + 0xd94]
call esi
push 0
push dword [edi + 0xdf4]
call esi
push 5
push dword [edi + 0xd34]
call esi
pop esi
mov dword [edi + 0xb8c], 1
pop edi
pop ebp
ret 4
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [edi + 0xd94]
call esi
push 5
push dword [edi + 0xdf4]
call esi
push 0
push dword [edi + 0xd34]
call esi
pop esi
mov dword [edi + 0xb8c], 2
pop edi
pop ebp
ret 4
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [edi + 0xd94]
call esi
push 0
push dword [edi + 0xdf4]
call esi
push 0
push dword [edi + 0xd34]
call esi
pop esi
pop edi
pop ebp
ret 4