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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10121166
mov eax, dword fs:[0]
push eax
sub esp, 0x124
mov eax, dword [0x1019842c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x120], ecx
lea eax, [ebp - 0x94]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x108]
mov eax, dword [ebp + 8]
mov edx, dword [edx]
mov ecx, dword [eax + 0x108]
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 0x124], eax
mov ecx, dword [ebp - 0x124]
mov dword [ebp - 0x128], ecx
mov dword [ebp - 4], 0
push 0x1014e0b4
mov ecx, dword [ebp - 0x128]
call sym.UserAndPayClient.dll_public:_bool___thiscall_xx_DuiLib::CDuiString::operator_wchar_t_const__const
mov byte [ebp - 0x119], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call sym.UserAndPayClient.dll_public:_void___thiscall_xx_DuiLib::CDuiString::destructor_void_
movzx edx, byte [ebp - 0x119]
test edx, edx
je 0x1003ab3f
push 0
mov ecx, dword [ebp - 0x120]
call sym.UserAndPayClient.dll_public:_void___thiscall_xx_DuiLib::CWindowWnd::Close_unsigned_int_
jmp 0x1003abca
lea eax, [ebp - 0x118]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x108]
mov eax, dword [ebp + 8]
mov edx, dword [edx]
mov ecx, dword [eax + 0x108]
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 0x12c], eax
mov ecx, dword [ebp - 0x12c]
mov dword [ebp - 0x130], ecx
mov dword [ebp - 4], 1
push str.buyVip
mov ecx, dword [ebp - 0x130]
call sym.UserAndPayClient.dll_public:_bool___thiscall_xx_DuiLib::CDuiString::operator_wchar_t_const__const
mov byte [ebp - 0x11a], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x118]
call sym.UserAndPayClient.dll_public:_void___thiscall_xx_DuiLib::CDuiString::destructor_void_
movzx edx, byte [ebp - 0x11a]
test edx, edx
je 0x1003abca
push 0
mov eax, dword [ebp - 0x120]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
push 1
mov ecx, dword [ebp - 0x120]
call sym.UserAndPayClient.dll_public:_void___thiscall_xx_DuiLib::CWindowWnd::Close_unsigned_int_
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100e3849
mov esp, ebp
pop ebp
ret 4
Function at 0x1003b370
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 8], ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x2e0
je 0x1003b38d
jmp 0x1003b461
cmp dword [0x1019e97c], 0xffffffff
je 0x1003b3d1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
sub ecx, dword [0x1019e97c]
cmp ecx, 0x64
jae 0x1003b3c6
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 8]
call sym.UserAndPayClient.dll_public_virtual:_long_int___thiscall_xx_DuiLib::WindowImplBase::HandleMessage_unsigned_int__unsigned_int__long_int_
jmp 0x1003b475
mov edx, dword [ebp - 0x10]
mov dword [0x1019e97c], edx
jmp 0x1003b3dc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x1019e97c], eax
mov eax, dword [ebp + 0xc]
and eax, 0xffff
mov word [ebp - 4], ax
movzx ecx, word [ebp - 4]
push ecx
mov ecx, dword [ebp - 8]
add ecx, 0x30
call sym.UserAndPayClient.dll_public:_void___thiscall_xx_DuiLib::CPaintManagerUI::SetDPI_int_
mov ecx, dword [ebp - 8]
add ecx, 0x30
call sym.UserAndPayClient.dll_public:_void___thiscall_xx_DuiLib::CPaintManagerUI::ResetDPIAssets_void_
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0xc], edx
push 0x14
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov edx, dword [eax + 0xc]
sub edx, dword [ecx + 4]
push edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov edx, dword [eax + 8]
sub edx, dword [ecx]
push edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [edx]
push eax
push 0
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebp - 8]
add ecx, 0x30
call sym.UserAndPayClient.dll_public:_class_xx_DuiLib::CControlUI____thiscall_xx_DuiLib::CPaintManagerUI::GetRoot_void_const
test eax, eax
je 0x1003b461
mov ecx, dword [ebp - 8]
add ecx, 0x30
call sym.UserAndPayClient.dll_public:_class_xx_DuiLib::CControlUI____thiscall_xx_DuiLib::CPaintManagerUI::GetRoot_void_const
mov ecx, eax
call sym.UserAndPayClient.dll_public:_void___thiscall_xx_DuiLib::CControlUI::NeedUpdate_void_
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 8]
call sym.UserAndPayClient.dll_public_virtual:_long_int___thiscall_xx_DuiLib::WindowImplBase::HandleMessage_unsigned_int__unsigned_int__long_int_
mov esp, ebp
pop ebp
ret 0xc
Function at 0x100407d0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x1019842c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [str.mshtml.dll]
mov dword [ebp - 0x1c], eax
mov ecx, dword [0x1014fec4]
mov dword [ebp - 0x18], ecx
mov edx, dword [0x1014fec8]
mov dword [ebp - 0x14], edx
mov eax, dword [0x1014fecc]
mov dword [ebp - 0x10], eax
mov ecx, dword [0x1014fed0]
mov dword [ebp - 0xc], ecx
mov dx, word [0x1014fed4]
mov word [ebp - 8], dx
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x2c], 0
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x1c]
push ecx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x1004090e
mov edx, dword [ebp - 0x28]
push edx
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x1004090e
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x10040904
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x30], 0
lea ecx, [ebp - 0x30]
push ecx
lea edx, [ebp - 0x20]
push edx
push 0x1014fed8
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x10040904
cmp dword [ebp - 0x30], 0
je 0x10040904
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 8]
shr edx, 0x10
and edx, 0xffff
movzx eax, dx
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 8]
and edx, 0xffff
movzx eax, dx
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 0xc]
shr edx, 0x10
and edx, 0xffff
movzx eax, dx
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 0xc]
and edx, 0xffff
movzx eax, dx
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100e3849
mov esp, ebp
pop ebp
ret
Function at 0x10047220
Capabilities:
Create thread
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 8]
push ecx
call sym.UserAndPayClient.dll_public:_static_void___cdecl_Talk2Svr::CTalk2Svr::CopyTwoTag_struct_tag_Check_Vip_Info___struct_tag_Check_Vip_Info__
add esp, 8
mov edx, dword [ebp - 4]
add edx, 0xd0
push edx
mov eax, dword [ebp - 4]
add eax, 0xb8
push eax
call fcn.1001ab50
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x10047287
mov edx, dword [ebp - 4]
add edx, 0xb8
push edx
mov eax, dword [ebp - 4]
add eax, 0xa0
push eax
call fcn.1001ab90
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x10047287
mov edx, dword [ebp - 4]
mov byte [edx + 0x3f5], 1
jmp 0x10047291
mov eax, dword [ebp - 4]
mov byte [eax + 0x3f5], 0
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x3c0], 0
jne 0x100472af
push 0
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x3c0]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [ebp + 8]
cmp dword [ecx], 0xc8
jne 0x10047318
mov edx, dword [ebp - 4]
cmp dword [edx + 0x3ec], 0
jne 0x100472dd
push 0
push 1
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreW]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x3ec], eax
push 0
push 0
mov edx, dword [ebp - 4]
push edx
push 0x10043570
push 0
push 0
call fcn.10101171
add esp, 0x18
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x3c0], eax
push 0
push 0
push 0x5f4
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x3e0]
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov esp, ebp
pop ebp
ret 4
Function at 0x10047bd0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push 0
push 0
mov eax, dword [ebp - 4]
push eax
push 0x10047540
push 0
push 0
call fcn.10101171
add esp, 0x18
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x3e8], eax
mov esp, ebp
pop ebp
ret

Function at 0x10047f00
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10122e50
mov eax, dword fs:[0]
push eax
sub esp, 0x824
mov eax, dword [0x1019842c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x830], ecx
mov dword [ebp - 0x82c], 0
mov dword [ebp - 4], 1
mov al, byte [0x1014717b]
mov byte [ebp - 0x810], al
push 0x7ff
push 0
lea ecx, [ebp - 0x80f]
push ecx
call fcn.100e0f10
add esp, 0xc
mov ecx, dword [ebp - 0x830]
add ecx, 0x428
call fcn.100237b0
push eax
push 0x800
lea edx, [ebp - 0x810]
push edx
push 0x1014718d
lea ecx, [ebp + 0x24]
call fcn.100237b0
push eax
lea ecx, [ebp + 0xc]
call fcn.100237b0
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x828]
call fcn.10022760
lea ecx, [ebp - 0x828]
push ecx
mov ecx, dword [ebp + 8]
call fcn.1001e750
mov edx, dword [ebp - 0x82c]
or edx, 1
mov dword [ebp - 0x82c], edx
lea ecx, [ebp - 0x828]
call fcn.10023b10
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.10023b10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call fcn.10023b10
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100e3849
mov esp, ebp
pop ebp
ret 0x34
Function at 0x10049110
Capabilities:
Create process on windows
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
add ecx, 0x370
call fcn.100237b0
push eax
push str.m_strQQ:_s
call fcn.10020c60
add esp, 8
mov ecx, dword [ebp - 4]
add ecx, 0x370
call fcn.10019520
movzx eax, al
test eax, eax
jne 0x1004916c
push 1
push 0
push 0
mov ecx, dword [ebp - 4]
add ecx, 0x370
call fcn.100237b0
push eax
push 0x101515ac
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
jmp 0x1004919a
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x3c4], 0
je 0x1004919a
push 0
push 0
mov edx, dword [ebp - 4]
push edx
push 0x100490c0
push 0
push 0
call fcn.10101171
add esp, 0x18
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x3c4], eax
mov esp, ebp
pop ebp
ret
Function at 0x10054040
Capabilities:
Create thread
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], ecx
movzx eax, byte [ebp + 0xc]
test eax, eax
jne 0x10054063
push 0
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x3e0]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp + 8]
push eax
mov ecx, 0x1019df98
call fcn.10026dd0
push 0
push 0
mov ecx, dword [ebp - 4]
push ecx
push 0x10050e20
push 0
push 0
call fcn.10101171
add esp, 0x18
mov dword [ebp - 8], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 8

Function at 0x10054b90
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
cmp dword [ebp + 8], 0
jne 0x10054ba3
xor al, al
jmp 0x10054c52
mov eax, dword [ebp + 8]
push eax
call fcn.10054c60
add esp, 4
test eax, eax
jne 0x10054bba
xor al, al
jmp 0x10054c52
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov dword [ebp - 0x40], 0
push 0x38
push 0
lea ecx, [ebp - 0x3c]
push ecx
call fcn.100e0f10
add esp, 0xc
mov dword [ebp - 0x40], 0x3c
mov dword [ebp - 0x3c], 0x40
mov dword [ebp - 0x38], 0
call fcn.10054cc0
movzx edx, al
test edx, edx
je 0x10054c03
mov dword [ebp - 0x34], 0x10152cbc
jmp 0x10054c0a
mov dword [ebp - 0x34], str.runas
mov eax, dword [ebp + 8]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 1
mov dword [ebp - 0x20], 0
lea edx, [ebp - 0x40]
push edx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x10054c3f
mov byte [ebp - 1], 1
jmp 0x10054c43
mov byte [ebp - 1], 0
mov al, byte [ebp - 1]
mov byte [ebp - 2], al
call dword [sym.imp.ole32.dll_CoUninitialize]
mov al, byte [ebp - 2]
mov esp, ebp
pop ebp
ret

Function at 0x10054cc0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x1019842c]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x114
push 0
lea eax, [ebp - 0x118]
push eax
call fcn.100e0f10
add esp, 0xc
mov dword [ebp - 0x118], 0x114
lea ecx, [ebp - 0x118]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x10054d74
mov edx, dword [ebp - 0x114]
mov dword [ebp - 0x11c], edx
mov eax, dword [ebp - 0x110]
mov dword [ebp - 0x120], eax
cmp dword [ebp - 0x11c], 5
jne 0x10054d32
cmp dword [ebp - 0x120], 1
jne 0x10054d32
mov al, 1
jmp 0x10054d76
cmp dword [ebp - 0x11c], 6
jne 0x10054d48
cmp dword [ebp - 0x120], 0
jne 0x10054d48
xor al, al
jmp 0x10054d76
cmp dword [ebp - 0x11c], 6
jne 0x10054d5e
cmp dword [ebp - 0x120], 1
jne 0x10054d5e
xor al, al
jmp 0x10054d76
cmp dword [ebp - 0x11c], 6
jne 0x10054d74
cmp dword [ebp - 0x120], 2
jne 0x10054d74
xor al, al
jmp 0x10054d76
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100e3849
mov esp, ebp
pop ebp
ret
Function at 0x1005b050
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
jne 0x1005b060
xor eax, eax
jmp 0x1005b1fd
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
mov dword [ebp + 8], eax
cmp dword [ebp + 0x10], 8
jb 0x1005b1be
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x10153858]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x10153858]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x10153858]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x10153858]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x10153858]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x10153858]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x10153858]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x10153858]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0x10]
sub eax, 8
mov dword [ebp + 0x10], eax
jmp 0x1005b069
cmp dword [ebp + 0x10], 0
je 0x1005b1f7
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x10153858]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0x10]
sub edx, 1
mov dword [ebp + 0x10], edx
jne 0x1005b1c4
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
pop ebp
ret
Function at 0x1005b200
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov eax, 4
imul ecx, eax, 0
movsx edx, byte [ebp + 0xc]
mov eax, dword [ebp + 8]
xor edx, dword [eax + ecx]
and edx, 0xff
mov ecx, 4
imul eax, ecx, 0
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + eax]
shr eax, 8
xor eax, dword [edx*4 + 0x10153858]
mov ecx, 4
imul edx, ecx, 0
mov ecx, dword [ebp + 8]
mov dword [ecx + edx], eax
mov edx, 4
shl edx, 0
mov eax, 4
imul ecx, eax, 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + ecx]
and ecx, 0xff
mov eax, dword [ebp + 8]
add ecx, dword [eax + edx]
mov edx, 4
shl edx, 0
mov eax, dword [ebp + 8]
mov dword [eax + edx], ecx
mov ecx, 4
shl ecx, 0
mov edx, dword [ebp + 8]
imul eax, dword [edx + ecx], 0x8088405
add eax, 1
mov ecx, 4
shl ecx, 0
mov edx, dword [ebp + 8]
mov dword [edx + ecx], eax
mov eax, 4
shl eax, 1
mov ecx, 4
shl ecx, 0
mov edx, dword [ebp + 8]
mov ecx, dword [edx + ecx]
shr ecx, 0x18
mov edx, dword [ebp + 8]
xor ecx, dword [edx + eax]
and ecx, 0xff
mov eax, 4
shl eax, 1
mov edx, dword [ebp + 8]
mov eax, dword [edx + eax]
shr eax, 8
xor eax, dword [ecx*4 + 0x10153858]
mov ecx, 4
shl ecx, 1
mov edx, dword [ebp + 8]
mov dword [edx + ecx], eax
pop ebp
ret

Function at 0x1005c300
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0xc]
imul eax, dword [ebp + 0x10]
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x14]
movzx edx, byte [ecx]
test edx, edx
je 0x1005c34f
push 0
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x1005c345
mov edx, dword [ebp + 0x14]
mov byte [edx + 8], 1
mov eax, dword [ebp - 0x10]
xor edx, edx
div dword [ebp + 0xc]
jmp 0x1005c3a9
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0x1c]
add ecx, dword [ebp - 4]
mov edx, dword [ebp + 0x14]
cmp ecx, dword [edx + 0x18]
jbe 0x1005c36f
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x14]
mov edx, dword [eax + 0x18]
sub edx, dword [ecx + 0x1c]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + 0x14]
mov eax, dword [ebp + 0x14]
add edx, dword [eax + 0x1c]
push edx
mov ecx, dword [ebp + 8]
push ecx
call fcn.100e0990
add esp, 0xc
mov edx, dword [ebp - 4]
mov dword [ebp - 8], edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0x1c]
add ecx, dword [ebp - 8]
mov edx, dword [ebp + 0x14]
mov dword [edx + 0x1c], ecx
mov eax, dword [ebp - 8]
xor edx, edx
div dword [ebp + 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x1005dc60
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push edi
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0
jne 0x1005dc7b
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 4], 0xffffffff
je 0x1005dc85
mov eax, 0x1000000
jmp 0x1005ddab
mov edx, dword [ebp - 0x10]
add edx, 0x244
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov eax, dword [ebp - 0x10]
add eax, 0x244
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
add ecx, 2
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x14]
mov ax, word [edx]
mov word [ebp - 0xa], ax
add dword [ebp - 0x14], 2
cmp word [ebp - 0xa], 0
jne 0x1005dcae
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 0x24]
sar ecx, 1
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x10]
mov cx, word [eax + edx*2 + 0x242]
mov word [ebp - 8], cx
movzx edx, word [ebp - 8]
cmp edx, 0x5c
je 0x1005dd1f
movzx eax, word [ebp - 8]
cmp eax, 0x2f
je 0x1005dd1f
mov ecx, dword [ebp - 0x10]
add ecx, 0x242
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
mov ax, word [edx + 2]
mov word [ebp - 0xc], ax
add dword [ebp - 0x18], 2
cmp word [ebp - 0xc], 0
jne 0x1005dcfe
mov edi, dword [ebp - 0x18]
mov ecx, dword [0x1015311c]
mov dword [edi], ecx
cmp dword [ebp + 0x10], 1
jne 0x1005dd63
push 1
push 0
push 0
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0xffffffff
je 0x1005dd47
mov dword [ebp - 0x1c], 1
jmp 0x1005dd4e
mov dword [ebp - 0x1c], 0
mov al, byte [ebp - 0x1c]
mov byte [ebp - 1], al
movzx ecx, byte [ebp - 1]
test ecx, ecx
jne 0x1005dd63
mov eax, 0x2000000
jmp 0x1005ddab
lea edx, [ebp - 0x30]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.1005bfc0
add esp, 0x10
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x1005dd89
mov eax, dword [ebp - 0x30]
jmp 0x1005ddab
mov eax, dword [ebp - 0x20]
push eax
call fcn.1005c6c0
add esp, 4
mov ecx, dword [ebp - 0x10]
mov dword [ecx], eax
mov edx, dword [ebp - 0x10]
cmp dword [edx], 0
jne 0x1005dda9
mov eax, 0x200
jmp 0x1005ddab
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x100665b0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10124d1d
mov eax, dword fs:[0]
push eax
sub esp, 0x19c
mov eax, dword [0x1019842c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x1019d608]
mov ecx, dword fs:[0x2c]
mov edx, dword [ecx + eax*4]
mov eax, dword [0x1019e99c]
cmp eax, dword [edx + 4]
jle 0x10066652
push 0x1019e99c
call fcn.100e3a00
add esp, 4
cmp dword [0x1019e99c], 0xffffffff
jne 0x10066652
mov dword [ebp - 4], 0
cmp dword [0x1019e43c], 0
jne 0x10066626
mov byte [ebp - 0x19d], 0
jmp 0x10066632
call dword [0x1019e43c]
mov byte [ebp - 0x19d], al
mov cl, byte [ebp - 0x19d]
mov byte [0x1019e9a0], cl
mov dword [ebp - 4], 0xffffffff
push 0x1019e99c
call fcn.100e39c1
add esp, 4
movzx edx, byte [0x1019e9a0]
test edx, edx
jne 0x10066747
lea eax, [ebp - 0x118]
push eax
call sym.UserAndPayClient.dll_public:_static_class_xx_DuiLib::CDuiString___cdecl_xx_DuiLib::CPaintManagerUI::GetInstancePath_void_
add esp, 4
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x94]
call sym.UserAndPayClient.dll_public:_void___thiscall_xx_DuiLib::CDuiString::constructor_void_
mov byte [ebp - 4], 2
push str.node.dll
lea ecx, [ebp - 0x19c]
push ecx
lea ecx, [ebp - 0x118]
call sym.UserAndPayClient.dll_public:_class_xx_DuiLib::CDuiString___thiscall_xx_DuiLib::CDuiString::operator_wchar_t_const__
mov dword [ebp - 0x1a4], eax
mov edx, dword [ebp - 0x1a4]
mov dword [ebp - 0x1a8], edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x1a8]
push eax
lea ecx, [ebp - 0x94]
call fcn.10076956
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x19c]
call sym.UserAndPayClient.dll_public:_void___thiscall_xx_DuiLib::CDuiString::destructor_void_
lea ecx, [ebp - 0x94]
call sym.UserAndPayClient.dll_public:_wchar_t_const____thiscall_xx_DuiLib::CDuiString::operator_wchar_t_const__void_const
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1006670d
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x94]
call sym.UserAndPayClient.dll_public:_void___thiscall_xx_DuiLib::CDuiString::destructor_void_
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x118]
call sym.UserAndPayClient.dll_public:_void___thiscall_xx_DuiLib::CDuiString::destructor_void_
jmp 0x10066747
lea ecx, [ebp - 0x94]
call sym.UserAndPayClient.dll_public:_wchar_t_const____thiscall_xx_DuiLib::CDuiString::operator_wchar_t_const__void_const
push eax
call fcn.1006ebe0
add esp, 4
call fcn.1006ebd0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x94]
call sym.UserAndPayClient.dll_public:_void___thiscall_xx_DuiLib::CDuiString::destructor_void_
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x118]
call sym.UserAndPayClient.dll_public:_void___thiscall_xx_DuiLib::CDuiString::destructor_void_
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100e3849
mov esp, ebp
pop ebp
ret