joyce8/EMBER2024-capa huggingface dataset:
Function at 0x469732
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 0x46976b
mov eax, dword [edi]
sub eax, 9
cmp eax, 0xc
ja 0x46976b
mov ecx, dword [esi + 0x2d4]
push edi
test ecx, ecx
je 0x469872
mov eax, dword [ecx]
call dword [eax + 0x18]
jmp 0x469879
mov ecx, dword [esi + 0x2d4]
test ecx, ecx
je 0x4697d7
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [eax + 0x257], 0
je 0x4697d7
cmp dword [edi], 0xf
jne 0x4697d7
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1b0]
test al, al
je 0x469879
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 0x4697cd
call dword [edi + 0x10]
neg al
mov ecx, esi
sbb al, al
inc al
movzx eax, al
push eax
call dword [edi + 0x18]
jmp 0x469879
push 1
call dword [edi + 0x14]
jmp 0x469879
cmp dword [edi], 0xd
je 0x469788
cmp dword [edi], 0xe
jne 0x46980b
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1b0]
test al, al
je 0x469879
xor eax, eax
push eax
push eax
push eax
push str.itemclick
mov ecx, dword [esi + 0x9c]
push esi
call fcn.0045cf11
jmp 0x469879
cmp dword [edi], 0x10
jne 0x46982a
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1b0]
test al, al
je 0x469879
xor eax, eax
push eax
push eax
push eax
push str.itemrclick
jmp 0x4697fd
cmp dword [edi], 9
je 0x469879
cmp dword [edi], 0xb
jne 0x46985a
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1b0]
test al, al
je 0x469879
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 0x469879
cmp dword [edi], 0xa
jne 0x469871
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c4]
test al, al
je 0x469879
push 0
jmp 0x469844
push edi
mov ecx, esi
call fcn.004693e0
pop edi
pop esi
pop ebp
ret 4
Function at 0x469d03
Capabilities:
Log keystrokes via polling

Disassembly:
sub ecx, 0x330
jmp fcn.00469a27
Function at 0x46ea14
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

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

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

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x470afc
xor eax, eax
pop ebp
ret
mov ecx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
not ecx
cmp esi, 8
jb 0x470bbb
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 + 0x5b0a70]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x5b0a70]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x5b0a70]
movzx eax, byte [edx + 3]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x5b0a70]
movzx eax, byte [edx + 4]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x5b0a70]
movzx eax, byte [edx + 5]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x5b0a70]
movzx eax, byte [edx + 6]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x5b0a70]
movzx eax, byte [edx + 7]
add edx, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x5b0a70]
sub edi, 1
jne 0x470b14
pop edi
test esi, esi
je 0x470bd7
movzx eax, byte [edx]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x5b0a70]
inc edx
sub esi, 1
jne 0x470bbf
not ecx
mov eax, ecx
pop esi
pop ebp
ret
Function at 0x478e94
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
xor edi, edi
cmp dword [esi + 0x31c], edi
je 0x478f01
cmp dword [ebp + 8], 0x100
jne 0x478ef0
cmp word [ebp + 0xc], 0xd
jne 0x478ef0
cmp byte [esi + 0x322], 0
je 0x478ed4
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x478ef0
cmp byte [esi + 0x323], 0
jne 0x478ef0
mov ecx, dword [esi + 0x9c]
test ecx, ecx
je 0x478eec
push edi
push edi
push edi
push 0x5b1bb0
push esi
call fcn.0045cf11
xor eax, eax
jmp 0x478f04
mov eax, dword [esi + 0x31c]
pop edi
pop esi
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx]
pop ebp
jmp dword [eax + 0xc]
xor eax, eax
inc eax
pop edi
pop esi
pop ebp
ret 0x10

Function at 0x479b0b
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.00469a27

Function at 0x479b14
Capabilities:
Log keystrokes via polling

Disassembly:
sub ecx, 0x330
jmp method.DuiLib::CMenuUI.virtual_512

Function at 0x47ad82
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x646384]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x1c]
push edi
and dword [ebx + 0x3bc], 0
mov edi, dword [ebp + 0x18]
mov dword [ebx + 0x24], eax
mov eax, dword [ebp + 0x14]
mov dword [ebx + 0x28], eax
mov eax, dword [ebp + 0xc]
mov dword [ebx + 0x2c], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x18], ebx
mov dword [ebx + 0x3b8], ecx
mov dword [ebx + 0x3c0], eax
test ecx, ecx
jne 0x47aded
call fcn.0047aace
push edi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0xc]
test esi, esi
je 0x47aded
call fcn.0047aace
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x14]
call fcn.0047aace
mov edx, ebx
lea ecx, [ebx + 0x10]
neg edx
mov esi, dword [eax]
sbb edx, edx
and edx, ecx
mov ecx, eax
push edx
call dword [esi]
mov ecx, dword [ebx + 0x3b8]
test ecx, ecx
je 0x47ae15
mov eax, dword [ecx]
call dword [eax + 0x40]
mov edi, eax
mov ecx, edi
call fcn.00405460
lea ecx, [ebp - 0x14]
mov ebx, eax
call fcn.004577b4
push 0
sub esp, 0x10
mov esi, eax
mov edi, esp
push 0x88
movsd dword es:[edi], dword [esi]
push SysReAllocString
push 0
push ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x18]
mov ecx, esi
call fcn.0045e03b
mov edi, dword [esi + 4]
mov ebx, dword [sym.imp.USER32.dll_GetParent]
jmp 0x47ae5a
push edi
call ebx
mov edi, eax
push edi
call ebx
test eax, eax
jne 0x47ae55
push 5
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 1
push 0x86
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004553ba
leave
ret 0x1c
Function at 0x48a72f
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x646384]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
cmp byte [esi + 0x18], 0
je 0x48a7ba
cmp dword [esi + 0x10], 0
je 0x48a7ba
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
lea eax, [edi + edi]
call fcn.00456060
mov ebx, esp
test ebx, ebx
je 0x48a7ba
push edi
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esi + 0x10]
push ebx
add ecx, 0x14c
call fcn.00456852
mov ecx, dword [esi + 0x10]
xor eax, eax
push eax
push eax
push eax
mov eax, dword [ecx]
push str.textchanged
push ecx
call dword [eax + 0x40]
mov ecx, eax
call fcn.0045cf11
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x40]
mov ecx, eax
call fcn.0045a13a
test al, al
je 0x48a7ba
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x1f0]
xor eax, eax
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004553ba
leave
ret 0x10
Function at 0x490fe5
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 0x491096
lea eax, [ebp - 0x10]
push eax
call fcn.00490b08
mov ecx, esi
call fcn.004597e1
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.00405460
push eax
mov ecx, ebx
call fcn.0045e03b
mov esi, dword [ebx + 0x10]
mov ecx, esi
call fcn.0045f702
push eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x40]
mov ecx, eax
call fcn.00459567
mov dword [ebp + 8], eax
lea ecx, [ebx + 0x2c]
lea eax, [ebp + 8]
push eax
call fcn.00458cae
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.00511dc0
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 0x491652
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x298
mov eax, dword [0x646384]
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 0x4916f0
push esi
mov esi, 0xff
push esi
push eax
lea eax, [ebp - 0x104]
push eax
call fcn.005128c0
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 0x4916f0
mov eax, dword [eax + 0xc]
push 4
push dword [eax]
lea eax, [ebp - 0x298]
push eax
call fcn.00511dc0
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 0x4916f2
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004553ba
leave
ret
Function at 0x491858
Capabilities:
Hide graphical window

Disassembly:
push 0x1c
mov eax, 0x591277
call fcn.00455402
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 0x491924
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 0x4918d5
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call fcn.004913c9
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.00405460
mov edi, dword [ebp - 0x10]
mov ecx, edi
push eax
call fcn.0045e03b
mov esi, dword [edi + 0x10]
mov ecx, esi
call fcn.0045f702
push eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x40]
mov ecx, eax
call fcn.00459567
mov dword [ebp + 8], eax
lea ecx, [edi + 0x1c]
lea eax, [ebp + 8]
push eax
call fcn.00458cae
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.00456e7d
lea ecx, [ebp - 0x10]
mov bl, al
call fcn.00456789
test bl, bl
je 0x491956
call fcn.00491652
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.004553cb
ret 4

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x646384]
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, 0x21
jb 0x497b32
cmp esi, 0x28
jbe 0x497b2c
lea eax, [esi - 0x2d]
cmp eax, 1
ja 0x497b32
or edi, 0x100
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.005128c0
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.0045665e
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004553ba
leave
ret 0xc
Function at 0x497dcb
Capabilities:
Hide graphical window

Disassembly:
push 0x14
mov eax, 0x59074b
call fcn.00455402
mov ebx, ecx
mov eax, dword [ebp + 8]
mov dword [ebx + 0x10], eax
test eax, eax
je 0x497eed
lea eax, [ebp - 0x20]
push eax
call fcn.00497608
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.00405460
push eax
mov ecx, ebx
call fcn.0045e03b
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x497eed
mov esi, dword [ebx + 0x10]
mov ecx, esi
call fcn.0045f702
push eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x40]
mov ecx, eax
call fcn.00459567
mov dword [ebp + 8], eax
lea ecx, [ebx + 0x1c]
lea eax, [ebp + 8]
push eax
call fcn.00458cae
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.0049805a
lea eax, [ebp - 0x10]
mov ecx, ebx
push eax
call fcn.0049796f
mov ecx, dword [ebx + 0x10]
and dword [ebp - 4], 0
add ecx, 0x14c
push eax
call fcn.00456836
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00456789
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.004553cb
ret 4
Function at 0x49c0c9
Capabilities:
Enumerate files on windows

Disassembly:
push 0x270
mov eax, 0x591abc
call fcn.00455436
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.00459d98
mov ecx, eax
call fcn.004568a8
and dword [ebp - 4], 0
lea ecx, [ebp - 0x268]
call fcn.00456e34
dec eax
lea ecx, [ebp - 0x268]
push eax
call fcn.0045689f
cmp ax, 0x5c
je 0x49c131
push 0x59c3f8
lea ecx, [ebp - 0x268]
call fcn.00456970
push 0x5bb280
lea eax, [ebp - 0x274]
push eax
lea ecx, [ebp - 0x268]
call fcn.004568ec
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 1
push ecx
mov ecx, eax
call fcn.0041bb30
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
lea ecx, [ebp - 0x274]
mov byte [ebp - 4], 0
mov ebx, eax
call fcn.00456789
cmp ebx, 0xffffffff
je 0x49c325
jmp 0x49c30f
lea eax, [ebp - 0x234]
push 0x5b1124
push eax
call fcn.0052a25a
pop ecx
pop ecx
test eax, eax
je 0x49c30f
lea eax, [ebp - 0x234]
push 0x5bb288
push eax
call fcn.0052a25a
pop ecx
pop ecx
test eax, eax
je 0x49c30f
test byte [ebp - 0x260], 0x10
jne 0x49c30f
push 0xffffffffffffffff
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x264]
call fcn.0045665e
push 0x2e
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 2
call fcn.00457133
mov esi, eax
lea ecx, [ebp - 0x264]
test esi, esi
js 0x49c306
call fcn.00456e34
sub eax, esi
lea ecx, [ebp - 0x264]
dec eax
push eax
lea eax, [ebp - 0x26c]
push eax
call fcn.00457157
push 0x5bb290
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 3
call fcn.0041bb30
push eax
call fcn.0052a25a
pop ecx
pop ecx
test eax, eax
je 0x49c26f
push 0x5bb298
lea ecx, [ebp - 0x26c]
call fcn.0041bb30
push eax
call fcn.0052a25a
pop ecx
pop ecx
test eax, eax
je 0x49c26f
push 0x5bb2a0
lea ecx, [ebp - 0x26c]
call fcn.0041bb30
push eax
call fcn.0052a25a
pop ecx
pop ecx
test eax, eax
jne 0x49c2f5
push 0x34
call fcn.004550ff
pop ecx
test eax, eax
je 0x49c286
mov ecx, eax
call fcn.0049a6ec
mov edi, eax
jmp 0x49c288
xor edi, edi
lea eax, [ebp - 0x264]
mov dword [ebp - 0x270], edi
push eax
lea eax, [ebp - 0x278]
push eax
lea ecx, [ebp - 0x268]
call fcn.004568a8
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.0041bb30
push eax
mov ecx, edi
call fcn.0049bff0
lea ecx, [ebp - 0x278]
mov byte [ebp - 4], 3
mov esi, eax
call fcn.00456789
test esi, esi
jne 0x49c2e9
mov ecx, dword [ebp - 0x27c]
lea eax, [ebp - 0x270]
push eax
lea ecx, [ecx + 0x2d4]
call fcn.00472a5b
jmp 0x49c2f5
test edi, edi
je 0x49c2f5
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax]
lea ecx, [ebp - 0x26c]
call fcn.00456789
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 0
call fcn.00456789
lea eax, [ebp - 0x260]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x49c180
lea ecx, [ebp - 0x268]
call fcn.00456789
call fcn.004553e0
ret
Function at 0x49e23a
Capabilities:
Enumerate files on windows

Disassembly:
push 0x268
mov eax, 0x591c96
call fcn.00455436
mov edi, ecx
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
push str.imagepath
push esi
call fcn.0052a25a
pop ecx
pop ecx
mov ecx, edi
test eax, eax
jne 0x49e46e
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.00459d98
mov ecx, eax
call fcn.004568ec
and dword [ebp - 4], 0
lea ecx, [ebp - 0x264]
call fcn.00456e34
dec eax
lea ecx, [ebp - 0x264]
push eax
call fcn.0045689f
cmp ax, 0x5c
je 0x49e2bd
push 0x59c3f8
lea ecx, [ebp - 0x264]
call fcn.00456970
push 0x5bb280
lea eax, [ebp - 0x270]
push eax
lea ecx, [ebp - 0x264]
call fcn.004568ec
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 1
push ecx
mov ecx, eax
call fcn.0041bb30
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
lea ecx, [ebp - 0x270]
mov byte [ebp - 4], 0
mov ebx, eax
call fcn.00456789
cmp ebx, 0xffffffff
jne 0x49e44b
jmp 0x49e461
lea eax, [ebp - 0x234]
push 0x5b1124
push eax
call fcn.0052a25a
pop ecx
pop ecx
test eax, eax
je 0x49e44b
lea eax, [ebp - 0x234]
push 0x5bb288
push eax
call fcn.0052a25a
pop ecx
pop ecx
test eax, eax
je 0x49e44b
test byte [ebp - 0x260], 0x10
jne 0x49e44b
push 0xffffffffffffffff
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x268]
call fcn.0045665e
push 0x2e
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 2
call fcn.00457133
mov esi, eax
lea ecx, [ebp - 0x268]
test esi, esi
js 0x49e442
call fcn.00456e34
sub eax, esi
lea ecx, [ebp - 0x268]
dec eax
push eax
lea eax, [ebp - 0x26c]
push eax
call fcn.00457157
push 0x5bb290
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 3
call fcn.0041bb30
push eax
call fcn.0052a25a
pop ecx
pop ecx
test eax, eax
je 0x49e3f7
push 0x5bb298
lea ecx, [ebp - 0x26c]
call fcn.0041bb30
push eax
call fcn.0052a25a
pop ecx
pop ecx
test eax, eax
je 0x49e3f7
push 0x5bb2a0
lea ecx, [ebp - 0x26c]
call fcn.0041bb30
push eax
call fcn.0052a25a
pop ecx
pop ecx
test eax, eax
jne 0x49e431
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x274]
push eax
lea ecx, [ebp - 0x264]
call fcn.004568ec
mov esi, dword [edi]
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.0041bb30
push eax
mov ecx, edi
call dword [esi + 0x2f8]
lea ecx, [ebp - 0x274]
call fcn.00456789
lea ecx, [ebp - 0x26c]
call fcn.00456789
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 0
call fcn.00456789
lea eax, [ebp - 0x260]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x49e30c
lea ecx, [ebp - 0x264]
call fcn.00456789
jmp 0x49e475
push ebx
push esi
call fcn.0049db0b
call fcn.004553e0
ret 8
Function at 0x49f964
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
sub esp, 0x10
test edx, edx
jle 0x49fa0f
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebx - 1]
add eax, edx
mov dword [ebp - 0x10], eax
mov cl, byte [edi]
test cl, cl
je 0x49f9f2
movzx eax, cl
mov al, byte [eax + 0x648188]
test ebx, ebx
jle 0x49f9e3
mov esi, dword [ebx*4 + 0x648288]
movzx edx, al
sub esi, edi
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], edi
mov dword [ebp - 8], ebx
movzx eax, byte [esi + edi]
lea ecx, [edi + 1]
add eax, edx
mov dword [ebp - 8], 0xff
xor edx, edx
div dword [ebp - 8]
movzx eax, dl
mov edx, dword [ebp - 0xc]
mov al, byte [eax + 0x648088]
xor al, byte [ecx]
mov byte [edi], al
mov edi, ecx
sub ebx, 1
jne 0x49f9ae
mov ebx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov eax, dword [ebp - 0x10]
cmp ebx, eax
jge 0x49fa00
mov ecx, eax
add edi, ebx
sub ecx, ebx
jmp 0x49f9f8
test eax, eax
jle 0x49fa00
mov ecx, eax
lea esi, [edi + 1]
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebp + 8]
sub edx, 1
mov dword [ebp + 0xc], edx
jne 0x49f986
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x4a96e8
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 0x4a972b
mov eax, dword [edx]
sub eax, 9
cmp eax, 0xc
ja 0x4a972b
mov ecx, dword [esi + 0xa0]
push edx
test ecx, ecx
je 0x4a971f
mov eax, dword [ecx]
call dword [eax + 0x200]
jmp 0x4a9860
mov ecx, esi
call fcn.00466383
jmp 0x4a9860
push ebx
push edi
mov edi, dword [esi + 0x330]
lea eax, [edi - 0x318]
neg edi
sbb edi, edi
and edi, eax
je 0x4a9856
xor ebx, ebx
cmp dword [esi + 0x334], ebx
je 0x4a9856
cmp dword [edx], 0xd
jne 0x4a97d0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1b0]
test al, al
je 0x4a985e
cmp dword [edi + 0x328], ebx
je 0x4a977f
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
js 0x4a978a
lea ecx, [edi + 0x318]
call fcn.004b0b41
mov ecx, dword [esi + 0x330]
push 1
push dword [esi + 0x334]
call fcn.004b0ca0
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 0x4a985e
cmp dword [edx], 0x13
jne 0x4a9815
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1b0]
test al, al
je 0x4a985e
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.0045cf11
jmp 0x4a985e
cmp dword [edx], 0xb
jne 0x4a982c
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1b0]
test al, al
je 0x4a985e
push 1
jmp 0x4a9840
cmp dword [edx], 0xa
jne 0x4a9856
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1b0]
test al, al
je 0x4a985e
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 0x4a985e
push edx
mov ecx, esi
call fcn.00466383
pop edi
pop ebx
pop esi
pop ebp
ret 4