joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4017d5
Capabilities:
Accept command line arguments
Query environment variable
Terminate process

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x407030
push 0x402e4c
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov dl, ah
mov ecx, eax
and edx, 0xff
and ecx, 0xff
shr eax, 0x10
mov dword [0x4083f4], edx
mov dword [0x4083f0], ecx
mov dword [0x4083e8], eax
shl ecx, 8
add ecx, edx
mov dword [0x4083ec], ecx
call fcn.00402da2
mov dword [ebp - 4], 0
call fcn.00402cb4
call fcn.00402ca9
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x40a710], eax
call fcn.0040281d
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
mov dword [0x40810c], eax
call fcn.00402752
call fcn.00402415
mov eax, dword [0x408404]
mov dword [0x408408], eax
push eax
mov eax, dword [0x4083fc]
push eax
mov eax, dword [0x4083f8]
push eax
call fcn.00401000
add esp, 0xc
push eax
call fcn.00402445
jmp 0x4018b4
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
pop edi
mov dword fs:[0], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x402467
Capabilities:
Terminate process

Disassembly:
mov dword [0x408420], 1
cmp dword [esp + 8], 0
push ebx
push esi
mov ebx, dword [esp + 0x14]
mov byte [0x40841c], bl
jne 0x4024c3
cmp dword [0x409704], 0
je 0x4024b1
mov esi, dword [0x409700]
sub esi, 4
cmp dword [0x409704], esi
ja 0x4024b1
mov eax, dword [esi]
test eax, eax
je 0x4024a6
call eax
sub esi, 4
cmp dword [0x409704], esi
jbe 0x40249e
push 0x408024
push 0x40801c
call fcn.004024e6
add esp, 8
push 0x40802c
push 0x408028
call fcn.004024e6
add esp, 8
test ebx, ebx
jne 0x4024e3
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_ExitProcess]
pop esi
pop ebx
ret

Function at 0x402f3b
Capabilities:
Write file on windows

Disassembly:
mov edx, dword [esp + 4]
sub esp, 4
xor eax, eax
mov ecx, 0x408a70
push edi
cmp dword [ecx], edx
je 0x402f5a
add ecx, 8
inc eax
cmp ecx, 0x408ae8
jb 0x402f4a
shl eax, 3
cmp dword [eax + 0x408a70], edx
jne 0x402f8e
mov edx, dword [eax + 0x408a74]
push 0
lea eax, [esp + 8]
mov edi, edx
push eax
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov eax, dword [0x408720]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop edi
add esp, 4
ret
Function at 0x402fe0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov eax, dword [esp + 8]
mov ebp, esp
sub esp, 0x410
cmp eax, dword [0x4086d0]
push ebx
push esi
push edi
jb 0x403016
mov dword [0x4083dc], 9
mov dword [0x4083e0], 0
mov eax, 0xffffffff
jmp 0x403172
xor esi, esi
mov dword [ebp - 8], esi
cmp dword [ebp + 0x10], esi
jne 0x403027
xor eax, eax
jmp 0x403172
mov eax, dword [ebp + 8]
test byte [eax + 0x4086d8], 0x20
je 0x403040
push 2
push 0
push eax
call fcn.004041b9
add esp, 0xc
mov eax, dword [ebp + 8]
test byte [eax + 0x4086d8], 0x80
je 0x4030ca
mov dword [ebp - 0xc], 0
mov edi, dword [ebp + 0xc]
mov eax, edi
sub eax, dword [ebp + 0xc]
cmp eax, dword [ebp + 0x10]
jae 0x403102
lea ebx, [ebp - 0x410]
mov eax, edi
sub eax, dword [ebp + 0xc]
cmp eax, dword [ebp + 0x10]
jae 0x403094
mov al, byte [edi]
inc edi
cmp al, 0xa
jne 0x403080
inc esi
mov byte [ebx], 0xd
inc ebx
lea ecx, [ebp - 0x410]
mov byte [ebx], al
inc ebx
mov eax, ebx
sub eax, ecx
cmp eax, 0x400
jl 0x40306a
lea eax, [ebp - 0x410]
push 0
sub ebx, eax
lea ecx, [ebp - 0x410]
lea eax, [ebp - 4]
push eax
push ebx
push ecx
mov eax, dword [ebp + 8]
push dword [eax*4 + 0x408718]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4030f9
mov eax, dword [ebp - 4]
add dword [ebp - 8], eax
cmp eax, ebx
jge 0x403056
jmp 0x403102
push 0
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 8]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [eax*4 + 0x408718]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4030f9
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
jmp 0x403102
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 8], 0
jne 0x40316d
cmp dword [ebp - 0xc], 0
je 0x40313a
cmp dword [ebp - 0xc], 5
jne 0x403128
mov dword [0x4083dc], 9
mov eax, dword [ebp - 0xc]
mov dword [0x4083e0], eax
jmp 0x403133
push dword [ebp - 0xc]
call fcn.00404f98
add esp, 4
mov eax, 0xffffffff
jmp 0x403172
mov eax, dword [ebp + 8]
test byte [eax + 0x4086d8], 0x40
je 0x403152
mov eax, dword [ebp + 0xc]
cmp byte [eax], 0x1a
jne 0x403152
xor eax, eax
jmp 0x403172
mov dword [0x4083dc], 0x1c
mov dword [0x4083e0], 0
mov eax, 0xffffffff
jmp 0x403172
mov eax, dword [ebp - 8]
sub eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x403fbf
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov esi, dword [ebp + 8]
cmp esi, dword [0x4086d0]
jb 0x403ff1
mov dword [0x4083dc], 9
mov dword [0x4083e0], 0
mov eax, 0xffffffff
jmp 0x4041b2
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov dword [ebp - 8], 0
test edx, edx
je 0x4041b0
mov al, byte [esi + 0x4086d8]
test al, 2
jne 0x4041b0
test al, 0x48
je 0x404034
mov al, byte [esi + str._n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_nd]
cmp al, 0xa
je 0x404034
dec edx
mov byte [ecx], al
mov dword [ebp - 8], 1
mov byte [esi + str._n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_nd], 0xa
inc ecx
push 0
lea eax, [ebp - 0x10]
push eax
push edx
push ecx
push dword [esi*4 + 0x408718]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x40408d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x404071
mov dword [0x4083dc], 9
mov dword [0x4083e0], eax
mov eax, 0xffffffff
jmp 0x4041b2
cmp eax, 0x6d
je 0x4041b0
push eax
call fcn.00404f98
add esp, 4
mov eax, 0xffffffff
jmp 0x4041b2
mov eax, dword [ebp - 0x10]
add dword [ebp - 8], eax
mov al, byte [esi + 0x4086d8]
test al, 0x80
je 0x4041ab
mov ecx, dword [ebp + 0xc]
cmp byte [ecx], 0xa
jne 0x4040ad
or al, 4
jmp 0x4040af
and al, 0xfb
mov ebx, dword [ebp + 0xc]
mov byte [esi + 0x4086d8], al
mov edi, ebx
mov eax, dword [ebp - 8]
add eax, ebx
mov dword [ebp - 0xc], eax
cmp ebx, eax
jae 0x4041a5
mov al, byte [edi]
cmp al, 0x1a
je 0x404193
cmp al, 0xd
je 0x4040e0
inc edi
mov byte [ebx], al
jmp 0x404187
mov ecx, dword [ebp - 0xc]
dec ecx
cmp ecx, edi
jbe 0x404104
lea ecx, [edi + 1]
cmp byte [ecx], 0xa
jne 0x4040fb
add edi, 2
mov byte [ebx], 0xa
jmp 0x404187
mov edi, ecx
mov byte [ebx], al
jmp 0x404187
inc edi
push 0
lea eax, [ebp - 0x10]
lea ecx, [ebp - 1]
mov dword [ebp - 8], 0
push eax
push 1
push ecx
push dword [esi*4 + 0x408718]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x404132
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x404184
cmp dword [ebp - 0x10], 0
je 0x404184
test byte [esi + 0x4086d8], 0x48
je 0x404161
cmp byte [ebp - 1], 0xa
jne 0x404152
mov byte [ebx], 0xa
jmp 0x404187
mov byte [ebx], 0xd
inc ebx
mov al, byte [ebp - 1]
mov byte [esi + str._n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_nd], al
jmp 0x404188
cmp dword [ebp + 0xc], ebx
jne 0x404171
cmp byte [ebp - 1], 0xa
jne 0x404171
mov byte [ebx], 0xa
jmp 0x404187
push 1
push 0xffffffffffffffff
push esi
call fcn.004041b9
add esp, 0xc
cmp byte [ebp - 1], 0xa
je 0x404188
mov byte [ebx], 0xd
inc ebx
cmp edi, dword [ebp - 0xc]
jb 0x4040ca
jmp 0x4041a5
mov al, byte [esi + 0x4086d8]
test al, 0x40
jne 0x4041a5
or al, 2
mov byte [esi + 0x4086d8], al
sub ebx, dword [ebp + 0xc]
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 8]
jmp 0x4041b2
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4027e4
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebx
push esi
add esp, 0xfffffdf4
mov esi, edx
mov ebx, eax
test bl, bl
je 0x402821
xor eax, eax
mov al, bl
add eax, 0x41
dec eax
mov byte [esp], al
mov byte [esp + 1], 0x3a
mov byte [esp + 2], 0
lea eax, [esp + 0x108]
push eax
push 0x104
call sub.kernel32.dll_GetCurrentDirectoryA
push esp
call sub.kernel32.dll_SetCurrentDirectoryA
lea eax, [esp + 4]
push eax
push 0x104
call sub.kernel32.dll_GetCurrentDirectoryA
test bl, bl
je 0x402841
lea eax, [esp + 0x108]
push eax
call sub.kernel32.dll_SetCurrentDirectoryA
mov eax, esi
lea edx, [esp + 4]
mov ecx, 0x104
call fcn.00403bd8
add esp, 0x20c
pop esi
pop ebx
ret

