joyce8/EMBER2024-capa huggingface dataset:
Function at 0x493ef7
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x493f2f
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00491f9c
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00491f74
jmp 0x493f3b
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4955ec
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x49562e
call fcn.0049b178
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x49562e
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x495625
xor eax, eax
jmp 0x495636
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0049563c
pop edi
pop esi
pop ebx
ret 4

Function at 0x49b6a8
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x49b6d6
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x49b6f4
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0049b60e
jmp 0x49b6f4
mov eax, dword [esi + 0x14]
test eax, eax
je 0x49b6f4
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0049b60e
test edi, edi
mov eax, edi
jne 0x49b6de
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8

Function at 0x401200
Capabilities:
Encode data using xor

Disassembly:
push 0x401378
call sub.MSVBVM60.DLL_ThunRTMain
add byte [eax], al
add byte [eax], al
add byte [eax], al
xor byte [eax], al
add byte [eax], al
inc eax
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [ebx - 0xd], cl
cwde
stosb byte es:[edi], al
jno 0x40120e
cmpsb byte [esi], byte es:[edi]
inc eax
test dword [edx - 0x54], ebp
mov ah, 0x7f
inc esp
xor byte [ecx], bh
add byte [eax], al
add byte [eax], al
add byte [ecx], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax + 0x72], dl
outsd dx, dword [esi]
push 0x65
arpl word [ecx + esi], si
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add bh, bh
int3
Function at 0xcf33b3
Capabilities:
Encode data using xor

Disassembly:
jmp 0xcdd462
xor ecx, ecx
cmp dword [esp + 8], ecx
jbe 0xcdd47e
mov edx, dword [esp + 4]
movzx edx, byte [ecx + edx]
rol eax, 7
xor eax, edx
inc ecx
cmp ecx, dword [esp + 8]
jb 0xcdd46a
jmp 0xcdd489
ret
lea esp, [esp + 4]
jmp 0xcdd457
Function at 0x10019ea
Capabilities:
Shutdown system

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
lea eax, [ebp - 4]
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
xor esi, esi
test eax, eax
je 0x1001a54
lea eax, [ebp - 0xc]
push eax
push 0x1001244
push esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x1001a4b
mov eax, dword [ebp - 0xc]
push esi
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
push esi
push esi
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x1c]
push eax
push esi
push dword [ebp - 4]
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x10], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x80010002
push 1
push esi
push esi
push esi
push esi
call dword [sym.imp.ADVAPI32.dll_InitiateSystemShutdownExW]
pop esi
leave

Function at 0x1001d19
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
xor ecx, ecx
push 2
pop edx
mov eax, 0x1002
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
pop ecx
test esi, esi
je 0x1001dd5
push ebx
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 4], 0x2000
jmp 0x1001d94
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
jne 0x1001dc6
cmp dword [ebp - 8], 7
jne 0x1001dc6
mov ebx, dword [ebp - 4]
push esi
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
mov eax, ebx
shr eax, 1
inc eax
xor ecx, ecx
push 2
inc eax
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x1001dd1
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp - 8]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call edi
test eax, eax
jne 0x1001d56
mov eax, dword [ebp - 4]
shr eax, 1
lea eax, [esi + eax*2]
xor ecx, ecx
push esi
mov word [eax], cx
mov word [eax + 2], cx
call fcn.01001ba8
test eax, eax
jne 0x1001dd3
test esi, esi
je 0x1001dd1
push esi
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
xor eax, eax
pop edi
pop ebx
pop esi
leave
ret 8
Function at 0x1004bc3
Capabilities:
Check if file exists

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x10091f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x18]
push edi
push 2
xor edi, edi
pop ecx
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x214], edi
cmp dword [ebp + 0xc], edi
je 0x1004bfa
push 3
pop eax
jmp 0x1004cfb
cmp dword [ebp + 0x14], ecx
jl 0x1004bf2
mov ecx, dword [eax]
cmp word [ecx], di
je 0x1004bf2
push ebx
mov ebx, dword [eax + 4]
cmp word [ebx], di
jne 0x1004c17
push 3
pop eax
jmp 0x1004cfa
push esi
push edi
lea eax, [ebp - 0x20c]
push eax
mov esi, 0x104
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
cmp eax, esi
jae 0x1004cf6
cmp eax, edi
je 0x1004cf6
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1004cf6
push 0x10016a0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x21c], eax
cmp eax, edi
je 0x1004cee
push 0x100167c
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x218], eax
cmp eax, edi
je 0x1004ce2
mov esi, dword [sym.imp.msvcrt.dll___iob_func]
lea eax, [ebp - 0x20c]
push eax
push ebx
push 0xeeae
call esi
add eax, 0x20
push eax
call fcn.010018a5
add esp, 0x10
lea eax, [ebp - 0x214]
push eax
push 1
lea eax, [ebp - 0x20c]
push eax
push ebx
push edi
call dword [ebp - 0x218]
test eax, eax
je 0x1004ce2
push 0xeeb2
call esi
add eax, 0x20
push eax
call fcn.010018a5
xor eax, eax
cmp dword [ebp - 0x214], edi
pop ecx
setne al
pop ecx
mov dword [ebp - 0x210], eax
push dword [ebp - 0x21c]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp - 0x210]
jmp 0x1004cf9
push 2
pop eax
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.01006a91
leave
ret 0x14
Function at 0x1006a6b
Capabilities:
Terminate process

