joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49cd84
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
mov byte [ebp - 9], cl
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x10], eax
xor eax, eax
mov al, byte [ebp - 9]
imul eax, eax, 0x1010101
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x10], 0x40
jge 0x49ce10
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
mov eax, dword [eax + edx*4]
xor eax, dword [ebp - 0x14]
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
mov dword [edx + ecx*4], eax
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
mov eax, dword [eax + edx*4 + 4]
xor eax, dword [ebp - 0x14]
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
mov dword [edx + ecx*4 + 4], eax
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
mov eax, dword [eax + edx*4 + 8]
xor eax, dword [ebp - 0x14]
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
mov dword [edx + ecx*4 + 8], eax
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
mov eax, dword [eax + edx*4 + 0xc]
xor eax, dword [ebp - 0x14]
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
mov dword [edx + ecx*4 + 0xc], eax
add dword [ebp - 0x10], 4
cmp dword [ebp - 0x10], 0x40
jl 0x49cdac
mov esp, ebp
pop ebp
ret

Function at 0x49dff0
Capabilities:
Encrypt data using twofish

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
xor eax, eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax + 0x529654]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
call fcn.0049c9d0
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
call fcn.0049c9f0
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax + 0x529754]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0049c9d0
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
call fcn.0049c9f0
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
shl edx, 8
or eax, edx
mov edx, dword [ebp - 0x14]
shl edx, 0x10
or eax, edx
mov edx, dword [ebp - 0x14]
shl edx, 0x18
or eax, edx
mov edx, dword [ebp - 0x1c]
mov dword [edx*4 + 0x5863d0], eax
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x18]
shl edx, 8
or eax, edx
mov edx, dword [ebp - 0x10]
shl edx, 0x10
or eax, edx
mov edx, dword [ebp - 8]
shl edx, 0x18
or eax, edx
mov edx, dword [ebp - 0x1c]
mov dword [edx*4 + 0x5867d0], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
shl edx, 8
or eax, edx
mov edx, dword [ebp - 4]
shl edx, 0x10
or eax, edx
mov edx, dword [ebp - 0x14]
shl edx, 0x18
or eax, edx
mov edx, dword [ebp - 0x1c]
mov dword [edx*4 + 0x586bd0], eax
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
shl edx, 8
or eax, edx
mov edx, dword [ebp - 0x18]
shl edx, 0x10
or eax, edx
mov edx, dword [ebp - 0x10]
shl edx, 0x18
or eax, edx
mov edx, dword [ebp - 0x1c]
mov dword [edx*4 + 0x586fd0], eax
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 0x100
jne 0x49dffb
mov esp, ebp
pop ebp
ret
Function at 0x49e648
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
xor eax, eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
shr eax, 1
and eax, 0xff
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
and eax, 1
mov edx, dword [ebp - 4]
and edx, 0x200
shr edx, 8
or eax, edx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax*4 + 0x529884]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax*4 + 0x5298c4]
xor eax, dword [ebp - 8]
call fcn.0049e5a0
shl eax, 0x18
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
call fcn.0049e604
mov edx, dword [ebp - 4]
mov dword [edx*4 + 0x5873d8], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax*4 + 0x529894]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax*4 + 0x5298d4]
xor eax, dword [ebp - 8]
call fcn.0049e5a0
shl eax, 0x10
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
call fcn.0049e604
mov edx, dword [ebp - 4]
mov dword [edx*4 + 0x5883d8], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax*4 + 0x5298a4]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax*4 + 0x5298e4]
xor eax, dword [ebp - 8]
call fcn.0049e5a0
shl eax, 8
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
call fcn.0049e604
mov edx, dword [ebp - 4]
mov dword [edx*4 + 0x5893d8], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax*4 + 0x5298b4]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax*4 + 0x5298f4]
xor eax, dword [ebp - 8]
call fcn.0049e5a0
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
call fcn.0049e604
mov edx, dword [ebp - 4]
mov dword [edx*4 + 0x58a3d8], eax
inc dword [ebp - 4]
cmp dword [ebp - 4], 0x400
jne 0x49e653
mov esp, ebp
pop ebp
ret
Function at 0x49e830
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
mov eax, dword [eax + edx*4]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x10]
lea eax, [eax + eax*2]
mov edx, dword [ebp - 4]
lea eax, [edx + eax*4 + 0x4c]
mov dword [ebp - 0x20], eax
xor eax, eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x14]
xor ecx, ecx
mov dword [eax + edx*4], ecx
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 3
jne 0x49e868
xor eax, eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov ecx, 3
cdq
idiv ecx
mov eax, dword [ebp - 0x20]
lea eax, [eax + edx*4]
mov dword [ebp - 0x24], eax
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x18]
and eax, 3
mov edx, dword [ebp - 8]
lea eax, [edx + eax*2]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov ax, word [eax]
and ax, 1
movzx eax, ax
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
add eax, eax
or eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x24]
mov dword [edx], eax
mov eax, dword [ebp - 0x28]
movzx eax, word [eax]
shr eax, 1
mov dx, word [ebp - 0x2c]
xor dx, 1
shl edx, 0xf
or ax, dx
mov edx, dword [ebp - 0x28]
mov word [edx], ax
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 4
jne 0x49e89a
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0xf
jne 0x49e881
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 8
jne 0x49e844
mov esp, ebp
pop ebp
ret 4

Function at 0x4a4ee8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
xor eax, eax
mov al, byte [ebp - 5]
dec eax
test eax, eax
jl 0x4a4f7a
inc eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0xc]
shl eax, 2
mov edx, dword [ebp - 4]
movzx eax, byte [edx + eax]
lea eax, [eax*4 + 0x52ee90]
mov eax, dword [eax]
mov edx, dword [ebp - 0xc]
shl edx, 2
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx + edx + 1]
lea edx, [edx*4 + 0x52f290]
xor eax, dword [edx]
mov edx, dword [ebp - 0xc]
shl edx, 2
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx + edx + 2]
lea edx, [edx*4 + 0x52f690]
xor eax, dword [edx]
mov edx, dword [ebp - 0xc]
shl edx, 2
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx + edx + 3]
lea edx, [edx*4 + 0x52fa90]
xor eax, dword [edx]
mov edx, dword [ebp - 0xc]
shl edx, 2
mov ecx, dword [ebp - 4]
lea edx, [ecx + edx]
mov dword [edx], eax
inc dword [ebp - 0xc]
dec dword [ebp - 0x10]
jne 0x4a4f09
mov esp, ebp
pop ebp
ret
Function at 0x4abbec
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd38
xor ecx, ecx
mov dword [ebp - 0x2a8], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404b34
xor eax, eax
push ebp
push 0x4abd69
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x1a4]
push eax
push 0x101
call sub.wsock32.dll_WSAStartup
xor eax, eax
push ebp
push 0x4abd41
push dword fs:[eax]
mov dword fs:[eax], esp
push pe_nt_image_headers32
lea eax, [ebp - 0x2a4]
push eax
call sub.wsock32.dll_gethostname
lea eax, [ebp - 0x2a4]
mov edx, dword [ebp - 4]
call fcn.004096b0
lea eax, [ebp - 0x2a4]
push eax
call sub.wsock32.dll_gethostbyname
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4abd19
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0xc], 0
je 0x4abd13
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4abd0d
lea eax, [ebp - 0x2a8]
push eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax]
mov dword [ebp - 0x2c8], eax
mov byte [ebp - 0x2c4], 0
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax + 1]
mov dword [ebp - 0x2c0], eax
mov byte [ebp - 0x2bc], 0
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax + 2]
mov dword [ebp - 0x2b8], eax
mov byte [ebp - 0x2b4], 0
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax + 3]
mov dword [ebp - 0x2b0], eax
mov byte [ebp - 0x2ac], 0
lea edx, [ebp - 0x2c8]
mov ecx, 3
mov eax, 0x4abd80
call fcn.00409cf4
mov edx, dword [ebp - 0x2a8]
mov eax, dword [ebp - 8]
call fcn.004046d8
mov byte [ebp - 9], 1
jmp 0x4abd1d
mov byte [ebp - 9], 0
jmp 0x4abd1d
mov byte [ebp - 9], 0
jmp 0x4abd1d
mov byte [ebp - 9], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4abd48
cmp byte [ebp - 9], 0
jne 0x4abd3b
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.004046d8
call sub.wsock32.dll_WSACleanup
ret

Function at 0x4ac3cc
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 4], eax
call sub.kernel32.dll_GetTickCount_1
mov dword [ebp - 8], eax
jmp 0x4ac3eb
mov eax, dword [0x532c8c]
mov eax, dword [eax]
call fcn.0045eb7c
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebp - 8]
cmp eax, dword [ebp - 4]
jb 0x4ac3df
pop ecx
pop ecx
pop ebp
ret
Function at 0x4b3aa4
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
mov dword [ebp - 4], eax
mov byte [ebp - 5], 0
cmp dword [0x58bc58], 0
je 0x4b3b36
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [0x58d5f8]
cmp eax, 0x9c4
jbe 0x4b3b36
mov eax, dword [0x58bc58]
cmp byte [eax + 0x16], 0
jne 0x4b3b36
mov eax, dword [0x58d5f4]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x4b3b36
inc eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xc], 0
mov edx, dword [ebp - 0xc]
mov eax, dword [0x58d5f4]
call fcn.00418724
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
cmp word [eax + 8], 0x1a
jne 0x4b3b2e
push 0xae
push 0x1a
push 0
mov ecx, 0x23b
mov edx, 0xbc9
mov eax, dword [ebp - 4]
call fcn.004b61fc
call sub.kernel32.dll_GetTickCount_1
mov dword [0x58d5f8], eax
inc dword [ebp - 0xc]
dec dword [ebp - 0x14]
jne 0x4b3aef
mov al, byte [ebp - 5]
mov esp, ebp
pop ebp
ret
Function at 0x4b7bbc
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov dword [ebp - 4], eax
mov eax, dword [0x58bc58]
movzx eax, word [eax + 0x50]
imul edx, eax, 0xe
mov eax, 0x172
call fcn.0047c994
mov dword [ebp - 0x10], eax
mov eax, dword [0x58bc58]
movsx eax, byte [eax + 0x88]
imul edx, eax, 0x3c
add edx, dword [ebp - 0x10]
mov eax, 0x320
call fcn.0047c994
mov dword [ebp - 0x10], eax
cmp byte [0x58d95d], 0
je 0x4b7c18
mov eax, 0x514
sub eax, dword [ebp - 0x10]
add eax, 0x5dc
mov dword [ebp - 0xc], eax
jmp 0x4b7c23
mov eax, 0x514
sub eax, dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
xor eax, eax
mov al, byte [0x5a5ac2]
imul eax, eax, 0x64
sub dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jge 0x4b7c3b
xor eax, eax
mov dword [ebp - 0xc], eax
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x49c]
cmp eax, dword [ebp - 0xc]
jbe 0x4b7c62
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x49c], eax
mov byte [ebp - 5], 1
jmp 0x4b7c66
mov byte [ebp - 5], 0
mov eax, dword [0x58bc58]
cmp byte [eax + 0x22], 0
jbe 0x4b7c75
mov byte [ebp - 5], 0
mov al, byte [ebp - 5]
mov esp, ebp
pop ebp
ret
Function at 0x4c1c0c
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
mov dword [ebp - 8], edx
mov byte [ebp - 1], al
mov byte [ebp - 9], 1
mov dl, byte [ebp - 1]
add dl, 0x31
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.004b15dc
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4c1c3f
mov byte [ebp - 9], 0
jmp 0x4c1d1c
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.004b7af0
test al, al
je 0x4c1d1c
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.004b7a94
test al, al
je 0x4c1d1c
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [0x58d938]
mov edx, dword [0x58d9c0]
add edx, 0x1f4
cmp eax, edx
jbe 0x4c1d1c
call sub.kernel32.dll_GetTickCount_1
mov dword [0x58d938], eax
mov eax, 0x24
call fcn.0040279c
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
xor ecx, ecx
mov edx, 0x24
call fcn.00403178
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax + 0x18]
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, word [eax + 8]
mov edx, dword [ebp - 0x14]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x14]
xor edx, edx
mov dword [eax], edx
mov eax, dword [ebp - 8]
movzx eax, word [eax + 0xa]
push eax
mov eax, dword [ebp - 8]
movzx ecx, word [eax + 8]
mov edx, 0xaf
mov eax, 0x186
call fcn.005121b8
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
movzx eax, word [eax + 0xa]
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
push eax
push 0
push 0
mov eax, dword [ebp - 8]
movzx ecx, word [eax + 8]
mov dx, 0xbc9
mov eax, dword [0x58bc58]
call fcn.0050694c
mov al, byte [ebp - 9]
mov esp, ebp
pop ebp
ret
Function at 0x4d3344
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
xor ecx, ecx
mov edx, 0x58
call fcn.00403178
mov eax, dword [ebp - 4]
mov dword [eax], 0x67452301
mov eax, dword [ebp - 4]
mov dword [eax + 4], 0xefcdab89
mov eax, dword [ebp - 4]
mov dword [eax + 8], 0x98badcfe
mov eax, dword [ebp - 4]
mov dword [eax + 0xc], 0x10325476
pop ecx
pop ebp
ret
Function at 0x5089b0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffbc
push esi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x10]
sub al, 8
jae 0x508b39
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x278]
cmp eax, 0xea60
jbe 0x5089fd
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x278], eax
mov eax, dword [ebp - 4]
mov si, 0xfff3
call fcn.00403b30
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x278], eax
mov eax, dword [ebp - 4]
call fcn.005085f8
mov byte [ebp - 0x1d], al
mov eax, dword [ebp - 4]
cmp dword [eax + 0x1ac], 0
je 0x508a6a
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
add eax, dword [edx + 0xf8]
mov edx, dword [ebp - 4]
add eax, dword [edx + 0xf0]
push eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp - 4]
add eax, dword [edx + 0x10c]
mov edx, dword [ebp - 4]
add eax, dword [edx + 0xf4]
push eax
mov al, byte [ebp + 8]
push eax
mov al, byte [ebp - 0x1d]
push eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x1ac]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00508428
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0050873c
mov eax, dword [ebp - 4]
cmp byte [eax + 0x154], 0
je 0x508b39
mov eax, dword [ebp - 4]
cmp dword [eax + 0x188], 0
jle 0x508b39
xor eax, eax
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x174]
dec edx
lea ecx, [ebp - 0x44]
mov ah, 0x20
call fcn.00403414
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x16c]
cmp eax, 0xff
ja 0x508ac6
bt dword [ebp - 0x44], eax
jae 0x508b39
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x24]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x188]
dec eax
xor edx, edx
call fcn.0050d994
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x16c]
add dword [ebp - 0x10], eax
cmp dword [ebp - 0x24], 0
je 0x508b07
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x24]
call fcn.0048bae4
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x508b39
mov eax, dword [ebp - 0x1c]
push eax
push 1
mov ecx, dword [ebp + 0xc]
add ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
add ecx, dword [eax + 0xf4]
mov edx, dword [ebp - 0xc]
add edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
add edx, dword [eax + 0xf0]
mov eax, dword [ebp - 8]
call fcn.0048d608
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x509c74
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [0x5328dc]
cmp eax, dword [edx]
jne 0x509ca4
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
sub eax, dword [edx + 0x15c]
cmp eax, 0xbb8
seta byte [ebp - 1]
jmp 0x509cbe
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
sub eax, dword [edx + 0x15c]
cmp eax, 0x7d0
seta byte [ebp - 1]
cmp byte [ebp - 1], 0
je 0x509cd2
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
xor edx, edx
mov dword [eax + 0x178], edx
mov al, byte [ebp - 1]
pop ecx
pop ebp
ret
Function at 0x50c104
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [0x5328dc]
cmp eax, dword [edx]
jne 0x50c134
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
sub eax, dword [edx + 0x15c]
cmp eax, 0xbb8
seta byte [ebp - 1]
jmp 0x50c14e
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
sub eax, dword [edx + 0x15c]
cmp eax, 0x7d0
seta byte [ebp - 1]
cmp byte [ebp - 1], 0
je 0x50c162
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
xor edx, edx
mov dword [eax + 0x178], edx
mov al, byte [ebp - 1]
pop ecx
pop ebp
ret
Function at 0x50eeac
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 4], eax
mov byte [ebp - 5], 1
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x98]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x78]
jbe 0x50ef4d
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x98], eax
mov eax, dword [ebp - 4]
inc dword [eax + 0x84]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x80]
mov edx, dword [ebp - 4]
add eax, dword [edx + 0x88]
dec eax
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x84]
jge 0x50ef4d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x80]
mov edx, dword [ebp - 4]
add eax, dword [edx + 0x88]
dec eax
mov edx, dword [ebp - 4]
mov dword [edx + 0x84], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc8], 0
jle 0x50ef49
mov eax, dword [ebp - 4]
dec dword [eax + 0xc8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x80]
mov edx, dword [ebp - 4]
mov dword [edx + 0x84], eax
jmp 0x50ef4d
mov byte [ebp - 5], 0
mov al, byte [ebp - 5]
pop ecx
pop ecx
pop ebp
ret

Function at 0x512a64
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
mov byte [ebp - 1], al
mov byte [ebp - 2], 0
lea eax, [ebp - 0x102]
xor ecx, ecx
mov edx, pe_nt_image_headers32
call fcn.00403178
lea eax, [ebp - 0x102]
push eax
call sub.user32.dll_GetKeyboardState
test eax, eax
je 0x512aa9
xor eax, eax
mov al, byte [ebp - 1]
test byte [ebp + eax - 0x102], 0x80
je 0x512aa9
mov byte [ebp - 2], 1
mov al, byte [ebp - 2]
mov esp, ebp
pop ebp
ret

Function at 0x512c1c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404b34
xor eax, eax
push ebp
push 0x512d19
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], 0xf667
mov eax, dword [ebp - 4]
call fcn.00404944
shr eax, 1
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
dec eax
test eax, eax
jl 0x512d03
inc eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 8]
mov edx, 0x512d30
call fcn.0040494c
mov eax, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
add eax, eax
mov edx, dword [ebp - 4]
mov al, byte [edx + eax]
call fcn.00512bc8
xor ebx, ebx
mov bl, al
shl ebx, 4
mov eax, dword [ebp - 0x10]
add eax, eax
mov edx, dword [ebp - 4]
mov al, byte [edx + eax + 1]
call fcn.00512bc8
and eax, 0xff
add ebx, eax
mov dword [ebp - 0x18], ebx
mov al, byte [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
and edx, 0xffff
shr edx, 8
and dl, 0xff
xor al, dl
mov byte [ebp - 0x1d], al
mov eax, dword [ebp - 8]
call fcn.00404b9c
mov edx, dword [ebp - 0x10]
mov cl, byte [ebp - 0x1d]
mov byte [eax + edx], cl
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x18]
imul eax, eax, 0xce6d
and eax, 0xffff
add eax, 0x58bf
mov dword [ebp - 0x1c], eax
inc dword [ebp - 0x10]
dec dword [ebp - 0x24]
jne 0x512c74
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x512d20
lea eax, [ebp - 4]
call fcn.00404684
ret
Function at 0x512d34
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
xor ecx, ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404b34
xor eax, eax
push ebp
push 0x512e75
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404944
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0x1c], eax
xor eax, eax
mov dword [ebp - 0x20], eax
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], 0xf667
mov eax, dword [ebp - 0x10]
dec eax
test eax, eax
jl 0x512e4f
inc eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x14]
movzx eax, byte [eax + edx]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x28]
and eax, 0xffff
shr eax, 8
xor dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
and eax, 0xf0
shr eax, 4
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x1c]
and eax, 0xf
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 8]
push dword [eax]
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x34], 0
lea edx, [ebp - 0x38]
xor ecx, ecx
mov eax, 0x512e8c
call fcn.00409cf4
push dword [ebp - 0x30]
lea eax, [ebp - 0x3c]
push eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x34], 0
lea edx, [ebp - 0x38]
xor ecx, ecx
mov eax, 0x512e8c
call fcn.00409cf4
push dword [ebp - 0x3c]
mov eax, dword [ebp - 8]
mov edx, 3
call fcn.00404a04
mov eax, dword [ebp - 0x28]
add eax, dword [ebp - 0x1c]
imul eax, eax, 0xce6d
and eax, 0xffff
add eax, 0x58bf
mov dword [ebp - 0x28], eax
inc dword [ebp - 0x14]
dec dword [ebp - 0x2c]
jne 0x512da0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x512e7c
lea eax, [ebp - 0x3c]
call fcn.00404684
lea eax, [ebp - 0x30]
call fcn.00404684
lea eax, [ebp - 4]
call fcn.00404684
ret