joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46c1a0
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6621a2
mov eax, dword fs:[0]
push eax
sub esp, 0x420
mov eax, dword [0x719dd4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor eax, eax
push 0x400
mov dword [ebp - 0x42c], esi
push eax
mov dword [ebp - 0x428], eax
lea eax, [ebp - 0x410]
push eax
mov dword [ebp - 4], 0
call fcn.00632c20
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_WTSGetActiveConsoleSessionId]
lea ecx, [ebp - 0x424]
push ecx
push eax
call sub.WTSAPI32.dll_WTSQueryUserToken
test eax, eax
lea eax, [ebp - 0x410]
push eax
push 0
je 0x46c23a
push dword [ebp - 0x424]
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
push dword [ebp - 0x424]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x46c248
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
mov edi, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
test edi, edi
js 0x46c279
lea ecx, [ebp - 0x410]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x46c266
sub ecx, edx
lea eax, [ebp - 0x410]
push ecx
push eax
jmp 0x46c280
push 0
push 0x6680e0
mov ecx, esi
call fcn.00449b20
push 1
push 0x66ccf4
mov ecx, esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x428], 3
call fcn.004499c0
mov cl, 0xd
mov dword [ebp - 0x420], 0x64414b0d
mov dword [ebp - 0x41c], 0x7f594a43
xor eax, eax
mov dword [ebp - 0x418], 0x6863646c
mov word [ebp - 0x414], 0x7f
xor byte [ebp + eax - 0x41f], cl
inc eax
cmp eax, 0xc
jae 0x46c2e6
mov cl, byte [ebp - 0x420]
jmp 0x46c2d1
lea ecx, [ebp - 0x41f]
mov byte [ebp - 0x413], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x46c2f6
sub ecx, edx
lea eax, [ebp - 0x41f]
push ecx
push eax
mov ecx, esi
call fcn.004499c0
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x46c318
mov eax, dword [esi]
push 0
push eax
call fcn.00646548
add esp, 8
test eax, eax
je 0x46c365
mov eax, dword fs:[0x2c]
mov ecx, dword [0x720f40]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x71d648]
cmp eax, dword [ecx + 0x10]
jg 0x46c382
cmp dword [esi + 0x14], 0x10
mov edi, esi
jb 0x46c34d
mov edi, dword [esi]
push edi
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryA]
test eax, eax
jne 0x46c365
push 0x71609c
push edi
push eax
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExA]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0063024e
mov esp, ebp
pop ebp
ret
push 0x71d648
call fcn.0062feac
add esp, 4
cmp dword [0x71d648], 0xffffffff
jne 0x46c343
push 0
lea eax, [ebp - 0x424]
push eax
push 1
push str.D:_A_OICI_GA___AU_
call sub.ADVAPI32.dll_ConvertStringSecurityDescriptorToSecurityDescriptorW
neg eax
mov dword [0x7160a4], 0
push 0x71d648
sbb eax, eax
and eax, dword [ebp - 0x424]
mov dword [0x7160a0], eax
call fcn.0062fe62
add esp, 4
jmp 0x46c343
Function at 0x471590
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 0x4715b3
or esi, 1
push 2
call edi
test ax, ax
jns 0x4715bf
or esi, 2
push 0x10
call edi
test ax, ax
jns 0x4715cb
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x4715d7
or esi, 0x20
pop edi
mov eax, esi
pop esi
ret
Function at 0x474264
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
cmp dword [0x71d6f0], 0
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
jne 0x474297
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, dword [edi + 0x2c]
je 0x474297
cmp esi, dword [edi + 0x74]
je 0x47436c
push dword [edi + 0x2c]
call dword [sym.imp.USER32.dll_SetFocus]
cmp esi, dword [edi + 0x74]
je 0x47436c
cmp dword [edi + 0x74], 0
je 0x4742f7
and dword [ebp - 4], 0
xorps xmm0, xmm0
movlpd qword [ebp - 0x14], xmm0
movlpd qword [ebp - 0xc], xmm0
mov dword [ebp - 0x20], 0x17
mov dword [ebp - 0x1c], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0x74]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x1fc]
xor eax, eax
mov ecx, edi
push eax
push eax
push eax
push str.killfocus
push dword [edi + 0x74]
call fcn.0047407a
mov eax, dword [edi + 0x74]
and dword [edi + 0x74], 0
mov dword [edi + 0x78], eax
test esi, esi
je 0x47436c
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x40]
cmp eax, edi
jne 0x47436c
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18c]
test al, al
je 0x47436c
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1b0]
test al, al
je 0x47436c
and dword [ebp - 4], 0
xorps xmm0, xmm0
mov dword [edi + 0x74], esi
movlpd qword [ebp - 0x14], xmm0
movlpd qword [ebp - 0xc], xmm0
mov dword [ebp - 0x20], 0x18
mov dword [ebp - 0x1c], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0x74]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x1fc]
xor eax, eax
mov ecx, edi
push eax
push eax
push eax
push str.setfocus
push dword [edi + 0x74]
call fcn.0047407a
pop edi
pop esi
leave
ret 4
Function at 0x47f3ea
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x47f41c
xor eax, eax
inc eax
cmp byte [ebp + 0xc], 0
push 4
pop edx
cmovne edx, eax
xor eax, eax
cmp byte [ebp + 8], al
cmovne eax, edx
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
pop ebp
ret 8

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x719dd4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x4841ea
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4841ea
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
movzx eax, word [ebx]
test ax, ax
je 0x4842a0
push esi
mov esi, ebx
mov ecx, ebx
mov edx, eax
cmp dx, 0x2f
je 0x484209
cmp dx, 0x5c
jne 0x48420b
mov esi, ecx
add ecx, 2
movzx eax, word [ecx]
mov edx, eax
test ax, ax
jne 0x4841fd
cmp esi, ebx
je 0x484253
sub esi, ebx
lea eax, [ebp - 0x414]
and esi, 0xfffffffe
push esi
push ebx
push eax
call fcn.00632120
add esp, 0xc
cmp esi, 0x208
jae 0x4842ae
xor eax, eax
mov word [ebp + esi - 0x414], ax
lea eax, [ebp - 0x414]
push eax
push edi
call fcn.004841b6
pop ecx
pop ecx
xor eax, eax
mov word [ebp - 0x20c], ax
pop esi
test edi, edi
je 0x484270
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.00647334
pop ecx
pop ecx
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.006465d2
pop ecx
pop ecx
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4842a0
push 0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.0063024e
leave
ret
call fcn.006303b0
int3