Function at 0x40292c
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 0x40295b
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.00403a90
jmp 0x402979
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, esi
mov eax, edi
call fcn.004028b4
mov edi, eax
test ebx, ebx
je 0x402979
cmp dword [esi], 0
je 0x402979
dec ebx
jmp 0x402962
add esp, 0x108
pop edi
pop esi
pop ebx
ret
Function at 0x404d4c
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x404f04
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x404dad
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x404f20
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x404e1a
xor eax, eax
push ebp
push 0x404e13
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x404dfc
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x404f40
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x404e1a
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpyA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x404efb
cmp byte [ebp - 0xd], 0
jne 0x404e5c
cmp byte [ebp - 0x12], 0
je 0x404efb
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x404e75
dec ebx
cmp byte [ebx], 0x2e
je 0x404e84
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x404e74
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x404efb
inc ebx
cmp byte [ebp - 0x12], 0
je 0x404eb1
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x404efb
cmp byte [ebp - 0xd], 0
je 0x404efb
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x404efb
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x408508
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffefc
mov ebx, eax
push esp
push 0x104
call sub.kernel32.dll_GetCurrentDirectoryA_1
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.00403a90
add esp, 0x104
pop ebx
ret
Function at 0x40a748
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40a781
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403a90
jmp 0x40a78a
mov eax, ebx
mov edx, esi
call fcn.00403a44
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40a794
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40a7b5
mov al, byte [esp]
jmp 0x40a7b7
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x416ac4
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x416aca
ret

