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

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
push dword [ecx + 0xc]
push dword [ecx + 4]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x408a36
push eax
push eax
push eax
push eax
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x408a36
mov esi, 1
jmp 0x408a38
xor esi, esi
mov eax, dword [ebp + 8]
or ecx, 0xffffffff
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x408a53
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x408c10
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
lea eax, [ebp - 4]
mov edi, ecx
push eax
push 0x20006
push 0
push dword [edi + 0xc]
mov esi, 1
push dword [edi + 4]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x408c3c
xor esi, esi
jmp 0x408c70
push 4
lea eax, [ebp + 0xc]
push eax
push 4
push 0
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
xor ecx, ecx
test eax, eax
cmovne esi, ecx
cmp dword [edi + 8], ecx
jne 0x408c67
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 8]
or ecx, 0xffffffff
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x408c8b
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x408de0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
lea eax, [ebp - 4]
mov edi, ecx
push eax
push 0x20006
push 0
push dword [edi + 0xc]
mov esi, 1
push dword [edi + 4]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x408e0c
xor esi, esi
jmp 0x408e40
push 4
lea eax, [ebp + 0xc]
push eax
push 4
push 0
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
xor ecx, ecx
test eax, eax
cmovne esi, ecx
cmp dword [edi + 8], ecx
jne 0x408e37
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 8]
or ecx, 0xffffffff
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x408e5b
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x409020
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [0x6d9120]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov esi, ecx
mov edi, 1
cmp dword [eax - 0xc], 0xfe
jg 0x4090e7
lea edx, [ebp - 0x204]
sub edx, eax
movzx ecx, word [eax]
lea eax, [eax + 2]
mov word [edx + eax - 2], cx
test cx, cx
jne 0x409054
lea eax, [ebp - 0x208]
push eax
push 0x20006
push 0
push dword [esi + 0xc]
push dword [esi + 4]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4090e7
lea ecx, [ebp - 0x204]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x409090
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
lea eax, [ebp - 0x204]
push eax
push 1
push 0
push dword [ebp + 8]
push dword [ebp - 0x208]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
xor ecx, ecx
test eax, eax
cmovne edi, ecx
cmp dword [esi + 8], ecx
jne 0x4090d9
push dword [ebp - 0x208]
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
push dword [ebp - 0x208]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4090e9
xor edi, edi
mov edx, dword [ebp + 8]
or esi, 0xffffffff
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x409106
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], esi
dec esi
test esi, esi
jg 0x40911e
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.005dddbe
mov esp, ebp
pop ebp
ret 8

Function at 0x4092b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
movzx eax, word [ebp + 8]
mov dword [ebp + 8], eax
pop ebp
jmp fcn.004224b1
Function at 0x409990
Capabilities:
Create process on windows
Self delete

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x63417b
mov eax, dword fs:[0]
push eax
sub esp, 0x268
mov eax, dword [0x6d9120]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x44
lea eax, [ebp - 0x274]
push 0
push eax
call fcn.005e24e0
add esp, 0xc
mov dword [ebp - 0x274], 0x44
lea eax, [ebp - 0x218]
xorps xmm0, xmm0
movups xmmword [ebp - 0x230], xmm0
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
call fcn.00414a71
mov ecx, eax
test ecx, ecx
jne 0x409a0d
push 0x80004005
call fcn.00402e30
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x21c], eax
push 0x2e
push str.cmd__C_ping__n_6__w_500_127.0.0.1__NUL__del__
lea ecx, [ebp - 0x21c]
mov dword [ebp - 4], 0
call fcn.00405f70
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x409a40
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x21c]
call fcn.00403870
mov esi, dword [ebp - 0x21c]
mov eax, dword [esi - 0xc]
mov dword [ebp - 0x220], eax
lea edi, [eax + 1]
test edi, edi
jns 0x409a82
push 0x80070057
call fcn.00402e30
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edi
or eax, ecx
jge 0x409aa5
push edi
lea ecx, [ebp - 0x21c]
call fcn.00405990
mov esi, dword [ebp - 0x21c]
mov eax, dword [ebp - 0x220]
mov ecx, 0x22
mov word [esi + eax*2], cx
cmp edi, dword [esi - 8]
jg 0x409a78
xor eax, eax
mov dword [esi - 0xc], edi
mov word [esi + edi*2], ax
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x274]
push eax
push 0
push 0
push 0x8000000
push 0
push 0
push 0
push esi
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x409b07
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005dddbe
mov esp, ebp
pop ebp
ret

Function at 0x409d60
Capabilities:
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x6d9120]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov esi, eax
test esi, esi
je 0x409dba
push edi
push 0x20000000
push str.PffSvc
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
test edi, edi
je 0x409db2
lea eax, [ebp - 0x20]
push eax
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_ControlService]
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.005dddbe
mov esp, ebp
pop ebp
ret
Function at 0x409dd0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x6d9120]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
call fcn.00409b30
mov ecx, esi
call fcn.00409b80
push dword [esi + 0xcc]
mov ecx, 0x6e2be0
call fcn.00406290
call fcn.0040bda0
push str.Add_Remove_Programs_Properties
push 0
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
je 0x409f70
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetWindow]
push 5
push eax
call ebx
mov esi, eax
test esi, esi
je 0x409f6f
push edi
mov edi, dword [sym.imp.USER32.dll_GetWindowTextW]
nop dword [eax]
push 0x208
lea eax, [ebp - 0x20c]
push eax
push esi
call edi
test eax, eax
jle 0x409e8f
mov eax, str.Install_Uninstall
lea ecx, [ebp - 0x20c]
nop
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x409e86
test dx, dx
je 0x409e82
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x409e86
add ecx, 4
add eax, 4
test dx, dx
jne 0x409e60
xor eax, eax
jmp 0x409e8b
sbb eax, eax
or eax, 1
test eax, eax
je 0x409eab
push 5
push esi
call ebx
mov esi, eax
test esi, esi
jne 0x409e40
pop edi
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005dddbe
mov esp, ebp
pop ebp
ret
push 5
push esi
call ebx
push 0
push eax
call ebx
test eax, eax
je 0x409f6e
push 2
push eax
call ebx
mov esi, eax
test esi, esi
je 0x409f6e
mov ebx, dword [sym.imp.USER32.dll_GetClassNameW]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
nop dword [eax + eax]
push 0x208
lea eax, [ebp - 0x20c]
push eax
push esi
call ebx
test eax, eax
jle 0x409f43
mov ecx, str.ListBox
lea eax, [ebp - 0x20c]
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x409f26
test dx, dx
je 0x409f22
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x409f26
add eax, 4
add ecx, 4
test dx, dx
jne 0x409f00
xor eax, eax
jmp 0x409f2b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x409f43
push str.PassIDform
push 0xffffffffffffffff
push 0x18f
push esi
call edi
cmp eax, 0xffffffff
jne 0x409f63
push 2
push esi
call dword [sym.imp.USER32.dll_GetWindow]
mov esi, eax
test esi, esi
jne 0x409ee0
pop edi
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005dddbe
mov esp, ebp
pop ebp
ret
push 0
push eax
push 0x182
push esi
call edi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.005dddbe
mov esp, ebp
pop ebp
ret
Function at 0x40b220
Capabilities:
Copy file
Persist via lnk shortcut

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6343a6
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x6d9120]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x218]
push eax
call fcn.0040bfe0
add esp, 4
test eax, eax
je 0x40b36f
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40b270
sub eax, edx
sar eax, 1
cmp word [ebp + eax*2 - 0x21a], 0x5c
je 0x40b2a6
lea edi, [ebp - 0x218]
add edi, 0xfffffffe
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x40b293
mov eax, dword [0x656500]
mov dword [edi], eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x220]
call fcn.00403300
push 0xe
push str.PassIDform.lnk
lea ecx, [ebp - 0x220]
mov dword [ebp - 4], 0
call fcn.00403870
mov eax, dword [0x6e33f8]
add eax, 0xfffffff0
push eax
call fcn.00403a40
add eax, 0x10
add esp, 4
mov dword [ebp - 0x21c], eax
push 1
push 0x656500
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], 1
call fcn.00403870
push 0xe
push str.PassIDform.lnk
lea ecx, [ebp - 0x21c]
call fcn.00403870
mov esi, dword [ebp - 0x21c]
push 0
push dword [ebp - 0x220]
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea edx, [esi - 0x10]
mov byte [ebp - 4], 0
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40b346
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x220]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x40b368
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, 1
jmp 0x40b371
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005dddbe
mov esp, ebp
pop ebp
ret
Function at 0x40b3f0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6343d8
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x6d9120]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0xc]
push esi
call fcn.0040bf60
add esp, 4
push 0
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x40b4af
call fcn.00414a71
mov ecx, eax
test ecx, ecx
jne 0x40b445
push 0x80004005
call fcn.00402e30
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push esi
push dword [ebp + 8]
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 0
push str.Cannot_copy_from_nFile_:__s__nto_nFile_:__s
push eax
call fcn.0040a070
mov esi, dword [ebp - 0x10]
push 0
push 0
push 0x657b54
push esi
call fcn.0040a7d0
add esp, 0x20
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x40b49d
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40b4d0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe54
mov eax, dword [0x6d9120]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push edi
lea eax, [ebp - 0xc04]
push str._s.
push eax
call fcn.004079d0
add esp, 0xc
lea eax, [ebp - 0xe54]
push eax
lea eax, [ebp - 0xc04]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x40b666
nop dword [eax]
test byte [ebp - 0xe54], 0x10
lea eax, [ebp - 0xe28]
je 0x40b603
mov ecx, 0x656548
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40b56e
test dx, dx
je 0x40b56a
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40b56e
add eax, 4
add ecx, 4
test dx, dx
jne 0x40b548
xor eax, eax
jmp 0x40b573
sbb eax, eax
or eax, 1
test eax, eax
je 0x40b649
mov eax, 0x65654c
lea ecx, [ebp - 0xe28]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x40b5ac
test dx, dx
je 0x40b5a8
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x40b5ac
add ecx, 4
add eax, 4
test dx, dx
jne 0x40b586
xor eax, eax
jmp 0x40b5b1
sbb eax, eax
or eax, 1
test eax, eax
je 0x40b649
lea eax, [ebp - 0xe28]
push eax
push edi
lea eax, [ebp - 0x804]
push str._s_s
push eax
call fcn.004079d0
lea eax, [ebp - 0xe28]
push eax
push ebx
lea eax, [ebp - 0x404]
push str._s_s
push eax
call fcn.004079d0
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x804]
push eax
call fcn.0040b4d0
add esp, 0x28
jmp 0x40b649
push eax
push edi
lea eax, [ebp - 0x804]
push str._s_s
push eax
call fcn.004079d0
lea eax, [ebp - 0xe28]
push eax
push ebx
lea eax, [ebp - 0x404]
push str._s_s
push eax
call fcn.004079d0
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x804]
push eax
call fcn.0040b3f0
add esp, 0x28
test eax, eax
je 0x40b67c
lea eax, [ebp - 0xe54]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x40b530
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005dddbe
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005dddbe
mov esp, ebp
pop ebp
ret
Function at 0x40bf60
Capabilities:
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push esi
call fcn.0040b390
add esp, 4
test eax, eax
je 0x40bf87
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, 1
pop esi
pop ebp
ret

Function at 0x40d040
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x6d9120]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x118]
mov dword [ebp - 0x118], 0x114
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x40d093
cmp dword [ebp - 0x108], 2
jne 0x40d093
cmp dword [ebp - 0x114], 6
jb 0x40d093
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005dddbe
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.005dddbe
mov esp, ebp
pop ebp
ret

Function at 0x40dff0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push 0x44
lea eax, [ebp - 0x54]
push 0
push eax
call fcn.005e24e0
add esp, 0xc
mov dword [ebp - 0x54], 0x44
lea eax, [ebp - 0x10]
xorps xmm0, xmm0
movups xmmword [ebp - 0x10], xmm0
push eax
lea eax, [ebp - 0x54]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x40e03c
mov esp, ebp
pop ebp
ret
push 0xffffffffffffffff
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x40e3e0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
cmp byte [esi + 0x230], 0
mov byte [esi + 0x231], 1
je 0x40e42c
push dword [esi + 0x1c]
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push dword [esi + 0x24]
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
je 0x40e42c
cmp dword [ebp - 4], 0x103
jne 0x40e42c
push 2
push dword [esi + 0x24]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [esi + 0x24]
test eax, eax
je 0x40e441
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x24], 0
mov word [esi + 0x230], 0
mov dword [esi + 0x228], 0
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4106f0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x6d9120]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x110
xor esi, esi
lea eax, [ebp - 0x114]
push esi
push eax
call fcn.005e24e0
add esp, 0xc
mov dword [ebp - 0x118], 0x114
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x410745
cmp dword [ebp - 0x114], 6
mov eax, 1
cmovae esi, eax
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.005dddbe
mov esp, ebp
pop ebp
ret
Function at 0x411c70
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push edi
xor edi, edi
push edi
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x411cf2
push ebx
push esi
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov esi, dword [ebp + 8]
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x411c91
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x411cea
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, eax
test ecx, ecx
je 0x411cea
sub ecx, esi
movzx eax, word [esi]
lea esi, [esi + 2]
mov word [ecx + esi - 2], ax
test ax, ax
jne 0x411cc5
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
mov edi, 1
call dword [sym.imp.USER32.dll_CloseClipboard]
pop esi
pop ebx
mov eax, edi
pop edi
pop ebp
ret 4
Function at 0x411d00
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x830
mov eax, dword [0x6d9120]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x830], eax
push ebx
mov ebx, dword [ebp + 8]
test eax, eax
je 0x411f19
cmp word [eax], 0
je 0x411f19
push 0x410
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.005e24e0
add esp, 0xc
xor ecx, ecx
nop word [eax + eax]
movzx eax, word [ecx + str.Software_]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x416], ax
test ax, ax
jne 0x411d50
push esi
push edi
test ebx, ebx
je 0x411dc6
cmp word [ebx], ax
je 0x411dc6
mov esi, ebx
mov ax, word [ebx]
add ebx, 2
test ax, ax
jne 0x411d74
lea edi, [ebp - 0x414]
sub ebx, esi
add edi, 0xfffffffe
nop word [eax + eax]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x411d90
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x414]
add edi, 0xfffffffe
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x411db3
mov eax, dword [0x656500]
mov dword [edi], eax
push 0x410
lea eax, [ebp - 0x824]
push 0
push eax
call fcn.005e24e0
add esp, 0xc
lea eax, [ebp - 0x824]
push 0x206
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x824]
push 0x5c
push eax
call fcn.005e1bc4
mov edx, eax
add esp, 8
test edx, edx
jne 0x411e0f
lea edx, [ebp - 0x824]
jmp 0x411e12
add edx, 2
mov esi, edx
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x411e14
lea edi, [ebp - 0x414]
sub edx, esi
add edi, 0xfffffffe
nop word [eax + eax]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x411e30
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x414]
add edi, 0xfffffffe
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x411e53
mov eax, dword [0x656500]
lea ecx, [ebp - 0x414]
mov dword [edi], eax
add ecx, 0xfffffffe
pop edi
pop esi
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x411e71
mov eax, dword [str.XMessageBox]
mov dword [ecx], eax
mov eax, dword [0x6584fc]
mov dword [ecx + 4], eax
mov eax, dword [0x658500]
mov dword [ecx + 8], eax
mov eax, dword [0x658504]
mov dword [ecx + 0xc], eax
mov eax, dword [0x658508]
mov dword [ecx + 0x10], eax
mov eax, dword [0x65850c]
mov dword [ecx + 0x14], eax
lea eax, [ebp - 0x82c]
push eax
lea eax, [ebp - 0x828]
mov dword [ebp - 0x82c], 0
push eax
push 0
push 0x20006
push 0
push 0
push 0
lea eax, [ebp - 0x414]
mov dword [ebp - 0x828], 0
push eax
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x411f19
push 4
lea eax, [ebp + 0x10]
push eax
push 4
push 0
push dword [ebp - 0x830]
push dword [ebp - 0x828]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x828]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.005dddbe
mov esp, ebp
pop ebp
ret