Disassembly:
push 0x10
push 0x1007330
call fcn.01006f54
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov dword [ebp - 0x1c], ebx
mov edi, 0x1009868
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
cmp eax, ebx
je 0x1006880
cmp eax, esi
jne 0x1006873
xor esi, esi
inc esi
mov dword [ebp - 0x1c], esi
jmp 0x1006883
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x100685a
xor esi, esi
inc esi
mov eax, dword [0x1009864]
cmp eax, esi
jne 0x1006896
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x10068d1
mov eax, dword [0x1009864]
test eax, eax
jne 0x10068cb
mov dword [0x1009864], esi
push 0x1001214
push 0x1001208
call fcn.010067d7
pop ecx
pop ecx
test eax, eax
je 0x10068d1
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x100699b
mov dword [0x100952c], esi
mov eax, dword [0x1009864]
cmp eax, esi
jne 0x10068f5
push 0x1001204
push 0x10011fc
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x1009864], 2
cmp dword [ebp - 0x1c], ebx
jne 0x1006902
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x1009870], ebx
je 0x1006923
push 0x1009870
call fcn.01006ec9
pop ecx
test eax, eax
je 0x1006923
push ebx
push 2
push ebx
call dword [0x1009870]
push dword [0x1009514]
push dword [0x1009518]
push dword [0x1009510]
call fcn.01002412
add esp, 0xc
mov dword [0x1009528], eax
cmp dword [0x100951c], ebx
jne 0x1006981
push eax
call dword [sym.imp.msvcrt.dll_exit]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov ecx, dword [ecx]
mov dword [ebp - 0x20], ecx
push eax
push ecx
call sub.msvcrt.dll__XcptFilter
pop ecx
pop ecx
ret
cmp dword [0x100952c], ebx
jne 0x100698f
call dword [sym.imp.msvcrt.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x1009528]
call fcn.01006f99
ret
call fcn.010070a2
jmp 0x1006838
Function at 0x403028
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x46d020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x4030c0
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4030a0
xor eax, eax
push ebp
push 0x403099
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 0x4030dc
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 0x4030a0
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x46d020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x46d020], ax
mov esp, ebp
pop ebp
ret

Function at 0x403d8c
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x46f04c], 0
je 0x403ded
cmp word [0x46f220], 0xd7b2
jne 0x403db5
cmp dword [0x46f228], 0
jbe 0x403db5
mov eax, 0x46f21c
call dword [0x46f238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x46d06c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x403e14
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x46d030], 0
jne 0x403e09
push 0
push 0x46d064
push 0x46d06c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x405da4
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x405e0a
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.00404178
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402bec
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405df4
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405e11
lea eax, [ebp - 0x10]
call fcn.00403f08
ret

Function at 0x40af0c
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 0x40af45
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403ff8
jmp 0x40af4e
mov eax, ebx
mov edx, esi
call fcn.00403f5c
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40af58
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 0x40af79
mov al, byte [esp]
jmp 0x40af7b
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40b600
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40b478
mov eax, dword [0x46e244]
cmp byte [eax], 0
je 0x40b67c
mov eax, dword [0x46e038]
call fcn.00402a58
call fcn.004028ac
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.0040874c
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40b6c4
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40b6b2
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x46dfe4]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x46f668]
call fcn.0040529c
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret
Function at 0x40bf6c
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40c042
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00403fa0
lea eax, [ebp - 8]
call fcn.00404418
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.004043c8
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40c02c
mov eax, ebx
call fcn.00402744
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40c025
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.004043c8
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40c00f
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40c054
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40c00f
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c02c
mov eax, dword [ebp - 0x10]
call fcn.00402764
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c049
lea eax, [ebp - 8]
call fcn.00403f08
ret

Function at 0x40c554
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x40c5b8
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00404178
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408274
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c5bf
lea eax, [ebp - 0xc]
call fcn.00403f08
ret

Function at 0x41e094
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x46f888
cmp dword [edi], 0
jne 0x41e110
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x46f884]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x46d3fc
mov ecx, 2
call fcn.00402940
mov edx, 0x41e06c
lea eax, [esi + 5]
call fcn.0041e08c
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041e08c
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 0x41e0e5
mov dword [0x46f884], 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 0x41f73c
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 0x41f742
ret
Function at 0x421d7c
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 0x421dcd
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x421db4
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x421da4
jmp 0x421dcd
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 0x421db5
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42aeb0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.004043b8
xor eax, eax
push ebp
push 0x42afde
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x42afb1
xor eax, eax
push ebp
push 0x42afaa
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004041c8
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x42af7f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov ebx, eax
xor eax, eax
push ebp
push 0x42af6e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004041c8
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.004043c8
mov edx, ebx
pop ecx
call fcn.00402940
call sub.user32.dll_EmptyClipboard
mov eax, dword [ebp - 8]
push eax
push 1
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42af75
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x46df7c]
mov dl, 1
mov eax, dword [0x40714c]
call fcn.0040b790
call fcn.00403944
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42afe5
lea eax, [ebp - 4]
call fcn.00403f08
ret
Function at 0x42afec
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x42b19d
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.004045b8
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x42b1b4
call fcn.00404214
mov eax, ebx
call fcn.0041d628
mov edi, eax
dec edi
test edi, edi
jl 0x42b0a4
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.0041d5fc
mov edx, dword [0x432c24]
call fcn.00403344
test al, al
je 0x42b0a0
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.0041d5fc
lea edx, [ebp - 0x14]
call fcn.0043adac
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.004045b8
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404288
inc esi
dec edi
jne 0x42b052
mov al, byte [0x42b1b8]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x42b1c4
mov eax, dword [ebp - 0xc]
call fcn.0040cb2c
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.00403fa0
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
lea edx, [ebp - 0x70]
mov eax, ebx
call fcn.0043adac
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x42b1b4
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
lea edx, [ebp - 0x74]
mov eax, dword [ebx + 0x2f8]
call fcn.0043adac
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x42b1b4
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
mov eax, 0x42b1b4
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x6c]
mov ecx, 9
mov eax, 0x42b1d0
call fcn.00408e14
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42b1a4
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.00403f2c
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00403f2c
lea eax, [ebp - 0x14]
call fcn.00403f08
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00403f2c
ret

Function at 0x435438
Capabilities:
Enumerate gui resources

Disassembly:
mov byte [eax + 0xc], 0
mov byte [eax + 0xd], 0
xor edx, edx
mov dword [eax + 4], edx
push eax
push 0x435384
call sub.user32.dll_EnumWindows
ret
Function at 0x435558
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x4355d5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00434fb8
call sub.kernel32.dll_GetTickCount
mov ebx, eax
push 0
call sub.kernel32.dll_Sleep
call sub.kernel32.dll_GetTickCount
sub eax, ebx
cmp eax, 0x3e8
jbe 0x43557d
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.00434bb8
cmp dword [ebp - 4], 0
je 0x4355bf
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.004043c8
push eax
mov eax, dword [esi + 0x1c]
mov edx, dword [eax]
call dword [edx + 0xc]
push eax
call sub.user32.dll_WinHelpA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4355dc
lea eax, [ebp - 4]
call fcn.00403f08
ret

Function at 0x4388fc
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 - 9]
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
cmp dword [0x46fb84], 0
je 0x438a4b
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x46e1dc]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x438a4b
mov eax, dword [0x46fb88]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x46fb84]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x438a1a
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x46fb84]
call fcn.0041764c
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x438a12
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x438a12
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x438a12
mov eax, dword [ebp - 0x14]
call fcn.004415cc
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x438a12
push ebp
call fcn.004388b8
pop ecx
test al, al
jne 0x438a12
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x4389ce
mov eax, dword [ebp - 0x14]
call fcn.004400c4
dec eax
jle 0x438a12
mov byte [ebp - 1], 1
lea eax, [ebp - 9]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbd
call fcn.004033b4
cmp byte [ebp - 1], 0
je 0x438a12
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x438a12
mov edx, dword [ebp - 0x14]
mov eax, dword [0x46fb88]
call fcn.00438084
inc edi
dec ebx
jne 0x438961
mov eax, dword [0x46fb88]
cmp dword [eax + 8], 0
jle 0x438a32
mov eax, dword [0x46fb88]
call fcn.00438114
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x438a4b
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00438720
pop ecx
test al, al
jne 0x438a4b
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