joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5e6ff0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
mov ebx, eax
push esi
push edi
push ebp
mov eax, dword [ebx + 0xc]
mov edx, dword [eax]
mov eax, edx
movzx ecx, word [eax]
mov eax, dword [ebx + 4]
cmp ecx, eax
ja 0x5e7020
mov eax, edx
movzx edx, word [eax]
mov dword [ebx + 4], edx
movzx esi, word [eax + 2]
mov edx, dword [ebx + 0xc]
mov eax, dword [eax + 8]
xor esi, 1
mov dword [edx], eax
jmp 0x5e7037
mov ecx, dword [ebx + 0xc]
mov eax, dword [ecx]
movzx edx, word [eax]
mov dword [ebx + 4], edx
movzx esi, word [eax + 2]
mov edx, dword [ebx + 0xc]
mov eax, dword [eax + 4]
mov dword [edx], eax
mov ecx, dword [ebx + 8]
test ecx, ecx
jne 0x5e7106
mov eax, dword [ebx + 0x20]
test eax, eax
jne 0x5e70f9
mov edx, dword [ebx + 0x18]
test byte [edx + 8], 7
jne 0x5e70a6
mov ebp, dword [ebx + 0x18]
mov eax, dword [ebp + 0x40]
test eax, eax
jl 0x5e7079
mov edx, dword [ebx + 0x18]
mov ecx, dword [edx + 0x40]
mov eax, dword [ebp + 0x3c]
cmp ecx, eax
jg 0x5e7079
mov edx, dword [ebx + 0x18]
or dword [edx + 8], 4
or edi, 0xffffffff
jmp 0x5e70a9
mov eax, dword [ebx + 0x18]
dec dword [eax + 0x1c]
jns 0x5e7092
mov edx, 1
mov eax, dword [ebx + 0x18]
call fcn.005edf48
mov edi, eax
jmp 0x5e70a9
mov eax, dword [ebx + 0x18]
inc dword [eax + 0x3c]
mov edx, dword [ebx + 0x18]
mov ecx, dword [edx + 0x18]
inc dword [edx + 0x18]
movzx edi, byte [ecx]
jmp 0x5e70a9
or edi, 0xffffffff
cmp edi, 0xffffffff
jne 0x5e70ba
mov dword [ebx + 0x20], 1
mov edi, 0xff
mov al, byte [ebx + 0x1c]
mov edx, edi
mov byte [ebx + 0x1c], dl
cmp al, 0xff
jne 0x5e70eb
cmp edi, 0x8f
jle 0x5e70dd
add dword [ebx], 0xff00
mov dword [ebx + 8], 8
jmp 0x5e7106
shl edi, 9
add dword [ebx], edi
mov dword [ebx + 8], 7
jmp 0x5e7106
shl edi, 8
add dword [ebx], edi
mov dword [ebx + 8], 8
jmp 0x5e7106
add dword [ebx], 0xff00
mov dword [ebx + 8], 8
shl dword [ebx + 4], 1
shl dword [ebx], 1
dec dword [ebx + 8]
test byte [ebx + 5], 0x80
je 0x5e7037
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x60bccc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp + 8]
cmp dword [ebp + 0xc], 0
je 0x60bdac
xor edx, edx
mov dword [ebx + 0x9434], edx
jmp 0x60bd07
imul eax, eax, 0x2e90edd
inc eax
mov dword [ebx + edx*4 + 0x9234], eax
inc dword [ebx + 0x9434]
mov edx, dword [ebx + 0x9434]
cmp edx, 4
jb 0x60bcf3
mov eax, dword [ebx + 0x9234]
xor eax, dword [ebx + 0x923c]
shr eax, 0x1f
mov edx, dword [ebx + 0x9240]
add edx, edx
or eax, edx
mov dword [ebx + 0x9240], eax
mov dword [ebx + 0x9434], 4
jmp 0x60bd6d
mov edx, dword [ebx + eax*4 + 0x9224]
xor edx, dword [ebx + eax*4 + 0x922c]
add edx, edx
mov ecx, dword [ebx + eax*4 + 0x9228]
xor ecx, dword [ebx + eax*4 + 0x9230]
shr ecx, 0x1f
or edx, ecx
mov dword [ebx + eax*4 + 0x9234], edx
inc dword [ebx + 0x9434]
mov eax, dword [ebx + 0x9434]
cmp eax, 0x7f
jb 0x60bd3d
xor eax, eax
mov dword [ebx + 0x9434], eax
jmp 0x60bda1
mov eax, dword [ebx + esi*4 + 0x9234]
call fcn.006097a4
mov edx, dword [ebx + 0x9434]
mov dword [ebx + edx*4 + 0x9234], eax
inc dword [ebx + 0x9434]
mov esi, dword [ebx + 0x9434]
cmp esi, 0x7f
jb 0x60bd82
cmp dword [ebp - 8], 0
je 0x60be06
dec dword [ebp - 8]
mov eax, dword [ebx + 0x9434]
mov edx, eax
inc edx
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x9234]
mov ecx, eax
add ecx, 0x41
and ecx, 0x7f
xor edx, dword [ebx + ecx*4 + 0x9234]
and eax, 0x7f
mov dword [ebx + eax*4 + 0x9234], edx
mov eax, dword [ebx + 0x9434]
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x9234]
mov edx, dword [ebp - 4]
xor dword [edx], eax
inc dword [ebx + 0x9434]
add dword [ebp - 4], 4
cmp dword [ebp - 8], 0
jne 0x60bdb2
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 8

Function at 0x619e90
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffea0
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x619eee
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x160]
xor ecx, ecx
mov edx, 0x160
call fcn.00402de8
push pe_nt_image_headers32
push 0x160
lea eax, [ebp - 0x160]
push eax
push 0
mov eax, ebx
call fcn.0040434c
push eax
call sub.shell32.dll_SHGetFileInfoA
mov ebx, dword [ebp - 0x160]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x619efa
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x638a78
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax], ebx
je 0x638aa8
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae 0x638aa3
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
jne 0x638a8d
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x638a95
cmp edx, ebx
jne 0x638be3
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x638a64
add eax, dword [eax + 4]
jmp 0x638a51
mov dword [ebp + 0xc], ebx
jmp 0x638ab3
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x638acb
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x638ae9
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x638b47
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x638b2e
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x638b37
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x638b41
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x638b23
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x638aad
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x638b94
dec eax
je 0x638b8b
sub eax, 3
je 0x638b82
mov dword [ebp - 4], 0x40
jmp 0x638bb1
mov dword [ebp - 4], 4
jmp 0x638b97
mov dword [ebp - 4], 0x20
jmp 0x638b97
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x638be3
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x638b63
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.006383f4
lcall 0x1475, 0xff0e49b2
push 1
push esi
call edi
mov eax, esi
jmp 0x638bef
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x6855a4
Capabilities:
Check os version

Disassembly:
push ebx
add esp, 0xffffff6c
mov bl, 0xa
mov dword [esp], 0x94
push esp
call sub.kernel32.dll_GetVersionExA
test eax, eax
je 0x685680
mov eax, dword [esp + 0x10]
dec eax
je 0x6855d1
dec eax
je 0x685604
jmp 0x685680
cmp dword [esp + 4], 4
jne 0x685680
mov eax, dword [esp + 8]
test eax, eax
jne 0x6855eb
xor ebx, ebx
jmp 0x685680
cmp eax, 0xa
jne 0x6855f7
mov bl, 1
jmp 0x685680
cmp eax, 0x5a
jne 0x685680
mov bl, 2
jmp 0x685680
cmp dword [esp + 4], 4
jne 0x685616
cmp dword [esp + 8], 0
jne 0x685616
mov bl, 3
jmp 0x685680
cmp dword [esp + 4], 5
jne 0x685628
cmp dword [esp + 8], 0
jne 0x685628
mov bl, 4
jmp 0x685680
cmp dword [esp + 4], 5
jne 0x68563a
cmp dword [esp + 8], 1
jne 0x68563a
mov bl, 5
jmp 0x685680
cmp dword [esp + 4], 5
jne 0x68564c
cmp dword [esp + 8], 2
jne 0x68564c
mov bl, 6
jmp 0x685680
cmp dword [esp + 4], 6
jne 0x68565e
cmp dword [esp + 8], 0
jne 0x68565e
mov bl, 7
jmp 0x685680
cmp dword [esp + 4], 6
jne 0x685670
cmp dword [esp + 8], 1
jne 0x685670
mov bl, 8
jmp 0x685680
cmp dword [esp + 4], 6
jne 0x685680
cmp dword [esp + 8], 2
jne 0x685680
mov bl, 9
mov eax, ebx
add esp, 0x94
pop ebx
ret
Function at 0x69641c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x114], ebx
mov dword [ebp - 8], ebx
mov ebx, ecx
mov esi, edx
mov edi, eax
xor eax, eax
push ebp
push 0x696533
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
call fcn.00696414
test al, al
je 0x696459
mov eax, edi
call fcn.006963ec
mov byte [ebp - 1], 0
mov eax, dword [0x767658]
cmp dword [eax], 0

