joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40fd36
Capabilities:
Encode data using xor
Hash data with crc32

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

Function at 0x40fe20
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
push esi
mov esi, ecx
movsx eax, dl
mov ecx, dword [esi]
xor eax, ecx
movzx eax, al
shr ecx, 8
xor ecx, dword [eax*4 + 0x4aa408]
movzx eax, cl
add eax, dword [esi + 4]
imul eax, eax, 0x8088405
mov dword [esi], ecx
mov ecx, dword [esi + 8]
inc eax
mov dword [esi + 4], eax
shr eax, 0x18
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4aa408]
mov dword [esi + 8], ecx
pop esi
ret

Function at 0x4105b8
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push edi
mov edi, dword [ebp + 0xc]
mov eax, ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov ecx, ebx
imul ecx, dword [ebp + 8]
cmp byte [edi], 0
je 0x4105f1
push 0
lea edx, [ebp + 8]
push edx
push ecx
push eax
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4105ec
mov byte [edi + 8], 1
mov eax, dword [ebp + 8]
jmp 0x41061b
mov edx, dword [edi + 0x1c]
push esi
mov esi, dword [edi + 0x18]
sub esi, edx
lea eax, [edx + ecx]
cmp eax, dword [edi + 0x18]
cmovbe esi, ecx
mov ecx, dword [edi + 0x14]
push esi
add ecx, edx
push ecx
push dword [ebp - 4]
call fcn.004810f0
add esp, 0xc
mov eax, esi
add dword [edi + 0x1c], esi
pop esi
xor edx, edx
pop edi
div ebx
pop ebx
leave
ret
Function at 0x411428
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp dword [esi], ebx
jne 0x4114e8
cmp dword [esi + 4], 0xffffffff
jne 0x4114e8
lea edi, [esi + 0x244]
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x41145c
sub ecx, edx
sar ecx, 1
movzx eax, word [esi + ecx*2 + 0x242]
cmp eax, 0x5c
je 0x411493
cmp eax, 0x2f
je 0x411493
sub edi, 2
mov ax, word [edi + 2]
lea edi, [edi + 2]
cmp ax, bx
jne 0x411480
mov eax, dword [0x4ac4cc]
mov dword [edi], eax
cmp dword [ebp + 0x10], 1
jne 0x4114b2
push 1
push ebx
push ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x4114b2
mov eax, 0x2000000
jmp 0x4114ed
mov edx, dword [ebp + 0xc]
lea eax, [ebp - 4]
mov ecx, dword [ebp + 8]
push eax
push dword [ebp + 0x10]
call fcn.00410420
pop ecx
pop ecx
test eax, eax
jne 0x4114cf
mov eax, dword [ebp - 4]
jmp 0x4114ed
mov ecx, eax
call fcn.004108e8
xor ecx, ecx
mov dword [esi], eax
test eax, eax
mov edx, 0x200
cmove ecx, edx
mov eax, ecx
jmp 0x4114ed
mov eax, 0x1000000
pop edi
pop esi
pop ebx
leave
ret 0xc

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x4d0018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
mov ebx, edx
test esi, esi
je 0x411ad9
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x411ad9
push edi
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
movzx eax, word [ebx]
test ax, ax
je 0x411bbc
mov edi, ebx
mov ecx, ebx
mov edx, eax
cmp dx, 0x2f
je 0x411af7
cmp dx, 0x5c
jne 0x411af9
mov edi, ecx
add ecx, 2
movzx eax, word [ecx]
mov edx, eax
test ax, ax
jne 0x411aeb
cmp edi, ebx
je 0x411b43
sub edi, ebx
lea eax, [ebp - 0x414]
and edi, 0xfffffffe
push edi
push ebx
push eax
call fcn.004810f0
add esp, 0xc
cmp edi, 0x208
jae 0x411bcb
xor eax, eax
lea edx, [ebp - 0x414]
mov ecx, esi
mov word [ebp + edi - 0x414], ax
call fcn.00411aa5
xor eax, eax
mov word [ebp - 0x20c], ax
test esi, esi
je 0x411b67
lea ecx, [ebp - 0x20c]
sub ecx, esi
movzx eax, word [esi]
mov word [ecx + esi], ax
lea esi, [esi + 2]
test ax, ax
jne 0x411b58
mov esi, ebx
xor ecx, ecx
mov ax, word [ebx]
add ebx, 2
cmp ax, cx
jne 0x411b6b
lea edi, [ebp - 0x20c]
sub ebx, esi
sub edi, 2
mov ax, word [edi + 2]
add edi, 2
cmp ax, cx
jne 0x411b81
mov ecx, ebx
lea eax, [ebp - 0x20c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x411bbc
push 0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047ecc2
leave
ret
call fcn.0047edf7
int3
Function at 0x4120c2
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 1
cmovs esi, ecx
call edi
test ax, ax
jns 0x4120e5
or esi, 1
push 2
call edi
test ax, ax
jns 0x4120f1
or esi, 2
push 0x10
call edi
test ax, ax
jns 0x4120fd
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x412109
or esi, 0x20
pop edi
mov eax, esi
pop esi
ret
Function at 0x41680b
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20
cmp dword [0x4d37a0], 0
push esi
push edi
mov edi, ecx
jne 0x416833
call dword [sym.imp.USER32.dll_GetFocus]
push dword [edi + 0xa8]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [edi + 0x108]
mov esi, dword [ebp + 8]
cmp esi, eax
je 0x416938
test eax, eax
je 0x4168af
and dword [esp + 0x24], 0
xorps xmm0, xmm0
movlpd qword [esp + 0x14], xmm0
movlpd qword [esp + 0x1c], xmm0
mov dword [esp + 8], 0x17
mov dword [esp + 0xc], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0x108]
lea edx, [esp + 8]
mov dword [esp + 0x10], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x1c0]
xor eax, eax
mov ecx, edi
push eax
push eax
push eax
push str.killfocus
push dword [edi + 0x108]
call fcn.00416e1c
mov eax, dword [edi + 0x108]
and dword [edi + 0x108], 0
mov dword [edi + 0x10c], eax
test esi, esi
je 0x416938
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x40]
cmp eax, edi
jne 0x416938
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x170]
test al, al
je 0x416938
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x17c]
test al, al
je 0x416938
and dword [esp + 0x24], 0
xorps xmm0, xmm0
mov dword [edi + 0x108], esi
movlpd qword [esp + 0x14], xmm0
movlpd qword [esp + 0x1c], xmm0
mov dword [esp + 8], 0x18
mov dword [esp + 0xc], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0x108]
lea edx, [esp + 8]
mov dword [esp + 0x10], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x1c0]
xor eax, eax
mov ecx, edi
push eax
push eax
push eax
push str.setfocus
push dword [edi + 0x108]
call fcn.00416e1c
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x418ed8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xa4
mov eax, dword [0x4d0018]
xor eax, esp
mov dword [esp + 0xa0], eax
mov eax, dword [ebp + 0x18]
mov edx, dword [ebp + 0xc]
push ebx
mov ebx, ecx
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 8]
mov ecx, eax
push esi
mov esi, dword [ebp + 0x14]
shr ecx, 0x10
mov dword [esp + 0xc], edx
mov dword [esp + 0x14], esi
mov dword [esp + 8], 0x3c
push edi
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x14], edi
test cx, cx
je 0x418f59
mov ecx, dword [esp + 0xc]
cmp word [eax], cx
je 0x418f59
call fcn.00408d30
push 1
push dword [ebp + 8]
lea ecx, [eax + 0x24]
call fcn.00425a72
mov edx, dword [esp + 0x10]
mov ecx, eax
mov eax, dword [ebp + 8]
test ecx, ecx
je 0x418f59
cmp dword [ecx], 0
cmovne eax, dword [ecx]
mov dword [ebp + 8], eax
mov ecx, eax
shr ecx, 0x10
test cx, cx
je 0x418f9c
mov ecx, dword [esp + 0xc]
cmp word [eax], cx
mov ecx, ebx
push eax
jne 0x418f76
call fcn.00424141
jmp 0x418f7b
call fcn.0042424a
test al, al
jne 0x41904a
xor eax, eax
mov ecx, dword [esp + 0xac]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0047ecc2
mov esp, ebp
pop ebp
ret 0x14
mov esi, dword [ebx + 0x94]
test esi, esi
jne 0x418fb5
mov esi, dword [0x4d37ac]
test esi, esi
cmove esi, dword [0x4d37a4]
push edx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x418f83
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [esp + 0xc], eax
push edi
test eax, eax
jne 0x418fdd
call dword [sym.imp.KERNEL32.dll_FreeResource]
jmp 0x418f83
mov eax, dword [esp + 0x18]
push esi
mov dword [ebx + 0x8c], eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
mov ecx, ebx
call fcn.004241ce
test al, al
je 0x418f83
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x20]
mov dword [ebx + 0x90], eax
lea eax, [esp + 0x24]
mov dword [esp + 0x20], eax
mov ax, word [ebp + 8]
mov word [esp + 0x24], ax
xor eax, eax
mov word [esp + 0x26], ax
lea eax, [esp + 0x24]
mov dword [ebp + 8], eax
call fcn.00425295
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
mov ecx, dword [esi + 0x7a0]
xor eax, eax
test ecx, ecx
je 0x41905e
push dword [ebp + 8]
call fcn.00443333
push eax
push dword [esp + 0x20]
mov ecx, ebx
push esi
push edi
call fcn.00419071
jmp 0x418f85
Function at 0x41aabd
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4d0018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
cmp byte [esi + 0x18], 0
je 0x41ab98
cmp dword [esi + 0x10], 0
je 0x41ab98
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ebx, [eax + 1]
lea eax, [ebx + ebx]
call fcn.0047f850
mov edi, esp
test edi, edi
je 0x41ab98
push ebx
push edi
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esi + 0x10]
push edi
mov eax, dword [ecx]
call dword [eax + 0x50]
cmp byte [esi + 0x1a], 0
jne 0x41ab4e
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.00416e1c
mov ecx, dword [esi + 0x10]
lea edx, [ebp - 0x24]
mov dword [ebp - 0x24], 0x1e
push edx
mov eax, dword [ecx]
call dword [eax + 0x1c4]
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x40]
cmp byte [eax + 0x172], 0
je 0x41ab67
mov ecx, dword [esi + 0x10]
call fcn.0041dfde
mov ecx, dword [esi + 0x10]
call fcn.0041c67f
test al, al
je 0x41ab98
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [esi + 0x10]
test eax, eax
je 0x41ab91
mov eax, dword [ecx]
call dword [eax + 0x3c]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
jmp 0x41ab98
push 1
call fcn.0041c938
xor eax, eax
lea esp, [ebp - 0x30]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047ecc2
leave
ret 0x10
Function at 0x42bffc
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 8]
mov edi, eax
mov edx, eax
and edi, 7
je 0x42c028
cmp eax, edi
jge 0x42c01c
call fcn.0042b9cc
mov eax, dword [esi + 8]
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 0x42c04b
mov edi, dword [esi + 0xc]
mov al, byte [esi + 0xc]
sub edx, 8
mov byte [ebp + ecx - 4], al
inc ecx
shr edi, 8
mov dword [esi + 0xc], edi
test edx, edx
jg 0x42c031
mov dword [esi + 8], edx
jmp 0x42c060
mov eax, dword [esi]
cmp eax, dword [esi + 4]
jb 0x42c056
xor dl, dl
jmp 0x42c05b
mov dl, byte [eax]
inc eax
mov dword [esi], eax
mov byte [ebp + ecx - 4], dl
inc ecx
cmp ecx, 4
jl 0x42c04b
mov eax, dword [ebp - 4]
movzx ecx, byte [ebp - 1]
movzx edi, ah
movzx eax, al
shl edi, 8
add edi, eax
shl ecx, 8
movzx eax, byte [ebp - 2]
add ecx, eax
mov eax, edi
xor eax, 0xffff
cmp ecx, eax
je 0x42c0a1
mov eax, dword fs:[0x2c]
mov eax, dword [eax]
mov dword [eax + 0x10], str.zlib_corrupt
xor eax, eax
jmp 0x42c0ec
mov eax, dword [esi]
add eax, edi
cmp eax, dword [esi + 4]
jbe 0x42c0be
mov eax, dword fs:[0x2c]
mov eax, dword [eax]
mov dword [eax + 0x10], str.read_past_buffer
jmp 0x42c09d
mov edx, dword [esi + 0x10]
lea eax, [edx + edi]
cmp eax, dword [esi + 0x18]
jbe 0x42c0d6
push edi
mov ecx, esi
call fcn.0042baa4
pop ecx
test eax, eax
je 0x42c09d
push edi
push dword [esi]
push dword [esi + 0x10]
call fcn.004810f0
add dword [esi], edi
xor eax, eax
add dword [esi + 0x10], edi
add esp, 0xc
inc eax
pop edi
pop esi
leave
ret
Function at 0x443b09
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
xor edi, edi
cmp dword [esi + 0x80c], edi
je 0x443b76
cmp dword [ebp + 8], 0x100
jne 0x443b65
cmp word [ebp + 0xc], 0xd
jne 0x443b65
cmp byte [esi + 0x812], 0
je 0x443b49
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x443b65
cmp byte [esi + 0x813], 0
jne 0x443b65
mov ecx, dword [esi + 0x9c]
test ecx, ecx
je 0x443b61
push edi
push edi
push edi
push str.return
push esi
call fcn.00416e1c
xor eax, eax
jmp 0x443b79
mov eax, dword [esi + 0x80c]
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 0x447845
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0x20]
sub esp, 0x18
mov eax, dword [ebp + 0x1c]
push ebx
mov ebx, ecx
push esi
xor esi, esi
push edi
mov dword [ebx + 0x28], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 0x24], eax
mov eax, dword [ebp + 0xc]
mov dword [ebx + 0x30], edx
mov dword [ebx + 0x34], esi
mov dword [ebx + 0x2c], eax
mov dword [ebx + 0x38], 6
test edx, edx
jne 0x447885
call fcn.0044a31f
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0xc]
call fcn.0044a31f
lea ecx, [ebx + 0x10]
push ecx
mov ecx, eax
mov edx, dword [eax]
call dword [edx]
mov ecx, dword [ebx + 0x30]
test ecx, ecx
jne 0x4478a2
mov eax, dword [0xa8]
jmp 0x4478ad
mov eax, dword [ecx]
call dword [eax + 0x40]
mov eax, dword [eax + 0xa8]
sub esp, 0x10
mov dword [ebp - 8], esi
mov edi, esp
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], esi
lea esi, [ebp - 0x14]
push ecx
movsd dword es:[edi], dword [esi]
push 0x88
push SysReAllocString
push ecx
movsd dword es:[edi], dword [esi]
mov ecx, ebx
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.00421085
mov esi, dword [ebx + 4]
mov edi, dword [sym.imp.USER32.dll_GetParent]
jmp 0x4478e9
push esi
call edi
mov esi, eax
push esi
call edi
test eax, eax
jne 0x4478e4
push 5
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 1
push 0x86
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop esi
pop ebx
leave
ret 0x1c

Function at 0x44a1d9
Capabilities:
Log keystrokes via polling

Disassembly:
sub ecx, 0x830
jmp method.DuiLib::CMenuUI.2.virtual_452
Function at 0x456765
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x18
push ebx
mov ebx, ecx
push esi
push edi
mov ecx, dword [ebx + 4]
mov dword [ebx + 0x10], eax
test ecx, ecx
jne 0x4567ee
lea eax, [ebp - 0x14]
mov ecx, ebx
push eax
call fcn.0045682a
mov edx, dword [ebp + 8]
lea esi, [ebp - 0x14]
mov ecx, dword [ebx + 0x10]
sub esp, 0x10
mov edi, esp
mov eax, 0x40000009
cmp dword [edx + 0x6f4], 1
push ecx
movsd dword es:[edi], dword [esi]
push 0
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 ecx
call dword [eax + 0x40]
mov ecx, ebx
push dword [eax + 0xa8]
call fcn.00421085
mov ecx, dword [ebx + 0x10]
push 1
mov eax, dword [ecx]
push dword [ecx + 0x6c0]
call dword [eax + 0x40]
mov ecx, eax
call fcn.00417b0a
push dword [eax + 4]
push 0x30
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebx + 0x10]
mov ecx, dword [ebx + 4]
add eax, 0x6e0
lea edi, [ebx + 0x1a]
mov esi, eax
push eax
push 0
push 0x1002
movsd dword es:[edi], dword [esi]
push ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
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 0x457535
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x4d0018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
cmp byte [esi + 0x18], 0
je 0x4575bb
cmp dword [esi + 0x10], 0
je 0x4575bb
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
lea eax, [edi + edi]
call fcn.0047f850
mov ebx, esp
test ebx, ebx
je 0x4575bb
push edi
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esi + 0x10]
push ebx
add ecx, 0x2c4
call fcn.00425430
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.00416e1c
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x40]
cmp byte [eax + 0x172], 0
je 0x4575bb
mov ecx, dword [esi + 0x10]
call fcn.0041dfde
xor eax, eax
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047ecc2
leave
ret 0x10

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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x29c
mov eax, dword [0x4d0018]
xor eax, esp
mov dword [esp + 0x298], eax
push esi
lea eax, [esp + 8]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x45b238
mov esi, 0xff
push esi
push eax
lea eax, [esp + 0x1a0]
push eax
call fcn.00481670
add esp, 0xc
lea eax, [esp + 0x198]
push esi
push eax
call dword [sym.imp.WS2_32.dll_gethostname]
lea eax, [esp + 0x198]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x45b238
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
mov ecx, dword [ecx]
mov eax, ecx
shr eax, 8
mov edx, ecx
movzx esi, al
movzx eax, cl
shl eax, 8
add eax, esi
shr edx, 0x10
shl eax, 8
movzx edx, dl
add eax, edx
shr ecx, 0x18
shl eax, 8
add eax, ecx
jmp 0x45b23a
xor eax, eax
mov ecx, dword [esp + 0x29c]
pop esi
xor ecx, esp
call fcn.0047ecc2
mov esp, ebp
pop ebp
ret
Function at 0x45b271
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x20
push ebx
mov ebx, ecx
push esi
push edi
mov dword [ebx + 0x10], eax
and dword [eax + 0x6e8], 0
cmp dword [ebx + 4], 0
jne 0x45b300
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 8
push eax
mov dword [ebp - 8], 0x800
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
test eax, eax
je 0x45b2e9
mov ecx, dword [ebx + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x9c]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00424d15
mov ecx, dword [ebx + 0x10]
lea esi, [ebp - 0x1c]
sub esp, 0x10
mov edi, esp
mov eax, dword [ecx]
push ecx
movsd dword es:[edi], dword [esi]
push 0
push 0x40030000
push 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, ebx
push dword [eax + 0xa8]
call fcn.00421085
mov ecx, ebx
call fcn.0045b51e
push 1
push dword [ebx + 0x20]
push 0x30
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebx + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jne 0x45b321
call fcn.0045b1a3
mov ecx, dword [ebx + 0x10]
mov dword [ecx + 0x6e0], eax
mov eax, dword [ebx + 0x10]
push dword [eax + 0x6e0]
push 0
push 0x465
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
push 5
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 0x460f83
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push esi
mov esi, ecx
push edi
mov eax, dword [esi]
call dword [eax + 0x184]
mov edi, dword [ebp + 8]
test al, al
jne 0x460fbf
mov eax, dword [edi]
sub eax, 9
cmp eax, 0xc
ja 0x460fbf
mov ecx, dword [esi + 0x6c8]
push edi
test ecx, ecx
je 0x461102
mov eax, dword [ecx]
call dword [eax + 0x18]
jmp 0x461109
cmp dword [edi], 0x13
jne 0x461007
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x17c]
test al, al
je 0x461109
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x3c]
mov ecx, esi
call fcn.00460900
mov ecx, dword [esi + 0x9c]
test ecx, ecx
je 0x461109
xor eax, eax
push eax
push eax
push eax
push str.dbclick
push esi
call fcn.00416e1c
jmp 0x461109
mov ecx, dword [esi + 0x6c8]
test ecx, ecx
je 0x461073
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [eax + 0x458], 0
je 0x461073
cmp dword [edi], 0xf
jne 0x461073
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x17c]
test al, al
je 0x461109
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
lea esi, [esi + 0x6b8]
mov edi, dword [esi]
and ax, cx
mov ecx, esi
je 0x461069
call dword [edi + 0x10]
neg al
mov ecx, esi
sbb al, al
inc al
movzx eax, al
push eax
call dword [edi + 0x18]
jmp 0x461109
push 1
call dword [edi + 0x14]
jmp 0x461109
cmp dword [edi], 0xd
je 0x461024
cmp dword [edi], 0xe
jne 0x4610a0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x17c]
test al, al
je 0x461109
xor eax, eax
push eax
push eax
push eax
push str.itemclick
mov ecx, dword [esi + 0x9c]
jmp 0x460ffc
cmp dword [edi], 0x10
jne 0x4610bf
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x17c]
test al, al
je 0x461109
xor eax, eax
push eax
push eax
push eax
push str.itemrclick
jmp 0x461095
cmp dword [edi], 9
je 0x461109
cmp dword [edi], 0xb
jne 0x4610e7
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x17c]
test al, al
je 0x461109
or dword [esi + 0x6c4], 8
mov ecx, esi
call fcn.00460900
jmp 0x461109
cmp dword [edi], 0xa
jne 0x461101
mov eax, dword [esi + 0x6c4]
test al, 8
je 0x461109
and eax, 0xfffffff7
mov dword [esi + 0x6c4], eax
jmp 0x4610de
push edi
mov ecx, esi
call fcn.00460b8d
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4