joyce8/EMBER2024-capa huggingface dataset:
Function at 0x470e0c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0
jle 0x470eb6
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10], 0
jle 0x470eb6
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x470b4c]
call fcn.00471218
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x470eaf
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x20]
mov edx, eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
call fcn.004030d0
mov dl, 1
mov eax, dword [ebp - 0xc]
call fcn.004714bc
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x10]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 0xc]
call fcn.0041836c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x470eb6
mov eax, dword [ebp - 0xc]
call fcn.004041ec
ret
mov esp, ebp
pop ebp
ret

Function at 0x474ad0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
xor edx, edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405498
xor eax, eax
push ebp
push 0x474c0c
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
call fcn.00409bc4
test al, al
je 0x474bee
mov edx, 0x40
mov eax, dword [ebp - 4]
call fcn.00409ab8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x474bee
mov ecx, 2
xor edx, edx
mov eax, dword [ebp - 0x10]
call fcn.00409b68
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
test eax, eax
jns 0x474b3f
add eax, 3
sar eax, 2
shl eax, 2
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
call fcn.00402ee0
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
mov edx, dword [ebp - 0x18]
call fcn.00403950
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 0x10]
call fcn.00409b68
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
call fcn.00409b10
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
xor eax, eax
mov dword [ebp - 0x24], eax
lea edx, [ebp - 0x2c]
mov eax, 4
call fcn.004096c8
mov ecx, dword [ebp - 0x2c]
mov dl, 1
mov eax, dword [0x408398]
call fcn.0040d0d0
mov eax, dword [ebp - 0x18]
test eax, eax
jns 0x474bb4
add eax, 3
sar eax, 2
dec eax
test eax, eax
jl 0x474be0
inc eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
xor dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x20]
add eax, 4
mov dword [ebp - 0x20], eax
inc dword [ebp - 0xc]
dec dword [ebp - 0x28]
jne 0x474bc7
mov eax, dword [ebp - 0x1c]
call fcn.00402efc
mov eax, dword [ebp - 0x24]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x474c13
lea eax, [ebp - 0x2c]
call fcn.00405018
lea eax, [ebp - 4]
call fcn.00405018
ret
Function at 0x4814f0
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 0x48150f
mov eax, dword [0x4e97bc]
mov eax, dword [eax]
call fcn.0045f1d0
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebp - 8]
cmp eax, dword [ebp - 4]
jb 0x481503
pop ecx
pop ecx
pop ebp
ret
Function at 0x48a6b0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov dword [ebp - 4], eax
mov eax, dword [0x4e96e8]
mov eax, dword [eax]
movzx eax, word [eax + 0x3c]
imul edx, eax, 0xe
mov eax, 0x172
call fcn.00474a78
mov dword [ebp - 0x10], eax
mov eax, dword [0x4e96e8]
mov eax, dword [eax]
movsx eax, byte [eax + 0x7c]
imul edx, eax, 0x3c
add edx, dword [ebp - 0x10]
mov eax, 0x320
call fcn.00474a78
mov dword [ebp - 0x10], eax
mov eax, dword [0x4e96e4]
cmp byte [eax], 0
je 0x48a70e
mov eax, 0x578
sub eax, dword [ebp - 0x10]
add eax, 0x5dc
mov dword [ebp - 0xc], eax
jmp 0x48a719
mov eax, 0x578
sub eax, dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jge 0x48a724
xor eax, eax
mov dword [ebp - 0xc], eax
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x444]
cmp eax, dword [ebp - 0xc]
jbe 0x48a74b
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x444], eax
mov byte [ebp - 5], 1
jmp 0x48a74f
mov byte [ebp - 5], 0
mov al, byte [ebp - 5]
mov esp, ebp
pop ebp
ret
Function at 0x48ad98
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
mov ecx, 4
push 0
push 0
dec ecx
jne 0x48ada0
push ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x48af1a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4e9220]
cmp dword [eax], 0
jbe 0x48aee8
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [0x4e95f8]
sub eax, dword [edx]
cmp eax, 0x36ee80
jbe 0x48adf5
mov eax, dword [0x4e9220]
mov edx, dword [ebp - 8]
mov dword [eax], edx
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [0x4e95f8]
mov dword [edx], eax
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [0x4e95f8]
sub eax, dword [edx]
mov dword [ebp - 0xc], eax
mov eax, dword [0x4e9220]
mov edx, dword [ebp - 8]
sub edx, dword [eax]
add edx, 0xbb8
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x10]
jle 0x48ae62
mov eax, dword [0x4e98fc]
inc dword [eax]
mov eax, dword [0x4e98fc]
cmp dword [eax], 6
jle 0x48ae78
lea eax, [ebp - 0x14]
mov edx, 0x48af30
call fcn.004050b0
mov eax, dword [0x4e9afc]
mov eax, dword [eax]
mov cx, word [0x48af34]
mov edx, 0x48af40
call fcn.004a9378
mov eax, dword [0x4f1bec]
call fcn.0045b544
jmp 0x48ae78
lea eax, [ebp - 0x14]
mov edx, 0x48af88
call fcn.004050b0
mov eax, dword [0x4e98fc]
xor edx, edx
mov dword [eax], edx
mov eax, dword [0x4e9704]
cmp byte [eax], 0
je 0x48aeff
push 0x1e
push 0x28
push 0x8000
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 0x10]
call fcn.004096c8
push dword [ebp - 0x1c]
push 0x48af98
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 0xc]
call fcn.004096c8
push dword [ebp - 0x20]
push 0x48afa4
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0xc]
call fcn.004096c8
push dword [ebp - 0x24]
push 0x48afb0
push dword [ebp - 0x14]
lea eax, [ebp - 0x18]
mov edx, 7
call fcn.004053ac
mov edx, dword [ebp - 0x18]
xor ecx, ecx
mov eax, dword [0x4f1bf0]
call fcn.004e1388
jmp 0x48aeff
mov eax, dword [0x4e9220]
mov edx, dword [ebp - 8]
mov dword [eax], edx
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [0x4e95f8]
mov dword [edx], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48af21
lea eax, [ebp - 0x24]
mov edx, 5
call fcn.0040503c
ret
Function at 0x493fec
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x493ff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00405498
xor eax, eax
push ebp
push 0x494197
push dword fs:[eax]
mov dword fs:[eax], esp
push 2
lea eax, [ebp - 0x24]
push eax
mov byte [ebp - 0x28], 0x20
mov byte [ebp - 0x27], 0x3a
mov byte [ebp - 0x26], 9
lea ecx, [ebp - 0x28]
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.004742a4
mov edx, dword [ebp - 0x24]
lea eax, [ebp - 8]
call fcn.004050b0
push 2
lea eax, [ebp - 0x2c]
push eax
mov byte [ebp - 0x28], 0x20
mov byte [ebp - 0x27], 0x3a
mov byte [ebp - 0x26], 9
lea ecx, [ebp - 0x28]
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.004742a4
mov edx, dword [ebp - 0x2c]
lea eax, [ebp - 8]
call fcn.004050b0
push 2
lea eax, [ebp - 0x30]
push eax
mov byte [ebp - 0x28], 0x20
mov byte [ebp - 0x27], 0x3a
mov byte [ebp - 0x26], 9
lea ecx, [ebp - 0x28]
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 8]
call fcn.004742a4
mov edx, dword [ebp - 0x30]
lea eax, [ebp - 8]
call fcn.004050b0
push 2
lea eax, [ebp - 0x34]
push eax
mov byte [ebp - 0x28], 0x20
mov byte [ebp - 0x27], 0x3a
mov byte [ebp - 0x26], 9
lea ecx, [ebp - 0x28]
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 8]
call fcn.004742a4
mov edx, dword [ebp - 0x34]
lea eax, [ebp - 8]
call fcn.004050b0
push 2
lea eax, [ebp - 0x38]
push eax
mov byte [ebp - 0x28], 0x20
mov byte [ebp - 0x27], 0x3a
mov byte [ebp - 0x26], 9
lea ecx, [ebp - 0x28]
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 8]
call fcn.004742a4
mov edx, dword [ebp - 0x38]
lea eax, [ebp - 8]
call fcn.004050b0
push 2
lea eax, [ebp - 0x3c]
push eax
mov byte [ebp - 0x28], 0x20
mov byte [ebp - 0x27], 0x3a
mov byte [ebp - 0x26], 9
lea ecx, [ebp - 0x28]
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 8]
call fcn.004742a4
mov edx, dword [ebp - 0x3c]
lea eax, [ebp - 8]
call fcn.004050b0
push 2
lea eax, [ebp - 0x40]
push eax
mov byte [ebp - 0x28], 0x20
mov byte [ebp - 0x27], 0x3a
mov byte [ebp - 0x26], 9
lea ecx, [ebp - 0x28]
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 8]
call fcn.004742a4
mov edx, dword [ebp - 0x40]
lea eax, [ebp - 8]
call fcn.004050b0
mov edx, 0x4941ac
mov eax, dword [ebp - 0xc]
call fcn.00409250
test eax, eax
jne 0x49416f
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.004941bc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49419e
lea eax, [ebp - 0x40]
mov edx, 6
call fcn.0040503c
lea eax, [ebp - 0x24]
mov edx, 8
call fcn.0040503c
ret
Function at 0x4943f8
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
mov eax, dword [0x4e96e8]
cmp dword [eax], 0
je 0x4944b6
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [0x4e9320]
sub eax, dword [edx]
cmp eax, 0x1b58
jbe 0x4944b6
mov eax, dword [0x4e96e8]
mov eax, dword [eax]
cmp byte [eax + 0x18], 0
jne 0x4944b6
mov eax, dword [0x4e9784]
mov eax, dword [eax]
cmp dword [eax + 8], 0
jle 0x4944b6
mov eax, dword [0x4e9784]
mov eax, dword [eax]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x4944b6
inc eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xc], 0
mov eax, dword [0x4e9784]
mov eax, dword [eax]
mov edx, dword [ebp - 0xc]
call fcn.00415a38
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
cmp word [eax + 8], 0x1a
jne 0x4944ae
mov eax, dword [0x4e96e8]
mov eax, dword [eax]
mov eax, dword [eax + 0xc]
push eax
push 0x1a
push 0
mov eax, dword [0x4e96e8]
mov eax, dword [eax]
mov ecx, dword [eax + 8]
mov edx, 0xbc9
mov eax, dword [ebp - 4]
call fcn.00488cc0
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [0x4e9320]
mov dword [edx], eax
inc dword [ebp - 0xc]
dec dword [ebp - 0x14]
jne 0x49445f
mov al, byte [ebp - 5]
mov esp, ebp
pop ebp
ret

Function at 0x4944c0
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
mov eax, dword [0x4e96e8]
cmp dword [eax], 0
je 0x49457e
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [0x4e94e8]
sub eax, dword [edx]
cmp eax, 0x2710
jbe 0x49457e
mov eax, dword [0x4e96e8]
mov eax, dword [eax]
cmp byte [eax + 0x18], 0
jne 0x49457e
mov eax, dword [0x4e9784]
mov eax, dword [eax]
cmp dword [eax + 8], 0
jle 0x49457e
mov eax, dword [0x4e9784]
mov eax, dword [eax]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x49457e
inc eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xc], 0
mov eax, dword [0x4e9784]
mov eax, dword [eax]
mov edx, dword [ebp - 0xc]
call fcn.00415a38
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
cmp word [eax + 8], 0x4a
jne 0x494576
mov eax, dword [0x4e96e8]
mov eax, dword [eax]
mov eax, dword [eax + 0xc]
push eax
push 0x4a
push 0
mov eax, dword [0x4e96e8]
mov eax, dword [eax]
mov ecx, dword [eax + 8]
mov edx, 0xbc9
mov eax, dword [ebp - 4]
call fcn.00488cc0
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [0x4e94e8]
mov dword [edx], eax
inc dword [ebp - 0xc]
dec dword [ebp - 0x14]
jne 0x494527
mov al, byte [ebp - 5]
mov esp, ebp
pop ebp
ret
Function at 0x4c8f54
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp - 4]
mov byte [edx + eax*8 + 0x34], 1
mov eax, dword [ebp - 8]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp - 4]
mov dword [edx + eax*8 + 0x3c], 0x1e
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 8]
mov ecx, edx
shl edx, 3
sub edx, ecx
mov ecx, dword [ebp - 4]
mov dword [ecx + edx*8 + 0x44], eax
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 8]
mov ecx, edx
shl edx, 3
sub edx, ecx
mov ecx, dword [ebp - 4]
mov dword [ecx + edx*8 + 0x48], eax
cmp dword [ebp - 8], 0
jne 0x4c8fc2
mov eax, dword [ebp - 4]
mov byte [eax + 0x6c], 0
jmp 0x4c8fc9
mov eax, dword [ebp - 4]
mov byte [eax + 0x34], 0
pop ecx
pop ecx
pop ebp
ret
Function at 0x4cb20c
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x5a878]
add edx, 0x12c
cmp eax, edx
jbe 0x4cb252
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x5a878], eax
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x5a87c]
xor al, 1
mov edx, dword [ebp - 4]
mov byte [edx + 0x5a87c], al
mov eax, dword [0x4e9200]
cmp dword [eax], 0
jl 0x4cb4f5
mov edx, dword [0x4e9200]
mov edx, dword [edx]
mov eax, dword [0x4e9920]
mov eax, dword [eax]
call fcn.00479fe0
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4cb4f5
mov eax, dword [0x4e96e8]
mov eax, dword [eax]
mov eax, dword [eax + 8]
shl eax, 4
lea eax, [eax + eax*2]
test eax, eax
jns 0x4cb298
add eax, 0x1f
sar eax, 5
mov dword [ebp - 0x10], eax
mov eax, dword [0x4e96e8]
mov eax, dword [eax]
mov eax, dword [eax + 0xc]
shl eax, 5
test eax, eax
jns 0x4cb2b2
add eax, 0x1f
sar eax, 5
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x10]
sub edx, 0x3c
xor eax, eax
call fcn.00474aa4
mov dword [ebp - 0x4c], eax
mov edx, dword [ebp - 0x14]
sub edx, 0x3c
xor eax, eax
call fcn.00474aa4
mov dword [ebp - 0x48], eax
lea edx, [ebp - 0x5c]
mov eax, dword [ebp - 0xc]
call fcn.0046af7c
mov eax, dword [ebp - 0x54]
mov edx, dword [ebp - 0x4c]
add edx, 0x78
call fcn.00474a78
mov dword [ebp - 0x44], eax
lea edx, [ebp - 0x5c]
mov eax, dword [ebp - 0xc]
call fcn.0046af7c
mov eax, dword [ebp - 0x50]
mov edx, dword [ebp - 0x48]
add edx, 0x78
call fcn.00474a78
mov dword [ebp - 0x40], eax
mov eax, dword [0x4e952c]
cmp dword [eax], 1
jne 0x4cb33d
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x4c]
push eax
mov eax, dword [ebp - 0x48]
push eax
push 0x78
push 0x78
push 0
xor ecx, ecx
mov edx, 0x2a8
mov eax, dword [ebp - 8]
call fcn.004d14b4
jmp 0x4cb356
lea eax, [ebp - 0x4c]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 0
xor ecx, ecx
mov edx, 0x2a8
mov eax, dword [ebp - 8]
call fcn.0046a974
mov eax, dword [ebp - 4]
cmp byte [eax + 0x5a87c], 0
je 0x4cb4f5
mov eax, dword [0x4e96e8]
mov eax, dword [eax]
mov eax, dword [eax + 8]
shl eax, 4
lea eax, [eax + eax*2]
test eax, eax
jns 0x4cb37d
add eax, 0x1f
sar eax, 5
add eax, 0x2a8
sub eax, dword [ebp - 0x4c]
mov dword [ebp - 0x10], eax
mov eax, dword [0x4e96e8]
mov eax, dword [eax]
mov eax, dword [eax + 0xc]
shl eax, 5
test eax, eax
jns 0x4cb39f
add eax, 0x1f
sar eax, 5
sub eax, dword [ebp - 0x48]
mov dword [ebp - 0x14], eax
push 0xff
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
call fcn.0046b858
mov eax, dword [0x4e96e8]
mov eax, dword [eax]
mov eax, dword [eax + 8]
sub eax, 0xa
mov edx, dword [0x4e96e8]
mov edx, dword [edx]
mov edx, dword [edx + 8]
add edx, 0xa
sub edx, eax
jl 0x4cb4f5
inc edx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x18], eax
Function at 0x4d3bac
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 + 0x9c]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x74]
jbe 0x4d3c4d
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x9c], eax
mov eax, dword [ebp - 4]
inc dword [eax + 0x88]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
mov edx, dword [ebp - 4]
add eax, dword [edx + 0x8c]
dec eax
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x88]
jge 0x4d3c4d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
mov edx, dword [ebp - 4]
add eax, dword [edx + 0x8c]
dec eax
mov edx, dword [ebp - 4]
mov dword [edx + 0x88], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc8], 0
jle 0x4d3c49
mov eax, dword [ebp - 4]
dec dword [eax + 0xc8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
mov edx, dword [ebp - 4]
mov dword [edx + 0x88], eax
jmp 0x4d3c4d
mov byte [ebp - 5], 0
mov al, byte [ebp - 5]
pop ecx
pop ecx
pop ebp
ret

Function at 0x4d6620
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.00403950
lea eax, [ebp - 0x102]
push eax
call sub.user32.dll_GetKeyboardState
test eax, eax
je 0x4d6665
xor eax, eax
mov al, byte [ebp - 1]
test byte [ebp + eax - 0x102], 0x80
je 0x4d6665
mov byte [ebp - 2], 1
mov al, byte [ebp - 2]
mov esp, ebp
pop ebp
ret
Function at 0x4d97c8
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
xor eax, eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x10]
sub al, 8
jae 0x4d9936
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x234]
cmp eax, 0xea60
jbe 0x4d981a
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x234], eax
mov eax, dword [ebp - 4]
mov si, 0xfff3
call fcn.004043e8
mov eax, dword [ebp - 4]
call fcn.004d9744
mov byte [ebp - 0x1d], al
mov eax, dword [ebp - 4]
cmp dword [eax + 0x16c], 0
je 0x4d9879
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
add eax, dword [edx + 0xc0]
mov edx, dword [ebp - 4]
add eax, dword [edx + 0xb8]
push eax
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp - 4]
add eax, dword [edx + 0xd0]
mov edx, dword [ebp - 4]
add eax, dword [edx + 0xbc]
push eax
mov al, byte [ebp + 0xc]
push eax
mov al, byte [ebp - 0x1d]
push eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x16c]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004d95a4
mov eax, dword [ebp - 4]
cmp byte [eax + 0x118], 0
je 0x4d9936
mov eax, dword [ebp - 4]
cmp dword [eax + 0x148], 0
jle 0x4d9936
xor eax, eax
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x134]
dec edx
lea ecx, [ebp - 0x44]
mov ah, 0x20
call fcn.00403c70
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
cmp eax, 0xff
ja 0x4d98c3
bt dword [ebp - 0x44], eax
jae 0x4d9936
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x24]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x148]
dec eax
xor edx, edx
call fcn.004d1f50
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
add dword [ebp - 0x10], eax
cmp dword [ebp - 0x24], 0
je 0x4d9904
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x24]
call fcn.0047b428
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x4d9936
mov eax, dword [ebp - 0x1c]
push eax
push 1
mov ecx, dword [ebp + 0x10]
add ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
add ecx, dword [eax + 0xbc]
mov edx, dword [ebp - 0xc]
add edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
add edx, dword [eax + 0xb8]
mov eax, dword [ebp - 8]
call fcn.004d1470
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4dab24
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 [0x4e96e8]
cmp eax, dword [edx]
jne 0x4dab54
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
sub eax, dword [edx + 0x120]
cmp eax, 0xbb8
seta byte [ebp - 1]
jmp 0x4dab6e
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
sub eax, dword [edx + 0x120]
cmp eax, 0x7d0
seta byte [ebp - 1]
cmp byte [ebp - 1], 0
je 0x4dab82
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
xor edx, edx
mov dword [eax + 0x138], edx
mov al, byte [ebp - 1]
pop ecx
pop ebp
ret
Function at 0x4dd894
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 [0x4e96e8]
cmp eax, dword [edx]
jne 0x4dd8c4
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
sub eax, dword [edx + 0x120]
cmp eax, 0xbb8
seta byte [ebp - 1]
jmp 0x4dd8de
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
sub eax, dword [edx + 0x120]
cmp eax, 0x7d0
seta byte [ebp - 1]
cmp byte [ebp - 1], 0
je 0x4dd8f2
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
xor edx, edx
mov dword [eax + 0x138], edx
mov al, byte [ebp - 1]
pop ecx
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov byte [ebp - 0x11], 0
call sub.kernel32.dll_GetTickCount_1
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 0xffffffff
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 8]
dec eax
cmp eax, 0
jl 0x4e1347
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
mov edx, dword [ebp - 0xc]
call fcn.00415a38
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
cmp eax, dword [ebp - 8]
jne 0x4e133e
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x14]
cmp eax, dword [ebp - 0x1c]
jae 0x4e1338
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x1c], eax
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 0x10]
sub eax, dword [edx + 0x14]
cmp eax, 0xbb8
jbe 0x4e1338
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
mov edx, dword [ebp - 0xc]
call fcn.0041592c
mov edx, dword [0x4debbc]
mov eax, dword [ebp - 0x10]
call fcn.004061c8
mov byte [ebp - 0x11], 1
jmp 0x4e1347
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x18], eax
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0xffffffff
jne 0x4e12d5
cmp byte [ebp - 0x11], 0
jne 0x4e1383
cmp dword [ebp - 0x18], 0
jl 0x4e1383
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
cmp dword [eax + edx*4 + 0x40], 0xa
jl 0x4e1383
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
mov edx, dword [ebp - 0x18]
call fcn.00415a38
xor edx, edx
call fcn.00402efc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
mov edx, dword [ebp - 0x18]
call fcn.0041592c
mov esp, ebp
pop ebp
ret