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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7295b3a8
push 0x72a2bcb9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ecx
sub esp, 0x25c
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
xor esi, esi
mov dword [ebp - 0x16c], esi
push 0x72969720
lea eax, [ebp - 0x26c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0xfa
lea eax, [ebp - 0x266]
push eax
mov ebx, dword [ebp + 8]
lea eax, [ebx + 0x64]
push eax
call fcn.729b158c
push 0x72969ea0
lea eax, [ebp - 0x26c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x1c]
push eax
push 0x20019
push esi
lea eax, [ebp - 0x26c]
push eax
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov edi, eax
cmp edi, esi
jne 0x729b762e
mov dword [ebp - 0x24], 1
mov dword [ebp - 0x164], 0x104
lea eax, [ebp - 0x164]
push eax
lea eax, [ebp - 0x12c]
push eax
lea eax, [ebp - 0x24]
push eax
push esi
push esi
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edi, eax
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp edi, esi
je 0x729b7645
push edi
call fcn.72991738
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret 0xc
mov dword [ebp - 0x158], esi
mov dword [ebp - 4], esi
push 8
push esi
lea eax, [ebp - 0x12c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov dword [ebp - 0x16c], eax
cmp eax, esi
jne 0x729b7671
or dword [ebp - 4], 0xffffffff
push 0x30
pop eax
jmp 0x729b7634
mov dword [ebp - 0x160], 0x34
xor eax, eax
cmp dword [ebx + 0x48], esi
sete al
inc eax
mov dword [ebp - 0x15c], eax
push dword [ebp + 0xc]
call fcn.729b1417
mov dword [ebp - 0x158], eax
lea esi, [ebx + 0x10]
lea edi, [ebp - 0x154]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [ebx + 0x30]
lea edi, [ebp - 0x144]
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 ax, word [ebx + 0x58]
mov word [ebp - 0x134], ax
mov ax, word [ebx + 0x5a]
mov word [ebp - 0x132], ax
mov eax, dword [ebx + 0x78]
mov dword [ebp - 0x130], eax
cmp dword [ebp + 0x10], 0
mov eax, 0x72969e8c
jne 0x729b76e1
mov eax, 0x72969e74
push eax
push dword [ebp - 0x16c]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x28], eax
test eax, eax
je 0x729b7762
lea ecx, [ebp - 0x160]
push ecx
call eax
mov dword [ebp - 0x274], eax
test eax, eax
jl 0x729b7743
xor eax, eax
mov dword [ebp - 0x20], eax
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x16c], 0
je 0x729b7726
push dword [ebp - 0x16c]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [ebp - 0x158], 0
je 0x729b773b
push dword [ebp - 0x158]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0x20]
jmp 0x729b7634
push eax
call fcn.7299148f
jmp 0x729b770a
mov dword [ebp - 0x20], 0x30
jmp 0x729b770d
Function at 0x729b776b
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 0x72968d80
call fcn.729b158c
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x130]
push 0x72969714
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 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x729b77c8
mov dword [ebp - 4], esi
test eax, eax
mov edi, eax
jne 0x729b784b
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, 0x72969ec0
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 0x729b784b
mov edi, dword [ebp - 8]
lea eax, [ebp - 8]
push eax
push 0x72969eb0
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x729b780f
mov dword [ebp - 8], edi
test eax, eax
mov edi, eax
jne 0x729b784b
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 0x729b784b
mov edi, 0x72974a90
push edi
call esi
inc eax
push eax
push edi
push 1
push 0
push 0x72974ab0
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.72991722
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x729b8a81
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 0x729b8a78
push 0x80000000
xor esi, esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x729b8ab8
test eax, eax
mov dword [ebp - 4], edi
je 0x729b8ab8
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.729b8b25
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 0x729b8b18
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 0x729b8ab2

Function at 0x729b8b25
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.72a2c0a2
cmp byte [ebx], 0
pop ecx
mov edx, ebx
je 0x729b8b67
inc edx
cmp byte [edx], 0
jne 0x729b8b61
mov ecx, dword [ebp + 8]
dec edx
mov dword [ebp + 0xc], edx
mov edi, ecx
cmp byte [ecx], 0
je 0x729b8b7b
inc edi
cmp byte [edi], 0
jne 0x729b8b75
dec edi
mov eax, ecx
cmp ecx, edi
jae 0x729b8b9d
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 0x729b8b86
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
cmp ebx, edx
mov eax, ebx
jae 0x729b8ba9
inc eax
dec edx
cmp eax, edx
jb 0x729b8ba3
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 0x729b8bda
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 0x729b8bc1
and byte [eax], 0
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x729bc4e1
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 8]
xor eax, eax
mov edx, ecx
dec ecx
test edx, edx
je 0x729bc504
lea edx, [ecx + 1]
mov ecx, dword [esp + 4]
push esi
movzx esi, word [ecx]
rol eax, 0xd
xor eax, esi
inc ecx
inc ecx
dec edx
jne 0x729bc4f6
pop esi
ret 8
Function at 0x729c4aac
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x72a4eadc]
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 0x729c4b65
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 [0x72a4eadc]
and ax, 0x3ff
cmp ax, 0x11
jne 0x729c4b20
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 0x729c4b4a
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 0x729c4af8

Function at 0x729cdf18
Capabilities:
Delete file

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
lea edi, [esi - 4]
mov dword [edi], 0x7296bb78
mov dword [esi], 0x7296bb60
mov dword [esi + 4], 0x7296bb38
mov dword [esi + 0xc], 0x7296bb08
mov dword [esi + 0x10], 0x7296baf8
mov eax, dword [esi + 0x4c]
test eax, eax
je 0x729cdf52
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 0x729cdf62
push eax
call ebx
mov eax, dword [esi + 0x20]
test eax, eax
je 0x729cdf6c
push eax
call ebx
mov eax, dword [esi + 0x28]
test eax, eax
je 0x729cdf76
push eax
call ebx
mov eax, dword [esi + 0x44]
test eax, eax
je 0x729cdf83
push eax
call fcn.729940fe
cmp dword [esi + 0x58], 0
jne 0x729cdf97
mov eax, dword [esi + 0x40]
test eax, eax
je 0x729cdf97
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [esi + 0x40]
test eax, eax
je 0x729cdfad
push eax
push 0
push dword [0x72a4e7cc]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov ecx, edi
call fcn.729ce335
neg edi
sbb edi, edi
and edi, esi
mov dword [edi], case.0x72961e59.4
mov dword [edi + 4], 0x7296a120
pop edi
pop esi
pop ebx
ret
Function at 0x729de25c
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 [0x72a4e7cc]
mov dword [esp + 0x20], ebp
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
cmp edi, ebp
je 0x729de359
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 0x729de2f7
cmp eax, ebp
je 0x729de2a9
cmp dword [esp + 0x14], ebp
jne 0x729de2f7
push ebp
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp esi, dword [esp + 0x1c]
je 0x729de2f2
cmp eax, dword [0x72a50b08]
jne 0x729de2f2
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x729de2f2
cmp dword [esp + 0x14], ebp
jne 0x729de2df
push esi
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x729de2df
mov dword [esp + 0x14], esi
cmp dword [esp + 0x10], ebp
jne 0x729de2f2
push 4
push esi
call ebx
test eax, eax
jne 0x729de2f2
mov dword [esp + 0x10], esi
push 2
push esi
jmp 0x729de293
cmp eax, ebp
je 0x729de34b
mov ecx, dword [esp + 0x14]
cmp ecx, ebp
mov dword [0x72a50b0c], ecx
jne 0x729de30e
mov dword [0x72a50b0c], eax
lea esi, [edi + 0x200]
push 0x50
push esi
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov eax, dword [0x72a50b10]
push 0x200
neg eax
push edi
push ebp
sbb eax, eax
push ebp
add eax, 0xea64
push esi
push eax
call fcn.729459e8
push edi
push 0x1454
push dword [esp + 0x24]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
push edi
push ebp
push dword [0x72a4e7cc]
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
pop ecx
ret 4
Function at 0x729de362
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push ebx
push esi
push edi
push dword [0x72a50b0c]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x729de3b6
xor eax, eax
push 3
push eax
push eax
push eax
push eax
push eax
push dword [0x72a50b0c]
call dword [sym.imp.USER32.dll_SetWindowPos]
push dword [0x72a50b0c]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x729de3b1
push 9
push dword [0x72a50b0c]
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebx
leave
ret
lea eax, [ebp - 0x108]
push 0x105
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov esi, eax
test esi, esi
jle 0x729de3b1
mov edi, 0x7296cf48
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea eax, [eax + esi + 1]
mov ebx, 0x104
cmp eax, ebx
jg 0x729de3b1
cmp byte [ebp + esi - 0x109], 0x5c
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
je 0x729de405
lea eax, [ebp - 0x108]
push 0x7295b236
push eax
call esi
lea eax, [ebp - 0x108]
push edi
push eax
call esi
mov cl, byte [ebp - 0x108]
lea eax, [ebp - 0x108]
test cl, cl
je 0x729de42a
cmp cl, 0x20
je 0x729de42a
mov cl, byte [eax + 1]
inc eax
jmp 0x729de41b
cmp byte [eax], 0x20
jne 0x729de4bc
cmp dword [0x72a4e7e8], 0
je 0x729de475
lea eax, [ebp - 0x210]
push ebx
push eax
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
test eax, eax
jle 0x729de3b1
cmp eax, ebx
jg 0x729de3b1
push 5
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
jmp 0x729de3b1
lea edi, [ebp - 0x108]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
inc ecx
cmp ecx, ebx
ja 0x729de3b1
mov edi, 0x7296cf44
lea eax, [ebp - 0x210]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x210]
push eax
call esi
lea eax, [ebp - 0x210]
push edi
push eax
call esi
jmp 0x729de461
push 5
lea eax, [ebp - 0x108]
jmp 0x729de469

Function at 0x729dfe36
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov esi, dword [ebp + 8]
push eax
push dword [ebp + 0xc]
push dword [ebp + 0x10]
push dword [esi + 0x1c]
call dword [sym.imp.KERNEL32.dll_FindResourceExA]
mov edi, eax
test edi, edi
jne 0x729dfe84
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 0x729dfe84
push dword [ebp + 0xc]
push 0x146
call fcn.729dfdf7
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 0x729dfe9a
push 7
pop eax
jmp 0x729dfe7d
mov ebx, dword [ebp + 0x14]
test ebx, ebx
je 0x729dfead
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 0x729dfe7d
Function at 0x729e6b29
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 0x729e6b69
mov si, word [eax + 8]
mov eax, dword [eax + 4]
cmp si, 1
mov dword [ebp + 8], eax
je 0x729e6b6e
cmp si, 0xbf00
je 0x729e6b6e
cmp si, 0xbf01
je 0x729e6b6e
mov esi, 0x800a01cc
mov edi, dword [ebp + 8]
jmp 0x729e6c03
push 1
pop esi
jmp 0x729e6b42
call fcn.7294a0ba
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x729e6c48
cmp si, 0xbf00
jne 0x729e6c15
mov eax, dword [0x72a4e8c4]
movzx eax, ax
push eax
call dword [sym.imp.USER32.dll_GetClipboardData]
mov ebx, eax
test ebx, ebx
je 0x729e6c36
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edi, eax
cmp si, 0xbf00
push edi
jne 0x729e6c2c
lea eax, [ebp - 0x100]
push 0x100
push eax
call fcn.729fcc6a
lea eax, [ebp - 0x100]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea eax, [ebp - 0x100]
push eax
call fcn.729b1425
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 0x729e6c0c
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4
mov eax, dword [0x72a4e8c0]
cmp si, 0xbf01
je 0x729e6b92
mov eax, esi
jmp 0x729e6b92
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push edi
jmp 0x729e6bdd
lea eax, [ebp - 0x100]
push 0
push eax
call fcn.729b1425
mov edi, eax
jmp 0x729e6beb
mov esi, 0x800a0209
jmp 0x729e6b61
Function at 0x729e6d09
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 0x729e6d4c
push ecx
pop edi
mov esi, dword [eax + 4]
cmp di, 1
je 0x729e6d52
cmp di, 0xbf00
je 0x729e6d52
cmp di, 0xbf01
je 0x729e6d52
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 0x729e6d21
call fcn.7294a0ba
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x729e6e03
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 0x729e6df9
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 0x729e6da4
push ebp
call fcn.729fcce3
test eax, eax
jne 0x729e6dd5
and dword [esp + 0x10], eax
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
cmp dword [esp + 0x10], 0
jl 0x729e6df0
cmp di, 0xbf00
jne 0x729e6de1
mov edi, dword [0x72a4e8c4]
movzx eax, di
push ebx
push eax
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x729e6d40
push eax
call fcn.7299146b
mov dword [esp + 0x10], eax
jmp 0x729e6da4
cmp di, 0xbf01
jne 0x729e6dbf
mov edi, dword [0x72a4e8c0]
jmp 0x729e6dbf
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x729e6dca
mov dword [esp + 0x10], 0x8007000e
jmp 0x729e6dca
mov dword [esp + 0x10], 0x800a0209
jmp 0x729e6d40

Function at 0x729e98a3
Capabilities:
Get graphical window text

Disassembly:
push ecx
mov ax, word [0x72a4eadc]
push ebx
push ebp
push esi
push edi
push 1
pop esi
push eax
mov dword [esp + 0x14], esi
call fcn.72944160
test eax, eax
je 0x729e98c9
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 [0x72a4e7cc]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
test edi, edi
je 0x729e98c1
push edi
push esi
push 0xd
push dword [ebx + 0xe4]
call ebp
push eax
push edi
call fcn.729b1733
test eax, eax
je 0x729e9914
and dword [esp + 0x10], 0
push edi
push 0
push dword [0x72a4e7cc]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [esp + 0x10]
jmp 0x729e98c1
Function at 0x729ea6cf
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 0x729ea6f2
mov eax, 0x72950aa0
push eax
lea eax, [ebp - 0x254]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x254]
push eax
call fcn.729edae0
lea eax, [ebp - 0x254]
push 0x729b10e4
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.729ea52f
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 0x729ea7d0
test byte [ebp - 0x14c], 0x10
je 0x729ea7b3
test byte [ebp - 0x14c], 2
jne 0x729ea7b3
cmp byte [ebp - 0x120], 0x2e
je 0x729ea7b3
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 0x729ea782
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindClose]
push dword [ebp + 0xc]
push esi
call fcn.729ea5f7
test eax, eax
je 0x729ea829
push dword [ebp + 0xc]
push esi
call fcn.729ea4f6
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 0x729ea81f
mov eax, dword [ebp - 8]
dec eax
dec eax
je 0x729ea81f
dec eax
je 0x729ea81f
push dword [ebp - 8]
call ebx
call fcn.72991cfa
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 0x729ea7e6

Function at 0x729ebb24
Capabilities:
Get disk information

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 1
jbe 0x729ebb58
cmp eax, 2
je 0x729ebb54
cmp eax, 4
je 0x729ebb50
cmp eax, 5
je 0x729ebb4c
cmp eax, 6
jne 0x729ebb5d
push 7
pop eax
jmp 0x729ebb5a
push 5
jmp 0x729ebb49
push 6
jmp 0x729ebb49
push 3
jmp 0x729ebb49
xor eax, eax
ret 4
push 4
jmp 0x729ebb49