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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4a0e52
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [0x49fce0]
mov eax, 0x14
call fcn.0040581c
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
mov dword [edx + 0xc], eax
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 4]
call dword [eax + 0x34]
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
call fcn.00408d58
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
add eax, 4
call fcn.004047dc
mov eax, dword [ebp - 4]
call dword [eax + 0x30]
mov edx, dword [ebp - 0xc]
mov dword [edx + 8], eax
mov eax, dword [0x5b0adc]
mov edx, dword [ebp - 0xc]
mov dword [edx], eax
mov al, byte [ebp - 5]
mov edx, dword [ebp - 0xc]
mov byte [edx + 0x10], al
mov eax, dword [ebp - 0xc]
mov dword [0x5b0adc], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a0e59
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.004047ac
ret

Function at 0x4a0e60
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4a0ef6
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [0x49fd08]
mov eax, 0x10
call fcn.0040581c
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [edx + 0xc], eax
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
call dword [eax + 0x34]
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0xc]
call fcn.00408d58
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
add eax, 4
call fcn.004047dc
mov eax, dword [ebp - 4]
call dword [eax + 0x30]
mov edx, dword [ebp - 8]
mov dword [edx + 8], eax
mov eax, dword [0x5b0ae0]
mov edx, dword [ebp - 8]
mov dword [edx], eax
mov eax, dword [ebp - 8]
mov dword [0x5b0ae0], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a0efd
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.004047ac
ret

Function at 0x4a0f78
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
test eax, eax
jle 0x4a0fb2
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 1
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0x10]
dec eax
mov al, byte [eax]
mov edx, dword [ebp - 4]
add edx, dword [ebp - 0x10]
dec edx
xor byte [edx], al
inc dword [ebp - 0x10]
dec dword [ebp - 0x14]
jne 0x4a0f98
mov esp, ebp
pop ebp
ret
Function at 0x4a3280
Capabilities:
Suspend thread

Disassembly:
mov byte [eax + 0xd], 1
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_SuspendThread
ret

Function at 0x4a3290
Capabilities:
Resume thread

Disassembly:
push ebx
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
cmp eax, 1
jne 0x4a32a5
mov byte [ebx + 0xd], 0
pop ebx
ret

Function at 0x4a33a8
Capabilities:
Terminate thread

Disassembly:
push ebx
push esi
mov ebx, eax
push 0
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_TerminateThread
mov eax, ebx
call fcn.004a3314
mov esi, eax
mov eax, ebx
call fcn.004039b4
mov eax, esi
pop esi
pop ebx
ret

Function at 0x4a5378
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffbc
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404c38
lea esi, [ebp - 0x44]
xor eax, eax
push ebp
push 0x4a54ff
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 4]
mov eax, 0x4a551c
call fcn.00404d8c
test eax, eax
jne 0x4a53c3
lea eax, [ebp - 4]
mov ecx, dword [ebp - 4]
mov edx, 0x4a5528
call fcn.00404a94
mov eax, esi
mov edx, 0x3c
call fcn.004a4e98
mov dword [esi + 8], 0x21
mov dword [esi + 0x14], 0x101
mov dword [esi + 0x20], 0x81
mov dword [esi + 0x28], 0x81
mov dword [esi + 0x30], 0x801
mov dword [esi + 0x38], 0x801
mov eax, 0x21
call fcn.004027c4
mov dword [esi + 4], eax
mov eax, 0x101
call fcn.004027c4
mov dword [esi + 0x10], eax
mov eax, 0x81
call fcn.004027c4
mov dword [esi + 0x1c], eax
mov eax, 0x81
call fcn.004027c4
mov dword [esi + 0x24], eax
mov eax, 0x801
call fcn.004027c4
mov dword [esi + 0x2c], eax
mov eax, 0x801
call fcn.004027c4
mov dword [esi + 0x34], eax
push esi
push 0x80000000
mov eax, dword [ebp - 4]
call fcn.00404a48
push eax
mov eax, dword [ebp - 4]
call fcn.00404c48
push eax
call sub.wininet.dll_InternetCrackUrlA
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
je 0x4a54b9
mov eax, edi
mov edx, dword [esi + 4]
call fcn.00404980
mov eax, dword [ebp - 8]
mov edx, dword [esi + 0x10]
call fcn.00404980
mov eax, dword [ebp + 0x18]
mov edx, dword [esi + 0x2c]
call fcn.00404980
mov eax, dword [ebp + 0x14]
mov edx, dword [esi + 0x1c]
call fcn.00404980
mov eax, dword [ebp + 0x10]
mov edx, dword [esi + 0x24]
call fcn.00404980
mov eax, dword [ebp + 0xc]
mov edx, dword [esi + 0x34]
call fcn.00404980
mov eax, dword [ebp + 8]
mov dx, word [esi + 0x18]
mov word [eax], dx
mov eax, dword [esi + 0x34]
call fcn.004027e4
mov eax, dword [esi + 0x2c]
call fcn.004027e4
mov eax, dword [esi + 0x24]
call fcn.004027e4
mov eax, dword [esi + 0x1c]
call fcn.004027e4
mov eax, dword [esi + 0x10]
call fcn.004027e4
mov eax, dword [esi + 4]
call fcn.004027e4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a5506
lea eax, [ebp - 4]
call fcn.00404788
ret
Function at 0x4a5530
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
mov ebx, eax
push esi
push edi
mov esi, ecx
mov eax, esi
test eax, eax
je 0x4a5549
mov eax, dword [esi - 4]
push eax
push esi
mov esi, edx
mov ecx, esi
test ecx, ecx
je 0x4a5556
mov ecx, dword [esi - 4]
add al, cl
inc eax
lea edi, [ebp - 0x100]
mov edx, eax
stosb byte es:[edi], al
mov al, cl
stosb byte es:[edi], al
rep movsb byte es:[edi], byte [esi]
pop esi
pop ecx
rep movsb byte es:[edi], byte [esi]
mov ecx, edx
std
dec edi
mov esi, edi
xor dl, 0xeb
lodsb al, byte [esi]
xor al, dl
stosb byte es:[edi], al
loop 0x4a5574
cld
pop edi
pop esi
xor ecx, ecx
mov cl, byte [ebp - 0x100]
inc ecx
lea edx, [ebp - 0x100]
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0x10]
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4a68dc
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
xor eax, eax
push ebp
push 0x4a69f9
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov eax, dword [ebp + 8]
push eax
xor eax, eax
call fcn.004a67a4
pop ecx
test al, al
je 0x4a69d4
mov eax, dword [ebp + 8]
push eax
call fcn.004a65e8
pop ecx
test al, al
jne 0x4a69d4
push 0
push 0
push 0
push 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x13c]
push eax
call sub.wininet.dll_HttpSendRequestA
test eax, eax
je 0x4a69d4
mov eax, dword [ebp + 8]
push eax
mov eax, 0x13
call fcn.004a6628
pop ecx
test al, al
je 0x4a69d4
lea eax, [ebp - 4]
mov edx, dword [ebp + 8]
add edx, 0xffffeffc
mov ecx, 0x1000
call fcn.004049f8
mov eax, dword [ebp - 4]
xor edx, edx
call fcn.00409718
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
mov dword [edx + 0x178], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov esi, dword [eax + 0x178]
cmp esi, 0xc8
je 0x4a699f
mov eax, dword [ebp + 8]
cmp esi, 0xce
jne 0x4a69d4
mov eax, dword [ebp + 8]
push eax
mov eax, 5
call fcn.004a6628
pop ecx
test al, al
je 0x4a69d4
lea eax, [ebp - 8]
mov edx, dword [ebp + 8]
add edx, 0xffffeffc
mov ecx, 0x1000
call fcn.004049f8
mov eax, dword [ebp - 8]
xor edx, edx
call fcn.00409718
mov ebx, eax
mov eax, dword [ebp + 8]
push eax
call fcn.004a65e8
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a6a00
lea eax, [ebp - 8]
mov edx, 2
call fcn.004047ac
ret
Function at 0x4a85a0
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x20]
mov edx, dword [0x417a3c]
call fcn.004052d8
xor eax, eax
push ebp
push 0x4a86f3
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x5a7c08], 0
jne 0x4a85f6
mov ecx, dword [0x5ab454]
mov dl, 1
mov eax, dword [0x407fb0]
call fcn.0040db3c
call fcn.00404140
lea eax, [ebp - 0x30]
xor ecx, ecx
mov edx, 0x10
call fcn.004031c8
mov eax, dword [ebp - 4]
call fcn.00404ffc
mov dword [ebp - 0x2c], eax
mov esi, 0x4a8704
lea edi, [ebp - 0x40]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x40]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x1c]
call fcn.00406370
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
call fcn.0040500c
test eax, eax
jle 0x4a8691
mov dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x50]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x4a8688
lea eax, [ebp - 0x54]
mov edx, dword [ebp - 4]
call fcn.00404a10
mov eax, dword [ebp - 0x54]
push eax
lea eax, [ebp - 0x58]
lea edx, [ebp - 0x50]
mov ecx, 0x10
call fcn.004049f8
mov eax, dword [ebp - 0x58]
pop edx
call fcn.00408f68
test eax, eax
jne 0x4a8688
mov dword [ebp - 0x10], 0x15
jmp 0x4a8698
mov dword [ebp - 0x10], 0x10
jmp 0x4a8698
mov dword [ebp - 0x10], 0x15
lea eax, [ebp - 0x20]
push eax
push 1
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x10]
push eax
push 0
mov eax, dword [ebp - 8]
push eax
call dword [0x5a7c08]
call fcn.004a84d0
mov eax, dword [ebp - 0x18]
call fcn.004a84d0
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x1c]
call fcn.00406388
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a86fa
lea eax, [ebp - 0x58]
mov edx, 2
call fcn.004047ac
lea eax, [ebp - 0x20]
mov edx, dword [0x417a3c]
call fcn.004053a8
ret
Function at 0x4b7720
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x27
push 0
push 0
dec ecx
jne 0x4b7728
push ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404c38
xor eax, eax
push ebp
push 0x4b791c
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
je 0x4b78ec
mov eax, dword [ebp - 4]
cmp byte [eax], 0x3b
je 0x4b78ec
push 2
lea eax, [ebp - 0x24]
push eax
mov byte [ebp - 0x28], 0x20
mov byte [ebp - 0x27], 9
mov byte [ebp - 0x26], 0x2c
lea ecx, [ebp - 0x28]
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.0048d194
mov edx, dword [ebp - 0x24]
lea eax, [ebp - 4]
call fcn.00404820
push 2
lea eax, [ebp - 0x2c]
push eax
mov byte [ebp - 0x28], 0x20
mov byte [ebp - 0x27], 9
mov byte [ebp - 0x26], 0x2c
lea ecx, [ebp - 0x28]
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.0048d194
mov edx, dword [ebp - 0x2c]
lea eax, [ebp - 4]
call fcn.00404820
push 2
lea eax, [ebp - 0x30]
push eax
mov byte [ebp - 0x28], 0x20
mov byte [ebp - 0x27], 9
mov byte [ebp - 0x26], 0x2c
lea ecx, [ebp - 0x28]
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.0048d194
mov edx, dword [ebp - 0x30]
lea eax, [ebp - 4]
call fcn.00404820
push 2
lea eax, [ebp - 0x34]
push eax
mov byte [ebp - 0x28], 0x20
mov byte [ebp - 0x27], 9
mov byte [ebp - 0x26], 0x2c
lea ecx, [ebp - 0x28]
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0048d194
mov edx, dword [ebp - 0x34]
lea eax, [ebp - 4]
call fcn.00404820
push 2
lea eax, [ebp - 0x38]
push eax
mov byte [ebp - 0x28], 0x20
mov byte [ebp - 0x27], 9
mov byte [ebp - 0x26], 0x2c
lea ecx, [ebp - 0x28]
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.0048d194
mov edx, dword [ebp - 0x38]
lea eax, [ebp - 4]
call fcn.00404820
push 2
lea eax, [ebp - 0x3c]
push eax
mov byte [ebp - 0x28], 0x20
mov byte [ebp - 0x27], 9
mov byte [ebp - 0x26], 0x2c
lea ecx, [ebp - 0x28]
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 4]
call fcn.0048d194
mov edx, dword [ebp - 0x3c]
lea eax, [ebp - 4]
call fcn.00404820
cmp dword [ebp - 0x20], 0
je 0x4b78ec
mov eax, 0x3c
call fcn.004027c4
mov dword [ebp - 8], eax
lea eax, [ebp - 0x13c]
mov edx, dword [ebp - 0x18]
mov ecx, 0xff
call fcn.00404a24
lea edx, [ebp - 0x13c]
mov eax, dword [ebp - 8]
mov cl, 0x32
call fcn.004030b8
or edx, 0xffffffff
mov eax, dword [ebp - 0x10]
call fcn.00409718
mov edx, dword [ebp - 8]
mov word [edx + 0x34], ax
or edx, 0xffffffff
mov eax, dword [ebp - 0x14]
call fcn.00409718
mov edx, dword [ebp - 8]
mov word [edx + 0x36], ax
xor edx, edx
mov eax, dword [ebp - 0x1c]
call fcn.00409718
mov edx, dword [ebp - 8]
mov dword [edx + 0x38], eax
push ebp
mov eax, dword [ebp - 0x20]
mov edx, 0x4b7930
call fcn.00404b94
sete cl
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
call fcn.004b75d4
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b7923
lea eax, [ebp - 0x3c]
mov edx, 5
call fcn.004047ac
lea eax, [ebp - 0x24]
mov edx, 7
call fcn.004047ac
lea eax, [ebp - 4]
call fcn.00404788
ret
Function at 0x4bb6c8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404c38
xor eax, eax
push ebp
push 0x4bb760
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404a48
test eax, eax
jle 0x4bb742
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], 1
mov eax, dword [ebp - 4]
call fcn.00404a48
mov edx, eax
imul edx, dword [ebp - 0xc]
imul edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
movzx eax, byte [eax + ecx - 1]
xor edx, eax
lea eax, [ebp - 0x14]
call fcn.00404970
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
call fcn.00404a50
mov eax, dword [ebp - 8]
inc dword [ebp - 0xc]
dec dword [ebp - 0x10]
jne 0x4bb705
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bb767
lea eax, [ebp - 0x14]
call fcn.00404788
lea eax, [ebp - 4]
call fcn.00404788
ret
Function at 0x4da40c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4da481
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, 0x104
call fcn.00404dd4
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00404c48
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00404a48
push eax
call sub.kernel32.dll_GetTempPathA
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.00404dd4
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.004da0ac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4da488
lea eax, [ebp - 0xc]
call fcn.00404788
ret

Function at 0x4da48c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4da537
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov edx, 0x105
call fcn.00404dd4
cmp dword [ebp - 4], 0
jbe 0x4da4eb
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.00404c48
push eax
push 0
push 0x4da544
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004da0ac
mov eax, dword [ebp - 0xc]
call fcn.00404c48
push eax
call sub.kernel32.dll_GetTempFileNameA
jmp 0x4da50d
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.00404c48
push eax
push 0
push 0x4da544
mov eax, dword [0x5b679c]
call fcn.00404c48
push eax
call sub.kernel32.dll_GetTempFileNameA
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.00404c48
mov edx, eax
mov eax, dword [ebp - 8]
call fcn.00404980
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4da53e
lea eax, [ebp - 0xc]
call fcn.00404788
ret
Function at 0x4f19e0
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 + 0xa0]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x74]
jbe 0x4f1a81
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
mov dword [edx + 0xa0], 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 0x4f1a81
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 + 0xcc], 0
jle 0x4f1a7d
mov eax, dword [ebp - 4]
dec dword [eax + 0xcc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
mov edx, dword [ebp - 4]
mov dword [edx + 0x88], eax
jmp 0x4f1a81
mov byte [ebp - 5], 0
mov al, byte [ebp - 5]
pop ecx
pop ecx
pop ebp
ret
Function at 0x4fa0b4
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x24c], 0
je 0x4fa27f
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x244]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x240]
jbe 0x4fa106
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x244], eax
mov eax, dword [ebp - 4]
inc dword [eax + 0x248]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x248]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x23c]
jle 0x4fa124
mov eax, dword [ebp - 4]
mov byte [eax + 0x24c], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x238]
mov edx, dword [ebp - 4]
add eax, dword [edx + 0x248]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x268], 0x12
jne 0x4fa1cc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x248]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x23c]
dec edx
cmp eax, edx
jne 0x4fa1cc
mov eax, dword [ebp - 4]
cmp dword [eax + 0x264], 0
je 0x4fa1cc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2e8]
call fcn.0048da0c
xor eax, eax
push ebp
push 0x4fa1a9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x264]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2e8]
call fcn.0041af1c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4fa1c1
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x264], edx
mov eax, dword [ebp - 4]
cmp dword [eax + 0x250], 0
je 0x4fa1f3
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x18]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x250]
mov edx, dword [ebp - 0x14]
call fcn.0049439c
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x254], 0
jne 0x4fa233
cmp dword [ebp - 0x10], 0
je 0x4fa27f
mov eax, dword [ebp - 0x10]
push eax
push 1
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
add ecx, dword [eax + 0xe4]
mov edx, dword [ebp - 0xc]
add edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
add edx, dword [eax + 0xe0]
mov eax, dword [ebp - 8]
call fcn.005031f4
jmp 0x4fa27f
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x25c]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x258]
mov eax, dword [0x5ab4b4]
mov eax, dword [eax]
call fcn.004cdd18
cmp dword [ebp - 0x10], 0
je 0x4fa27f
mov eax, dword [ebp - 0x10]
push eax
push 1
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 0x1c]
sub ecx, 0x10
mov edx, dword [ebp - 0x20]
add edx, dword [ebp - 0x18]
sub edx, 0x18
mov eax, dword [ebp - 8]
call fcn.005031f4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4fc194
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 [0x5ab6c4]
cmp eax, dword [edx]
jne 0x4fc1c4
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
sub eax, dword [edx + 0x158]
cmp eax, 0xbb8
seta byte [ebp - 1]
jmp 0x4fc1de
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
sub eax, dword [edx + 0x158]
cmp eax, 0xbb8
seta byte [ebp - 1]
cmp byte [ebp - 1], 0
je 0x4fc1f2
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
xor edx, edx
mov dword [eax + 0x170], edx
mov al, byte [ebp - 1]
pop ecx
pop ebp
ret
Function at 0x500054
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 [0x5ab6c4]
cmp eax, dword [edx]
jne 0x5000b2
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
cmp dword [eax + 0x180], 0x3c
jne 0x500096
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
sub eax, dword [edx + 0x158]
cmp eax, 0x1f4
seta byte [ebp - 1]
jmp 0x500127
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
sub eax, dword [edx + 0x158]
cmp eax, 0xbb8
seta byte [ebp - 1]
jmp 0x500127
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
cmp dword [eax + 0x180], 0x3c
jne 0x5000dd
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
sub eax, dword [edx + 0x158]
cmp eax, 0x1f4
seta byte [ebp - 1]
jmp 0x500127
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x180]
add eax, 0xffffff9a
sub eax, 0xc
jae 0x50010d
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
sub eax, dword [edx + 0x158]
cmp eax, 0xbb8
seta byte [ebp - 1]
jmp 0x500127
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
sub eax, dword [edx + 0x158]
cmp eax, 0xbb8
seta byte [ebp - 1]
cmp byte [ebp - 1], 0
je 0x50013b
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
xor edx, edx
mov dword [eax + 0x170], edx
mov al, byte [ebp - 1]
pop ecx
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5024a4
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
dec eax
je 0x5023e4
dec eax
je 0x502440
jmp 0x50249a
xor eax, eax
mov dword [ebp - 8], eax
call sub.kernel32.dll_GetTickCount_1
mov dword [ebp - 0xc], eax
mov eax, dword [0x5abe24]
mov eax, dword [eax]
call fcn.0047100c
call sub.kernel32.dll_GetTickCount_1
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 0xc]
cdq
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
cmp edx, 0
jne 0x50241f
cmp eax, 0x14
jbe 0x5023f1
jmp 0x502421
jle 0x5023f1
mov eax, 0x39
call fcn.005024d4
mov eax, 0x7a
call fcn.005024d4
inc dword [ebp - 8]
cmp dword [ebp - 8], 9
jne 0x5023e9
jmp 0x50249a
xor eax, eax
mov dword [ebp - 8], eax
call sub.kernel32.dll_GetTickCount_1
mov dword [ebp - 0xc], eax
mov eax, dword [0x5abe24]
mov eax, dword [eax]
call fcn.0047100c
call sub.kernel32.dll_GetTickCount_1
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 0xc]
cdq
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
cmp edx, 0
jne 0x50247b
cmp eax, 0x14
jbe 0x50244d
jmp 0x50247d
jle 0x50244d
mov eax, 0x7c
call fcn.005024d4
mov eax, 0x2910
call fcn.005024d4
inc dword [ebp - 8]
cmp dword [ebp - 8], 9
jne 0x502445
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5024b8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x507fc0
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.004031c8
lea eax, [ebp - 0x102]
push eax
call sub.user32.dll_GetKeyboardState
test eax, eax
je 0x508005
xor eax, eax
mov al, byte [ebp - 1]
test byte [ebp + eax - 0x102], 0x80
je 0x508005
mov byte [ebp - 2], 1
mov al, byte [ebp - 2]
mov esp, ebp
pop ebp
ret