joyce8/EMBER2024-capa huggingface dataset:
Function at 0x419850
Capabilities:
Encrypt data using rc6

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41cf40
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x18
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x28], ecx
mov dword [ebp - 4], 0
push 0x10
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
call sub.MSVCRT.dll_memcpy
add esp, 0xc
jmp 0x419896
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x28]
mov dword [edx + 0x10], 0xb7e15163
mov dword [ebp - 0x1c], 1
jmp 0x4198b9
mov eax, dword [ebp - 0x1c]
add eax, 1
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x1a
jge 0x4198da
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + ecx*4 + 0xc]
sub eax, 0x61c88647
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x28]
mov dword [edx + ecx*4 + 0x10], eax
jmp 0x4198b0
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x24], 0
jmp 0x419905
mov eax, dword [ebp - 0x24]
add eax, 1
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x4e
jge 0x4199a0
push 3
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + ecx*4 + 0x10]
add eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x18]
push eax
call fcn.00419bcf
add esp, 8
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x28]
mov dword [edx + ecx*4 + 0x10], eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx + eax*4 + 0x10]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x1c]
add eax, 1
cdq
mov ecx, 0x1a
idiv ecx
mov dword [ebp - 0x1c], edx
mov edx, dword [ebp - 0x14]
add edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx + eax*4]
add edx, dword [ebp - 0x14]
add edx, dword [ebp - 0x18]
push edx
call fcn.00419bcf
add esp, 8
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x28]
mov dword [edx + ecx*4], eax
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx + eax*4]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x20]
add eax, 1
and eax, 0x80000003
jns 0x419998
dec eax
or eax, 0xfffffffc
inc eax
mov dword [ebp - 0x20], eax
jmp 0x4198fc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x41a460
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
sub esp, 0x78
push ebx
push ebp
push esi
push edi
mov ecx, 0xb
mov esi, str.devicephysicalmemory
lea edi, [esp + 0x4c]
xor eax, eax
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov dword [esp + 0x7a], eax
xor ebx, ebx
mov dword [esp + 0x7e], eax
lea ecx, [esp + 0x4c]
mov dword [esp + 0x82], eax
lea edx, [esp + 0x24]
push str.ntdll.dll
mov dword [esp + 0x30], 0xf0000
mov dword [esp + 0x34], ebx
mov dword [esp + 0x1c], 0xffff
mov word [esp + 0x8a], ax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x2c], ecx
mov word [esp + 0x28], 0x2c
mov word [esp + 0x2a], 0x2e
mov dword [esp + 0x44], 0x40
mov dword [esp + 0x38], 0x18
mov dword [esp + 0x40], edx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
push str.ZwOpenSection
push esi
call edi
push str.ZwMapViewOfSection
push esi
mov ebp, eax
call edi
push str.ZwUnmapViewOfSection
push esi
mov dword [esp + 0x18], eax
call edi
mov dword [esp + 0x20], eax
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x20]
push 4
push ecx
call ebp
test eax, eax
jne 0x41a5ca
push 2
push ebx
lea edx, [esp + 0x20]
push 1
lea eax, [esp + 0x38]
push edx
mov edx, dword [esp + 0x2c]
push eax
push 0xffff
lea ecx, [esp + 0x2c]
push ebx
push ecx
push 0xffffffffffffffff
push edx
call dword [esp + 0x38]
test eax, eax
jne 0x41a5ca
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x10]
push ecx
mov dword [esp + 0x14], eax
call fcn.0041a250
add esp, 4
cmp eax, ebx
jne 0x41a595
lea edx, [esp + 0x10]
push edx
call fcn.0041a2f0
add esp, 4
cmp eax, ebx
jne 0x41a595
lea eax, [esp + 0x10]
push eax
call fcn.0041a390
add esp, 4
cmp eax, ebx
je 0x41a5b5
mov edx, dword [esp + 0x8c]
mov esi, dword [esp + 0x10]
mov ecx, eax
mov edi, edx
mov ebp, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov byte [eax + edx], bl
mov ecx, dword [esp + 0x14]
push ecx
push 0xffffffffffffffff
call dword [esp + 0x28]
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x78
ret
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x78
ret

Function at 0x41be60
Capabilities:
Set registry value

Disassembly:
push esi
mov esi, dword [esp + 0xc]
mov edx, ecx
push edi
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
mov ecx, dword [edx + 4]
push esi
push 1
push eax
mov eax, dword [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
ret 8
Function at 0x41be90
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xd4
push ebx
push ebp
push esi
lea eax, [esp + 0x10]
push edi
push eax
lea edx, [esp + 0x20]
lea eax, [esp + 0x1c]
push edx
mov edx, dword [esp + 0xf0]
push eax
mov eax, dword [ecx + 4]
push 0
push edx
push eax
mov dword [esp + 0x2c], 0xc8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
test esi, esi
mov dword [esp + 0x10], esi
jne 0x41bf15
lea edi, [esp + 0x1c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
cmp ebx, 0xfffffffd
jbe 0x41bee8
call dword [sym.imp.MSVCP60.dll_void___cdecl_std::_Xlen_void_]
mov ebp, dword [esp + 0xec]
xor edx, edx
mov ecx, dword [ebp + 4]
cmp ecx, edx
je 0x41bf24
mov al, byte [ecx - 1]
test al, al
je 0x41bf24
cmp al, 0xff
je 0x41bf24
cmp ebx, edx
jne 0x41bf57
dec al
mov byte [ecx - 1], al
mov dword [ebp + 4], edx
mov dword [ebp + 8], edx
mov dword [ebp + 0xc], edx
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xd4
ret 8
cmp ebx, edx
jne 0x41bf41
push 1
mov ecx, ebp
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xd4
ret 8
mov eax, dword [ebp + 0xc]
cmp eax, 0x1f
ja 0x41bf4d
cmp eax, ebx
jae 0x41bf60
push 1
mov ecx, ebp
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push ebx
mov ecx, ebp
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Copy_unsigned_int_]
mov edi, dword [ebp + 4]
mov ecx, ebx
mov edx, ecx
lea esi, [esp + 0x1c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp + 4]
pop edi
mov dword [ebp + 8], ebx
pop esi
mov byte [ebx + eax], 0
mov eax, dword [esp + 8]
pop ebp
pop ebx
add esp, 0xd4
ret 8
Function at 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
call 0x43000c
nop
nop
nop
nop
nop
pop eax
add eax, 0x403d6a
nop
sub eax, 0x403d10
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
nop
add ebx, 4
cmp ebx, ecx
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43001e
nop
popal
nop
nop
nop
nop
nop
jmp loc.00401219

Function at 0xd14058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.00d141a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xd1407e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xd1406a
add dl, dl
jne 0xd14089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xd140dc
xor eax, eax
add dl, dl
jne 0xd14096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xd1417d
add dl, dl
jne 0xd140a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xd140b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xd140bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xd140c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xd140d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xd14075
mov eax, 1
add dl, dl
jne 0xd140ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xd140f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xd140e1
sub eax, ebx
mov ebx, 1
jne 0xd14128
mov ecx, 1
add dl, dl
jne 0xd1410e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xd14119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xd14105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xd14075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xd1413f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xd1414a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xd14136
cmp eax, 0x7d00
jae 0xd1416d
cmp eax, 0x500
jb 0xd14168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xd14075
cmp eax, 0x7f
ja 0xd14170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xd14075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xd1419e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xd14075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x405968
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 0x4059ce
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.00404080
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402b14
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x4059b8
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4059d5
lea eax, [ebp - 0x10]
call fcn.00403e10
ret

Function at 0x40aa24
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 0x40aa5d
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403f00
jmp 0x40aa66
mov eax, ebx
mov edx, esi
call fcn.00403e64
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40b118
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40af90
mov eax, dword [0x45208c]
cmp byte [eax], 0
je 0x40b194
mov eax, dword [0x451eb0]
call fcn.00402980
call fcn.00402824
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.00408298
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 0x40b1dc
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40b1ca
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x451e60]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x453664]
call fcn.00404e7c
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 0x40ba30
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 0x40bb06
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00403ea8
lea eax, [ebp - 8]
call fcn.00404320
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.004042d0
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40baf0
mov eax, ebx
call fcn.004026bc
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40bae9
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.004042d0
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40bad3
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40bb18
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40bad3
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 0x40baf0
mov eax, dword [ebp - 0x10]
call fcn.004026dc
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40bb0d
lea eax, [ebp - 8]
call fcn.00403e10
ret

