joyce8/EMBER2024-capa huggingface dataset:
Function at 0x490210
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b9068
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.004b8400
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.004a19e0
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.004b8400
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.004b8430
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.004a19e0
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.004a19e0
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 0x495ac0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x210
push ebx
push ebp
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea eax, [esp + 0x10]
push esi
push edi
push eax
push 0
push 0
push 0
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0xff
push eax
lea eax, [esp + 0x34]
mov edi, ecx
push eax
push 0
push edi
call ebx
cmp eax, 0x103
je 0x495b86
mov ebp, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
nop dword [eax + eax]
lea eax, [esp + 0x14]
push eax
mov eax, dword [0x4e40f4]
mov eax, dword [eax + 0xd0]
or eax, 0x20019
push eax
push 0
lea eax, [esp + 0x2c]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0x495b90
mov ecx, dword [esp + 0x14]
call fcn.00495ac0
push dword [esp + 0x14]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x495b90
lea eax, [esp + 0x20]
push eax
push edi
call ebp
mov esi, eax
test esi, esi
jne 0x495b90
lea eax, [esp + 0x18]
mov dword [esp + 0x10], 0xff
push eax
push esi
push esi
push esi
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x34]
push eax
push esi
push edi
call ebx
cmp eax, 0x103
jne 0x495b10
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x495ba0
Capabilities:
Delete registry key
Delete registry value

Disassembly:
push ecx
push ebx
push ebp
mov ebp, dword [esp + 0x10]
mov dword [esp + 8], ecx
push esi
push edi
test ebp, ebp
je 0x495c9e
mov edi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
test edi, edi
je 0x495bc7
cmp word [edi], 0
jne 0x495bcf
test ebx, ebx
je 0x495c9e
lea eax, [esp + 0x18]
push eax
mov eax, dword [0x4e40f4]
mov eax, dword [eax + 0xd0]
or eax, 0x2001f
push eax
push 0
push edi
push ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0x495c8f
test ebx, ebx
jne 0x495c78
mov ecx, dword [esp + 0x18]
call fcn.00495ac0
push dword [esp + 0x18]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x495c8f
mov eax, dword [0x4eb0f4]
test al, 1
jne 0x495c48
push str.RegDeleteKeyExW
or eax, 1
push 0x4dabe0
mov dword [0x4eb0f4], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, eax
mov dword [0x4eb0f8], ecx
jmp 0x495c4e
mov ecx, dword [0x4eb0f8]
mov eax, dword [0x4e40f4]
mov eax, dword [eax + 0xd0]
test eax, eax
je 0x495c6c
test ecx, ecx
je 0x495c6c
push 0
push eax
push edi
push ebp
call ecx
mov esi, eax
jmp 0x495c8f
push edi
push ebp
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov esi, eax
jmp 0x495c8f
push ebx
push dword [esp + 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [esp + 0x18]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, 0xffffffff
jne 0x495ca3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
jmp 0x495ca5
mov esi, 0x57
mov ecx, esi
mov eax, dword [0x4e40f4]
test esi, esi
mov dword [eax + 0x30], ecx
setne al
mov ecx, dword [esp + 0x10]
movzx eax, al
push eax
call fcn.004483c0
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0xc
Function at 0x49e390
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x250
push esi
mov esi, ecx
push edi
mov edi, edx
test esi, esi
je 0x49e417
cmp word [esi], 0
je 0x49e417
push 4
push 0x4dca6c
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncmp]
add esp, 0xc
mov ecx, esi
test eax, eax
jne 0x49e3c6
lea ecx, [esi + 8]
mov edx, 0x4d9f88
call fcn.004065e0
test eax, eax
je 0x49e3fe
lea eax, [esp + 8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
je 0x49e417
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
test edi, edi
je 0x49e3f6
mov eax, dword [esp + 8]
mov dword [edi], eax
mov al, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test edi, edi
je 0x49e40b
mov dword [edi], eax
cmp eax, 0xffffffff
setne al
pop edi
pop esi
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x49ea80
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
push edi
lea eax, [esp + 4]
push eax
mov eax, dword [esp + 0x1c]
or eax, 1
push eax
push 0
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, dword [esp + 0x10]
test eax, eax
jne 0x49eb20
push esi
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0x208
push eax
push edi
push 0
push 0
push dword [esp + 0x20]
push dword [esp + 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [esp + 8]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
pop esi
jne 0x49eb20
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x49eb20
shr ecx, 1
lea eax, [ecx - 1]
mov dword [esp + 0x18], eax
cmp word [edi + eax*2], 0
jne 0x49eb07
test eax, eax
je 0x49eb25
cmp word [edi + eax*2 - 2], 0
jne 0x49eb25
sub eax, 1
mov dword [esp + 0x18], eax
jne 0x49eaf3
pop edi
pop ecx
ret
mov dword [esp + 0x18], ecx
cmp ecx, 0x104
jae 0x49eb20
xor eax, eax
mov word [edi + ecx*2], ax
mov eax, dword [esp + 0x18]
pop edi
pop ecx
ret
xor eax, eax
mov word [edi], ax
pop edi
pop ecx
ret
Function at 0x49f350
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 0x24
push ebx
push ebp
push esi
mov ebp, ecx
xor ebx, ebx
mov dword [esp + 0xc], ebp
push edi
mov edi, edx
mov dword [esp + 0x24], edi
test ebp, ebp
je 0x49f37b
push 2
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
mov dword [esp + 0x1c], eax
jmp 0x49f385
mov esi, dword [0x4e6a50]
mov dword [esp + 0x1c], esi
test esi, esi
je 0x49f518
test edi, edi
jns 0x49f39a
mov eax, edi
neg eax
movzx eax, ax
jmp 0x49f3cb
test edi, edi
mov dword [esp + 0x2c], ebx
mov eax, 1
mov dword [esp + 0x30], 0x4eaad4
cmovne eax, edi
mov dword [esp + 0x28], eax
lea eax, [esp + 0x28]
push eax
push 0x49f320
push 0xe
push esi
call dword [sym.imp.KERNEL32.dll_EnumResourceNamesW]
mov eax, dword [esp + 0x30]
cmp eax, 0x4eaad4
je 0x49f4ef
push 0xe
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x49f4ef
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x49f4ef
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, eax
mov dword [esp + 0x18], ecx
test ecx, ecx
je 0x49f4ef
cmp dword [esp + 0x38], 0xffffffff
mov ebx, dword [esp + 0x3c]
cmovne ebx, dword [esp + 0x38]
test ebx, ebx
jne 0x49f42d
push 0xb
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [esp + 0x18]
mov ebx, eax
lea eax, [ecx + 6]
mov dword [esp + 0x14], 0
mov dword [esp + 0x20], eax
xor ebp, ebp
movzx eax, word [ecx + 4]
mov dword [esp + 0x18], eax
test eax, eax
je 0x49f4e9
mov edi, dword [esp + 0x20]
mov esi, 0x100
movzx edx, byte [edi]
test edx, edx
cmove edx, esi
xor ecx, ecx
cmp edx, ebp
jle 0x49f46c
cmp ebp, ebx
setl cl
jmp 0x49f471
cmp edx, ebx
setge cl
test ecx, ecx
mov eax, edi
cmove eax, dword [esp + 0x14]
add edi, 0xe
test ecx, ecx
mov dword [esp + 0x14], eax
cmove edx, ebp
sub dword [esp + 0x18], 1
mov ebp, edx
jne 0x49f457
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x24]
test eax, eax
je 0x49f4e9
movzx eax, word [eax + 0xc]
push 3
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
je 0x49f4e9
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x49f4e9
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebp, eax
test ebp, ebp
je 0x49f4e9
push 0
push 0
push 0
push 0x30000
push 1
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
push ebp
call dword [sym.imp.USER32.dll_CreateIconFromResourceEx]
mov ebx, eax
jmp 0x49f4eb
xor ebx, ebx
mov ebp, dword [esp + 0x10]
mov ecx, dword [esp + 0x40]
test ecx, ecx
je 0x49f4ff
test ebx, ebx
je 0x49f4ff
mov dword [ecx], esi
jmp 0x49f50a
test ebp, ebp
je 0x49f50a
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test ebx, ebx
je 0x49f518
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x24
ret
test edi, edi
jle 0x49f531
lea eax, [edi - 1]
push eax
push ebp
push 0
call dword [sym.imp.SHELL32.dll_ExtractIconW]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
xor eax, eax
cmp edi, 0xffffffff
cmovl eax, edi
push eax
push ebp
push 0
call dword [sym.imp.SHELL32.dll_ExtractIconW]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
Function at 0x4a1810
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 0x4a1841
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 0x4a18c9
mov ecx, dword [ebx]
mov dword [esp + 0x10], ecx
test ecx, ecx
je 0x4a18c9
mov edi, esi
add esi, 4
cmp esi, eax
ja 0x4a18c9
mov edi, dword [edi]
mov ebx, esi
add esi, edi
cmp esi, eax
ja 0x4a18c9
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 0x4a197d
test edi, edi
je 0x4a18b3
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x4a1918
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 0x4a1857
cmp dword [0x4e96f0], 0
je 0x4a190b
cmp dword [0x4e96e0], 0
je 0x4a18f1
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 0x4a1961
cmp dword [0x4e96e0], 0
je 0x4a1947
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 0x4a19bf
cmp dword [0x4e96e0], 0
je 0x4a19a5
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 0x4a2690
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 0x4a26a9
cmp eax, 0x61
jne 0x4a2711
cmp word [edi + 2], 0
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
jne 0x4a2719
cmp word [ecx], 0
jne 0x4a2719
cmp word [eax], 0
jne 0x4a2719
cmp word [ebp], 0
jne 0x4a2719
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
test esi, esi
je 0x4a2711
cmp byte [ebx + 0xea], 0
jne 0x4a26f6
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4a2711
mov ecx, esi
call fcn.004a38f0
test al, al
jne 0x4a2711
push esi
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x4a270a
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 0x4a2743
cmp word [edi], 0
jne 0x4a2743
cmp word [ecx], 0
jne 0x4a2743
cmp word [eax], 0
jne 0x4a2743
cmp word [ebp], 0
jne 0x4a2743
mov ecx, ebx
call fcn.004a2eb0
jmp 0x4a275d
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.004a2d10
add esp, 0x1c
test eax, eax
jne 0x4a2766
pop edi
pop esi
pop ebp
pop ebx
ret
pop edi
pop esi
pop ebp
mov ecx, eax
pop ebx
jmp fcn.004a2800
Function at 0x4a2800
Capabilities:
Log keystrokes

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, ecx
push edi
test esi, esi
je 0x4a2978
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 0x4a2839
mov ecx, esi
call fcn.004a3870
test al, al
jne 0x4a2978
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push esi
mov ebx, eax
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x4a2855
push 9
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
cmp esi, ebx
jne 0x4a2863
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
cmp byte [0x4e6a9e], 0
jne 0x4a287d
mov edx, ebx
mov ecx, esi
call fcn.004a2780
test eax, eax
jne 0x4a297a
mov byte [esp + 0x12], 0
mov byte [esp + 0x13], 0
test ebx, ebx
je 0x4a28de
push 0
push ebx
call ebp
mov ebp, eax
mov dword [esp + 0x14], ebp
test ebp, ebp
je 0x4a28e6
cmp dword [0x4e82ec], ebp
je 0x4a28c3
mov ecx, ebx
call fcn.004a3870
test al, al
jne 0x4a28c3
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 0x4a28e6
cmp ebp, edi
je 0x4a28e6
push 1
push edi
push ebp
call dword [sym.imp.USER32.dll_AttachThreadInput]
test eax, eax
setne byte [esp + 0x13]
jmp 0x4a28e6
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.004a2780
mov ebp, eax
test ebp, ebp
jne 0x4a2937
inc edi
cmp edi, 5
jl 0x4a28f0
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.004a2780
mov ebp, eax
cmp byte [esp + 0x12], 0
mov edi, dword [esp + 0x14]
mov ebx, dword [sym.imp.USER32.dll_AttachThreadInput]
je 0x4a2953
push 0
push edi
push dword [0x4e82ec]
call ebx
cmp byte [esp + 0x13], 0
je 0x4a2963
push 0
push dword [esp + 0x1c]
push edi
call ebx
test ebp, ebp
je 0x4a2978
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 0x4a2a90
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 0x4a2afc
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 0x4a2b09
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 0x4a2b09
push eax
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x4a2b09
push 0
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4a2b09
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 0x4a2b75
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 0x4a2b49
mov edx, 1
mov ecx, 0x8000012f
call fcn.004019f0
jmp 0x4a2b4d
push 0xa
call ebp
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4a2b6b
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esp + 0x10]
add ecx, edi
sub ecx, eax
cmp ecx, 5
jg 0x4a2b30
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