joyce8/EMBER2024-capa huggingface dataset:
Function at 0x7cd94276
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x430
mov eax, dword [0x7cd71a84]
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [0x7cd71a88]
or word [esi], 0xffff
mov dword [ebp - 8], eax
mov ax, word [edi]
mov word [ebp - 0xc], ax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
and dword [ebp + 8], 0
cmp eax, 4
mov dword [ebp - 0x10], 0x41e
jne 0x7cd94374
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x430]
push eax
push 2
push edi
call fcn.7ce2ca16
test eax, eax
jne 0x7cd94374
push dword [ebp - 0x42c]
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
call esi
push dword [ebp - 0x428]
mov ebx, eax
call esi
mov dword [ebp - 4], eax
lea eax, [eax + ebx + 1]
cmp eax, 0x104
jle 0x7cd9430c
mov dword [ebp + 8], 0x800401e4
jmp 0x7cd9437f
add eax, eax
push eax
push 0
push dword [0x7ce50ed0]
call dword [0x7ce4df60]
mov ecx, dword [ebp + 0xc]
test eax, eax
mov dword [ecx], eax
jne 0x7cd9432f
mov dword [ebp + 8], 0x8007000e
jmp 0x7cd9437f
mov esi, dword [ebp - 0x42c]
lea edx, [ebx + ebx]
mov ecx, edx
mov edi, eax
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [ebp - 4]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp - 0x428]
lea ecx, [eax + eax + 2]
mov eax, dword [ebp + 0xc]
mov edi, dword [eax]
mov eax, ecx
add edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [ebp + 0x10]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov word [eax], bx
jmp 0x7cd9437f
mov eax, dword [ebp + 0xc]
and dword [eax], 0
or word [esi], 0xffff
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x7cd96571
Capabilities:
Check for time delay via gettickcount

Disassembly:
cmp dword [0x7ce4e894], 0
push esi
mov esi, ecx
jne 0x7cd9659c
cmp dword [0x7ce4e0ec], 0
je 0x7cd96592
call fcn.7cdabb53
mov dword [0x7ce4e894], eax
jmp 0x7cd9659c
mov dword [0x7ce4e894], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x2c]
mov edx, eax
sub edx, ecx
cmp eax, ecx
jae 0x7cd965ae
dec edx
mov eax, edx
xor edx, edx
div dword [0x7ce4e894]
pop esi
ret

Function at 0x7cd975bf
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push esi
mov esi, ecx
push edi
cmp byte [esi + 6], 0
je 0x7cd975fd
and dword [ebp - 0x24], 0
push 8
pop ecx
xor eax, eax
lea edi, [ebp - 0x20]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x10]
imul eax, eax, 0x1f4
push eax
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
jmp 0x7cd97607
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
cmp byte [esi + 5], 0
mov byte [esi + 4], 1
jne 0x7cd9761e
mov eax, dword [0x7ce50f38]
mov dword [esi], eax
mov dword [0x7ce50f38], esi
pop edi
pop esi
leave
ret

Function at 0x7cda1035
Capabilities:
Read file via mapping

Disassembly:
push esi
push edi
push dword [esp + 0xc]
push 0
push 4
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov esi, eax
xor edi, edi
test esi, esi
je 0x7cda106b
push dword [esp + 0x10]
push edi
push edi
push 4
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
test edi, edi
jne 0x7cda106b
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
mov eax, dword [esp + 0x14]
mov dword [eax], edi
mov eax, esi
pop edi
pop esi
ret 0xc

Function at 0x7cda191a
Capabilities:
Get file size

Disassembly:
push esi
push edi
mov esi, ecx
push 0
push dword [esi + 0x40]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push dword [esi + 0x250]
mov edi, eax
call fcn.7cda168a
sub edi, eax
mov eax, 0x1000
cmp edi, eax
ja 0x7cda1943
mov edi, eax
mov ecx, dword [esi + 0x268]
lea eax, [esi + 0x268]
mov dword [ecx + 0x48], edi
and dword [eax], 0
add edi, 0x1ff
shr edi, 9
add dword [esi + 0x250], edi
pop edi
pop esi
ret

