joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405aee
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
push edi
push dword [esp + 0xc]
mov esi, 0x7a4748
push esi
call fcn.00406032
push esi
call fcn.00405a91
mov edi, eax
test edi, edi
jne 0x405b0f
xor eax, eax
jmp 0x405b67
push edi
call fcn.004062c6
test byte [0x7a8a58], 0x80
je 0x405b2c
mov ax, word [edi]
test ax, ax
je 0x405b0b
cmp ax, 0x5c
je 0x405b0b
sub edi, esi
sar edi, 1
jmp 0x405b46
call fcn.00406375
test eax, eax
je 0x405b40
test byte [eax], 0x10
je 0x405b0b
push esi
call fcn.00405a32
push esi
call sub.KERNEL32.dll_lstrlenW
cmp eax, edi
push esi
jg 0x405b32
call fcn.004059e6
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
pop edi
pop esi
ret 4

Function at 0x405be2
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push esi
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
cmp esi, 0xffffffff
je 0x405c01
and al, 0xfe
push eax
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov eax, esi
pop esi
ret 4

Function at 0x405c07
Capabilities:
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, eax
push 0
inc ecx
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
push dword [esp + 0x14]
push 0
push 1
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
ret 0xc

Function at 0x405c36
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, dword [ebp + 8]
push edi
push 0x64
pop edi
mov eax, dword [0x40a570]
dec edi
mov dword [ebp - 8], eax
mov eax, dword [0x40a574]
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x1a
xor edx, edx
pop ecx
div ecx
push esi
lea eax, [ebp - 8]
push 0
push eax
push dword [ebp + 0xc]
add word [ebp - 4], dx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x405c86
test edi, edi
jne 0x405c43
and word [esi], di
pop edi
pop esi
leave
ret 8
mov eax, esi
jmp 0x405c80
Function at 0x405d61
Capabilities:
Get file size

Disassembly:
push ebx
push ebp
push esi
push edi
mov ebx, 0x7a55e0
push 0x40a594
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov esi, dword [esp + 0x18]
mov ebp, dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
test esi, esi
mov edi, 0x400
je 0x405daf
push 1
push 0
push esi
call fcn.00405c07
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push ebx
push esi
call ebp
test eax, eax
je 0x405ece
cmp eax, edi
jg 0x405ece
mov esi, 0x7a5de0
push edi
push esi
push dword [esp + 0x1c]
call ebp
test eax, eax
je 0x405ece
cmp eax, edi
jg 0x405ece
push esi
push ebx
push str._ls_ls_r_n
push 0x7a51e0
call dword [sym.imp.USER32.dll_wsprintfA]
mov ebx, eax
mov eax, dword [0x7a8a50]
add esp, 0x10
push dword [eax + 0x128]
push esi
call fcn.00406054
push 4
push 0xc0000000
push esi
call fcn.00405c07
mov ebp, eax
cmp ebp, 0xffffffff
mov dword [esp + 0x18], ebp
je 0x405ece
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
lea eax, [edi + ebx + 0xa]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x405ec7
push edi
push esi
push ebp
call fcn.00405c8a
test eax, eax
je 0x405ec7
push str._Rename__r_n
push esi
call fcn.00405b6c
test eax, eax
jne 0x405e65
lea eax, [esi + edi]
push str._Rename__r_n
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
add edi, 0xa
jmp 0x405e9a
add eax, 0xa
push 0x40a578
push eax
call fcn.00405b6c
mov ebp, eax
test ebp, ebp
je 0x405e96
lea ecx, [esi + edi]
lea eax, [ecx + ebx]
jmp 0x405e87
mov dl, byte [ecx]
mov byte [eax], dl
dec eax
dec ecx
cmp ecx, ebp
ja 0x405e81
sub ebp, esi
inc ebp
mov eax, ebp
mov ebp, dword [esp + 0x18]
jmp 0x405e9c
mov ebp, dword [esp + 0x18]
mov eax, edi
push ebx
add eax, esi
push 0x7a51e0
push eax
call fcn.00405bc2
xor eax, eax
push eax
push eax
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
add edi, ebx
push edi
push esi
push ebp
call fcn.00405cb9
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x405ed3
Capabilities:
Move file

Disassembly:
push 5
push dword [esp + 0xc]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x405ef6
push dword [esp + 8]
push dword [esp + 8]
call fcn.00405d61
pop ecx
pop ecx
inc dword [0x7a8ad0]
ret 8
Function at 0x405eff
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push esi
lea eax, [ebp + 0x18]
push edi
push eax
mov eax, dword [ebp + 0x18]
xor edi, edi
neg eax
sbb eax, eax
mov esi, dword [ebp + 0x14]
and eax, 0x100
or eax, 0x20019
mov word [esi], di
push eax
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x405f73
lea eax, [ebp + 0xc]
mov dword [ebp + 0xc], 0x800
push eax
lea eax, [ebp + 0x14]
push esi
push eax
push edi
push dword [ebp + 0x10]
push dword [ebp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x405f60
cmp dword [ebp + 0x14], 1
je 0x405f63
cmp dword [ebp + 0x14], 2
je 0x405f63
mov word [esi], di
push dword [ebp + 0x18]
mov word [esi + 0x7fe], di
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
ret 0x14
Function at 0x40639c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x4063c0
xor eax, eax
test eax, eax
je 0x4063d3
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x4063d3
xor ecx, ecx
jmp 0x4063d6
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
leave
ret 4

Function at 0x4064b9
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x7a65e4], 0
push esi
jne 0x4064f0
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x4064ca
mov dword [ecx*4 + 0x7a65e0], eax
inc ecx
cmp ecx, 0x100
jl 0x4064c5
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406521
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x7a65e0]
xor eax, esi
inc ecx
dec edx
jne 0x406503
pop edi
not eax
pop esi
ret 0xc
Function at 0x10001010
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x14
push esi
lea eax, [esp + 4]
push eax
push 0x20
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x1000109b
lea ecx, [esp + 0xc]
push ecx
push str.SeLoadDriverPrivilege
push esi
mov dword [esp + 0x14], 1
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
test eax, eax
jne 0x10001058
push str.Cant_lookup_privilege_value._n
call esi
mov eax, dword [esp + 4]
push 0
push 0
push 0x10
lea edx, [esp + 0x14]
push edx
push 0
push eax
mov dword [esp + 0x2c], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
jne 0x10001083
push str.Cant_adjust_privilege_value._n
call esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 4]
mov esi, eax
neg esi
sbb esi, esi
push ecx
inc esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
add esp, 0x14
ret

Function at 0x100010f0
Capabilities:
Create service
Start service

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0x18]
push edi
push 0xf003f
push 0
push 0
mov ebx, eax
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
test edi, edi
jne 0x10001112
pop edi
pop ebp
pop ebx
ret
push esi
mov esi, ebp
push 4
neg esi
sbb esi, esi
lea eax, [esp + 0x28]
push str.___
push ebx
and esi, eax
call fcn.100082fe
add esp, 0xc
test eax, eax
jne 0x10001136
add ebx, 8
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
push 0
push 0
push 0
push esi
push ebp
push ebx
push 1
push ecx
push 1
push 0xf01ff
push edx
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov esi, eax
test esi, esi
jne 0x10001172
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop esi
pop edi
pop ebp
xor eax, eax
pop ebx
ret
push 0
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test eax, eax
jne 0x10001194
call esi
push edi
call esi
pop esi
pop edi
pop ebp
xor eax, eax
pop ebx
ret
call esi
push edi
call esi
pop esi
pop edi
pop ebp
mov eax, 1
pop ebx
ret
Function at 0x100014c0
Capabilities:
Get file version info

Disassembly:
sub esp, 0xc
push ebx
push ebp
mov ebp, dword [esp + 0x18]
push esi
lea eax, [esp + 0x10]
push eax
push ebp
xor ebx, ebx
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
test esi, esi
jne 0x100014e4
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
push edi
push esi
call fcn.10001eec
mov edi, eax
add esp, 4
test edi, edi
jne 0x100014fc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
push edi
push esi
push 0
push ebp
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x10001537
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x14]
push edx
push 0x1000a510
push edi
call sub.VERSION.dll_VerQueryValueA
mov edx, dword [esp + 0x24]
mov ebx, eax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [edx], ecx
mov ecx, dword [esp + 0x28]
mov dword [ecx], eax
push edi
call fcn.10001e0f
add esp, 4
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0xc
ret

Function at 0x10001550
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x130
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x12c], eax
push ebx
push esi
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
jne 0x10001592
xor eax, eax
pop esi
pop ebx
mov ecx, dword [esp + 0x12c]
xor ecx, esp
call fcn.10001e00
mov esp, ebp
pop ebp
ret
push 0x128
xor ebx, ebx
lea eax, [esp + 0xc]
push ebx
push eax
call fcn.10006940
add esp, 0xc
lea ecx, [esp + 8]
push ecx
push esi
mov dword [esp + 0x10], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x100015f5
mov edi, edi
cmp dword [esp + 0x10], 0x14
jbe 0x100015d7
push edi
lea edx, [esp + 0x30]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x100015f0
lea eax, [esp + 8]
push eax
push esi
mov dword [esp + 0x10], 0x128
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x100015c0
jmp 0x100015f5
mov ebx, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x134]
pop esi
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.10001e00
mov esp, ebp
pop ebp
ret
Function at 0x10001620
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
sub esp, 0x21c
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x218], eax
push esi
mov esi, dword [sym.imp.SHLWAPI.dll_SHGetValueA]
push edi
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x14]
push edx
push str.installpath
push str.SOFTWARE_risingRav
mov edi, 0x104
push 0x80000002
mov dword [esp + 0x24], 1
mov dword [esp + 0x20], edi
call esi
test eax, eax
je 0x100016a5
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x14]
push edx
push str.installpath
push str.SOFTWARE_risingRis
push 0x80000002
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], 1
call esi
test eax, eax
jne 0x10001727
push str.RavMonD.exe
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x124]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineA]
test eax, eax
je 0x10001727
lea edx, [esp + 0x11c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x10001727
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x124]
push edx
call fcn.100014c0
add esp, 0xc
test eax, eax
je 0x10001727
mov eax, dword [esp + 0x10]
shr eax, 0x10
cmp eax, 0x15
jne 0x10001727
mov edi, str.RavMonD.exe
call fcn.10001550
test eax, eax
je 0x10001727
pop edi
mov eax, 1
pop esi
mov ecx, dword [esp + 0x218]
xor ecx, esp
call fcn.10001e00
add esp, 0x21c
ret
mov ecx, dword [esp + 0x220]
pop edi
pop esi
xor ecx, esp
xor eax, eax
call fcn.10001e00
add esp, 0x21c
ret
Function at 0x10001740
Capabilities:
Delete registry value

Disassembly:
sub esp, 0x92c
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x928], eax
mov eax, dword [esp + 0x930]
push ebp
mov ebp, dword [esp + 0x93c]
push esi
mov esi, ecx
mov dword [esp + 8], eax
test esi, esi
je 0x10001789
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10001773
sub eax, edx
sar eax, 1
cmp eax, 0x104
ja 0x100017e6
test edi, edi
je 0x100017ff
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10001792
sub eax, edx
sar eax, 1
cmp eax, 0x12c
ja 0x100017e6
mov eax, ebp
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x100017b0
sub eax, edx
sar eax, 1
cmp eax, 0x12c
ja 0x100017e6
mov eax, ebx
lea edx, [eax + 2]
jmp 0x100017d0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x100017d0
sub eax, edx
sar eax, 1
cmp eax, 0x12c
jbe 0x100017ff
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x928]
xor ecx, esp
call fcn.10001e00
add esp, 0x92c
ret
push 0x91c
lea ecx, [esp + 0x18]
push 0
push ecx
call fcn.10006940
add esp, 0xc
test esi, esi
je 0x1000182f
lea edx, [esp + 0x14]
mov eax, esi
sub edx, esi
nop
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x10001820
test edi, edi
je 0x1000184f
lea edx, [esp + 0x224]
mov eax, edi
sub edx, edi
mov edi, edi
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x10001840
test ebx, ebx
je 0x1000186f
lea edx, [esp + 0x480]
mov eax, ebx
sub edx, ebx
mov edi, edi
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x10001860
test ebp, ebp
je 0x1000188f
lea edx, [esp + 0x6d8]
mov eax, ebp
sub edx, ebp
mov edi, edi
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x10001880
mov edx, dword [esp + 0x93c]
mov eax, dword [esp + 0x944]
push 0
lea ecx, [esp + 0x14]
push ecx
push 0
push 0
push 0x91c
mov dword [esp + 0x234], edx
lea edx, [esp + 0x28]
push edx
mov dword [esp + 0x494], eax
mov eax, dword [esp + 0x20]
push 0x222000
push eax
mov dword [esp + 0x23c], 1
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x100017e6
lea ecx, [esp + 8]
push ecx
push str.SYSTEMCurrentControlSetServices
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x10001935
mov eax, dword [esp + 8]
lea edx, [esp + 0xc]
push edx
push ebp
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x1000192e
mov ecx, dword [esp + 0xc]
push str.DeleteFlag
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov edx, dword [esp + 0xc]
push edx
call esi
mov eax, dword [esp + 8]
push eax
call esi
mov ecx, dword [esp + 0x930]
pop esi
pop ebp
xor ecx, esp
mov eax, 1
call fcn.10001e00
add esp, 0x92c
ret
Function at 0x10001960
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
sub esp, 0x214
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x210], eax
lea eax, [esp + 4]
push eax
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 8]
push edx
push str.Install
push str.SOFTWARETencentQQDoctor
push 0x80000002
mov dword [esp + 0x18], 1
mov dword [esp + 0x1c], 0x104
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x10001a04
push str.QQDoctorRtp.exe
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x114]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineA]
test eax, eax
je 0x10001a04
lea edx, [esp + 0x10c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x10001a04
push edi
mov edi, str.QQDoctorRtp.exe
call fcn.10001550
pop edi
test eax, eax
je 0x10001a04
mov eax, 1
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.10001e00
add esp, 0x214
ret
mov ecx, dword [esp + 0x210]
xor ecx, esp
xor eax, eax
call fcn.10001e00
add esp, 0x214
ret
Function at 0x10001ca0
Capabilities:
Delete registry key
Delete service

Disassembly:
push esi
push edi
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov esi, eax
test esi, esi
je 0x10001cee
push 0xf01ff
push 0x1000a5bc
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov edi, eax
test edi, edi
jne 0x10001cd7
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x10001cee
push edi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test eax, eax
jne 0x10001d11
call edi
push esi
call edi
push str.SYSTEMCurrentControlSetServicesEfiMon
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
test eax, eax
je 0x10001d16
cmp eax, 3
je 0x10001d16
cmp eax, 2
je 0x10001d16
pop edi
xor eax, eax
pop esi
ret
call edi
push esi
call edi
pop edi
mov eax, 1
pop esi
ret

Function at 0x10001e00
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [section..data]
jne 0x10001e0a
repz ret
jmp fcn.10002204

Function at 0x100053b6
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.1000380c
and dword [ebp - 4], 0
cmp dword [0x1000d614], 0
mov ebx, eax
jne 0x10005467
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x10005518
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x10005518
push eax
call fcn.1000379a
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x1000d614], eax
call esi
push eax
call fcn.1000379a
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x1000d618], eax
call esi
push eax
call fcn.1000379a
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x1000d61c], eax
call esi
push eax
call fcn.1000379a
pop ecx
mov dword [0x1000d624], eax
test eax, eax
je 0x10005467
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.1000379a
pop ecx
mov dword [0x1000d620], eax
mov eax, dword [0x1000d620]
cmp eax, ebx
je 0x100054bf
cmp dword [0x1000d624], ebx
je 0x100054bf
push eax
call fcn.10003815
push dword [0x1000d624]
mov esi, eax
call fcn.10003815
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x100054bf
test edi, edi
je 0x100054bf
call esi
test eax, eax
je 0x100054b6
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x100054b6
test byte [ebp - 0xc], 1
jne 0x100054bf
or dword [ebp + 0x10], 0x200000
jmp 0x100054f8
mov eax, dword [0x1000d618]
cmp eax, ebx
je 0x100054f8
push eax
call fcn.10003815
pop ecx
test eax, eax
je 0x100054f8
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x100054f8
mov eax, dword [0x1000d61c]
cmp eax, ebx
je 0x100054f8
push eax
call fcn.10003815
pop ecx
test eax, eax
je 0x100054f8
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x1000d614]
call fcn.10003815
pop ecx
test eax, eax
je 0x10005518
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x1000551a
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4a8861
Capabilities:
Packed with generic packer

Disassembly:
call fcn.004a89a7
pushal
mov ebx, dword [eax - 0x45]
cmp ebx, 0
jne 0x4a89ab
mov dword [eax - 0x25], ebx
mov ebx, dword [eax - 0x41]
mov dword [eax - 0x21], ebx
mov ebx, dword [eax - 0x3d]
mov dword [eax - 0x1d], ebx
mov ebx, dword [eax - 0x39]
mov dword [eax - 0x19], ebx
mov ebx, dword [eax - 0x35]
mov dword [eax - 0x15], ebx
mov ebx, dword [eax - 0x31]
mov dword [eax - 0x11], ebx
mov ebx, dword [eax - 0x2d]
mov dword [eax - 0xd], ebx
mov ebx, dword [eax - 0x29]
mov dword [eax - 9], ebx
mov ecx, eax
mov ebx, dword [eax - 0x21]
sub ecx, ebx
mov dword [eax - 0x21], ecx
add dword [eax - 0x1d], ecx
add dword [eax - 0x15], ecx
call fcn.004a88f0
mov esi, dword [eax - 0x1d]
mov edi, dword [eax - 0x19]
cmp esi, dword [eax - 0x25]
je 0x4a88db
mov bl, byte [esi]
mov ecx, dword [eax - 0x25]
sub ecx, dword [eax - 0x21]
add ecx, 0x5a
xor bl, cl
mov byte [esi], bl
inc esi
dec edi
cmp edi, 0
jne 0x4a88bb
jmp 0x4a89ab
add esi, 4
sub edi, 4
call fcn.004a88f0
cmp edi, 0
jne 0x4a88bb
jmp 0x4a89ab
mov ebx, 1
mov dword [eax - 0x45], ebx
popal
jmp 0x442c75

Function at 0x4a9347
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push edi
mov byte [ebp - 0x14], 0x56
mov byte [ebp - 0x13], 0x69
mov byte [ebp - 0x12], 0x72
mov byte [ebp - 0x11], 0x74
mov byte [ebp - 0x10], 0x75
mov byte [ebp - 0xf], 0x61
mov byte [ebp - 0xe], 0x6c
mov byte [ebp - 0xd], 0x41
mov byte [ebp - 0xc], 0x6c
mov byte [ebp - 0xb], 0x6c
mov byte [ebp - 0xa], 0x6f
mov byte [ebp - 9], 0x63
mov byte [ebp - 8], 0
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp + 8]
call dword [eax + 4]
mov dword [ebp - 4], eax
push 0x40
push 0x1000
push 0x40
push 0
call dword [ebp - 4]
mov dword [ebp - 0x18], eax
mov ecx, 0x10
xor eax, eax
mov edi, dword [ebp - 0x18]
rep stosd dword es:[edi], eax
push 0x40
push 0x1000
push 0x70
push 0
call dword [ebp - 4]
mov ecx, dword [ebp - 0x18]
mov dword [ecx], eax
mov eax, dword [ebp - 0x18]
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x4ab1c6
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x14], 8
mov eax, dword [ebp + 0x14]
xor edx, edx
div dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
jmp 0x4ab1f7
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp - 0x18]
jae 0x4ab240
mov dword [ebp - 8], 0
jmp 0x4ab211
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x14]
jae 0x4ab23e
mov ecx, dword [ebp - 8]
imul ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x10]
add edx, ecx
mov eax, dword [ebp + 0x10]
add eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
mov al, byte [eax]
mov byte [ecx + edx], al
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
jmp 0x4ab208
jmp 0x4ab1ee
jmp 0x4ab24b
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
mov eax, dword [ebp + 0x14]
sub eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 8]
imul ecx, dword [ebp - 0x14]
add eax, ecx
cmp dword [ebp - 0xc], eax
jae 0x4ab271
mov edx, dword [ebp + 0xc]
add edx, dword [ebp - 0xc]
mov eax, dword [ebp + 0x10]
add eax, dword [ebp - 0xc]
mov cl, byte [eax]
mov byte [edx], cl
jmp 0x4ab242
mov edx, dword [ebp + 0xc]
add edx, dword [ebp + 0x14]
mov al, byte [edx - 1]
mov byte [ebp - 4], al
mov dword [ebp - 0xc], 0
jmp 0x4ab28f
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp + 0x14]
sub edx, 1
cmp dword [ebp - 0xc], edx
jae 0x4ab2b9
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 0xc]
xor ecx, ecx
mov cl, byte [eax]
mov edx, dword [ebp - 4]
and edx, 0xff
xor ecx, edx
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 0xc]
mov byte [eax], cl
jmp 0x4ab286
mov eax, 1
mov esp, ebp
pop ebp
ret