joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49c96c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x20c], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x49cbcc
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x49c9cf
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.0049c434
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0041014c
cmp al, 1
jne 0x49c9cf
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.0049c74c
test al, al
je 0x49cb5b
cmp dword [ebp - 8], 0
jge 0x49c9ed
xor eax, eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
inc ebx
lea edx, [ebp - 0x210]
mov eax, dword [ebp - 4]
call fcn.0049c434
mov eax, dword [ebp - 0x210]
call fcn.00405298
cmp ebx, eax
jge 0x49ca37
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.0049c434
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x59076c]
and eax, 0xff
bt dword [edx], eax
jae 0x49ca37
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 8]
jg 0x49ca4b
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0049c948
cmp ebx, dword [ebp - 8]
je 0x49cb4d
lea eax, [ebp - 0x108]
push eax
call sub.user32.dll_GetKeyboardState
mov edx, pe_nt_image_headers32
lea eax, [ebp - 0x208]
mov byte [eax], 0
inc eax
dec edx
jne 0x49ca77
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.004043c0
and eax, 0x7f
movzx eax, word [eax*2 + 0x57e754]
mov byte [ebp + eax - 0x208], 0x81
lea eax, [ebp - 0x208]
push eax
call sub.user32.dll_SetKeyboardState
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 1
xor eax, eax
push ebp
push 0x49cb3a
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.004043c0
and eax, 0x7f
movzx eax, word [eax*2 + 0x57e754]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.00469a3c
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.004043c0
and eax, 0x7f
movzx eax, word [eax*2 + 0x57e754]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.00469a3c
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49cb41
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 0
ret
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x230], edx
jmp 0x49cbae
cmp dword [ebp - 8], 0
jge 0x49cb66
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.0049c434
mov eax, dword [ebp - 0x218]
call fcn.00405298
cmp eax, dword [ebp - 8]
jg 0x49cba0
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.0049c434
mov eax, dword [ebp - 0x21c]
call fcn.00405298
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0049c948
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49cbd3
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.00404ffc
ret
Function at 0x4b3308
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
push 4
push 0x2002
call sub.KERNEL32.DLL_GlobalAlloc
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x4b338a
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GlobalLock
xor edx, edx
push ebp
push 0x4b3379
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, eax
lea eax, [ebp - 4]
mov ecx, 4
call fcn.00402de8
mov eax, dword [ebp - 8]
push eax
push 0x10
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b3380
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GlobalUnlock
ret
Function at 0x4bb9bc
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4bbbd5
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
je 0x4bbbbf
mov byte [ebp - 0xd], 1
call fcn.0043ce7c
mov edx, dword [eax]
call dword [edx + 0x18]
xor eax, eax
push ebp
push 0x4bbbb8
push dword fs:[eax]
mov dword fs:[eax], esp
call sub.user32.dll_EmptyClipboard
mov eax, dword [0x59077c]
cmp dword [eax], 2
jne 0x4bba71
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 8]
call fcn.00405870
mov eax, dword [ebp - 0x14]
call fcn.00405890
inc eax
mov ebx, eax
add ebx, ebx
push ebx
push 0x2002
call sub.KERNEL32.DLL_GlobalAlloc
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
call sub.KERNEL32.DLL_GlobalLock
mov esi, eax
mov eax, dword [ebp - 0x14]
call fcn.00405880
mov edx, esi
mov ecx, ebx
call fcn.00402de8
mov eax, dword [ebp - 0xc]
push eax
call sub.KERNEL32.DLL_GlobalUnlock
mov eax, dword [ebp - 0xc]
push eax
push 0xd
call sub.user32.dll_SetClipboardData
test eax, eax
sete byte [ebp - 0xd]
jmp 0x4bbaef
mov eax, dword [ebp - 8]
call fcn.00405298
mov ebx, eax
lea edi, [ebx + 1]
push edi
push 0x2002
call sub.KERNEL32.DLL_GlobalAlloc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4bbaef
mov eax, dword [ebp - 0xc]
push eax
call sub.KERNEL32.DLL_GlobalLock
mov esi, eax
xor eax, eax
push ebp
push 0x4bbae8
push dword fs:[eax]
mov dword fs:[eax], esp
test esi, esi
je 0x4bbad1
mov eax, dword [ebp - 8]
call fcn.00405498
mov ecx, edi
mov edx, esi
call fcn.00402de8
mov eax, dword [ebp - 0xc]
push eax
push 1
call sub.user32.dll_SetClipboardData
test eax, eax
sete byte [ebp - 0xd]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bbaef
mov eax, dword [ebp - 0xc]
push eax
call sub.KERNEL32.DLL_GlobalUnlock
ret
cmp byte [ebp - 0xd], 0
jne 0x4bbb84
mov eax, dword [ebp - 8]
call fcn.00405298
mov ebx, eax
lea edi, [ebx + 1]
mov eax, edi
inc eax
push eax
push 0x2002
call sub.KERNEL32.DLL_GlobalAlloc
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
call sub.KERNEL32.DLL_GlobalLock
mov esi, eax
xor eax, eax
push ebp
push 0x4bbb7d
push dword fs:[eax]
mov dword fs:[eax], esp
test esi, esi
je 0x4bbb66
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x311]
mov byte [esi], al
inc esi
mov eax, dword [ebp - 8]
call fcn.00405498
mov ecx, edi
mov edx, esi
call fcn.00402de8
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [0x593edc]
push eax
call sub.user32.dll_SetClipboardData
test eax, eax
sete byte [ebp - 0xd]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bbb84
mov eax, dword [ebp - 0xc]
push eax
call sub.KERNEL32.DLL_GlobalUnlock
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bbbbf
call fcn.0043ce7c
mov edx, dword [eax]
call dword [edx + 0x14]
cmp byte [ebp - 0xd], 0
je 0x4bbbb7
mov ecx, 0x4bbbec
mov dl, 1
mov eax, dword [0x4b99d0]
call fcn.0040f748
call fcn.00404990
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bbbdc
lea eax, [ebp - 0x14]
call fcn.0040570c
ret
Function at 0x4e4df0
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x419e80]
call fcn.004059d0
xor eax, eax
push ebp
push 0x4e4f34
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x58d1b0], 0
jne 0x4e4e43
mov ecx, dword [0x5900e4]
mov dl, 1
mov eax, dword [0x40a21c]
call fcn.0040f804
call fcn.00404990
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.004036d0
mov eax, ebx
call fcn.00405880
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x4e4f44
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.00406c94
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00405890
test eax, eax
jle 0x4e4edb
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.KERNEL32.DLL_GetComputerNameA
test eax, eax
je 0x4e4ed4
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00405260
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00405248
mov eax, dword [ebp - 0x48]
pop edx
call fcn.0040b0c8
test eax, eax
jne 0x4e4ed4
mov ebx, 0x15
jmp 0x4e4ee0
mov ebx, 0x10
jmp 0x4e4ee0
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x58d1b0]
call fcn.004e4d48
mov eax, dword [ebp - 8]
call fcn.004e4d48
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00406cac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e4f3b
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00404ffc
lea eax, [ebp - 0x10]
mov edx, dword [0x419e80]
call fcn.00405aa0
ret
Function at 0x4ec2b4
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00405488
xor eax, eax
push ebp
push 0x4ec398
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x4ec34b
push 0
push 3
push 0
push 0xa1
call sub.user32.dll_MapVirtualKeyA
push eax
push 0xa1
call sub.user32.dll_keybd_event
push 0
push 0
push 0
push 0x10
call sub.user32.dll_MapVirtualKeyA
push eax
push 0x10
call sub.user32.dll_keybd_event
push 0
push 2
push 0
push 0x10
call sub.user32.dll_MapVirtualKeyA
push eax
push 0x10
call sub.user32.dll_keybd_event
push 0
push 2
push 0
push 0x11
call sub.user32.dll_MapVirtualKeyA
push eax
push 0x11
call sub.user32.dll_keybd_event
push 0
push 2
push 0
push 0x12
call sub.user32.dll_MapVirtualKeyA
push eax
push 0x12
call sub.user32.dll_keybd_event
xor ebx, ebx
xor eax, eax
push ebp
push 0x4ec376
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, esi
mov eax, dword [ebp - 4]
call fcn.004ec3ac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4ec382
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ec39f
lea eax, [ebp - 4]
call fcn.00404fd8
ret
Function at 0x4ec3ac
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x14], ebx
mov edi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405488
xor eax, eax
push ebp
push 0x4ec5a1
push dword fs:[eax]
mov dword fs:[eax], esp
mov ebx, 1
mov eax, dword [ebp - 4]
call fcn.00405298
mov esi, eax
mov byte [ebp - 0x15], 0
mov eax, dword [ebp - 4]
mov al, byte [eax + ebx - 1]
mov edx, eax
sub dl, 0x40
je 0x4ec4aa
sub dl, 0x1e
je 0x4ec4cb
sub dl, 0x1d
je 0x4ec41c
sub dl, 3
je 0x4ec4e9
jmp 0x4ec4ff
lea eax, [ebp - 0x14]
call fcn.00404fd8
inc ebx
jmp 0x4ec442
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 4]
mov dl, byte [edx + ebx - 1]
call fcn.004051c0
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0x14]
call fcn.004052a0
inc ebx
cmp esi, ebx
jl 0x4ec450
mov eax, dword [ebp - 4]
cmp byte [eax + ebx - 1], 0x7d
jne 0x4ec427
xor edx, edx
mov eax, dword [ebp - 0x14]
call fcn.0040b724
mov dword [ebp - 0x10], eax
lea edx, [ebp - 9]
mov eax, dword [ebp - 0x14]
call fcn.00499818
test al, al
jne 0x4ec490
cmp dword [ebp - 0x10], 0
je 0x4ec47a
mov al, byte [ebp - 0x10]
mov byte [ebp - 9], al
jmp 0x4ec490
mov ecx, 0x4ec5bc
mov dl, 1
mov eax, dword [0x40a21c]
call fcn.0040f748
call fcn.00404990
xor edx, edx
mov al, byte [ebp - 9]
call fcn.0040848c
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 8]
call fcn.004ec5cc
jmp 0x4ec555
mov byte [0x594048], 1
push 0
push 0
push 0
push 0x12
call sub.user32.dll_MapVirtualKeyA
push eax
push 0x12
call sub.user32.dll_keybd_event
jmp 0x4ec555
mov byte [0x594049], 1
push 0
push 0
push 0
push 0x11
call sub.user32.dll_MapVirtualKeyA
push eax
push 0x11
call sub.user32.dll_keybd_event
jmp 0x4ec555
mov byte [0x59404a], 1
push 0
push 0
push 0x2a
push 0x10
call sub.user32.dll_keybd_event
jmp 0x4ec555
push eax
call sub.user32.dll_VkKeyScanA
cmp ax, 0xffff
jne 0x4ec54a
mov al, byte [ebp - 0x15]
xor al, 1
test al, al
je 0x4ec528
push 0
push 1
call sub.user32.dll_ActivateKeyboardLayout
mov dl, byte [ebp - 0x15]
xor dl, 1
mov byte [ebp - 0x15], dl
jmp 0x4ec53a
push 0
push 0
call sub.user32.dll_ActivateKeyboardLayout
mov dl, byte [ebp - 0x15]
xor dl, 1
mov byte [ebp - 0x15], dl
test ax, ax
mov eax, dword [ebp - 4]
mov al, byte [eax + ebx - 1]
push eax
call sub.user32.dll_VkKeyScanA
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 8]
call fcn.004ec5cc
inc ebx
cmp byte [edi + 0x71], 0
jne 0x4ec57b
mov eax, dword [ebp - 4]
call fcn.00405298
cmp ebx, eax
jle 0x4ec3ee
cmp byte [ebp - 0x15], 0
je 0x4ec57b
push 0
push 0
call sub.user32.dll_ActivateKeyboardLayout
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ec5a8
lea eax, [ebp - 0x1c]
call fcn.00404fd8
lea eax, [ebp - 0x14]
call fcn.00404fd8
lea eax, [ebp - 4]
call fcn.00404fd8
ret
Function at 0x4ec5cc
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov word [ebp - 2], ax
mov al, byte [ebp - 2]
mov byte [ebp - 0xe], al
push 0
xor eax, eax
mov al, byte [ebp - 0xe]
push eax
call sub.user32.dll_MapVirtualKeyA
mov byte [ebp - 0xd], al
mov bx, word [ebp - 2]
shr bx, 8
test bx, bx
jbe 0x4ec65b
mov eax, ebx
and ax, 1
cmp ax, 1
jne 0x4ec61b
push 0
push 0
push 0x2a
push 0x10
call sub.user32.dll_keybd_event
mov eax, ebx
and ax, 2
cmp ax, 2
jne 0x4ec63c
push 0
push 0
push 0
push 0x11
call sub.user32.dll_MapVirtualKeyA
push eax
push 0x11
call sub.user32.dll_keybd_event
and bx, 4
cmp bx, 4
jne 0x4ec65b
push 0
push 0
push 0
push 0x12
call sub.user32.dll_MapVirtualKeyA
push eax
push 0x12
call sub.user32.dll_keybd_event
cmp dword [ebp - 0xc], 2
je 0x4ec6b0
xor eax, eax
push ebp
push 0x4ec6a6
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [0x59404a], 0
je 0x4ec68b
push 0
push 1
mov al, byte [ebp - 0xd]
push eax
mov al, byte [ebp - 0xe]
push eax
call sub.user32.dll_keybd_event
jmp 0x4ec69c
push 0
push 0
mov al, byte [ebp - 0xd]
push eax
mov al, byte [ebp - 0xe]
push eax
call sub.user32.dll_keybd_event
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4ec6b0
push 1
call sub.KERNEL32.DLL_Sleep
cmp dword [ebp - 0xc], 1
je 0x4ec6f0
xor eax, eax
push ebp
push 0x4ec6e6
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 2
mov al, byte [ebp - 0xd]
push eax
mov al, byte [ebp - 0xe]
push eax
call sub.user32.dll_keybd_event
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4ec6f0
mov bx, word [ebp - 2]
shr bx, 8
test bx, bx
jbe 0x4ec756
mov eax, ebx
and ax, 1
cmp ax, 1
jne 0x4ec716
push 0
push 2
push 0x2a
push 0x10
call sub.user32.dll_keybd_event
mov eax, ebx
and ax, 2
cmp ax, 2
jne 0x4ec737
push 0
push 2
push 0
push 0x11
call sub.user32.dll_MapVirtualKeyA
push eax
push 0x11
call sub.user32.dll_keybd_event
and bx, 4
cmp bx, 4
jne 0x4ec756
push 0
push 2
push 0
push 0x12
call sub.user32.dll_MapVirtualKeyA
push eax
push 0x12
call sub.user32.dll_keybd_event
cmp byte [0x594048], 0
je 0x4ec77b
mov byte [0x594048], 0
push 0
push 2
push 0
push 0x12
call sub.user32.dll_MapVirtualKeyA
push eax
push 0x12
call sub.user32.dll_keybd_event
cmp byte [0x594049], 0
je 0x4ec7a0
mov byte [0x594049], 0
push 0
push 2
push 0
push 0x11
call sub.user32.dll_MapVirtualKeyA
push eax
push 0x11
call sub.user32.dll_keybd_event
cmp byte [0x59404a], 0
je 0x4ec7bd
mov byte [0x59404a], 0
push 0
push 2
push 0x2a
push 0x10
call sub.user32.dll_keybd_event
cmp dword [ebp - 8], 0
jle 0x4ec7cc
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_Sleep
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4ee498
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405488
xor eax, eax
push ebp
push 0x4ee5d8
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 4]
mov bl, byte [edx]
mov edx, ebx
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x10]
lea eax, [ebp - 0x14]
call fcn.00403530
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 4]
mov dl, byte [edx + 1]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x18]
lea eax, [ebp - 0x14]
mov cl, 2
call fcn.00403500
lea edx, [ebp - 0x14]
lea eax, [ebp - 0x1c]
call fcn.00403530
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 4]
mov dl, byte [edx + 2]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x18]
lea eax, [ebp - 0x1c]
mov cl, 3
call fcn.00403500
lea edx, [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.0040523c
mov esi, 1
lea eax, [ebp - 8]
call fcn.00404fd8
cmp bl, 0x5c
jne 0x4ee545
mov esi, 2
mov edi, esi
mov eax, dword [ebp - 4]
call fcn.00405298
mov esi, eax
sub esi, edi
jl 0x4ee5b5
inc esi
mov eax, dword [ebp - 4]
mov bl, byte [eax + edi - 1]
cmp bl, 0x5c
je 0x4ee577
lea eax, [ebp - 0x20]
mov edx, ebx
call fcn.004051c0
mov edx, dword [ebp - 0x20]
lea eax, [ebp - 8]
call fcn.004052a0
mov eax, dword [ebp - 4]
cmp byte [eax + edi - 1], 0x5c
je 0x4ee58d
mov eax, dword [ebp - 4]
call fcn.00405298
cmp edi, eax
jne 0x4ee5b1
mov eax, dword [ebp - 8]
call fcn.0040bc20
test al, al
jne 0x4ee5a9
push 0
mov eax, dword [ebp - 8]
call fcn.00405498
push eax
call sub.KERNEL32.DLL_CreateDirectoryA
lea eax, [ebp - 8]
call fcn.00404fd8
inc edi
dec esi
jne 0x4ee556
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ee5df
lea eax, [ebp - 0x20]
call fcn.00404fd8
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404ffc
ret
Function at 0x4efdb4
Capabilities:
Enumerate processes

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffed8
mov esi, edx
mov edi, eax
mov eax, esi
xor ecx, ecx
mov edx, 0x128
call fcn.004036d0
mov dword [esp], 0x128
xor edx, edx
mov eax, 2
call fcn.004d2bf0
mov ebx, eax
push esp
push ebx
call sub.KERNEL32.DLL_Process32First
test eax, eax
je 0x4efe20
cmp edi, dword [esp + 8]
jne 0x4efe15
mov edi, esi
mov esi, esp
mov ecx, 0x4a
rep movsd dword es:[edi], dword [esi]
jmp 0x4efe20
cmp edi, dword [esp + 8]
jne 0x4efe15
mov edi, esi
mov esi, esp
mov ecx, 0x4a
rep movsd dword es:[edi], dword [esi]
jmp 0x4efe20
push esp
push ebx
call sub.KERNEL32.DLL_Process32Next
test eax, eax
jne 0x4efe02
push ebx
call sub.KERNEL32.DLL_CloseHandle
add esp, 0x128
pop edi
pop esi
pop ebx
ret

Function at 0x4efe30
Capabilities:
Acquire debug privileges

Disassembly:
push ebx
add esp, 0xffffffe4
mov byte [esp], al
xor ebx, ebx
lea eax, [esp + 4]
push eax
push 0x20
call sub.KERNEL32.DLL_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
test eax, eax
je 0x4efeaf
mov dword [esp + 0xc], 1
lea eax, [esp + 0x10]
push eax
push 0x4efeb8
push 0
call sub.advapi32.dll_LookupPrivilegeValueA
cmp byte [esp], 0
je 0x4efe78
mov dword [esp + 0x18], 2
jmp 0x4efe80
mov dword [esp + 0x18], 0x80000000
lea eax, [esp + 8]
push eax
push 0
push 0x10
lea eax, [esp + 0x18]
push eax
push 0
mov eax, dword [esp + 0x18]
push eax
call sub.advapi32.dll_AdjustTokenPrivileges
call sub.KERNEL32.DLL_GetLastError
test eax, eax
jne 0x4efea5
mov bl, 1
mov eax, dword [esp + 4]
push eax
call sub.KERNEL32.DLL_CloseHandle
mov eax, ebx
add esp, 0x1c
pop ebx
ret
Function at 0x50b078
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00405488
xor eax, eax
push ebp
push 0x50b0f2
push dword fs:[eax]
mov dword fs:[eax], esp
mov edi, dword [ebx + 0x1438]
mov eax, dword [ebp - 4]
call fcn.00405298
mov ebx, eax
test ebx, ebx
jle 0x50b0cd
mov esi, 1
push 0
mov eax, dword [ebp - 4]
movzx eax, byte [eax + esi - 1]
push eax
push 0x102
push edi
call sub.user32.dll_SendMessageA
inc esi
dec ebx
jne 0x50b0b3
push 0
push 0xd
push 0x102
push edi
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50b0f9
lea eax, [ebp - 4]
call fcn.00404fd8
ret

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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405488
xor eax, eax
push ebp
push 0x50bc71
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
je 0x50bc5b
mov eax, dword [ebp - 4]
mov edx, 0x50bc84
call fcn.004053e4
je 0x50bc5b
call sub.KERNEL32.DLL_GetTickCount
mov edx, dword [ebp + 8]
mov dword [edx - 4], eax
mov eax, dword [0x59051c]
mov eax, dword [eax]
call fcn.00483044
call sub.KERNEL32.DLL_GetTickCount
mov ebx, eax
mov eax, dword [ebp + 8]
sub ebx, dword [eax - 4]
mov eax, dword [ebp - 4]
call fcn.0040b6e8
cmp ebx, eax
jb 0x50bc36
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50bc78
lea eax, [ebp - 4]
call fcn.00404fd8
ret
Function at 0x51bca4
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
xor edx, edx
push ebp
push 0x51be74
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x12ec]
mov edx, dword [eax]
call dword [edx + 0xc8]
sub al, 1
jb 0x51be09
jne 0x51be5e
cmp dword [0x59452c], 0
jne 0x51bcec
push 0x51be80
call sub.user32.dll_RegisterWindowMessageA
mov dword [0x59452c], eax
mov dword [0x594988], 0x58
mov eax, dword [0x594144]
call fcn.00469a3c
mov dword [0x59498c], eax
mov eax, dword [0x594144]
call fcn.00469a3c
mov dword [0x594990], eax
mov dword [0x594994], 7
lea edx, [ebp - 4]
mov eax, dword [0x594144]
call fcn.004631f4
xor ebx, ebx
jmp 0x51bd3c
mov eax, dword [ebp - 4]
mov al, byte [eax + ebx]
mov byte [ebx + 0x5949a0], al
inc ebx
mov eax, dword [ebp - 4]
call fcn.00405298
dec eax
cmp ebx, eax
jle 0x51bd2f
mov eax, dword [0x5949e0]
mov dword [0x59499c], eax
mov dword [0x594998], 0x464
push 0x594988
push 0
call sub.shell32.dll_Shell_NotifyIconA
push 0xffffffffffffffec
mov eax, dword [0x594144]
call fcn.00469a3c
push eax
call sub.user32.dll_GetWindowLongA
mov ebx, eax
test ebx, 0x40000
jbe 0x51bd8b
sub ebx, 0x40000
push ebx
push 0xffffffffffffffec
mov eax, dword [0x594144]
call fcn.00469a3c
push eax
call sub.user32.dll_SetWindowLongA
push 0xffffffffffffffec
mov eax, dword [0x594144]
call fcn.00469a3c
push eax
call sub.user32.dll_GetWindowLongA
xor eax, 0x40000
push eax
push 0xffffffffffffffec
mov eax, dword [0x594144]
call fcn.00469a3c
push eax
call sub.user32.dll_SetWindowLongA
push 0
mov eax, dword [0x594144]
call fcn.00469a3c
push eax
call sub.user32.dll_ShowWindow
cmp byte [0x5944b9], 0
jne 0x51bdf5
push 5
mov eax, dword [0x594144]
call fcn.00469a3c
push eax
call sub.user32.dll_ShowWindow
push 0
mov eax, dword [0x59051c]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_ShowWindow
jmp 0x51be5e
push 0x594988
push 2
call sub.shell32.dll_Shell_NotifyIconA
push 0xffffffffffffffec
mov eax, dword [0x594144]
call fcn.00469a3c
push eax
call sub.user32.dll_GetWindowLongA
mov ebx, eax
test ebx, 0x40000
ja 0x51be37
add ebx, 0x40000
push ebx
push 0xffffffffffffffec
mov eax, dword [0x594144]
call fcn.00469a3c
push eax
call sub.user32.dll_SetWindowLongA
mov eax, dword [0x594144]
call fcn.0047fad4
mov eax, dword [0x594144]
call fcn.0047fadc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x51be7b
lea eax, [ebp - 4]
call fcn.00404fd8
ret