joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10001b80
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov ebx, ecx
xor eax, eax
push edi
mov edi, dword [ebp + 8]
shl edi, 4
lea esi, [ebx + 0x14]
mov ecx, dword [ebx + 0x10]
lea esi, [esi + 4]
mov edx, dword [esi - 4]
add ecx, edi
movzx ecx, byte [ecx + eax]
xor byte [edx], cl
mov ecx, dword [ebx + 0x10]
mov edx, dword [esi - 4]
add ecx, edi
movzx ecx, byte [ecx + eax + 4]
xor byte [edx + 1], cl
mov ecx, dword [ebx + 0x10]
mov edx, dword [esi - 4]
add ecx, edi
movzx ecx, byte [ecx + eax + 8]
xor byte [edx + 2], cl
mov ecx, dword [ebx + 0x10]
mov edx, dword [esi - 4]
add ecx, edi
movzx ecx, byte [ecx + eax + 0xc]
inc eax
xor byte [edx + 3], cl
cmp eax, 4
jl 0x10001b93
pop edi
pop esi
pop ebx
pop ebp
ret 4

Function at 0x100024c0
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov esi, ecx
mov dword [ebp - 0x10], edx
test esi, esi
je 0x10002605
test edx, edx
js 0x10002605
mov eax, dword [ebp + 8]
test eax, eax
je 0x100025ec
push ebx
mov ebx, edx
mov dword [ebp - 8], ebx
test edx, edx
jle 0x100025e6
push edi
cmp ebx, 3
jl 0x1000256b
mov dl, byte [esi + 1]
mov cl, byte [esi]
mov bl, byte [esi + 2]
add esi, 3
mov dword [ebp - 0xc], esi
movzx esi, cl
mov ecx, esi
movzx edi, dl
shr ecx, 2
shl esi, 4
movsx ecx, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov word [eax], cx
mov ecx, edi
shr ecx, 4
or ecx, esi
movzx esi, bl
mov ebx, dword [ebp - 8]
and ecx, 0x3f
mov edx, esi
shr edx, 6
movsx ecx, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov word [eax + 2], cx
lea ecx, [edi*4]
or edx, ecx
and edx, 0x3f
and esi, 0x3f
movsx ecx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov word [eax + 4], cx
lea ecx, [eax + 6]
movsx ax, byte [esi + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov esi, dword [ebp - 0xc]
jmp 0x100025ce
mov dl, byte [esi]
inc esi
cmp ebx, 2
jne 0x1000257b
mov cl, byte [esi]
inc esi
mov byte [ebp - 1], cl
jmp 0x1000257f
mov byte [ebp - 1], 0
movzx edi, byte [ebp - 1]
movzx edx, dl
mov ecx, edx
shl edx, 4
shr ecx, 2
movsx ecx, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov word [eax], cx
mov ecx, edi
shr ecx, 4
or ecx, edx
and ecx, 0x3f
movsx ecx, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov word [eax + 2], cx
cmp ebx, 1
jne 0x100025b7
lea ecx, [ebx + 0x3c]
jmp 0x100025c2
and edi, 0xf
movsx ecx, byte [edi*4 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov word [eax + 4], cx
lea ecx, [eax + 6]
mov eax, 0x3d
sub ebx, 3
mov word [ecx], ax
mov dword [ebp - 8], ebx
lea eax, [ecx + 2]
test ebx, ebx
jg 0x100024f6
mov edx, dword [ebp - 0x10]
pop edi
xor ecx, ecx
mov word [eax], cx
pop ebx
lea ecx, [edx + 2]
mov eax, 0x55555556
imul ecx
pop esi
mov eax, edx
shr eax, 0x1f
add eax, edx
shl eax, 2
mov esp, ebp
pop ebp
ret
or eax, 0xffffffff
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10018a30
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x10018a49
pop edi
pop ebx
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x10018a86
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 8]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x10018a82
nop word [eax + eax]
cmp esi, edx
jae 0x10018a86
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x10018a70
cmp esi, edx
jb 0x10018a8d
pop esi
pop edi
xor eax, eax
pop ebx
pop ebp
ret
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1001abc0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 0x10]
cmp ebx, 0x2e0
jne 0x1001ac6a
cmp dword [0x1017b3ac], 0xffffffff
je 0x1001ac0d
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
sub ecx, dword [0x1017b3ac]
cmp ecx, 0x64
jae 0x1001ac13
push edi
push dword [ebp + 0xc]
mov ecx, esi
push 0x2e0
call sym.UserAndPayClient.dll_public_virtual:_long_int___thiscall_xx_DuiLib::WindowImplBase::HandleMessage_unsigned_int__unsigned_int__long_int_
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x1017b3ac], eax
lea ecx, [esi + 0x30]
mov eax, dword [ebp + 0xc]
movzx eax, ax
push eax
call sym.UserAndPayClient.dll_public:_void___thiscall_xx_DuiLib::CPaintManagerUI::SetDPI_int_
lea ecx, [esi + 0x30]
call sym.UserAndPayClient.dll_public:_void___thiscall_xx_DuiLib::CPaintManagerUI::ResetDPIAssets_void_
mov ecx, dword [edi + 4]
mov eax, dword [edi + 0xc]
mov edx, dword [edi]
sub eax, ecx
push 0x14
push eax
mov eax, dword [edi + 8]
sub eax, edx
push eax
push ecx
push edx
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
lea ecx, [esi + 0x30]
call sym.UserAndPayClient.dll_public:_class_xx_DuiLib::CControlUI____thiscall_xx_DuiLib::CPaintManagerUI::GetRoot_void_const
test eax, eax
je 0x1001ac6a
lea ecx, [esi + 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_
push edi
push dword [ebp + 0xc]
mov ecx, esi
push ebx
call sym.UserAndPayClient.dll_public_virtual:_long_int___thiscall_xx_DuiLib::WindowImplBase::HandleMessage_unsigned_int__unsigned_int__long_int_
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x1001aeb0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10100010
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x1017542c]
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 ebx, dword [ebp + 8]
lea edx, [ebp - 0x94]
push edx
mov ecx, dword [ebx + 0x108]
mov eax, dword [ecx]
call dword [eax + 4]
push str.close_cel
lea ecx, [ebp - 0x94]
mov dword [ebp - 4], 0
call sym.UserAndPayClient.dll_public:_bool___thiscall_xx_DuiLib::CDuiString::operator_wchar_t_const__const
test al, al
je 0x1001af17
push 0
jmp 0x1001aff2
push str.close_ok
lea ecx, [ebp - 0x94]
call sym.UserAndPayClient.dll_public:_bool___thiscall_xx_DuiLib::CDuiString::operator_wchar_t_const__const
test al, al
je 0x1001aff9
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [edi + 0x6a4]
mov eax, 1
cmp dword [ecx + 0x78], 0
jne 0x1001af52
push 0
call sym.UserAndPayClient.dll_public:_int___thiscall_Talk2Svr::CTalk2Svr::ShowLogonWnd_bool_
mov ecx, dword [edi + 0x6a4]
cmp byte [ecx + 0x2f9], 0
jne 0x1001afdd
cmp eax, 1
jne 0x1001afdd
push 0x10a0
call fcn.100c1e39
add esp, 4
mov dword [ebp - 0x98], eax
push 0
push 0
sub esp, 8
mov byte [ebp - 4], 1
mov ecx, eax
push dword [edi + 0x6a4]
call fcn.10008770
push 0
push SysReAllocString
push SysReAllocString
push SysReAllocString
push SysReAllocString
push 0x80
mov esi, eax
mov byte [ebp - 4], 0
mov eax, dword [edi + 0x6a4]
mov ecx, esi
push 0x90000000
push str.audiopaywnd
push dword [eax + 0x2e4]
call sym.UserAndPayClient.dll_public:_struct_HWND______thiscall_xx_DuiLib::CWindowWnd::Create_struct_HWND_____wchar_t_const___unsigned_long_int__unsigned_long_int__int__int__int__int__struct_HMENU____
mov ecx, esi
call sym.UserAndPayClient.dll_public:_void___thiscall_xx_DuiLib::CWindowWnd::CenterWindow_void_
mov ecx, esi
call sym.UserAndPayClient.dll_public:_unsigned_int___thiscall_xx_DuiLib::CWindowWnd::ShowModal_void_
mov eax, dword [edi + 0x6a4]
cmp byte [eax + 0x2f9], 0
je 0x1001aff0
push 1
jmp 0x1001aff2
push 0x64
mov ecx, edi
call sym.UserAndPayClient.dll_public:_void___thiscall_xx_DuiLib::CWindowWnd::Close_unsigned_int_
push ebx
mov ecx, edi
call sym.UserAndPayClient.dll_protected_virtual:_void___thiscall_xx_DuiLib::WindowImplBase::OnClick_struct_xx_DuiLib::tagTNotifyUI__
lea ecx, [ebp - 0x94]
call sym.UserAndPayClient.dll_public:_void___thiscall_xx_DuiLib::CDuiString::destructor_void_
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.100c1de9
mov esp, ebp
pop ebp
ret 4
Function at 0x1001b430
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 0x10]
cmp ebx, 0x2e0
jne 0x1001b4da
cmp dword [0x1017b3b0], 0xffffffff
je 0x1001b47d
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
sub ecx, dword [0x1017b3b0]
cmp ecx, 0x64
jae 0x1001b483
push edi
push dword [ebp + 0xc]
mov ecx, esi
push 0x2e0
call sym.UserAndPayClient.dll_public_virtual:_long_int___thiscall_xx_DuiLib::WindowImplBase::HandleMessage_unsigned_int__unsigned_int__long_int_
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x1017b3b0], eax
lea ecx, [esi + 0x30]
mov eax, dword [ebp + 0xc]
movzx eax, ax
push eax
call sym.UserAndPayClient.dll_public:_void___thiscall_xx_DuiLib::CPaintManagerUI::SetDPI_int_
lea ecx, [esi + 0x30]
call sym.UserAndPayClient.dll_public:_void___thiscall_xx_DuiLib::CPaintManagerUI::ResetDPIAssets_void_
mov ecx, dword [edi + 4]
mov eax, dword [edi + 0xc]
mov edx, dword [edi]
sub eax, ecx
push 0x14
push eax
mov eax, dword [edi + 8]
sub eax, edx
push eax
push ecx
push edx
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
lea ecx, [esi + 0x30]
call sym.UserAndPayClient.dll_public:_class_xx_DuiLib::CControlUI____thiscall_xx_DuiLib::CPaintManagerUI::GetRoot_void_const
test eax, eax
je 0x1001b4da
lea ecx, [esi + 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_
push edi
push dword [ebp + 0xc]
mov ecx, esi
push ebx
call sym.UserAndPayClient.dll_public_virtual:_long_int___thiscall_xx_DuiLib::WindowImplBase::HandleMessage_unsigned_int__unsigned_int__long_int_
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x1001f4e0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x1017542c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
xor edx, edx
push edi
mov edi, dword [ebp + 8]
lea eax, [esi + 0x16]
nop dword [eax]
movzx ecx, byte [eax - 2]
lea eax, [eax + 4]
mov byte [ebp + edx - 0xc], cl
movzx ecx, byte [eax - 5]
mov byte [ebp + edx - 0xb], cl
movzx ecx, byte [eax - 4]
mov byte [ebp + edx - 0xa], cl
movzx ecx, byte [eax - 3]
mov byte [ebp + edx - 9], cl
add edx, 4
cmp edx, 8
jb 0x1001f500
mov edx, dword [esi + 0x14]
lea ebx, [esi + 0x5c]
shr edx, 3
mov ecx, 0x38
and edx, 0x3f
mov eax, 0x78
sub ecx, edx
sub eax, edx
cmp edx, 0x38
cmovb eax, ecx
mov ecx, esi
push eax
push ebx
call fcn.1001f410
push 8
lea eax, [ebp - 0xc]
mov ecx, esi
push eax
call fcn.1001f410
lea ecx, [edi + 1]
mov edi, 4
lea edx, [esi + 6]
nop dword [eax]
movzx eax, byte [edx - 2]
lea edx, [edx + 4]
mov byte [ecx - 1], al
lea ecx, [ecx + 4]
movzx eax, byte [edx - 5]
mov byte [ecx - 4], al
movzx eax, byte [edx - 4]
mov byte [ecx - 3], al
movzx eax, byte [edx - 3]
mov byte [ecx - 2], al
sub edi, 1
jne 0x1001f570
xor eax, eax
mov edi, esi
xorps xmm0, xmm0
mov ecx, 0x27
rep stosd dword es:[edi], eax
mov ecx, dword [ebp - 4]
mov dword [esi + 0x18], eax
xor ecx, ebp
mov dword [esi + 0x14], eax
mov dword [esi + 4], 0x67452301
mov dword [esi + 8], 0xefcdab89
mov dword [esi + 0xc], 0x98badcfe
mov dword [esi + 0x10], 0x10325476
movups xmmword [ebx], xmm0
pop edi
movups xmmword [ebx + 0x10], xmm0
pop esi
movups xmmword [ebx + 0x20], xmm0
movups xmmword [ebx + 0x30], xmm0
mov byte [ebx], 0x80
pop ebx
call fcn.100c1de9
mov esp, ebp
pop ebp
ret 4
Function at 0x1001ff10
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10100703
mov eax, dword fs:[0]
push eax
sub esp, 0x4b8
mov eax, dword [0x1017542c]
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, ecx
mov dword [ebp - 0x4c0], esi
mov dword [ebp - 0x4c4], 0
push 0
push 0x80
push 3
push 0
mov dword [ebp - 4], 0
lea eax, [ebp + 8]
cmp dword [ebp + 0x1c], 0x10
push 1
cmovae eax, dword [ebp + 8]
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x1001ffb3
push 1
mov dword [esi + 0x14], 0xf
mov ecx, esi
mov dword [esi + 0x10], 0
push 0x10127298
mov byte [esi], 0
call fcn.10019180
mov ecx, dword [ebp + 0x1c]
cmp ecx, 0x10
jb 0x100200b9
inc ecx
push ecx
jmp 0x100200ae
xorps xmm0, xmm0
mov dword [ebp - method.MD5_CTX.virtual_0], vtable.MD5_CTX.0
movups xmmword [ebp - 0x460], xmm0
mov dword [ebp - 0x4a4], 0
mov dword [ebp - 0x4a8], 0
mov dword [ebp - 0x4b8], 0x67452301
mov dword [ebp - 0x4b4], 0xefcdab89
mov dword [ebp - 0x4b0], 0x98badcfe
mov dword [ebp - 0x4ac], 0x10325476
movups xmmword [ebp - 0x450], xmm0
mov byte [ebp - 0x460], 0x80
movups xmmword [ebp - 0x440], xmm0
movups xmmword [ebp - 0x430], xmm0
push 0
lea eax, [ebp - 0x4c0]
mov byte [ebp - 4], 1
push eax
push 0x400
lea eax, [ebp - 0x420]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10020080
mov eax, dword [ebp - 0x4c0]
test eax, eax
je 0x10020080
push eax
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x4bc]
call fcn.1001f410
push 0
lea eax, [ebp - 0x4c0]
push eax
push 0x400
lea eax, [ebp - 0x420]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x10020043
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x4bc]
call fcn.1001f4e0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
lea edx, [ebp - 0x20]
mov ecx, esi
call fcn.1001fd00
mov eax, dword [ebp + 0x1c]
add esp, 4
cmp eax, 0x10
jb 0x100200b9
inc eax
push eax
push dword [ebp + 8]
lea ecx, [ebp + 8]
call fcn.10019fa0
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.100c1de9
mov esp, ebp
pop ebp
ret
Function at 0x10023aa0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10100b58
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x1017542c]
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
cmp dword [ebp + 8], 0x4d2
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x2c], ebx
mov ebx, dword [ebp + 0xc]
jne 0x10023b54
mov esi, dword [sym.imp.USER32.dll_KillTimer]
push 0x4d2
push dword [edi + 4]
call esi
push 0x464
push dword [edi + 4]
call esi
cmp ebx, 1
jne 0x10023b2f
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
push 0
mov ecx, edi
mov dword [ebp - 4], 0
call sym.UserAndPayClient.dll_public:_void___thiscall_xx_DuiLib::CWindowWnd::Close_unsigned_int_
mov esi, dword [ebp + 8]
mov dword [ebp - 4], 0xffffffff
jmp 0x10023c02
mov ecx, edi
cmp ebx, 2
jne 0x10023b45
push 1
call sym.UserAndPayClient.dll_public:_void___thiscall_xx_DuiLib::CWindowWnd::Close_unsigned_int_
mov esi, dword [ebp + 8]
jmp 0x10023c02
push 0xffffffffffffffff
call sym.UserAndPayClient.dll_public:_void___thiscall_xx_DuiLib::CWindowWnd::Close_unsigned_int_
mov esi, dword [ebp + 8]
jmp 0x10023c02
mov esi, dword [ebp + 8]
cmp esi, 0x461
jne 0x10023b70
mov ecx, dword [edi + 0x9c0]
push ebx
call sym.UserAndPayClient.dll_public:_void___thiscall_xx_DuiLib::CProgressUI::SetValue_int_
jmp 0x10023c02
cmp esi, 0x2e0
jne 0x10023c02
cmp dword [0x1017b940], 0xffffffff
je 0x10023ba2
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, eax
sub edx, dword [0x1017b940]
cmp edx, 0x64
jae 0x10023ba8
mov eax, dword [ebp - 0x2c]
push eax
push dword [ebp + 0xc]
push esi
jmp 0x10023c07
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x1017b940], eax
lea ecx, [edi + 0x30]
movzx eax, bx
push eax
call sym.UserAndPayClient.dll_public:_void___thiscall_xx_DuiLib::CPaintManagerUI::SetDPI_int_
lea ecx, [edi + 0x30]
call sym.UserAndPayClient.dll_public:_void___thiscall_xx_DuiLib::CPaintManagerUI::ResetDPIAssets_void_
mov eax, dword [ebp - 0x2c]
push 0x14
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov eax, dword [eax + 0xc]
sub eax, ecx
push eax
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 8]
sub eax, edx
push eax
push ecx
push edx
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
lea ecx, [edi + 0x30]
call sym.UserAndPayClient.dll_public:_class_xx_DuiLib::CControlUI____thiscall_xx_DuiLib::CPaintManagerUI::GetRoot_void_const
test eax, eax
je 0x10023c02
lea ecx, [edi + 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_
push dword [ebp - 0x2c]
push ebx
push esi
mov ecx, edi
call sym.UserAndPayClient.dll_public_virtual:_long_int___thiscall_xx_DuiLib::WindowImplBase::HandleMessage_unsigned_int__unsigned_int__long_int_
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.100c1de9
mov esp, ebp
pop ebp
ret 0xc
Function at 0x100242e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10100bee
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x1017542c]
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 ebx, ecx
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], 0
cmp dword [ebp + 0x20], 8
lea eax, [ebp + 0xc]
push ecx
cmovae eax, dword [ebp + 0xc]
push 0
push 0
push 0
push eax
push dword [ebx]
mov dword [ebp - 0x30], 0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10024445
mov eax, dword [ebp - 0x30]
add eax, 2
push eax
call fcn.100d945e
mov ecx, dword [ebp - 0x30]
mov edi, eax
add ecx, 2
push ecx
push 0
push edi
call fcn.100bf4c0
add esp, 0x10
lea eax, [ebp - 0x30]
cmp dword [ebp + 0x20], 8
lea ecx, [ebp + 0xc]
cmovae ecx, dword [ebp + 0xc]
push eax
push edi
push 0
push 0
push ecx
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1002443c
cmp word [edi], ax
jne 0x10024392
xor ecx, ecx
jmp 0x100243a6
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10024397
sub ecx, edx
sar ecx, 1
push ecx
push edi
mov ecx, esi
call fcn.10019e20
mov eax, dword [ebp - 0x30]
xor ecx, ecx
inc eax
mov word [ebp - 0x2c], cx
shr eax, 1
lea ecx, [ebp - 0x2c]
push eax
push edi
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
call fcn.10019e20
lea eax, [ebp - 0x2c]
cmp esi, eax
je 0x10024417
mov eax, dword [esi + 0x14]
cmp eax, 8
jb 0x100243ed
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.1001a0c0
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x10024405
mov eax, dword [esi]
jmp 0x10024407
mov eax, esi
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x2c]
push eax
mov ecx, esi
call fcn.10017790
mov eax, dword [ebp - 0x18]
cmp eax, 8
jb 0x1002442c
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.1001a0c0
push edi
call fcn.100d9469
add esp, 4
mov esi, 1
jmp 0x10024447
push edi
call fcn.100d9469
add esp, 4
xor esi, esi
mov ecx, dword [ebp + 0x20]
cmp ecx, 8
jb 0x1002445c
inc ecx
push ecx
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.1001a0c0
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 - 0x14]
xor ecx, ebp
call fcn.100c1de9
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x100248a0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
cmp edi, 0x2e0
je 0x100248dc
cmp edi, 0x4d2
jne 0x1002496c
push 1
call sym.UserAndPayClient.dll_public:_void___thiscall_xx_DuiLib::CWindowWnd::Close_unsigned_int_
push ebx
push dword [ebp + 0xc]
mov ecx, esi
push edi
call sym.UserAndPayClient.dll_public_virtual:_long_int___thiscall_xx_DuiLib::WindowImplBase::HandleMessage_unsigned_int__unsigned_int__long_int_
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
cmp dword [0x1017b944], 0xffffffff
je 0x1002490f
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
sub ecx, dword [0x1017b944]
cmp ecx, 0x64
jae 0x10024915
push ebx
push dword [ebp + 0xc]
mov ecx, esi
push 0x2e0
call sym.UserAndPayClient.dll_public_virtual:_long_int___thiscall_xx_DuiLib::WindowImplBase::HandleMessage_unsigned_int__unsigned_int__long_int_
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x1017b944], eax
lea ecx, [esi + 0x30]
mov eax, dword [ebp + 0xc]
movzx eax, ax
push eax
call sym.UserAndPayClient.dll_public:_void___thiscall_xx_DuiLib::CPaintManagerUI::SetDPI_int_
lea ecx, [esi + 0x30]
call sym.UserAndPayClient.dll_public:_void___thiscall_xx_DuiLib::CPaintManagerUI::ResetDPIAssets_void_
mov ecx, dword [ebx + 4]
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx]
sub eax, ecx
push 0x14
push eax
mov eax, dword [ebx + 8]
sub eax, edx
push eax
push ecx
push edx
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
lea ecx, [esi + 0x30]
call sym.UserAndPayClient.dll_public:_class_xx_DuiLib::CControlUI____thiscall_xx_DuiLib::CPaintManagerUI::GetRoot_void_const
test eax, eax
je 0x1002496c
lea ecx, [esi + 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_
push ebx
push dword [ebp + 0xc]
mov ecx, esi
push edi
call sym.UserAndPayClient.dll_public_virtual:_long_int___thiscall_xx_DuiLib::WindowImplBase::HandleMessage_unsigned_int__unsigned_int__long_int_
pop edi
pop esi
pop ebx
pop ebp
ret 0xc