Function at 0x40bf84
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 0x40bfe8
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.00404080
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00407e28
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40bfef
lea eax, [ebp - 0xc]
call fcn.00403e10
ret

Function at 0x41a134
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 0x41a1b0
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, 0x4513ec
mov ecx, 2
call fcn.004028b8
mov edx, 0x41a10c
lea eax, [esi + 5]
call fcn.0041a12c
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041a12c
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 0x41a185
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 0x41b3cc
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 0x41b3d2
ret
Function at 0x41d814
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 0x41d865
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x41d84c
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x41d83c
jmp 0x41d865
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 0x41d84d
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x429ae4
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 0x429a30
call sub.user32.dll_EnumWindows
ret

Function at 0x429c04
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 0x429c81
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00429664
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 0x429c29
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.00429264
cmp dword [ebp - 4], 0
je 0x429c6b
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.004042d0
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 0x429c88
lea eax, [ebp - 4]
call fcn.00403e10
ret

Function at 0x42cb18
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 0x42cc67
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x45202c]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x42cc67
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 0x42cc36
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x453b54]
call fcn.00413704
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x42cc2e
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x42cc2e
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x42cc2e
mov eax, dword [ebp - 0x14]
call fcn.00435770
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x42cc2e
push ebp
call fcn.0042cad4
pop ecx
test al, al
jne 0x42cc2e
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x42cbea
mov eax, dword [ebp - 0x14]
call fcn.004342a0
dec eax
jle 0x42cc2e
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.004032d4
cmp byte [ebp - 1], 0
je 0x42cc2e
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x42cc2e
mov edx, dword [ebp - 0x14]
mov eax, dword [0x453b58]
call fcn.0042c2a0
inc edi
dec ebx
jne 0x42cb7d
mov eax, dword [0x453b58]
cmp dword [eax + 8], 0
jle 0x42cc4e
mov eax, dword [0x453b58]
call fcn.0042c330
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x42cc67
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0042c93c
pop ecx
test al, al
jne 0x42cc67
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 0x430248
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 0x430294
mov eax, esi
call fcn.00445870
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x430294
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x430294
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 0x4303d3
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x4302d4
cmp eax, 0x108
ja 0x4302d4
mov eax, esi
call fcn.00445870
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4303ca
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x4303d3
jmp 0x4303ca
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x4303b3
cmp eax, 0x20a
ja 0x4303b3
test byte [esi + 0x50], 0x80
jne 0x430306
sub eax, 0x203
je 0x430303
sub eax, 3
je 0x430303
sub eax, 3
jne 0x430306
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x43031a
dec eax
je 0x43032f
dec eax
je 0x43034c
dec eax
je 0x43032f
jmp 0x430353
mov ecx, ebx
mov eax, dword [0x45202c]
mov eax, dword [eax]
mov edx, esi
call fcn.0044f01c
jmp 0x4303ca
cmp byte [esi + 0x5d], 1
jne 0x430345
mov eax, esi
mov si, 0xffed
call fcn.004032d4
jmp 0x4303d3
or word [esi + 0x54], 1
jmp 0x4303ca
and word [esi + 0x54], 0xfffe
jmp 0x4303ca
mov eax, dword [0x453b10]
cmp byte [eax + 0x20], 0
je 0x4303ca
mov eax, dword [0x453b10]
cmp dword [eax + 0x1c], 0
je 0x4303ca
mov eax, dword [ebx]
mov edx, dword [0x453b10]
cmp eax, dword [edx + 0x1c]
jne 0x4303ca
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.004457b4
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.004032d4
jmp 0x4303d3
cmp eax, 0xb00b
jne 0x4303ca
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.0042eb68
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
Function at 0x433900
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1f8], 0
je 0x43391c
cmp dword [esi + 4], 0
je 0x433949
test byte [ebx + 0x55], 1
jne 0x43393b
mov eax, ebx
call fcn.004324a0
test eax, eax
jne 0x43393b
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x433a59
mov edx, esi
mov eax, ebx
call fcn.00433424
jmp 0x433a59
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x433a52
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00435770
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.0043017c
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00433900
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00435770
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x433a59
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret