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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 4]
push edi
push eax
call dword [sym.imp.USER32.dll_GetParent]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x8000
push eax
call ebx
lea ecx, [ebp - 4]
push ecx
call fcn.0050a4d0
mov eax, dword [ebp - 4]
add esp, 4
push 0
lea edx, [ebp - 0x10]
push edx
push 0
push 0xf003f
push 0
push 0
push 0
push str.AppGroups
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov eax, dword [ebp - 0x10]
xor edi, edi
push edi
push edi
push edi
push edi
lea ecx, [ebp - 0xc]
push ecx
lea edx, [ebp - 0x220]
push edx
push edi
push eax
mov dword [ebp - 0xc], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, 0x103
je 0x42e0d3
test eax, eax
jne 0x42e0d3
mov ecx, dword [esi + 4]
push 0x452
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
lea edx, [ebp - 0x220]
push edx
push 0
push 0x14a
push eax
call ebx
mov edx, dword [ebp - 0x10]
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x220]
push ecx
inc edi
push edi
push edx
mov dword [ebp - 0xc], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, 0x103
jne 0x42e082
mov eax, dword [ebp - 4]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call edi
mov ecx, dword [ebp - 0x10]
push ecx
call edi
mov edx, dword [esi + 4]
push 0
push 0
push 0x14e
push 0x452
push edx
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
mov eax, dword [esi + 4]
push 0x452
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, dword [esi + 4]
push eax
push 0x10452
push 0x111
push ecx
call ebx
mov eax, dword [esi + 4]
test eax, eax
je 0x42e13c
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
mov edx, 4
push eax
lea ecx, [esi + 0x54]
mov word [ebp - 0x14], dx
call fcn.00410d10
mov ecx, esi
call fcn.0042dde0
lea ecx, [ebp - 4]
push ecx
call fcn.0050a4d0
mov eax, dword [ebp - 4]
lea edx, [ebp - 8]
push edx
push str.UseLargeIcons
push eax
call fcn.0050a180
add esp, 0x10
test eax, eax
jne 0x42e179
mov ecx, dword [ebp - 4]
push eax
push str.UseLargeIcons
push ecx
call fcn.0050a1d0
add esp, 0xc
jmp 0x42e17f
cmp dword [ebp - 8], 0
jne 0x42e186
mov dword [ebp - 8], 0
mov edx, dword [ebp - 4]
push edx
call edi
mov eax, dword [esi + 4]
push 0x338
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
xor ecx, ecx
cmp dword [ebp - 8], ecx
push 0
setne cl
push ecx
push 0xf1
push eax
call ebx
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x42e1c0
Capabilities:
Delete registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push edi
mov edi, ecx
mov eax, dword [edi + 4]
push 0x452
push eax
call esi
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0xffffffffffffffff
push 0x14e
push eax
call ebx
mov ecx, dword [edi + 4]
push 0x452
push ecx
call esi
mov edx, dword [edi + 4]
push eax
push 0x10452
push 0x111
push edx
call ebx
lea eax, [ebp - 4]
push eax
call fcn.0050a4d0
mov edx, dword [ebp - 4]
add esp, 4
push 0
lea ecx, [ebp - 8]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push str.AppGroups
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov eax, dword [edi + 0x70]
mov esi, dword [eax]
cmp esi, eax
je 0x42e2bc
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0xc]
push eax
mov eax, dword [ebp - 8]
push ecx
push 7
push 0
push edx
push eax
call ebx
mov ecx, dword [esi + 0x10]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp byte [esi + 0x19], 0
jne 0x42e2b7
mov eax, dword [esi + 8]
cmp byte [eax + 0x19], 0
jne 0x42e29c
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0x19], 0
jne 0x42e2b7
lea esp, [esp]
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0x19], 0
je 0x42e290
jmp 0x42e2b7
mov eax, dword [esi + 4]
cmp byte [eax + 0x19], 0
jne 0x42e2b5
cmp esi, dword [eax + 8]
jne 0x42e2b5
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0x19], 0
je 0x42e2a5
mov esi, eax
cmp esi, dword [edi + 0x70]
jne 0x42e247
mov esi, dword [edi + 0x7c]
cmp esi, dword [edi + 0x80]
je 0x42e2e4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
lea ecx, [ecx]
mov edx, dword [esi]
mov eax, dword [ebp - 8]
push edx
push eax
call ebx
add esi, 4
cmp esi, dword [edi + 0x80]
jne 0x42e2d0
mov ecx, dword [ebp - 4]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ecx
call ebx
mov edx, dword [ebp - 8]
push edx
call ebx
mov eax, dword [0x5f7664]
mov ecx, dword [eax + 4]
push 0
push 0xe803
push 0x111
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
mov edx, dword [edi + 4]
push 0x338
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push 0
push 0xf0
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
lea esi, [eax - 1]
neg esi
lea eax, [ebp - 4]
sbb esi, esi
push eax
inc esi
call fcn.0050a4d0
mov ecx, dword [ebp - 4]
push esi
push str.UseLargeIcons
push ecx
call fcn.0050a1d0
mov edx, dword [ebp - 4]
add esp, 0x10
push edx
call ebx
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x430ee0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84c
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetDC]
push esi
mov esi, ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x2e8]
push edi
push ecx
call ebx
lea edx, [ebp - 0x4c]
mov edi, eax
push edx
push edi
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
mov eax, dword [esi + 0x2e8]
push edi
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov edx, dword [esi + 4]
lea ecx, [ebp - 0x10]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esi + 0x2e8]
push 0x400
lea eax, [ebp - 0x84c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, dword [ebp - 8]
cdq
sub eax, edx
mov edx, dword [esi + 0x2f8]
mov edi, eax
push edx
sar edi, 1
call ebx
lea ecx, [ebp - 0x4c]
push ecx
push eax
mov dword [ebp + 0x14], eax
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
mov edx, dword [ebp + 0x14]
mov eax, dword [esi + 0x2f8]
push edx
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov edx, dword [esi + 4]
lea ecx, [ebp - 0x10]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esi + 0x2f8]
push 0x400
lea eax, [ebp - 0x84c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp dword [0x5f7bf0], 0
jne 0x431093
mov edx, dword [esi + 0x2f4]
push edx
call ebx
lea ecx, [ebp - 0x4c]
push ecx
push eax
mov dword [ebp + 0x14], eax
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
mov edx, dword [ebp + 0x14]
mov eax, dword [esi + 0x2f4]
push edx
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov edx, dword [esi + 4]
lea ecx, [ebp - 0x10]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esi + 0x2f4]
push 0x400
lea eax, [ebp - 0x84c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
push 0x40
push 0x19
push eax
sub eax, edi
add edx, 0xffffffe7
push edx
sub eax, 0xa
push eax
mov eax, dword [esi + 0x2f4]
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [esi + 0x2ec]
push ecx
call ebx
lea edx, [ebp - 0x4c]
mov ebx, eax
push edx
push ebx
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
mov eax, dword [esi + 0x2ec]
push ebx
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov edx, dword [esi + 4]
lea ecx, [ebp - 0x10]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esi + 0x2ec]
push 0x400
lea eax, [ebp - 0x84c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
push 0x40
push 0x17
lea edx, [eax - 1]
push edx
mov edx, dword [esi + 0x2ec]
add ecx, 0xffffffe8
push ecx
sub eax, edi
add eax, 0xa
push eax
push 0
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4311f0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
push esi
lea eax, [ebp - 8]
push eax
mov esi, ecx
call dword [sym.imp.USER32.dll_GetCursorPos]
mov edx, dword [esi + 0x2ec]
lea ecx, [ebp - 0x18]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
push eax
push ecx
lea edx, [ebp - 0x18]
push edx
call dword [sym.imp.USER32.dll_PtInRect]
pop esi
test eax, eax
je 0x431277
mov ecx, dword [0x5fd7c0]
push 0x80
lea eax, [ebp - 0x118]
push eax
push 0x108
push ecx
call dword [sym.imp.USER32.dll_LoadStringW]
push 1
push 0
push 0
lea edx, [ebp - 0x118]
push edx
push 0x59bf70
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, dword [ebp + 0x14]
mov dword [eax], 1
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ebp + 0x14]
mov dword [ecx], 0
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10
Function at 0x436a50
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x585797
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
mov dword [esi], vtable.CClipboardView.1.0
mov dword [esi + 0x50], vtable.CClipboardView.0
mov dword [ebp - 4], 8
mov eax, dword [esi + 0x2fc]
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_Destroy]
xor ebx, ebx
xor edi, edi
cmp dword [esi + 0x350], ebx
jbe 0x436acb
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp edi, dword [esi + 0x350]
jae 0x436c01
mov ecx, dword [esi + 0x34c]
lea eax, [ecx + edi*4]
mov eax, dword [eax]
push eax
call ebx
inc edi
cmp edi, dword [esi + 0x350]
jb 0x436ab2
xor ebx, ebx
mov cl, 7
mov byte [ebp - 4], cl
lea eax, [esi + 0x360]
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], cl
mov eax, dword [eax]
sub eax, 0x10
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x436afa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 6
lea ecx, [esi + 0x34c]
call fcn.00432860
mov byte [ebp - 4], 5
lea ecx, [esi + 0x300]
call fcn.00494560
mov byte [ebp - 4], 4
lea edi, [esi + 0x2d8]
mov dword [ebp - 0x14], edi
mov byte [ebp - 4], 0xb
mov eax, dword [edi + 4]
mov ecx, dword [eax]
push eax
push ecx
lea ecx, [ebp - 0x18]
push ecx
mov ecx, edi
call fcn.00436670
mov byte [ebp - 4], 4
mov edi, dword [edi + 4]
push edi
call fcn.00553d26
add esp, 4
mov byte [ebp - 4], 3
lea ecx, [esi + 0x2c8]
call fcn.00433810
mov byte [ebp - 4], 2
mov eax, dword [esi + 0x2a4]
cmp eax, ebx
je 0x436b79
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp eax, ebx
je 0x436b79
mov dword [esi + 0x2a4], ebx
mov byte [ebp - 4], 1
lea ecx, [esi + 0x26c]
call fcn.0044fc90
mov byte [ebp - 4], 0
lea ecx, [esi + 0x50]
call fcn.004f9fe0
mov dword [ebp - 4], 0xc
lea edi, [esi + 0x24]
mov dword [ebp - 0x18], edi
mov byte [ebp - 4], 0xe
mov eax, dword [edi + 0x1c]
cmp eax, ebx
je 0x436bb8
push eax
call fcn.00554c82
add esp, 4
mov dword [edi + 0x1c], ebx
mov dword [edi + 0x20], ebx
mov dword [edi + 0x24], ebx
mov byte [ebp - 4], 0xc
push fcn.00419b10
push 2
push 4
add edi, 8
push edi
call fcn.00555d39
or ecx, 0xffffffff
mov dword [ebp - 4], ecx
lea eax, [esi + 8]
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], ecx
mov eax, dword [eax + 0xc]
pop edi
pop esi
cmp eax, ebx
pop ebx
je 0x436bf3
push eax
call fcn.00552eea
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.00401150
int3
Function at 0x437560
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58591a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
mov esi, ecx
push edi
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 4], edi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], eax
mov dword [eax + 0xc], edi
mov dword [ebp - 4], 1
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [ebp - 4], 2
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [esi + 0x20], eax
mov dword [ebp - 4], 4
lea ecx, [esi + 0x24]
call fcn.00452200
mov dword [ebp - 4], 6
mov ecx, dword [ebp + 8]
push edi
push ecx
lea ecx, [esi + 0x50]
call fcn.004f9d60
mov byte [ebp - 4], 7
lea eax, [esi + 0x26c]
mov dword [ebp + 8], eax
mov dword [eax + 0x10], edi
mov byte [ebp - 4], 8
lea ecx, [eax + 0x20]
mov dword [ebp - 0x14], ecx
mov dword [ecx], edi
mov dword [ecx + 4], edi
mov dword [ecx + 8], edi
mov byte [ebp - 4], 0xa
mov dword [eax + 0x2c], edi
mov dword [eax + 0x14], edi
mov dword [eax + 0x1c], 0xc0c0c0
mov dword [eax], 0x10
mov dword [eax + 4], 0xf
mov dword [eax + 8], 0x16
mov dword [eax + 0xc], 0x15
mov byte [ebp - 4], 0xb
mov dword [esi], vtable.CClipboardView.1.0
mov dword [esi + 0x50], vtable.CClipboardView.0
mov dword [esi + 0x2a0], edi
mov dword [esi + 0x2a4], edi
mov byte [ebp - 4], 0xc
lea ecx, [esi + 0x2c8]
mov dword [esi + 0x2a8], edi
call fcn.004a3030
mov byte [ebp - 4], 0xd
lea ebx, [esi + 0x2d8]
push 0x18
mov dword [ebp - 0x14], ebx
mov dword [ebx + 8], edi
call fcn.0055549a
add esp, 4
cmp eax, edi
je 0x437731
mov dword [ebx + 4], eax
mov dword [eax], eax
mov eax, dword [ebx + 4]
mov dword [eax + 4], eax
mov eax, dword [ebx + 4]
mov dword [eax + 8], eax
mov edx, dword [ebx + 4]
mov byte [edx + 0x14], 1
mov eax, dword [ebx + 4]
mov byte [eax + 0x15], 1
mov byte [ebp - 4], 0x11
lea eax, [esi + 0x300]
mov dword [esi + 0x2fc], edi
lea ecx, [eax + 8]
mov dword [eax + 4], edi
mov dword [ebp + 8], eax
mov dword [ebp - 0x14], ecx
mov dword [ecx + 0xc], edi
mov byte [ebp - 4], 0x13
mov dword [eax + 0x18], edi
mov dword [eax + 0x1c], edi
mov byte [ebp - 4], 0x14
mov ecx, dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [eax + 0x20], ecx
mov byte [ebp - 4], 0x16
mov dword [eax], vtable.CPagedHeaderCtrl.0
mov dword [eax + 0x24], edi
mov dword [eax + 0x28], edi
mov dword [eax + 0x2c], edi
mov dword [eax + 0x30], edi
mov byte [ebp - 4], 0x17
lea ecx, [esi + 0x34c]
mov byte [esi + 0x348], 1
call fcn.004a3030
mov byte [ebp - 4], 0x18
mov edx, dword [0x5f5774]
mov eax, dword [edx + 0xc]
lea edi, [esi + 0x360]
mov ecx, 0x5f5774
mov dword [ebp + 8], edi
call eax
add eax, 0x10
mov dword [edi], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
lea ecx, [ebp + 8]
push ecx
lea ecx, [ebp - 0x20]
mov dword [ebp + 8], edi
call fcn.00553e83
mov byte [ebp - 4], 0xe
mov dword [ebp - 0x20], vtable.std::bad_alloc.0
mov byte [ebp - 4], 0xd
push 0x5c69bc
lea edx, [ebp - 0x20]
push edx
call fcn.00554cbc
int3
Function at 0x438d40
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x585be8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x20]
push edi
sub eax, 0x10
xor edi, edi
push eax
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
call fcn.004021d0
lea ebx, [eax + 0x10]
add esp, 4
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], 1
mov edx, dword [esi + 4]
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x18]
push ecx
push 0xb0
push 0x481
push edx
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
cmp ecx, eax
jne 0x438dcc
mov eax, dword [esi + 0x20]
mov eax, dword [eax - 0xc]
cmp eax, edi
je 0x438e65
lea ecx, [eax + eax + 2]
push ecx
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
jmp 0x438e68
sub eax, ecx
lea edx, [eax + eax + 2]
push edx
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
mov eax, dword [ebp - 0x14]
push eax
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x10]
call fcn.0041e300
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x10]
call fcn.00407d40
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x438e1d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 0x18]
lea edx, [ebp - 0x1c]
push ecx
push edx
lea ecx, [ebp - 0x10]
call fcn.004326e0
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x10]
call fcn.00407d40
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x438e60
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [ebp - 0x10]
jmp 0x438e68
mov edi, dword [ebp - 0x1c]
test edi, edi
je 0x438eb5
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edx, eax
mov ecx, ebx
sub edx, ebx
lea esp, [esp]
movzx eax, word [ecx]
mov word [edx + ecx], ax
add ecx, 2
test ax, ax
jne 0x438e80
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.USER32.dll_OpenClipboard]
call dword [sym.imp.USER32.dll_EmptyClipboard]
push edi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov dword [ebp - 4], 0xffffffff
add ebx, 0xfffffff0
lea edx, [ebx + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x438ed8
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x439510
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x585cb0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
lea eax, [ebp - 0x1c]
push eax
mov ebx, ecx
call dword [sym.imp.USER32.dll_GetCaretPos]
movzx ecx, word [ebp - 0x18]
movzx edx, word [ebp - 0x1c]
mov eax, dword [ebx + 4]
shl ecx, 0x10
or ecx, edx
push ecx
push 0
push 0xd7
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
cwde
cmp eax, 0xffffffff
je 0x439692
mov edx, dword [ebx + 0x28]
lea ecx, [ebx + 0x28]
push esi
movzx eax, ax
push edi
mov edi, dword [edx - 0xc]
mov dword [ebp - 0x10], eax
cmp eax, edi
jne 0x43957a
dec eax
mov dword [ebp - 0x10], eax
test eax, eax
js 0x4395b7
cmp eax, edi
jg 0x4395b7
cmp word [edx + eax*2], 0x3b
jne 0x43958d
dec eax
mov dword [ebp - 0x10], eax
test eax, eax
js 0x4395ab
lea edx, [edx + eax*2]
test eax, eax
js 0x4395b4
cmp eax, edi
jg 0x4395b4
cmp word [edx], 0x3b
je 0x4395c1
sub edx, 2
dec eax
jns 0x439594
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x10], 0
jmp 0x4395c4
mov dword [ebp - 0x10], eax
push 0x80070057
call fcn.00401150
mov dword [ebp - 0x10], eax
lea edx, [ebp - 0x10]
push edx
push 0x59d694
lea eax, [ebp - 0x14]
push eax
call fcn.0041cc80
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
push 0x59c2bc
push ecx
call fcn.00416b60
add esp, 8
pop edi
pop esi
test al, al
je 0x43966c
push 0x59e4c4
add ebx, 0x24
lea edx, [ebp - 0x10]
push ebx
push edx
call fcn.00425e40
add esp, 0xc
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [ebp - 0x10]
call fcn.00406040
mov eax, dword [ebp - 0x10]
cmp dword [eax - 4], 1
jle 0x439635
mov eax, dword [eax - 0xc]
push eax
lea ecx, [ebp - 0x10]
call fcn.00403bd0
mov eax, dword [ebp - 0x10]
push 7
push 0
push 0
push eax
push 0x59bf70
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43966c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x439692
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0xc]
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x43b0e0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x583a78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x210
mov eax, dword [ebp + 0x10]
shr eax, 0x10
mov dword [ebp - 0x10], ecx
test eax, eax
je 0x43b129
mov ecx, dword [ebp + 0x14]
mov dword [ecx], 0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10
push ebx
mov ebx, dword [ebp + 0xc]
push edi
mov dword [ebp + 0x14], ebx
xor edi, edi
mov dword [ebp - 4], edi
push ebx
call dword [sym.imp.USER32.dll_GetMenuItemCount]
test eax, eax
jle 0x43b279
push esi
push 0x30
lea edx, [ebp - 0x40]
push 0
push edx
call fcn.00555020
push 0x110
lea eax, [ebp - 0x150]
push 0
push eax
mov dword [ebp - 0x40], 0x30
call fcn.00555020
add esp, 0x18
lea ecx, [ebp - 0x154]
push ecx
mov dword [ebp - 0x154], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x43b1a4
mov eax, dword [ebp - 0x150]
cmp eax, 5
jae 0x43b1ab
cmp eax, 4
jne 0x43b1a4
cmp dword [ebp - 0x14c], 0x5a
jae 0x43b1ab
mov dword [ebp - 0x40], 0x2c
lea eax, [ebp - 0x40]
push eax
push 1
push edi
lea edx, [ebp - 0x21c]
push ebx
mov dword [ebp - 0x18], 0x64
mov dword [ebp - 0x3c], 0x3f
mov dword [ebp - 0x1c], edx
call dword [sym.imp.USER32.dll_GetMenuItemInfoW]
test dword [ebp - 0x38], 0x100
jne 0x43b268
push 0x10
call fcn.0055549a
mov esi, eax
add esp, 4
test esi, esi
je 0x43b268
mov eax, dword [ebp - 0x38]
or eax, 0x100
mov dword [ebp - 0x38], eax
mov dword [esi + 4], eax
mov ecx, dword [ebp - 0x34]
mov dword [esi + 8], ecx
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x43b210
add ecx, 0xfffffd94
jmp 0x43b212
xor ecx, ecx
push esi
lea edx, [ebp - 0x40]
push edx
call fcn.00439820
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
xor ecx, ecx
inc eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0053f875
add esp, 4
mov dword [esi], eax
test eax, eax
je 0x43b257
lea ecx, [ebp - 0x21c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea edx, [ebp - 0x40]
push edx
push 1
push edi
push ebx
mov dword [ebp - 0x20], esi
call dword [sym.imp.USER32.dll_SetMenuItemInfoW]
push ebx
inc edi
call dword [sym.imp.USER32.dll_GetMenuItemCount]
cmp edi, eax
jl 0x43b146
pop esi
mov ecx, dword [ebp - 0x10]
lea eax, [ebp + 0x10]
push eax
add ecx, 0x20
mov dword [ebp + 0x10], ebx
call fcn.00425c60
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10