joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42e133
Capabilities:
Get process heap force flags

Disassembly:
mov eax, 0x43ef49
call fcn.0043a4b0
push ecx
mov al, byte [ebp + 0xb]
push ebx
push esi
mov esi, ecx
push edi
push 0
mov dword [ebp - 0x10], esi
mov byte [esi], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
mov ebx, dword [ebp + 8]
and dword [ebp - 4], 0
lea edi, [esi + 0x10]
push 0
mov al, byte [ebx]
mov ecx, edi
mov byte [edi], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::npos]
mov ecx, edi
push dword [eax]
push 0
push ebx
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::assign_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const___unsigned_int__unsigned_int_]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x20], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x24], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x28], eax
mov eax, dword [ebp + 0x18]
mov dword [esi + 0x2c], eax
mov eax, dword [ebp + 0x1c]
mov dword [esi + 0x30], eax
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x18

Function at 0x42e501
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x43efdf
call fcn.0043a4b0
push ecx
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
push edi
xor edi, edi
mov dword [ebp - 0x10], esi
mov dword [esi], eax
mov al, byte [ebp + 0xb]
mov byte [esi + 4], al
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov al, byte [ebp + 0xb]
lea ecx, [esi + 0x14]
push edi
mov dword [ebp - 4], edi
mov byte [ecx], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x40], edi
mov byte [esi + 0x34], 1
mov dword [esi + 0x2c], 0x96
mov dword [esi + 0x30], 0xf
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 4
Function at 0x430258
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30c
push edi
push 0x7d
pop ecx
xor eax, eax
lea edi, [ebp - 0x308]
push 0x45
rep stosd dword es:[edi], eax
pop ecx
lea edi, [ebp - 0x114]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x30c], 0x1f8
push eax
mov dword [ebp - 0x114], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x110], 6
pop edi
jae 0x4302ac
sub dword [ebp - 0x30c], 4
lea eax, [ebp - 0x30c]
push 0
push eax
push 0x1f8
push 0x29
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
lea eax, [ebp - 0x174]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
leave
ret

Function at 0x4302d1
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30c
push edi
push 0x7d
pop ecx
xor eax, eax
lea edi, [ebp - 0x308]
push 0x45
rep stosd dword es:[edi], eax
pop ecx
lea edi, [ebp - 0x114]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x30c], 0x1f8
push eax
mov dword [ebp - 0x114], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x110], 6
pop edi
jae 0x430325
sub dword [ebp - 0x30c], 4
lea eax, [ebp - 0x30c]
push 0
push eax
push 0x1f8
push 0x29
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov eax, dword [ebp + 8]
neg eax
mov dword [ebp - 0x174], eax
lea eax, [ebp - 0x174]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
leave
ret

Function at 0x433cbc
Capabilities:
Create process on windows

Disassembly:
xor eax, eax
push 1
push eax
push eax
push str.http:__megadowl.com_terms_ru.html
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
ret
Function at 0x4378cb
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
and byte [esi + 5], 0
mov byte [esi + 4], 1
mov eax, dword [0x45335c]
mov edx, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
test eax, eax
jne 0x4378e7
mov eax, edx
mov ecx, dword [0x45332c]
test ecx, ecx
jne 0x4378f3
mov ecx, edx
push 0x2101
push eax
push ecx
push dword [esi + 0x28]
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 1
jne 0x437924
push 0
push dword [esi + 0x28]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0x20]
mov ecx, esi
mov byte [eax + 0x54e], 1
call fcn.00437bd1
and byte [esi + 4], 0
and byte [esi + 5], 0
pop esi
ret

Function at 0x437b63
Capabilities:
Create thread

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
push 8
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
xor edi, edi
pop ecx
cmp eax, edi
je 0x437b7d
mov dword [eax], edi
mov dword [eax + 4], edi
jmp 0x437b7f
xor eax, eax
mov ecx, dword [esi + 0x20]
mov ebx, dword [sym.imp.MSVCRT.dll__beginthreadex]
push edi
push edi
push eax
mov dword [eax], ecx
mov ecx, dword [esi + 0x28]
push 0x4095a9
push edi
push edi
mov dword [eax + 4], ecx
call ebx
push 8
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 0x1c
cmp eax, edi
je 0x437bb1
mov dword [eax], edi
mov dword [eax + 4], edi
jmp 0x437bb3
xor eax, eax
mov ecx, dword [esi + 0x20]
push edi
push edi
push eax
mov dword [eax], ecx
mov ecx, dword [esi + 0x28]
push 0x409571
push edi
push edi
mov dword [eax + 4], ecx
call ebx
add esp, 0x18
pop edi
pop esi
pop ebx
ret

Function at 0x438238
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
push edi
xor edi, edi
mov eax, dword [esi]
push edi
call dword [eax + 0x10]
push 1
mov ecx, esi
call fcn.0043830b
mov ecx, dword [esi + 0x30]
cmp ecx, edi
je 0x43825a
mov eax, dword [ecx]
push edi
call dword [eax + 0x10]
push 8
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
cmp eax, edi
pop ecx
je 0x43826d
mov dword [eax], edi
mov dword [eax + 4], edi
jmp 0x43826f
xor eax, eax
mov ecx, dword [esi + 0x20]
push edi
push edi
push eax
mov dword [eax], ecx
mov ecx, dword [esi + 0x28]
push 0x4095a9
push edi
push edi
mov dword [eax + 4], ecx
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
pop edi
pop esi
ret

Function at 0x43882c
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push dword [ebp + 8]
call fcn.00431a91
xor eax, eax
push eax
push eax
push esi
push 0x438c2a
push eax
push eax
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
push 1
pop eax
pop esi
pop ebp
ret 4
Function at 0x40341c
Capabilities:
Query or enumerate registry value

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

Function at 0x404160
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x453048], 0
je 0x4041c1
cmp word [0x45321c], 0xd7b2
jne 0x404189
cmp dword [0x453224], 0
jbe 0x404189
mov eax, 0x453218
call dword [0x453234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x451070
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 0x4041e8
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x451030], 0
jne 0x4041dd
push 0
push 0x451068
push 0x451070
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x405e5c
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 0x405ec2
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.0040454c
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402e84
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405eac
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405ec9
lea eax, [ebp - 0x10]
call fcn.004042dc
ret

Function at 0x40adfc
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 0x40ae35
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004043cc
jmp 0x40ae3e
mov eax, ebx
mov edx, esi
call fcn.00404330
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40b4f0
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40b368
mov eax, dword [0x452038]
cmp byte [eax], 0
je 0x40b56c
mov eax, dword [0x451e5c]
call fcn.00402ce4
call fcn.00402864
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.0040865c
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 0x40b5b4
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40b5a2
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x451e0c]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x453664]
call fcn.00405370
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 0x40be08
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 0x40bede
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404374
lea eax, [ebp - 8]
call fcn.004047ec
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.0040479c
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40bec8
mov eax, ebx
call fcn.004026fc
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40bec1
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.0040479c
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40beab
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40bef0
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40beab
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 0x40bec8
mov eax, dword [ebp - 0x10]
call fcn.0040271c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40bee5
lea eax, [ebp - 8]
call fcn.004042dc
ret

Function at 0x40c35c
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 0x40c3c0
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.0040454c
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.004081ec
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c3c7
lea eax, [ebp - 0xc]
call fcn.004042dc
ret

Function at 0x41a4f8
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x453884
cmp dword [edi], 0
jne 0x41a574
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x453880]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4513f0
mov ecx, 2
call fcn.004028f8
mov edx, 0x41a4d0
lea eax, [esi + 5]
call fcn.0041a4f0
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041a4f0
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 0x41a549
mov dword [0x453880], 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 0x41b788
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 0x41b78e
ret
Function at 0x41dbd0
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 0x41dc21
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x41dc08
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x41dbf8
jmp 0x41dc21
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 0x41dc09
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x425cfc
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x425e65
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.00404374
mov eax, dword [ebp - 0x10]
call fcn.004259b0
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
jne 0x425d4e
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, 1
call fcn.0040483c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00425f90
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x425e23
xor eax, eax
push ebp
push 0x425e1c
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.00425af8
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 4]
call fcn.00425e94
test al, al
je 0x425dfa
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 0x14]
xor edx, edx
call fcn.004043cc
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x425dfa
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 8], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x14]
call fcn.0040479c
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegEnumKeyExA
test eax, eax
jne 0x425df4
mov eax, dword [ebp - 0x14]
call fcn.0040479c
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.004044d4
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 4]
call fcn.00425cfc
dec ebx
cmp ebx, 0xffffffff
jne 0x425dad
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x425e23
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.00425af8
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
mov eax, dword [ebp - 0x10]
call fcn.0040479c
push eax
mov dl, byte [ebp - 9]
mov eax, dword [ebp - 4]
call fcn.00425ae4
push eax
call sub.advapi32.dll_RegDeleteKeyA
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x425e6c
lea eax, [ebp - 0x3c]
call fcn.004042dc
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00404300
ret

Function at 0x425e94
Capabilities:
Query or enumerate registry key

