joyce8/EMBER2024-capa huggingface dataset:
Function at 0x466290
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55e464
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x61308c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [0x61e774]
test esi, esi
jne 0x466301
push 0x2a8
call fcn.005120b2
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
push 0x2a8
push 0
push esi
call fcn.0052d340
add esp, 0xc
mov ecx, esi
call fcn.00442c50
mov dword [ebp - 4], 0xffffffff
mov dword [0x61e774], esi
cmp dword [esi + 0x1a0], 0x50
jne 0x4663b5
mov ecx, dword [edi + 0x348]
push 1
call dword [sym.imp.DTLUI.dll_public:_bool___thiscall_DuiLib::CTabLayoutUI::SelectItem_int_]
mov ecx, dword [edi + 0x34c]
push str.pngpagebk2.png
call dword [sym.imp.DTLUI.dll_public:_void___thiscall_DuiLib::CControlUI::SetBkImage_wchar_t_const__]
mov ebx, dword [sym.imp.DTLUI.dll_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_wchar_t_const__const]
lea ecx, [edi + 0x18]
push str.GetCodeLay
call ebx
test eax, eax
je 0x46634d
mov edx, dword [eax]
mov ecx, eax
push 0
call dword [edx + 0xe8]
push str.DiscountCodeBtn
lea ecx, [edi + 0x18]
call ebx
mov eax, dword [edi + 0x1378]
test eax, eax
je 0x466376
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x466376
push 0
push 0
mov byte [eax + 0x18], 0
call dword [sym.imp.DTLUI.dll_public:_void___thiscall_DuiLib::CWindowWnd::ShowWindow_bool__bool_]
mov ecx, edi
call fcn.0046eae0
push dword [edi + 0x1340]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4663af
push 0
push dword [edi + 0x1340]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [edi + 0x1348]
test ecx, ecx
je 0x4663af
mov eax, dword [ecx]
push 0
call dword [eax + 0xe8]
mov esi, dword [0x61e774]
mov ebx, dword [ebp + 8]
cmp ebx, 0x11
ja 0x4663d4
mov ecx, dword [edi + ebx*4 + 0x3b4]
push 1
mov eax, dword [ecx]
call dword [eax + 0x158]
mov esi, dword [0x61e774]
test esi, esi
jne 0x466415
push 0x2a8
call fcn.005120b2
mov esi, eax
add esp, 4
mov dword [ebp + 8], esi
mov dword [ebp - 4], 2
push 0x2a8
push 0
push esi
call fcn.0052d340
add esp, 0xc
mov ecx, esi
call fcn.00442c50
mov dword [ebp - 4], 0xffffffff
mov dword [0x61e774], esi
mov dword [esi + 0x1a0], ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x46e050
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55eb7a
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x61308c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [0x61e774]
test edi, edi
jne 0x46e0c0
push 0x2a8
call fcn.005120b2
mov edi, eax
add esp, 4
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], 0
push 0x2a8
push 0
push edi
call fcn.0052d340
add esp, 0xc
mov ecx, edi
call fcn.00442c50
mov dword [ebp - 4], 0xffffffff
mov dword [0x61e774], edi
mov ecx, edi
call fcn.004434b0
test al, al
jne 0x46e1a2
call fcn.00415660
cmp dword [eax + 0x1a0], 0x50
jne 0x46e138
push dword [esi + 0x1340]
mov edi, dword [sym.imp.USER32.dll_IsWindow]
call edi
test eax, eax
je 0x46e112
push 5
push dword [esi + 0x1340]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x1348]
test ecx, ecx
je 0x46e1a2
push 1
jmp 0x46e19a
push dword [esi + 0x1340]
call edi
test eax, eax
je 0x46e1a2
push 0
push dword [esi + 0x1340]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x1348]
jmp 0x46e194
call fcn.00415660
cmp dword [eax + 0x1a0], 7
jne 0x46e1a2
push dword [esi + 0x1344]
mov edi, dword [sym.imp.USER32.dll_IsWindow]
call edi
test eax, eax
je 0x46e174
push 5
push dword [esi + 0x1344]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x134c]
test ecx, ecx
je 0x46e1a2
push 1
jmp 0x46e19a
push dword [esi + 0x1344]
call edi
test eax, eax
je 0x46e1a2
push 0
push dword [esi + 0x1344]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x134c]
test ecx, ecx
je 0x46e1a2
push 0
mov eax, dword [ecx]
call dword [eax + 0xe8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x46e1c0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55eb7a
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x61308c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [0x61e774]
test esi, esi
jne 0x46e230
push 0x2a8
call fcn.005120b2
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
push 0x2a8
push 0
push esi
call fcn.0052d340
add esp, 0xc
mov ecx, esi
call fcn.00442c50
mov dword [ebp - 4], 0xffffffff
mov dword [0x61e774], esi
cmp dword [esi + 0x1a0], 0x50
jne 0x46e25f
push dword [edi + 0x1340]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x46e29f
push 0
push dword [edi + 0x1340]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [edi + 0x1348]
jmp 0x46e291
call fcn.00415660
cmp dword [eax + 0x1a0], 7
jne 0x46e29f
push dword [edi + 0x1344]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x46e29f
push 0
push dword [edi + 0x1344]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [edi + 0x134c]
test ecx, ecx
je 0x46e29f
mov eax, dword [ecx]
push 0
call dword [eax + 0xe8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x46e300
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
push edi
sub eax, 0
je 0x46e381
sub eax, 1
jne 0x46e3ef
mov edi, dword [sym.imp.USER32.dll_IsWindow]
cmp byte [ebp + 0xc], al
je 0x46e35b
push dword [esi + 0x1344]
call edi
test eax, eax
je 0x46e35b
push 5
push dword [esi + 0x1344]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x134c]
test ecx, ecx
je 0x46e3ef
mov eax, dword [ecx]
push 1
call dword [eax + 0xe8]
pop edi
pop esi
pop ebp
ret 8
push dword [esi + 0x1344]
call edi
test eax, eax
je 0x46e3ef
push 0
push dword [esi + 0x1344]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x134c]
jmp 0x46e3e1
cmp byte [ebp + 0xc], 0
mov edi, dword [sym.imp.USER32.dll_IsWindow]
je 0x46e3c1
push dword [esi + 0x1340]
call edi
test eax, eax
je 0x46e3c1
push 5
push dword [esi + 0x1340]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x1348]
test ecx, ecx
je 0x46e3ef
mov eax, dword [ecx]
push 1
call dword [eax + 0xe8]
pop edi
pop esi
pop ebp
ret 8
push dword [esi + 0x1340]
call edi
test eax, eax
je 0x46e3ef
push 0
push dword [esi + 0x1340]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x1348]
test ecx, ecx
je 0x46e3ef
mov eax, dword [ecx]
push 0
call dword [eax + 0xe8]
pop edi
pop esi
pop ebp
ret 8

Function at 0x46f420
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
push esi
push edi
mov dword [ecx + 0x1384], 0xffffffff
lea edi, [ecx + 8]
mov dword [ecx + 4], edx
mov esi, 1
nop dword [eax]
mov eax, edx
lea edi, [edi + 4]
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, esi
inc esi
mov dword [edi - 4], edx
cmp esi, 0x270
jl 0x46f440
pop edi
mov dword [ecx], 0x270
mov eax, ecx
pop esi
pop ebp
ret 0xc

Function at 0x46fa20
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push esi
lea eax, [ecx + 8]
mov esi, 0x270
nop dword [eax]
mov edx, dword [eax - 4]
lea eax, [eax + 4]
xor edx, dword [eax - 4]
and edx, 0x7fffffff
xor edx, dword [eax - 8]
mov ecx, edx
and cl, 1
movzx ecx, cl
neg ecx
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [eax + 0x62c]
xor ecx, edx
mov dword [eax + 0x9b8], ecx
sub esi, 1
jne 0x46fa30
pop esi
ret
Function at 0x46fa70
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebx
mov ebx, ecx
mov ecx, 0xe3
push esi
push edi
lea edi, [ebx + 0x9c4]
mov edx, dword [edi + 4]
lea edi, [edi + 4]
xor edx, dword [edi - 4]
and edx, 0x7fffffff
xor edx, dword [edi - 4]
mov eax, edx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr edx, 1
and eax, 0x9908b0df
xor eax, dword [edi + 0x630]
xor eax, edx
mov dword [edi - 0x9c4], eax
sub ecx, 1
jne 0x46fa80
lea esi, [ebx + 0xd50]
mov edi, 0x18c
mov ecx, dword [esi + 4]
lea esi, [esi + 4]
xor ecx, dword [esi - 4]
and ecx, 0x7fffffff
xor ecx, dword [esi - 4]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [esi - 0xd50]
xor eax, ecx
mov dword [esi - 0x9c4], eax
sub edi, 1
jne 0x46fac2
mov ecx, dword [ebx + 0x1380]
xor ecx, dword [ebx + 4]
and ecx, 0x7fffffff
xor ecx, dword [ebx + 0x1380]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [ebx + 0x634]
xor eax, ecx
mov dword [ebx + 0x9c0], eax
mov dword [ebx], edi
pop edi
pop esi
pop ebx
ret
Function at 0x47a200
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x560f2a
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x61308c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
push dword [ebp + 8]
lea ecx, [ebx + 4]
call dword [sym.imp.DTLUI.dll_public:_void___thiscall_DuiLib::CWinChildPage::Prepare_class_DuiLib::CPaintManagerUI__]
mov ecx, dword [ebx + 4]
mov esi, dword [sym.imp.DTLUI.dll_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_wchar_t_const__const]
push str.drv_manage_backuptab
call esi
mov ecx, dword [ebx + 4]
push str.drv_manage_backupiconlab
mov dword [ebx + 0x30], eax
call esi
mov ecx, dword [ebx + 4]
push str.drv_manage_backuplab
mov dword [ebx + 0x14], eax
call esi
mov ecx, dword [ebx + 4]
push str.drv_manage_backuplab_sys
mov dword [ebx + 8], eax
call esi
mov ecx, dword [ebx + 4]
push str.maintoolbackupnumlab
mov dword [ebx + 0xc], eax
call esi
mov ecx, dword [ebx + 4]
push str.drv_manage_backup_statelab
mov dword [ebx + 0x18], eax
call esi
mov ecx, dword [ebx + 4]
push str.drv_manage_backupfreshbtn
mov dword [ebx + 0x10], eax
call esi
mov ecx, dword [ebx + 4]
push str.drv_manage_view_bakcupsetting_lab
mov dword [ebx + 0x1c], eax
call esi
mov ecx, dword [ebx + 4]
push 0x5ac4bc
mov dword [ebx + 0x28], eax
call esi
mov ecx, dword [ebx + 4]
push str.drv_manage_backup_cancelbtn
mov dword [ebx + 0x20], eax
call esi
mov ecx, dword [ebx + 4]
push str.drv_manage_backup_stateprogress
mov dword [ebx + 0x24], eax
call esi
mov ecx, dword [ebx + 4]
push str.drv_manage_backuplist
mov dword [ebx + 0x2c], eax
call esi
push 0x5ac52c
push str.drv_manage_backup_startbtn
push 0x5ac5a8
push 0x5ac5c8
mov ecx, eax
mov dword [ebx + 0x34], eax
call fcn.0042d770
mov esi, dword [0x61e774]
test esi, esi
jne 0x47a337
push 0x2a8
call fcn.005120b2
mov esi, eax
add esp, 4
mov dword [ebp + 8], esi
mov dword [ebp - 4], 0
push 0x2a8
push 0
push esi
call fcn.0052d340
add esp, 0xc
mov ecx, esi
call fcn.00442c50
mov dword [ebp - 4], 0xffffffff
mov dword [0x61e774], esi
mov ecx, esi
call fcn.004434b0
test al, al
je 0x47a37a
mov ecx, dword [ebx + 0x20]
push 0x5ac620
call dword [sym.imp.DTLUI.dll_public:_void___thiscall_DuiLib::CButtonUI::SetNormalImage_wchar_t_const__]
mov ecx, dword [ebx + 0x20]
push 0x5ac6d8
call dword [sym.imp.DTLUI.dll_public:_void___thiscall_DuiLib::CButtonUI::SetHotImage_wchar_t_const__]
mov ecx, dword [ebx + 0x20]
push 0x5ac768
call dword [sym.imp.DTLUI.dll_public:_void___thiscall_DuiLib::CButtonUI::SetPushedImage_wchar_t_const__]
mov ecx, dword [ebx + 0x20]
push 0x5ac7f8
call dword [sym.imp.DTLUI.dll_public:_void___thiscall_DuiLib::CButtonUI::SetDisabledImage_wchar_t_const__]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x480080
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x561e4b
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [0x61308c]
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
lea ecx, [ebp - 0x128]
call fcn.0040e4b0
mov dword [ebp - 4], 0
cmp dword [ebp - 0x118], 0
ja 0x4800d3
push str.invalid_string_position
call fcn.005058f5
cmp dword [ebp - 0x114], 8
lea eax, [ebp - 0x128]
cmovae eax, dword [ebp - 0x128]
mov ax, word [eax]
cmp ax, word [ebp + 8]
jne 0x48016b
push 0x100
xor edi, edi
lea eax, [ebp - 0x110]
push edi
push eax
call fcn.0052d340
add esp, 0xc
lea eax, [ebp - 0x110]
push eax
push 0x80
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
lea esi, [ebp - 0x110]
cmp word [ebp - 0x110], di
je 0x480160
mov ebx, dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
nop
push esi
call dword [sym.imp.USER32.dll_CharUpperW]
movzx eax, word [esi]
mov ecx, 0x41
cmp cx, ax
je 0x480157
mov ecx, 0x42
cmp cx, ax
je 0x480157
push esi
call ebx
cmp eax, 3
jne 0x480157
inc edi
add esi, 8
cmp word [esi], 0
jne 0x480130
xor ebx, ebx
cmp edi, 1
setg bl
inc ebx
jmp 0x48016d
xor ebx, ebx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x114]
cmp eax, 8
jb 0x480192
inc eax
lea ecx, [ebp - 0x128]
push eax
push dword [ebp - 0x128]
call fcn.00404be0
xor eax, eax
mov dword [ebp - 0x114], 7
mov word [ebp - 0x128], ax
mov eax, ebx
mov dword [ebp - 0x118], 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.005120a1
mov esp, ebp
pop ebp
ret 4
Function at 0x484ee0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x562bd8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x61308c]
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 eax, ecx
mov dword [ebp - 0x2c], eax
mov ebx, dword [sym.imp.DTLUI.dll_public:_bool___thiscall_DuiLib::COptionUI::IsSelected_void_const]
lea edi, [eax + 0x8c]
xor esi, esi
nop
mov ecx, dword [edi]
call ebx
test al, al
jne 0x484f34
inc esi
add edi, 4
cmp esi, 4
jl 0x484f20
or esi, 0xffffffff
sub esi, 0
je 0x484f45
sub esi, 1
jne 0x484f56
mov ecx, 0x1a229
jmp 0x484f4a
mov ecx, 0x1a21c
push 0
xor edx, edx
call fcn.00411230
add esp, 4
mov ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0x28]
push eax
call fcn.004801d0
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], 8
jb 0x484f71
mov eax, dword [eax]
push 1
push 0
push 0
push eax
push 0x5aeec8
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x484fa1
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00404be0
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
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.005120a1
mov esp, ebp
pop ebp
ret
Function at 0x48fd30
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x564192
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x61308c]
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 edi, ecx
mov esi, dword [ebp + 8]
mov dword [ebp - 0x48], 0
mov ecx, dword [edi + 0x44]
push esi
call fcn.0042f290
mov ecx, dword [eax + 0x690]
mov eax, dword [ecx]
call dword [eax + 0xc8]
mov ecx, eax
call dword [sym.imp.DTLUI.dll_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const]
push eax
call fcn.005351a0
mov ecx, dword [edi + 0x44]
add esp, 4
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x50], 2
mov dword [ebp - 0x4c], eax
push esi
call fcn.0045bea0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x54]
call fcn.004218a0
mov dword [ebp - 4], 0
mov esi, dword [eax + 0x10]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x48fdd7
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00404be0
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
test esi, esi
jle 0x48fe9a
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x54]
call fcn.004218a0
mov dword [ebp - 4], 2
mov ebx, 1
mov dword [ebp - 0x48], ebx
cmp dword [eax + 0x14], 8
jb 0x48fe16
mov eax, dword [eax]
push 0
push eax
call fcn.005336c4
add esp, 8
test eax, eax
jne 0x48fe57
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x54]
call fcn.004218a0
mov dword [ebp - 4], 3
mov ebx, 3
mov dword [ebp - 0x48], ebx
cmp dword [eax + 0x14], 8
jb 0x48fe48
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 0x41], 0
test eax, eax
je 0x48fe5b
mov byte [ebp - 0x41], 1
mov dword [ebp - 4], 2
test bl, 2
je 0x48fe75
and ebx, 0xfffffffd
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x48], ebx
call fcn.00409540
mov dword [ebp - 4], 0xffffffff
and ebx, 0xfffffffe
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x48], ebx
call fcn.00409540
cmp byte [ebp - 0x41], 0
jne 0x48fe9a
mov ecx, 7
call fcn.004fde90
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.005120a1
mov esp, ebp
pop ebp
ret 4
Function at 0x498560
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x565367
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x61308c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ecx, dword [0x61df50]
sub esp, 8
push 0x5b44d0
call fcn.0046d130
mov ecx, dword [edi + 0x34]
push 0
call dword [sym.imp.DTLUI.dll_public:_void___thiscall_DuiLib::CProgressUI::SetValue_int_]
mov ecx, dword [edi + 0x34]
push 1
push 0x32
call dword [sym.imp.DTLUI.dll_public:_void___thiscall_DuiLib::CProgressUI::BeginTask_int__int_]
mov ecx, dword [edi + 0x30]
push 0
mov eax, dword [ecx]
call dword [eax + 0xe8]
mov ecx, dword [edi + 0xc]
push 1
call dword [sym.imp.DTLUI.dll_public:_bool___thiscall_DuiLib::CTabLayoutUI::SelectItem_int_]
mov esi, dword [edi + 8]
mov eax, dword [esi + 0x63c]
lea ecx, [esi + 0x63c]
mov dword [esi + 0xf44], 0
call dword [eax + 0x20]
mov ecx, dword [esi + 0xde0]
test ecx, ecx
je 0x4985fd
push 0
call dword [sym.imp.DTLUI.dll_public:_void___thiscall_DuiLib::CListHeaderItemUI::SetShowCheckbox_bool_]
mov ecx, dword [edi + 8]
push 0
call fcn.0042eed0
mov eax, dword [edi + 8]
lea ecx, [ebp - 0x28]
push 0
push 0
mov edx, 0x5b44fc
mov dword [eax + 0x11d8], 0
call fcn.0044b7f0
add esp, 8
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], 8
jb 0x498637
mov eax, dword [eax]
push eax
push 0x5b4534
push dword [edi + 0x1c]
call dword [sym.imp.DTLUI.dll_public:_void___cdecl_DuiLib::CLabelUI::SetFormatText_wchar_t_const__]
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x498665
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00404be0
mov esi, dword [0x61e7f0]
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
test esi, esi
jne 0x4986c4
push 0x64
call fcn.005120b2
mov esi, eax
add esp, 4
mov dword [ebp - 0x2c], esi
mov dword [ebp - 4], 2
push 0x64
push 0
push esi
call fcn.0052d340
add esp, 0xc
mov ecx, esi
call fcn.004bb490
mov byte [ebp - 4], 3
mov dword [esi], vtable.CDrvQueryThread_Instanst.0
mov dword [ebp - 4], 0xffffffff
mov dword [0x61e7f0], esi
mov eax, dword [esi + 0x10]
mov edi, dword [edi + 0x34]
mov byte [esi + 0x2d], 1
test eax, eax
je 0x4986eb
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x10], 0
push edi
push 1
push 0x467
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostThreadMessageW]
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.005120a1
mov esp, ebp
pop ebp
ret
Function at 0x498980
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x554b3a
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x61308c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esi + 0x30]
push 1
mov eax, dword [ecx]
call dword [eax + 0xe8]
mov ecx, dword [esi + 0xc]
push 0
call dword [sym.imp.DTLUI.dll_public:_bool___thiscall_DuiLib::CTabLayoutUI::SelectItem_int_]
mov ecx, dword [esi + 8]
call fcn.0042df90
mov ecx, dword [esi + 8]
push 1
call fcn.0042eed0
mov ecx, dword [esi + 8]
call fcn.0042ed10
mov ecx, dword [esi + 8]
cmp dword [ecx + 0x11d8], 0
jne 0x4989ea
call fcn.0045f420
mov edi, dword [0x61e774]
test edi, edi
jne 0x498a2e
push 0x2a8
call fcn.005120b2
mov edi, eax
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], 0
push 0x2a8
push 0
push edi
call fcn.0052d340
add esp, 0x10
mov ecx, edi
call fcn.00442c50
mov dword [ebp - 4], 0xffffffff
mov dword [0x61e774], edi
cmp byte [edi + 0x20c], 0
je 0x498a4c
mov ecx, esi
call fcn.0049a9b0
call fcn.00415660
mov byte [eax + 0x20c], 0
jmp 0x498a8e
mov ecx, dword [esi + 8]
push 0x5b4c58
call fcn.0042f210
test eax, eax
je 0x498a8e
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xdc]
mov edx, eax
test edx, edx
je 0x498a8e
mov ecx, dword [edx + 0x124]
test ecx, ecx
je 0x498a8e
cmp edx, dword [ecx + 0xdec]
je 0x498a8e
mov al, byte [edx + 0x16]
test al, al
je 0x498a8e
push 0
push edx
call fcn.0042e570
mov ecx, esi
call fcn.0049a040
mov eax, dword [esi + 0x38]
cmp eax, 1
jne 0x498aa6
mov ecx, esi
call fcn.00498b60
jmp 0x498ab7
cmp eax, 2
jne 0x498ab7
mov ecx, esi
call fcn.00498ad0
call fcn.004a7b40
mov dword [esi + 0x38], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4a9e80
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x554618
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x61308c]
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], 0xffffffff
mov eax, dword [esi + 0xc]
mov dword [esi], vtable.base_thread.0
test eax, eax
je 0x4a9ecb
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0xc], 0
mov eax, dword [esi + 0x10]
test eax, eax
je 0x4a9ee0
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x10], 0
mov eax, dword [esi + 8]
test eax, eax
je 0x4a9efe
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
cmp eax, 1
jne 0x4a9efe
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret