joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100539d0
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 0x100539f3
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, 0x1019cf98
call fcn.10026b70
push 0
push 0
mov ecx, dword [ebp - 4]
push ecx
push 0x100507b0
push 0
push 0
call fcn.10100991
add esp, 0x18
mov dword [ebp - 8], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 8

Function at 0x10054520
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
cmp dword [ebp + 8], 0
jne 0x10054533
xor al, al
jmp 0x100545e2
mov eax, dword [ebp + 8]
push eax
call fcn.100545f0
add esp, 4
test eax, eax
jne 0x1005454a
xor al, al
jmp 0x100545e2
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.100e0740
add esp, 0xc
mov dword [ebp - 0x40], 0x3c
mov dword [ebp - 0x3c], 0x40
mov dword [ebp - 0x38], 0
call fcn.10054650
movzx edx, al
test edx, edx
je 0x10054593
mov dword [ebp - 0x34], 0x10151b94
jmp 0x1005459a
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 0x100545cf
mov byte [ebp - 1], 1
jmp 0x100545d3
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 0x10054650
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x1019742c]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x114
push 0
lea eax, [ebp - 0x118]
push eax
call fcn.100e0740
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 0x10054704
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 0x100546c2
cmp dword [ebp - 0x120], 1
jne 0x100546c2
mov al, 1
jmp 0x10054706
cmp dword [ebp - 0x11c], 6
jne 0x100546d8
cmp dword [ebp - 0x120], 0
jne 0x100546d8
xor al, al
jmp 0x10054706
cmp dword [ebp - 0x11c], 6
jne 0x100546ee
cmp dword [ebp - 0x120], 1
jne 0x100546ee
xor al, al
jmp 0x10054706
cmp dword [ebp - 0x11c], 6
jne 0x10054704
cmp dword [ebp - 0x120], 2
jne 0x10054704
xor al, al
jmp 0x10054706
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100e3069
mov esp, ebp
pop ebp
ret
Function at 0x1005aa30
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
jne 0x1005aa40
xor eax, eax
jmp 0x1005abdd
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
mov dword [ebp + 8], eax
cmp dword [ebp + 0x10], 8
jb 0x1005ab9e
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 + 0x10152730]
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 + 0x10152730]
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 + 0x10152730]
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 + 0x10152730]
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 + 0x10152730]
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 + 0x10152730]
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 + 0x10152730]
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 + 0x10152730]
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 0x1005aa49
cmp dword [ebp + 0x10], 0
je 0x1005abd7
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 + 0x10152730]
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 0x1005aba4
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
pop ebp
ret
Function at 0x1005abe0
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 + 0x10152730]
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 + 0x10152730]
mov ecx, 4
shl ecx, 1
mov edx, dword [ebp + 8]
mov dword [edx + ecx], eax
pop ebp
ret

Function at 0x1005bce0
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 0x1005bd2f
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 0x1005bd25
mov edx, dword [ebp + 0x14]
mov byte [edx + 8], 1
mov eax, dword [ebp - 0x10]
xor edx, edx
div dword [ebp + 0xc]
jmp 0x1005bd89
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 0x1005bd4f
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.100e01c0
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 0x1005d640
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 0x1005d65b
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 4], 0xffffffff
je 0x1005d665
mov eax, 0x1000000
jmp 0x1005d78b
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 0x1005d68e
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 0x1005d6ff
movzx eax, word [ebp - 8]
cmp eax, 0x2f
je 0x1005d6ff
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 0x1005d6de
mov edi, dword [ebp - 0x18]
mov ecx, dword [0x10151ff4]
mov dword [edi], ecx
cmp dword [ebp + 0x10], 1
jne 0x1005d743
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 0x1005d727
mov dword [ebp - 0x1c], 1
jmp 0x1005d72e
mov dword [ebp - 0x1c], 0
mov al, byte [ebp - 0x1c]
mov byte [ebp - 1], al
movzx ecx, byte [ebp - 1]
test ecx, ecx
jne 0x1005d743
mov eax, 0x2000000
jmp 0x1005d78b
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.1005b9a0
add esp, 0x10
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x1005d769
mov eax, dword [ebp - 0x30]
jmp 0x1005d78b
mov eax, dword [ebp - 0x20]
push eax
call fcn.1005c0a0
add esp, 4
mov ecx, dword [ebp - 0x10]
mov dword [ecx], eax
mov edx, dword [ebp - 0x10]
cmp dword [edx], 0
jne 0x1005d789
mov eax, 0x200
jmp 0x1005d78b
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10065c50
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101244ed
mov eax, dword fs:[0]
push eax
sub esp, 0x19c
mov eax, dword [0x1019742c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x1019c608]
mov ecx, dword fs:[0x2c]
mov edx, dword [ecx + eax*4]
mov eax, dword [0x1019d99c]
cmp eax, dword [edx + 4]
jle 0x10065cf2
push 0x1019d99c
call fcn.100e323d
add esp, 4
cmp dword [0x1019d99c], 0xffffffff
jne 0x10065cf2
mov dword [ebp - 4], 0
cmp dword [0x1019d43c], 0
jne 0x10065cc6
mov byte [ebp - 0x19d], 0
jmp 0x10065cd2
call dword [0x1019d43c]
mov byte [ebp - 0x19d], al
mov cl, byte [ebp - 0x19d]
mov byte [0x1019d9a0], cl
mov dword [ebp - 4], 0xffffffff
push 0x1019d99c
call fcn.100e31fe
add esp, 4
movzx edx, byte [0x1019d9a0]
test edx, edx
jne 0x10065de7
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.10076016
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 0x10065dad
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 0x10065de7
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.1006e2a0
add esp, 4
call fcn.1006e290
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.100e3069
mov esp, ebp
pop ebp
ret
Function at 0x10066a10
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x10066a43
call dword [sym.imp.KERNEL32.dll_DebugBreak]
jmp 0x10066a99
lea ecx, [ebp - 0x14]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.10066fe0
push 0
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp - 8]
push edx
push 0
mov ecx, dword [ebp + 0xc]
call fcn.10066f80
push eax
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0xc], edx
mov esp, ebp
pop ebp
ret
Function at 0x10078d20
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x1019742c]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x214], 0
lea eax, [ebp - 0x210]
push esi
mov esi, dword [ebp + 8]
push 0x20a
push 0
push eax
call fcn.100e0740
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.UserAndPayClient.dll_public:_void___thiscall_xx_DuiLib::CDuiString::constructor_wchar_t_const___int_
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.100e3069
mov esp, ebp
pop ebp
ret

Function at 0x1007a320
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 0x1007a343
or esi, 1
push 1
call edi
test ax, ax
jns 0x1007a34f
or esi, 2
push 0x10
call edi
test ax, ax
jns 0x1007a35b
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x1007a367
or esi, 0x20
pop edi
mov eax, esi
pop esi
ret
Function at 0x1007e9d7
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov ebx, ecx
call dword [sym.imp.USER32.dll_GetFocus]
mov ecx, dword [ebx + 0x12c]
mov esi, dword [ebp + 8]
cmp eax, ecx
je 0x1007ea03
cmp esi, dword [ebx + 0x26c]
je 0x1007ea03
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebx + 0x26c]
cmp esi, eax
je 0x1007eada
push edi
test eax, eax
je 0x1007ea62
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x1c]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x20], 0x17
mov dword [ebp - 0x1c], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x26c]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x144]
xor edi, edi
mov ecx, ebx
push edi
push edi
push edi
push str.killfocus
push dword [ebx + 0x26c]
call sym.UserAndPayClient.dll_public:_void___thiscall_xx_DuiLib::CPaintManagerUI::SendNotify_class_xx_DuiLib::CControlUI___wchar_t_const___unsigned_int__long_int__bool_
mov dword [ebx + 0x26c], edi
test esi, esi
je 0x1007ead9
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
cmp eax, ebx
jne 0x1007ead9
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x100]
test al, al
je 0x1007ead9
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x10c]
test al, al
je 0x1007ead9
push 7
pop ecx
xor eax, eax
mov dword [ebx + 0x26c], esi
lea edi, [ebp - 0x1c]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x20], 0x18
mov dword [ebp - 0x1c], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x26c]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x144]
xor eax, eax
mov ecx, ebx
push eax
push eax
push eax
push str.setfocus
push dword [ebx + 0x26c]
call sym.UserAndPayClient.dll_public:_void___thiscall_xx_DuiLib::CPaintManagerUI::SendNotify_class_xx_DuiLib::CControlUI___wchar_t_const___unsigned_int__long_int__bool_
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x1008880e
Capabilities:
Log keystrokes via polling

Disassembly:
sub ecx, 0x778
jmp sym.UserAndPayClient.dll_public_virtual:_void___thiscall_xx_DuiLib::CListUI::DoEvent_struct_xx_DuiLib::tagTEventUI__

Function at 0x10088819
Capabilities:
Log keystrokes via polling

Disassembly:
sub ecx, 0x778
jmp sym.UserAndPayClient.dll_public_virtual:_void___thiscall_xx_DuiLib::CMenuUI::DoEvent_struct_xx_DuiLib::tagTEventUI__