Function at 0x7cda1eac
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 0x14]
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.7ce0d7b9
mov ebx, eax
test ebx, ebx
jl 0x7cda1f0e
test edi, edi
jne 0x7cda1ece
lea edi, [ebp + 0x14]
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
add eax, dword [esi + 0x10]
cmp eax, 0x7fffff00
jb 0x7cda1ee5
mov eax, 0x80030111
jmp 0x7cda1f10
push 0
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [esi + 0x18]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [edi]
add dword [esi + 0x10], ecx
test eax, eax
jne 0x7cda1f0e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.7ce3959e
mov ebx, eax
mov eax, ebx
pop edi
pop esi
pop ebx
pop ebp
ret 0x10
Function at 0x7cda1f17
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 0x14]
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.7ce0d6e7
test eax, eax
jl 0x7cda1f64
test edi, edi
jne 0x7cda1f36
lea edi, [ebp + 0x14]
mov esi, dword [ebp + 8]
push 0
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [esi + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [edi]
add dword [esi + 0x10], ecx
test eax, eax
jne 0x7cda1f62
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.7ce3959e
jmp 0x7cda1f64
xor eax, eax
pop edi
pop esi
pop ebp
ret 0x10
Function at 0x7cda959d
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
xor esi, esi
push edi
cmp dword [ebp + 0xc], esi
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], esi
je 0x7cda9695
push dword [ebp + 0x10]
call fcn.7cdfd11d
push 1
sub eax, 0x100
pop ebx
je 0x7cda95e4
dec eax
dec eax
je 0x7cda95df
dec eax
dec eax
je 0x7cda95e4
dec eax
dec eax
jne 0x7cda9695
mov dword [ebp - 4], esi
jmp 0x7cda95e7
mov dword [ebp - 4], ebx
cmp dword [ebp + 8], esi
je 0x7cda9695
push dword [ebp + 0xc]
lea ecx, [ebp - 0x14]
push dword [ebp + 8]
call fcn.7cdfd143
test eax, eax
je 0x7cda9695
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp + 0x10]
movzx ax, byte [ecx]
mov cx, word [ecx + 2]
cmp cx, word [edx + 8]
jne 0x7cda967c
movzx esi, ax
xor eax, eax
mov ecx, esi
cmp dword [ebp - 4], eax
setne al
and ecx, ebx
cmp eax, ecx
jne 0x7cda967c
cmp dword [ebp - 4], 0
je 0x7cda9667
push 0x10
call edi
xor ecx, ecx
test ax, ax
mov eax, esi
setl cl
shr eax, 2
and eax, ebx
cmp ecx, eax
jne 0x7cda967c
push 0x11
call edi
xor ecx, ecx
test ax, ax
mov eax, esi
setl cl
shr eax, 3
and eax, ebx
cmp ecx, eax
jne 0x7cda967c
push 0x12
call edi
xor ecx, ecx
test ax, ax
setl cl
shr esi, 4
and esi, ebx
cmp ecx, esi
je 0x7cda9687
add dword [ebp - 0x14], 6
dec dword [ebp + 0xc]
je 0x7cda9695
jmp 0x7cda960c
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xc], ebx
mov ax, word [eax + 4]
mov word [ebp - 8], ax
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x7cda96a3
mov cx, word [ebp - 8]
mov word [eax], cx
push dword [ebp - 0x10]
push 0
push dword [0x7ce50ed0]
call dword [0x7ce4df64]
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
leave
ret 0x10

Function at 0x7cda96be
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
xor ebx, ebx
push edi
mov eax, dword [esi + 4]
cmp eax, 0x100
je 0x7cda96d8
cmp eax, 0x104
jne 0x7cda9729
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
call edi
test ax, ax
jge 0x7cda9729
movzx eax, word [esi + 8]
sub eax, 9
je 0x7cda9709
sub eax, 0x6a
je 0x7cda96fb
dec eax
dec eax
je 0x7cda9709
jmp 0x7cda9729
mov eax, dword [esp + 0x14]
push 1
pop ebx
mov word [eax], 0xf060
jmp 0x7cda9729
push 1
pop ebx
push 0x10
call edi
xor ecx, ecx
test ax, ax
mov eax, dword [esp + 0x14]
setge cl
dec ecx
and ecx, 0x10
add ecx, 0xf040
mov word [eax], cx
pop edi
mov eax, ebx
pop esi
pop ebx
ret 8
Function at 0x7cdaca81
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7cd81040
push 0x7ce2c828
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ecx
sub esp, 0x24
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov esi, 0x80004005
xor eax, eax
lea edi, [ebp - 0x3c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 1
pop edi
mov dword [ebp - 0x3c], edi
movzx eax, word [0x7ce4fd4c]
mov ebx, dword [ebp + 0xc]
cmp ebx, eax
jne 0x7cdacadb
lea eax, [ebp - 0x3c]
push eax
push dword [ebp + 0x10]
call fcn.7cdae122
jmp 0x7cdacbb8
movzx eax, word [0x7ce4fd48]
cmp ebx, eax
jne 0x7cdacaf7
lea eax, [ebp - 0x3c]
push eax
push dword [ebp + 0x10]
call fcn.7cdad684
jmp 0x7cdacbb8
movzx eax, word [0x7ce4fd44]
cmp ebx, eax
jne 0x7cdacb3b
lea eax, [ebp - 0x2c]
push eax
push ebx
push dword [ebp + 8]
call fcn.7cdacdcb
test eax, eax
jne 0x7cdacb25
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x2c]
push eax
push dword [ebp + 0x10]
call fcn.7cdace3a
mov esi, eax
test esi, esi
je 0x7cdacbbe
lea eax, [ebp - 0x3c]
push eax
push dword [ebp + 0x10]
call fcn.7cdaddec
jmp 0x7cdacbb8
movzx eax, word [0x7ce4fd90]
cmp ebx, eax
jne 0x7cdacb4f
call fcn.7cdbb309
test eax, eax
jne 0x7cdacbba
lea eax, [ebp - 0x2c]
push eax
push ebx
push dword [ebp + 8]
call fcn.7cdacdcb
test eax, eax
jne 0x7cdacbba
test byte [ebp - 0x1c], 8
je 0x7cdacb79
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x2c]
push eax
push dword [ebp + 0x10]
call fcn.7cdadaea
jmp 0x7cdacbb8
test byte [ebp - 0x1c], 4
je 0x7cdacb93
push 0
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x2c]
push eax
push dword [ebp + 0x10]
call fcn.7cdadbd3
jmp 0x7cdacbb8
and dword [ebp - 0x1c], 0xfffffffd
cmp ebx, 0xc000
jbe 0x7cdacba2
and dword [ebp - 0x1c], edi
cmp dword [ebp - 0x1c], 0
je 0x7cdacbba
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x2c]
push eax
push dword [ebp + 0x10]
call fcn.7cdace3a
mov esi, eax
test esi, esi
jne 0x7cdacbea
push dword [ebp - 0x38]
push ebx
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
jne 0x7cdacbea
and dword [ebp - 4], eax
lea eax, [ebp - 0x3c]
push eax
call sym.ole32.dll_ReleaseStgMedium
jmp 0x7cdacbe1
or dword [ebp - 4], 0xffffffff
mov esi, 0x800401d2
mov eax, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x7cdacbfd
Capabilities:
Read clipboard data
Write clipboard data

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
push edi
call fcn.7cd9ea37
mov edi, eax
xor ebx, ebx
cmp edi, ebx
mov dword [esp + 0x1c], edi
jne 0x7cdacc1f
mov esi, 0x80004005
jmp 0x7cdacdc1
push ebx
push edi
call fcn.7cd937cd
mov esi, eax
cmp esi, ebx
jne 0x7cdacdc1
push ebx
push edi
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ebp, eax
cmp ebp, ebx
je 0x7cdacda1
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x10], ebx
test byte [ebp + 0x10], 4
lea ebx, [ebp + 0x18]
mov ecx, eax
mov edi, ebx
mov dword [esp + 0x14], edi
jne 0x7cdaccc7
dec eax
test ecx, ecx
je 0x7cdacc91
inc eax
mov dword [esp + 0x18], eax
cmp dword [ebx + 0x14], 1
jne 0x7cdacc88
mov edi, dword [esp + 0x14]
push 8
add dword [esp + 0x18], 0x20
pop ecx
mov esi, ebx
inc dword [esp + 0x10]
rep movsd dword es:[edi], dword [esi]
movzx eax, word [ebx]
push eax
call dword [sym.imp.USER32.dll_GetClipboardData]
add ebx, 0x20
dec dword [esp + 0x18]
jne 0x7cdacc64
test byte [ebp + 0x10], 1
je 0x7cdaccb1
movzx eax, word [0x7ce4fd4c]
mov esi, dword [sym.imp.USER32.dll_GetClipboardData]
push eax
call esi
movzx eax, word [0x7ce4fd48]
push eax
call esi
test byte [ebp + 0x10], 2
je 0x7cdacd31
movzx eax, word [0x7ce4fd44]
push eax
call dword [sym.imp.USER32.dll_GetClipboardData]
jmp 0x7cdacd31
dec eax
test ecx, ecx
je 0x7cdaccf8
mov cx, word [ebx]
cmp cx, word [0x7ce4fd94]
je 0x7cdaccdf
add ebx, 0x20
mov ecx, eax
jmp 0x7cdaccc7
push 8
mov esi, ebx
pop ecx
mov dword [esp + 0x10], 1
rep movsd dword es:[edi], dword [esi]
movzx eax, word [ebx]
push eax
call dword [sym.imp.USER32.dll_GetClipboardData]
push 0x7cd81000
push dword [esp + 0x20]
call dword [sym.imp.USER32.dll_GetPropW]
push eax
call fcn.7cdfa5d2
mov esi, eax
test esi, esi
je 0x7cdacd2d
movzx eax, word [0x7ce4fd98]
push esi
push eax
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
jne 0x7cdacd2d
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [ebp + 0x10], 0xfffffffc
mov eax, dword [esp + 0x10]
mov esi, dword [ebp + 4]
mov dword [ebp + 0xc], eax
call fcn.7cdb9dcf
cmp esi, eax
jae 0x7cdacd54
push esi
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
jmp 0x7cdacd56
xor ebx, ebx
test ebx, ebx
je 0x7cdacda1
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x7cdacd96
mov ecx, dword [ebp + 4]
mov edi, eax
mov eax, ecx
mov esi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
movzx eax, word [0x7ce4fd8c]
push ebx
push eax
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
je 0x7cdacd96
xor ebx, ebx
test ebx, ebx
je 0x7cdacda1
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push 1
push dword [esp + 0x20]
call fcn.7cd95108
mov esi, eax
call dword [sym.imp.USER32.dll_CloseClipboard]
test eax, eax
jne 0x7cdacdc1
test esi, esi
jne 0x7cdacdc1
mov esi, 0x800401d4
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x7cdb0093
Capabilities:
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
test esi, esi
je 0x7cdb00b0
push 2
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x7cdb00bf
push 0x10
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_IsBadWritePtr]
test eax, eax
je 0x7cdb00c9
mov eax, 0x80070057
jmp 0x7cdb020d
or ebx, 0xffffffff
mov dword [ebp - 8], 1
test esi, esi
je 0x7cdb0132
and dword [ebp - 4], 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, ebx
je 0x7cdb00f2
test ah, 4
je 0x7cdb00f2
mov dword [ebp - 4], 0x100000
push 0
push dword [ebp - 4]
push 3
pop edi
push edi
push 0
push edi
push 0x80000100
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileW]
call esi
mov ebx, eax
or eax, 0xffffffff
cmp ebx, eax
jne 0x7cdb0141
xor eax, eax
push eax
mov dword [ebp - 8], eax
push dword [ebp - 4]
push edi
push eax
push edi
push 0x80000000
push dword [ebp + 8]
call esi
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x7cdb013e
mov dword [ebp - 4], 0x800401ea
jmp 0x7cdb01ec
or eax, 0xffffffff
cmp dword [ebp - 8], 0
je 0x7cdb0176
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
and dword [ebp - 0x14], 0
push 4
lea eax, [ebp - 0x34]
push 0x28
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
call dword [sym.imp.ntdll.dll_NtSetInformationFile]
mov esi, dword [ebp + 0xc]
push esi
push ebx
call fcn.7ce08a81
test eax, eax
mov dword [ebp - 4], eax
jne 0x7cdb0195
push 0x10
mov edi, 0x7cd84458
pop ecx
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x7cdb01ec
mov esi, dword [ebp + 0x10]
push 0x10
pop ecx
mov edi, 0x7cd84458
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x7cdb01b5
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
and dword [ebp - 4], eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
jmp 0x7cdb01ec
push dword [ebp + 0xc]
push ebx
call fcn.7cdb8d8c
cmp eax, 0x80040154
mov dword [ebp - 4], eax
jne 0x7cdb01ec
push dword [ebp + 8]
and dword [ebp - 4], 0
call fcn.7cdb4e0a
test eax, eax
je 0x7cdb01e5
push dword [ebp + 0xc]
push eax
call fcn.7cdb8cae
test eax, eax
je 0x7cdb01ec
mov dword [ebp - 4], 0x800401e6
cmp ebx, 0xffffffff
je 0x7cdb01f8
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 4], 0
je 0x7cdb020a
mov edi, dword [ebp + 0xc]
mov esi, 0x7cd84458
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x7cdb10d5
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
xor edi, edi
mov dword [ebp - 4], ecx
push ebx
mov dword [esi], edi
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
push ebx
je 0x7cdb10ff
call dword [sym.imp.USER32.dll_GetClipboardData]
jmp 0x7cdb1125
call fcn.7cda4e36
test eax, eax
je 0x7cdb1129
mov ecx, dword [ebp - 4]
lea eax, [ebp - 0x10]
push eax
push ebx
mov dword [ebp - 0x10], 1
call fcn.7cdfb77c
mov edi, eax
test edi, edi
jne 0x7cdb112e
mov eax, dword [ebp - 0xc]
mov dword [esi], eax
jmp 0x7cdb112e
mov edi, 0x80040064
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x7cdb154b
Capabilities:
Parse credit card information

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
xor edi, edi
mov ecx, esi
xor edx, edx
mov ax, word [ecx]
cmp ax, 0x5c
je 0x7cdb15e8
test ax, ax
je 0x7cdb15e8
cmp ax, 0x2e
jne 0x7cdb1590
test edx, edx
jne 0x7cdb1589
mov eax, ecx
sub eax, esi
sar eax, 1
cmp eax, 8
ja 0x7cdb1589
cmp ecx, esi
jne 0x7cdb158c
cmp word [ecx + 2], 0x5c
je 0x7cdb158c
push 1
pop edi
mov edx, ecx
jmp 0x7cdb15e1
cmp ax, 0x20
jbe 0x7cdb15de
cmp ax, 0x2a
je 0x7cdb15de
cmp ax, 0x2b
je 0x7cdb15de
cmp ax, 0x2c
je 0x7cdb15de
cmp ax, 0x3a
je 0x7cdb15de
cmp ax, 0x3b
je 0x7cdb15de
cmp ax, 0x3c
je 0x7cdb15de
cmp ax, 0x3d
je 0x7cdb15de
cmp ax, 0x3e
je 0x7cdb15de
cmp ax, 0x3f
je 0x7cdb15de
cmp ax, 0x5b
je 0x7cdb15de
cmp ax, 0x5d
je 0x7cdb15de
cmp ax, 0x7c
jne 0x7cdb15e1
push 1
pop edi
inc ecx
inc ecx
jmp 0x7cdb1557
mov eax, dword [esp + 0x10]
mov dword [eax], ecx
mov eax, ecx
sub eax, esi
test eax, 0xfffffffe
jle 0x7cdb1622
test edi, edi
jne 0x7cdb1622
test edx, edx
jne 0x7cdb160e
mov esi, eax
sar esi, 1
cmp esi, 8
jbe 0x7cdb161e
test edx, edx
je 0x7cdb1622
sub ecx, edx
sar ecx, 1
cmp ecx, 4
ja 0x7cdb1622
sar eax, 1
cmp eax, 0xc
ja 0x7cdb1622
xor eax, eax
jmp 0x7cdb1625
push 1
pop eax
pop edi
pop esi
ret 8

Function at 0x7cdb2444
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
and dword [eax], 0
mov eax, dword [ebp + 0x14]
mov edi, dword [ebp + 8]
mov dword [ebp - 4], 0x800401e4
and dword [eax], 0
movzx eax, word [ebp + 0xc]
lea esi, [edi + eax*2]
cmp esi, edi
jbe 0x7cdb24e0
cmp dword [ebp - 4], 0x800401e4
jne 0x7cdb24e0
mov bx, word [esi]
cmp bx, 0x5c
je 0x7cdb24a1
cmp bx, 0x2f
je 0x7cdb24a1
cmp bx, 0x3a
je 0x7cdb24a1
cmp bx, 0x21
je 0x7cdb24a1
cmp bx, 0x5b
je 0x7cdb24a1
cmp bx, 0x23
je 0x7cdb24a1
test bx, bx
jne 0x7cdb24dc
and word [esi], 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x7cdb24d9
test al, 0x10
je 0x7cdb24be
mov dword [ebp - 4], 0x800401ea
jmp 0x7cdb24d9
push dword [ebp + 0x14]
push edi
call sym.ole32.dll_CreateFileMoniker
test eax, eax
mov dword [ebp - 4], eax
jl 0x7cdb24d9
mov ecx, dword [ebp + 0x10]
mov eax, esi
sub eax, edi
sar eax, 1
mov dword [ecx], eax
mov word [esi], bx
dec esi
dec esi
jmp 0x7cdb2468
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x7cdb6990
Capabilities:
Encode data using base64

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
mov esi, dword [esp + 0x10]
xor edx, edx
push edi
xor ecx, ecx
shl edx, 8
cmp cx, si
jge 0x7cdb69ac
movzx edi, byte [eax]
add edx, edi
inc ecx
inc eax
cmp cx, 3
jl 0x7cdb699f
xor ecx, ecx
mov al, dl
and al, 0x3f
jne 0x7cdb69db
cmp si, 2
jne 0x7cdb69c7
test cx, cx
je 0x7cdb69d2
cmp si, 1
jne 0x7cdb69d6
cmp cx, si
jg 0x7cdb69d6
push 0x3d
jmp 0x7cdb69d8
push 0x41
pop eax
jmp 0x7cdb69e6
movzx eax, al
mov ax, word [eax*2 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_Interface_]
movsx edi, cx
push 3
pop ebx
sub ebx, edi
mov edi, dword [esp + 0x18]
shr edx, 6
inc ecx
mov word [edi + ebx*2], ax
cmp cx, 4
jl 0x7cdb69b6
lea eax, [esi + 1]
pop edi
pop esi
pop ebx
ret 0xc

Function at 0x7cdb8a8f
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
lea eax, [ebp - 8]
push ebx
push eax
mov dword [ebp - 0xc], 0x200
push dword [ebp + 8]
call fcn.7cdb8fa8
xor ebx, ebx
mov dword [ebp - 4], eax
cmp eax, ebx
jl 0x7cdb8b88
push edi
lea eax, [ebp + 8]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, 0x20019
push eax
push edi
push ebx
push 0x7cd725b0
push dword [ebp - 8]
call esi
cmp eax, ebx
jne 0x7cdb8b0c
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x10]
push eax
push ebx
push ebx
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, ebx
jne 0x7cdb8b74
push dword [ebp + 0xc]
lea eax, [ebp - 0x220]
push eax
call fcn.7cda2a17
mov dword [ebp - 4], eax
jmp 0x7cdb8b74
lea eax, [ebp + 8]
push eax
push edi
push ebx
push 0x7cd72590
push dword [ebp - 8]
call esi
cmp eax, ebx
jne 0x7cdb8b7d
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x10]
push eax
push ebx
push ebx
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, ebx
jne 0x7cdb8b74
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x220]
push eax
call fcn.7cda2a17
cmp eax, ebx
mov dword [ebp - 4], eax
jl 0x7cdb8b74
push 0x10
mov eax, 0x7cd82da0
pop ecx
lea edi, [ebp - 0x20]
mov esi, eax
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x7cdb8b74
mov edi, dword [ebp + 0xc]
mov esi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 4], ebx
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop edi
mov eax, dword [ebp - 4]
pop ebx
leave
ret 8
Function at 0x7cdb8b90
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
lea eax, [ebp - 4]
push edi
push eax
mov dword [ebp - 8], 0x200
push dword [ebp + 8]
call fcn.7cdb8fa8
mov edi, eax
test edi, edi
jl 0x7cdb8c18
lea eax, [ebp + 8]
push ebx
push eax
push 0x20019
push 0
push 0x7cd725d4
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, 0x80040150
test eax, eax
jne 0x7cdb8c12
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x7cdb8c0d
push dword [ebp + 0xc]
lea eax, [ebp - 0x20c]
push eax
call fcn.7cda2a17
mov edi, eax
push dword [ebp + 8]
call ebx
push dword [ebp - 4]
call ebx
pop ebx
mov eax, edi
pop edi
leave
ret 8

Function at 0x7cdb8c1f
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
lea eax, [ebp - 4]
push edi
push eax
mov dword [ebp - 8], 0x200
push dword [ebp + 8]
call fcn.7cdb8fa8
mov edi, eax
test edi, edi
jl 0x7cdb8ca7
lea eax, [ebp + 8]
push ebx
push eax
push 0x20019
push 0
push 0x7cd72600
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, 0x80040150
test eax, eax
jne 0x7cdb8ca1
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x7cdb8c9c
push dword [ebp + 0xc]
lea eax, [ebp - 0x20c]
push eax
call fcn.7cda2a17
mov edi, eax
push dword [ebp + 8]
call ebx
push dword [ebp - 4]
call ebx
pop ebx
mov eax, edi
pop edi
leave
ret 8