Disassembly:
push ebx
push esi
mov ebx, edx
mov esi, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x1c
call fcn.00402e64
lea eax, [ebx + 0x14]
push eax
push 0
lea eax, [ebx + 0x10]
push eax
lea eax, [ebx + 0xc]
push eax
lea eax, [ebx + 8]
push eax
push 0
lea eax, [ebx + 4]
push eax
push ebx
push 0
push 0
push 0
mov eax, dword [esi + 4]
push eax
call sub.advapi32.dll_RegQueryInfoKeyA
test eax, eax
sete al
mov edx, dword [0x45213c]
cmp byte [edx + 0xc], 0
je 0x425ef8
mov edx, dword [0x452130]
cmp dword [edx], 2
jne 0x425ef8
mov edx, dword [ebx + 4]
add dword [ebx + 4], edx
mov edx, dword [ebx + 0xc]
add dword [ebx + 0xc], edx
pop esi
pop ebx
ret
Function at 0x425f28
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov al, byte [ebp + 8]
call fcn.004259c4
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.0040479c
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x425f86
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x451f68]
mov dl, 1
mov eax, dword [0x4258e8]
call fcn.0040b6b0
call fcn.00403d18
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x429634
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 0x429580
call sub.user32.dll_EnumWindows
ret

Function at 0x429754
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 0x4297d1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.004291b4
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 0x429779
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.00428db4
cmp dword [ebp - 4], 0
je 0x4297bb
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.0040479c
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 0x4297d8
lea eax, [ebp - 4]
call fcn.004042dc
ret
Function at 0x42c624
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 [0x453b54], 0
je 0x42c773
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x451fdc]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x42c773
mov eax, dword [0x453b58]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x453b54]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x42c742
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x453b54]
call fcn.00413ac8
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x42c73a
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x42c73a
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x42c73a
mov eax, dword [ebp - 0x14]
call fcn.004352a0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x42c73a
push ebp
call fcn.0042c5e0
pop ecx
test al, al
jne 0x42c73a
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x42c6f6
mov eax, dword [ebp - 0x14]
call fcn.00433dd0
dec eax
jle 0x42c73a
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.004037a0
cmp byte [ebp - 1], 0
je 0x42c73a
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x42c73a
mov edx, dword [ebp - 0x14]
mov eax, dword [0x453b58]
call fcn.0042bdac
inc edi
dec ebx
jne 0x42c689
mov eax, dword [0x453b58]
cmp dword [eax + 8], 0
jle 0x42c75a
mov eax, dword [0x453b58]
call fcn.0042be3c
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x42c773
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0042c448
pop ecx
test al, al
jne 0x42c773
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42fd38
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
test byte [esi + 0x1c], 0x10
je 0x42fd84
mov eax, esi
call fcn.00445400
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x42fd84
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x42fd84
mov ecx, ebx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x250]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0x24]
test al, al
jne 0x42fec3
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x42fdc4
cmp eax, 0x108
ja 0x42fdc4
mov eax, esi
call fcn.00445400
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x42feba
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x42fec3
jmp 0x42feba
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x42fea3
cmp eax, 0x20a
ja 0x42fea3
test byte [esi + 0x50], 0x80
jne 0x42fdf6
sub eax, 0x203
je 0x42fdf3
sub eax, 3
je 0x42fdf3
sub eax, 3
jne 0x42fdf6
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x42fe0a
dec eax
je 0x42fe1f
dec eax
je 0x42fe3c
dec eax
je 0x42fe1f
jmp 0x42fe43
mov ecx, ebx
mov eax, dword [0x451fdc]
mov eax, dword [eax]
mov edx, esi
call fcn.0044ebac
jmp 0x42feba
cmp byte [esi + 0x5d], 1
jne 0x42fe35
mov eax, esi
mov si, 0xffed
call fcn.004037a0
jmp 0x42fec3
or word [esi + 0x54], 1
jmp 0x42feba
and word [esi + 0x54], 0xfffe
jmp 0x42feba
mov eax, dword [0x453b10]
cmp byte [eax + 0x20], 0
je 0x42feba
mov eax, dword [0x453b10]
cmp dword [eax + 0x1c], 0
je 0x42feba
mov eax, dword [ebx]
mov edx, dword [0x453b10]
cmp eax, dword [edx + 0x1c]
jne 0x42feba
lea eax, [ebp - 0x114]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
call fcn.00445344
mov byte [ebp - 0xc], al
mov ax, word [ebx + 4]
mov word [ebp - 0xa], ax
mov eax, dword [ebx + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, esi
mov si, 0xffc9
call fcn.004037a0
jmp 0x42fec3
cmp eax, 0xb00b
jne 0x42feba
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.0042e674
mov edx, ebx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret