joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6608b55b
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
lea eax, [ebp - 0x220]
push dword [esi + 8]
push dword [esi + 4]
push 0x6601be00
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
add esp, 0x10
mov edi, dword [ebp - 4]
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x220]
push eax
push SysReAllocStringLen
call ebx
test eax, eax
je 0x6608b5af
test eax, eax
mov dword [ebp - 4], edi
jne 0x6608b714
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x104
push eax
lea eax, [ebp - 0x120]
push eax
push 0x6601bdb0
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
test eax, eax
jne 0x6608b70b
lea eax, [ebp - 0x120]
shr eax, 0x10
test ax, ax
je 0x6608b65c
lea edi, [ebp - 0x120]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [ecx + ecx + 2]
add eax, 3
and al, 0xfc
call fcn.660300d8
lea ecx, [ebp - 0x120]
mov eax, esp
push ecx
push eax
call fcn.660035e5
lea ecx, [ebp - 0x1c]
push ecx
push eax
call dword [sym.imp.ole32.dll_CLSIDFromString]
test eax, eax
jl 0x6608b70b
push 0x10
lea edi, [esi + 0x10]
pop ecx
lea esi, [ebp - 0x1c]
xor eax, eax
mov dword [ebp - 0xc], edi
repe cmpsb byte [esi], byte es:[edi]
jne 0x6608b70b
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 8]
cmp dword [eax + 0x44], 0
jne 0x6608b664
xor eax, eax
lea esp, [ebp - 0x22c]
pop edi
pop esi
pop ebx
leave
ret 4
lea eax, [ebp - 0x120]
jmp 0x6608b612
mov esi, 0x660583f0
lea eax, [ebp - 0x220]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
push esi
call edi
mov ecx, 0x100
sub ecx, eax
push ecx
push esi
call edi
lea eax, [ebp + eax - 0x220]
push eax
push dword [ebp - 0xc]
call fcn.6601bc33
mov esi, dword [ebp - 4]
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x220]
push eax
push SysReAllocStringLen
call ebx
test eax, eax
je 0x6608b6bb
test eax, eax
mov dword [ebp - 4], esi
jne 0x6608b714
mov ecx, dword [ebp + 8]
mov eax, 0x6601bde0
cmp dword [ecx + 0x48], 0
je 0x6608b6ce
mov eax, 0x660583d0
lea ecx, [ebp - 8]
mov dword [ebp - 8], 0x104
push ecx
lea ecx, [ebp - 0x120]
push ecx
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
test eax, eax
jne 0x6608b706
cmp dword [ebp - 8], eax
sete al
mov esi, eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x6608b64f
push 1
pop esi
jmp 0x6608b6f6
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 1
pop eax
jmp 0x6608b64f
Function at 0x6608c098
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
or dword [ebp - 4], 0xffffffff
or dword [ebp - 8], 0xffffffff
push ebx
push esi
push edi
lea eax, [ebp - 0x30]
push 0x27
push eax
push 0x6604f3f8
call fcn.6601bc33
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x130]
push 0x6604fd5c
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov esi, dword [ebp - 4]
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x130]
push eax
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x6608c0f5
mov dword [ebp - 4], esi
test eax, eax
mov edi, eax
jne 0x6608c178
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, 0x660502ec
push edi
call esi
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueA]
push eax
push edi
push 1
push 0
push dword [ebp - 4]
call ebx
mov edi, eax
test edi, edi
jne 0x6608c178
mov edi, dword [ebp - 8]
lea eax, [ebp - 8]
push eax
push 0x660502dc
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x6608c13c
mov dword [ebp - 8], edi
test eax, eax
mov edi, eax
jne 0x6608c178
push dword [ebp + 8]
call esi
push eax
push dword [ebp + 8]
push 1
push edi
push dword [ebp - 8]
call ebx
mov edi, eax
test edi, edi
jne 0x6608c178
mov edi, 0x66058450
push edi
call esi
inc eax
push eax
push edi
push 1
push 0
push 0x66058470
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edi, eax
push dword [ebp - 8]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 4]
call esi
push edi
call fcn.6607283f
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x6608c8c1
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x150
push esi
lea eax, [ebp - 4]
push edi
mov edi, dword [ebp - 4]
push eax
push 0x6608c8b8
push SysReAllocStringLen
xor esi, esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x6608c8f8
test eax, eax
mov dword [ebp - 4], edi
je 0x6608c8f8
xor eax, eax
pop edi
pop esi
leave
ret 4
push dword [ebp + 8]
lea eax, [ebp - 0x88]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x150]
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.6608c965
lea eax, [ebp - 8]
mov dword [ebp - 8], 0xc8
push eax
lea eax, [ebp - 0x150]
push eax
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
test eax, eax
jne 0x6608c958
lea eax, [ebp - 0x150]
push eax
lea eax, [ebp - 0x88]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
mov esi, eax
neg esi
sbb esi, esi
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x6608c8f2
Function at 0x6608c965
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
or ecx, 0xffffffff
xor eax, eax
mov ebx, dword [ebp + 0xc]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push ebx
mov eax, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.660ef296
cmp byte [ebx], 0
pop ecx
mov edx, ebx
je 0x6608c9a7
inc edx
cmp byte [edx], 0
jne 0x6608c9a1
mov ecx, dword [ebp + 8]
dec edx
mov dword [ebp + 0xc], edx
mov edi, ecx
cmp byte [ecx], 0
je 0x6608c9bb
inc edi
cmp byte [edi], 0
jne 0x6608c9b5
dec edi
mov eax, ecx
cmp ecx, edi
jae 0x6608c9dd
mov esi, ebx
sub esi, ecx
mov cl, byte [eax]
xor byte [eax + esi], cl
movsx ecx, byte [eax + esi]
add dword [ebp - 4], ecx
inc eax
cmp eax, edi
jb 0x6608c9c6
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
cmp ebx, edx
mov eax, ebx
jae 0x6608c9e9
inc eax
dec edx
cmp eax, edx
jb 0x6608c9e3
push 0xa
lea edi, [eax - 1]
mov eax, dword [ebp - 4]
xor edx, edx
pop esi
div esi
mov eax, ecx
mov esi, ebx
add dl, 0x61
cmp ebx, edi
ja 0x6608ca1a
mov cl, byte [esi]
and cl, 0xf
add cl, dl
mov byte [eax], cl
mov cl, byte [esi]
sar cl, 4
inc eax
add cl, dl
mov byte [eax], cl
inc eax
inc esi
cmp esi, edi
jbe 0x6608ca01
and byte [eax], 0
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x6609003f
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc ebp
movsd dword es:[edi], dword [esi]
xor eax, 0x41a645c6
call fcn.6608fc4f
push eax
push esi
push dword [ebp + 8]
call fcn.6608fc04
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.6608fc4f
push eax
push esi
push dword [ebp + 8]
call fcn.6608fc04
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.6608fc3f
mul dword [ebx]
test byte [eax - 0x78], ch
popfd
jl 0x660900c4
invalid
invalid
Function at 0x66091ccf
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov dword [ebp - 0x37c], eax
cmp dword [ebp - 0x37c], 0
je 0x66091ce0
jmp 0x66091ce5
jmp fcn.660915e1
cmp dword [ebp - 0x37c], 0
jne 0x66091d8f
mov eax, dword [ebp - 0x748]
mov dword [ebp - 0x7ec], eax
mov eax, dword [ebp - 0x38c]
mov dword [ebp - 0x7e8], eax
and dword [ebp - 0x7e0], 0
add byte [eax], ch
adc byte [eax], al
add byte [edx + 8], ch
lea eax, [ebp - 0x714]
push eax
call fcn.6608fc4f
pop ecx
push eax
push dword [ebp - 0x7e0]
call fcn.6608fce4
pop ecx
pop ecx
mov dword [ebp - 0x37c], eax
push dword [ebp - 0x7e4]
push 1
push dword [ebp - 0x674]
call dword [ebp - 0x39c]
push dword [ebp + 0x1c]
push dword [ebp - 0xc]
push dword [ebp - 0x540]
push dword [ebp - 0x684]
push dword [ebp - 0x688]
push dword [ebp - 0x3ac]
push dword [ebp - 0x400]
push dword [ebp - 0x54c]
push dword [ebp - 0x678]
lea eax, [ebp - 0x334]
push eax
push dword [ebp - 4]
push dword [ebp + 8]
call dword [ebp - 0x37c]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x660954f0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x6610fa1c]
and dword [ebp - 4], 0
and ax, 0x3ff
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_SetKeyboardState]
cmp ax, 0x11
push edi
jne 0x660955a9
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
mov bl, byte [ebp - 0x10b]
and byte [ebp - 0x10b], 0xfe
lea eax, [ebp - 0x120]
push eax
call esi
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_TranslateMessage]
mov eax, dword [0x6610fa1c]
and ax, 0x3ff
cmp ax, 0x11
jne 0x66095564
lea eax, [ebp - 0x120]
mov byte [ebp - 0x10b], bl
push eax
call esi
mov eax, 0x106
mov esi, dword [sym.imp.USER32.dll_PeekMessageA]
push 3
push eax
push eax
lea eax, [ebp - 0x20]
push dword [edi]
push eax
call esi
test eax, eax
je 0x6609558e
mov eax, dword [ebp + 0xc]
mov cl, byte [ebp - 0x18]
mov dword [ebp - 4], 1
mov byte [eax], cl
mov eax, 0x107
push 3
push eax
push eax
push dword [edi]
lea eax, [ebp - 0x20]
push eax
call esi
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 8
mov bl, byte [ebp + 8]
jmp 0x6609553c
Function at 0x6609e78c
Capabilities:
Delete file

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
lea edi, [esi - 4]
mov dword [edi], 0x66051dd8
mov dword [esi], 0x66051dc0
mov dword [esi + 4], 0x66051d98
mov dword [esi + 0xc], 0x66051d68
mov dword [esi + 0x10], 0x66051d58
mov eax, dword [esi + 0x4c]
test eax, eax
je 0x6609e7c6
mov ecx, dword [eax]
and dword [esi + 0x4c], 0
push eax
call dword [ecx + 8]
mov eax, dword [esi + 0x1c]
mov ebx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
test eax, eax
je 0x6609e7d6
push eax
call ebx
mov eax, dword [esi + 0x20]
test eax, eax
je 0x6609e7e0
push eax
call ebx
mov eax, dword [esi + 0x28]
test eax, eax
je 0x6609e7ea
push eax
call ebx
mov eax, dword [esi + 0x44]
test eax, eax
je 0x6609e7f7
push eax
call fcn.6602ecb3
cmp dword [esi + 0x58], 0
jne 0x6609e80b
mov eax, dword [esi + 0x40]
test eax, eax
je 0x6609e80b
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [esi + 0x40]
test eax, eax
je 0x6609e821
push eax
push 0
push dword [0x6610f6c0]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov ecx, edi
call fcn.6609eba9
neg edi
sbb edi, edi
and edi, esi
mov dword [edi], 0x660504d0
mov dword [edi + 4], 0x660504a8
pop edi
pop esi
pop ebx
ret
Function at 0x660add44
Capabilities:
Get graphical window text

Disassembly:
push ecx
push ecx
push ebx
push ebp
push esi
push edi
xor ebp, ebp
push 0x400
push ebp
mov dword [esp + 0x18], ebp
push dword [0x6610f6c0]
mov dword [esp + 0x20], ebp
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
cmp edi, ebp
je 0x660ade41
mov ebx, dword [sym.imp.USER32.dll_GetWindow]
push ebp
push dword [esp + 0x20]
call ebx
mov esi, eax
mov eax, dword [esp + 0x10]
cmp esi, ebp
je 0x660adddf
cmp eax, ebp
je 0x660add91
cmp dword [esp + 0x14], ebp
jne 0x660adddf
push ebp
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp esi, dword [esp + 0x1c]
je 0x660addda
cmp eax, dword [0x66111c08]
jne 0x660addda
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x660addda
cmp dword [esp + 0x14], ebp
jne 0x660addc7
push esi
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x660addc7
mov dword [esp + 0x14], esi
cmp dword [esp + 0x10], ebp
jne 0x660addda
push 4
push esi
call ebx
test eax, eax
jne 0x660addda
mov dword [esp + 0x10], esi
push 2
push esi
jmp 0x660add7b
cmp eax, ebp
je 0x660ade33
mov ecx, dword [esp + 0x14]
cmp ecx, ebp
mov dword [0x66111c0c], ecx
jne 0x660addf6
mov dword [0x66111c0c], eax
lea esi, [edi + 0x200]
push 0x50
push esi
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov eax, dword [0x66111c10]
push 0x200
neg eax
push edi
push ebp
sbb eax, eax
push ebp
add eax, 0xea64
push esi
push eax
call fcn.66072c1c
push edi
push 0x1454
push dword [esp + 0x24]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
push edi
push ebp
push dword [0x6610f6c0]
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
pop ecx
ret 4

