joyce8/EMBER2024-capa huggingface dataset:
Function at 0x496420
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4db378
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x522f10]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor esi, esi
mov dword [ebp - 4], esi
mov eax, dword [ebp + 8]
mov ecx, dword [ecx + 0xc]
push esi
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x49649c
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x496486
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp + 8]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x18], esp
mov ebx, esp
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], esi
push eax
lea edi, [ebp - 0x14]
lea esi, [ebp - 0x10]
call fcn.00425484
add eax, 0x10
add esp, 4
mov dword [ebx], eax
call fcn.0046daf0
add esp, 4
or edx, 0xffffffff
mov dword [ebp - 4], 0xffffffff
test eax, eax
mov eax, dword [ebp + 8]
jne 0x49650a
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x496486
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x496523
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4986e0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebx + 0x3c]
movzx ecx, word [eax + ebx + 0x14]
add eax, ebx
push esi
push edi
movzx edi, word [eax + 6]
lea edx, [ecx + eax + 0x18]
xor ecx, ecx
mov dword [ebp - 4], edx
test edi, edi
jle 0x498728
lea eax, [edx + 8]
mov edx, dword [eax]
mov esi, edx
test edx, edx
jne 0x49870f
mov esi, dword [eax + 8]
mov edx, dword [eax + 4]
cmp dword [ebp + 8], edx
jb 0x498720
add esi, edx
mov edx, dword [ebp + 8]
cmp edx, esi
jb 0x498732
inc ecx
add eax, 0x28
cmp ecx, edi
jl 0x498704
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 4
lea eax, [ecx + ecx*4]
mov ecx, dword [ebp - 4]
lea ecx, [ecx + eax*8]
mov eax, dword [ecx + 0x14]
sub eax, dword [ecx + 0xc]
pop edi
add eax, ebx
add eax, edx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x498750
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d6cb3
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x522f10]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 4], 0
lea edi, [esi + 0x20]
call fcn.004aa2e3
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x49879c
push 0x80004005
call fcn.00422000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [edi], eax
lea ecx, [ebp + 0xc]
push ecx
mov byte [ebp - 4], 1
mov ecx, edi
mov dword [esi + 0x38], 0
call fcn.00424f1e
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
push 0x80
push 3
mov edx, ebx
neg edx
sbb edx, edx
push edi
and edx, 0x116
push 1
add edx, 0x120089
push edx
push eax
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 0x34], edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi], eax
cmp eax, 0xffffffff
jne 0x49880e
push 0x5138e8
lea ecx, [ebp - 0x10]
push ecx
mov dword [ebp - 0x10], str.Cant_open_file
call fcn.004bf16c
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], edi
cmp edi, edi
ja 0x498845
jb 0x498827
cmp eax, 0x40
jae 0x498845
mov edx, dword [esi]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x5138e8
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0x10], str.Incorrect_PE_file__too_small_
call fcn.004bf16c
mov edx, dword [esi]
xor ecx, ecx
cmp ebx, edi
push edi
setne cl
push edi
push edi
lea ecx, [ecx + ecx + 2]
push ecx
push edi
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [esi + 4], eax
cmp eax, edi
jne 0x498883
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x5138e8
lea ecx, [ebp - 0x10]
push ecx
mov dword [ebp - 0x10], str.Cant_create_file_mapping
call fcn.004bf16c
xor edx, edx
cmp ebx, edi
setne dl
push edi
push edi
push edi
lea edx, [edx + edx + 4]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [esi + 0x30], eax
cmp eax, edi
jne 0x4988c6
mov eax, dword [esi + 4]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call edi
mov ecx, dword [esi]
push ecx
call edi
push 0x5138e8
lea edx, [ebp - 0x10]
push edx
mov dword [ebp - 0x10], str.Cant_create_map_file_view
call fcn.004bf16c
mov dword [esi + 0x34], 1
mov dword [esi + 0x38], ebx
call fcn.00498910
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4988fb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x498910
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [esi + 0x30]
mov ecx, 0x5a4d
mov dword [esi + 0xc], eax
push edi
cmp word [eax], cx
je 0x498962
mov eax, dword [esi + 4]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x498935
push eax
call edi
mov eax, dword [esi]
test eax, eax
je 0x498943
cmp eax, 0xffffffff
je 0x498943
push eax
call edi
mov edx, dword [esi + 0x30]
push edx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push 0x5138e8
lea eax, [ebp - 4]
push eax
mov dword [ebp - 4], str.Incorrect_PE_file__e_magic___IMAGE_DOS_SIGNATURE_
call fcn.004bf16c
mov ecx, dword [eax + 0x3c]
xor edx, edx
lea edi, [ecx + 0xf8]
cmp edx, dword [esi + 0x2c]
jb 0x4989bc
ja 0x498979
cmp edi, dword [esi + 0x28]
jb 0x4989bc
mov eax, dword [esi + 4]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x498989
push eax
call edi
mov eax, dword [esi]
test eax, eax
je 0x498997
cmp eax, 0xffffffff
je 0x498997
push eax
call edi
cmp dword [esi + 0x34], 0
je 0x4989a7
mov ecx, dword [esi + 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push 0x5138e8
lea edx, [ebp - 4]
push edx
mov dword [ebp - 4], str.Incorrect_PE_file__header___filesize_
call fcn.004bf16c
add ecx, eax
mov dword [esi + 0x40], ecx
cmp dword [ecx], 0x4550
je 0x498a0c
mov eax, dword [esi + 4]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x4989d9
push eax
call edi
mov eax, dword [esi]
test eax, eax
je 0x4989e7
cmp eax, 0xffffffff
je 0x4989e7
push eax
call edi
cmp dword [esi + 0x34], 0
je 0x4989f7
mov eax, dword [esi + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push 0x5138e8
lea ecx, [ebp - 4]
push ecx
mov dword [ebp - 4], str.Incorrect_PE_file__incorrect_signature_
call fcn.004bf16c
add ecx, 0x18
push ebx
xor ebx, ebx
mov dword [esi + 0x14], ecx
mov edx, 0x20b
cmp word [ecx], dx
sete bl
mov ecx, ebx
mov dword [esi + 0x3c], ecx
pop ebx
test ecx, ecx
je 0x498a3d
mov ecx, dword [eax + 0x3c]
add eax, ecx
mov dword [esi + 0x44], eax
mov edx, dword [esi + 0x44]
add eax, 0x18
mov dword [esi + 0x18], eax
jmp 0x498a40
mov edx, dword [esi + 0x40]
mov ax, word [edx + 6]
mov ecx, edx
add ecx, 4
cmp dword [esi + 0x3c], 0
mov dword [esi + 0x10], ecx
mov word [esi + 8], ax
pop edi
je 0x498a64
mov eax, dword [esi + 0x18]
add eax, 0x70
mov dword [esi + 0x1c], eax
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x14]
add eax, 0x60
mov dword [esi + 0x1c], eax
mov esp, ebp
pop ebp
ret
Function at 0x49a890
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
push 0
push 0
push 0
mov dword [ebp - 8], 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov ebx, eax
test ebx, ebx
je 0x49a8bb
push 0xffffffffffffffff
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [0x52512c], 0xffffffff
jne 0x49a990
push ecx
mov ecx, esp
mov dword [ebp - 8], esp
push str.License.dat
call fcn.004247f3
lea eax, [ebp - 8]
push eax
call fcn.0046a0c0
mov esi, dword [eax]
add esp, 8
call fcn.004aa2e3
test eax, eax
jne 0x49a8f9
push 0x80004005
call fcn.00422000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
mov edi, eax
add edi, 0x10
mov dword [ebp - 4], edi
test esi, esi
je 0x49a92f
test esi, 0xffff0000
jne 0x49a933
movzx esi, si
push esi
call fcn.004b2260
test eax, eax
je 0x49a949
push esi
push eax
lea ecx, [ebp - 4]
call fcn.00424e90
jmp 0x49a946
xor eax, eax
jmp 0x49a93c
push esi
call fcn.004b8a1a
add esp, 4
push eax
push esi
lea ecx, [ebp - 4]
call fcn.00425413
mov edi, dword [ebp - 4]
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x49a968
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, edi
call fcn.00499c50
mov dword [0x52512c], eax
lea eax, [edi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x49a990
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [0x52512c]
test ebx, ebx
je 0x49a9a8
push ebx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x49e6d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [eax + 0x38], 0
mov dl, byte [eax + 0x34]
push ebx
push esi
mov dword [ebp - 4], 0
mov ebx, 1
jle 0x49e71b
movzx esi, dl
push edi
nop
mov ecx, dword [eax + 0x260]
mov edi, ecx
shr edi, 0x18
shl ecx, 8
xor edi, esi
xor ecx, dword [edi*4 + 0x524438]
mov dword [eax + 0x260], ecx
mov ecx, dword [ebp - 4]
add ecx, ebx
cmp ecx, dword [eax + 0x38]
mov dword [ebp - 4], ecx
jl 0x49e6f0
pop edi
mov ecx, dword [eax + 0x34]
mov byte [eax + ecx + 0x58], bl
mov esi, dword [eax + 0x38]
mov ecx, esi
sub ecx, ebx
je 0x49e7a9
sub ecx, ebx
je 0x49e78b
sub ecx, ebx
je 0x49e77f
mov byte [esi + eax + 0x54], bl
mov ecx, dword [eax + 0x44]
mov esi, dword [eax + 0x24]
mov byte [ecx + esi], dl
add dword [eax + 0x44], ebx
mov ecx, dword [eax + 0x44]
mov esi, dword [eax + 0x24]
mov byte [ecx + esi], dl
add dword [eax + 0x44], ebx
mov ecx, dword [eax + 0x44]
mov esi, dword [eax + 0x24]
mov byte [ecx + esi], dl
add dword [eax + 0x44], ebx
mov ecx, dword [eax + 0x44]
mov esi, dword [eax + 0x24]
mov byte [ecx + esi], dl
add dword [eax + 0x44], ebx
mov dl, byte [eax + 0x38]
mov esi, dword [eax + 0x44]
mov ecx, dword [eax + 0x24]
sub dl, 4
mov byte [esi + ecx], dl
add dword [eax + 0x44], ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [eax + 0x44]
mov esi, dword [eax + 0x24]
mov byte [ecx + esi], dl
add dword [eax + 0x44], ebx
mov ecx, dword [eax + 0x44]
mov esi, dword [eax + 0x24]
mov byte [ecx + esi], dl
add dword [eax + 0x44], ebx
mov ecx, dword [eax + 0x44]
mov esi, dword [eax + 0x24]
mov byte [ecx + esi], dl
add dword [eax + 0x44], ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [eax + 0x44]
mov ecx, dword [eax + 0x24]
mov byte [ecx + esi], dl
add dword [eax + 0x44], ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4a0720
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x522f10]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x110
xor esi, esi
lea eax, [ebp - 0x114]
push esi
push eax
call fcn.004b9350
add esp, 0xc
lea ecx, [ebp - 0x118]
push ecx
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4a0772
cmp dword [ebp - 0x114], 6
lea eax, [esi + 1]
jae 0x4a0774
mov eax, esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004b80af
mov esp, ebp
pop ebp
ret
Function at 0x4a2bb0
Capabilities:
Write clipboard data

Disassembly:
push ebx
push esi
xor ebx, ebx
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, edi
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4a2bc0
sub eax, edx
sar eax, 1
lea eax, [eax + eax + 2]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x4a2c17
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x4a2c17
mov edx, eax
mov ecx, edi
sub edx, edi
movzx eax, word [ecx]
mov word [edx + ecx], ax
add ecx, 2
test ax, ax
jne 0x4a2bf3
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
mov ebx, 1
call dword [sym.imp.USER32.dll_CloseClipboard]
pop esi
mov eax, ebx
pop ebx
ret
Function at 0x4abc4e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x4abc72
cmp dword [edi + 0x54], 0
jne 0x4abc72
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.004ac645
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.004abc0f
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x4b1e7c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x4b1ec3
call fcn.004ac645
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4b1ec3
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x4b1edf
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.004b19f4
mov esi, eax
test edi, edi
je 0x4b1edd
test ebx, ebx
je 0x4b1edd
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x4b80af
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x522f10]
jne 0x4b80b9
repz ret
jmp fcn.004c07de
Function at 0x4cb9c9
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004c0142
and dword [ebp - 4], 0
cmp dword [0x528528], 0
mov ebx, eax
jne 0x4cba7a
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4cbb2b
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4e7228
push edi
call esi
test eax, eax
je 0x4cbb2b
push eax
call fcn.004c00d0
mov dword [esp], 0x4e7218
push edi
mov dword [0x528528], eax
call esi
push eax
call fcn.004c00d0
mov dword [esp], 0x4e7204
push edi
mov dword [0x52852c], eax
call esi
push eax
call fcn.004c00d0
mov dword [esp], 0x4e71e8
push edi
mov dword [0x528530], eax
call esi
push eax
call fcn.004c00d0
pop ecx
mov dword [0x528538], eax
test eax, eax
je 0x4cba7a
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004c00d0
pop ecx
mov dword [0x528534], eax
mov eax, dword [0x528534]
cmp eax, ebx
je 0x4cbad2
cmp dword [0x528538], ebx
je 0x4cbad2
push eax
call fcn.004c014b
push dword [0x528538]
mov esi, eax
call fcn.004c014b
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4cbad2
test edi, edi
je 0x4cbad2
call esi
test eax, eax
je 0x4cbac9
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4cbac9
test byte [ebp - 0xc], 1
jne 0x4cbad2
or dword [ebp + 0x10], 0x200000
jmp 0x4cbb0b
mov eax, dword [0x52852c]
cmp eax, ebx
je 0x4cbb0b
push eax
call fcn.004c014b
pop ecx
test eax, eax
je 0x4cbb0b
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4cbb0b
mov eax, dword [0x528530]
cmp eax, ebx
je 0x4cbb0b
push eax
call fcn.004c014b
pop ecx
test eax, eax
je 0x4cbb0b
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x528528]
call fcn.004c014b
pop ecx
test eax, eax
je 0x4cbb2b
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4cbb2d
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x428fc8
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 0x428f14
call sub.user32.dll_EnumWindows
ret

Function at 0x4290e8
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 0x429165
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00428b48
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 0x42910d
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.00428748
cmp dword [ebp - 4], 0
je 0x42914f
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 0x42916c
lea eax, [ebp - 4]
call fcn.00403e10
ret

Function at 0x42bffc
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 [0x452b54], 0
je 0x42c14b
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x450ff4]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x42c14b
mov eax, dword [0x452b58]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x452b54]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x42c11a
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x452b54]
call fcn.0041352c
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x42c112
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x42c112
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x42c112
mov eax, dword [ebp - 0x14]
call fcn.00434c48
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x42c112
push ebp
call fcn.0042bfb8
pop ecx
test al, al
jne 0x42c112
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x42c0ce
mov eax, dword [ebp - 0x14]
call fcn.00433778
dec eax
jle 0x42c112
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 0x42c112
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x42c112
mov edx, dword [ebp - 0x14]
mov eax, dword [0x452b58]
call fcn.0042b784
inc edi
dec ebx
jne 0x42c061
mov eax, dword [0x452b58]
cmp dword [eax + 8], 0
jle 0x42c132
mov eax, dword [0x452b58]
call fcn.0042b814
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x42c14b
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0042be20
pop ecx
test al, al
jne 0x42c14b
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 0x42f720
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 0x42f76c
mov eax, esi
call fcn.00444d48
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x42f76c
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x42f76c
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 0x42f8ab
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x42f7ac
cmp eax, 0x108
ja 0x42f7ac
mov eax, esi
call fcn.00444d48
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x42f8a2
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x42f8ab
jmp 0x42f8a2
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x42f88b
cmp eax, 0x20a
ja 0x42f88b
test byte [esi + 0x50], 0x80
jne 0x42f7de
sub eax, 0x203
je 0x42f7db
sub eax, 3
je 0x42f7db
sub eax, 3
jne 0x42f7de
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x42f7f2
dec eax
je 0x42f807
dec eax
je 0x42f824
dec eax
je 0x42f807
jmp 0x42f82b
mov ecx, ebx
mov eax, dword [0x450ff4]
mov eax, dword [eax]
mov edx, esi
call fcn.0044e4f4
jmp 0x42f8a2
cmp byte [esi + 0x5d], 1
jne 0x42f81d
mov eax, esi
mov si, 0xffed
call fcn.004032d4
jmp 0x42f8ab
or word [esi + 0x54], 1
jmp 0x42f8a2
and word [esi + 0x54], 0xfffe
jmp 0x42f8a2
mov eax, dword [0x452b10]
cmp byte [eax + 0x20], 0
je 0x42f8a2
mov eax, dword [0x452b10]
cmp dword [eax + 0x1c], 0
je 0x42f8a2
mov eax, dword [ebx]
mov edx, dword [0x452b10]
cmp eax, dword [edx + 0x1c]
jne 0x42f8a2
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.00444c8c
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 0x42f8ab
cmp eax, 0xb00b
jne 0x42f8a2
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.0042e04c
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