joyce8/EMBER2024-capa huggingface dataset:
Function at 0x517b20
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x6b9760]
push esi
mov esi, ecx
cmp dword [eax - 0xc], 0
je 0x517b3e
push eax
push str.DlgFrame
call dword [sym.imp.ycomuiu.dll_public:_void___thiscall_DuiLib::WindowImplBase::SetControlBkImage_wchar_t_const___wchar_t_const__]
mov eax, dword [0x6b9764]
test eax, eax
je 0x517b55
push eax
push str.DlgFrameBottom
mov ecx, esi
call dword [sym.imp.ycomuiu.dll_public:_void___thiscall_DuiLib::WindowImplBase::SetControlBKColor_wchar_t_const___unsigned_long_int_]
mov ecx, dword [esi + 0x918]
test ecx, ecx
je 0x517b8e
lea eax, [ecx + 0xad8]
mov dword [esi + 0x928], eax
mov eax, dword [0x6b0c54]
mov dword [esi + 0x91c], eax
lea eax, [ecx + 0xa04]
mov dword [esi + 0x92c], eax
mov eax, dword [ecx + 0xa34]
mov dword [esi + 0x920], eax
push str.recoverProgress
lea ecx, [esi + 0x34]
call dword [sym.imp.ycomuiu.dll_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_wchar_t_const__const]
mov dword [esi + 0x910], eax
lea eax, [ebp - 4]
push eax
push 0
push esi
push 0x517e20
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x914], eax
test eax, eax
je 0x517bd3
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x914], 0
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x51bb30
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60ad31
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
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], 0
mov eax, dword [0x6b9760]
cmp dword [eax - 0xc], 0
je 0x51bb77
push eax
push str.DlgFrame
call dword [sym.imp.ycomuiu.dll_public:_void___thiscall_DuiLib::WindowImplBase::SetControlBkImage_wchar_t_const___wchar_t_const__]
mov eax, dword [0x6b9764]
test eax, eax
je 0x51bb8e
push eax
push str.DlgFrameBottom
mov ecx, esi
call dword [sym.imp.ycomuiu.dll_public:_void___thiscall_DuiLib::WindowImplBase::SetControlBKColor_wchar_t_const___unsigned_long_int_]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
mov edx, dword [0x6b9640]
push str.cd.dat
call fcn.0048e450
add esp, 4
push dword [eax]
push 1
push str.Facebook
push str.Other
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edi, eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 0xffffffff
or ecx, 0xffffffff
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x51bbea
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
mov ecx, esi
setne al
movzx eax, al
push eax
push str.btnFacebook
call dword [sym.imp.ycomuiu.dll_public:_void___thiscall_DuiLib::WindowImplBase::ShowWindow_wchar_t_const___bool_]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x51f2f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60ba57
mov eax, dword fs:[0]
push eax
sub esp, 8
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 [esi], vtable.CSaleProDlg.3.0
mov dword [esi + 0x10], vtable.CSaleProDlg.4.0
mov dword [esi + 0x24], vtable.CSaleProDlg.0
mov dword [esi + 0x28], vtable.CSaleProDlg.5.0
mov dword [esi + 0x2c], vtable.CSaleProDlg.1.0
mov dword [esi + 0x30], vtable.CSaleProDlg.2.0
mov dword [ebp - 4], 0
lea eax, [esi + 0x908]
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 0
mov edx, dword [eax]
or eax, 0xffffffff
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x51f372
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov dword [esi], vtable.MyBaseWindow.5.0
mov dword [esi + 0x10], vtable.MyBaseWindow.2.0
mov dword [esi + 0x24], vtable.MyBaseWindow.1.0
mov dword [esi + 0x28], vtable.MyBaseWindow.4.0
mov dword [esi + 0x2c], vtable.MyBaseWindow.0
mov dword [esi + 0x30], vtable.MyBaseWindow.3.0
mov dword [ebp - 4], 0xffffffff
mov ecx, esi
call dword [sym.imp.ycomuiu.dll_public_virtual:_void___thiscall_DuiLib::WindowImplBase::destructor_void_]
test byte [ebp + 8], 1
je 0x51f3c5
push 0x90c
push esi
call fcn.005603ff
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x51fd30
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60bc99
mov eax, dword fs:[0]
push eax
sub esp, 0xc
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 ebx, ecx
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
mov edx, dword [0x6b9640]
push str.cd.dat
call fcn.0048e450
add esp, 4
mov dword [ebp - 0x10], 1
push dword [eax]
push 1
push str.HalfWay
push str.Config
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, 1
mov esi, eax
mov dword [ebp - 0x10], ecx
and ecx, 0xfffffffe
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 0xffffffff
or edi, 0xffffffff
mov edx, dword [ebp - 0x14]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x51fdcd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp esi, 1
jb 0x51fdd7
cmp esi, 3
jbe 0x51fddc
mov esi, 1
mov dword [ebx + 0x904], esi
cmp esi, 1
jne 0x51fdec
lea eax, [esi + 0x30]
jmp 0x51fdfc
cmp esi, 3
mov eax, 0x3b
mov ecx, 0x45
cmove eax, ecx
mov dword [ebx + 0x900], eax
call fcn.0040bf10
mov ecx, eax
test ecx, ecx
je 0x51feab
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 3
mov edx, str.OfferPrice
push 0x650a3c
lea ecx, [ebp - 0x18]
call fcn.004db870
mov byte [ebp - 4], 4
lea eax, [ebp - 0x14]
push dword [ebx + 0x900]
push dword [ebp - 0x18]
push eax
call fcn.0040d300
mov esi, dword [ebp - 0x14]
add esp, 0x10
mov ecx, ebx
push esi
push str.offerPrice
call dword [sym.imp.ycomuiu.dll_public:_int___thiscall_DuiLib::WindowImplBase::SetDlgItemTextW_wchar_t_const___wchar_t_const__]
mov byte [ebp - 4], 3
mov eax, edi
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x51fe7d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jg 0x51fe99
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 0x5209f0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60bfb1
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
push 0
lea ecx, [ebp - 0x38]
call dword [sym.imp.ycomuiu.dll_public:_void___thiscall_DuiLib::CWaitCursor::constructor_struct_HWND____]
mov dword [ebp - 4], 0
call fcn.0040bf10
mov ecx, eax
test ecx, ecx
je 0x520bf9
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 2
lea eax, [ebp - 0x1c]
push 0
push 1
push eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x14], 0
push eax
lea eax, [ebp - 0x24]
mov dword [ebp - 0x18], 0
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x1c], 0
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x24], 0
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x20], 0
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x28], esp
call fcn.004dc3e0
mov byte [ebp - 4], 3
push ecx
mov esi, esp
mov dword [ebp - 0x2c], esp
mov dword [ebp - 0x30], esi
mov ecx, dword [0x6b9698]
lea ecx, [ecx - 0x10]
call fcn.0040c950
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 5
push 0
mov byte [ebp - 4], 2
call fcn.00557b60
mov esi, dword [ebp - 0x10]
mov ebx, eax
test ebx, ebx
je 0x520b67
cmp dword [ebp - 0x14], 3
jbe 0x520b5f
mov edx, dword [edi + 4]
mov ecx, str.UIdOverflow
push 0
push 0x40
call fcn.00495040
add esp, 8
call fcn.0055aaa0
push 4
push 0x6b6c1b
push 4
push str.memid
push 0x650fc8
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
test ebx, ebx
je 0x520bb9
mov bl, byte [0x6b6c1b]
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x520b3b
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call dword [sym.imp.ycomuiu.dll_public:_void___thiscall_DuiLib::CWaitCursor::destructor_void_]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x18], 0
jne 0x520af3
jmp 0x520aee
mov ecx, str.SignErr
mov eax, esi
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x520b96
test dx, dx
je 0x520b92
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x520b96
add eax, 4
add ecx, 4
test dx, dx
jne 0x520b70
xor eax, eax
jmp 0x520b9b
sbb eax, eax
or eax, 1
test eax, eax
je 0x520aee
mov edx, dword [edi + 4]
mov ecx, esi
push 0
push 0x40
call fcn.00495040
add esp, 8
jmp 0x520af3
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x520bd5
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call dword [sym.imp.ycomuiu.dll_public:_void___thiscall_DuiLib::CWaitCursor::destructor_void_]
xor al, al
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 0x520ee0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60c0d7
mov eax, dword fs:[0]
push eax
sub esp, 8
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 [esi], vtable.CSaveResultDlg.5.0
mov dword [esi + 0x10], vtable.CSaveResultDlg.3.0
mov dword [esi + 0x24], vtable.CSaveResultDlg.0
mov dword [esi + 0x28], vtable.CSaveResultDlg.1.0
mov dword [esi + 0x2c], vtable.CSaveResultDlg.2.0
mov dword [esi + 0x30], vtable.CSaveResultDlg.4.0
mov dword [ebp - 4], 0
lea eax, [esi + 0x918]
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 0
mov edx, dword [eax]
or eax, 0xffffffff
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x520f62
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov dword [esi], vtable.MyBaseWindow.5.0
mov dword [esi + 0x10], vtable.MyBaseWindow.2.0
mov dword [esi + 0x24], vtable.MyBaseWindow.1.0
mov dword [esi + 0x28], vtable.MyBaseWindow.4.0
mov dword [esi + 0x2c], vtable.MyBaseWindow.0
mov dword [esi + 0x30], vtable.MyBaseWindow.3.0
mov dword [ebp - 4], 0xffffffff
mov ecx, esi
call dword [sym.imp.ycomuiu.dll_public_virtual:_void___thiscall_DuiLib::WindowImplBase::destructor_void_]
test byte [ebp + 8], 1
je 0x520fb5
push 0x930
push esi
call fcn.005603ff
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x5211e0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x6b9760]
push esi
mov esi, ecx
cmp dword [eax - 0xc], 0
je 0x5211fe
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.SaveProgress
lea ecx, [esi + 0x34]
call dword [sym.imp.ycomuiu.dll_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_wchar_t_const__const]
mov ecx, dword [esi + 0x910]
mov dword [esi + 0x90c], eax
test ecx, ecx
je 0x521240
lea eax, [ecx + 0xa38]
mov dword [esi + 0x914], eax
lea eax, [ecx + 0x9e4]
mov dword [esi + 0x91c], eax
lea eax, [ecx + 0x9dc]
mov dword [esi + 0x920], eax
lea eax, [ebp - 4]
push eax
push 0
push esi
push 0x521380
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x904], eax
test eax, eax
je 0x521271
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x904], 0
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x522bb0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov ecx, dword [esi + 0x60]
test ecx, ecx
jne 0x522bd6
push ecx
push ecx
push 0x405
call dword [sym.imp.ycomuiu.dll_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const]
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
pop esi
pop ebp
ret 8
cmp dword [esi + 0x64], 0
jne 0x522c00
cmp dword [0x6b0c54], 1
je 0x522c00
push 0
push 0
push 0x405
call dword [sym.imp.ycomuiu.dll_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const]
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
pop esi
pop ebp
ret 8
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x522c47
mov ecx, edi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x522c10
sub ecx, edx
sar ecx, 1
cmp ecx, 3
je 0x522c47
mov edx, edi
lea ecx, [esi + 0x5c]
push ebx
lea ebx, [edx + 2]
nop dword [eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x522c30
sub edx, ebx
sar edx, 1
push edx
push edi
call fcn.0040c9d0
pop ebx
push 0
push 1
push 1
push 0
mov byte [esi + 0x42], 1
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
mov dword [esi + 0x28], eax
call fcn.005b9077
add esp, 4
mov dword [esi + 0x50], eax
mov eax, dword [0x6b0c54]
mov dword [esi + 0x54], edx
mov byte [esi + 0x40], 0
pop edi
cmp eax, 2
jne 0x522c99
lea eax, [ebp + 8]
push eax
push 0
push esi
push 0x522e40
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x3c], eax
pop esi
pop ebp
ret 8
cmp eax, 1
lea eax, [ebp + 8]
push eax
push 0
push esi
jne 0x522cbc
push 0x52e100
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x3c], eax
pop esi
pop ebp
ret 8
push 0x522e00
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x3c], eax
pop esi
pop ebp
ret 8

Function at 0x522ce0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
cmp dword [esi + 0x60], 0
je 0x522d2b
push 0
call fcn.005b9077
add esp, 4
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], edx
push 0
push 1
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x28], eax
lea eax, [ebp - 4]
push eax
push 0
push esi
push 0x522d30
push 0
push 0
mov byte [esi + 0x40], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x3c], eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x524780
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
push dword [edi + 0x10]
call fcn.00560596
mov esi, eax
add esp, 4
test esi, esi
je 0x5247ff
push ebx
push dword [ebp + 0x10]
mov ebx, dword [edi + 0x10]
push dword [ebp + 0xc]
push 0
push ebx
call fcn.005dd6d0
add eax, dword [edi + 0x18]
lea ecx, [ebp + 0x10]
push 0
adc edx, dword [edi + 0x1c]
push ecx
push eax
push dword [edi + 0x20]
mov dword [ebp + 0xc], eax
mov dword [ebp + 0x10], edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
test eax, eax
je 0x5247f1
push 0
lea eax, [ebp + 8]
push eax
push ebx
push esi
push dword [edi + 0x20]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x5247f1
mov eax, dword [ebp + 8]
cmp eax, dword [edi + 0x10]
jne 0x5247f1
pop ebx
pop edi
mov eax, esi
pop esi
pop ebp
ret 0xc
push 1
push esi
call fcn.005603ff
add esp, 8
xor eax, eax
pop ebx
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x528b30
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60cfec
mov eax, dword fs:[0]
push eax
mov eax, 0x1468
call fcn.005ddc60
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 edi, ecx
mov eax, dword [edi + 0x64]
lea ecx, [ebp - 0x1470]
mov ebx, dword [ebp + 8]
push dword [eax]
call fcn.004701f0
mov dword [ebp - 4], 0
cmp dword [ebp - 0x1464], 0
jne 0x528bd4
push 0
push 0
push 0
push 0
push 0
mov ecx, edi
call fcn.00523f60
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x1474], esp
push 0x6b0f38
call fcn.00420d90
mov byte [ebp - 4], 1
mov ecx, dword [edi + 0x60]
push 0
call dword [sym.imp.ycomuiu.dll_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const]
mov byte [ebp - 4], 0
mov edx, 0x40
mov ecx, eax
call fcn.004e0d20
add esp, 0x1c
jmp 0x528cc4
mov esi, dword [ebp - 0x1454]
mov byte [edi + 0x40], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
test ebx, ebx
je 0x528cad
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x528c07
sub ecx, edx
sar ecx, 1
je 0x528cad
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x528d05
mov esi, dword [ebp - 0x1454]
lea eax, [ebx + 6]
push 0x104
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.005a829a
lea eax, [ebp - 0x218]
add esp, 0xc
mov dword [ebp - 0x1474], eax
lea eax, [esi - 2]
cmp eax, 0xfffffed
ja 0x528c90
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x1474]
push eax
call fcn.0052dac0
test eax, eax
js 0x528ca7
je 0x528c90
lea eax, [ebp - 0x420]
push eax
push esi
lea eax, [ebp - 0x1470]
push eax
call fcn.00529720
mov esi, eax
jmp 0x528c55
lea eax, [esi - 2]
cmp eax, 0xfffffed
ja 0x528ca7
cmp esi, 2
jb 0x528ca7
cmp esi, 0xfffffef
jbe 0x528d05
mov esi, dword [ebp - 0x1454]
push 0
push 0
push 1
push 0
push esi
lea eax, [ebp - 0x1470]
mov ecx, edi
push eax
call fcn.0052b2a0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1460]
mov dword [ebp - method.CFAT32Volume.virtual_0], vtable.CFAT32Volume.0
cmp eax, 0xffffffff
je 0x528ce7
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
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 8
cmp esi, dword [ebp - 0x1454]
je 0x528cad
push ebx
lea ecx, [ebp - 0x1474]
call fcn.0040c380
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1474]
push 1
push 0x64f4f8
call fcn.0040ceb0
push 0
push 0
push 0
push dword [ebp - 0x1474]
lea eax, [ebp - 0x1470]
mov ecx, edi
push esi
push eax
call fcn.0052b2a0
mov byte [ebp - 4], 0
or eax, 0xffffffff
mov edx, dword [ebp - 0x1474]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x528cc4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x528cc4
Function at 0x52c0d0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60d71c
mov eax, dword fs:[0]
push eax
sub esp, 0xc74
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 [esi + 0x64]
lea ecx, [ebp - 0xc78]
mov ebx, dword [ebp + 8]
push dword [eax]
call fcn.0046ebb0
mov dword [ebp - 4], 0
cmp dword [ebp - 0xc6c], 0
jne 0x52c170
push 0
push 0
push 0
push 0
push 0
mov ecx, esi
call fcn.00523f60
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xc80], esp
push 0x6b1190
call fcn.00420d90
mov byte [ebp - 4], 1
mov ecx, dword [esi + 0x60]
push 0
call dword [sym.imp.ycomuiu.dll_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const]
mov byte [ebp - 4], 0
mov edx, 0x40
mov ecx, eax
call fcn.004e0d20
add esp, 0x1c
jmp 0x52c2e8
mov byte [esi + 0x40], 0
mov edi, 0xffff
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
test ebx, ebx
je 0x52c26f
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x52c1a2
sub ecx, edx
sar ecx, 1
je 0x52c26f
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x52c26f
push 0x104
lea eax, [ebx + 6]
mov dword [ebp - 0xc7c], 1
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.005a829a
lea eax, [ebp - 0x218]
add esp, 0xc
mov dword [ebp - 0xc80], eax
nop dword [eax]
nop dword [eax + eax]
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0xc80]
push eax
call fcn.0052dac0
test eax, eax
js 0x52c26a
je 0x52c251
lea eax, [ebp - 0x420]
mov ecx, esi
push eax
push edi
push dword [ebp - 0xc7c]
lea eax, [ebp - 0xc78]
push eax
call fcn.005299d0
movzx edi, ax
mov ecx, 0xffed
mov dword [ebp - 0xc7c], 0
lea eax, [edi - 2]
cmp ax, cx
jbe 0x52c200
jmp 0x52c256
mov ecx, 0xffed
lea eax, [edi - 2]
cmp ax, cx
ja 0x52c263
movzx edi, di
jmp 0x52c274
mov edi, 0xffff
jmp 0x52c274
mov edi, 0xffff
mov ecx, 0xffed
lea eax, [edi - 2]
cmp ax, cx
ja 0x52c2da
push ebx
lea ecx, [ebp - 0xc7c]
call fcn.0040c380
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xc7c]
push 1
push 0x64f4f8
call fcn.0040ceb0
push 0
push ecx
push dword [ebp - 0xc7c]
lea eax, [ebp - 0xc78]
mov ecx, esi
push edi
push eax
call fcn.0052c6f0
mov byte [ebp - 4], 0
or eax, 0xffffffff
mov edx, dword [ebp - 0xc7c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x52c2e8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x52c2e8
lea eax, [ebp - 0xc78]
mov ecx, esi
push eax
call fcn.0052cea0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xc68]
mov dword [ebp - method.CFATVolume.virtual_0], vtable.CFATVolume.0
cmp eax, 0xffffffff
je 0x52c30b
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
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 8
Function at 0x52e140
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 8]
mov eax, dword [esi + 0x44]
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
cmp eax, 1
jne 0x52e1b7
test eax, eax
mov eax, dword [esi + 0x64]
je 0x52e17c
test eax, eax
jne 0x52e17c
or eax, 0xffffffff
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [eax]
cmp dword [ecx - 0xc], 0
jl 0x52e28b
movzx ecx, word [ecx]
cmp ecx, 0x7b
jne 0x52e1a4
push dword [eax]
push str._Volume_s
push 0x30
push edi
call fcn.0046d0c0
add esp, 0x10
jmp 0x52e1e6
push ecx
push str.._c:
push 6
push edi
call fcn.0046d0c0
add esp, 0x10
jmp 0x52e1e6
cmp eax, 2
jne 0x52e1d1
push dword [esi + 0x48]
push str..PhysicalDrive_d
push 0x12
push edi
call fcn.0046d0c0
add esp, 0x10
jmp 0x52e1e6
test eax, eax
jne 0x52e281
mov eax, dword [esi + 0x58]
cmp dword [eax - 0xc], 0
je 0x52e281
cmp dword [esi + 0x44], 0
jne 0x52e1ef
mov edi, dword [esi + 0x58]
push 0
push 0
push 3
push 0
push 3
push SysReAllocString
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x52e277
push 0
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0
push eax
push 8
lea eax, [esp + 0x1c]
xorps xmm0, xmm0
push eax
push 0
push 0
push 0x7405c
push edi
movq qword [esp + 0x30], xmm0
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x52e24d
mov eax, dword [esp + 0x10]
mov dword [esi + 0x30], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 0x34], eax
mov eax, dword [esi + 0x60]
mov ecx, dword [eax + 0xb94]
test ecx, ecx
je 0x52e271
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi + 0x60]
mov dword [eax + 0xb94], 0
mov eax, dword [esi + 0x60]
mov dword [eax + 0xb94], edi
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 4
push 0x80070057
call fcn.0040b250
int3