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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
mov ebx, ecx
push edi
mov edi, dword [ebp + 0xc]
mov dword [esp + 0x14], ebx
call fcn.10003f30
test eax, eax
je 0x1000706e
mov ecx, ebx
call fcn.1000d3b0
lea esi, [ebx + 0x44]
mov dword [esp + 0x10], 0
push esi
call dword [sym.imp.USER32.dll_GetKeyboardState]
cmp byte [esi + 0x10], 0
movzx edx, word [esp + 0x10]
mov dword [esp + 0x10], edx
mov eax, edx
jge 0x10006f18
or edx, 0x10000
mov dword [esp + 0x10], edx
mov eax, edx
test byte [esi + 0x14], 1
je 0x10006f2c
mov edx, eax
or edx, 0x20000
mov dword [esp + 0x10], edx
mov eax, edx
cmp byte [esi + 0x11], 0
jge 0x10006f40
mov edx, eax
or edx, 0x40000
mov dword [esp + 0x10], edx
mov eax, edx
cmp byte [esi + 0x12], 0
jge 0x10006f54
mov edx, eax
or edx, 0x80000
mov dword [esp + 0x10], edx
mov eax, edx
test edi, edi
jns 0x10006f64
mov edx, eax
or edx, 0x40000000
mov dword [esp + 0x10], edx
mov ebx, dword [ebp + 8]
cmp ebx, 0x14
jne 0x10006f87
test edi, edi
js 0x10006f87
mov ecx, edx
movzx edx, dx
xor ecx, 0x20000
and ecx, 0xffff0000
or edx, ecx
mov dword [esp + 0x10], edx
push edi
mov ecx, ebx
call fcn.10006a20
add esp, 4
test eax, eax
je 0x10006fa3
movzx eax, ax
and edx, 0xffff0000
or eax, edx
jmp 0x10006fed
push 0
push 0
push 8
push 0x100af4d8
push 0x100af3d8
push dword [ebp + 0xc]
mov ecx, 0x40
mov edi, 0x100af3d8
rep movsd dword es:[edi], dword [esi]
push ebx
mov word [0x100af3e9], 0
call dword [sym.imp.USER32.dll_ToUnicodeEx]
cmp eax, 1
jne 0x10007065
mov eax, dword [esp + 0x10]
movzx ecx, word [0x100af4d8]
and eax, 0xffff0000
or eax, ecx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x10], eax
mov ecx, dword [edx + 0x178]
mov ecx, dword [ecx + 8]
test ecx, ecx
je 0x10007044
mov ecx, dword [ecx + 8]
test ecx, ecx
je 0x10007011
mov cl, byte [ecx + 0x1e8]
jmp 0x10007013
xor cl, cl
test cl, cl
je 0x10007044
movzx ecx, ax
cmp ecx, 0xff52
jne 0x1000702e
and eax, 0xffffff54
or eax, 0xff54
jmp 0x10007040
cmp ecx, 0xff54
jne 0x10007044
and eax, 0xffffff52
or eax, 0xff52
mov dword [esp + 0x10], eax
mov ecx, dword [edx + 0x18c]
lea eax, [esp + 0x10]
push eax
call fcn.1000fbf0
movzx ecx, al
mov eax, dword [ebp + 0x10]
mov dword [eax], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp + 0x10]
mov dword [eax], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x100087e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x100a9100]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
lea esi, [ebp - 0x22c]
push esi
lea esi, [ebp - 0x210]
mov dword [ebp - 0x22c], 0x104
push esi
push 0
push 2
push eax
push edx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov esi, eax
test esi, esi
jne 0x100088bc
xorps xmm0, xmm0
mov dword [ebp - 0x218], eax
lea edx, [ebp - 0x210]
mov dword [ebp - 0x214], eax
movups xmmword [ebp - 0x228], xmm0
lea ecx, [edx + 2]
nop dword [eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x10008850
sub edx, ecx
lea eax, [ebp - 0x210]
sar edx, 1
lea ecx, [ebp - 0x228]
push edx
push eax
call fcn.10003770
lea eax, [ebp - 0x228]
mov ecx, edi
push eax
call fcn.1000a120
mov ecx, dword [ebp - 0x214]
cmp ecx, 7
jbe 0x100088bc
mov edx, dword [ebp - 0x228]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100088b2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100088ce
push ecx
push edx
call fcn.1005736b
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.1005735d
mov esp, ebp
pop ebp
ret
call fcn.10066ebf
int3
Function at 0x100088e0
Capabilities:
Create process on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10084c2d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x40
mov eax, dword [0x100a9100]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, dword [ecx + 0x10]
mov eax, SysReAllocString
sub eax, edx
cmp eax, 1
jb 0x10008a52
cmp dword [ecx + 0x14], 7
jbe 0x10008937
mov ecx, dword [ecx]
push edx
push ecx
push 1
push 0x1009534c
push ecx
push dword [ebp - 0x4c]
lea ecx, [ebp - 0x44]
call fcn.1000a9d0
push 1
push 0x1009534c
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], 0
call fcn.10009fa0
mov dword [ebp - 0x1c], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x18], 0
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x2c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x1c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov ecx, dword [ebp - 0x30]
cmp ecx, 7
jbe 0x100089d5
mov edx, dword [ebp - 0x44]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100089cb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10008a57
push ecx
push edx
call fcn.1005736b
add esp, 8
cmp dword [ebp - 0x18], 7
lea eax, [ebp - 0x2c]
push 1
cmova eax, dword [ebp - 0x2c]
push 0
push 0
push eax
push 0x10095350
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [ebp - 0x18]
cmp eax, 0x20
seta al
mov byte [ebp - 0x45], al
cmp ecx, 7
jbe 0x10008a36
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10008a29
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10008a5c
push ecx
push edx
call fcn.1005736b
mov al, byte [ebp - 0x45]
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1005735d
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.10003920
call fcn.10066ebf
call fcn.10066ebf
int3
Function at 0x10009470
Capabilities:
Get common file path
Terminate process

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10084cf1
mov eax, dword fs:[0]
push eax
push ebx
push ecx
push esi
mov eax, dword [0x100a9100]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], 0
xorps xmm0, xmm0
mov esi, dword [ebx + 8]
xor eax, eax
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
push eax
mov dword [ebp - 4], eax
push eax
mov dword [ebp - 0x14], 1
call dword [sym.imp.KERNEL32.dll_GetSystemWow64DirectoryW]
test eax, eax
jne 0x10009505
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x100094fe
xor eax, eax
jmp 0x1000950a
push eax
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, 1
test eax, eax
mov ecx, str.SoftwareWOW6432NodeRimeWeasel
mov edx, str.SoftwareRimeWeasel
push esi
cmovne edx, ecx
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
push str.WeaselRoot
call fcn.100087e0
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
Function at 0x1000b1e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x100a9100]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
lea eax, [ebp - 0x60]
xor edi, edi
push eax
push 0x20019
push edi
push str.SYSTEMCurrentControlSetControlKeyboard_Layouts
push reloc.OLEAUT32.dll_SysReAllocString
mov si, cx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1000b2c3
push ebx
movzx ebx, si
mov esi, ebx
or esi, 0xe0200000
or ebx, 0xe0ff0000
nop dword [eax + eax]
cmp esi, ebx
ja 0x1000b2c2
push esi
push str._08X
lea eax, [ebp - 0x18]
push 9
push eax
call fcn.1000b160
add esp, 0x10
lea eax, [ebp - 0x5c]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x60]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1000b2ab
lea eax, [ebp - 0x64]
mov dword [ebp - 0x64], 0x40
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x68]
push eax
push 0
push str.Ime_File
push dword [ebp - 0x5c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1000b2ab
cmp dword [ebp - 0x68], 1
jne 0x1000b2ab
lea eax, [ebp - 0x58]
push str.weasel.ime
push eax
call fcn.1006b633
add esp, 8
test eax, eax
cmove edi, esi
push dword [ebp - 0x5c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esi, 0x10000
test edi, edi
je 0x1000b230
pop ebx
push dword [ebp - 0x60]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.1005735d
mov esp, ebp
pop ebp
ret
Function at 0x1000b7f0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x11c
mov eax, dword [0x100a9100]
xor eax, esp
mov dword [esp + 0x118], eax
push ebx
push esi
push edi
mov ebx, ecx
mov dword [esp + 0x10], 0x100
lea ecx, [esp + 0xc]
mov eax, edx
push ecx
push eax
push ebx
mov dword [esp + 0x20], eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x1000b845
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x118]
xor ecx, esp
call fcn.1005735d
mov esp, ebp
pop ebp
ret
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
lea eax, [esp + 0x18]
push eax
xor esi, esi
lea eax, [esp + 0x14]
push esi
push esi
push esi
push eax
lea eax, [esp + 0x34]
push eax
push esi
push dword [esp + 0x28]
call edi
test eax, eax
jne 0x1000b8b0
nop word [eax + eax]
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x20]
mov byte [esp + 0x11f], 0
call fcn.1000b7f0
mov esi, eax
test esi, esi
jne 0x1000b8b0
lea eax, [esp + 0x18]
mov dword [esp + 0x10], 0x100
push eax
push esi
push esi
push esi
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x34]
push eax
push esi
push dword [esp + 0x28]
call edi
test eax, eax
je 0x1000b870
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x1000b8cb
push dword [esp + 0x14]
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov esi, eax
mov ecx, dword [esp + 0x124]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1005735d
mov esp, ebp
pop ebp
ret
Function at 0x1000bb50
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x100a9100]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
lea edx, [ebp - 0x2e]
call fcn.1000b790
test eax, eax
je 0x1000bd2f
mov eax, dword [str.CLSID_]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
push ebx
mov dword [ebp - 0x34], eax
mov ax, word [0x10095220]
mov word [ebp - 0x30], ax
lea eax, [ebp - 0x13c]
push eax
lea eax, [ebp - 0x144]
push eax
push 0
push 0x20006
push 0
push 0
push 0
lea eax, [ebp - 0x34]
push eax
push SysReAllocString
call edi
xor ebx, ebx
test eax, eax
sete bl
test eax, eax
jne 0x1000bca5
push 7
push 0x10095694
push 1
push eax
push eax
push dword [ebp - 0x144]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
neg eax
sbb esi, esi
lea eax, [ebp - 0x13c]
push eax
lea eax, [ebp - 0x140]
inc esi
push eax
push 0
push 0x20006
push 0
push 0
push 0
push str.InprocServer32
push dword [ebp - 0x144]
and esi, ebx
call edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ebx, ebx
test eax, eax
cmove ebx, esi
test ebx, ebx
je 0x1000bc9d
push 0x104
lea eax, [ebp - 0x138]
push eax
push dword [0x100af238]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [ebp - 0x138]
mov dword [ebp - 0x13c], eax
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000bc45
sub ecx, edx
lea eax, [ecx + 1]
push eax
lea eax, [ebp - 0x138]
push eax
push 1
push 0
push 0
push dword [ebp - 0x140]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 0xa
push str.Apartment
push 1
neg eax
push 0
sbb esi, esi
push 0x100951e0
push dword [ebp - 0x140]
inc esi
and esi, ebx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 0x140]
xor ebx, ebx
test eax, eax
cmove ebx, esi
call edi
push dword [ebp - 0x144]
call edi
test ebx, ebx
pop ebx
je 0x1000bd2f
call fcn.1000b2e0
test eax, eax
je 0x1000bd2f
lea eax, [ebp - 0x13c]
push eax
push 0x1008b5e0
push 1
push 0
push 0x1008b660
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jne 0x1000bd2f
lea edi, [eax + 1]
mov esi, 0x100af268
mov eax, dword [ebp - 0x13c]
push 0x100951d0
push esi
push 0x100951d0
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
xor ecx, ecx
test eax, eax
cmove ecx, edi
add esi, 0x10
mov edi, ecx
cmp esi, 0x100af368
jne 0x1000bce2
mov eax, dword [ebp - 0x13c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
test edi, edi
je 0x1000bd2f
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1005735d
mov esp, ebp
pop ebp
ret
call sym.weasel.dll_DllUnregisterServer
mov ecx, dword [ebp - 4]
mov eax, 0x80004005
pop edi
xor ecx, ebp
pop esi
call fcn.1005735d
mov esp, ebp
pop ebp
ret
Function at 0x1000d990
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x38
mov eax, dword [0x100a9100]
xor eax, esp
mov dword [esp + 0x34], eax
push esi
push edi
mov esi, ecx
lea eax, [esp + 8]
push eax
mov dword [esp + 0xc], esi
mov dword [esp + 0xc], esi
push 0
mov dword [esp + 0x10], 0
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
mov eax, dword [esp + 8]
test eax, eax
je 0x1000da05
xor ecx, ecx
inc eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.10057981
add esp, 4
mov edi, eax
lea eax, [esp + 8]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
cmp dword [esp + 8], 0
ja 0x1000da3a
push edi
call fcn.1005798a
add esp, 4
xorps xmm0, xmm0
mov ecx, esi
movups xmmword [esi], xmm0
push 0
mov dword [esi + 0x10], 0
push 0x10094ec4
mov dword [esi + 0x14], 0
call fcn.10003770
mov eax, esi
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.1005735d
mov esp, ebp
pop ebp
ret
mov ecx, edi
mov dword [esp + 0x20], 0
xorps xmm0, xmm0
mov dword [esp + 0x24], 0
movaps xmmword [esp + 0x10], xmm0
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000da57
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [esp + 0x18]
call fcn.10003770
push edi
call fcn.1005798a
mov ecx, dword [esp + 0x40]
xorps xmm0, xmm0
movups xmmword [esi], xmm0
add esp, 4
mov dword [esi + 0x10], 0
movups xmm0, xmmword [esp + 0x10]
mov dword [esi + 0x14], 0
mov eax, esi
movups xmmword [esi], xmm0
pop edi
movq xmm0, qword [esp + 0x1c]
movq qword [esi + 0x10], xmm0
pop esi
xor ecx, esp
call fcn.1005735d
mov esp, ebp
pop ebp
ret

Function at 0x1000fe10
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10085730
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x100a9100]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
lea esi, [ecx + 0x20]
mov eax, dword [ebp + 8]
mov ecx, esi
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1c], eax
call fcn.10020810
lea eax, [ebp - 0x24]
mov ecx, esi
push eax
push dword [esi + 0x18]
call fcn.10010c10
mov ebx, dword [esi + 0x18]
lea eax, [ebp + 8]
push 0
push eax
push 4
lea eax, [ebp + 0xc]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1000feba
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
jne 0x1000fef1
push dword [esi + 0x20]
push 0
push dword [esi + 0x24]
call fcn.1005d560
add esp, 0xc
lea eax, [ebp + 8]
push 0
push eax
push dword [esi + 0x20]
push dword [esi + 0x24]
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1000ff02
mov eax, dword [ebp + 0xc]
mov byte [esi + 0x1c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push 0x100a4580
push eax
call fcn.1005cf6b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push 0x100a4580
push eax
call fcn.1005cf6b
int3
Function at 0x10010c10
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100858c0
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x100a9100]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x14], esi
mov eax, dword [ebp + 0xc]
lea edi, [esi + 0x1c]
mov ecx, dword [esi + 0x24]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], edi
movq xmm0, qword [eax]
movq qword [ecx], xmm0
mov eax, dword [eax + 8]
mov dword [ecx + 8], eax
cmp byte [edi], 0
je 0x10010c67
mov eax, dword [esi + 0x20]
jmp 0x10010c6c
mov eax, 0xc
push 0
lea edx, [ebp - 0x18]
mov dword [ebp + 0xc], eax
push edx
push eax
push ecx
push dword [ebp + 8]
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x10010d08
cmp dword [ebp - 0x18], 0
jbe 0x10010d08
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
jmp 0x10010cc9
mov ecx, dword [esi + 0x28]
mov byte [edi], 0
test ecx, ecx
je 0x10010cf4
mov dword [esi + 0x28], 0
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [esi + 0x28]
mov dword [esi + 0x28], 0
test ecx, ecx
je 0x10010cf4
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push 0x100a4580
push eax
call fcn.1005cf6b
int3
Function at 0x100134f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10085d48
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x100a9100]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov eax, dword [ebx]
push 0
push 0
mov eax, dword [eax + 4]
mov dword [ebx + eax], vtable.std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebx]
mov edx, dword [eax + 4]
lea eax, [edx - 0x18]
mov dword [edx + ebx - 4], eax
mov eax, dword [ebx]
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov edi, dword [eax + 4]
add edi, ebx
mov ecx, edi
mov dword [edi + 0x30], 0
mov dword [edi + 8], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0x201
mov dword [edi + 0x18], 6
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
call fcn.100156e0
push 8
call fcn.1005739c
add esp, 4
mov esi, eax
push 1
mov dword [ebp - 4], 2
call fcn.10041416
mov dword [esi + 4], eax
add esp, 4
mov eax, dword [ebp + 8]
mov dword [edi + 0x30], esi
mov dword [edi + 0x38], eax
mov dword [edi + 0x3c], 0
mov esi, dword [esi + 4]
mov ecx, esi
mov dword [ebp - 0x18], esi
mov eax, dword [esi]
call dword [eax + 4]
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], 3
push eax
call fcn.10014a00
add esp, 4
mov ecx, eax
mov edx, dword [eax]
push 0x20
call dword [edx + 0x30]
movzx eax, ax
mov ecx, esi
mov dword [ebp + 8], eax
mov byte [ebp - 4], 1
mov eax, dword [esi]
call dword [eax + 8]
test eax, eax
je 0x10013613
mov ecx, dword [eax]
push 1
mov edx, dword [ecx]
mov ecx, eax
call edx
cmp dword [edi + 0x38], 0
mov eax, dword [ebp + 8]
mov word [edi + 0x40], ax
jne 0x10013630
mov eax, dword [edi + 0xc]
mov ecx, edi
push 0
or eax, 4
push eax
call fcn.100156e0
mov eax, dword [ebx + 0x10]
mov eax, dword [eax + 4]
mov dword [ebx + eax + 0x10], vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ecx + ebx + 0xc], eax
mov eax, dword [ebx]
mov eax, dword [eax + 4]
mov dword [ebx + eax], vtable.std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x20]
mov dword [ecx + ebx - 4], eax
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x100136f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10085d70
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x100a9100]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
lea eax, [ecx + 4]
mov dword [ecx], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
lea ebx, [ecx + 0x24]
mov dword [ebp - 0x14], eax
lea edi, [ecx + 0x28]
mov dword [eax], 0
push 8
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x18], 0
mov dword [ecx + 0x1c], 0
mov dword [ecx + 0x20], 0
mov dword [ebx], 0
mov dword [edi], 0
mov dword [ecx + 0x2c], 0
mov dword [ecx + 0x30], 0
call fcn.1005739c
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.10041416
mov dword [esi + 4], eax
add esp, 8
mov eax, dword [ebp - 0x10]
lea edx, [eax + 8]
lea ecx, [eax + 0x14]
mov dword [eax + 0x34], esi
lea esi, [eax + 4]
mov dword [eax + 0xc], esi
mov esi, eax
mov dword [eax + 0x10], edx
mov dword [eax + 0x1c], ecx
lea eax, [esi + 0x18]
mov dword [esi + 0x20], eax
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], edi
mov esi, dword [ebp - 0x14]
mov dword [edx], 0
mov dword [eax], 0
mov eax, dword [ebp - 0x10]
mov dword [edi], 0
mov dword [esi], 0
mov dword [ecx], 0
mov dword [ebx], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10025a10
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x100a9100]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov esi, ecx
push 0
mov dword [ebp - 0x30], esi
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
xorps xmm0, xmm0
lea eax, [ebp - 0x18]
mov dword [ebp - 0x1c], edi
push eax
push dword [esi + 4]
movups xmmword [ebp - 0x18], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push ebx
call dword [sym.imp.USER32.dll_OffsetRect]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x10025b21
test edi, edi
je 0x10025afe
test ebx, ebx
je 0x10025afe
push ebx
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x10025afe
mov ecx, dword [ebx]
mov esi, dword [ebx + 8]
mov eax, dword [ebx + 4]
sub esi, ecx
mov ebx, dword [ebx + 0xc]
push edi
mov dword [ebp - 0x28], ecx
sub ebx, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push ebx
push esi
push dword [ebp - 0x1c]
mov edi, eax
mov dword [ebp - 0x2c], edi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push edi
call esi
push 0xcc0020
push ebx
mov edi, eax
mov eax, dword [ebp - 0x20]
push eax
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push dword [ebp - 0x1c]
push ebx
mov ebx, dword [ebp - 0x2c]
push eax
push 0
push 0
push ebx
call dword [sym.imp.GDI32.dll_StretchBlt]
push edi
push ebx
call esi
push ebx
mov esi, eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov ebx, dword [sym.imp.GDI32.dll_DeleteObject]
push edi
call ebx
mov edi, dword [ebp - 0x1c]
jmp 0x10025b06
mov ebx, dword [sym.imp.GDI32.dll_DeleteObject]
xor esi, esi
call dword [sym.imp.USER32.dll_EmptyClipboard]
push esi
push 2
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
push esi
call ebx
mov esi, dword [ebp - 0x30]
push edi
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1005735d
mov esp, ebp
pop ebp
ret 4