joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1008ec20
Capabilities:
Create shortcut via ishelllink
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x10], ecx
lea eax, [ebp - 4]
push eax
push 0x1029f9c0
push 1
push 0
push 0x1029fa10
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jge 0x1008ec85
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
lea ecx, [ebp - 4]
push ecx
push 0x1029f9c0
push 1
push 0
push 0x1029fa10
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jge 0x1008ec85
push str.create_shortcut_interface_failed.
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor eax, eax
jmp 0x1008ed86
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ecx + 0x50]
call eax
cmp dword [ebp + 0x10], 0
je 0x1008ecb2
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [eax + 0x1c]
call edx
mov dword [ebp - 8], eax
cmp dword [ebp + 0x14], 0
je 0x1008eccd
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [edx + 0x24]
call ecx
mov dword [ebp - 8], eax
cmp dword [ebp + 0x18], 0
je 0x1008ece8
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ecx + 0x2c]
call eax
mov dword [ebp - 8], eax
cmp dword [ebp + 0x1c], 0
je 0x1008ed05
push 0
mov ecx, dword [ebp + 0x1c]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [eax + 0x44]
call edx
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 0x1029f9e0
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [edx]
call ecx
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jge 0x1008ed28
xor eax, eax
jmp 0x1008ed86
push 2
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ecx + 0x18]
call eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jge 0x1008ed49
xor eax, eax
jmp 0x1008ed86
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx]
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [edx + 8]
call ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [eax + 8]
call edx
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
mov eax, dword [ebp + 0xc]
push eax
call fcn.10090570
push reloc.WS2_32.dll_bind
mov ecx, dword [ebp - 0x10]
call fcn.1008efb0
mov eax, 1
mov esp, ebp
pop ebp
ret 0x18
Function at 0x1008f5a0
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 8], 0
mov ecx, dword [ebp - 0x10]
call fcn.1008df30
test eax, eax
je 0x1008f617
call dword [sym.imp.KERNEL32.dll_WTSGetActiveConsoleSessionId]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.WTSAPI32.dll_WTSQueryUserToken]
test eax, eax
jne 0x1008f606
push str.EXPLORER.EXE
lea edx, [ebp - 8]
push edx
mov ecx, dword [ebp - 0x10]
call fcn.1008f720
test eax, eax
jne 0x1008f606
jmp 0x1008f6dd
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_ImpersonateLoggedOnUser]
mov dword [ebp - 0x14], 1
push 0x208
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], 0x104
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
jne 0x1008f6aa
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x1008f657
jmp 0x1008f6dd
mov eax, dword [ebp - 4]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov ecx, dword [ebp - 0xc]
add ecx, 2
push ecx
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 4], eax
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
jne 0x1008f6aa
mov ecx, dword [ebp - 4]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x1008f6dd
push 0x10000000
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x10]
call fcn.1008f910
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 4]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
xor edx, edx
jne 0x1008f5c5
cmp dword [ebp - 4], 0
je 0x1008f6f6
mov eax, dword [ebp - 4]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp dword [ebp - 8], 0
je 0x1008f706
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x14], 0
je 0x1008f712
call dword [sym.imp.ADVAPI32.dll_RevertToSelf]
mov eax, dword [ebp - 0x18]
mov esp, ebp
pop ebp
ret 4
Function at 0x1008f720
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x254
mov eax, dword [0x103680b4]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x254], ecx
cmp dword [ebp + 0xc], 0
jne 0x1008f746
xor eax, eax
jmp 0x1008f8ed
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x240], 0
push 0x22c
push 0
lea eax, [ebp - 0x230]
push eax
call fcn.1026c0f0
add esp, 0xc
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x234], eax
cmp dword [ebp - 0x234], 0xffffffff
jne 0x1008f790
xor eax, eax
jmp 0x1008f8ed
mov dword [ebp - 0x230], 0x22c
lea ecx, [ebp - 0x230]
push ecx
mov edx, dword [ebp - 0x234]
push edx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x1008f8d0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x23c], eax
lea ecx, [ebp - 0x20c]
push ecx
call fcn.1027b32e
add esp, 4
mov dword [ebp - 0x238], eax
mov edx, dword [ebp - 0x238]
mov ax, word [edx]
mov word [ebp - 0x242], ax
mov ecx, dword [ebp - 0x23c]
cmp ax, word [ecx]
jne 0x1008f83a
cmp word [ebp - 0x242], 0
je 0x1008f82e
mov edx, dword [ebp - 0x238]
mov ax, word [edx + 2]
mov word [ebp - 0x244], ax
mov ecx, dword [ebp - 0x23c]
cmp ax, word [ecx + 2]
jne 0x1008f83a
add dword [ebp - 0x238], 4
add dword [ebp - 0x23c], 4
cmp word [ebp - 0x244], 0
jne 0x1008f7d4
mov dword [ebp - 0x248], 0
jmp 0x1008f845
sbb edx, edx
or edx, 1
mov dword [ebp - 0x248], edx
mov eax, dword [ebp - 0x248]
mov dword [ebp - 0x250], eax
cmp dword [ebp - 0x250], 0
jne 0x1008f8b2
mov ecx, dword [ebp - 0x228]
push ecx
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x24c], eax
mov edx, dword [ebp + 8]
push edx
push 0xf01ff
mov eax, dword [ebp - 0x24c]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov dword [ebp - 0x240], eax
mov ecx, dword [ebp - 0x24c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x234]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x240]
jmp 0x1008f8ed
lea eax, [ebp - 0x230]
push eax
mov ecx, dword [ebp - 0x234]
push ecx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x1008f7b6
jmp 0x1008f8da
mov dword [ebp - 0x240], 0
mov edx, dword [ebp - 0x234]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x240]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100ff9df
mov esp, ebp
pop ebp
ret 8
Function at 0x10090070
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1029b119
mov eax, dword fs:[0]
push eax
sub esp, 0x288
mov eax, dword [0x103680b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x26c], ecx
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x264]
call fcn.10089970
mov byte [ebp - 4], 1
mov dword [ebp - 0x270], 1
lea eax, [ebp + 8]
push eax
mov ecx, dword [ebp - 0x26c]
call fcn.1008e880
push 0x10323e0c
lea ecx, [ebp + 8]
push ecx
lea edx, [ebp - 0x27c]
push edx
call fcn.10089630
add esp, 0xc
mov dword [ebp - 0x274], eax
mov eax, dword [ebp - 0x274]
mov dword [ebp - 0x278], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x278]
push ecx
lea ecx, [ebp - 0x264]
call fcn.10089890
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x27c]
call fcn.100898b0
lea edx, [ebp - 0x260]
push edx
lea ecx, [ebp - 0x264]
call fcn.10049320
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x268], eax
cmp dword [ebp - 0x268], 0xffffffff
jne 0x1009017a
mov dword [ebp - 0x280], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x264]
call fcn.100898b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.100898b0
mov eax, dword [ebp - 0x280]
jmp 0x10090297
mov eax, 1
test eax, eax
je 0x1009025a
mov ecx, 2
imul edx, ecx, 0
movzx eax, word [ebp + edx - 0x234]
cmp eax, 0x2e
je 0x1009021a
mov ecx, dword [ebp - 0x260]
and ecx, 0x10
je 0x1009021a
lea edx, [ebp - 0x234]
push edx
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x28c]
push ecx
call fcn.10089630
add esp, 0xc
mov dword [ebp - 0x284], eax
mov edx, dword [ebp - 0x284]
mov dword [ebp - 0x288], edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x288]
push eax
lea ecx, [ebp - 0x264]
call fcn.10089890
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28c]
call fcn.100898b0
push ecx
mov ecx, esp
mov dword [ebp - 0x294], esp
lea edx, [ebp - 0x264]
push edx
call fcn.10089950
mov ecx, dword [ebp - 0x26c]
call fcn.10090070
jmp 0x1009023b
mov eax, 2
imul ecx, eax, 0
movzx edx, word [ebp + ecx - 0x234]
cmp edx, 0x2e
je 0x1009023b
mov dword [ebp - 0x270], 0
jmp 0x1009025a
lea eax, [ebp - 0x260]
push eax
mov ecx, dword [ebp - 0x268]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x10090255
jmp 0x1009025a
jmp 0x1009017a
mov edx, dword [ebp - 0x268]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x270]
mov dword [ebp - 0x290], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x264]
call fcn.100898b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.100898b0
mov eax, dword [ebp - 0x290]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100ff9df
mov esp, ebp
pop ebp
ret 4
Function at 0x100902c0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x103680b4]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x114
push 0
lea eax, [ebp - 0x118]
push eax
call fcn.1026c0f0
add esp, 0xc
mov dword [ebp - 0x118], 0x114
lea ecx, [ebp - 0x118]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x114], 6
jb 0x10090315
mov dword [ebp - 0x11c], str.D:_A__GA___WD__A__GA___AN_S:_ML__NW___ME_
jmp 0x1009031f
mov dword [ebp - 0x11c], str.D:_A__GA___WD__A__GA___AN_
push 0
lea edx, [ebp - 0x120]
push edx
push 1
mov eax, dword [ebp - 0x11c]
push eax
call dword [sym.imp.ADVAPI32.dll_ConvertStringSecurityDescriptorToSecurityDescriptorW]
test eax, eax
jne 0x1009033f
xor eax, eax
jmp 0x10090345
mov eax, dword [ebp - 0x120]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100ff9df
mov esp, ebp
pop ebp
ret
Function at 0x100919e0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
and byte [esi + 0xc], 9
mov al, byte [esi + 0xc]
test al, 1
je 0x10091a1d
test al, 8
jne 0x10091a1d
push 0xfffffffffffffff0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x10000000
je 0x10091a1d
mov cl, byte [esi + 0xc]
or cl, 4
mov byte [esi + 0xc], cl
test eax, 0x21000000
jne 0x10091a1d
or cl, 2
mov byte [esi + 0xc], cl
test byte [esi + 0xc], 2
je 0x10091a3a
push 8
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebp + 8]
mov ecx, esi
call sym.nsDui.dll_protected:_void___thiscall_CWndShadow::Update_struct_HWND____
jmp 0x10091a45
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
pop ebp
ret 4

Function at 0x100927df
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
xor esi, esi
push 0x11
call edi
push 8
pop ecx
test ax, ax
push 2
cmovs esi, ecx
call edi
test ax, ax
jns 0x10092802
or esi, 2
push 1
call edi
test ax, ax
jns 0x1009280e
or esi, 1
push 0x10
call edi
test ax, ax
jns 0x1009281a
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x10092826
or esi, 0x20
pop edi
mov eax, esi
pop esi
ret

Function at 0x1009300e
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x103680b4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x210]
push 0x20a
push 0
push eax
call fcn.1026c0f0
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0xffffffffffffffff
lea eax, [ebp - 0x210]
mov ecx, esi
push eax
call sym.nsDui.dll_public:_void___thiscall_DuiLib::CDuiString::constructor_wchar_t_const___int_
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.100ff9df
leave
ret
Function at 0x100938e8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov edi, dword [ebp + 8]
cmp dword [esi + 0x2d4], ebx
jle 0x10093931
mov eax, dword [esi + 0x2d0]
lea edx, [esp + 0x13]
mov byte [esp + 0x13], 0
push edx
push dword [ebp + 0x10]
mov ecx, dword [eax + ebx*4]
push dword [ebp + 0xc]
push edi
mov eax, dword [ecx]
call dword [eax]
cmp byte [esp + 0x13], 0
jne 0x100939a2
inc ebx
cmp ebx, dword [esi + 0x2d4]
jl 0x10093903
sub edi, 0x100
je 0x10093a1f
sub edi, 4
je 0x100939a6
dec edi
sub edi, 1
jne 0x10093a14
cmp dword [esi + 0xe0], edi
je 0x10093a14
push dword [ebp + 0xc]
and dword [esp + 0x18], edi
call fcn.1027b703
pop ecx
mov ecx, dword [esi + 0xe0]
lea edx, [esp + 0x14]
push reloc.WS2_32.dll_select
mov word [esp + 0x18], ax
push edx
mov eax, dword [ecx]
push sym.nsDui.dll_private:_static_class_DuiLib::CControlUI____stdcall_DuiLib::CPaintManagerUI::__FindControlFromShortcut_class_DuiLib::CControlUI___void__
call dword [eax + 0x110]
mov esi, eax
test esi, esi
je 0x10093a14
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x104]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x20]
mov al, 1
jmp 0x10093a16
mov eax, dword [esi + 0xe4]
test eax, eax
je 0x10093a14
and dword [esp + 0x20], 0
xorps xmm0, xmm0
mov dword [esp + 0x1c], eax
xor ecx, ecx
mov eax, dword [ebp + 0xc]
mov word [esp + 0x2c], ax
mov eax, dword [esi + 0xf4]
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0xf8]
movlpd qword [esp + 0x2e], xmm0
mov word [esp + 0x36], cx
mov dword [esp + 0x18], 6
mov dword [esp + 0x28], eax
call fcn.100927df
mov word [esp + 0x2e], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0xe4]
lea edx, [esp + 0x18]
mov dword [esp + 0x20], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x11c]
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp dword [ebp + 0xc], 9
jne 0x10093a14
mov ecx, dword [esi + 0xe4]
test ecx, ecx
je 0x10093a78
mov eax, dword [ecx]
call dword [eax + 0xdc]
test al, al
je 0x10093a78
mov ecx, dword [esi + 0xe4]
mov eax, dword [ecx]
call dword [eax + 0xe8]
test al, al
je 0x10093a78
mov ecx, dword [esi + 0xe4]
push str.RichEdit
mov eax, dword [ecx]
call dword [eax + 0x10]
push eax
call fcn.1026b239
pop ecx
pop ecx
test eax, eax
je 0x10093a78
mov eax, dword [esi + 0xe4]
cmp byte [eax + 0x699], 0
jne 0x10093a14
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
mov ecx, esi
setns al
movzx eax, al
push eax
call sym.nsDui.dll_public:_bool___thiscall_DuiLib::CPaintManagerUI::SetNextTabControl_bool_
jmp 0x100939a2
Function at 0x100960c0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20
push esi
push edi
mov edi, ecx
call dword [sym.imp.USER32.dll_GetFocus]
cmp byte [ebp + 0xc], 0
mov esi, dword [ebp + 8]
je 0x100960fe
mov ecx, dword [edi + 0x84]
cmp eax, ecx
je 0x100960fe
cmp esi, dword [edi + 0xe4]
je 0x100960fe
cmp byte [edi + 0xdc], 0
jne 0x100960fe
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [edi + 0xe4]
cmp esi, eax
je 0x100961fa
test eax, eax
je 0x1009616e
xorps xmm0, xmm0
mov dword [esp + 8], 0x14
movlpd qword [esp + 0x10], xmm0
movlpd qword [esp + 0x18], xmm0
movlpd qword [esp + 0x20], xmm0
mov dword [esp + 0xc], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0xe4]
lea edx, [esp + 8]
mov dword [esp + 0x10], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x11c]
push 1
xor eax, eax
mov ecx, edi
push eax
push eax
push eax
push str.killfocus
push dword [edi + 0xe4]
call sym.nsDui.dll_public:_void___thiscall_DuiLib::CPaintManagerUI::SendNotify_class_DuiLib::CControlUI___wchar_t_const___unsigned_int__long_int__bool__bool_
and dword [edi + 0xe4], 0
test esi, esi
je 0x100961fa
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x24]
cmp eax, edi
jne 0x100961fa
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xdc]
test al, al
je 0x100961fa
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xe8]
test al, al
je 0x100961fa
xorps xmm0, xmm0
mov dword [edi + 0xe4], esi
movlpd qword [esp + 0x10], xmm0
movlpd qword [esp + 0x18], xmm0
movlpd qword [esp + 0x20], xmm0
mov dword [esp + 8], 0x15
mov dword [esp + 0xc], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0xe4]
lea edx, [esp + 8]
mov dword [esp + 0x10], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x11c]
push 1
xor eax, eax
mov ecx, edi
push eax
push eax
push eax
push str.setfocus
push dword [edi + 0xe4]
call sym.nsDui.dll_public:_void___thiscall_DuiLib::CPaintManagerUI::SendNotify_class_DuiLib::CControlUI___wchar_t_const___unsigned_int__long_int__bool__bool_
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x1009e4a3
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1009e4d5
xor eax, eax
inc eax
cmp byte [ebp + 0xc], 0
push 4
pop edx
cmovne edx, eax
xor eax, eax
cmp byte [ebp + 8], al
cmovne eax, edx
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
pop ebp
ret 8
Function at 0x1009e4da
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
and dword [ebp - 4], 0
push ebx
push esi
push edi
mov ebx, ecx
push 4
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindow]
push 1
push dword [ebx + 4]
mov esi, eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
push 7
pop ecx
push dword [ebx + 4]
xor eax, eax
lea edi, [ebp - 0x20]
rep stosd dword es:[edi], eax
call dword [sym.imp.USER32.dll_IsWindow]
mov edi, dword [sym.imp.USER32.dll_SetFocus]
jmp 0x1009e5a0
xor eax, eax
push eax
push eax
push eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x1009e5a4
cmp dword [ebp - 0x1c], 0x10
jne 0x1009e55a
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebx + 4]
jne 0x1009e56f
mov eax, dword [ebp - 0x18]
push 1
push esi
mov dword [ebp - 4], eax
call dword [sym.imp.USER32.dll_EnableWindow]
push esi
call edi
jmp 0x1009e56f
cmp dword [ebp - 0x1c], 0x100
jne 0x1009e56f
cmp dword [ebp - 0x18], 0x1b
jne 0x1009e56f
mov eax, dword [ebx + 4]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
call sym.nsDui.dll_public:_static_bool___cdecl_DuiLib::CPaintManagerUI::TranslateMessage_struct_tagMSG__const_
pop ecx
test al, al
jne 0x1009e591
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
cmp dword [ebp - 0x1c], 0x12
je 0x1009e5a4
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x1009e525
push 1
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
push esi
call edi
cmp dword [ebp - 0x1c], 0x12
pop edi
pop esi
pop ebx
jne 0x1009e5c2
push dword [ebp - 0x18]
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov eax, dword [ebp - 4]
leave
ret
Function at 0x100a983c
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
test edx, edx
jne 0x100a9847
xor eax, eax
pop ebp
ret
push esi
mov esi, dword [ebp + 8]
not ecx
cmp esi, 8
jb 0x100a9903
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 + 0x10324158]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x10324158]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x10324158]
movzx eax, byte [edx + 3]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x10324158]
movzx eax, byte [edx + 4]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x10324158]
movzx eax, byte [edx + 5]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x10324158]
movzx eax, byte [edx + 6]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x10324158]
movzx eax, byte [edx + 7]
add edx, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x10324158]
sub edi, 1
jne 0x100a985c
pop edi
test esi, esi
je 0x100a991f
movzx eax, byte [edx]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x10324158]
inc edx
sub esi, 1
jne 0x100a9907
not ecx
mov eax, ecx
pop esi
pop ebp
ret

Function at 0x100aa0a0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push edi
mov edi, dword [ebp + 0xc]
mov eax, ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov ecx, ebx
imul ecx, dword [ebp + 8]
cmp byte [edi], 0
je 0x100aa0d9
push 0
lea edx, [ebp + 8]
push edx
push ecx
push eax
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x100aa0d4
mov byte [edi + 8], 1
mov eax, dword [ebp + 8]
jmp 0x100aa103
mov edx, dword [edi + 0x18]
push esi
mov esi, dword [edi + 0x14]
sub esi, edx
lea eax, [edx + ecx]
cmp eax, dword [edi + 0x14]
cmovbe esi, ecx
mov ecx, dword [edi + 0x10]
push esi
add ecx, edx
push ecx
push dword [ebp - 4]
call fcn.1026b580
add esp, 0xc
mov eax, esi
add dword [edi + 0x18], esi
pop esi
xor edx, edx
pop edi
div ebx
pop ebx
leave
ret

Function at 0x100aadb3
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp dword [esi], ebx
jne 0x100aae38
cmp dword [esi + 4], 0xffffffff
jne 0x100aae38
lea edi, [esi + 0x138]
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
sub edi, 2
mov ax, word [edi + 2]
lea edi, [edi + 2]
cmp ax, bx
jne 0x100aaddd
cmp dword [ebp + 0x10], 1
mov eax, dword [0x10332840]
mov dword [edi], eax
jne 0x100aae0b
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 1
je 0x100aae0b
mov eax, 0x2000000
jmp 0x100aae3d
mov edx, dword [ebp + 0xc]
lea eax, [ebp - 4]
mov ecx, dword [ebp + 8]
push eax
push dword [ebp + 0x10]
call fcn.100a9efb
pop ecx
pop ecx
test eax, eax
jne 0x100aae28
mov eax, dword [ebp - 4]
jmp 0x100aae3d
mov ecx, eax
call fcn.100aa3bd
mov dword [esi], eax
mov eax, dword [0x10374e3c]
jmp 0x100aae3d
mov eax, 0x1000000
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x100b3b3f
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
xor edi, edi
cmp dword [esi + 0x694], edi
je 0x100b3bab
cmp dword [ebp + 8], 0x100
jne 0x100b3b9a
cmp word [ebp + 0xc], 0xd
jne 0x100b3b9a
cmp byte [esi + 0x69a], 0
je 0x100b3b7f
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x100b3b9a
cmp byte [esi + 0x69b], 0
jne 0x100b3b9a
mov ecx, dword [esi + 0x5c]
test ecx, ecx
je 0x100b3b96
push 1
push edi
push edi
push edi
push str.return
push esi
call sym.nsDui.dll_public:_void___thiscall_DuiLib::CPaintManagerUI::SendNotify_class_DuiLib::CControlUI___wchar_t_const___unsigned_int__long_int__bool__bool_
xor eax, eax
jmp 0x100b3bae
mov eax, dword [esi + 0x694]
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