Function at 0x41942c
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x41947d
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x419464
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x419454
jmp 0x41947d
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x419465
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42796c
Capabilities:
Open clipboard

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x4279f6
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebx + 4], 0
jne 0x4279dd
mov eax, dword [0x485298]
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
mov dword [ebx + 8], eax
test eax, eax
jne 0x4279ab
push ebx
push 0x427a04
call fcn.0044143c
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 0x4279d9
lea edx, [ebp - 4]
mov eax, dword [0x485074]
call fcn.004050a0
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x406e80]
call fcn.0040ae88
call fcn.00403488
mov byte [ebx + 0xd], 0
inc dword [ebx + 4]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4279fd
lea eax, [ebp - 4]
call fcn.004039ac
ret

Function at 0x427a24
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.0042796c
push 1
call sub.user32.dll_GetClipboardData
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x427a96
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
je 0x427a6a
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov edx, eax
mov eax, ebx
call fcn.00403b60
jmp 0x427a71
mov eax, ebx
call fcn.004039ac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x427a9d
cmp dword [ebp - 8], 0
je 0x427a8d
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
mov eax, dword [ebp - 4]
call fcn.00427940
ret

Function at 0x427aa4
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov edi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x427b82
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0042796c
xor edx, edx
push ebp
push 0x427b65
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
je 0x427b2e
mov edx, ebx
mov eax, dword [0x416598]
call fcn.0041ab2c
test al, al
je 0x427b1e
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.0041aa00
call fcn.00403528
jmp 0x427b6c
movzx eax, bx
push eax
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
jne 0x427ae9
lea edx, [ebp - 8]
mov eax, dword [0x4850c8]
call fcn.004050a0
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x406e80]
call fcn.0040ae88
call fcn.00403488
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x427b6c
mov eax, dword [ebp - 4]
call fcn.00427940
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x427b89
lea eax, [ebp - 8]
call fcn.004039ac
ret
Function at 0x427b90
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.0042796c
xor eax, eax
push ebp
push 0x427be8
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 0x427bef
mov eax, dword [ebp - 4]
call fcn.00427940
ret

Function at 0x427bf8
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0042796c
xor edx, edx
push ebp
push 0x427c4d
push dword fs:[edx]
mov dword fs:[edx], esp
push 3
call sub.user32.dll_GetClipboardData
mov ebx, eax
push 9
call sub.user32.dll_GetClipboardData
push eax
mov ecx, ebx
mov dx, 3
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0x58]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x427c54
mov eax, dword [ebp - 4]
call fcn.00427940
ret

Function at 0x427cc4
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0042796c
xor eax, eax
push ebp
push 0x427d39
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00427924
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
lea edx, [ebp - 0xa]
mov eax, ebx
call fcn.0041ab00
mov eax, dword [ebp - 8]
push eax
movzx eax, word [ebp - 0xa]
push eax
call sub.user32.dll_SetClipboardData
cmp dword [ebp - 0x10], 0
je 0x427d23
mov eax, dword [ebp - 0x10]
push eax
push 9
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x427d40
mov eax, dword [ebp - 4]
call fcn.00427940
ret

Function at 0x427d48
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0042796c
xor eax, eax
push ebp
push 0x427dbd
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00427924
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
lea edx, [ebp - 0xa]
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0x5c]
mov eax, dword [ebp - 8]
push eax
movzx eax, word [ebp - 0xa]
push eax
call sub.user32.dll_SetClipboardData
cmp dword [ebp - 0x10], 0
je 0x427da7
mov eax, dword [ebp - 0x10]
push eax
push 9
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x427dc4
mov eax, dword [ebp - 4]
call fcn.00427940
ret
Function at 0x427e18
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.0042796c
xor eax, eax
push ebp
push 0x427e5c
push dword fs:[eax]
mov dword fs:[eax], esp
movzx eax, bx
push eax
call sub.user32.dll_GetClipboardData
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x427e63
mov eax, dword [ebp - 4]
call fcn.00427940
ret

Function at 0x42b00c
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 - 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0xc], edx
xor eax, eax
mov dword [ebp - 0x14], eax
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
cmp dword [0x486758], 0
sete dl
or al, dl
jne 0x42b150
mov eax, dword [0x48675c]
mov bx, 0xffff
call fcn.00402fcc
mov eax, dword [0x486758]
mov esi, dword [eax + 8]
dec esi
test esi, esi
jl 0x42b11f
inc esi
xor edi, edi
mov edx, edi
mov eax, dword [0x486758]
call fcn.0040f6ac
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
je 0x42b117
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0x16c], 0
je 0x42b117
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x42b117
mov eax, dword [ebp - 0x10]
call fcn.00432ef0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x42b117
push ebp
call fcn.0042afc8
pop ecx
test al, al
jne 0x42b117
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x8c]
cmp eax, dword [ebp - 0x10]
jne 0x42b0d3
mov eax, dword [ebp - 0x10]
call fcn.00431834
dec eax
jle 0x42b117
mov byte [ebp - 0x15], 1
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x15]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
mov bx, 0xffc2
call fcn.00402fcc
cmp byte [ebp - 0x15], 0
je 0x42b117
push dword [ebp - 4]
push dword [ebp - 8]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x42b117
mov edx, dword [ebp - 0x10]
mov eax, dword [0x48675c]
call fcn.0042a878
inc edi
dec esi
jne 0x42b066
mov eax, dword [0x48675c]
cmp dword [eax + 8], 0
jle 0x42b137
mov eax, dword [0x48675c]
call fcn.0042a908
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x42b150
push ebp
mov eax, dword [ebp - 0x14]
call fcn.0042ae80
pop ecx
test al, al
jne 0x42b150
xor eax, eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4309c0
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 0x4309f1
je 0x430a4b
sub eax, 7
je 0x430a12
dec eax
je 0x430a3c
sub eax, 0x17
je 0x430acc
jmp 0x430b0a
add eax, 0xffffff00
sub eax, 9
jb 0x430ab8
add eax, 0xffffff09
sub eax, 0xb
jb 0x430aa2
jmp 0x430b0a
mov eax, ebx
call fcn.0044169c
mov edi, eax
test edi, edi
je 0x430b6a
mov edx, ebx
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0xc8]
test al, al
je 0x430b73
jmp 0x430b6a
test byte [ebx + 0x44], 0x20
jne 0x430b73
jmp 0x430b6a
mov edx, esi
mov eax, ebx
call fcn.0042e2ac
cmp dword [esi + 0xc], 0xffffffff
jne 0x430b73
lea edx, [ebp - 0x120]
mov eax, dword [esi + 8]
call fcn.004069a8
lea edx, [ebp - 0x120]
lea ecx, [ebp - 0x118]
mov eax, ebx
call fcn.0042cd04
lea edx, [ebp - 0x118]
xor ecx, ecx
mov eax, ebx
call fcn.00430870
test eax, eax
je 0x430b73
mov dword [esi + 0xc], 1
jmp 0x430b73
mov edx, esi
mov eax, ebx
call fcn.00430934
test al, al
jne 0x430b73
jmp 0x430b6a
mov eax, ebx
call fcn.0042d924
test al, al
jne 0x430b73
jmp 0x430b6a
mov eax, ebx
call fcn.00432ef0
mov edi, eax
call sub.user32.dll_GetCapture
cmp edi, eax
jne 0x430b6a
cmp dword [0x484774], 0
je 0x430b6a
mov eax, dword [0x484774]
cmp ebx, dword [eax + 0x24]
jne 0x430b6a
push 0
xor ecx, ecx
mov edx, 0x1f
mov eax, dword [0x484774]
call fcn.0042e1c8
jmp 0x430b6a
mov eax, dword [0x486720]
cmp byte [eax + 0x20], 0
je 0x430b6a
mov eax, dword [0x486720]
cmp dword [eax + 0x1c], 0
je 0x430b6a
mov eax, dword [esi]
mov edx, dword [0x486720]
cmp eax, dword [edx + 0x1c]
jne 0x430b6a
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.004415b0
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, 0xffb9
call fcn.00402fcc
jmp 0x430b73
mov edx, esi
mov eax, ebx
call fcn.0042e2ac
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret