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

Disassembly:
push esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push edi
push 0x10
xor edi, edi
call esi
test al, al
jns 0x450a57
mov edi, 4
push 0x11
call esi
test al, al
jns 0x450a62
or edi, 8
push 0x12
call esi
test al, al
jns 0x450a6d
or edi, 0x20
push 1
call esi
test al, al
jns 0x450a78
or edi, 1
push 4
call esi
test al, al
jns 0x450a83
or edi, 0x10
push 2
call esi
test al, al
jns 0x450a8e
or edi, 2
mov eax, edi
pop edi
pop esi
ret

Function at 0x450aa0
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x492448
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
xor eax, eax
push esi
push edi
mov dword [esp + 0xc], eax
mov dword [esp + 8], eax
mov edi, dword [esp + 0x20]
push edi
mov dword [esp + 0x1c], eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, eax
add esi, 1
push esi
lea ecx, [esp + 0xc]
call fcn.00476740
mov eax, dword [esp + 8]
cmp esi, eax
jle 0x450aec
mov esi, eax
mov eax, dword [esp + 0xc]
push esi
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
push esi
push ecx
push edx
push eax
call fcn.00474a40
add esp, 0x10
lea ecx, [esp + 8]
mov esi, eax
mov dword [esp + 0x18], 0xffffffff
call fcn.00476730
mov ecx, dword [esp + 0x10]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x450b40
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x492448
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebp
push esi
push edi
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov ebp, dword [esp + 0x24]
push ebp
mov dword [esp + 0x20], 0
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov edi, eax
lea esi, [edi + 1]
push esi
lea ecx, [esp + 0x10]
call fcn.00476740
mov eax, dword [esp + 0x10]
push esi
push eax
push ebp
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esp + 0x10]
push edi
push ecx
push 0
push 0
call fcn.00474a40
mov ebp, dword [esp + 0x38]
add esp, 0x10
mov esi, eax
push 0
lea edx, [esi + 1]
push edx
mov ecx, ebp
call fcn.00476300
mov eax, dword [esp + 0x10]
mov ecx, dword [ebp + 4]
push edi
push eax
push esi
push ecx
call fcn.00474a40
mov edx, dword [ebp + 4]
add esp, 0x10
lea ecx, [esp + 0xc]
mov byte [esi + edx], 0
mov dword [esp + 0x1c], 0xffffffff
call fcn.00476730
mov ecx, dword [esp + 0x14]
pop edi
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x453840
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x492448
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, dword [0x4a95dc]
xor ecx, ecx
cmp esi, ecx
je 0x453882
mov eax, dword [esp + 0x1c]
lea esp, [esp]
cmp dword [esi + 0x8c], eax
je 0x453896
mov esi, dword [esi + 0x94]
cmp esi, ecx
jne 0x453870
mov eax, dword [esp + 0x28]
pop esi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret
cmp dword [esi + 0x48], ecx
je 0x453882
mov dword [esp + 8], ecx
mov dword [esp + 4], ecx
mov dword [esp + 0x14], ecx
push 0x20000
lea ecx, [esp + 8]
call fcn.004762c0
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
lea eax, [esp + 0x2c]
push eax
push ecx
push edx
call fcn.0044e1e0
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x14]
push eax
mov eax, dword [esi + 0x48]
push ecx
push edx
push eax
call fcn.004452d0
add esp, 0x1c
lea ecx, [esp + 4]
mov esi, eax
mov dword [esp + 0x14], 0xffffffff
call fcn.00476730
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x454e60
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push edi
mov edi, ecx
mov eax, dword [edi + 0x48]
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x454eef
push ebx
push esi
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov ecx, edi
call fcn.00453b90
test eax, eax
mov ebx, dword [sym.imp.USER32.dll_SetClipboardData]
je 0x454e8f
push eax
push 0xf
call ebx
push 4
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x454ee7
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x454ebb
push esi
mov dword [eax], 2
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
test eax, eax
je 0x454ec4
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x454ee7
mov ax, word [0x4a95d4]
test ax, ax
jne 0x454ee0
push str.Preferred_DropEffect
call dword [sym.imp.USER32.dll_RegisterClipboardFormatW]
mov word [0x4a95d4], ax
movzx ecx, ax
push esi
push ecx
call ebx
call dword [sym.imp.USER32.dll_CloseClipboard]
pop esi
pop ebx
mov edx, dword [edi + 0x48]
push 2
push 0x10
push edx
call dword [sym.imp.SHELL32.dll_SHShellFolderView_Message]
pop edi
ret
Function at 0x454f00
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x48]
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x454fc2
push ebx
push edi
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov ecx, esi
call fcn.00453b90
test eax, eax
mov edi, dword [sym.imp.USER32.dll_SetClipboardData]
je 0x454f33
push eax
push 0xf
call edi
mov ecx, esi
call fcn.00453d70
mov ebx, dword [sym.imp.USER32.dll_RegisterClipboardFormatW]
mov esi, eax
test esi, esi
je 0x454f65
mov ax, word [0x4a95d0]
test ax, ax
jne 0x454f5e
push str.Shell_IDList_Array
call ebx
mov word [0x4a95d0], ax
movzx ecx, ax
push esi
push ecx
call edi
push 4
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x454fb9
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x454f91
push esi
mov dword [eax], 5
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
test eax, eax
je 0x454f9a
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x454fb9
mov ax, word [0x4a95d4]
test ax, ax
jne 0x454fb2
push str.Preferred_DropEffect
call ebx
mov word [0x4a95d4], ax
movzx edx, ax
push esi
push edx
call edi
pop edi
pop ebx
pop esi
jmp dword [sym.imp.USER32.dll_CloseClipboard]
pop esi
ret
Function at 0x45c4b0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
mov ecx, dword [esp + 0xc]
push 0xffffffffffffffff
push 0x492448
push eax
mov dword fs:[0], esp
sub esp, 8
test ecx, ecx
push esi
mov esi, dword [esp + 0x20]
mov edx, ecx
mov eax, esi
je 0x45c4ed
lea esp, [esp]
cmp byte [eax], 0x80
jae 0x45c51f
add eax, 1
sub edx, 1
jne 0x45c4e0
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x2c]
or edx, 0x100
push edx
push eax
push ecx
mov ecx, dword [esp + 0x2c]
push esi
push ecx
call dword [sym.imp.USER32.dll_DrawTextExA]
pop esi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret
mov dword [esp + 8], 0
mov dword [esp + 4], 0
push ecx
push esi
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], 0
call fcn.00476780
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
push edx
mov edx, dword [esp + 8]
or eax, 0x100
push eax
mov eax, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x28]
push edx
push eax
push ecx
call dword [sym.imp.USER32.dll_DrawTextExW]
lea ecx, [esp + 4]
mov esi, eax
mov dword [esp + 0x14], 0xffffffff
call fcn.00476730
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x45cdc0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
mov edx, dword [esp + 0xc]
push 0xffffffffffffffff
push 0x492250
push eax
mov dword fs:[0], esp
mov eax, dword [esp + 0x20]
sub esp, 8
push ebp
mov ebp, dword [esp + 0x30]
push esi
push edi
push ebp
mov edi, ecx
mov ecx, dword [esp + 0x34]
push eax
push ecx
push edx
mov ecx, edi
call fcn.0045ccf0
mov esi, dword [esp + 0x28]
cmp dword [esi], 1
jne 0x45cf95
push ebx
xor ebx, ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], ebx
push 0x20000
lea ecx, [esp + 0x38]
mov dword [esp + 0x24], ebx
call fcn.004762c0
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov esi, eax
cmp esi, ebx
mov dword [esp + 0x30], esi
je 0x45cf83
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
push ecx
push edx
push ebx
push esi
mov dword [esp + 0x4c], ebx
call fcn.0045c3b0
add esp, 0x10
test eax, eax
je 0x45cf7c
mov esi, dword [esp + 0x28]
mov edi, edi
mov eax, dword [esp + 0x38]
mov ecx, dword [ebp]
push esi
push eax
push ecx
push str._d:__s__s_n
call fcn.00430350
add esp, 0x10
cmp dword [ebp], ebx
je 0x45ce83
mov ecx, edi
call fcn.004540c0
mov eax, dword [ebp]
sub eax, 1
je 0x45cf37
sub eax, 1
je 0x45cf27
sub eax, 2
jne 0x45cf4d
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], ebx
push 0x20000
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], 1
call fcn.004762c0
mov edx, dword [esp + 0x38]
push edx
call fcn.0045c2b0
mov ecx, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x18]
push esi
push eax
push ecx
call fcn.004315f0
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
push str..lnk
push edx
push eax
call fcn.00438fc0
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x58]
push 0x493d7a
push 0x493d7a
push ecx
push edx
call fcn.00443a20
add esp, 0x30
test eax, eax
jne 0x45cf18
push str.Create_link_failed_n
call fcn.00430350
add esp, 4
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], bl
call fcn.00476730
jmp 0x45cf4d
mov eax, dword [esp + 0x38]
mov ecx, dword [edi + 0x48]
push 0x40
push esi
push eax
push 1
push ecx
jmp 0x45cf45
mov edx, dword [esp + 0x38]
mov eax, dword [edi + 0x48]
push 0x40
push esi
push edx
push 2
push eax
call fcn.0045c2e0
add esp, 0x14
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
push ecx
add eax, 1
push edx
push eax
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x3c]
push eax
call fcn.0045c3b0
add esp, 0x10
test eax, eax
jne 0x45ce60
mov esi, dword [esp + 0x30]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea ecx, [esp + 0x34]
mov dword [esp + 0x20], 0xffffffff
call fcn.00476730
pop ebx
push 0xffffffffffffffff
mov ecx, edi
call fcn.00461ea0
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x14
ret 0x18
Function at 0x45f470
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x491d30
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
push ebx
xor ebx, ebx
push esi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], ebx
mov esi, dword [esp + 0x70]
cmp esi, ebx
mov byte [esp + 0x5c], 1
je 0x45f4b7
push esi
lea ecx, [esp + 0x14]
call fcn.00476850
mov eax, dword [esp + 0x74]
push eax
lea ecx, [esp + 0xc]
call fcn.00476850
push 0x3c
lea ecx, [esp + 0x1c]
push ebx
push ecx
call fcn.00484170
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x78]
or edx, 4
neg esi
sbb esi, esi
and esi, dword [esp + 0x20]
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x18]
push str.Enter_ShellExecuteExW_n
mov dword [esp + 0x28], 0x3c
mov dword [esp + 0x30], eax
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], 1
call fcn.00430350
add esp, 0x10
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
push str.Leave_ShellExecuteExW_n
jne 0x45f58e
call fcn.00430350
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.ShellExecuteExW__:_GetLastError__:__d:_failed_to_execute_n
push str.mu::ShellExecuteExUTF8_idlist
push 0x34c
push str.d:deveverything_srcmu.h
call fcn.00430960
add esp, 0x14
lea ecx, [esp + 8]
mov byte [esp + 0x5c], bl
call fcn.00476730
lea ecx, [esp + 0x10]
mov dword [esp + 0x5c], 0xffffffff
call fcn.00476730
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
add esp, 0x58
ret
call fcn.00430350
add esp, 4
lea ecx, [esp + 8]
mov byte [esp + 0x5c], bl
call fcn.00476730
lea ecx, [esp + 0x10]
mov dword [esp + 0x5c], 0xffffffff
call fcn.00476730
mov ecx, dword [esp + 0x54]
pop esi
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x58
ret

Function at 0x45f5d0
Capabilities:
Get file system object information

Disassembly:
push 0xffffffffffffffff
push 0x4922eb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2bc
xor eax, eax
mov dword [esp + 4], eax
mov dword [esp], eax
mov ecx, dword [esp + 0x2cc]
mov dword [esp + 0x2c4], eax
mov eax, dword [esp + 0x2d0]
push eax
push ecx
lea ecx, [esp + 8]
call fcn.004767e0
mov eax, dword [esp + 0x2d8]
mov ecx, dword [esp + 4]
push 0x410
neg eax
push 0x2b4
lea edx, [esp + 0x10]
sbb eax, eax
push edx
and eax, 0x10
push eax
push ecx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
jne 0x45f66b
lea ecx, [esp]
mov dword [esp + 0x2c4], 0xffffffff
call fcn.00476730
xor eax, eax
mov ecx, dword [esp + 0x2bc]
mov dword fs:[0], ecx
add esp, 0x2c8
ret
mov ecx, dword [esp + 0x2d4]
lea edx, [esp + 0x21c]
push edx
call fcn.00476490
lea ecx, [esp]
mov dword [esp + 0x2c4], 0xffffffff
call fcn.00476730
mov ecx, dword [esp + 0x2bc]
mov eax, 1
mov dword fs:[0], ecx
add esp, 0x2c8
ret
Function at 0x45f6b0
Capabilities:
Query environment variable

