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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1318
call fcn.1009e2b0
mov eax, dword [0x1019bc84]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [eax]
mov dword [ebp - 0x1318], ecx
cmp dword [edi - 0xc], 0x104
jg 0x10069198
push 0x800
lea eax, [ebp - 0x1304]
push 0
push eax
call fcn.100e3030
push 0x800
lea eax, [ebp - 0xb04]
push 0
push eax
call fcn.100e3030
push edi
lea eax, [ebp - 0x1304]
push 0x400
push eax
call fcn.1010e35c
add esp, 0x24
test esi, esi
je 0x1006905b
cmp word [esi], 0
je 0x1006905b
push esi
lea eax, [ebp - 0x1304]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0xfe
lea eax, [ebp - 0x102]
push 0
push eax
call fcn.100e3030
mov edi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
add esp, 0xc
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor esi, esi
nop
xor eax, eax
xorps xmm0, xmm0
mov word [ebp - 0x104], ax
lea eax, [ebp - 0x1314]
push eax
movups xmmword [ebp - 0x1314], xmm0
call dword [sym.imp.ole32.dll_CoCreateGuid]
push 0x200
lea eax, [ebp - 0x304]
push 0
push eax
call fcn.100e3030
movzx eax, byte [ebp - 0x1305]
push eax
movzx eax, byte [ebp - 0x1306]
push eax
movzx eax, byte [ebp - 0x1307]
push eax
movzx eax, byte [ebp - 0x1308]
push eax
movzx eax, byte [ebp - 0x1309]
push eax
movzx eax, byte [ebp - 0x130a]
push eax
movzx eax, byte [ebp - 0x130b]
push eax
movzx eax, byte [ebp - 0x130c]
push eax
movzx eax, word [ebp - 0x130e]
push eax
movzx eax, word [ebp - 0x1310]
push eax
push dword [ebp - 0x1314]
lea eax, [ebp - 0x304]
push str._08X__04X__04x__02X_02X__02X_02X_02X_02X_02X_02X
push eax
call fcn.1000ee80
lea eax, [ebp - 0x304]
add esp, 0x40
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10069126
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x304]
push eax
lea eax, [ebp - 0x104]
push 0x80
push eax
call fcn.1010e48d
add esp, 0x10
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x1304]
push eax
lea eax, [ebp - 0xb04]
push eax
call edi
push str..tmp
lea eax, [ebp - 0xb04]
push 0x400
push eax
call fcn.1010e287
add esp, 0xc
lea eax, [ebp - 0xb04]
push eax
call ebx
test eax, eax
je 0x100691ab
inc esi
cmp esi, 0xa
jl 0x10069080
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1009de58
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0xb04]
lea esi, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x100691b4
mov ecx, dword [ebp - 0x1318]
lea eax, [ebp - 0xb04]
sub edx, esi
sar edx, 1
push edx
push eax
call fcn.1000d5b0
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1009de58
mov esp, ebp
pop ebp
ret
Function at 0x1006afc0
Capabilities:
Check if file exists
Create directory
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x3004
call fcn.1009e2b0
mov eax, dword [0x1019bc84]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x800
lea eax, [ebp - 0x804]
mov edi, ecx
push 0
push eax
call fcn.100e3030
add esp, 0xc
lea eax, [ebp - 0x804]
push 1
push 0x17
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x804]
push 0x10155ba8
push eax
push eax
call esi
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [ebp - 0x804]
push eax
call ebx
test eax, eax
jne 0x1006b04f
push eax
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea eax, [ebp - 0x804]
push eax
push str.Create_directory_:__s
call fcn.100684f0
add esp, 8
push 0x800
lea eax, [ebp - 0x1804]
push 0
push eax
call fcn.100e3030
add esp, 0xc
lea eax, [ebp - 0x804]
push 0x10160794
push eax
lea eax, [ebp - 0x1804]
push eax
call esi
push 0x800
lea eax, [ebp - 0x3004]
push 0
push eax
call fcn.100e3030
add esp, 0xc
lea eax, [ebp - 0x3004]
push str.ComputerZTray.exe
push dword [edi + 4]
push eax
call esi
push 0x800
lea eax, [ebp - 0x1004]
push 0
push eax
call fcn.100e3030
add esp, 0xc
lea eax, [ebp - 0x1004]
push str.ThemesUIicon_black.ico
push dword [edi + 4]
push eax
call esi
lea eax, [ebp - 0x1004]
push eax
call ebx
test eax, eax
jne 0x1006b0fb
push 0x800
push eax
lea eax, [ebp - 0x1004]
push eax
call fcn.100e3030
add esp, 0xc
lea eax, [ebp - 0x1004]
push 0x10154d8c
push dword [edi + 4]
push eax
call esi
lea eax, [ebp - 0x1804]
push eax
call ebx
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x1006b12b
lea eax, [ebp - 0x1804]
push eax
call ebx
lea eax, [ebp - 0x1804]
push eax
push str.Delete__s
call fcn.100684f0
add esp, 8
push 0
lea eax, [ebp - 0x1004]
mov ecx, edi
push eax
lea eax, [ebp - 0x1804]
push eax
push dword [0x1019ba90]
lea eax, [ebp - 0x3004]
push eax
push 0x10155ba8
call fcn.1006bf50
push 0x800
lea eax, [ebp - 0x2804]
push 0
push eax
call fcn.100e3030
add esp, 0xc
lea eax, [ebp - 0x2804]
push str.uninst.exe
push dword [edi + 4]
push eax
call esi
push 0x800
lea eax, [ebp - 0x2004]
push 0
push eax
call fcn.100e3030
add esp, 0xc
lea eax, [ebp - 0x804]
push 0x1016090c
push eax
lea eax, [ebp - 0x2004]
push eax
call esi
lea eax, [ebp - 0x2004]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1006b1d4
lea eax, [ebp - 0x2004]
push eax
call ebx
lea eax, [ebp - 0x2004]
push eax
push str.Delete__s
call fcn.100684f0
add esp, 8
push 0
lea eax, [ebp - 0x2804]
mov ecx, edi
push eax
lea eax, [ebp - 0x2004]
push eax
push 0
lea eax, [ebp - 0x2804]
push eax
push 0x10160920
call fcn.1006bf50
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1009de58
mov esp, ebp
pop ebp
ret
Function at 0x1006b950
Capabilities:
Check if file exists
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10140d96
mov eax, dword fs:[0]
push eax
mov eax, 0x2008
call fcn.1009e2b0
mov eax, dword [0x1019bc84]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 0x800
lea eax, [ebp - 0x1810]
push 0
push eax
call fcn.100e3030
add esp, 0xc
lea eax, [ebp - 0x1810]
push 1
push 0x19
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x800
lea eax, [ebp - 0x1010]
push 0
push eax
call fcn.100e3030
mov esi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x1810]
add esp, 0xc
push 0x10160794
push eax
lea eax, [ebp - 0x1010]
push eax
call esi
push 0x800
lea eax, [ebp - 0x2010]
push 0
push eax
call fcn.100e3030
add esp, 0xc
lea eax, [ebp - 0x2010]
push str.ComputerZTray.exe
push dword [edi + 4]
push eax
call esi
push 0x800
lea eax, [ebp - 0x810]
push 0
push eax
call fcn.100e3030
add esp, 0xc
lea eax, [ebp - 0x810]
push str.ThemesUIicon_black.ico
push dword [edi + 4]
push eax
call esi
lea eax, [ebp - 0x810]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1006ba62
push 0x800
push eax
lea eax, [ebp - 0x810]
push eax
call fcn.100e3030
add esp, 0xc
lea eax, [ebp - 0x810]
push 0x10154d8c
push dword [edi + 4]
push eax
call esi
call fcn.1000ca70
mov ecx, eax
test ecx, ecx
je 0x1006bba2
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x2014], eax
push str.__fromdeskshortcut
lea ecx, [ebp - 0x2014]
mov dword [ebp - 4], 0
call fcn.1000df70
test al, al
jne 0x1006baac
push 0x14
push str.__fromdeskshortcut
lea ecx, [ebp - 0x2014]
call fcn.1000d5b0
mov edx, dword [str._ShowExaminePage]
mov dword [ebp - 4], 1
test edx, edx
jne 0x1006bac1
xor ecx, ecx
jmp 0x1006bad5
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1006bac6
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x2014]
call fcn.1002e880
lea eax, [ebp - 0x1010]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1006bb14
lea eax, [ebp - 0x1010]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x1010]
push eax
push str.Delete__s_n
call fcn.100684f0
add esp, 8
mov esi, dword [ebp - 0x2014]
lea eax, [ebp - 0x810]
push 0
push eax
lea eax, [ebp - 0x1010]
mov ecx, edi
push eax
push esi
lea eax, [ebp - 0x2010]
push eax
push 0x10155ba8
call fcn.1006bf50
push 0
push 0x2a
push 0x1a
push 0xffff
call dword [sym.imp.USER32.dll_PostMessageW]
push 0
push 0
push 0x1000
push 0x8000000
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x1006bb82
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, 1
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.1009de58
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.1000aab0
int3
Function at 0x1006c5b0
Capabilities:
Get session user name
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10140e96
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x1019bc84]
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 ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x1006c5fe
mov eax, 1
jmp 0x1006c78a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
je 0x1006c610
xor eax, eax
jmp 0x1006c78a
lea eax, [ebp - 0x234]
push 0
push eax
call fcn.10038b20
add esp, 8
lea ecx, [ebp - 0x238]
mov dword [ebp - 4], 0
call fcn.10077ee0
push 0x1a
lea ecx, [ebp - 0x238]
mov byte [ebp - 4], 1
call fcn.100780b0
mov dword [ebp - 0x23c], eax
test eax, eax
je 0x1006c685
cmp dword [ebp - 0x220], 8
lea ecx, [ebp - 0x234]
push 0xf003f
cmovae ecx, dword [ebp - 0x234]
push eax
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x238]
call fcn.100781f0
push dword [ebp - 0x23c]
call dword [sym.imp.KERNEL32.dll_LocalFree]
lea eax, [ebp - 0x240]
mov dword [ebp - 0x240], 0x105
push eax
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x238]
call fcn.10077f50
mov dword [ebp - 0x23c], eax
test eax, eax
je 0x1006c6f6
cmp dword [ebp - 0x220], 8
lea ecx, [ebp - 0x234]
push 0xf003f
cmovae ecx, dword [ebp - 0x234]
push eax
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x238]
call fcn.100781f0
push dword [ebp - 0x23c]
call dword [sym.imp.KERNEL32.dll_LocalFree]
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x1006c70a
mov esi, 1
jmp 0x1006c772
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
je 0x1006c719
xor esi, esi
jmp 0x1006c772
push 1
lea ecx, [ebp - 0x238]
call fcn.100780b0
mov dword [ebp - 0x23c], eax
test eax, eax
je 0x1006c767
cmp dword [ebp - 0x220], 8
lea ecx, [ebp - 0x234]
push 0xf003f
cmovae ecx, dword [ebp - 0x234]
push eax
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x238]
call fcn.100781f0
push dword [ebp - 0x23c]
call dword [sym.imp.KERNEL32.dll_LocalFree]
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov esi, eax
lea ecx, [ebp - 0x238]
call fcn.10077ef0
lea ecx, [ebp - 0x234]
call fcn.100106a0
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.1009de58
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10074380
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2010
call fcn.1009e2b0
mov eax, dword [0x1019bc84]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x2004]
push edi
mov edi, dword [ebp + 0xc]
push 0x2000
push 0
push eax
call fcn.100e3030
add esp, 0xc
lea eax, [ebp - 0x200c]
push eax
push esi
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x10074427
cmp eax, 0x1fff
ja 0x10074427
lea ecx, [ebp - 0x2004]
push ecx
push eax
push 0
push esi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x10074427
lea eax, [ebp - 0x2010]
push eax
lea eax, [ebp - 0x2008]
push eax
push 0x10151d64
lea eax, [ebp - 0x2004]
push eax
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x10074427
mov eax, dword [ebp - 0x2008]
movzx eax, word [eax + 0xa]
mov dword [edi], eax
mov eax, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1009de58
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.1009de58
mov esp, ebp
pop ebp
ret 8

Function at 0x10074820
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x1019bc84]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.100e3030
lea eax, [ebp - 0x224]
mov dword [ebp - 0x228], 1
push 9
push eax
mov dword [ebp - 0x22c], 0x208
call fcn.10038b20
add esp, 0x14
cmp dword [eax + 0x14], 8
jb 0x10074873
mov eax, dword [eax]
push ebx
lea ecx, [ebp - 0x22c]
push ecx
lea ecx, [ebp - 0x20c]
push ecx
lea ecx, [ebp - 0x228]
push ecx
push str.ProgramFilesDir
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 0x100748df
mov ecx, dword [ebp - 0x224]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100748d5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10074983
push edx
push ecx
call fcn.1009de6e
add esp, 8
test bl, bl
pop ebx
jne 0x10074900
push dword [ebp - 0x22c]
lea eax, [ebp - 0x20c]
push eax
push str.ProgramFiles
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x10074935
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10074910
sub ecx, edx
sar ecx, 1
cmp word [ebp + ecx*2 - 0x20e], 0x5c
je 0x10074935
mov dword [ebp + ecx*2 - 0x20c], 0x5c
push 0x103
push str.Internet_ExplorerIEXPLORE.EXE
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.10114ffb
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x228]
add esp, 0x10
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.10074380
cmp dword [ebp - 0x228], 7
mov ecx, dword [ebp - 4]
sbb eax, eax
xor ecx, ebp
inc eax
call fcn.1009de58
mov esp, ebp
pop ebp
ret 4
call fcn.100ffdb3
int3
Function at 0x10074990
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x1019bc84]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [0x1019bb0c]
test ecx, ecx
js 0x100749c4
xor eax, eax
test ecx, ecx
setne al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1009de58
mov esp, ebp
pop ebp
ret 4
push 0x118
xorps xmm0, xmm0
mov dword [0x1019bb0c], 0
lea eax, [ebp - 0x11c]
mov dword [ebp - 0x124], 0
push 0
push eax
movups xmmword [ebp - 0x144], xmm0
movups xmmword [ebp - 0x134], xmm0
call fcn.100e3030
add esp, 0xc
mov dword [ebp - 0x120], 0x11c
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x10074a35
lea eax, [ebp - 0x120]
mov dword [ebp - 0x120], 0x114
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x10074a8b
push str.GetNativeSystemInfo
push 0x10151e80
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10074a8b
lea ecx, [ebp - 0x144]
push ecx
call eax
mov ax, word [ebp - 0x144]
cmp ax, 9
je 0x10074a6c
cmp ax, 6
jne 0x10074a8b
mov dword [0x1019bb0c], 1
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1009de58
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.1009de58
mov esp, ebp
pop ebp
ret 4

Function at 0x10074c90
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x1019bc84]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
cmp dword [eax + 8], 5
jne 0x10074d60
cmp dword [eax + 0xc], 1
jb 0x10074d60
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.100e3030
lea eax, [ebp - 0x224]
mov dword [ebp - 0x22c], 1
push 8
push eax
mov dword [ebp - 0x228], 0x208
call fcn.10038b20
add esp, 0x14
cmp dword [eax + 0x14], 8
jb 0x10074cfa
mov eax, dword [eax]
push esi
lea ecx, [ebp - 0x228]
push ecx
lea ecx, [ebp - 0x20c]
push ecx
lea ecx, [ebp - 0x22c]
push ecx
push str.CSDVersion
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea ecx, [ebp - 0x224]
mov esi, eax
call fcn.100106a0
test esi, esi
pop esi
jne 0x10074d60
lea eax, [ebp - 0x20c]
push str.Service_Pack_2
push eax
call fcn.1010dcf2
add esp, 8
test eax, eax
js 0x10074d60
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1009de58
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.1009de58
mov esp, ebp
pop ebp
ret 4
Function at 0x10076b90
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101423e0
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x1019bc84]
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 0x10076c7c
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.10038b20
add esp, 8
cmp dword [eax + 0x14], 8
jb 0x10076bfa
mov eax, dword [eax]
push 0x2021f
push eax
push SysReAllocString
lea ecx, [ebp - 0x4c]
call fcn.1003a860
lea ecx, [ebp - 0x28]
mov esi, eax
call fcn.100106a0
mov ebx, dword [ebp - 0x4c]
test esi, esi
jne 0x10076c26
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.10038b20
add esp, 8
cmp dword [eax + 0x14], 8
jb 0x10076c55
mov eax, dword [eax]
push 0x2021f
push eax
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x1c]
call fcn.1003a860
lea ecx, [ebp - 0x40]
mov esi, eax
call fcn.100106a0
test esi, esi
mov esi, dword [ebp - 0x1c]
jmp 0x10076d2b
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.10038b20
add esp, 8
cmp dword [eax + 0x14], 8
jb 0x10076cae
mov eax, dword [eax]
push 0x2001f
push eax
push SysReAllocString
lea ecx, [ebp - 0x1c]
call fcn.1003a860
lea ecx, [ebp - 0x40]
mov esi, eax
call fcn.100106a0
mov ebx, dword [ebp - 0x1c]
test esi, esi
jne 0x10076cda
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.10038b20
add esp, 8
cmp dword [eax + 0x14], 8
jb 0x10076d09
mov eax, dword [eax]
push 0x2001f
push eax
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x4c]
call fcn.1003a860
lea ecx, [ebp - 0x40]
mov esi, eax
call fcn.100106a0
test esi, esi
mov esi, dword [ebp - 0x4c]
jne 0x10076d35
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x10076d42
push esi
call edi
test ebx, ebx
je 0x10076d49
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.1009de58
mov esp, ebp
pop ebp
ret 8
Function at 0x10077140
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101424a8
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x1019bc84]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp word [0x101a1760], 0
jne 0x10077184
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0x100
push eax
push 0x101a1760
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
call fcn.1000ca70
mov ecx, eax
test ecx, ecx
je 0x100771f0
mov eax, dword [ecx]
call dword [eax + 0xc]
mov esi, dword [ebp + 8]
add eax, 0x10
mov dword [esi], eax
push 0x101a1760
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.1000df70
test al, al
jne 0x100771dc
mov ecx, 0x101a1760
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100771c0
sub ecx, edx
sar ecx, 1
push ecx
push 0x101a1760
mov ecx, esi
call fcn.1000d5b0
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.1000aab0
int3

Function at 0x100779d0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
cmp dword [esi + 8], 0
je 0x100779e7
mov eax, 0x8000ffff
pop esi
mov esp, ebp
pop ebp
ret
push edi
push 0
push 0
lea edi, [esi + 0x24]
push edi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionEx]
test eax, eax
jne 0x10077a14
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x10077a0e
movzx eax, ax
or eax, 0x80070000
test eax, eax
js 0x10077b2d
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 0x10077a4b
cmp byte [edi + 0x18], al
je 0x10077a3f
push edi
mov byte [edi + 0x18], al
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
call fcn.100369c0
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 0x10077a84
call fcn.100369c0
push 0x2710
mov ecx, esi
mov edi, eax
call fcn.10077b60
test eax, eax
jns 0x10077b2a
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.10077600
mov dword [ebp - 4], eax
test eax, eax
jns 0x10077ab4
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x2710
mov ecx, esi
call fcn.10077b60
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 0x10077a5b
push 0
push 0
push ebx
mov ecx, esi
call fcn.10077600
mov edi, eax
test edi, edi
jns 0x10077af2
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x2710
mov ecx, esi
call fcn.10077b60
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 0x10077e70
push 0
push 0
call fcn.10111b0a
add esp, 0x18
mov dword [esi], eax
test eax, eax
je 0x10077a5b
push 0xffffffffffffffff
push dword [esi + 0x40]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x10077b2a
call fcn.100369c0
mov edi, eax
mov eax, edi
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10077f50
Capabilities:
Get user security identifier

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x1019bc84]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x214], 0x104
test edi, edi
je 0x10078014
lea eax, [ebp - 0x218]
mov dword [ebp - 0x210], 0
push eax
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x210]
push eax
push 0
push edi
push 0
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x10078014
mov eax, dword [ebp - 0x210]
test eax, eax
je 0x10078014
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
test esi, esi
je 0x10078014
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x210]
push eax
push esi
push edi
push 0
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
test eax, eax
je 0x1007800d
pop edi
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1009de58
mov esp, ebp
pop ebp
ret 4
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.1009de58
mov esp, ebp
pop ebp
ret 4