Function at 0x10089b21
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 0x10089b53
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 0x100a3033
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [esi + 8]
and edi, 7
je 0x100a3057
cmp dword [esi + 8], edi
jge 0x100a304f
push esi
call fcn.1009e98a
pop ecx
mov ecx, edi
shr dword [esi + 0xc], cl
sub dword [esi + 8], edi
mov edx, dword [esi + 8]
xor ecx, ecx
test edx, edx
jle 0x100a3080
mov edi, dword [esi + 0xc]
mov al, byte [esi + 0xc]
sub edx, 8
mov byte [ebp + ecx + 8], al
inc ecx
shr edi, 8
mov dword [esi + 0xc], edi
test edx, edx
jg 0x100a3063
mov dword [esi + 8], edx
cmp ecx, 4
jge 0x100a309a
mov eax, dword [esi]
cmp eax, dword [esi + 4]
jb 0x100a308b
xor dl, dl
jmp 0x100a3090
mov dl, byte [eax]
inc eax
mov dword [esi], eax
mov byte [ebp + ecx + 8], dl
inc ecx
cmp ecx, 4
jl 0x100a3082
mov eax, dword [ebp + 8]
movzx ecx, byte [ebp + 0xb]
movzx edi, ah
movzx eax, al
shl edi, 8
add edi, eax
shl ecx, 8
movzx eax, byte [ebp + 0xa]
add ecx, eax
mov eax, edi
xor eax, 0xffff
cmp ecx, eax
je 0x100a30cf
push 0x10135e0c
call fcn.1009e8b3
add esp, 4
jmp 0x100a310f
mov eax, dword [esi]
add eax, edi
cmp eax, dword [esi + 4]
jbe 0x100a30df
push 0x10135e1c
jmp 0x100a30c5
mov ecx, dword [esi + 0x10]
lea eax, [ecx + edi]
cmp eax, dword [esi + 0x18]
jbe 0x100a30f9
push edi
push ecx
push esi
call fcn.100a5bfc
add esp, 0xc
test eax, eax
je 0x100a310f
push edi
push dword [esi]
push dword [esi + 0x10]
call fcn.100e01c0
add dword [esi], edi
xor eax, eax
add dword [esi + 0x10], edi
add esp, 0xc
inc eax
pop edi
pop esi
pop ebp
ret

Function at 0x100a835a
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x1019742c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x100a838e
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x100a838e
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
movzx eax, word [ebx]
test ax, ax
je 0x100a8440
push esi
mov esi, ebx
mov ecx, ebx
cmp ax, 0x2f
je 0x100a83ab
cmp ax, 0x5c
jne 0x100a83ad
mov esi, ecx
add ecx, 2
movzx eax, word [ecx]
test ax, ax
jne 0x100a839f
cmp esi, ebx
je 0x100a83f3
sub esi, ebx
lea eax, [ebp - 0x414]
and esi, 0xfffffffe
push esi
push ebx
push eax
call fcn.100e01c0
add esp, 0xc
cmp esi, 0x208
jae 0x100a8450
xor eax, eax
mov word [ebp + esi - 0x414], ax
lea eax, [ebp - 0x414]
push eax
push edi
call fcn.100a835a
pop ecx
pop ecx
xor eax, eax
mov word [ebp - 0x20c], ax
pop esi
test edi, edi
je 0x100a8410
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.10108d58
pop ecx
pop ecx
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.10108ce7
pop ecx
pop ecx
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x100a8440
push 0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.100e3069
mov esp, ebp
pop ebp
ret
call fcn.100e3794
int3
Function at 0x100a8a76
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x100a8b22
cmp dword [esi + 4], 0xffffffff
jne 0x100a8b22
push edi
lea edi, [esi + 0x244]
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push edi
call fcn.10108d7a
pop ecx
movzx eax, word [esi + eax*2 + 0x242]
cmp eax, 0x5c
je 0x100a8ac9
cmp eax, 0x2f
je 0x100a8ac9
push 0x1012dd7c
push edi
call fcn.10108ce7
pop ecx
pop ecx
cmp dword [ebp + 0x10], 1
pop edi
jne 0x100a8aeb
push 1
push 0
push 0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x100a8aeb
mov eax, 0x2000000
jmp 0x100a8b27
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.100ab1a0
add esp, 0x10
test eax, eax
jne 0x100a8b09
mov eax, dword [ebp - 4]
jmp 0x100a8b27
push eax
call fcn.100ab870
pop ecx
xor ecx, ecx
mov dword [esi], eax
test eax, eax
mov edx, 0x200
cmove ecx, edx
mov eax, ecx
jmp 0x100a8b27
mov eax, 0x1000000
pop esi
mov esp, ebp
pop ebp
ret 0xc