Disassembly:
push 0xffffffffffffffff
push 0x491b70
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
xor ebx, ebx
push esi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], ebx
mov eax, dword [esp + 0x28]
cmp eax, ebx
mov byte [esp + 0x20], 1
jne 0x45f6fc
push 0x493d7a
call fcn.0044dba0
add esp, 4
jmp 0x45f73a
push eax
lea ecx, [esp + 0x14]
call fcn.00476850
push 0x8000
lea ecx, [esp + 0xc]
call fcn.00476740
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push ebx
push 1
push eax
mov eax, dword [esp + 0x18]
push eax
call fcn.00475360
add esp, 0x10
lea ecx, [esp + 8]
mov esi, eax
mov byte [esp + 0x20], bl
call fcn.00476730
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 0xffffffff
call fcn.00476730
mov ecx, dword [esp + 0x18]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret

Function at 0x45ff70
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [0x4aa720]
sub esp, 0x10
sub eax, 1
je 0x45ff91
sub eax, 1
je 0x45ff88
xor eax, eax
add esp, 0x10
ret
mov eax, 1
add esp, 0x10
ret
push esi
lea eax, [esp + 4]
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerAdvanced
push reloc.WS2_32.dll_accept
xor esi, esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x45fff6
lea ecx, [esp + 8]
push ecx
mov ecx, dword [esp + 8]
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x14]
push eax
push esi
push str.ListviewAlphaSelect
push ecx
mov dword [esp + 0x20], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x45ffeb
cmp dword [esp + 0xc], 4
jne 0x45ffeb
cmp dword [esp + 0x10], esi
je 0x45ffeb
mov esi, 1
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10
ret

Function at 0x460820
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x10
push ebx
push esi
push edi
mov esi, ecx
call fcn.004600f0
mov ecx, esi
mov edi, eax
call fcn.0045e9b0
mov ecx, dword [esi + 0x1e4]
mov ebx, eax
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x14]
sub eax, dword [esp + 0xc]
cmp ebx, eax
jge 0x460858
mov ebx, eax
mov edx, dword [esi + 0x90]
mov eax, dword [esi + 0x58]
push 0x14
push edx
push ebx
push 0
neg edi
push edi
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [esi + 0x58]
push 1
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebx
add esp, 0x10
ret
Function at 0x461540
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push 0xffffffffffffffff
push 0x491b90
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
xor ebx, ebx
push edi
mov edi, ecx
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], ebx
push 0x20000
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 1
call fcn.004762c0
cmp dword [0x4aa6fc], ebx
je 0x4615e7
mov eax, dword [esp + 0x10]
mov byte [eax], 0x22
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
add ecx, 0xffffffff
push ecx
add edx, 1
push edx
push ebx
mov ecx, edi
call fcn.00472c50
mov ecx, dword [esp + 0x10]
add eax, 1
cmp eax, 2
jne 0x4615cf
cmp byte [ecx + 1], 0x3a
jne 0x4615cf
mov byte [ecx + 2], 0x5c
mov byte [ecx + 3], bl
mov ecx, dword [esp + 0x10]
mov eax, 3
push 0x496394
push eax
mov eax, dword [esp + 0x14]
push eax
push ecx
call fcn.00431580
add esp, 0x10
mov esi, eax
jmp 0x461616
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
push ecx
push edx
push ebx
mov ecx, edi
call fcn.00472c50
mov esi, eax
cmp esi, 2
mov eax, dword [esp + 0x10]
jne 0x461616
cmp byte [eax + 1], 0x3a
jne 0x461616
mov byte [eax + 2], 0x5c
mov byte [eax + 3], bl
mov esi, 3
mov eax, dword [edi + 0x48]
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x46167e
push ebp
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov ecx, dword [esp + 0x14]
lea edi, [esi + 1]
push edi
push ecx
push ebx
push ebx
call fcn.004748d0
add esp, 0x10
lea ebp, [eax + eax]
push ebp
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
cmp esi, ebx
je 0x461677
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edx, dword [esp + 0x14]
push edi
push edx
push ebp
push eax
call fcn.004748d0
add esp, 0x10
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
pop ebp
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], bl
call fcn.00476730
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xffffffff
call fcn.00476730
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret
Function at 0x4616b0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push 0xffffffffffffffff
push 0x492448
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
xor ebx, ebx
push edi
mov edi, ecx
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], ebx
push 0x20000
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], ebx
call fcn.004762c0
cmp dword [0x4aa6fc], ebx
je 0x46174a
mov eax, dword [esp + 0x10]
mov byte [eax], 0x22
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
add ecx, 0xffffffff
push ecx
add edx, 1
push edx
push ebx
mov ecx, edi
call fcn.00472ba0
mov ecx, dword [esp + 0x10]
add eax, 1
cmp eax, 2
jne 0x461732
cmp byte [ecx + 1], 0x3a
jne 0x461732
mov byte [ecx + 2], 0x5c
mov byte [ecx + 3], bl
mov ecx, dword [esp + 0x10]
mov eax, 3
push 0x496394
push eax
mov eax, dword [esp + 0x14]
push eax
push ecx
call fcn.00431580
add esp, 0x10
mov esi, eax
jmp 0x461779
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
push ecx
push edx
push ebx
mov ecx, edi
call fcn.00472ba0
mov esi, eax
cmp esi, 2
mov eax, dword [esp + 0x10]
jne 0x461779
cmp byte [eax + 1], 0x3a
jne 0x461779
mov byte [eax + 2], 0x5c
mov byte [eax + 3], bl
mov esi, 3
mov eax, dword [edi + 0x48]
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4617e1
push ebp
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov ecx, dword [esp + 0x14]
lea edi, [esi + 1]
push edi
push ecx
push ebx
push ebx
call fcn.004748d0
add esp, 0x10
lea ebp, [eax + eax]
push ebp
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
cmp esi, ebx
je 0x4617da
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edx, dword [esp + 0x14]
push edi
push edx
push ebp
push eax
call fcn.004748d0
add esp, 0x10
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
pop ebp
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], 0xffffffff
call fcn.00476730
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4620f0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x492448
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebp
push esi
push edi
mov esi, ecx
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
push 0x20000
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 0
call fcn.004762c0
mov eax, dword [esi + 0xd4]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
push eax
push ecx
push edx
call fcn.00436c40
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x18]
push ecx
push eax
mov eax, dword [esp + 0x24]
push edx
push eax
call fcn.0045f010
mov ebp, dword [esi + 0xd4]
mov edi, dword [esp + 0x2c]
mov ecx, ebp
mov al, byte [ecx]
add esp, 0x1c
cmp al, byte [edi]
mov edx, edi
jne 0x462186
test al, al
je 0x4621d1
mov al, byte [ecx + 1]
add ecx, 1
add edx, 1
cmp al, byte [edx]
je 0x462175
movsx eax, byte [ecx]
movsx ecx, byte [edx]
sub eax, ecx
je 0x4621d1
mov edx, dword [esi + 0x48]
push 0x40
push edi
push ebp
push 4
push edx
call fcn.0045c2e0
add esp, 0x14
test eax, eax
je 0x4621cd
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], 0xffffffff
call fcn.00476730
pop edi
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret 4
mov edi, dword [esp + 0x10]
mov eax, dword [esi + 0x1f4]
push edi
push eax
call fcn.0044ec80
add esp, 8
lea ecx, [esp + 0xc]
mov dword [esi + 0x1f4], eax
mov dword [esi + 0x1fc], 1
mov dword [esp + 0x1c], 0xffffffff
call fcn.00476730
mov ecx, dword [esp + 0x14]
pop edi
pop esi
mov eax, 1
pop ebp
mov dword fs:[0], ecx
add esp, 0x14
ret 4
Function at 0x467250
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x492448
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x1c]
push eax
lea ecx, [esp + 8]
mov dword [esp + 0x18], 0
call fcn.004768f0
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edx, dword [esp + 8]
push 0
push edx
push 0x1005
push 4
mov esi, eax
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.00476730
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x467460
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x492448
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov dword [esp + 4], 0
mov dword [esp], 0
push 0x104
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0
call fcn.00476740
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 4]
push eax
mov eax, dword [esp + 0x1c]
push ecx
push edx
push eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x4674dc
lea ecx, [esp]
mov dword [esp + 0x10], 0xffffffff
call fcn.00476730
xor eax, eax
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret
mov ecx, dword [esp + 4]
cmp word [ecx], 0
mov eax, ecx
je 0x4674f9
jmp 0x4674f0
add eax, 2
cmp word [eax], 0
jne 0x4674f0
mov edx, dword [esp + 0x1c]
sub eax, ecx
sar eax, 1
add eax, 1
push eax
push ecx
mov ecx, dword [esp + 0x28]
push ecx
push edx
call fcn.00474a40
add esp, 0x10
lea ecx, [esp]
mov dword [esp + 0x10], 0xffffffff
call fcn.00476730
mov ecx, dword [esp + 8]
mov eax, 1
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x467540
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x492448
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
xor eax, eax
push esi
mov dword [esp + 8], eax
mov dword [esp + 4], eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x1c]
push eax
lea ecx, [esp + 8]
call fcn.004768f0
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 8]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea ecx, [esp + 4]
mov esi, eax
mov dword [esp + 0x14], 0xffffffff
call fcn.00476730
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret