joyce8/EMBER2024-capa huggingface dataset:
Function at 0x471db0
Capabilities:
Delete file
Move file

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x230
push esi
mov esi, ecx
test eax, eax
je 0x471e80
cmp word [eax], 0
je 0x471e80
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
lea ecx, [esp + 0x28]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x471df0
sub ecx, edx
sar ecx, 1
je 0x471e10
cmp word [esp + ecx*2 + 0x26], 0x5c
jne 0x471e10
xor eax, eax
mov word [esp + ecx*2 + 0x26], ax
lea ecx, [esp + 0x28]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x471e17
xor eax, eax
mov dword [esp + 8], 3
sub ecx, edx
mov dword [esp + 0x1a], eax
sar ecx, 1
mov dword [esp + 0x1e], eax
mov dword [esp + 0x16], eax
mov dword [esp + 4], eax
mov word [esp + ecx*2 + 0x2a], ax
mov dword [esp + 0x10], eax
lea eax, [esp + 0x28]
mov dword [esp + 0xc], eax
mov eax, 0x4054
mov word [esp + 0x14], ax
lea eax, [esp + 4]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
mov ecx, esi
setne al
movzx eax, al
push eax
call fcn.004483c0
pop esi
add esp, 0x230
ret 4
mov eax, dword [0x4e40f4]
test byte [eax + 0x100], 1
jne 0x471eae
mov ecx, dword [0x4e69cc]
push 1
push 0
push 0xffffffffffffffff
push 0x4d112c
call fcn.004a1950
pop esi
add esp, 0x230
ret 4
push 0x4bac30
push 0
push 0x4d112c
call fcn.00448320
pop esi
add esp, 0x230
ret 4
Function at 0x471ed0
Capabilities:
Get file version info

Disassembly:
sub esp, 0x10c
push ebx
push esi
push 1
push 0
push 0xffffffffffffffff
mov ebx, ecx
mov ecx, dword [0x4e8218]
push 0
call fcn.004a1950
mov esi, dword [esp + 0x118]
test esi, esi
je 0x472051
cmp word [esi], 0
je 0x472051
push ebp
lea eax, [esp + 0x10]
push eax
push esi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov ebp, eax
test ebp, ebp
jne 0x471f3d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x4e40f4]
push 1
mov dword [ecx + 0x30], eax
mov ecx, ebx
call fcn.004483c0
pop ebp
pop esi
pop ebx
add esp, 0x10c
ret 4
push edi
push ebp
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
add esp, 4
mov edi, eax
push edi
push ebp
push 0
push esi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x471fe7
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x14]
push eax
push 0x4d2050
push edi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x471fe7
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 8]
mov ecx, dword [eax + 0xc]
movzx eax, cx
push eax
shr ecx, 0x10
push ecx
movzx eax, dx
push eax
shr edx, 0x10
lea eax, [esp + 0x28]
push edx
push str._u._u._u._u
push 0x80
push eax
call fcn.0049d580
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, dword [0x4e40f4]
add esp, 0x20
mov ecx, ebx
push 0
mov dword [eax + 0x30], 0
call fcn.004483c0
mov ecx, dword [0x4e8218]
lea eax, [esp + 0x1c]
push 1
push 0
push 0xffffffffffffffff
push eax
call fcn.004a1950
pop edi
pop ebp
pop esi
pop ebx
add esp, 0x10c
ret 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x4e40f4]
push edi
mov dword [ecx + 0x30], eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, dword [0x4e40f4]
add esp, 4
test byte [eax + 0x100], 1
jne 0x472031
mov ecx, dword [0x4e69cc]
push 1
push 0
push 0xffffffffffffffff
push 0x4d112c
call fcn.004a1950
pop edi
pop ebp
pop esi
pop ebx
add esp, 0x10c
ret 4
push 0x4bac30
push 0
push 0x4d112c
mov ecx, ebx
call fcn.00448320
pop edi
pop ebp
pop esi
pop ebx
add esp, 0x10c
ret 4
mov eax, dword [0x4e40f4]
mov ecx, ebx
push 1
mov dword [eax + 0x30], 0x57
call fcn.004483c0
pop esi
pop ebx
add esp, 0x10c
ret 4
Function at 0x484870
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x5c
push ebx
push esi
mov esi, ecx
push edi
cmp dword [esi + 4], 0
je 0x484a61
mov eax, dword [esi + 0x10]
xor edi, edi
test eax, eax
je 0x4848f6
xor ebx, ebx
mov eax, dword [esi + 0x18]
add eax, ebx
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x4848b5
cmp byte [eax + 4], 6
je 0x4848b5
push str.Submit
push eax
push ecx
mov ecx, esi
call fcn.00484b40
jmp 0x4848eb
cmp dword [eax + 0x3c], 0
je 0x4848eb
cmp byte [eax + 4], 6
je 0x4848eb
mov ecx, dword [esi + 0xd4]
test ecx, ecx
jne 0x4848e1
push 0x4bac30
push str.No_object_to_invoke.
mov ecx, 0x4e8b78
call fcn.00448ad0
jmp 0x4848eb
push ecx
push eax
push ecx
mov ecx, esi
call fcn.00485560
mov eax, dword [esi + 0x10]
inc edi
add ebx, 0x40
cmp edi, eax
jb 0x484893
xor ebx, ebx
xor ecx, ecx
xor edx, edx
mov dword [esp + 0x14], ebx
xor edi, edi
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], edx
mov ebx, ecx
mov dword [esp + 0x1c], ecx
cmp ecx, eax
mov dword [esp + 0x18], ecx
je 0x484935
mov eax, dword [esi + 0x18]
mov ecx, dword [esp + 0x18]
push 0xfffffffffffffff0
push dword [eax + ecx]
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x20000
je 0x484989
mov edx, dword [esp + 0x10]
cmp edi, 1
jne 0x48496a
cmp edx, edi
jle 0x48496a
push 0xa
lea eax, [esp + 0x2c]
push eax
xor eax, eax
cmp ebx, 0xffffffff
cmovne eax, ebx
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__itow]
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x34]
add esp, 0xc
push edi
push 0
push 0xffffffffffffffff
push eax
call fcn.004a1950
mov eax, dword [esp + 0x1c]
cmp eax, dword [esi + 0x10]
je 0x484a50
xor edi, edi
mov dword [esp + 0x14], 0
xor ecx, ecx
mov dword [esp + 0x10], ecx
jmp 0x48498d
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
add edx, dword [esi + 0x18]
cmp byte [edx + 4], 6
jne 0x484a2f
mov ebx, dword [edx + 8]
inc ecx
test ebx, ebx
mov dword [esp + 0x10], ecx
mov eax, ebx
cmove eax, dword [esp + 0xc]
push 0
mov dword [esp + 0x10], eax
mov dword [esp + 0x28], eax
lea eax, [edi + 1]
push 0
cmove eax, edi
push 0xf0
push dword [edx]
mov edi, eax
mov dword [esp + 0x30], edi
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 1
jne 0x484a05
cmp dword [esp + 0x14], 0
mov ecx, 0xffffffff
mov eax, dword [esp + 0x10]
cmovne eax, ecx
mov dword [esp + 0x14], eax
test ebx, ebx
je 0x484a2f
push 1
push 0
push ecx
push 0x4d112c
mov ecx, ebx
call fcn.004a1950
jmp 0x484a2f
mov eax, dword [esp + 0xc]
mov dword [esp + 0xc], eax
test ebx, ebx
je 0x484a2f
push 1
push 0
push 0xffffffffffffffff
push 0x4bacf8
mov ecx, ebx
call fcn.004a1950
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x20]
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x1c]
add dword [esp + 0x18], 0x40
inc ecx
mov eax, dword [esi + 0x10]
mov ebx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x1c], ecx
cmp ecx, eax
jbe 0x484916
cmp byte [ebp + 8], 0
je 0x484a61
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x490210
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b8fd8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
mov ebx, ecx
mov dword [ebp - 0x14], 0
push esi
xor edx, edx
mov dword [ebp - 0x24], ebx
lea esi, [ebp - 0x24]
mov dword [ebp - 0x1c], edx
mov ecx, dword [ebx + 4]
mov eax, dword [ebx + 8]
push edi
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x18], eax
mov dword [ebx + 4], esi
mov dword [ebp - 4], edx
test eax, eax
jle 0x490338
nop dword [eax]
cmp edx, dword [ebp + 0x10]
jl 0x4902b2
cmp dword [0x4e69e4], 0
mov ecx, 0x42
mov eax, dword [0x4e40f4]
mov esi, 0x4e68b0
mov edi, eax
xorps xmm0, xmm0
rep movsd dword es:[edi], dword [esi]
mov dword [eax + 0x2c], 0
movlpd qword [0x4e9680], xmm0
je 0x4902af
mov eax, dword [0x4e5b50]
mov ecx, 0x4bac30
test eax, eax
je 0x4902a8
mov eax, dword [eax]
test eax, eax
cmovne ecx, eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebx]
add edx, edx
push 0
mov ecx, dword [eax + edx*8]
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 0xc]
mov edx, ecx
push dword [ebp + 8]
push str.call
call fcn.0048cdf0
add esp, 0x14
test eax, eax
je 0x49031a
cmp dword [ebp - 0x14], 0
jne 0x4902f9
mov edx, dword [ebp - 0x1c]
inc edx
mov dword [ebp - 0x1c], edx
cmp edx, dword [ebp - 0x18]
jl 0x490260
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x20]
mov dword [ecx + 4], edx
jmp 0x49033b
mov ecx, dword [ebp - 0x24]
mov eax, 3
mov edx, dword [ebp - 0x20]
mov dword [ecx + 4], edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp - 0x24]
xor eax, eax
mov edx, dword [ebp - 0x20]
mov dword [ecx + 4], edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov dword [ebx + 4], ecx
mov ecx, dword [ebp - 0xc]
mov eax, 1
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x495060
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x30008
call fcn.004b8370
push esi
mov esi, dword [esp + 0x3001c]
test esi, esi
je 0x49507c
cmp word [esi], 0
jne 0x495081
mov esi, str.ERROR
xor eax, eax
mov word [esp + 0x1000c], ax
mov word [esp + 4], ax
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x10]
push eax
push 0x8000
push dword [esp + 0x3001c]
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
mov eax, dword [esp + 0x30018]
mov ecx, dword [esp + 0x30014]
cmp word [eax], 0
movzx edx, word [ecx]
je 0x49510d
push edi
lea edi, [esp + 0x10]
test dx, dx
push edi
push 0xffff
lea edi, [esp + 0x10018]
push edi
push esi
push eax
lea eax, [esp + 0x1c]
cmovne eax, ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
pop edi
mov ecx, dword [0x4e8218]
lea eax, [esp + 0x1000c]
push 1
push 0
push 0xffffffffffffffff
push eax
call fcn.004a1950
pop esi
add esp, 0x30008
ret 0x10
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x10010]
push 0xffff
push eax
test dx, dx
je 0x49512d
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionW]
jmp 0x495133
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesW]
test eax, eax
je 0x4950ea
lea eax, [esp + 0x1000c]
mov ecx, 0xa
cmp word [eax], 0
jne 0x495153
cmp word [eax + 2], 0
je 0x4950ea
mov word [eax], cx
add eax, 2
jmp 0x495143
Function at 0x495160
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1000c
call fcn.004b8370
push ebx
push esi
push edi
lea eax, [ebp - 0xc]
mov esi, ecx
push eax
lea eax, [ebp - 0x1000c]
mov dword [ebp - 4], esi
push eax
push 0x8000
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
xor edx, edx
mov dword [ebp - 8], 1
lea ecx, [ebp - 0x1000c]
call fcn.0049e390
mov ebx, dword [ebp + 0x10]
test al, al
jne 0x495263
push 0
push 0
push 1
push 0
push 0
push 0x40000000
lea eax, [ebp - 0x1000c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x495260
mov ecx, ebx
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4951e0
sub ecx, edx
sar ecx, 1
lea eax, [ebx + ecx*2]
push 0
mov dword [ebp + 0x10], eax
lea edi, [ecx*2 + 2]
mov ecx, 0x5d
mov word [eax], cx
lea eax, [ebp + 0xc]
push eax
push 4
push 0x4dc3d4
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x49523a
cmp dword [ebp + 0xc], 4
jne 0x49523a
push 0
lea eax, [ebp + 0xc]
push eax
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x49523a
cmp dword [ebp + 0xc], edi
je 0x495241
mov dword [ebp - 8], 0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
neg eax
mov ecx, 0
sbb eax, eax
and eax, dword [ebp - 8]
mov eax, dword [ebp + 0x10]
mov word [eax], cx
je 0x49531f
mov esi, dword [ebp - 4]
mov eax, dword [ebp + 0x14]
cmp word [eax], 0
je 0x495280
lea ecx, [ebp - 0x1000c]
push ecx
push dword [ebp + 8]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
jmp 0x4952e1
push 0
mov ecx, esi
call fcn.0043b420
lea eax, [eax*2 + 4]
call fcn.004b83a0
mov edi, dword [ebp + 8]
mov eax, esp
mov dword [ebp + 0x10], eax
mov edx, eax
movzx ecx, word [edi]
test cx, cx
je 0x4952ce
mov esi, ecx
sub edi, eax
nop dword [eax + eax]
xor ecx, ecx
movzx eax, si
cmp si, 0xa
cmovne ecx, eax
mov word [edx], cx
add edx, 2
movzx esi, word [edi + edx]
test si, si
jne 0x4952b0
mov eax, dword [ebp + 0x10]
xor ecx, ecx
mov dword [edx], ecx
lea ecx, [ebp - 0x1000c]
push ecx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileSectionW]
mov esi, eax
lea eax, [ebp - 0x1000c]
push eax
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
test esi, esi
je 0x49531f
mov ecx, dword [0x4e69cc]
push 1
push 0
push 0xffffffffffffffff
push 0x4bacf8
call fcn.004a1950
lea esp, [ebp - 0x10018]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [0x4e40f4]
test byte [eax + 0x100], 1
jne 0x495352
mov ecx, dword [0x4e69cc]
push 1
push 0
push 0xffffffffffffffff
push 0x4d112c
call fcn.004a1950
lea esp, [ebp - 0x10018]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ebp - 4]
push 0x4bac30
push 0
push 0x4d112c
call fcn.00448320
lea esp, [ebp - 0x10018]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4a0860
Capabilities:
Create new key via cryptacquirecontext
Encrypt data using aes via winapi
Hash data using sha1
Hash data using sha1 via wincrypt
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x814
push ebx
push esi
push edi
push 0x800
lea eax, [esp + 0x24]
mov dword [esp + 0x14], edx
push 0
push eax
mov ebx, ecx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esp + 0x1c]
push 0xf0000000
push 0x18
push 0
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x4a09f2
lea eax, [esp + 0x14]
push eax
push 0
push 0
push 0x8004
push dword [esp + 0x2c]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x4a09f2
mov edx, dword [ebp + 8]
test edx, edx
je 0x4a0903
cmp dword [edx], 0
je 0x4a0903
xor ecx, ecx
mov eax, edx
mov esi, 0x4dd978
nop dword [eax]
cmp edx, 0x4e5234
jne 0x4a08ec
mov eax, esi
jmp 0x4a08ee
mov eax, dword [eax]
mov ax, word [eax]
add esi, 0xa
mov word [esp + ecx*2 + 0x20], ax
inc ecx
cmp dword [edx + ecx*4], 0
lea eax, [edx + ecx*4]
jne 0x4a08e0
lea ecx, [esp + 0x20]
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4a0910
sub ecx, edx
sar ecx, 1
push 0
lea eax, [ecx + ecx]
push eax
lea eax, [esp + 0x28]
push eax
push dword [esp + 0x20]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x4a09f2
xor eax, eax
lea edi, [esp + 0x20]
mov ecx, 0x200
rep stosd dword es:[edi], eax
mov ecx, dword [ebp + 0x10]
cmp ecx, 0x80
jne 0x4a095b
mov eax, 0x660e
jmp 0x4a096b
xor eax, eax
cmp ecx, 0xc0
setne al
add eax, 0x660f
lea edx, [esp + 0x18]
shl ecx, 0x10
push edx
push ecx
push dword [esp + 0x1c]
push eax
push dword [esp + 0x2c]
call dword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
test eax, eax
je 0x4a09f2
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
test eax, eax
je 0x4a09f2
cmp byte [ebp + 0xc], 0
je 0x4a09bb
mov eax, dword [esp + 0x10]
add eax, 0x10
push eax
lea eax, [esp + 0x14]
push eax
push ebx
push 0
push 1
push 0
push dword [esp + 0x30]
call dword [0x4e6a14]
jmp 0x4a09d1
lea eax, [esp + 0x10]
push eax
push ebx
push 0
push 1
push 0
push dword [esp + 0x2c]
call dword [0x4e6a10]
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
push 0
push dword [esp + 0x20]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4a1780
Capabilities:
Write clipboard data

Disassembly:
sub esp, 8
push ebx
mov ebx, ecx
mov ecx, 0x4e96d8
push esi
mov esi, edx
call fcn.00406520
test eax, eax
jne 0x4a17b1
push 0x4bac30
push str.Cant_open_clipboard_for_writing.
mov ecx, 0x4e8b78
call fcn.00448ad0
pop esi
pop ebx
add esp, 8
ret
push ebp
push edi
call dword [sym.imp.USER32.dll_EmptyClipboard]
lea eax, [ebx + esi]
lea esi, [ebx + 4]
mov dword [esp + 0x14], eax
cmp esi, eax
ja 0x4a1839
mov ecx, dword [ebx]
mov dword [esp + 0x10], ecx
test ecx, ecx
je 0x4a1839
mov edi, esi
add esi, 4
cmp esi, eax
ja 0x4a1839
mov edi, dword [edi]
mov ebx, esi
add esi, edi
cmp esi, eax
ja 0x4a1839
xor eax, eax
test edi, edi
sete al
add eax, edi
push eax
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
je 0x4a18ed
test edi, edi
je 0x4a1823
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x4a1888
push edi
push ebx
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ebx, esi
push ebp
push dword [esp + 0x14]
call dword [sym.imp.USER32.dll_SetClipboardData]
mov eax, dword [esp + 0x14]
lea esi, [ebx + 4]
cmp esi, eax
jbe 0x4a17c7
cmp dword [0x4e96f0], 0
je 0x4a187b
cmp dword [0x4e96e0], 0
je 0x4a1861
push dword [0x4e96d8]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov dword [0x4e96e0], 0
call dword [sym.imp.USER32.dll_CloseClipboard]
mov dword [0x4e96f0], 0
mov dword [0x4e96d8], 0
pop edi
pop ebp
pop esi
mov eax, 1
pop ebx
add esp, 8
ret
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
cmp dword [0x4e96f0], 0
je 0x4a18d1
cmp dword [0x4e96e0], 0
je 0x4a18b7
push dword [0x4e96d8]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov dword [0x4e96e0], 0
call dword [sym.imp.USER32.dll_CloseClipboard]
mov dword [0x4e96f0], 0
mov dword [0x4e96d8], 0
push 0x4bac30
push 0x4bb21c
mov ecx, 0x4e8b78
call fcn.00448ad0
pop edi
pop ebp
pop esi
pop ebx
add esp, 8
ret
cmp dword [0x4e96f0], 0
je 0x4a192f
cmp dword [0x4e96e0], 0
je 0x4a1915
push dword [0x4e96d8]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov dword [0x4e96e0], 0
call dword [sym.imp.USER32.dll_CloseClipboard]
mov dword [0x4e96f0], 0
mov dword [0x4e96d8], 0
push 0x4bac30
push 0x4cebc0
mov ecx, 0x4e8b78
call fcn.00448ad0
pop edi
pop ebp
pop esi
pop ebx
add esp, 8
ret
Function at 0x4a2600
Capabilities:
Log keystrokes

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0x14]
mov ebx, ecx
push esi
push edi
mov edi, edx
movzx eax, word [edi]
cmp eax, 0x41
je 0x4a2619
cmp eax, 0x61
jne 0x4a2681
cmp word [edi + 2], 0
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
jne 0x4a2689
cmp word [ecx], 0
jne 0x4a2689
cmp word [eax], 0
jne 0x4a2689
cmp word [ebp], 0
jne 0x4a2689
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
test esi, esi
je 0x4a2681
cmp byte [ebx + 0xea], 0
jne 0x4a2666
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4a2681
mov ecx, esi
call fcn.004a3860
test al, al
jne 0x4a2681
push esi
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x4a267a
push 9
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
test dl, dl
jne 0x4a26b3
cmp word [edi], 0
jne 0x4a26b3
cmp word [ecx], 0
jne 0x4a26b3
cmp word [eax], 0
jne 0x4a26b3
cmp word [ebp], 0
jne 0x4a26b3
mov ecx, ebx
call fcn.004a2e20
jmp 0x4a26cd
push dword [esp + 0x28]
push dword [esp + 0x28]
push 0
push edx
push ebp
push eax
push ecx
mov edx, edi
mov ecx, ebx
call fcn.004a2c80
add esp, 0x1c
test eax, eax
jne 0x4a26d6
pop edi
pop esi
pop ebp
pop ebx
ret
pop edi
pop esi
pop ebp
mov ecx, eax
pop ebx
jmp fcn.004a2770
Function at 0x4a2770
Capabilities:
Log keystrokes

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, ecx
push edi
test esi, esi
je 0x4a28e8
mov ebp, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push 0
push esi
call ebp
mov edi, eax
mov dword [esp + 0x18], edi
cmp edi, dword [0x4e82ec]
je 0x4a27a9
mov ecx, esi
call fcn.004a37e0
test al, al
jne 0x4a28e8
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push esi
mov ebx, eax
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x4a27c5
push 9
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
cmp esi, ebx
jne 0x4a27d3
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
cmp byte [0x4e6a9e], 0
jne 0x4a27ed
mov edx, ebx
mov ecx, esi
call fcn.004a26f0
test eax, eax
jne 0x4a28ea
mov byte [esp + 0x12], 0
mov byte [esp + 0x13], 0
test ebx, ebx
je 0x4a284e
push 0
push ebx
call ebp
mov ebp, eax
mov dword [esp + 0x14], ebp
test ebp, ebp
je 0x4a2856
cmp dword [0x4e82ec], ebp
je 0x4a2833
mov ecx, ebx
call fcn.004a37e0
test al, al
jne 0x4a2833
push 1
push ebp
push dword [0x4e82ec]
call dword [sym.imp.USER32.dll_AttachThreadInput]
test eax, eax
setne byte [esp + 0x12]
test edi, edi
je 0x4a2856
cmp ebp, edi
je 0x4a2856
push 1
push edi
push ebp
call dword [sym.imp.USER32.dll_AttachThreadInput]
test eax, eax
setne byte [esp + 0x13]
jmp 0x4a2856
mov eax, dword [esp + 0x18]
mov dword [esp + 0x14], eax
xor edi, edi
nop dword [eax + eax]
mov edx, ebx
mov ecx, esi
call fcn.004a26f0
mov ebp, eax
test ebp, ebp
jne 0x4a28a7
inc edi
cmp edi, 5
jl 0x4a2860
push 0xffc3d44d
push eax
push eax
push eax
mov dl, 0x12
lea ecx, [eax + 2]
call fcn.00419e30
push 0xffc3d44d
push ebp
push ebp
push ebp
mov dl, 0x12
lea ecx, [ebp + 2]
call fcn.00419e30
add esp, 0x20
mov edx, ebx
mov ecx, esi
call fcn.004a26f0
mov ebp, eax
cmp byte [esp + 0x12], 0
mov edi, dword [esp + 0x14]
mov ebx, dword [sym.imp.USER32.dll_AttachThreadInput]
je 0x4a28c3
push 0
push edi
push dword [0x4e82ec]
call ebx
cmp byte [esp + 0x13], 0
je 0x4a28d3
push 0
push dword [esp + 0x1c]
push edi
call ebx
test ebp, ebp
je 0x4a28e8
push esi
call dword [sym.imp.USER32.dll_BringWindowToTop]
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0xc
ret
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x4a2a00
Capabilities:
Check for time delay via gettickcount
Terminate process

Disassembly:
sub esp, 8
cmp byte [esp + 0xc], 0
push ebx
push esi
push edi
mov ebx, edx
mov esi, ecx
je 0x4a2a6c
lea eax, [esp + 0x10]
push eax
push 0x1f4
push 2
push 0
push 0
push 0x10
push esi
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
test eax, eax
jne 0x4a2a79
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4a2a79
push eax
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x4a2a79
push 0
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4a2a79
push 0
push 0
push 0x10
push esi
call dword [sym.imp.USER32.dll_PostMessageW]
xor edi, edi
test ebx, ebx
cmovns edi, ebx
test edi, edi
je 0x4a2ae5
push ebp
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, dword fs:[0x24]
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [esp + 0x10], eax
nop dword [eax]
cmp dword [0x4e82ec], ebx
jne 0x4a2ab9
mov edx, 1
mov ecx, 0x8000012f
call fcn.004019f0
jmp 0x4a2abd
push 0xa
call ebp
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4a2adb
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esp + 0x10]
add ecx, edi
sub ecx, eax
cmp ecx, 5
jg 0x4a2aa0
pop ebp
pop edi
mov eax, esi
pop esi
pop ebx
add esp, 8
ret
pop edi
mov eax, esi
pop esi
pop ebx
add esp, 8
ret