joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000bd70
Capabilities:
Check if file exists
Create process on windows
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x140
mov eax, dword [0x10047140]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push dword [ebp + 0x10]
mov esi, dword [ebp + 8]
push ebx
push esi
push str._SKUtil__SK_ShellExecute_program_s__cmdline_s__wait_d_n
call fcn.10001080
add esp, 0x10
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x1000bdc9
push str._SKUtil__SK_ShellExecute_file_not_exist
call fcn.10001080
add esp, 4
pop esi
or eax, 0xffffffff
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000db11
mov esp, ebp
pop ebp
ret
push 0xff
lea eax, [ebp - 0x103]
push 0
push eax
mov byte [ebp - 0x104], 0
call fcn.100105b0
lea eax, [ebp - 0x104]
push eax
push 0
push 0
push 0
push esi
call fcn.1000f47d
push 0x3c
lea eax, [ebp - 0x140]
push 0
push eax
call fcn.100105b0
xor eax, eax
add esp, 0x2c
cmp dword [ebp + 0x14], eax
mov dword [ebp - 0x140], 0x3c
setne al
mov dword [ebp - 0x13c], 0x40
mov dword [ebp - 0x130], esi
mov dword [ebp - 0x12c], ebx
mov dword [ebp - 0x124], eax
lea eax, [ebp - 0x140]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
je 0x1000bdb6
cmp dword [ebp + 0x10], 0
je 0x1000be79
push str._SKUtil__SK_ShellExecute_Waiting
call fcn.10001080
add esp, 4
push 0xffffffffffffffff
push dword [ebp - 0x108]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x108]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.1000db11
mov esp, ebp
pop ebp
ret
Function at 0x1000c210
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
movzx ecx, byte [esi]
mov eax, ecx
and eax, 0xf
shr ecx, 4
movzx eax, byte [eax*4 + 0x100386e8]
shl al, 4
or al, byte [ecx*4 + 0x100386e8]
movzx ecx, byte [esi + 1]
mov byte [esi], al
mov eax, ecx
and eax, 0xf
shr ecx, 4
movzx eax, byte [eax*4 + 0x100386e8]
shl al, 4
or al, byte [ecx*4 + 0x100386e8]
movzx ecx, byte [esi + 2]
mov byte [esi + 1], al
mov eax, ecx
and eax, 0xf
shr ecx, 4
movzx eax, byte [eax*4 + 0x100386e8]
shl al, 4
or al, byte [ecx*4 + 0x100386e8]
movzx ecx, byte [esi + 3]
mov byte [esi + 2], al
mov eax, ecx
and eax, 0xf
shr ecx, 4
mov dl, byte [eax*4 + 0x100386e8]
movzx eax, byte [esi]
mov edi, eax
and edi, 0xfffffffc
and eax, 3
shl edi, 3
or edi, eax
movzx eax, byte [esi + 2]
or edi, 4
shl dl, 4
or dl, byte [ecx*4 + 0x100386e8]
movzx ecx, byte [esi + 1]
shl edi, 8
or edi, eax
movzx eax, dl
shl eax, 9
or eax, ecx
or eax, 0x100
xor ebx, ebx
shl edi, 0xf
shl eax, 0xf
cmp dword [ebp + 0xc], 4
mov byte [esi + 3], dl
mov dword [ebp - 4], 4
jbe 0x1000c37b
mov esi, edi
shr esi, 6
xor esi, edi
shr esi, 3
xor esi, edi
shr esi, 0xf
and esi, 0xff
mov ecx, esi
shl ecx, 0x18
shr edi, 8
or edi, ecx
mov edx, eax
shr edx, 5
xor edx, eax
and edx, 0x7f8000
mov ecx, eax
shr ecx, 1
and ecx, 0x780000
xor edx, ecx
shr edx, 4
mov ecx, eax
and ecx, 0x78000
xor edx, ecx
mov ecx, eax
shr ecx, 0x1c
shr edx, 0xb
xor edx, dword [ecx*4 + 0x10038728]
xor esi, 0xff
mov ecx, edx
shl ecx, 0x18
add ebx, esi
mov esi, dword [ebp - 4]
shr eax, 8
or eax, ecx
mov ecx, dword [ebp + 8]
xor edx, 0xff
movzx ecx, byte [esi + ecx]
add ebx, edx
mov cl, byte [ecx + 0x100385e8]
movzx edx, bl
xor cl, dl
mov edx, dword [ebp + 8]
inc esi
mov byte [esi + edx - 1], cl
sar ebx, 8
mov dword [ebp - 4], esi
cmp esi, dword [ebp + 0xc]
jb 0x1000c2e1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000cc40
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push 0
push 0x80
push 4
push 0
push 0
push 0xc0000000
push dword [ebp + 8]
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
mov dword [ebp - 0xc], esi
cmp esi, 0xffffffff
jne 0x1000cc7d
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push edi
mov ecx, ebx
call fcn.1000cae0
mov eax, dword [ebx]
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebx + 4], eax
test eax, eax
je 0x1000cced
push 0
lea eax, [ebp - 4]
push eax
push 4
push dword [ebx + 4]
push esi
call edi
push 0
lea eax, [ebp - 4]
push eax
mov eax, dword [ebx + 4]
push 4
add eax, 4
push eax
push esi
call edi
mov eax, dword [ebx + 4]
push 0
lea ecx, [ebp - 4]
push ecx
push dword [eax + 4]
push dword [eax + 8]
push esi
call edi
mov eax, dword [ebp - 8]
add eax, 8
add eax, dword [ebp - 4]
mov dword [ebp - 8], eax
mov eax, dword [ebx + 4]
mov eax, dword [eax + 0xc]
mov dword [ebx + 4], eax
test eax, eax
jne 0x1000cca2
push 0
lea eax, [ebp - 4]
push eax
push 4
lea eax, [ebp - 0x10]
push eax
push esi
mov dword [ebp - 0x10], 0x18
call edi
mov eax, dword [ebp - 4]
add dword [ebp - 8], eax
push 0
lea eax, [ebp - 4]
push eax
push 0xf
push str.__Sim50_File__
push esi
call edi
mov eax, dword [ebp - 8]
add eax, dword [ebp - 4]
push eax
mov dword [ebp - 8], eax
call fcn.1000f2f2
add esp, 4
mov edi, eax
push 0
push 0
push esi
mov esi, dword [sym.imp.KERNEL32.dll__llseek]
call esi
push 0
lea eax, [ebp - 4]
push eax
push dword [ebp - 8]
push edi
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
push 0
push dword [ebp - 0xc]
call esi
mov esi, dword [ebp - 0xc]
push 0
lea eax, [ebp - 4]
push eax
push 4
lea eax, [ebp - 8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [ebp - 8]
push edi
call fcn.1000cde0
add esp, 8
lea eax, [ebp - 4]
push 0
push eax
push dword [ebp - 8]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call fcn.1000f27d
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x104
push dword [ebp + 8]
lea esi, [ebx + 0xc]
push esi
call fcn.10010ca0
add esp, 0xc
lea ecx, [esi + 2]
pop edi
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x1000cdb1
sub esi, ecx
sar esi, 1
inc esi
mov dword [ebx + 0x214], esi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x1000cde0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push edi
movzx ecx, byte [ebx]
movzx edi, byte [ebx + 3]
mov eax, ecx
and eax, 0xfffffffc
shl eax, 3
and ecx, 3
or eax, ecx
movzx ecx, byte [ebx + 2]
or eax, 4
shl eax, 8
or eax, ecx
movzx ecx, byte [ebx + 1]
shl edi, 9
or edi, ecx
or edi, 0x100
shl eax, 0xf
shl edi, 0xf
cmp dword [ebp + 0xc], 4
mov dword [ebp - 4], 0
mov dword [ebp + 8], 4
jbe 0x1000ced1
push esi
mov esi, eax
shr esi, 6
xor esi, eax
shr esi, 3
xor esi, eax
shr esi, 0xf
and esi, 0xff
mov ecx, esi
shl ecx, 0x18
shr eax, 8
or eax, ecx
mov edx, edi
shr edx, 5
xor edx, edi
and edx, 0x7f8000
mov ecx, edi
shr ecx, 1
and ecx, 0x780000
xor edx, ecx
shr edx, 4
mov ecx, edi
and ecx, 0x78000
xor edx, ecx
mov ecx, edi
shr ecx, 0x1c
shr edx, 0xb
xor edx, dword [ecx*4 + 0x10038728]
xor esi, 0xff
add esi, dword [ebp - 4]
mov ecx, edx
shl ecx, 0x18
xor edx, 0xff
shr edi, 8
or edi, ecx
lea ecx, [esi + edx]
mov esi, dword [ebp + 8]
movzx edx, cl
sar ecx, 8
mov dword [ebp - 4], ecx
movzx ecx, byte [esi + ebx]
xor ecx, edx
inc esi
mov cl, byte [ecx + 0x100384e8]
mov byte [esi + ebx - 1], cl
mov dword [ebp + 8], esi
cmp esi, dword [ebp + 0xc]
jb 0x1000ce37
pop esi
movzx ecx, byte [ebx]
mov eax, ecx
and eax, 0xf
shr ecx, 4
movzx eax, byte [eax*4 + 0x100386e8]
shl al, 4
or al, byte [ecx*4 + 0x100386e8]
movzx ecx, byte [ebx + 1]
mov byte [ebx], al
mov eax, ecx
and eax, 0xf
shr ecx, 4
movzx eax, byte [eax*4 + 0x100386e8]
shl al, 4
or al, byte [ecx*4 + 0x100386e8]
movzx ecx, byte [ebx + 2]
mov byte [ebx + 1], al
mov eax, ecx
and eax, 0xf
shr ecx, 4
movzx eax, byte [eax*4 + 0x100386e8]
shl al, 4
or al, byte [ecx*4 + 0x100386e8]
movzx ecx, byte [ebx + 3]
mov byte [ebx + 2], al
mov eax, ecx
and eax, 0xf
shr ecx, 4
movzx eax, byte [eax*4 + 0x100386e8]
shl al, 4
or al, byte [ecx*4 + 0x100386e8]
pop edi
mov byte [ebx + 3], al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1001fc9b
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10047140]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.10018179
mov dword [ebp - 0x14], eax
cmp dword [0x1004a764], edi
jne 0x1001fd8c
push 0x800
push edi
push 0x1003dc08
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x1001fd19
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x1001fe6c
push 0x1003dc08
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x1001fe6c
push str.MessageBoxW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1001fe6c
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x1004a764], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x1004a768], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x1004a76c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x1004a774], eax
test eax, eax
je 0x1001fd89
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x1004a770], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x1001fdb1
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1001fda4
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x1001fdc6
push 4
pop eax
jmp 0x1001fe6e
cmp dword [ebp - 0x14], edi
je 0x1001fdc6
push dword [0x1004a764]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x1001fdab
mov eax, dword [0x1004a770]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x1001fe24
cmp dword [0x1004a774], esi
je 0x1001fe24
push eax
call ebx
push dword [0x1004a774]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x1001fe24
test eax, eax
je 0x1001fe24
call ecx
test eax, eax
je 0x1001fe19
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x1001fe19
test byte [ebp - 8], 1
jne 0x1001fe24
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x1001fe54
mov eax, dword [0x1004a768]
cmp eax, esi
je 0x1001fe51
push eax
call ebx
test eax, eax
je 0x1001fe51
call eax
mov edi, eax
test edi, edi
je 0x1001fe51
mov eax, dword [0x1004a76c]
cmp eax, esi
je 0x1001fe51
push eax
call ebx
test eax, eax
je 0x1001fe51
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x1004a764]
call ebx
test eax, eax
je 0x1001fe6c
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x1001fe6e
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000db11
leave
ret
Function at 0x10026c37
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.1001934f
mov esi, dword [ebp + 8]
push 2
mov edi, eax
lea eax, [ebp - 4]
push eax
mov ecx, esi
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x10026c6f
xor eax, eax
jmp 0x10026c9b
cmp esi, dword [ebp - 4]
je 0x10026c98
cmp dword [ebp + 0xc], 0
je 0x10026c98
push dword [edi + 0x9c]
call fcn.10026845
push dword [edi + 0x9c]
mov esi, eax
call fcn.1001fc35
pop ecx
pop ecx
cmp esi, eax
je 0x10026c6b
xor eax, eax
inc eax
pop edi
pop esi
leave
ret
Function at 0x402914
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov esi, edx
mov ebx, eax
test ebx, ebx
jne 0x402943
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00403ce0
jmp 0x402961
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, esi
mov eax, edi
call fcn.0040289c
mov edi, eax
test ebx, ebx
je 0x402961
cmp dword [esi], 0
je 0x402961
dec ebx
jmp 0x40294a
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x402bac
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
imul edx, dword [0x53d044], 0x8088405
inc edx
mov dword [0x53d044], edx
mul edx
mov eax, edx
ret

Function at 0x402d24
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [section.DATA]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x402dbc
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x402d9c
xor eax, eax
push ebp
push 0x402d95
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x402dd8
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x402d9c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [section.DATA]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [section.DATA], ax
mov esp, ebp
pop ebp
ret

Function at 0x403bac
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, 8
call fcn.00402744
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x53d049], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x403b74
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x42e93c
Capabilities:
Open clipboard

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 4], 0
jne 0x42e990
mov eax, dword [0x53be94]
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
mov dword [ebx + 8], eax
test eax, eax
jne 0x42e968
push ebx
push 0x42e998
call fcn.00449704
mov dword [ebx + 8], eax
mov byte [ebx + 0xc], 1
mov eax, dword [ebx + 8]
push eax
call sub.user32.dll_OpenClipboard
test eax, eax
jne 0x42e98c
mov ecx, dword [0x53b86c]
mov dl, 1
mov eax, dword [0x407e40]
call fcn.0040c4d8
call fcn.00403644
mov byte [ebx + 0xd], 0
inc dword [ebx + 4]
pop ebx
ret

Function at 0x42e9b8
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0042e93c
push 1
call sub.user32.dll_GetClipboardData
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x42ea2a
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
je 0x42e9fe
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov edx, eax
mov eax, ebx
call fcn.00403db0
jmp 0x42ea05
mov eax, ebx
call fcn.00403bf8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42ea31
cmp dword [ebp - 8], 0
je 0x42ea21
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
mov eax, dword [ebp - 4]
call fcn.0042e910
ret

Function at 0x42ea38
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0042e93c
xor edx, edx
push ebp
push 0x42eada
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
je 0x42eaad
mov edx, ebx
mov eax, dword [0x41a850]
call fcn.0041ee9c
test al, al
je 0x42ea9d
movzx eax, bx
push eax
call sub.user32.dll_GetClipboardData
mov esi, eax
push 9
call sub.user32.dll_GetClipboardData
push eax
mov ecx, esi
mov edx, ebx
mov eax, edi
call fcn.0041edac
call fcn.004036e4
jmp 0x42eae1
movzx eax, bx
push eax
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
jne 0x42ea68
mov ecx, dword [0x53b990]
mov dl, 1
mov eax, dword [0x407e40]
call fcn.0040c4d8
call fcn.00403644
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42eae1
mov eax, dword [ebp - 4]
call fcn.0042e910
ret
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x42eae8
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0042e93c
xor eax, eax
push ebp
push 0x42eb40
push dword fs:[eax]
mov dword fs:[eax], esp
push 2
call sub.user32.dll_GetClipboardData
mov ebx, eax
push 9
call sub.user32.dll_GetClipboardData
mov esi, eax
push esi
mov ecx, ebx
mov dx, 2
mov eax, edi
mov ebx, dword [eax]
call dword [ebx + 0x58]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42eb47
mov eax, dword [ebp - 4]
call fcn.0042e910
ret
Function at 0x431a90
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 0xc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
cmp dword [0x53d788], 0
sete dl
or al, dl
jne 0x431bd0
mov eax, dword [0x53d78c]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x53d788]
mov esi, dword [eax + 8]
dec esi
test esi, esi
jl 0x431b9f
inc esi
xor edi, edi
mov edx, edi
mov eax, dword [0x53d788]
call fcn.00411b18
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x431b97
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x168], 0
je 0x431b97
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x4c]
test al, al
je 0x431b97
mov eax, dword [ebp - 0x14]
call fcn.00439da0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x431b97
push ebp
call fcn.00431a4c
pop ecx
test al, al
jne 0x431b97
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x90]
cmp eax, dword [ebp - 0x14]
jne 0x431b53
mov eax, dword [ebp - 0x14]
call fcn.0043872c
dec eax
jle 0x431b97
mov byte [ebp - 1], 1
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov bx, 0xffc1
call fcn.00403088
cmp byte [ebp - 1], 0
je 0x431b97
push dword [ebp - 8]
push dword [ebp - 0xc]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x431b97
mov edx, dword [ebp - 0x14]
mov eax, dword [0x53d78c]
call fcn.00431298
inc edi
dec esi
jne 0x431ae6
mov eax, dword [0x53d78c]
cmp dword [eax + 8], 0
jle 0x431bb7
mov eax, dword [0x53d78c]
call fcn.00431328
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x431bd0
push ebp
mov eax, dword [ebp - 0x18]
call fcn.004318b4
pop ecx
test al, al
jne 0x431bd0
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x437738
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
mov eax, dword [esi]
cmp eax, 0x84
jg 0x437769
je 0x4377c3
sub eax, 7
je 0x43778a
dec eax
je 0x4377b4
sub eax, 0x17
je 0x437868
jmp 0x4378a6
add eax, 0xffffff00
sub eax, 9
jb 0x437854
add eax, 0xffffff09
sub eax, 0xb
jb 0x43781c
jmp 0x4378a6
mov eax, ebx
call fcn.0044992c
mov edi, eax
test edi, edi
je 0x437906
mov edx, ebx
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0xd4]
test al, al
je 0x43790f
jmp 0x437906
test byte [ebx + 0x44], 0x20
jne 0x43790f
jmp 0x437906
mov edx, esi
mov eax, ebx
call fcn.00434d38
cmp dword [esi + 0xc], 0xffffffff
jne 0x43790f
push 0
lea edx, [ebp - 0x120]
mov eax, dword [esi + 8]
call fcn.00407948
lea edx, [ebp - 0x120]
lea ecx, [ebp - 0x118]
mov eax, ebx
call fcn.0043386c
lea edx, [ebp - 0x118]
xor ecx, ecx
mov eax, ebx
call fcn.00437610
test eax, eax
je 0x43790f
mov dword [esi + 0xc], 1
jmp 0x43790f
mov edx, esi
mov eax, ebx
call fcn.004376a4
test al, al
je 0x437906
cmp dword [esi + 0xc], 0
jne 0x43790f
mov eax, dword [esi + 8]
push eax
mov eax, dword [esi + 4]
push eax
mov eax, dword [esi]
push eax
mov eax, ebx
call fcn.00439da0
push eax
call sub.user32.dll_DefWindowProcA
jmp 0x43790f
mov eax, ebx
call fcn.004343d4
test al, al
jne 0x43790f
jmp 0x437906
mov eax, ebx
call fcn.00439da0
mov edi, eax
call sub.user32.dll_GetCapture
cmp edi, eax
jne 0x437906
cmp dword [0x50a8a0], 0
je 0x437906
mov eax, dword [0x50a8a0]
cmp ebx, dword [eax + 0x24]
jne 0x437906
push 0
xor ecx, ecx
mov edx, 0x1f
mov eax, dword [0x50a8a0]
call fcn.00434c6c
jmp 0x437906
mov eax, dword [0x53d750]
cmp byte [eax + 0x20], 0
je 0x437906
mov eax, dword [0x53d750]
cmp dword [eax + 0x1c], 0
je 0x437906
mov eax, dword [esi]
mov edx, dword [0x53d750]
cmp eax, dword [edx + 0x1c]
jne 0x437906
lea eax, [ebp - 0x110]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [esi]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x110]
call fcn.00449870
mov byte [ebp - 0xc], al
mov ax, word [esi + 4]
mov word [ebp - 0xa], ax
mov eax, dword [esi + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, ebx
mov bx, 0xffb7
call fcn.00403088
jmp 0x43790f
mov edx, esi
mov eax, ebx
call fcn.00434d38
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x449648
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x53d7e8
cmp dword [edi], 0
jne 0x4496c4
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x53d7e4]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x50aa34
mov ecx, 2
call fcn.0040285c
mov edx, 0x449620
lea eax, [esi + 5]
call fcn.00449640
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00449640
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x449699
mov dword [0x53d7e4], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x4497e0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x449830]
test si, 4
je 0x4497f4
or bl, 1
test si, 8
je 0x4497fe
or bl, 4
test si, 1
je 0x449808
or bl, 8
test si, 2
je 0x449812
or bl, 0x10
test si, 0x10
je 0x44981c
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44982b
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x449834
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44986c]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44984d
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44985c
or bl, 4
test esi, 0x20000000
je 0x449867
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret