joyce8/EMBER2024-capa huggingface dataset:
Function at 0x462ed8
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffffff0
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00462768
xor eax, eax
push ebp
push 0x463049
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0
je 0x463033
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
je 0x462f23
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x462f2d
call fcn.00403f80
jmp 0x463050
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041759c
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x1010]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov ecx, 0x1000
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov ebx, eax
test ebx, ebx
jle 0x463028
push 0
push ebx
lea eax, [ebp - 0x1010]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_send
mov ecx, eax
cmp ecx, 0xffffffff
jne 0x462fdb
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x2733
je 0x462fc8
lea eax, [ebp - 0x10]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.0040393c
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
push ebp
call fcn.00462e90
pop ecx
mov eax, dword [ebp - 4]
mov dl, byte [0x46305c]
cmp dl, byte [eax + 0x28]
je 0x46302f
call fcn.0040c5e4
jmp 0x46302f
mov eax, dword [ebp - 0xc]
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.004175bc
jmp 0x46302f
cmp ecx, ebx
jge 0x462ff7
mov eax, dword [ebp - 0xc]
add eax, ecx
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.004175bc
jmp 0x462f2d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov edx, dword [eax]
call dword [edx]
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041759c
cmp edx, dword [esp + 4]
jne 0x463017
cmp eax, dword [esp]
pop edx
pop eax
jne 0x462f2d
push ebp
call fcn.00462e90
pop ecx
jmp 0x46302f
push ebp
call fcn.00462e90
pop ecx
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x463050
mov eax, dword [ebp - 4]
call fcn.00462774
ret
mov al, byte [ebp - 5]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x463060
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov esi, ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x463182
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00462768
xor eax, eax
push ebp
push 0x463165
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x4630b0
call fcn.00403f80
jmp 0x46316c
push 0
push esi
push ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_send
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x46314f
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x46314f
lea eax, [ebp - 0xc]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.0040393c
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0xc], 0
je 0x46314f
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040bdc8
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
mov eax, 0x46319c
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x502300]
mov dl, 1
mov eax, dword [0x461a7c]
call fcn.0040c6fc
call fcn.00403ed4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46316c
mov eax, dword [ebp - 4]
call fcn.00462774
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x463189
lea eax, [ebp - 0x28]
call fcn.004044e0
ret
Function at 0x4631e8
Capabilities:
Receive data
Receive data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov ebx, ecx
mov esi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x463332
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00462768
xor eax, eax
push ebp
push 0x463315
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
cmp ebx, 0xffffffff
jne 0x46324d
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x46324d
lea eax, [ebp - 8]
push eax
push 0x4004667f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_ioctlsocket
jmp 0x4632ff
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x463260
call fcn.00403f80
jmp 0x46331c
push 0
push ebx
push esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_recv
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x4632ff
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x4632ff
lea eax, [ebp - 0xc]
push eax
mov cl, 2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.0040393c
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0xc], 0
je 0x4632ff
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040bdc8
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
mov eax, 0x46334c
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x502300]
mov dl, 1
mov eax, dword [0x461a7c]
call fcn.0040c6fc
call fcn.00403ed4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46331c
mov eax, dword [ebp - 4]
call fcn.00462774
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x463339
lea eax, [ebp - 0x28]
call fcn.004044e0
ret
Function at 0x4648d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov ebx, eax
mov edi, dword [ebx + 0x24]
mov esi, dword [ebx + 0x34]
sub esi, dword [ebx + 0x6c]
sub esi, dword [ebx + 0x64]
test esi, esi
jne 0x4648fa
cmp dword [ebx + 0x64], 0
jne 0x4648fa
cmp dword [ebx + 0x6c], 0
jne 0x4648fa
mov esi, edi
jmp 0x464992
cmp esi, 0xffffffff
jne 0x464905
dec esi
jmp 0x464992
mov eax, dword [ebx + 0x64]
lea edx, [edi + edi]
sub edx, 0x106
cmp eax, edx
jb 0x464992
mov eax, dword [ebx + 0x30]
lea edx, [eax + edi]
mov ebp, edi
mov ecx, ebp
call fcn.00463de0
sub dword [ebx + 0x68], edi
sub dword [ebx + 0x64], edi
sub dword [ebx + 0x54], ebp
mov eax, dword [ebx + 0x44]
mov edx, dword [ebx + 0x3c]
lea edx, [edx + eax*2]
mov dword [esp], edx
sub dword [esp], 2
mov edx, dword [esp]
movzx edx, word [edx]
cmp edi, edx
ja 0x464952
sub dx, di
mov ecx, dword [esp]
mov word [ecx], dx
jmp 0x46495a
mov edx, dword [esp]
mov word [edx], 0
dec eax
test eax, eax
jne 0x464939
mov eax, edi
mov edx, dword [ebx + 0x38]
lea edx, [edx + eax*2]
mov dword [esp], edx
sub dword [esp], 2
mov edx, dword [esp]
movzx edx, word [edx]
cmp edi, edx
ja 0x464983
sub dx, di
mov ecx, dword [esp]
mov word [ecx], dx
jmp 0x46498b
mov edx, dword [esp]
mov word [edx], 0
dec eax
test eax, eax
jne 0x46496a
add esi, edi
mov eax, dword [ebx]
cmp dword [eax + 4], 0
je 0x4649f0
mov edx, dword [ebx + 0x64]
add edx, dword [ebx + 0x6c]
mov ecx, dword [ebx + 0x30]
lea edx, [ecx + edx]
mov ecx, esi
call fcn.004645f4
add dword [ebx + 0x6c], eax
cmp dword [ebx + 0x6c], 3
jb 0x4649db
mov eax, dword [ebx + 0x64]
mov edx, dword [ebx + 0x30]
movzx eax, byte [edx + eax]
mov dword [ebx + 0x40], eax
mov ecx, dword [ebx + 0x50]
shl eax, cl
mov edx, dword [ebx + 0x64]
mov ecx, dword [ebx + 0x30]
movzx edx, byte [ecx + edx + 1]
xor eax, edx
and eax, dword [ebx + 0x4c]
mov dword [ebx + 0x40], eax
cmp dword [ebx + 0x6c], 0x106
jae 0x4649f0
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x4648da
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x469490
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ecx, 0x504f00
mov eax, esi
mov edx, 8
mov ebx, eax
and ebx, 1
test bl, bl
je 0x4694b2
shr eax, 1
xor eax, 0xedb88320
jmp 0x4694b4
shr eax, 1
dec edx
jne 0x4694a0
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x469499
mov byte [0x505300], 1
pop esi
pop ebx
ret

