joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49da3a
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
mov eax, dword [esi]
call dword [eax + 0x198]
mov edi, dword [ebp + 8]
test al, al
jne 0x49da73
mov eax, dword [edi]
sub eax, 9
cmp eax, 0xc
ja 0x49da73
mov ecx, dword [esi + 0x2d4]
push edi
test ecx, ecx
je 0x49db7a
mov eax, dword [ecx]
call dword [eax + 0x18]
jmp 0x49db81
mov ecx, dword [esi + 0x2d4]
test ecx, ecx
je 0x49dadf
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [eax + 0x257], 0
je 0x49dadf
cmp dword [edi], 0xf
jne 0x49dadf
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1b0]
test al, al
je 0x49db81
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
lea esi, [esi + 0x2c8]
mov edi, dword [esi]
and ax, cx
mov ecx, esi
je 0x49dad5
call dword [edi + 0x10]
neg al
mov ecx, esi
sbb al, al
inc al
movzx eax, al
push eax
call dword [edi + 0x18]
jmp 0x49db81
push 1
call dword [edi + 0x14]
jmp 0x49db81
cmp dword [edi], 0xd
je 0x49da90
cmp dword [edi], 0xe
jne 0x49db13
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1b0]
test al, al
je 0x49db81
xor eax, eax
push eax
push eax
push eax
push str.itemclick
mov ecx, dword [esi + 0x9c]
push esi
call fcn.00472e9d
jmp 0x49db81
cmp dword [edi], 0x10
jne 0x49db32
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1b0]
test al, al
je 0x49db81
xor eax, eax
push eax
push eax
push eax
push str.itemrclick
jmp 0x49db05
cmp dword [edi], 9
je 0x49db81
cmp dword [edi], 0xb
jne 0x49db62
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1b0]
test al, al
je 0x49db81
push 1
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c8]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1f0]
jmp 0x49db81
cmp dword [edi], 0xa
jne 0x49db79
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c4]
test al, al
je 0x49db81
push 0
jmp 0x49db4c
push edi
mov ecx, esi
call fcn.0049d6e8
pop edi
pop esi
pop ebp
ret 4
Function at 0x49dff3
Capabilities:
Log keystrokes via polling

Disassembly:
sub ecx, 0x330
jmp fcn.0049dd1a
Function at 0x4a5b9a
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, ecx
push esi
mov esi, dword [ebp + 8]
push edi
cmp dword [ebx + 4], 0
mov dword [ebx + 0x10], esi
jne 0x4a5c4b
lea eax, [ebp - 0x10]
push eax
call fcn.004a56bd
mov ecx, esi
call fcn.0046faf2
mov ecx, dword [ebx + 0x10]
lea esi, [ebp - 0x10]
push 0
sub esp, 0x10
mov edx, eax
mov edi, esp
mov eax, 0x40000009
cmp edx, 1
push 0
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [eax - 9]
cmovne eax, esi
push eax
mov eax, dword [ecx]
push 0
call dword [eax + 0x40]
mov ecx, eax
call fcn.0046ff83
push eax
mov ecx, ebx
call fcn.00481939
mov esi, dword [ebx + 0x10]
mov ecx, esi
call fcn.004752e8
push eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x40]
mov ecx, eax
call fcn.0046f8aa
mov dword [ebp + 8], eax
lea ecx, [ebx + 0x2c]
lea eax, [ebp + 8]
push eax
call fcn.0046f000
mov ecx, dword [ebx + 0x10]
mov esi, dword [ebx + 0x2c]
push 1
mov eax, dword [ecx]
mov edi, dword [esi]
call dword [eax + 0x40]
push eax
mov ecx, esi
call dword [edi + 0x18]
push eax
push 0x30
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, dword [ebx + 0x10]
push 0x10
lea eax, [esi + 0x2c8]
push eax
lea eax, [ebx + 0x1a]
push eax
call fcn.00630ee0
mov eax, dword [ebx + 0x10]
add esp, 0xc
add eax, 0x2c8
push eax
push 0
push 0x1002
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
push 4
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetFocus]
pop edi
pop esi
mov byte [ebx + 0x18], 1
pop ebx
leave
ret 4

Function at 0x4a620c
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x298
mov eax, dword [0x717dac]
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
jne 0x4a62aa
push esi
mov esi, 0xff
push esi
push eax
lea eax, [ebp - 0x104]
push eax
call fcn.006319e0
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 0x4a62aa
mov eax, dword [eax + 0xc]
push 4
push dword [eax]
lea eax, [ebp - 0x298]
push eax
call fcn.00630ee0
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
jmp 0x4a62ac
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0062f00e
leave
ret
Function at 0x4a6412
Capabilities:
Hide graphical window

Disassembly:
push 0x1c
mov eax, 0x6632a0
call fcn.0062fc4b
mov edi, ecx
mov dword [ebp - 0x10], edi
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [edi + 0x10], eax
mov dword [eax + 0x2cc], ebx
cmp dword [edi + 4], ebx
jne 0x4a64de
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 8
push eax
mov dword [ebp - 0x14], 0x800
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
test eax, eax
je 0x4a648f
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call fcn.004a5f83
mov ecx, dword [edi + 0x10]
lea esi, [ebp - 0x28]
push ebx
sub esp, 0x10
mov edi, esp
mov eax, dword [ecx]
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]
call dword [eax + 0x40]
mov ecx, eax
call fcn.0046ff83
mov edi, dword [ebp - 0x10]
mov ecx, edi
push eax
call fcn.00481939
mov esi, dword [edi + 0x10]
mov ecx, esi
call fcn.004752e8
push eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x40]
mov ecx, eax
call fcn.0046f8aa
mov dword [ebp + 8], eax
lea ecx, [edi + 0x1c]
lea eax, [ebp + 8]
push eax
call fcn.0046f000
mov ecx, dword [ebp - 0x10]
mov esi, dword [edi + 0x1c]
push 1
mov ecx, dword [ecx + 0x10]
mov edi, dword [esi]
mov eax, dword [ecx]
call dword [eax + 0x40]
push eax
mov ecx, esi
call dword [edi + 0x18]
mov edi, dword [ebp - 0x10]
push eax
push 0x30
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [edi + 0x10]
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ecx]
call dword [eax + 0x4c]
mov ecx, eax
mov dword [ebp - 4], ebx
call fcn.0046b951
lea ecx, [ebp - 0x10]
mov bl, al
call fcn.0046b2ee
test bl, bl
je 0x4a6510
call fcn.004a620c
mov ecx, dword [edi + 0x10]
mov dword [ecx + 0x2c8], eax
mov eax, dword [edi + 0x10]
push dword [eax + 0x2c8]
push 0
push 0x465
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
push 5
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
mov byte [edi + 0x18], 1
call fcn.0062fc25
ret 4

Function at 0x4ac689
Capabilities:
Get keyboard layout
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x717dac]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0
mov dword [ebp - 0x210], ebx
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
mov esi, dword [ebp + 0xc]
push eax
push 0
push esi
call dword [sym.imp.USER32.dll_MapVirtualKeyExW]
mov edi, eax
cmp esi, 0x26
ja 0x4ac734
je 0x4ac6df
sub esi, 0x21
je 0x4ac6df
sub esi, 1
je 0x4ac6df
sub esi, 1
je 0x4ac6df
sub esi, 1
je 0x4ac6df
sub esi, 1
jne 0x4ac6e5
or edi, 0x100
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.006319e0
add esp, 0xc
shl edi, 0x10
lea eax, [ebp - 0x20c]
push 0x104
push eax
push edi
call dword [sym.imp.USER32.dll_GetKeyNameTextW]
push 0xffffffffffffffff
lea eax, [ebp - 0x20c]
mov ecx, ebx
push eax
call fcn.0046b218
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0062f00e
leave
ret 0xc
sub esi, 0x27
je 0x4ac6df
sub esi, 1
je 0x4ac6df
sub esi, 5
jmp 0x4ac6d8
Function at 0x4ac98d
Capabilities:
Hide graphical window

Disassembly:
push 0x14
mov eax, 0x662426
call fcn.0062fc4b
mov ebx, ecx
mov eax, dword [ebp + 8]
mov dword [ebx + 0x10], eax
test eax, eax
je 0x4acaaf
lea eax, [ebp - 0x20]
push eax
call fcn.004ac1b1
mov ecx, dword [ebx + 0x10]
lea esi, [ebp - 0x20]
xor eax, eax
push eax
sub esp, 0x10
mov edi, esp
push eax
movsd dword es:[edi], dword [esi]
push 0x40000080
push eax
mov eax, dword [ecx]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [eax + 0x40]
mov ecx, eax
call fcn.0046ff83
push eax
mov ecx, ebx
call fcn.00481939
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4acaaf
mov esi, dword [ebx + 0x10]
mov ecx, esi
call fcn.004752e8
push eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x40]
mov ecx, eax
call fcn.0046f8aa
mov dword [ebp + 8], eax
lea ecx, [ebx + 0x1c]
lea eax, [ebp + 8]
push eax
call fcn.0046f000
mov ecx, dword [ebx + 0x10]
mov esi, dword [ebx + 0x1c]
push 1
mov eax, dword [ecx]
mov edi, dword [esi]
call dword [eax + 0x40]
push eax
mov ecx, esi
call dword [edi + 0x18]
push eax
push 0x30
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebx + 0x10]
movzx eax, word [ecx + 0x2d2]
push eax
movzx eax, word [ecx + 0x2d0]
mov ecx, ebx
push eax
call fcn.004acc1c
lea eax, [ebp - 0x10]
mov ecx, ebx
push eax
call fcn.004ac516
mov ecx, dword [ebx + 0x10]
and dword [ebp - 4], 0
add ecx, 0x14c
push eax
call fcn.0046b3a5
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0046b2ee
mov ecx, dword [ebx + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x1b0]
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.0062fc25
ret 4
Function at 0x4b0d9f
Capabilities:
Enumerate files on windows

Disassembly:
push 0x270
mov eax, 0x663c3c
call fcn.0062fc7f
mov ebx, ecx
mov dword [ebp - 0x27c], ebx
mov eax, dword [ebx]
call dword [eax + 0x40]
lea eax, [ebx + 0x2c8]
push eax
lea eax, [ebp - 0x268]
push eax
call fcn.0046ffa2
mov ecx, eax
call fcn.0046b417
and dword [ebp - 4], 0
lea ecx, [ebp - 0x268]
call fcn.0046b908
dec eax
lea ecx, [ebp - 0x268]
push eax
call fcn.0046b40e
cmp ax, 0x5c
je 0x4b0e07
push 0x6674a0
lea ecx, [ebp - 0x268]
call fcn.0046b4df
push 0x67b230
lea eax, [ebp - 0x270]
push eax
lea ecx, [ebp - 0x268]
call fcn.0046b45b
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 1
push ecx
mov ecx, eax
call fcn.00460070
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
lea ecx, [ebp - 0x270]
mov byte [ebp - 4], 0
mov ebx, eax
call fcn.0046b2ee
cmp ebx, 0xffffffff
je 0x4b0ffb
jmp 0x4b0fe5
lea eax, [ebp - 0x234]
push 0x66ad48
push eax
call fcn.00637828
pop ecx
pop ecx
test eax, eax
je 0x4b0fe5
lea eax, [ebp - 0x234]
push 0x67b238
push eax
call fcn.00637828
pop ecx
pop ecx
test eax, eax
je 0x4b0fe5
test byte [ebp - 0x260], 0x10
jne 0x4b0fe5
push 0xffffffffffffffff
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x264]
call fcn.0046b218
push 0x2e
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 2
call fcn.0046bbe5
mov esi, eax
lea ecx, [ebp - 0x264]
test esi, esi
js 0x4b0fdc
call fcn.0046b908
sub eax, esi
lea ecx, [ebp - 0x264]
dec eax
push eax
lea eax, [ebp - 0x26c]
push eax
call fcn.0046bc09
push 0x67b240
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 3
call fcn.00460070
push eax
call fcn.00637828
pop ecx
pop ecx
test eax, eax
je 0x4b0f45
push 0x67b248
lea ecx, [ebp - 0x26c]
call fcn.00460070
push eax
call fcn.00637828
pop ecx
pop ecx
test eax, eax
je 0x4b0f45
push 0x67b250
lea ecx, [ebp - 0x26c]
call fcn.00460070
push eax
call fcn.00637828
pop ecx
pop ecx
test eax, eax
jne 0x4b0fcb
push 0x34
call fcn.0062f01f
pop ecx
test eax, eax
je 0x4b0f5c
mov ecx, eax
call fcn.004af3e0
mov edi, eax
jmp 0x4b0f5e
xor edi, edi
lea eax, [ebp - 0x264]
mov dword [ebp - 0x278], edi
push eax
lea eax, [ebp - 0x274]
push eax
lea ecx, [ebp - 0x268]
call fcn.0046b417
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.00460070
push eax
mov ecx, edi
call fcn.004b0cc6
lea ecx, [ebp - 0x274]
mov byte [ebp - 4], 3
mov esi, eax
call fcn.0046b2ee
test esi, esi
jne 0x4b0fbf
mov ecx, dword [ebp - 0x27c]
lea eax, [ebp - 0x278]
push eax
lea ecx, [ecx + 0x2d4]
call fcn.00473d3f
jmp 0x4b0fcb
test edi, edi
je 0x4b0fcb
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax]
lea ecx, [ebp - 0x26c]
call fcn.0046b2ee
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 0
call fcn.0046b2ee
lea eax, [ebp - 0x260]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4b0e56
lea ecx, [ebp - 0x268]
call fcn.0046b2ee
call fcn.0062fc3a
ret
Function at 0x4b2fed
Capabilities:
Enumerate files on windows

Disassembly:
push 0x268
mov eax, 0x663e7f
call fcn.0062fc7f
mov edi, ecx
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
push str.imagepath
push esi
call fcn.00637828
pop ecx
pop ecx
mov ecx, edi
test eax, eax
jne 0x4b3221
mov eax, dword [edi]
call dword [eax + 0x2fc]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x40]
lea eax, [ebp - 0x264]
push ebx
push eax
call fcn.0046ffa2
mov ecx, eax
call fcn.0046b45b
and dword [ebp - 4], 0
lea ecx, [ebp - 0x264]
call fcn.0046b908
dec eax
lea ecx, [ebp - 0x264]
push eax
call fcn.0046b40e
cmp ax, 0x5c
je 0x4b3070
push 0x6674a0
lea ecx, [ebp - 0x264]
call fcn.0046b4df
push 0x67b230
lea eax, [ebp - 0x270]
push eax
lea ecx, [ebp - 0x264]
call fcn.0046b45b
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 1
push ecx
mov ecx, eax
call fcn.00460070
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
lea ecx, [ebp - 0x270]
mov byte [ebp - 4], 0
mov ebx, eax
call fcn.0046b2ee
cmp ebx, 0xffffffff
je 0x4b3214
jmp 0x4b31fe
lea eax, [ebp - 0x234]
push 0x66ad48
push eax
call fcn.00637828
pop ecx
pop ecx
test eax, eax
je 0x4b31fe
lea eax, [ebp - 0x234]
push 0x67b238
push eax
call fcn.00637828
pop ecx
pop ecx
test eax, eax
je 0x4b31fe
test byte [ebp - 0x260], 0x10
jne 0x4b31fe
push 0xffffffffffffffff
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x268]
call fcn.0046b218
push 0x2e
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 2
call fcn.0046bbe5
mov esi, eax
lea ecx, [ebp - 0x268]
test esi, esi
js 0x4b31f5
call fcn.0046b908
sub eax, esi
lea ecx, [ebp - 0x268]
dec eax
push eax
lea eax, [ebp - 0x26c]
push eax
call fcn.0046bc09
push 0x67b240
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 3
call fcn.00460070
push eax
call fcn.00637828
pop ecx
pop ecx
test eax, eax
je 0x4b31aa
push 0x67b248
lea ecx, [ebp - 0x26c]
call fcn.00460070
push eax
call fcn.00637828
pop ecx
pop ecx
test eax, eax
je 0x4b31aa
push 0x67b250
lea ecx, [ebp - 0x26c]
call fcn.00460070
push eax
call fcn.00637828
pop ecx
pop ecx
test eax, eax
jne 0x4b31e4
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x274]
push eax
lea ecx, [ebp - 0x264]
call fcn.0046b45b
mov esi, dword [edi]
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.00460070
push eax
mov ecx, edi
call dword [esi + 0x2f8]
lea ecx, [ebp - 0x274]
call fcn.0046b2ee
lea ecx, [ebp - 0x26c]
call fcn.0046b2ee
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 0
call fcn.0046b2ee
lea eax, [ebp - 0x260]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4b30bf
lea ecx, [ebp - 0x264]
call fcn.0046b2ee
jmp 0x4b3228
push ebx
push esi
call fcn.004b28ef
call fcn.0062fc3a
ret 8
Function at 0x4ba515
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov eax, dword [esi]
call dword [eax + 0x198]
mov edx, dword [ebp + 8]
test al, al
jne 0x4ba558
mov eax, dword [edx]
sub eax, 9
cmp eax, 0xc
ja 0x4ba558
mov ecx, dword [esi + 0xa0]
push edx
test ecx, ecx
je 0x4ba54c
mov eax, dword [ecx]
call dword [eax + 0x200]
jmp 0x4ba68d
mov ecx, esi
call fcn.00495d01
jmp 0x4ba68d
push ebx
push edi
mov edi, dword [esi + 0x330]
lea eax, [edi - 0x318]
neg edi
sbb edi, edi
and edi, eax
je 0x4ba683
xor ebx, ebx
cmp dword [esi + 0x334], ebx
je 0x4ba683
cmp dword [edx], 0xd
jne 0x4ba5fd
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1b0]
test al, al
je 0x4ba68b
cmp dword [edi + 0x328], ebx
je 0x4ba5ac
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
js 0x4ba5b7
lea ecx, [edi + 0x318]
call fcn.004bf068
mov ecx, dword [esi + 0x330]
push 1
push dword [esi + 0x334]
call fcn.004bf1c7
mov ecx, dword [esi + 0x330]
mov eax, dword [esi + 0x334]
push ebx
mov dword [ecx + 0x4c], eax
mov ecx, dword [esi + 0x330]
mov eax, dword [ecx]
call dword [eax + 4]
push ebx
lea ecx, [edi + 0x318]
mov eax, dword [ecx]
push ebx
push ebx
push str.selectchanged
call dword [eax + 8]
jmp 0x4ba68b
cmp dword [edx], 0x13
jne 0x4ba642
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1b0]
test al, al
je 0x4ba68b
mov ecx, dword [esi + 0x334]
push 1
cmp byte [ecx + 0xa], bl
sete al
mov byte [ecx + 0xa], al
mov ecx, dword [esi + 0x330]
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [esi + 0x9c]
push ebx
push ebx
push esi
push str.dbclick
push edi
call fcn.00472e9d
jmp 0x4ba68b
cmp dword [edx], 0xb
jne 0x4ba659
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1b0]
test al, al
je 0x4ba68b
push 1
jmp 0x4ba66d
cmp dword [edx], 0xa
jne 0x4ba683
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1b0]
test al, al
je 0x4ba68b
push ebx
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c8]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1f0]
jmp 0x4ba68b
push edx
mov ecx, esi
call fcn.00495d01
pop edi
pop ebx
pop esi
pop ebp
ret 4
Function at 0x4baa61
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
mov dword [ebp - 4], esi
mov eax, dword [esi]
call dword [eax + 0x280]
mov ebx, dword [ebp + 8]
cmp al, bl
je 0x4baba2
mov eax, dword [esi]
mov ecx, esi
push ebx
call dword [eax + 0x1dc]
mov ecx, dword [esi + 0x2e8]
mov dword [ebp + 8], ecx
test ecx, ecx
je 0x4baba2
mov esi, dword [ecx + 0x330]
push edi
mov edi, esi
neg edi
lea eax, [esi - 0x318]
sbb edi, edi
and edi, eax
je 0x4baba1
mov ecx, dword [ecx + 0x334]
test ecx, ecx
je 0x4baba1
mov eax, dword [ebp - 4]
xor edx, edx
mov eax, dword [eax + 0x2ec]
sub eax, edx
je 0x4bab7c
sub eax, 1
je 0x4bab6d
sub eax, 1
je 0x4baaee
sub eax, 1
jne 0x4baba1
test bl, bl
je 0x4bab41
cmp dword [edi + 0x328], edx
je 0x4bab13
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x4bab13
test esi, esi
mov eax, 0x318
cmove esi, eax
jmp 0x4bab20
lea esi, [edi + 0x318]
mov ecx, esi
call fcn.004bf068
push ebx
mov ebx, dword [ebp + 8]
mov ecx, esi
push dword [ebx + 0x334]
call fcn.004bf1c7
mov eax, dword [ebx + 0x334]
xor ecx, ecx
mov dword [edi + 0x364], eax
jmp 0x4bab58
push edx
lea esi, [edi + 0x318]
push ecx
mov ecx, esi
call fcn.004bf1c7
xor ecx, ecx
mov dword [edi + 0x364], ecx
mov eax, dword [edi + 0x318]
push ecx
push ecx
push ecx
push str.selectchanged
mov ecx, esi
call dword [eax + 8]
jmp 0x4bab70
mov byte [ecx + 9], bl
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x1f0]
jmp 0x4baba1
add ecx, 0x1c
call fcn.00464820
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x334]
test eax, eax
jle 0x4bab9d
mov byte [ecx + 0xa], bl
mov ecx, edi
call fcn.00475bd8
jmp 0x4baba1
mov byte [ecx + 0xa], 1
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x4bda57
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub esp, 0x10
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 8]
push esi
push edi
cmp dword [ebx + 4], 0
mov dword [ebx + 0x10], ecx
mov dword [ebx + 0x2c], eax
jne 0x4bdb08
lea eax, [ebp - 0x10]
mov ecx, ebx
push eax
call fcn.004bd7d0
mov ecx, dword [ebx + 0x10]
lea esi, [ebp - 0x10]
push 0
sub esp, 0x10
mov eax, 0x40000009
cmp dword [ebx + 0x2c], 1
mov edi, esp
lea edx, [eax - 9]
movsd dword es:[edi], dword [esi]
cmovne eax, edx
push 0
push eax
mov eax, dword [ecx]
movsd dword es:[edi], dword [esi]
push 0
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [eax + 0x40]
mov ecx, eax
call fcn.0046ff83
push eax
mov ecx, ebx
call fcn.00481939
mov esi, dword [ebx + 0x10]
mov ecx, esi
call fcn.004752e8
push eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x40]
mov ecx, eax
call fcn.0046f8aa
mov dword [ebp + 8], eax
lea ecx, [ebx + 0x40]
lea eax, [ebp + 8]
push eax
call fcn.0046f000
mov ecx, dword [ebx + 0x10]
mov esi, dword [ebx + 0x40]
push 1
mov eax, dword [ecx]
mov edi, dword [esi]
call dword [eax + 0x40]
push eax
mov ecx, esi
call dword [edi + 0x18]
push eax
push 0x30
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebx + 0x10]
push 0x10
call fcn.004adfae
push eax
lea eax, [ebx + 0x1a]
push eax
call fcn.00630ee0
mov ecx, dword [ebx + 0x10]
add esp, 0xc
push 0x10
call fcn.004adfae
push eax
lea eax, [ebx + 0x30]
push eax
call fcn.00630ee0
mov ecx, dword [ebx + 0x10]
add esp, 0xc
call fcn.004adfae
push eax
push 0
push 0x1002
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
push 4
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetFocus]
pop edi
pop esi
mov byte [ebx + 0x18], 1
pop ebx
leave
ret 8
Function at 0x4d1855
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov eax, dword [esi + 8]
mov edi, eax
mov edx, eax
and edi, 7
je 0x4d1883
cmp eax, edi
jge 0x4d1877
push esi
call fcn.004cccea
mov eax, dword [esi + 8]
pop ecx
mov ecx, edi
shr dword [esi + 0xc], cl
sub eax, edi
mov dword [esi + 8], eax
mov edx, eax
xor ecx, ecx
test eax, eax
jle 0x4d18a6
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 0x4d188c
mov dword [esi + 8], edx
jmp 0x4d18bb
mov eax, dword [esi]
cmp eax, dword [esi + 4]
jb 0x4d18b1
xor dl, dl
jmp 0x4d18b6
mov dl, byte [eax]
inc eax
mov dword [esi], eax
mov byte [ebp + ecx + 8], dl
inc ecx
cmp ecx, 4
jl 0x4d18a6
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 0x4d18f3
push str.zlib_corrupt
call fcn.004ccc0f
pop ecx
jmp 0x4d1933
mov eax, dword [esi]
add eax, edi
cmp eax, dword [esi + 4]
jbe 0x4d1903
push str.read_past_buffer
jmp 0x4d18eb
mov ecx, dword [esi + 0x10]
lea eax, [ecx + edi]
cmp eax, dword [esi + 0x18]
jbe 0x4d191d
push edi
push ecx
push esi
call fcn.004d4b33
add esp, 0xc
test eax, eax
je 0x4d1933
push edi
push dword [esi]
push dword [esi + 0x10]
call fcn.00630ee0
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 0x4e0860
Capabilities:
Receive data
Receive data on socket

Disassembly:
cmp byte [0x71bad4], 0
push esi
push edi
mov edi, dword [esp + 0x20]
je 0x4e08d5
test edi, edi
je 0x4e08d5
mov eax, dword [0x71bad8]
test eax, eax
jne 0x4e08cf
mov esi, dword [esp + 0x1c]
push str.recv
push esi
push edi
push str.LIMIT__s:_d__s_reached_memlimit_n
call fcn.004e0660
add esp, 0x10
push str.recv
push esi
push edi
push str.LIMIT__s:_d__s_reached_memlimit_n
push 2
call fcn.00638a64
add esp, 4
push eax
call fcn.004e1040
push dword [0x71bad0]
call fcn.00638e42
add esp, 0x18
call fcn.0064607b
pop edi
pop esi
mov dword [eax], 0xc
or eax, 0xffffffff
ret
dec eax
mov dword [0x71bad8], eax
push dword [esp + 0x18]
push dword [esp + 0x18]
push dword [esp + 0x18]
push dword [esp + 0x18]
call dword [sym.imp.WS2_32.dll_recv]
mov esi, eax
test edi, edi
je 0x4e0908
push esi
push dword [esp + 0x18]
push dword [esp + 0x24]
push edi
push str.RECV__s:_d_recv__lu____ld_n
call fcn.004e0660
add esp, 0x14
pop edi
mov eax, esi
pop esi
ret