joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10051090
Capabilities:
Hash data using md4
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov esi, dword [ebp + 0xc]
push edi
lea ecx, [esi + 1]
nop
mov al, byte [esi]
inc esi
test al, al
jne 0x100510a0
sub esi, ecx
lea eax, [esi + esi]
push eax
mov dword [ebp - 0xc], eax
call dword [0x1013c210]
mov edi, eax
add esp, 4
test edi, edi
jne 0x100510c8
lea eax, [edi + 0x1b]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push esi
push dword [ebp + 0xc]
push edi
call fcn.10051330
add esp, 0xc
lea eax, [ebp - 8]
push 0xf0000000
push 1
push 0
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
mov esi, dword [ebp + 0x10]
test eax, eax
je 0x10051147
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x8002
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x1005113c
push 0
push dword [ebp - 0xc]
mov dword [ebp - 0x10], 0x10
push edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
push 0
lea eax, [ebp - 0x10]
push eax
push esi
push 2
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push 0
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov dword [esi + 0x10], 0
push edi
mov byte [esi + 0x14], 0
call dword [0x1013c214]
add esp, 4
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x100513a0
Capabilities:
Create new key via cryptacquirecontext
Encrypt data using des via winapi
Encrypt or decrypt via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1013c270]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x1c]
push edi
mov edi, dword [ebp + 0x10]
push 0xf0000000
push 1
push 0
push 0
push eax
mov dword [ebp - 0x20], 8
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x10051437
lea eax, [ebp - 0xc]
mov dword [ebp - 8], 0
push eax
xorps xmm0, xmm0
movups xmmword [ebp - 0x18], xmm0
push edi
mov word [ebp - 0x18], 0x208
mov dword [ebp - 0x14], 0x6601
mov dword [ebp - 0x10], 8
call fcn.100514a0
lea eax, [ebp - 0xc]
push 8
push eax
call fcn.10053a10
add esp, 0x10
lea eax, [ebp - 0x24]
push eax
push 0
push 0
push 0x14
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_CryptImportKey]
test eax, eax
jne 0x10051449
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10054c42
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 8]
push dword [ebp - 0x20]
mov eax, dword [ecx]
mov dword [esi], eax
mov eax, dword [ecx + 4]
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push eax
push esi
push 0
push 0
push 0
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_CryptEncrypt]
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
push 0
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
xor ecx, ebp
pop esi
call fcn.10054c42
mov esp, ebp
pop ebp
ret
Function at 0x10052800
Capabilities:
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push 0xf0000000
push 1
push 0
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x10052832
lea eax, [esi + 4]
push eax
push 0
push 0
push 0x8003
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
pop esi
pop ebp
ret

Function at 0x100529b0
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
push esi
push edi
mov byte [edi], 0
call dword [sym.imp.WS2_32.dll_gethostname]
mov byte [edi + esi - 1], 0
test eax, eax
jne 0x100529e3
push 0x2e
push edi
call fcn.1006dee0
add esp, 8
test eax, eax
je 0x100529e1
mov byte [eax], 0
xor eax, eax
pop edi
pop esi
pop ebp
ret

Function at 0x10053900
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, dword [ebp + 8]
push edi
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x14]
lea eax, [eax + ecx*2]
add eax, 0xc
push eax
call dword [0x1013c210]
mov edi, eax
add esp, 4
test edi, edi
jne 0x1005392d
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea ecx, [edi + 0xc]
mov dword [edi], esi
mov dword [edi + 4], ecx
mov eax, dword [esi + 0xc]
add eax, ecx
push ebx
mov ebx, dword [ebp + 0x10]
mov dword [edi + 8], eax
cmp ebx, dword [esi + 0x10]
jbe 0x10053974
mov eax, dword [esi]
push ecx
call eax
mov eax, dword [esi + 4]
push ebx
push dword [ebp + 0xc]
push dword [edi + 4]
call eax
mov eax, dword [edi + 8]
add eax, dword [esi + 0xc]
push dword [edi + 4]
mov dword [ebp - 4], eax
push eax
mov eax, dword [esi + 8]
call eax
mov ebx, dword [esi + 0x14]
add esp, 0x18
mov dword [ebp + 0x10], ebx
jmp 0x1005397a
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
push dword [edi + 4]
mov eax, dword [esi]
call eax
push dword [edi + 8]
mov eax, dword [esi]
call eax
mov eax, dword [ebp + 0x10]
add esp, 8
xor ebx, ebx
test eax, eax
je 0x100539db
mov ebx, dword [ebp - 4]
mov dword [ebp - 8], eax
nop word [eax + eax]
movzx eax, byte [ebx]
xor al, 0x36
mov byte [ebp + 0xb], al
lea eax, [ebp + 0xb]
push 1
push eax
push dword [edi + 4]
mov eax, dword [esi + 4]
call eax
movzx eax, byte [ebx]
lea ebx, [ebx + 1]
xor al, 0x5c
mov byte [ebp + 0xb], al
lea eax, [ebp + 0xb]
push 1
push eax
push dword [edi + 8]
mov eax, dword [esi + 4]
call eax
add esp, 0x18
sub dword [ebp + 0x10], 1
jne 0x100539a0
mov ebx, dword [ebp - 8]
cmp ebx, dword [esi + 0x10]
jae 0x10053a07
mov eax, dword [esi + 4]
push 1
push 0x1009e422
push dword [edi + 4]
call eax
mov eax, dword [esi + 4]
push 1
push 0x1009e423
push dword [edi + 8]
call eax
inc ebx
add esp, 0x18
cmp ebx, dword [esi + 0x10]
jb 0x100539e0
pop ebx
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x100578cd
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 0x100852bc
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1008513b

Function at 0x10087070
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.10086d30
Function at 0x1000114e
Capabilities:
Allocate or change rwx memory
Create process on windows
Execute shellcode via indirect call
Read file on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
lea eax, [ebp - 4]
push eax
push str.Printers
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
push 0x104
mov edi, 0x10003030
push edi
push dword [0x10003020]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor eax, eax
mov word [0x10003036], ax
xor ebx, ebx
movzx ecx, word [eax + 0x10002040]
mov word [eax + 0x10003030], cx
add eax, 2
cmp cx, bx
jne 0x1000118a
push 1
push ebx
push ebx
push edi
push ebx
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor eax, eax
mov word [0x10003036], ax
movzx ecx, word [eax + str.desktop.ini]
mov word [eax + 0x10003030], cx
add eax, 2
cmp cx, bx
jne 0x100011b5
push 0x40
mov esi, 0x1000
push esi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push ebx
push 0x80
push 3
push ebx
push 1
push 0x80000000
push edi
mov dword [0x10003018], eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [0x1000301c], eax
push ebx
cmp eax, 0xffffffff
jne 0x10001208
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 0x10003024
push esi
push dword [0x10003018]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
call dword [0x10003018]
pop edi
pop esi
pop ebx
leave
ret 0x10

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x406c36
Capabilities:
Encode data using xor

Disassembly:
inc ecx
pop esi
xor byte [esi + ecx + 7], cl
loop 0x406c39
mov eax, 0x504001c
out dx, al
clc
div esi
cmc
retf 0x3d52

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
pop eax
nop
nop
nop
nop
nop
add eax, 0x40729f
nop
sub eax, 0x407245
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x432030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43201e
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x100011a7
Capabilities:
Log keystrokes

Disassembly:
push 4
mov eax, 0x1007f676
call fcn.1005b11c
and dword [ebp - 4], 0
and dword [ebp - 0x10], 0
mov esi, dword [ebp + 8]
mov ecx, esi
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::constructor_void_]
mov ecx, dword [ebp + 0xc]
and dword [ebp - 4], 0
movzx edx, cx
mov dword [ebp - 0x10], 1
cmp edx, 0x24
ja 0x10001235
je 0x1000122b
mov eax, edx
sub eax, 0xd
je 0x10001221
sub eax, 0xe
je 0x10001217
sub eax, 6
je 0x1000120d
sub eax, 1
je 0x10001203
sub eax, 1
jne 0x10001264
push 0x10082764
jmp 0x10001363
push str.PageDown
jmp 0x10001363
push str.PageUp
jmp 0x10001363
push 0x10082718
jmp 0x10001363
push str.Enter
jmp 0x10001363
push str.Home
jmp 0x10001363
mov eax, edx
sub eax, 0x25
je 0x1000135e
sub eax, 1
je 0x10001357
sub eax, 1
je 0x10001350
sub eax, 1
je 0x10001349
sub eax, 5
je 0x10001342
cmp cx, 0x30
jb 0x10001270
cmp cx, 0x39
jbe 0x10001279
lea eax, [ecx - 0x41]
cmp ax, 0x19
ja 0x10001287
push ecx
mov ecx, esi
call dword [sym.imp.utilities.dll_public:_class_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits__const____thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::operator_wchar_t_]
jmp 0x1000136b
lea eax, [ecx - 0x60]
cmp ax, 9
ja 0x1000129b
lea eax, [edx - 0x60]
push eax
push str.Num__d
jmp 0x100012dd
cmp cx, 0x6a
jne 0x100012ab
push 0x100827b0
jmp 0x10001363
cmp cx, 0x6b
jne 0x100012bb
push str.Num_
jmp 0x10001363
cmp cx, 0x6e
jne 0x100012cb
push str.Num_Del
jmp 0x10001363
lea eax, [ecx - 0x70]
cmp ax, 0xb
ja 0x100012f6
lea eax, [edx - 0x6f]
push eax
push 0x100827d8
lea eax, [ebp + 0xc]
push eax
push esi
call dword [sym.imp.utilities.dll_public:_class_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits____cdecl_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::Format_wchar_t_const__]
add esp, 0x10
lea ecx, [ebp + 0xc]
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::destructor_void_]
jmp 0x1000136b
push 2
push edx
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
mov cl, al
movsx eax, cl
cmp eax, 0x3d
jg 0x10001321
je 0x10001330
cmp eax, 0x27
je 0x10001330
cmp eax, 0x2b
jle 0x1000136b
cmp eax, 0x2f
jle 0x10001330
cmp eax, 0x3b
je 0x10001330
jmp 0x1000136b
cmp eax, 0x5b
jl 0x1000136b
cmp eax, 0x5d
jle 0x10001330
cmp eax, 0x60
jne 0x1000136b
movsx ax, cl
mov ecx, esi
movzx eax, ax
push eax
call dword [0x100825e8]
jmp 0x1000136b
push str.Insert
jmp 0x10001363
push str.Down
jmp 0x10001363
push str.Right
jmp 0x10001363
push 0x1008272c
jmp 0x10001363
push str.Left
mov ecx, esi
call dword [sym.imp.utilities.dll_public:_class_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_____thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::operator_wchar_t_const__]
mov eax, esi
call fcn.1005b0f6
ret 8
Function at 0x100029aa
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 9
je 0x100029b7
xor eax, eax
jmp 0x100029e5
push dword [ecx + 4]
call sym.soui.dll_public:_static_class_SOUI::SWindow____cdecl_SOUI::SWindowMgr::GetWindow_unsigned_long_int_
pop ecx
test eax, eax
je 0x100029d2
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x90]
test al, 2
jne 0x100029b3
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
movzx eax, ax
xor eax, 0x8000
shr eax, 0xf
pop ebp
ret 4
Function at 0x10002ad6
Capabilities:
Log keystrokes via polling

Disassembly:
push 4
mov eax, 0x1007d0bc
call fcn.1005b11c
mov ebx, ecx
mov edi, dword [ebp + 8]
push edi
call sym.soui.dll_public:_int___thiscall_SOUI::CFocusManager::IsTabTraversalKey_unsigned_int_
test eax, eax
je 0x10002b11
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, ebx
and al, 1
movzx eax, al
push eax
call sym.soui.dll_public:_void___thiscall_SOUI::CFocusManager::AdvanceFocus_bool_
xor eax, eax
inc eax
jmp 0x10002c13
push dword [ebx + 4]
call sym.soui.dll_public:_static_class_SOUI::SWindow____cdecl_SOUI::SWindowMgr::GetWindow_unsigned_long_int_
mov esi, eax
mov dword [ebp - 0x10], esi
pop ecx
test esi, esi
je 0x10002bbd
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x60]
test eax, eax
je 0x10002bbd
cmp edi, 0x25
je 0x10002b4a
cmp edi, 0x27
je 0x10002b58
cmp edi, 0x26
je 0x10002b4a
cmp edi, 0x28
jne 0x10002bbd
cmp edi, 0x27
je 0x10002b58
cmp edi, 0x28
je 0x10002b58
push 2
jmp 0x10002b5a
push 3
pop edi
jmp 0x10002b68
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x60]
test eax, eax
jne 0x10002ba7
push edi
mov ecx, esi
call sym.soui.dll_public:_class_SOUI::SWindow____thiscall_SOUI::SWindow::GetWindow_int_
mov esi, eax
test esi, esi
jne 0x10002b5d
mov ecx, dword [ebp - 0x10]
cmp edi, 3
setne al
push eax
call sym.soui.dll_public:_class_SOUI::SWindow____thiscall_SOUI::SWindow::GetParent_void_const
mov ecx, eax
jmp 0x10002b97
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x60]
test eax, eax
jne 0x10002ba7
push edi
mov ecx, esi
call sym.soui.dll_public:_class_SOUI::SWindow____thiscall_SOUI::SWindow::GetWindow_int_
mov esi, eax
test esi, esi
jne 0x10002b89
jmp 0x10002b09
push 0
mov ecx, esi
call sym.soui.dll_public_virtual:_int___thiscall_SOUI::SSkinImgList::GetStates_void_
push eax
mov ecx, ebx
call sym.soui.dll_public:_void___thiscall_SOUI::CFocusManager::SetFocusedHwndWithReason_unsigned_long_int__enum_SOUI::CFocusManager::FocusChangeReason_
jmp 0x10002b09
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x10
call esi
shr eax, 0xf
and al, 1
movzx eax, al
push eax
push 0x12
call esi
shr eax, 0xf
and al, 1
movzx eax, al
push eax
push 0x11
call esi
shr eax, 0xf
lea ecx, [ebp + 8]
and al, 1
movzx eax, al
push eax
push edi
call sym.soui.dll_public:_void___thiscall_SOUI::CAccelerator::constructor_unsigned_int__bool__bool__bool_
and dword [ebp - 4], 0
lea eax, [ebp + 8]
push eax
mov ecx, ebx
call sym.soui.dll_public:_bool___thiscall_SOUI::CFocusManager::ProcessAccelerator_class_SOUI::CAccelerator_const__
xor ebx, ebx
lea ecx, [ebp + 8]
test al, al
setne bl
call sym.soui.dll_public:_void___thiscall_SOUI::CAccelerator::destructor_void_
mov eax, ebx
call fcn.1005b0f6
ret 4
Function at 0x1000f23d
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x100ef4b8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, 0x11c
lea eax, [ebp - 0x120]
push esi
push 0
push eax
call fcn.1005cce0
add esp, 0xc
mov dword [ebp - 0x120], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea eax, [ebp - 0x120]
push eax
call esi
test eax, eax
jne 0x1000f298
lea eax, [ebp - 0x120]
mov dword [ebp - 0x120], 0x114
push eax
call esi
test eax, eax
je 0x1000f2ac
cmp byte [ebp - 6], 1
jne 0x1000f2ac
cmp dword [ebp - 0x11c], 6
jne 0x1000f2ac
xor eax, eax
inc eax
jmp 0x1000f2ae
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.1005b0e5
mov esp, ebp
pop ebp
ret

Function at 0x10010ef6
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0x10]
mov esi, ecx
push dword [ebp + 0xc]
lea eax, [esi + 0x184]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
mov ecx, esi
test eax, eax
jne 0x10010f1c
call sym.soui.dll_public:_int___thiscall_SOUI::SWindow::ReleaseCapture_void_
jmp 0x10010f5a
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call sym.soui.dll_protected:_void___thiscall_SOUI::SWindow::OnLButtonUp_unsigned_int__class_SOUI::CPoint_
lea ecx, [esi + 0x194]
call dword [sym.imp.utilities.dll_public:_bool___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::IsEmpty_void_const]
test al, al
jne 0x10010f5a
push 1
push 0
push 0
lea ecx, [esi + 0x194]
call dword [sym.imp.utilities.dll_public:_wchar_t_const____thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::operator_wchar_t_const__void_const]
push eax
push 0x100862e4
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop esi
pop ebp
ret 0xc

Function at 0x1001a3d4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
mov ebx, ecx
push edi
push 0x12
call esi
push 0x11
mov edi, eax
call esi
and eax, 0x8000
push 0x10
mov dword [ebp - 4], eax
call esi
mov ecx, dword [ebp - 4]
and eax, 0x8000
and edi, 0x8000
jne 0x1001a435
test ecx, ecx
jne 0x1001a41b
test eax, eax
jne 0x1001a414
inc eax
jmp 0x1001a469
push 2
pop eax
push 4
jmp 0x1001a468
test eax, eax
jne 0x1001a426
push 4
pop eax
push 2
jmp 0x1001a468
push 6
pop eax
push 0x10
mov word [ebx + 0x184], ax
pop eax
jmp 0x1001a470
test ecx, ecx
jne 0x1001a447
test eax, eax
jne 0x1001a443
push 8
pop eax
inc ecx
jmp 0x1001a469
test ecx, ecx
je 0x1001a456
test eax, eax
jne 0x1001a452
push 0x40
pop eax
push 3
jmp 0x1001a468
test ecx, ecx
jne 0x1001a461
test eax, eax
je 0x1001a461
push 0x20
pop eax
push 5
jmp 0x1001a468
mov eax, 0x80
push 7
pop ecx
mov word [ebx + 0x184], cx
test word [ebx + 0x188], ax
je 0x1001a487
mov ax, word [ebx + 0x18a]
mov word [ebx + 0x184], ax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10029d49
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ax, word [ecx + 0x23c]
add ax, word [ebp + 0xc]
push esi
cwde
push edi
cdq
push 0x78
pop esi
idiv esi
xor esi, esi
mov dword [ebp - 4], ecx
movzx eax, ax
mov dword [ebp + 0xc], eax
cwde
mov word [ecx + 0x23c], dx
cdq
xor eax, edx
sub eax, edx
movzx edi, ax
xor eax, eax
cmp ax, di
jge 0x10029de9
push ebx
xor ebx, ebx
cmp word [ebp + 0xc], ax
setle bl
xor edx, edx
inc edx
mov eax, dword [ecx]
push 0
push ebx
push edx
call dword [eax + 0xf8]
test eax, eax
je 0x10029dac
mov ecx, dword [ebp - 4]
inc esi
push 1
pop edx
cmp si, di
jl 0x10029d90
pop ebx
cmp si, di
jge 0x10029de6
push dword [ebp + 0x14]
or eax, 0xffffffff
mov ecx, edi
push dword [ebp + 0x10]
sub ecx, esi
cmp word [ebp + 0xc], 0
push 1
pop edx
cmovg eax, edx
movsx ecx, cx
cwde
imul ecx, eax
movsx eax, cx
mov ecx, dword [ebp - 4]
imul eax, eax, 0x78
movzx eax, ax
push eax
push dword [ebp + 8]
call sym.soui.dll_protected:_int___thiscall_SOUI::SWindow::OnMouseWheel_unsigned_int__short_int__class_SOUI::CPoint_
mov ecx, dword [ebp - 4]
test di, di
je 0x10029e26
call sym.soui.dll_public:_struct_SOUI::ISwndContainer____thiscall_SOUI::SWindow::GetContainer_void_
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
movzx edx, word [ebp + 0x14]
mov edi, eax
movzx ecx, word [ebp + 0x10]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
shl edx, 0x10
or edx, ecx
push edx
push dword [ebp + 8]
push 0x200
push edi
call esi
push 0x2000001
push edi
push 0x20
push edi
call esi
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x10

Function at 0x1002c310
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push 0x1008a328
push dword [ebp + 8]
call fcn.1006df30
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x1002c36d
push ebx
push edi
push esi
call fcn.1006e03d
push eax
call fcn.1006e3ef
mov edi, eax
pop ecx
pop ecx
cmp edi, dword [ebp + 0x10]
jbe 0x1002c34c
push 0x7a
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor ebx, ebx
jmp 0x1002c362
push esi
push edi
push 1
push dword [ebp + 0xc]
call fcn.1006e22f
xor ebx, ebx
add esp, 0x10
cmp edi, eax
sete bl
push esi
call fcn.1006dfbd
pop ecx
pop edi
mov eax, ebx
pop ebx
pop esi
pop ebp
ret

Function at 0x1002c3ca
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push dword [ebp + 0xc]
mov esi, ecx
push dword [ebp + 8]
call fcn.1002ce81
mov ebx, eax
test ebx, ebx
je 0x1002c439
push edi
push ebx
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
je 0x1002c41d
cmp dword [ebp + 0x14], edi
jae 0x1002c402
push 0x7a
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x1002c41d
push ebx
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x1002c41d
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
jne 0x1002c421
xor eax, eax
jmp 0x1002c438
push edi
push eax
push dword [ebp + 0x10]
call fcn.1005f980
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
pop ebp
ret 0x10