Function at 0x4694d0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x505300], 0
jne 0x4694e7
call fcn.00469490
mov eax, edi
dec eax
test eax, eax
jl 0x469510
inc eax
xor edx, edx
xor ecx, ecx
mov cl, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x504f00]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x4694f1
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x46bb3c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebx, eax
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov al, byte [eax]
dec al
je 0x46bb6d
dec al
je 0x46bba9
dec al
je 0x46bbed
dec al
je 0x46bc58
jmp 0x46bce2
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x46bce2
inc edi
mov edx, esi
sub edx, dword [ebx + 0x24]
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
mov dl, byte [ecx + edx]
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x46bb7d
jmp 0x46bce2
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x46bce2
mov esi, 1
mov al, byte [ebx + 0x48]
mov edx, eax
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov dl, byte [edx + esi]
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x46bbb9
jmp 0x46bce2
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x46bce2
mov esi, 1
mov al, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov ecx, esi
dec ecx
mov edx, dword [ebx + 0x24]
cmp ecx, edx
jae 0x46bc1b
xor ebp, ebp
jmp 0x46bc2c
mov ecx, esi
sub ecx, edx
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx ebp, byte [edx + ecx]
add eax, ebp
sar eax, 1
jns 0x46bc35
adc eax, 0
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [edx + esi]
and al, 0xff
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x46bbfd
jmp 0x46bce2
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x46bce2
mov esi, 1
mov al, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, esi
dec edx
cmp edx, dword [ebx + 0x24]
jb 0x46bcb0
mov edx, esi
sub edx, dword [ebx + 0x24]
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx ebp, byte [ecx + edx]
mov dl, byte [ebx + 0x48]
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov ecx, esi
sub ecx, dword [ebx + 0x24]
movzx edx, byte [edx + ecx]
mov dword [esp + 4], edx
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [esp], edx
mov cl, byte [esp + 4]
push eax
mov eax, ebp
pop edx
call fcn.00469518
add al, byte [esp]
and al, 0xff
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x46bc6c
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x474fe4
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
test dl, dl
je 0x474ff9
add esp, 0xfffffff0
call fcn.00403a6c
mov dword [ebp - 4], ecx
mov ebx, edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00404990
xor eax, eax
push ebp
push 0x4750d4
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, dword [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.004701c0
lea ecx, [ebp - 0xc]
xor edx, edx
xor eax, eax
call fcn.00413bc0
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x20], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x24], eax
lea ecx, [ebp - 0xc]
xor edx, edx
xor eax, eax
call fcn.00413bc0
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x38], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x3c], eax
lea ecx, [ebp - 0xc]
xor edx, edx
xor eax, eax
call fcn.00413bc0
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x30], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x34], eax
lea ecx, [ebp - 0xc]
xor edx, edx
xor eax, eax
call fcn.00413bc0
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x28], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x2c], eax
push 0
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
xor edx, edx
xor eax, eax
call fcn.00413be8
push esi
lea edi, [esi + 0x40]
lea esi, [ebp - 0x1c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
mov dword [esi + 0xc], 0xffffffff
mov byte [esi + 0x52], 0
mov byte [esi + 0x53], 0
mov byte [esi + 0x54], 0
mov byte [esi + 0x55], 0
mov byte [esi + 0x50], 0
mov byte [esi + 0x51], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4750db
lea eax, [ebp - 4]
call fcn.004044e0
ret
Function at 0x47af30
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x47b0a7
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
lea eax, [ebp - 4]
push eax
mov ecx, 0x47b0c0
mov edx, dword [ebx + 4]
mov eax, esi
mov edi, dword [eax]
call dword [edi]
mov edx, dword [ebp - 4]
lea eax, [ebx + 8]
call fcn.00404534
push 0xffffffffffffffff
mov ecx, 0x47b0d0
mov edx, dword [ebx + 4]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 8]
mov dword [ebx + 0x30], eax
push 0xffffffffffffffff
mov ecx, 0x47b0ec
mov edx, dword [ebx + 4]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 8]
mov dword [ebx + 0x34], eax
mov ecx, 0x47b10c
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.004eea5c
mov byte [ebx + 0xc], al
lea eax, [ebp - 0x14]
push eax
mov ecx, 0x47b128
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.004ee948
push esi
lea esi, [ebp - 0x14]
lea edi, [ebx + 0xd]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
lea eax, [ebp - 0x14]
push eax
mov ecx, 0x47b13c
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.004ee948
push esi
lea esi, [ebp - 0x14]
lea edi, [ebx + 0x1d]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
lea eax, [ebp - 0x14]
push eax
mov ecx, 0x47b154
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.004ee948
push esi
lea esi, [ebp - 0x14]
lea edi, [ebx + 0x38]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
mov ecx, 0x47b170
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.004eea5c
mov byte [ebx + 0x48], al
mov ecx, 0x47b184
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.0046fd0c
mov byte [ebx + 0x49], al
push 0xffffffffffffffff
mov ecx, 0x47b198
mov edx, dword [ebx + 4]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 8]
mov dword [ebx + 0x4c], eax
push 0xffffffffffffffff
mov ecx, 0x47b1b8
mov edx, dword [ebx + 4]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 8]
mov dword [ebx + 0x50], eax
push 0
mov ecx, 0x47b1dc
mov edx, dword [ebx + 4]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 8]
mov dword [ebx + 0x54], eax
push 0
mov ecx, 0x47b1f8
mov edx, dword [ebx + 4]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 8]
mov dword [ebx + 0x58], eax
push 0xff
mov ecx, 0x47b214
mov edx, dword [ebx + 4]
mov eax, esi
mov esi, dword [eax]
call dword [esi + 8]
mov dword [ebx + 0x5c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47b0ae
lea eax, [ebp - 4]
call fcn.004044e0
ret
Function at 0x49e77c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x20c], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x49e9dc
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x49e7df
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.0049e294
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040cfc8
cmp al, 1
jne 0x49e7df
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.0049e55c
test al, al
je 0x49e96b
cmp dword [ebp - 8], 0
jge 0x49e7fd
xor eax, eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
inc ebx
lea edx, [ebp - 0x210]
mov eax, dword [ebp - 4]
call fcn.0049e294
mov eax, dword [ebp - 0x210]
call fcn.004047a0
cmp ebx, eax
jge 0x49e847
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.0049e294
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x502410]
and eax, 0xff
bt dword [edx], eax
jae 0x49e847
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 8]
jg 0x49e85b
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0049e758
cmp ebx, dword [ebp - 8]
je 0x49e95d
lea eax, [ebp - 0x108]
push eax
call sub.user32.dll_GetKeyboardState
mov edx, pe_nt_image_headers32
lea eax, [ebp - 0x208]
mov byte [eax], 0
inc eax
dec edx
jne 0x49e887
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.0040393c
and eax, 0x7f
movzx eax, word [eax*2 + 0x501e60]
mov byte [ebp + eax - 0x208], 0x81
lea eax, [ebp - 0x208]
push eax
call sub.user32.dll_SetKeyboardState
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 1
xor eax, eax
push ebp
push 0x49e94a
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.0040393c
and eax, 0x7f
movzx eax, word [eax*2 + 0x501e60]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.00447064
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.0040393c
and eax, 0x7f
movzx eax, word [eax*2 + 0x501e60]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.00447064
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49e951
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 0
ret
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x230], edx
jmp 0x49e9be
cmp dword [ebp - 8], 0
jge 0x49e976
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.0049e294
mov eax, dword [ebp - 0x218]
call fcn.004047a0
cmp eax, dword [ebp - 8]
jg 0x49e9b0
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.0049e294
mov eax, dword [ebp - 0x21c]
call fcn.004047a0
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0049e758
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49e9e3
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.00404504
ret
Function at 0x4a1cb0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov bl, byte [0x4a1ce8]
push 0x10
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x4a1cc6
or bl, 1
push 0x11
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x4a1cd5
or bl, 4
push 0x12
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x4a1ce4
or bl, 2
mov eax, ebx
pop ebx
ret

Function at 0x4a2644
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
mov eax, dword [ebx + 4]
mov edx, dword [0x43c65c]
call fcn.004038cc
test al, al
je 0x4a2697
mov eax, dword [0x502264]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
test eax, eax
je 0x4a2697
mov edx, dword [0x502264]
xor edx, edx
call fcn.00459938
push 0
mov eax, dword [0x502264]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [0x502264]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
mov dword [eax + 0xc], 0xffffd8f0
pop ebx
ret
Function at 0x4c1534
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff4
mov ebx, eax
mov esi, dword [ebx + 0x40]
test esi, esi
je 0x4c1621
mov eax, dword [ebx + 0x34]
mov edx, dword [eax + 0x40]
mov dword [esp], edx
mov edx, dword [eax + 0x44]
mov dword [esp + 4], edx
mov edi, dword [eax + 0x48]
mov ebp, dword [eax + 0x4c]
mov eax, dword [esi + 0x34]
sub dword [esp], eax
mov eax, dword [esi + 0x38]
sub dword [esp + 4], eax
lea eax, [esi + 0x34]
call fcn.004ee66c
mov edx, dword [ebx + 0x44]
add edi, dword [edx + 8]
sub edi, eax
mov eax, dword [ebx + 0x40]
add eax, 0x34
call fcn.004ee688
mov edx, dword [ebx + 0x44]
add ebp, dword [edx + 0xc]
sub ebp, eax
mov esi, dword [ebx + 0x88]
xor eax, eax
mov dword [ebx + 0x88], eax
push edi
push ebp
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov eax, ebx
call fcn.004c1140
mov edi, esi
xor ebp, ebp
xor esi, esi
mov eax, edi
mov ecx, 0xf
cdq
idiv ecx
mov dword [esp + 8], eax
cmp dword [esp + 8], 0
jne 0x4c15d0
mov dword [esp + 8], 1
mov eax, dword [0x502264]
mov eax, dword [eax]
call fcn.004601ec
call sub.kernel32.dll_GetTickCount
xor edx, edx
push edx
push eax
mov eax, ebp
cdq
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
cmp edx, 0
jne 0x4c15fd
cmp eax, 5
jbe 0x4c161d
jmp 0x4c15ff
jle 0x4c161d
call sub.kernel32.dll_GetTickCount
mov ebp, eax
add esi, dword [esp + 8]
cmp edi, esi
jge 0x4c1610
mov esi, edi
mov dword [ebx + 0x88], esi
mov eax, ebx
call fcn.004c1994
cmp edi, esi
jg 0x4c15dc
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret