joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a4430
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 0x4a44c2
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 + 0x523298]
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 + 0x523698]
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 + 0x523a98]
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 + 0x523e98]
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 0x4a4451
mov esp, ebp
pop ebp
ret

Function at 0x4aaf24
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 + 0x527634]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax*4 + 0x527674]
xor eax, dword [ebp - 8]
call fcn.004aae7c
shl eax, 0x18
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
call fcn.004aaee0
mov edx, dword [ebp - 4]
mov dword [edx*4 + 0x561fec], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax*4 + 0x527644]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax*4 + 0x527684]
xor eax, dword [ebp - 8]
call fcn.004aae7c
shl eax, 0x10
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
call fcn.004aaee0
mov edx, dword [ebp - 4]
mov dword [edx*4 + 0x562fec], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax*4 + 0x527654]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax*4 + 0x527694]
xor eax, dword [ebp - 8]
call fcn.004aae7c
shl eax, 8
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
call fcn.004aaee0
mov edx, dword [ebp - 4]
mov dword [edx*4 + 0x563fec], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax*4 + 0x527664]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax*4 + 0x5276a4]
xor eax, dword [ebp - 8]
call fcn.004aae7c
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
call fcn.004aaee0
mov edx, dword [ebp - 4]
mov dword [edx*4 + 0x564fec], eax
inc dword [ebp - 4]
cmp dword [ebp - 4], 0x400
jne 0x4aaf2f
mov esp, ebp
pop ebp
ret
Function at 0x4ab10c
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 0x4ab144
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 0x4ab176
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0xf
jne 0x4ab15d
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 8
jne 0x4ab120
mov esp, ebp
pop ebp
ret 4
Function at 0x4abf40
Capabilities:
Encrypt data using twofish

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
and eax, 0xff
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
shr eax, 8
and eax, 0xff
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
shr eax, 0x10
and eax, 0xff
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 4]
shr eax, 0x18
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0xc], 0x100
jne 0x4abff7
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax + 0x5278c4]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0xc]
and edx, 0xff
xor eax, edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax + 0x5277c4]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0xc]
shr edx, 8
and edx, 0xff
xor eax, edx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax + 0x5277c4]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0xc]
shr edx, 0x10
and edx, 0xff
xor eax, edx
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax + 0x5278c4]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0xc]
shr edx, 0x18
xor eax, edx
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0xc], 0xc0
jl 0x4ac06f
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax + 0x5278c4]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 8]
and edx, 0xff
xor eax, edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax + 0x5278c4]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 8]
shr edx, 8
and edx, 0xff
xor eax, edx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax + 0x5277c4]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 8]
shr edx, 0x10
and edx, 0xff
xor eax, edx
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax + 0x5277c4]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 8]
shr edx, 0x18
xor eax, edx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax + 0x5277c4]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 4]
and edx, 0xff
xor eax, edx
movzx eax, byte [eax + 0x5277c4]
mov edx, dword [ebp - 8]
mov edx, dword [edx]
and edx, 0xff
xor eax, edx
mov eax, dword [eax*4 + 0x565ff4]
mov edx, dword [ebp - 0x18]
movzx edx, byte [edx + 0x5278c4]
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx + 4]
shr ecx, 8
and ecx, 0xff
xor edx, ecx
movzx edx, byte [edx + 0x5277c4]
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
shr ecx, 8
and ecx, 0xff
xor edx, ecx
xor eax, dword [edx*4 + 0x5663f4]
mov edx, dword [ebp - 0x1c]
movzx edx, byte [edx + 0x5277c4]
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx + 4]
shr ecx, 0x10
and ecx, 0xff
xor edx, ecx
movzx edx, byte [edx + 0x5278c4]
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
shr ecx, 0x10
and ecx, 0xff
xor edx, ecx
xor eax, dword [edx*4 + 0x5667f4]
mov edx, dword [ebp - 0x20]
movzx edx, byte [edx + 0x5278c4]
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx + 4]
shr ecx, 0x18
xor edx, ecx
movzx edx, byte [edx + 0x5278c4]
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
shr ecx, 0x18
xor edx, ecx
xor eax, dword [edx*4 + 0x566bf4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
Function at 0x4ac14c
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 0x4ac1d8
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 0x4ac174
mov esp, ebp
pop ebp
ret

Function at 0x4ad3b8
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 + 0x5277c4]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
call fcn.004abd98
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
call fcn.004abdb8
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax + 0x5278c4]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004abd98
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
call fcn.004abdb8
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 + 0x565ff4], 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 + 0x5663f4], 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 + 0x5667f4], 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 + 0x566bf4], eax
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 0x100
jne 0x4ad3c3
mov esp, ebp
pop ebp
ret
Function at 0x4f0668
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 0x4f0709
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 0x4f0709
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 0x4f0705
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 0x4f0709
mov byte [ebp - 5], 0
mov al, byte [ebp - 5]
pop ecx
pop ecx
pop ebp
ret

Function at 0x4f2e90
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.00403984
lea eax, [ebp - 0x102]
push eax
call sub.user32.dll_GetKeyboardState
test eax, eax
je 0x4f2ed5
xor eax, eax
mov al, byte [ebp - 1]
test byte [ebp + eax - 0x102], 0x80
je 0x4f2ed5
mov byte [ebp - 2], 1
mov al, byte [ebp - 2]
mov esp, ebp
pop ebp
ret
Function at 0x4f5e60
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 0x4f5fe9
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x278]
cmp eax, 0xea60
jbe 0x4f5ead
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.00404400
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x278], eax
mov eax, dword [ebp - 4]
call fcn.004f5aa8
mov byte [ebp - 0x1d], al
mov eax, dword [ebp - 4]
cmp dword [eax + 0x1ac], 0
je 0x4f5f1a
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.004f5908
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004f5bec
mov eax, dword [ebp - 4]
cmp byte [eax + 0x154], 0
je 0x4f5fe9
mov eax, dword [ebp - 4]
cmp dword [eax + 0x188], 0
jle 0x4f5fe9
xor eax, eax
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x174]
dec edx
lea ecx, [ebp - 0x44]
mov ah, 0x20
call fcn.00403c80
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x16c]
cmp eax, 0xff
ja 0x4f5f76
bt dword [ebp - 0x44], eax
jae 0x4f5fe9
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.004ef150
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x16c]
add dword [ebp - 0x10], eax
cmp dword [ebp - 0x24], 0
je 0x4f5fb7
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x24]
call fcn.004954c0
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x4f5fe9
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.00495650
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x4f7124
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 [0x529bec]
cmp eax, dword [edx]
jne 0x4f7154
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 0x4f716e
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 0x4f7182
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 0x4f95c8
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 [0x529bec]
cmp eax, dword [edx]
jne 0x4f95f8
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 0x4f9612
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 0x4f9626
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 0x4faec8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004054b0
xor eax, eax
push ebp
push 0x4fafd7
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]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x4faf13
mov eax, dword [ebp - 0x28]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
shr eax, 1
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
dec eax
test eax, eax
jl 0x4fafc1
inc eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 8]
mov edx, 0x4faff0
call fcn.004052fc
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.004fae74
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.004fae74
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.00405520
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 0x4faf32
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fafde
lea eax, [ebp - 4]
call fcn.00405030
ret
Function at 0x4faff4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
xor ecx, ecx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004054b0
xor eax, eax
push ebp
push 0x4fb147
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x4fb035
mov eax, dword [ebp - 0x30]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
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 0x4fb121
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 - 0x34]
push eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0
lea edx, [ebp - 0x3c]
xor ecx, ecx
mov eax, 0x4fb160
call fcn.0040a89c
push dword [ebp - 0x34]
lea eax, [ebp - 0x40]
push eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0
lea edx, [ebp - 0x3c]
xor ecx, ecx
mov eax, 0x4fb160
call fcn.0040a89c
push dword [ebp - 0x40]
mov eax, dword [ebp - 8]
mov edx, 3
call fcn.004053c4
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 0x4fb072
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fb14e
lea eax, [ebp - 0x40]
call fcn.00405030
lea eax, [ebp - 0x34]
call fcn.00405030
lea eax, [ebp - 4]
call fcn.00405030
ret
Function at 0x4fd8f4
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.004054b0
xor eax, eax
push ebp
push 0x4fda71
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 0x4fda49
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.0040a22c
lea eax, [ebp - 0x2a4]
push eax
call sub.wsock32.dll_gethostbyname
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4fda21
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0xc], 0
je 0x4fda1b
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 0x4fda15
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, 0x4fda88
call fcn.0040a89c
mov edx, dword [ebp - 0x2a8]
mov eax, dword [ebp - 8]
call fcn.00405084
mov byte [ebp - 9], 1
jmp 0x4fda25
mov byte [ebp - 9], 0
jmp 0x4fda25
mov byte [ebp - 9], 0
jmp 0x4fda25
mov byte [ebp - 9], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fda50
cmp byte [ebp - 9], 0
jne 0x4fda43
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00405084
call sub.wsock32.dll_WSACleanup
ret

Function at 0x4fe164
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 0x4fe183
mov eax, dword [0x529f9c]
mov eax, dword [eax]
call fcn.00464d24
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebp - 8]
cmp eax, dword [ebp - 4]
jb 0x4fe177
pop ecx
pop ecx
pop ebp
ret
Function at 0x5059bc
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 [0x567470], 0
je 0x505a4e
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [0x568e10]
cmp eax, 0x9c4
jbe 0x505a4e
mov eax, dword [0x567470]
cmp byte [eax + 0x16], 0
jne 0x505a4e
mov eax, dword [0x568e0c]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x505a4e
inc eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xc], 0
mov edx, dword [ebp - 0xc]
mov eax, dword [0x568e0c]
call fcn.00419164
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
cmp word [eax + 8], 0x1a
jne 0x505a46
push 0xae
push 0x1a
push 0
mov ecx, 0x23b
mov edx, 0xbc9
mov eax, dword [ebp - 4]
call fcn.00508160
call sub.kernel32.dll_GetTickCount_1
mov dword [0x568e10], eax
inc dword [ebp - 0xc]
dec dword [ebp - 0x14]
jne 0x505a07
mov al, byte [ebp - 5]
mov esp, ebp
pop ebp
ret