Function at 0x4848f3
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x48499f
cmp dword [esi + 4], 0xffffffff
jne 0x48499f
push edi
lea edi, [esi + 0x244]
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push edi
call fcn.00646765
pop ecx
movzx eax, word [esi + eax*2 + 0x242]
cmp eax, 0x5c
je 0x484946
cmp eax, 0x2f
je 0x484946
push 0x669428
push edi
call fcn.006465d2
pop ecx
pop ecx
cmp dword [ebp + 0x10], 1
pop edi
jne 0x484968
push 1
push 0
push 0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x484968
mov eax, 0x2000000
jmp 0x4849a4
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004870d1
add esp, 0x10
test eax, eax
jne 0x484986
mov eax, dword [ebp - 4]
jmp 0x4849a4
push eax
call fcn.004877ab
pop ecx
xor ecx, ecx
mov dword [esi], eax
test eax, eax
mov edx, 0x200
cmove ecx, edx
mov eax, ecx
jmp 0x4849a4
mov eax, 0x1000000
pop esi
leave
ret 0xc
Function at 0x484e8b
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
xor ecx, dword [eax*4 + 0x670af0]
movzx eax, cl
add eax, dword [edx + 4]
imul eax, eax, 0x8088405
mov dword [edx], ecx
mov ecx, dword [edx + 8]
inc eax
mov dword [edx + 4], eax
shr eax, 0x18
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x670af0]
mov dword [edx + 8], ecx
pop ebp
ret

Function at 0x4871ce
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
imul ecx, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0x14]
cmp byte [edi], 0
je 0x487201
push 0
lea eax, [ebp + 0x10]
push eax
push ecx
push dword [ebp + 8]
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4871fc
mov byte [edi + 8], 1
mov eax, dword [ebp + 0x10]
jmp 0x48722b
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 + 8]
call fcn.00632120
add esp, 0xc
mov eax, esi
add dword [edi + 0x1c], esi
pop esi
xor edx, edx
div dword [ebp + 0xc]
pop edi
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x487369
xor eax, eax
pop ebp
ret
mov ecx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
not ecx
cmp esi, 8
jb 0x487428
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 + 0x670af0]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x670af0]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x670af0]
movzx eax, byte [edx + 3]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x670af0]
movzx eax, byte [edx + 4]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x670af0]
movzx eax, byte [edx + 5]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x670af0]
movzx eax, byte [edx + 6]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x670af0]
movzx eax, byte [edx + 7]
add edx, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x670af0]
sub edi, 1
jne 0x487381
pop edi
test esi, esi
je 0x487444
movzx eax, byte [edx]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x670af0]
inc edx
sub esi, 1
jne 0x48742c
not ecx
mov eax, ecx
pop esi
pop ebp
ret
Function at 0x48ea9a
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 0x48eb07
cmp dword [ebp + 8], 0x100
jne 0x48eaf6
cmp word [ebp + 0xc], 0xd
jne 0x48eaf6
cmp byte [esi + 0x322], 0
je 0x48eada
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x48eaf6
cmp byte [esi + 0x323], 0
jne 0x48eaf6
mov ecx, dword [esi + 0x9c]
test ecx, ecx
je 0x48eaf2
push edi
push edi
push edi
push 0x671ea0
push esi
call fcn.0047407a
xor eax, eax
jmp 0x48eb0a
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 0x48f7b1
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.0049eeff

Function at 0x48f7ba
Capabilities:
Log keystrokes via polling

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

Function at 0x490a3f
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x719dd4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0x14]
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 + 0xc]
mov dword [ebx + 0x28], ecx
mov ecx, dword [ebp + 8]
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 0x490aaa
call fcn.0049077c
push edi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0xc]
test esi, esi
je 0x490aaa
call fcn.0049077c
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x14]
call fcn.0049077c
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 0x490ad2
mov eax, dword [ecx]
call dword [eax + 0x40]
mov edi, eax
mov ecx, edi
call fcn.00471161
lea ecx, [ebp - 0x14]
mov ebx, eax
call fcn.0046d294
push 0
sub esp, 0x10
mov esi, eax
mov edi, esp
push 0x88
movsd dword es:[edi], dword [esi]
push connect
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.0047f266
mov edi, dword [esi + 4]
mov ebx, dword [sym.imp.USER32.dll_GetParent]
jmp 0x490b17
push edi
call ebx
mov edi, eax
push edi
call ebx
test eax, eax
jne 0x490b12
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.0063024e
leave
ret 0x1c
Function at 0x49a786
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x719dd4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
cmp byte [esi + 0x18], 0
je 0x49a811
cmp dword [esi + 0x10], 0
je 0x49a811
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
lea eax, [edi + edi]
call fcn.00631030
mov ebx, esp
test ebx, ebx
je 0x49a811
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.0046c59d
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.0047407a
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x40]
mov ecx, eax
call fcn.0047146a
test al, al
je 0x49a811
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.0063024e
leave
ret 0x10
Function at 0x49e6c9
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 0x49e70a
mov eax, dword [edi]
sub eax, 9
cmp eax, 0xc
ja 0x49e70a
mov ecx, dword [esi + 0x33c]
push edi
test ecx, ecx
je 0x49e6fe
mov eax, dword [ecx]
call dword [eax + 0x18]
jmp 0x49e8c7
mov ecx, esi
call fcn.0047a537
jmp 0x49e8c7
cmp dword [edi], 0x13
jne 0x49e737
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1b0]
test al, al
je 0x49e8c7
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x3c]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1f0]
jmp 0x49e8c7
cmp dword [edi], 3
push ebx
push 0xd
pop ebx
jne 0x49e760
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1b0]
test al, al
je 0x49e760
cmp word [edi + 0x14], bx
jne 0x49e760
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x3c]
jmp 0x49e85f
cmp dword [edi], ebx
je 0x49e781
mov ecx, dword [esi + 0x33c]
test ecx, ecx
je 0x49e7d0
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [eax + 0x257], 0
je 0x49e7d0
cmp dword [edi], 0xf
jne 0x49e7d0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1b0]
test al, al
je 0x49e8c6
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
lea esi, [esi + 0x330]
mov edi, dword [esi]
and ax, cx
mov ecx, esi
je 0x49e7c6
call dword [edi + 0x10]
neg al
mov ecx, esi
sbb al, al
inc al
movzx eax, al
push eax
call dword [edi + 0x18]
jmp 0x49e8c6
push 1
call dword [edi + 0x14]
jmp 0x49e8c6
cmp dword [edi], 0xe
jne 0x49e7f6
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1b0]
test al, al
je 0x49e8c6
xor eax, eax
push eax
push eax
push eax
push str.itemclick
jmp 0x49e89f
cmp dword [edi], 0x10
jne 0x49e81c
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1b0]
test al, al
je 0x49e8c6
xor eax, eax
push eax
push eax
push eax
push str.itemrclick
jmp 0x49e89f
cmp dword [edi], 9
je 0x49e8c6
cmp dword [edi], 0xb
jne 0x49e840
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1b0]
test al, al
je 0x49e8c6
push 1
jmp 0x49e855
cmp dword [edi], 0xa
jne 0x49e86b
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c4]
test al, al
je 0x49e8c6
push 0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c8]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1f0]
jmp 0x49e8c6
cmp dword [edi], 0x1b
jne 0x49e87f
push 0
push dword [edi + 0x1c]
push dword [edi + 0x18]
push str.timer
jmp 0x49e89f
cmp dword [edi], 0x14
jne 0x49e8ad
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x174]
test al, al
je 0x49e8ad
push 0
push dword [edi + 0x1c]
push dword [edi + 0x18]
push str.menu
mov ecx, dword [esi + 0x9c]
push esi
call fcn.0047407a
jmp 0x49e8c6
mov ecx, dword [esi + 0x33c]
push edi
test ecx, ecx
je 0x49e8bf
mov eax, dword [ecx]
call dword [eax + 0x18]
jmp 0x49e8c6
mov ecx, esi
call fcn.00475df2
pop ebx
pop edi
pop esi
pop ebp
ret 4
Function at 0x49ec1f
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 0x49ec58
mov eax, dword [edi]
sub eax, 9
cmp eax, 0xc
ja 0x49ec58
mov ecx, dword [esi + 0x2d4]
push edi
test ecx, ecx
je 0x49ed5f
mov eax, dword [ecx]
call dword [eax + 0x18]
jmp 0x49ed66
mov ecx, dword [esi + 0x2d4]
test ecx, ecx
je 0x49ecc4
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [eax + 0x257], 0
je 0x49ecc4
cmp dword [edi], 0xf
jne 0x49ecc4
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1b0]
test al, al
je 0x49ed66
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 0x49ecba
call dword [edi + 0x10]
neg al
mov ecx, esi
sbb al, al
inc al
movzx eax, al
push eax
call dword [edi + 0x18]
jmp 0x49ed66
push 1
call dword [edi + 0x14]
jmp 0x49ed66
cmp dword [edi], 0xd
je 0x49ec75
cmp dword [edi], 0xe
jne 0x49ecf8
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1b0]
test al, al
je 0x49ed66
xor eax, eax
push eax
push eax
push eax
push str.itemclick
mov ecx, dword [esi + 0x9c]
push esi
call fcn.0047407a
jmp 0x49ed66
cmp dword [edi], 0x10
jne 0x49ed17
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1b0]
test al, al
je 0x49ed66
xor eax, eax
push eax
push eax
push eax
push str.itemrclick
jmp 0x49ecea
cmp dword [edi], 9
je 0x49ed66
cmp dword [edi], 0xb
jne 0x49ed47
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1b0]
test al, al
je 0x49ed66
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 0x49ed66
cmp dword [edi], 0xa
jne 0x49ed5e
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c4]
test al, al
je 0x49ed66
push 0
jmp 0x49ed31
push edi
mov ecx, esi
call fcn.0049e8cd
pop edi
pop esi
pop ebp
ret 4
Function at 0x49f1d8
Capabilities:
Log keystrokes via polling

Disassembly:
sub ecx, 0x330
jmp fcn.0049eeff
Function at 0x4a6d7a
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 0x4a6e2b
lea eax, [ebp - 0x10]
push eax
call fcn.004a689d
mov ecx, esi
call fcn.00470cd0
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.00471161
push eax
mov ecx, ebx
call fcn.0047f266
mov esi, dword [ebx + 0x10]
mov ecx, esi
call fcn.004764c8
push eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x40]
mov ecx, eax
call fcn.00470a88
mov dword [ebp + 8], eax
lea ecx, [ebx + 0x2c]
lea eax, [ebp + 8]
push eax
call fcn.004701de
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.00632120
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 0x4a73ec
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x298
mov eax, dword [0x719dd4]
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 0x4a748a
push esi
mov esi, 0xff
push esi
push eax
lea eax, [ebp - 0x104]
push eax
call fcn.00632c20
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 0x4a748a
mov eax, dword [eax + 0xc]
push 4
push dword [eax]
lea eax, [ebp - 0x298]
push eax
call fcn.00632120
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 0x4a748c
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0063024e
leave
ret