Function at 0x696898
Capabilities:
Get memory capacity

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffff98
mov ebx, eax
push 0x696958
call sub.kernel32.dll_LoadLibraryA
mov edi, eax
test edi, edi
je 0x696915
push 0x696968
push edi
call sub.kernel32.dll_GetProcAddress_1
mov ebp, eax
mov esi, ebp
test ebp, ebp
je 0x69690f
lea eax, [esp + 0x28]
xor ecx, ecx
mov edx, 0x40
call fcn.00402de8
mov dword [esp + 0x28], 0x40
lea eax, [esp + 0x28]
push eax
call esi
test bl, bl
je 0x6968f8
mov eax, dword [esp + 0x38]
mov dword [esp], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], eax
jmp 0x696907
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
push edi
call sub.kernel32.dll_FreeLibrary_1
jmp 0x696947
push edi
call sub.kernel32.dll_FreeLibrary_1
mov dword [esp + 8], 0x20
lea eax, [esp + 8]
push eax
call sub.kernel32.dll_GlobalMemoryStatus
test bl, bl
je 0x69693a
mov eax, dword [esp + 0x14]
xor edx, edx
mov dword [esp], eax
mov dword [esp + 4], edx
jmp 0x696947
mov eax, dword [esp + 0x10]
xor edx, edx
mov dword [esp], eax
mov dword [esp + 4], edx
mov eax, dword [esp]
mov edx, dword [esp + 4]
add esp, 0x68
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x69ae38
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x69aebc
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x767658]
cmp dword [eax], 0
jne 0x69ae87
lea eax, [ebp - 0x109]
push eax
push 0xfa
call sub.kernel32.dll_GetTempPathA
lea eax, [ebp - 4]
lea edx, [ebp - 0x109]
mov ecx, 0x105
call fcn.00404138
jmp 0x69ae97
lea eax, [ebp - 4]
mov edx, dword [0x767658]
mov edx, dword [edx]
call fcn.00403f90
mov ecx, ebx
mov edx, dword [ebp - 4]
mov eax, 0x69aed0
call fcn.0069ada0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x69aec3
lea eax, [ebp - 4]
call fcn.00403ef8
ret

Function at 0x69c0f8
Capabilities:
Open clipboard

Disassembly:
push ebx
mov ebx, 0xa
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x69c10d
mov al, 1
pop ebx
ret
push 0x14
call sub.kernel32.dll_Sleep
dec ebx
jne 0x69c0fe
xor eax, eax
pop ebx
ret

Function at 0x69c6b8
Capabilities:
Log keystrokes via polling

Disassembly:
push 1
call sub.user32.dll_GetAsyncKeyState
movsx eax, ax
test ah, 0x80
je 0x69c6d2
push 0x17
call sub.user32.dll_GetSystemMetrics
test eax, eax
je 0x69c6ef
push 2
call sub.user32.dll_GetAsyncKeyState
movsx eax, ax
test ah, 0x80
je 0x69c6ec
push 0x17
call sub.user32.dll_GetSystemMetrics
test eax, eax
jne 0x69c6ef
xor eax, eax
ret
mov al, 1
ret
Function at 0x69d078
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edx, dword [0x7679b4]
cmp byte [edx], 0
je 0x69d089
call fcn.004098c8
ret
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x69d098
test al, 0x10
je 0x69d09c
xor eax, eax
jmp 0x69d09e
mov al, 1
ret

Function at 0x69d0a0
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x69d10b
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [0x774fb5], 0
je 0x69d0ce
mov eax, ebx
call fcn.004047e0
push eax
call sub.kernel32.dll_GetFileAttributesW
jmp 0x69d0e6
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00404150
mov eax, dword [ebp - 4]
call fcn.0040434c
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x69d0ef
test al, 0x10
je 0x69d0f3
xor ebx, ebx
jmp 0x69d0f5
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x69d112
lea eax, [ebp - 4]
call fcn.00403ef8
ret
Function at 0x6a4b8c
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
mov byte [ebp - 1], dl
mov esi, eax
mov byte [ebp - 2], 0
mov dx, word [0x6a4d48]
mov eax, esi
call fcn.006a1bc4
test al, al
je 0x6a4d3c
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0xc]
lea edx, [ebp - 8]
mov eax, esi
mov bx, 0xfff0
call fcn.0040336c
test al, al
je 0x6a4d2f
call fcn.0069c0f8
test al, al
je 0x6a4d3c
xor eax, eax
push ebp
push 0x6a4d28
push dword fs:[eax]
mov dword fs:[eax], esp
call sub.user32.dll_EmptyClipboard
cmp dword [ebp - 0x20], 0
je 0x6a4c50
mov eax, dword [ebp - 0x20]
call fcn.006822c8
test al, al
jne 0x6a4c50
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x20]
push eax
mov eax, esi
call fcn.006a1eb8
push eax
mov eax, esi
call fcn.006ba5c4
push eax
mov eax, esi
call fcn.006ba5dc
push eax
mov eax, dword [esi + 0x50]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.006a4af4
mov ebx, eax
jmp 0x6a4c78
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, esi
call fcn.006ba5c4
push eax
mov eax, esi
call fcn.006ba5dc
push eax
mov eax, dword [esi + 0x50]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.006a3ca0
mov ebx, eax
test ebx, ebx
jne 0x6a4c86
call fcn.004039c8
jmp 0x6a4d3c
push ebx
push 8
call sub.user32.dll_SetClipboardData
test eax, eax
jne 0x6a4ca2
push ebx
call sub.kernel32.dll_GlobalFree
call fcn.004039c8
jmp 0x6a4d3c
cmp byte [ebp - 1], 0
je 0x6a4d11
mov dl, 1
mov eax, dword [0x67c338]
call fcn.00686024
mov ebx, eax
mov eax, dword [esi + 0x50]
mov ecx, dword [ebp - 0x20]
mov edx, ebx
call fcn.0069379c
mov eax, ebx
call fcn.00693154
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov esi, eax
test esi, esi
je 0x6a4d0a
push 0
push esi
call sub.kernel32.dll_GlobalLock
mov edx, eax
xor ecx, ecx
mov eax, ebx
call fcn.00693210
push esi
call sub.kernel32.dll_GlobalUnlock
push esi
mov eax, dword [0x776c34]
push eax
call sub.user32.dll_SetClipboardData
test eax, eax
jne 0x6a4d0a
push esi
call sub.kernel32.dll_GlobalFree
mov eax, ebx
call fcn.00403170
mov byte [ebp - 2], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6a4d3c
call sub.user32.dll_CloseClipboard
ret
mov dl, byte [ebp - 1]
mov eax, esi
call fcn.006a3690
mov byte [ebp - 2], al
mov al, byte [ebp - 2]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x6ad324
Capabilities:
Capture screenshot

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov esi, edx
mov ebx, eax
cmp dword [ebx + 0x34], 0
jne 0x6ad34f
mov eax, dword [ebx + 4]
push eax
mov eax, dword [ebx + 0xc]
call fcn.00421cf8
xor ecx, ecx
xor edx, edx
call fcn.0041ce10
jmp 0x6ad3df
mov eax, dword [ebx + 0x20]
imul dword [ebx + 0x24]
test eax, eax
jns 0x6ad35c
add eax, 0x3f
sar eax, 6
imul esi
mov dword [esp], eax
fild dword [esp]
mov dword [esp + 4], esi
fild dword [esp + 4]
fdiv dword [0x6ad3e8]
fmulp st(1)
fdiv dword [0x6ad3ec]
call fcn.00402c34
mov edx, eax
mov eax, edx
sub eax, dword [ebx + 0x3c]
mov dword [ebx + 0x3c], edx
mov ebp, eax
dec ebp
test ebp, ebp
jl 0x6ad3df
inc ebp
mov eax, dword [ebx + 0x20]
call fcn.00402e08
mov esi, eax
and esi, 0xfffffff8
mov eax, dword [ebx + 0x24]
call fcn.00402e08
mov edi, eax
and edi, 0xfffffff8
push 0xcc0020
push edi
push esi
mov eax, dword [ebx + 8]
call fcn.00421cf8
call fcn.0041d564
push eax
push 8
push 8
push edi
push esi
mov eax, dword [ebx + 0xc]
call fcn.00421cf8
call fcn.0041d564
push eax
call sub.gdi32.dll_BitBlt
dec ebp
jne 0x6ad394
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x6c1974
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffec8
push ebx
xor edx, edx
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x138], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x6c1b3f
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebx + 0x34], 0
je 0x6c19af
cmp byte [ebx + 0x35], 0
jne 0x6c19af
xor eax, eax
mov dword [ebp - 0x24], eax
jmp 0x6c19db
cmp byte [ebx + 0x35], 1
jne 0x6c19c9
lea eax, [ebp - 0x24]
push eax
push 0x12
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
call fcn.005228b4
jmp 0x6c19db
lea eax, [ebp - 0x24]
push eax
push 0x11
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
call fcn.005228b4
xor edx, edx
push ebp
push 0x6c1b1a
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebx + 0x3b]
mov edx, 0x104
call fcn.004044bc
mov eax, dword [ebx + 0x3b]
call fcn.0040434c
mov dword [ebp - 0x20], eax
cmp dword [ebx + 0x37], 0
je 0x6c1a14
mov eax, dword [ebx + 0x37]
call fcn.0040434c
mov dword [ebp - 0x1c], eax
jmp 0x6c1a19
xor eax, eax
mov dword [ebp - 0x1c], eax
cmp byte [ebx + 0x35], 1
jne 0x6c1a28
mov dword [ebp - 0x18], 0x1000
jmp 0x6c1a2f
mov dword [ebp - 0x18], 9
mov dword [ebp - 0x14], 0x6c1580
mov dword [ebp - 0x10], ebx
mov eax, dword [0x76790c]
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x28], eax
xor eax, eax
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x28]
mov eax, ebx
call fcn.006c1b50
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
setne byte [ebp - 1]
cmp byte [ebp - 1], 0
je 0x6c1aff
xor eax, eax
push ebp
push 0x6c1af8
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebx + 0x35], 0
jne 0x6c1ac5
lea eax, [ebp - 0x12d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.shell32.dll_SHGetPathFromIDList
call fcn.0040dee4
lea edx, [ebp - 0x138]
lea eax, [ebp - 0x12d]
call fcn.0040a0c4
mov eax, dword [ebp - 0x138]
lea edx, [ebp - 0x134]
call fcn.006c15f0
mov edx, dword [ebp - 0x134]
lea eax, [ebx + 0x43]
call fcn.00403f4c
jmp 0x6c1ad0
lea eax, [ebx + 0x43]
mov edx, dword [ebx + 0x3b]
call fcn.00403f4c
lea eax, [ebx + 0x3f]
mov edx, dword [ebx + 0x43]
call fcn.00403f4c
mov eax, dword [ebp - 0xc]
mov dword [ebx + 0x47], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6c1aff
mov eax, dword [ebp - 8]
push eax
call sub.ole32.dll_CoTaskMemFree
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6c1b21
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x6c1b19
push eax
call sub.ole32.dll_CoTaskMemFree
ret

Function at 0x6c4978
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.004045cc
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyW
shl eax, 0x10
test eax, eax
je 0x6c49c7
push 0x200
lea edx, [ebp - 0x202]
push edx
push eax
call sub.user32.dll_GetKeyNameTextW
mov eax, ebx
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.00404750
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x6c49cc
Capabilities:
Log keystrokes

Disassembly:
push ebx
mov ebx, eax
push 2
movzx eax, bx
push eax
call sub.user32.dll_MapVirtualKeyW
pop ebx
ret

Function at 0x6d30a0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0
xor eax, eax
push ebp
push 0x6d31ad
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
push dword [eax - 4]
push 0x6d31c0
mov eax, dword [ebp + 8]
push dword [eax - 8]
mov eax, dword [ebp + 8]
add eax, 0xfffffff4
mov edx, 3
call fcn.00404248
push 0
mov eax, dword [ebp + 8]
mov edx, dword [eax - 4]
lea eax, [ebp - 4]
mov ecx, 0x6d31cc
call fcn.004041d4
mov eax, dword [ebp - 4]
call fcn.0040434c
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
call fcn.0040434c
push eax
call sub.kernel32.dll_CopyFileA
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov edx, 0x6d31dc
call fcn.00404298
jne 0x6d3128
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0xc]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x4c]
jmp 0x6d3197
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov edx, 0x6d31e8
call fcn.00404298
jne 0x6d314f
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0xc]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x10]
mov dl, 0x64
call fcn.0055e86c
jmp 0x6d3197
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov edx, 0x6d31f4
call fcn.00404298
jne 0x6d3174
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0xc]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x10]
call fcn.0055ea84
jmp 0x6d3197
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov edx, 0x6d3200
call fcn.00404298
jne 0x6d3197
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0xc]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x10]
call fcn.0055eba0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6d31b4
lea eax, [ebp - 4]
call fcn.00403ef8
ret
Function at 0x6ef910
Capabilities:
Enumerate pe sections

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffd4
mov dword [esp + 4], edx
mov dword [esp], eax
mov eax, dword [0x767c24]
mov eax, dword [eax]
cmp byte [eax + 0x47], 0
je 0x6ef937
mov eax, dword [0x767c24]
mov eax, dword [eax]
call fcn.00452d1c
xor ecx, ecx
mov dl, 1
mov eax, dword [0x434090]
call fcn.004431f0
mov dword [esp + 8], eax
mov edx, 0xb
mov eax, dword [esp + 8]
call fcn.004434c4
mov edx, 0xb
mov eax, dword [esp + 8]
call fcn.00443508
mov dl, 1
mov eax, dword [0x41b0d4]
call fcn.0042178c
mov dword [esp + 0x18], eax
mov dl, 6
mov eax, dword [esp + 0x18]
call fcn.00422cfc
mov dword [esp + 0x10], 2
mov eax, dword [esp + 0x10]
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], 0x18
mov eax, dword [0x7679e0]
mov dword [esp + 0x28], eax
push 0xffffff
mov ecx, 0xb
mov edx, 0xb
mov eax, dword [esp + 0x1c]
call fcn.004c8520
mov eax, dword [esp + 0x18]
call fcn.00421cf8
call fcn.0041d564
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x28]
mov edx, dword [eax]
mov dword [esp + 0x1c], edx
mov dx, word [eax + 4]
mov word [esp + 0x20], dx
mov dl, byte [eax + 6]
mov byte [esp + 0x22], dl
xor edi, edi
lea ebp, [esp + 0x1c]
movzx esi, byte [ebp]
xor ebx, ebx
mov edx, 7
sub edx, ebx
mov eax, esi
call fcn.004652ac
test al, al
je 0x6efa1d
push 0
mov eax, dword [esp + 0x18]
add eax, edi
push eax
mov eax, dword [esp + 0x18]
add eax, ebx
push eax
mov eax, dword [esp + 0x30]
push eax
call sub.gdi32.dll_SetPixel
inc ebx
cmp ebx, 7
jne 0x6ef9f1
inc edi
inc ebp
cmp edi, 7
jne 0x6ef9eb
mov ecx, 0xffffff
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 8]
call fcn.00443788
add dword [esp + 0x28], 7
dec dword [esp + 0xc]
jne 0x6ef9a1
mov eax, dword [esp]
mov eax, dword [eax + 0x318]
call fcn.00539970
call fcn.00421ddc
cmp al, 7
jne 0x6efad2
mov eax, dword [0x767998]
mov eax, dword [eax]
mov eax, dword [eax + 0x88]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x6efad2
inc ebx
mov dword [esp + 0xc], 0
push 0x8000000f
mov ecx, 0xb
mov edx, 0xb
mov eax, dword [esp + 0x1c]
call fcn.004c8520
mov eax, dword [0x767998]
mov eax, dword [eax]
mov eax, dword [eax + 0x88]
mov edx, dword [esp + 0xc]
call fcn.00423fe8
mov edx, eax
mov eax, dword [esp + 0x18]
call fcn.005700d8
mov ecx, 0xffffff
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 8]
call fcn.00443788
inc dword [esp + 0xc]
dec ebx
jne 0x6efa80
mov eax, dword [esp + 0x18]
call fcn.00403170
push 4
mov eax, dword [esp + 4]
push eax
push fcn.006ef338
mov eax, dword [esp + 0xc]
mov edx, dword [eax + 0x511]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
call fcn.006e3064
mov eax, dword [esp + 8]
call fcn.00403170
add esp, 0x2c
pop ebp
pop edi
pop esi
pop ebx
ret