joyce8/EMBER2024-capa huggingface dataset:
Function at 0x462cd0
Capabilities:
Delete service

Disassembly:
push ebp
mov ebp, esp
push esi
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov esi, eax
test esi, esi
jne 0x462cf1
mov eax, 0x80004003
pop esi
pop ebp
ret
push ebx
push edi
push 0xf01ff
push dword [ebp + 8]
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
test edi, edi
jne 0x462d1b
push esi
mov ebx, 0x80004005
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop edi
mov eax, ebx
pop ebx
pop esi
pop ebp
ret
push edi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
neg eax
push edi
sbb ebx, ebx
and ebx, 0x7fffbffb
add ebx, 0x80004005
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop edi
mov eax, ebx
pop ebx
pop esi
pop ebp
ret

Function at 0x462e40
Capabilities:
Accept command line arguments
Start service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53bba1
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [0x594624]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
push 0xf003f
push 0
push 0
mov dword [ebp - 0x118], eax
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov esi, eax
mov dword [ebp - 0x124], esi
mov dword [ebp - 4], 0
test esi, esi
jne 0x462ea6
mov eax, 0x80004003
jmp 0x462f9e
push 0xf01ff
push edi
push esi
mov byte [ebp - 4], 1
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
mov dword [ebp - 0x128], edi
test edi, edi
jne 0x462ecd
mov ebx, 0x80004005
jmp 0x462f95
push dword [ebp - 0x118]
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x11c], 0
xor ebx, ebx
call fcn.00462770
push dword [eax]
lea ecx, [ebp - 0x120]
mov byte [ebp - 4], 2
call fcn.00415b40
mov eax, dword [ebp - 0x114]
lea ecx, [ebp - 0x110]
mov byte [ebp - 4], 1
cmp eax, ecx
je 0x462f18
push eax
call fcn.00505774
add esp, 4
mov eax, dword [ebp - 0x120]
cmp dword [eax - 0xc], 0
je 0x462f34
lea ecx, [ebp - 0x11c]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ebx, eax
push ebx
push dword [ebp - 0x11c]
push edi
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
mov dword [ebp - 0x118], eax
test ebx, ebx
je 0x462f59
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 0x118]
xor ecx, ecx
mov ebx, 0x80004005
test eax, eax
cmovne ebx, ecx
mov ecx, dword [ebp - 0x120]
add ecx, 0xfffffff0
or eax, 0xffffffff
mov dword [ebp - 0x118], ecx
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x462f8e
mov ecx, dword [ecx]
push dword [ebp - 0x118]
mov edx, dword [ecx]
call dword [edx + 4]
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00493dce
mov esp, ebp
pop ebp
ret
Function at 0x463320
Capabilities:
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x594624]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov esi, eax
test esi, esi
jne 0x46335f
pop edi
mov eax, 0x80004003
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00493dce
mov esp, ebp
pop ebp
ret
push ebx
push 0xf01ff
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov ebx, eax
test ebx, ebx
jne 0x46337a
mov edi, 0x80004005
jmp 0x4633b1
lea eax, [ebp - 0x20]
mov dword [ebp - 8], 0
push eax
xorps xmm0, xmm0
push 1
push ebx
movups xmmword [ebp - 0x20], xmm0
movq qword [ebp - 0x10], xmm0
call dword [sym.imp.ADVAPI32.dll_ControlService]
neg eax
push ebx
sbb edi, edi
and edi, 0x7fffbffb
add edi, 0x80004005
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ecx, dword [ebp - 4]
mov eax, edi
pop ebx
pop edi
xor ecx, ebp
pop esi
call fcn.00493dce
mov esp, ebp
pop ebp
ret
Function at 0x4638d0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
cmp dword [esi + 8], 0
je 0x4638e7
mov eax, 0x8000ffff
pop esi
mov esp, ebp
pop ebp
ret
push edi
push 0
lea edi, [esi + 0x24]
push edi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
test eax, eax
jne 0x463912
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x46390c
movzx eax, ax
or eax, 0x80070000
test eax, eax
js 0x463a2b
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
push 0
push 0
push 0
mov byte [edi + 0x18], 1
call ebx
mov dword [esi + 0x40], eax
test eax, eax
jne 0x463949
cmp byte [edi + 0x18], al
je 0x46393d
push edi
mov byte [edi + 0x18], al
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
call fcn.0042be20
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0
push 0
push 0
push 0
call ebx
mov edi, eax
test edi, edi
jne 0x463982
call fcn.0042be20
push 0x2710
mov ecx, esi
mov edi, eax
call fcn.00463a60
test eax, eax
jns 0x463a28
test edi, edi
pop ebx
cmovns edi, eax
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0
push 0
push edi
mov ecx, esi
call fcn.00463500
mov dword [ebp - 4], eax
test eax, eax
jns 0x4639b2
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x2710
mov ecx, esi
call fcn.00463a60
mov eax, dword [ebp - 4]
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0
push 0
push 0
push 0
call ebx
mov ebx, eax
test ebx, ebx
je 0x463959
push 0
push 0
push ebx
mov ecx, esi
call fcn.00463500
mov edi, eax
test edi, edi
jns 0x4639f0
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x2710
mov ecx, esi
call fcn.00463a60
pop ebx
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea eax, [esi + 4]
push eax
push 0
push esi
push 0x463d80
push 0
push 0
call fcn.0050903e
add esp, 0x18
mov dword [esi], eax
test eax, eax
je 0x463959
push 0xffffffffffffffff
push dword [esi + 0x40]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x463a28
call fcn.0042be20
mov edi, eax
mov eax, edi
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4658c0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53c030
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
mov eax, dword [0x594624]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push str.UtilsCefRes.dll
lea eax, [ebp - 0x14]
xor ebx, ebx
push esi
push eax
call fcn.00459b10
add esp, 0xc
push dword [ebp - 0x14]
mov dword [ebp - 4], ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x465946
mov edx, dword [ebp - 0x14]
or eax, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x465a4a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.UtilsCefHelper.dll
lea eax, [ebp - 0x10]
push esi
push eax
call fcn.00459b10
add esp, 0xc
push dword [ebp - 0x10]
mov byte [ebp - 4], 1
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4659c0
mov edx, dword [ebp - 0x10]
or esi, 0xffffffff
mov eax, esi
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x46598a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x465a4a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x10]
call fcn.00471250
add esp, 4
test eax, eax
je 0x465969
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x465969
push 0x550ea8
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x465969
push str.3.2623.1401.0
call eax
push eax
push str.install_cef_nRet_d
call fcn.00453ab0
mov edx, dword [ebp - 0x10]
or esi, 0xffffffff
add esp, 8
mov byte [ebp - 4], 0
mov ebx, 1
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x465a2b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], esi
dec esi
test esi, esi
jg 0x465a4a
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x466590
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x594624]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.004daa30
lea eax, [ebp - 0x224]
mov dword [ebp - 0x22c], 1
push 2
push eax
mov dword [ebp - 0x228], 0x208
call fcn.0042de70
add esp, 0x14
cmp dword [eax + 0x14], 8
jb 0x4665e3
mov eax, dword [eax]
push ebx
lea ecx, [ebp - 0x228]
push ecx
lea ecx, [ebp - 0x20c]
push ecx
lea ecx, [ebp - 0x22c]
push ecx
push str.Setup_Path
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov edx, dword [ebp - 0x210]
test eax, eax
sete bl
cmp edx, 8
jb 0x46664b
mov ecx, dword [ebp - 0x224]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x466641
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4666ba
push edx
push ecx
call fcn.004939be
add esp, 8
test bl, bl
pop ebx
je 0x4666aa
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4666aa
push 0x558814
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4666aa
lea eax, [ebp - 0x20c]
push eax
call fcn.00471250
add esp, 4
test eax, eax
je 0x4666aa
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00493dce
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.00493dce
mov esp, ebp
pop ebp
ret
call fcn.004e61b8
int3
Function at 0x466d20
Capabilities:
Check if file exists
Copy file
Delete file
Get common file path
Move file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1004
call fcn.00493de0
mov eax, dword [0x594624]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
test ebx, ebx
je 0x466e74
test esi, esi
je 0x466e74
push 0x800
lea eax, [ebp - 0x1004]
push 0
push eax
call fcn.004daa30
push 0x800
lea eax, [ebp - 0x804]
push 0
push eax
call fcn.004daa30
push 0x400
lea eax, [ebp - 0x1004]
push esi
push eax
call fcn.00508ade
add esp, 0x24
lea eax, [ebp - 0x1004]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x1004]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x466e50
push esi
push str.Dest_File_Exist:__s
call fcn.00453ab0
push esi
call fcn.00452730
add esp, 0xc
test eax, eax
jne 0x466e50
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push str.Delete_File__s_Failed__error___d
call fcn.00453ab0
add esp, 0xc
lea eax, [ebp - 0x804]
push eax
push 0
push 0x54e460
lea eax, [ebp - 0x1004]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x804]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x466e89
lea eax, [ebp - 0x804]
push eax
push esi
push str.Rename_File__s_to__s_success
call fcn.00453ab0
add esp, 0xc
lea eax, [ebp - 0x804]
push 4
push 0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test edi, edi
je 0x466e50
mov dword [edi], 4
push 0
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x466ec1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push ebx
push str.Copy_From__s_to__s_Failed_Error_Code___d
call fcn.00453ab0
add esp, 0x10
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00493dce
mov esp, ebp
pop ebp
ret 0xc
push esi
push str.Rename_File__s_failed__replace_until_reboot
call fcn.00453ab0
add esp, 8
lea eax, [ebp - 0x804]
push 0
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push 5
push esi
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test edi, edi
je 0x466ec1
mov dword [edi], 5
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00493dce
mov esp, ebp
pop ebp
ret 0xc
Function at 0x468030
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53c516
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x594624]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x24c], ecx
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x244], 0
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x23c], 0
mov dword [ebp - 4], 0
mov ecx, str.ComputerZ_Tray
mov eax, ebx
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4680bc
test dx, dx
je 0x4680b8
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4680bc
add eax, 4
add ecx, 4
test dx, dx
jne 0x468096
xor eax, eax
jmp 0x4680c1
sbb eax, eax
or eax, 1
test eax, eax
lea eax, [ebp - 0x230]
push 0x1c
push eax
jne 0x468101
call fcn.0042de70
add esp, 8
cmp dword [eax + 0x14], 8
jb 0x4680de
mov eax, dword [eax]
push 0x2001f
push eax
push SysReAllocString
lea ecx, [ebp - 0x244]
call fcn.0042fbb0
lea ecx, [ebp - 0x230]
call fcn.00421a70
jmp 0x46813c
call fcn.0042de70
add esp, 8
cmp dword [eax + 0x14], 8
jb 0x468111
mov eax, dword [eax]
push 0x2001f
push eax
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x244]
call fcn.0042fbb0
lea ecx, [ebp - 0x230]
mov esi, eax
call fcn.00421a70
test esi, esi
jne 0x46825a
call fcn.00412c30
mov ecx, eax
test ecx, ecx
je 0x46828d
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x238], eax
push dword [edi + 8]
lea eax, [ebp - 0x238]
mov byte [ebp - 4], 1
push dword [edi]
push str._s__s
push eax
call fcn.0041de00
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004daa30
mov edi, dword [ebp - 0x244]
lea eax, [ebp - 0x234]
add esp, 0x1c
mov dword [ebp - 0x234], 0x208
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x248]
push eax
push 0
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4681de
mov eax, dword [ebp - 0x248]
cmp eax, 1
je 0x4681cc
cmp eax, 2
jne 0x4681de
cmp dword [ebp - 0x234], 0
jne 0x4681de
xor eax, eax
mov word [ebp - 0x218], ax
mov esi, dword [ebp - 0x238]
lea eax, [ebp - 0x218]
push eax
push esi
call fcn.005055ff
add esp, 8
test eax, eax
je 0x468225
test esi, esi
je 0x468225
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x468201
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push esi
push 1
push 0
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [ebp - 0x24c]
push 0
push str.Computer_Z
call fcn.00469320
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x468253
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, 1
jmp 0x468262
mov edi, dword [ebp - 0x244]
xor esi, esi
test edi, edi
je 0x46826d
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00493dce
mov esp, ebp
pop ebp
ret 8
push 0x80004005
call fcn.0040b4c0
int3
Function at 0x469320
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53c740
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x594624]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ebp + 0xc], 0
mov edi, dword [ebp + 8]
je 0x46940c
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push 0x1c
push eax
call fcn.0042de70
add esp, 8
cmp dword [eax + 0x14], 8
jb 0x46938a
mov eax, dword [eax]
push 0x2021f
push eax
push SysReAllocString
lea ecx, [ebp - 0x4c]
call fcn.0042fbb0
lea ecx, [ebp - 0x28]
mov esi, eax
call fcn.00421a70
mov ebx, dword [ebp - 0x4c]
test esi, esi
jne 0x4693b6
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 1
push 0x1c
push eax
call fcn.0042de70
add esp, 8
cmp dword [eax + 0x14], 8
jb 0x4693e5
mov eax, dword [eax]
push 0x2021f
push eax
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x1c]
call fcn.0042fbb0
lea ecx, [ebp - 0x40]
mov esi, eax
call fcn.00421a70
test esi, esi
mov esi, dword [ebp - 0x1c]
jmp 0x4694bb
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 2
push 0x1c
push eax
call fcn.0042de70
add esp, 8
cmp dword [eax + 0x14], 8
jb 0x46943e
mov eax, dword [eax]
push 0x2001f
push eax
push SysReAllocString
lea ecx, [ebp - 0x1c]
call fcn.0042fbb0
lea ecx, [ebp - 0x40]
mov esi, eax
call fcn.00421a70
mov ebx, dword [ebp - 0x1c]
test esi, esi
jne 0x46946a
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 3
push 0x1c
push eax
call fcn.0042de70
add esp, 8
cmp dword [eax + 0x14], 8
jb 0x469499
mov eax, dword [eax]
push 0x2001f
push eax
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x4c]
call fcn.0042fbb0
lea ecx, [ebp - 0x40]
mov esi, eax
call fcn.00421a70
test esi, esi
mov esi, dword [ebp - 0x4c]
jne 0x4694c5
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x4694d2
push esi
call edi
test ebx, ebx
je 0x4694d9
push ebx
call edi
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00493dce
mov esp, ebp
pop ebp
ret 8
Function at 0x469910
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53c808
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x594624]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp word [0x59a1d0], 0
jne 0x469954
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0x100
push eax
push 0x59a1d0
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
call fcn.00412c30
mov ecx, eax
test ecx, ecx
je 0x4699c0
mov eax, dword [ecx]
call dword [eax + 0xc]
mov esi, dword [ebp + 8]
add eax, 0x10
mov dword [esi], eax
push 0x59a1d0
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.0041db10
test al, al
jne 0x4699ac
mov ecx, 0x59a1d0
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x469990
sub ecx, edx
sar ecx, 1
push ecx
push 0x59a1d0
mov ecx, esi
call fcn.0040e3c0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.0040b4c0
int3
Function at 0x46b310
Capabilities:
Check os version

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x160
mov eax, dword [0x594624]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [0x594564]
test ecx, ecx
js 0x46b358
xor eax, eax
test ecx, ecx
setne al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00493dce
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push 0x118
xorps xmm0, xmm0
mov dword [0x594564], 0
lea eax, [ebp - 0x124]
movaps xmmword [ebp - 0x160], xmm0
push 0
push eax
movaps xmmword [ebp - 0x150], xmm0
mov dword [ebp - 0x140], 0
call fcn.004daa30
add esp, 0xc
mov dword [ebp - 0x128], 0x11c
lea eax, [ebp - 0x128]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x46b3c9
lea eax, [ebp - 0x128]
mov dword [ebp - 0x128], 0x114
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x46b420
push str.GetNativeSystemInfo
push 0x54d368
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x46b420
lea ecx, [ebp - 0x160]
push ecx
call eax
mov ax, word [ebp - 0x160]
cmp ax, 9
je 0x46b400
cmp ax, 6
jne 0x46b420
mov dword [0x594564], 1
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00493dce
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.00493dce
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret

Function at 0x46bee0
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
mov eax, 0x2aaaaaab
push esi
push edi
mov edi, dword [ebx + 4]
mov ecx, edi
mov esi, dword [ebx]
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x46bf58
cmp esi, edi
je 0x46bf25
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x46bf1a
mov eax, dword [esi]
push eax
call edi
add esi, 0x18
cmp esi, dword [ebx + 4]
jne 0x46bf10
lea eax, [ebp + 8]
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
push 0
push dword [ebp + 8]
push 0
push 0x8000000
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
push dword [ebp + 8]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
pop edi
pop esi
mov eax, 1
pop ebx
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret