joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100a8fd3
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
movsx eax, byte [ebp + 0xc]
mov ecx, dword [edx]
xor eax, ecx
movzx eax, al
shr ecx, 8
mov eax, dword [eax*4 + 0x10136e20]
xor eax, ecx
mov ecx, dword [edx + 8]
mov dword [edx], eax
movzx eax, al
add eax, dword [edx + 4]
imul eax, eax, 0x8088405
inc eax
mov dword [edx + 4], eax
shr eax, 0x18
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x10136e20]
mov dword [edx + 8], ecx
pop ebp
ret

Function at 0x100ab29f
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
imul esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0x14]
cmp byte [edi], 0
je 0x100ab2d3
push 0
lea eax, [ebp + 0x10]
push eax
push esi
push dword [ebp + 8]
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x100ab2ce
mov byte [edi + 8], 1
mov eax, dword [ebp + 0x10]
jmp 0x100ab2fa
mov edx, dword [edi + 0x1c]
lea eax, [edx + esi]
cmp eax, dword [edi + 0x18]
jbe 0x100ab2e3
mov esi, dword [edi + 0x18]
sub esi, edx
mov ecx, dword [edi + 0x14]
push esi
add ecx, edx
push ecx
push dword [ebp + 8]
call fcn.100e01c0
add esp, 0xc
mov eax, esi
add dword [edi + 0x1c], esi
xor edx, edx
div dword [ebp + 0xc]
pop edi
pop esi
pop ebp
ret

Function at 0x100ab412
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x100ab420
xor eax, eax
pop ebp
ret
mov ecx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
not ecx
cmp esi, 8
jb 0x100ab4df
push edi
mov edi, esi
shr edi, 3
movzx eax, byte [edx]
sub esi, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x10136e20]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x10136e20]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x10136e20]
movzx eax, byte [edx + 3]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x10136e20]
movzx eax, byte [edx + 4]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x10136e20]
movzx eax, byte [edx + 5]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x10136e20]
movzx eax, byte [edx + 6]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x10136e20]
movzx eax, byte [edx + 7]
add edx, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x10136e20]
sub edi, 1
jne 0x100ab438
pop edi
test esi, esi
je 0x100ab4fb
movzx eax, byte [edx]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x10136e20]
inc edx
sub esi, 1
jne 0x100ab4e3
not ecx
mov eax, ecx
pop esi
pop ebp
ret
Function at 0x100ac991
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov cl, byte [ebp + 8]
mov eax, dword [esi + 8]
mov byte [esi + 0x13], cl
test eax, eax
je 0x100aca0a
test cl, cl
je 0x100ac9b3
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x100aca0a
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, eax
mov edx, 0x10000000
test edx, ecx
jne 0x100ac9d4
mov byte [esi + 0x10], 1
jmp 0x100ac9e4
and eax, 0x21000000
neg eax
sbb al, al
and al, 0xfe
add al, 7
mov byte [esi + 0x10], al
and ecx, 0x31000000
cmp ecx, edx
jne 0x100aca0a
push 4
push dword [esi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 8]
call dword [sym.imp.USER32.dll_GetParent]
push eax
mov ecx, esi
call sym.UserAndPayClient.dll_protected:_void___thiscall_xx_DuiLib::CShadowUI::Update_struct_HWND____
pop esi
pop ebp
ret 4
Function at 0x100b2612
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
xor edi, edi
cmp dword [esi + 0x754], edi
je 0x100b267c
cmp dword [ebp + 8], 0x100
jne 0x100b266b
cmp word [ebp + 0xc], 0xd
jne 0x100b266b
cmp byte [esi + 0x75a], 0
je 0x100b2652
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x100b266b
cmp byte [esi + 0x75b], 0
jne 0x100b266b
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x100b2667
push edi
push edi
push edi
push str.return
push esi
call sym.UserAndPayClient.dll_public:_void___thiscall_xx_DuiLib::CPaintManagerUI::SendNotify_class_xx_DuiLib::CControlUI___wchar_t_const___unsigned_int__long_int__bool_
xor eax, eax
jmp 0x100b267f
mov eax, dword [esi + 0x754]
pop edi
pop esi
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx]
pop ebp
jmp dword [eax + 0xc]
xor eax, eax
inc eax
pop edi
pop esi
pop ebp
ret 0x10
Function at 0x100bbc70
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, ecx
mov ecx, dword [edi + 0xc18]
test ecx, ecx
je 0x100bbc8a
mov eax, dword [ecx]
pop edi
pop ebp
jmp dword [eax + 0x218]
push ebx
push esi
mov esi, dword [ebp + 8]
mov ecx, edi
mov dword [edi + 0xc20], esi
call sym.UserAndPayClient.dll_private:_int___thiscall_xx_DuiLib::CVirtualListUI::GetElementCount_void_
mov ebx, eax
cmp ebx, esi
cmovg ebx, esi
xor esi, esi
test ebx, ebx
jle 0x100bbcee
mov ecx, edi
call sym.UserAndPayClient.dll_private:_class_xx_DuiLib::CControlUI____thiscall_xx_DuiLib::CVirtualListUI::CreateElement_void_
mov ecx, dword [edi + 0xc18]
add ecx, 0x608
mov dword [ebp + 8], eax
push eax
mov edx, dword [ecx]
call dword [edx + 0x10]
mov eax, dword [ebp + 8]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
test eax, eax
jne 0x100bbcde
push str.pControl__GetManager____NULL
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push esi
push dword [ebp + 8]
mov ecx, edi
call sym.UserAndPayClient.dll_private:_void___thiscall_xx_DuiLib::CVirtualListUI::FillElement_class_xx_DuiLib::CControlUI___int_
inc esi
cmp esi, ebx
jl 0x100bbca9
pop esi
pop ebx
pop edi
pop ebp
ret 4
Function at 0x100c31c8
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x1019742c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
cmp byte [esi + 0x18], 0
je 0x100c3248
cmp dword [esi + 0x10], 0
je 0x100c3248
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
lea eax, [edi + edi]
call fcn.100e3e00
mov ebx, esp
test ebx, ebx
je 0x100c3248
push edi
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esi + 0x10]
push ebx
add ecx, 0x1f8
call fcn.100760a6
mov ecx, dword [esi + 0x10]
xor eax, eax
push eax
push eax
push eax
push 0x10138808
push ecx
mov ecx, dword [ecx + 0x44]
call sym.UserAndPayClient.dll_public:_void___thiscall_xx_DuiLib::CPaintManagerUI::SendNotify_class_xx_DuiLib::CControlUI___wchar_t_const___unsigned_int__long_int__bool_
mov ecx, dword [esi + 0x10]
mov ecx, dword [ecx + 0x44]
call sym.UserAndPayClient.dll_public:_bool___thiscall_xx_DuiLib::CPaintManagerUI::IsLayered_void_
test al, al
je 0x100c3248
mov ecx, dword [esi + 0x10]
call sym.UserAndPayClient.dll_public:_void___thiscall_xx_DuiLib::CControlUI::Invalidate_void_
xor eax, eax
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100e3069
mov esp, ebp
pop ebp
ret 0x10
Function at 0x100c5f6d
Capabilities:
Hide graphical window

Disassembly:
push 0x9c
mov eax, 0x1012765f
call fcn.100e3cf0
mov esi, ecx
mov dword [ebp - 0x98], esi
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [esi + 0x10], eax
mov dword [eax + 0x650], ebx
cmp dword [esi + 4], ebx
jne 0x100c5ff6
lea eax, [ebp - 0xa8]
push eax
call fcn.100c5b2f
push ebx
sub esp, 0x10
lea esi, [ebp - 0xa8]
mov edi, esp
push ebx
movsd dword es:[edi], dword [esi]
push 0x40000000
push ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x98]
mov ecx, dword [esi + 0x10]
mov ecx, dword [ecx + 0x44]
call sym.UserAndPayClient.dll_public:_struct_HWND______thiscall_xx_DuiLib::CPaintManagerUI::GetPaintWindow_void_const
push eax
mov ecx, esi
call sym.UserAndPayClient.dll_public:_struct_HWND______thiscall_xx_DuiLib::CWindowWnd::Create_struct_HWND_____wchar_t_const___unsigned_long_int__unsigned_long_int__struct_tagRECT__struct_HMENU____
mov ecx, dword [esi + 0x10]
call sym.UserAndPayClient.dll_public:_int___thiscall_xx_DuiLib::CLabelUI::GetFont_void_const
mov ecx, dword [esi + 0x10]
push eax
mov ecx, dword [ecx + 0x44]
call sym.UserAndPayClient.dll_public:_struct_xx_DuiLib::tagTFontInfo____thiscall_xx_DuiLib::CPaintManagerUI::GetFontInfo_int_
push 1
push dword [eax]
push 0x30
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esi + 0x10]
lea edx, [ebp - 0x94]
push edx
mov eax, dword [ecx]
call dword [eax + 0x28]
mov ecx, eax
mov dword [ebp - 4], ebx
call sym.UserAndPayClient.dll_public:_bool___thiscall_xx_DuiLib::CDuiString::IsEmpty_void_const
lea ecx, [ebp - 0x94]
mov bl, al
call sym.UserAndPayClient.dll_public:_void___thiscall_xx_DuiLib::CDuiString::destructor_void_
mov edi, 0x640
test bl, bl
je 0x100c6031
mov eax, dword [esi + 0x10]
add eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov eax, dword [esi + 0x10]
add eax, edi
push 0x10
push eax
lea eax, [esi + 0x1a]
push eax
call fcn.100e01c0
mov eax, dword [esi + 0x10]
add esp, 0xc
add eax, edi
push eax
push 0
push 0x1002
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
push 4
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
mov byte [esi + 0x18], 1
call fcn.100e3cab
ret 4
Function at 0x100c649c
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x298
mov eax, dword [0x1019742c]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x294]
push eax
push 0x202
call sub.WS2_32.dll_WSAStartup
test eax, eax
je 0x100c64c8
xor eax, eax
jmp 0x100c653d
push esi
mov esi, 0xff
lea eax, [ebp - 0x104]
push esi
push 0
push eax
call fcn.100e0740
add esp, 0xc
lea eax, [ebp - 0x104]
push esi
push eax
call sub.WS2_32.dll_gethostname
lea eax, [ebp - 0x104]
push eax
call sub.WS2_32.dll_gethostbyname
pop esi
test eax, eax
je 0x100c64c4
mov eax, dword [eax + 0xc]
push 4
push dword [eax]
lea eax, [ebp - 0x298]
push eax
call fcn.100e01c0
mov ecx, dword [ebp - 0x298]
add esp, 0xc
movzx eax, cl
shl eax, 8
movzx ecx, ch
add eax, ecx
movzx ecx, byte [ebp - 0x296]
shl eax, 8
add eax, ecx
movzx ecx, byte [ebp - 0x295]
shl eax, 8
add eax, ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100e3069
mov esp, ebp
pop ebp
ret
Function at 0x100c663a
Capabilities:
Hide graphical window

Disassembly:
push 0xa4
mov eax, 0x10127cc0
call fcn.100e3cf0
mov esi, ecx
mov dword [ebp - 0x98], esi
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [esi + 0x10], eax
mov dword [eax + 0x648], ebx
cmp dword [esi + 4], ebx
jne 0x100c66ee
lea eax, [ebp - 0xa0]
mov dword [ebp - 0xa0], 8
push eax
mov dword [ebp - 0x9c], 0x800
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
test eax, eax
je 0x100c66cb
lea eax, [ebp - 0xb0]
mov ecx, esi
push eax
call fcn.100c622b
push ebx
sub esp, 0x10
lea esi, [ebp - 0xb0]
mov edi, esp
push ebx
movsd dword es:[edi], dword [esi]
push 0x40030000
push ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x98]
mov ecx, dword [esi + 0x10]
mov ecx, dword [ecx + 0x44]
call sym.UserAndPayClient.dll_public:_struct_HWND______thiscall_xx_DuiLib::CPaintManagerUI::GetPaintWindow_void_const
push eax
mov ecx, esi
call sym.UserAndPayClient.dll_public:_struct_HWND______thiscall_xx_DuiLib::CWindowWnd::Create_struct_HWND_____wchar_t_const___unsigned_long_int__unsigned_long_int__struct_tagRECT__struct_HMENU____
mov ecx, dword [esi + 0x10]
call sym.UserAndPayClient.dll_public:_int___thiscall_xx_DuiLib::CLabelUI::GetFont_void_const
mov ecx, dword [esi + 0x10]
push eax
mov ecx, dword [ecx + 0x44]
call sym.UserAndPayClient.dll_public:_struct_xx_DuiLib::tagTFontInfo____thiscall_xx_DuiLib::CPaintManagerUI::GetFontInfo_int_
push 1
push dword [eax]
push 0x30
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esi + 0x10]
lea edx, [ebp - 0x94]
push edx
mov eax, dword [ecx]
call dword [eax + 0x28]
mov ecx, eax
mov dword [ebp - 4], ebx
call sym.UserAndPayClient.dll_public:_bool___thiscall_xx_DuiLib::CDuiString::IsEmpty_void_const
lea ecx, [ebp - 0x94]
mov bl, al
call sym.UserAndPayClient.dll_public:_void___thiscall_xx_DuiLib::CDuiString::destructor_void_
test bl, bl
je 0x100c6726
call fcn.100c649c
mov ecx, dword [esi + 0x10]
mov dword [ecx + 0x640], eax
mov eax, dword [esi + 0x10]
push dword [eax + 0x640]
push 0
push 0x465
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
push 5
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
mov byte [esi + 0x18], 1
call fcn.100e3cab
ret 4

Function at 0x100cb3e3
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp sym.UserAndPayClient.dll_public_virtual:_void___thiscall_xx_DuiLib::CListUI::DoEvent_struct_xx_DuiLib::tagTEventUI__
Function at 0x100cc142
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x1019742c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x18]
push edi
and dword [ebx + 0x59c], 0
mov edi, dword [ebp + 0x1c]
mov dword [ebx + 0x24], eax
mov eax, dword [ebp + 0x14]
mov dword [ebx + 0x28], eax
mov eax, dword [ebp + 0xc]
mov dword [ebx + 0x2c], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x18], esi
mov dword [ebx + 0x598], ecx
mov dword [ebx + 0x5a0], eax
test ecx, ecx
jne 0x100cc1ad
call sym.UserAndPayClient.dll_public:_static_class_xx_DuiLib::MenuObserverImpl____cdecl_xx_DuiLib::CMenuWnd::GetGlobalContextMenuObserver_void_
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0xc]
test edi, edi
je 0x100cc1ad
call sym.UserAndPayClient.dll_public:_static_class_xx_DuiLib::MenuObserverImpl____cdecl_xx_DuiLib::CMenuWnd::GetGlobalContextMenuObserver_void_
push edi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x14]
call sym.UserAndPayClient.dll_public:_static_class_xx_DuiLib::MenuObserverImpl____cdecl_xx_DuiLib::CMenuWnd::GetGlobalContextMenuObserver_void_
mov esi, ebx
lea edx, [ebx + 0x10]
neg esi
mov ecx, eax
mov edi, dword [eax]
sbb esi, esi
and esi, edx
push esi
call dword [edi]
mov ecx, dword [ebx + 0x598]
test ecx, ecx
jne 0x100cc1d3
mov ecx, dword [ebp - 0x18]
jmp 0x100cc1da
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov ecx, eax
call sym.UserAndPayClient.dll_public:_struct_HWND______thiscall_xx_DuiLib::CPaintManagerUI::GetPaintWindow_void_const
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x18], eax
call sym.UserAndPayClient.dll_public:_void___thiscall_xx_DuiLib::CDuiRect::constructor_void_
push 0
sub esp, 0x10
mov esi, eax
mov edi, esp
mov ecx, ebx
push 0x88
movsd dword es:[edi], dword [esi]
push SysReAllocString
push 0
push dword [ebp - 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call sym.UserAndPayClient.dll_public:_struct_HWND______thiscall_xx_DuiLib::CWindowWnd::Create_struct_HWND_____wchar_t_const___unsigned_long_int__unsigned_long_int__struct_tagRECT__struct_HMENU____
mov esi, dword [ebx + 4]
mov edi, dword [sym.imp.USER32.dll_GetParent]
jmp 0x100cc21d
push esi
call edi
mov esi, eax
push esi
call edi
test eax, eax
jne 0x100cc218
push 5
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 1
push 0x86
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100e3069
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x100d2007
Capabilities:
Get keyboard layout
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x1019742c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor esi, esi
push esi
mov dword [ebp - 0x210], esi
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push eax
push esi
mov esi, dword [ebp + 0xc]
push esi
call dword [sym.imp.USER32.dll_MapVirtualKeyExW]
mov edi, eax
cmp esi, 0x21
jb 0x100d2055
cmp esi, 0x28
jbe 0x100d204f
lea eax, [esi - 0x2d]
cmp eax, 1
ja 0x100d2055
or edi, 0x100
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.100e0740
add esp, 0xc
lea eax, [ebp - 0x20c]
mov ecx, edi
or ecx, 0x1000000
cmp dword [ebp + 0x10], 0
push 0x104
cmove ecx, edi
push eax
shl ecx, 0x10
push ecx
call dword [sym.imp.USER32.dll_GetKeyNameTextW]
push 0xffffffffffffffff
lea eax, [ebp - 0x20c]
mov ecx, ebx
push eax
call sym.UserAndPayClient.dll_public:_void___thiscall_xx_DuiLib::CDuiString::constructor_wchar_t_const___int_
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100e3069
mov esp, ebp
pop ebp
ret 0xc
Function at 0x100d2353
Capabilities:
Hide graphical window

Disassembly:
push 0x98
mov eax, 0x10128274
call fcn.100e3cf0
mov ebx, ecx
mov eax, dword [ebp + 8]
mov dword [ebx + 0x10], eax
test eax, eax
je 0x100d245a
lea eax, [ebp - 0xa4]
push eax
call sym.UserAndPayClient.dll_public:_struct_tagRECT___thiscall_xx_DuiLib::CHotKeyWnd::CalPos_void_
mov ecx, dword [ebx + 0x10]
lea esi, [ebp - 0xa4]
xor eax, eax
push eax
sub esp, 0x10
mov ecx, dword [ecx + 0x44]
mov edi, esp
push eax
movsd dword es:[edi], dword [esi]
push 0x40000080
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call sym.UserAndPayClient.dll_public:_struct_HWND______thiscall_xx_DuiLib::CPaintManagerUI::GetPaintWindow_void_const
push eax
mov ecx, ebx
call sym.UserAndPayClient.dll_public:_struct_HWND______thiscall_xx_DuiLib::CWindowWnd::Create_struct_HWND_____wchar_t_const___unsigned_long_int__unsigned_long_int__struct_tagRECT__struct_HMENU____
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x100d245a
mov ecx, dword [ebx + 0x10]
call sym.UserAndPayClient.dll_public:_int___thiscall_xx_DuiLib::CLabelUI::GetFont_void_const
mov ecx, dword [ebx + 0x10]
push eax
mov ecx, dword [ecx + 0x44]
call sym.UserAndPayClient.dll_public:_struct_xx_DuiLib::tagTFontInfo____thiscall_xx_DuiLib::CPaintManagerUI::GetFontInfo_int_
push 1
push dword [eax]
push 0x30
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebx + 0x10]
movzx eax, word [ecx + 0x85e]
push eax
movzx eax, word [ecx + 0x85c]
mov ecx, ebx
push eax
call sym.UserAndPayClient.dll_public:_void___thiscall_xx_DuiLib::CHotKeyWnd::SetHotKey_unsigned_short_int__unsigned_short_int_
lea eax, [ebp - 0x94]
mov ecx, ebx
push eax
call sym.UserAndPayClient.dll_public:_class_xx_DuiLib::CDuiString___thiscall_xx_DuiLib::CHotKeyWnd::GetHotKeyName_void_
mov ecx, dword [ebx + 0x10]
and dword [ebp - 4], 0
add ecx, 0x1f8
push eax
call fcn.10076016
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call sym.UserAndPayClient.dll_public:_void___thiscall_xx_DuiLib::CDuiString::destructor_void_
mov ecx, dword [ebx + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x10c]
xor ecx, ecx
cmp al, 1
sete cl
push ecx
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_EnableWindow]
push 4
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetFocus]
mov byte [ebx + 0x18], 1
call fcn.100e3cab
ret 4
Function at 0x100d3ab9
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
test edi, edi
jne 0x100d3adc
xor ebx, ebx
push ebx
push ebx
push ebx
push 2
call fcn.100d73cd
xor al, al
jmp 0x100d3b8f
call fcn.100d3485
or dword [esi + 8], 0xffffffff
xor ebx, ebx
or dword [esi + 4], 0xffffffff
push 2
push ebx
push edi
call fcn.100facd8
push edi
call fcn.100fcb98
push ebx
push ebx
push edi
mov dword [ebp - 4], eax
call fcn.100facd8
mov eax, dword [ebp - 4]
add esp, 0x1c
test eax, eax
jg 0x100d3b18
push ebx
push ebx
push ebx
push 0xc
mov ecx, esi
jmp 0x100d3ad0
inc eax
push eax
call fcn.100e307a
push dword [ebp + 8]
mov edi, eax
push 1
push dword [ebp - 4]
push edi
mov byte [edi], bl
call fcn.100fa8d2
add esp, 0x14
cmp eax, 1
je 0x100d3b47
push edi
call fcn.100e3083
pop ecx
push ebx
push ebx
push ebx
push 2
jmp 0x100d3b14
mov edx, dword [ebp - 4]
mov eax, edi
mov ecx, edi
mov byte [edi + edx], bl
cmp byte [edi], bl
je 0x100d3b74
mov dl, byte [eax]
mov dword [ebp + 8], eax
cmp dl, 0xd
jne 0x100d3b6c
inc eax
mov byte [ecx], 0xa
cmp byte [eax], 0xa
cmovne eax, dword [ebp + 8]
jmp 0x100d3b6e
mov byte [ecx], dl
inc eax
inc ecx
cmp byte [eax], bl
jne 0x100d3b55
push dword [ebp + 0xc]
mov byte [ecx], bl
mov ecx, esi
mov eax, dword [esi]
push ebx
push edi
call dword [eax + 8]
push edi
call fcn.100e3083
cmp byte [esi + 0x2c], bl
pop ecx
sete al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x100e63d2
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret

Function at 0x1010dfaa
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1010de29

Function at 0x1011658e
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1011624e