Function at 0x660ade4a
Capabilities:
Create process on windows

Disassembly:
push dword [0x66111c0c]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x660ade8e
xor eax, eax
push 3
push eax
push eax
push eax
push eax
push eax
push dword [0x66111c0c]
call dword [sym.imp.USER32.dll_SetWindowPos]
push dword [0x66111c0c]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x660ade9b
push 9
push dword [0x66111c0c]
call dword [sym.imp.USER32.dll_ShowWindow]
ret
push 5
push 0x660531a4
call dword [sym.imp.KERNEL32.dll_WinExec]
ret

Function at 0x660af805
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [esi + 0x1c]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x660af837
push dword [ebp + 0xc]
push 0x146
call fcn.660af7c6
pop edi
pop esi
pop ebx
pop ebp
ret 0x14
push edi
push dword [esi + 0x1c]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp + 0xc], eax
jne 0x660af84d
push 7
pop eax
jmp 0x660af830
mov ebx, dword [ebp + 0x14]
test ebx, ebx
je 0x660af860
push edi
push dword [esi + 0x1c]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebx], eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
neg eax
sbb eax, eax
and al, 0xf9
add eax, 7
jmp 0x660af830
Function at 0x660b55bb
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x100
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov ecx, dword [eax]
dec ecx
dec ecx
je 0x660b55fb
mov si, word [eax + 8]
mov eax, dword [eax + 4]
cmp si, 1
mov dword [ebp + 8], eax
je 0x660b5600
cmp si, 0xbf00
je 0x660b5600
cmp si, 0xbf01
je 0x660b5600
mov esi, 0x800a01cc
mov edi, dword [ebp + 8]
jmp 0x660b5690
push 1
pop esi
jmp 0x660b55d4
call fcn.66014495
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x660b56d5
cmp si, 0xbf00
jne 0x660b56a2
mov eax, dword [0x6610f804]
movzx eax, ax
push eax
call dword [sym.imp.USER32.dll_GetClipboardData]
mov ebx, eax
test ebx, ebx
je 0x660b56c3
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edi, eax
cmp si, 0xbf00
push edi
jne 0x660b56b9
lea eax, [ebp - 0x100]
push eax
call fcn.660ca256
lea eax, [ebp - 0x100]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea eax, [ebp - 0x100]
push eax
call fcn.6601b768
push ebx
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov esi, edi
neg esi
sbb esi, esi
and esi, 0x7ff8fff2
add esi, 0x8007000e
call dword [sym.imp.USER32.dll_CloseClipboard]
test esi, esi
jl 0x660b5699
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4
mov eax, dword [0x6610f800]
cmp si, 0xbf01
je 0x660b5624
mov eax, esi
jmp 0x660b5624
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push edi
jmp 0x660b566a
lea eax, [ebp - 0x100]
push 0
push eax
call fcn.6601b768
mov edi, eax
jmp 0x660b5678
mov esi, 0x800a0209
jmp 0x660b55f3
Function at 0x660b5796
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ecx
mov eax, dword [esp + 8]
and dword [esp], 0
push ebx
push ebp
mov ecx, dword [eax]
push esi
dec ecx
push edi
cmp ecx, 1
jne 0x660b57d9
push ecx
pop edi
mov esi, dword [eax + 4]
cmp di, 1
je 0x660b57df
cmp di, 0xbf00
je 0x660b57df
cmp di, 0xbf01
je 0x660b57df
mov dword [esp + 0x10], 0x800a01cc
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 4
mov di, word [eax + 8]
jmp 0x660b57ae
call fcn.66014495
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x660b5890
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
inc eax
push eax
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x660b5886
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ebp, eax
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
cmp di, 0xbf00
jne 0x660b5831
push ebp
call fcn.660ca2ab
test eax, eax
jne 0x660b5862
and dword [esp + 0x10], eax
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
cmp dword [esp + 0x10], 0
jl 0x660b587d
cmp di, 0xbf00
jne 0x660b586e
mov edi, dword [0x6610f804]
movzx eax, di
push ebx
push eax
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x660b57cd
push eax
call fcn.6607266b
mov dword [esp + 0x10], eax
jmp 0x660b5831
cmp di, 0xbf01
jne 0x660b584c
mov edi, dword [0x6610f800]
jmp 0x660b584c
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x660b5857
mov dword [esp + 0x10], 0x8007000e
jmp 0x660b5857
mov dword [esp + 0x10], 0x800a0209
jmp 0x660b57cd

Function at 0x660b81c8
Capabilities:
Get graphical window text

Disassembly:
push ecx
mov ax, word [0x6610fa1c]
push ebx
push ebp
push esi
push edi
push 1
pop esi
push eax
mov dword [esp + 0x14], esi
call fcn.6600e9db
test eax, eax
je 0x660b81ee
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 4
mov ebx, dword [esp + 0x18]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
xor edi, edi
push edi
push edi
push 0xe
push dword [ebx + 0xe4]
call ebp
mov esi, eax
inc esi
push esi
push edi
push dword [0x6610f6c0]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
test edi, edi
je 0x660b81e6
push edi
push esi
push 0xd
push dword [ebx + 0xe4]
call ebp
push eax
push edi
call fcn.660876a2
test eax, eax
je 0x660b8239
and dword [esp + 0x10], 0
push edi
push 0
push dword [0x6610f6c0]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [esp + 0x10]
jmp 0x660b81e6
Function at 0x660b8ff6
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x254
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
mov eax, dword [esi + 0xd8]
mov dword [ebp - 4], edi
cmp eax, edi
jne 0x660b9019
mov eax, 0x66005020
push eax
lea eax, [ebp - 0x254]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x254]
push eax
call fcn.660bc3fc
lea eax, [ebp - 0x254]
push 0x66087280
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov ebx, dword [sym.imp.KERNEL32.dll_SetLastError]
push edi
call ebx
lea eax, [ebp - 0x14c]
push eax
lea eax, [ebp - 0x254]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp + 8], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
xor eax, eax
cmp dword [ebp + 8], 0xffffffff
push esi
sete al
mov dword [ebp - 0xc], eax
call fcn.660b8e56
mov eax, dword [esi + 0x28]
push edi
push edi
push 0xb
push dword [esi + 0x3c]
mov eax, dword [eax]
push esi
call dword [eax + 0x10]
mov eax, dword [esi + 0x28]
push edi
push edi
push 0x184
push dword [esi + 0x3c]
mov eax, dword [eax]
push esi
call dword [eax + 0x10]
cmp dword [ebp + 8], 0xffffffff
je 0x660b90f7
test byte [ebp - 0x14c], 0x10
je 0x660b90da
test byte [ebp - 0x14c], 2
jne 0x660b90da
cmp byte [ebp - 0x120], 0x2e
je 0x660b90da
lea eax, [ebp - 0x120]
push eax
push edi
push 0x180
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [ebp - 0x14c]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x660b90a9
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindClose]
push dword [ebp + 0xc]
push esi
call fcn.660b8f1e
test eax, eax
je 0x660b9150
push dword [ebp + 0xc]
push esi
call fcn.660b8e1d
mov eax, dword [esi + 0x28]
push edi
push 1
push 0xb
push dword [esi + 0x3c]
mov eax, dword [eax]
push esi
call dword [eax + 0x10]
push 1
push edi
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_InvalidateRect]
cmp dword [ebp - 0xc], edi
je 0x660b9146
mov eax, dword [ebp - 8]
dec eax
dec eax
je 0x660b9146
dec eax
je 0x660b9146
push dword [ebp - 8]
call ebx
call fcn.66072d39
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 8
mov dword [ebp - 4], 0x8007000e
jmp 0x660b910d

Function at 0x660ba44b
Capabilities:
Get disk information

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 1
jbe 0x660ba47f
cmp eax, 2
je 0x660ba47b
cmp eax, 4
je 0x660ba477
cmp eax, 5
je 0x660ba473
cmp eax, 6
jne 0x660ba484
push 7
pop eax
jmp 0x660ba481
push 5
jmp 0x660ba470
push 6
jmp 0x660ba470
push 3
jmp 0x660ba470
xor eax, eax
ret 4
push 4
jmp 0x660ba470
Function at 0x660bc46c
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
and dword [ebp - 4], 0
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_CharNextA]
push edi
mov edi, dword [ebp + 8]
push 1
mov dword [ebp - 8], edi
cmp byte [edi], 0
pop ebx
je 0x660bc521
push edi
call esi
cmp byte [eax], 0x3a
jne 0x660bc521
push dword [ebp + 0xc]
call esi
cmp byte [eax], 0x3a
jne 0x660bc52e
mov eax, dword [ebp + 0xc]
mov al, byte [eax]
cmp al, byte [edi]
jne 0x660bc52e
push edi
call esi
push eax
call esi
mov dword [ebp - 8], eax
test ebx, ebx
je 0x660bc64e
push dword [ebp + 0xc]
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [ebp - 8]
cmp byte [eax], 0x5c
lea eax, [ebp - 0x110]
push eax
jne 0x660bc532
call fcn.660bc433
and byte [eax], 0
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
lea eax, [ebp - 0x110]
push eax
call ebx
push dword [ebp - 8]
mov edx, eax
mov dword [ebp + 0xc], edx
call ebx
mov ecx, dword [ebp + 0xc]
add ecx, eax
cmp ecx, 0x104
jle 0x660bc539
mov eax, 0x800a017c
pop edi
pop esi
pop ebx
leave
ret 8
cmp byte [edi], 0x5c
jne 0x660bc4c0
push edi
call esi
cmp byte [eax], 0x5c
jne 0x660bc4c0
xor ebx, ebx
jmp 0x660bc4c0
call fcn.660bc3fc
jmp 0x660bc4ef
push dword [ebp - 8]
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x110]
push eax
call esi
cmp byte [eax], 0x3a
jne 0x660bc5cb
mov al, byte [ebp - 0x110]
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
and byte [ebp + 0xf], 0
xor ebx, ebx
push ebx
push ebx
mov byte [ebp + 0xc], al
mov byte [ebp + 0xd], 0x3a
mov byte [ebp + 0xe], 0x5c
call esi
mov edi, eax
push edi
push ebx
push dword [0x6610f6c0]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
push ebx
push edi
call esi
dec edi
cmp eax, edi
je 0x660bc59f
push 0x660538e4
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov esi, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
lea eax, [ebp + 0xc]
push eax
call esi
test eax, eax
jne 0x660bc5b6
mov dword [ebp - 4], 0x800a0044
push ebx
call esi
push ebx
push 0
push dword [0x6610f6c0]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov edi, dword [ebp + 8]
cmp dword [ebp - 4], 0
jl 0x660bc646
lea eax, [ebp - 0x110]
push 0x105
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.6606ff57
add esp, 0xc
test eax, eax
je 0x660bc663
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
lea eax, [ebp + esi - 0x218]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.USER32.dll_CharPrevA]
cmp esi, 3
jbe 0x660bc638
cmp byte [eax], 0x5c
jne 0x660bc621
and byte [eax], 0
lea eax, [ebp - 0x218]
push eax
call fcn.660749fc
test eax, eax
jne 0x660bc638
mov dword [ebp - 4], 0x800a004c
lea eax, [ebp - 0x218]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [ebp - 4]
jmp 0x660bc51a
push dword [ebp - 8]
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
jmp 0x660bc549
mov dword [ebp - 4], 0x800a004c
jmp 0x660bc646