joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45a480
Capabilities:
Get disk information
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52c312
mov eax, dword fs:[0]
push eax
sub esp, 0x820
mov eax, dword [0x5898bc]
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 esi, dword [ebp + 8]
mov dword [ebp - 0x82c], esi
mov dword [ebp - 0x81c], 0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
push 0x800
lea eax, [ebp - 0x818]
mov dword [ebp - 4], 0
push 0
push eax
mov dword [ebp - 0x81c], 1
call fcn.004b2720
add esp, 0xc
lea eax, [ebp - 0x818]
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov eax, dword [ebp + 0xc]
lea edi, [ebp - 0x818]
cdq
mov ebx, eax
mov eax, edx
shld eax, ebx, 0x14
mov dword [ebp - 0x820], eax
mov ax, word [ebp - 0x818]
shl ebx, 0x14
test ax, ax
je 0x45a5e5
movzx edx, ax
nop dword [eax]
mov eax, dword [0x547b54]
mov dword [ebp - 0x18], eax
mov eax, dword [0x547b58]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
push eax
mov word [ebp - 0x18], dx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x45a5bc
lea eax, [ebp - 0x828]
xorps xmm0, xmm0
push eax
push 0
push 0
lea eax, [ebp - 0x18]
movlpd qword [ebp - 0x828], xmm0
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x45a5bc
mov eax, dword [ebp - 0x820]
cmp dword [ebp - 0x824], eax
jb 0x45a5bc
ja 0x45a59f
cmp dword [ebp - 0x828], ebx
jbe 0x45a5bc
mov ecx, dword [esi + 4]
cmp dword [esi + 8], ecx
je 0x45a5b3
mov ax, word [edi]
mov word [ecx], ax
add dword [esi + 4], 2
jmp 0x45a5bc
push edi
push ecx
mov ecx, esi
call fcn.00459dc0
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45a5c1
sub ecx, edx
sar ecx, 1
lea edi, [edi + ecx*2]
movzx ecx, word [edi + 2]
add edi, 2
mov edx, ecx
test cx, cx
jne 0x45a540
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.00498678
mov esp, ebp
pop ebp
ret
Function at 0x45c800
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52c618
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x5898bc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [ebp - 0x10]
call fcn.004085f0
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x14], 0
push eax
lea eax, [esi + 4]
mov ecx, esi
push eax
call fcn.0045c0d0
mov esi, dword [ebp - 0x10]
test eax, eax
je 0x45c873
push dword [ebp - 0x14]
push esi
push 7
push str.PendingFileRenameOperations
push str.SYSTEMCurrentControlSetControlSession_Manager
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x45c892
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 esi
mov esp, ebp
pop ebp
ret

Function at 0x45cdb0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
cmp dword [esi + 8], 0
je 0x45cdc7
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 0x45cdf2
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x45cdec
movzx eax, ax
or eax, 0x80070000
test eax, eax
js 0x45cf0b
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 0x45ce29
cmp byte [edi + 0x18], al
je 0x45ce1d
push edi
mov byte [edi + 0x18], al
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
call fcn.0041ca00
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 0x45ce62
call fcn.0041ca00
push 0x2710
mov ecx, esi
mov edi, eax
call fcn.0045cf40
test eax, eax
jns 0x45cf08
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.0045c9e0
mov dword [ebp - 4], eax
test eax, eax
jns 0x45ce92
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x2710
mov ecx, esi
call fcn.0045cf40
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 0x45ce39
push 0
push 0
push ebx
mov ecx, esi
call fcn.0045c9e0
mov edi, eax
test edi, edi
jns 0x45ced0
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x2710
mov ecx, esi
call fcn.0045cf40
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 0x45d260
push 0
push 0
call fcn.004d12cd
add esp, 0x18
mov dword [esi], eax
test eax, eax
je 0x45ce39
push 0xffffffffffffffff
push dword [esi + 0x40]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x45cf08
call fcn.0041ca00
mov edi, eax
mov eax, edi
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x45dfd0
Capabilities:
Persist via run registry key
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52cae6
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x5898bc]
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 + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x228], 0
lea eax, [ebp - 0x21c]
mov dword [ebp - 4], 0
push eax
push 0x2001f
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x21c], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x45e182
mov edi, dword [ebp - 0x21c]
mov dword [ebp - 0x230], edi
mov dword [ebp - 0x22c], eax
call fcn.0040bb50
mov ecx, eax
test ecx, ecx
je 0x45e1a4
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x220], eax
push dword [esi + 8]
lea eax, [ebp - 0x220]
mov byte [ebp - 4], 1
push dword [esi]
push str._s__s
push eax
call fcn.00409150
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004b2720
add esp, 0x1c
mov dword [ebp - 0x21c], 0x208
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x224]
push eax
push 0
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x45e107
mov eax, dword [ebp - 0x224]
cmp eax, 1
je 0x45e0f5
cmp eax, 2
jne 0x45e107
cmp dword [ebp - 0x21c], 0
jne 0x45e107
xor eax, eax
mov word [ebp - 0x218], ax
mov esi, dword [ebp - 0x220]
lea eax, [ebp - 0x218]
push eax
push esi
call fcn.004cdb58
add esp, 8
test eax, eax
je 0x45e154
test esi, esi
je 0x45e154
mov ecx, esi
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45e130
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 byte [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x45e170
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, 1
test edi, edi
je 0x45e184
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x45e184
xor esi, esi
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.00498678
mov esp, ebp
pop ebp
ret 8
push 0x80004005
call fcn.00408fc0
int3
Function at 0x45f600
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52cd88
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x5898bc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp word [0x592e28], 0
jne 0x45f644
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0x100
push eax
push 0x592e28
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
call fcn.0040bb50
mov ecx, eax
test ecx, ecx
je 0x45f6b0
mov eax, dword [ecx]
call dword [eax + 0xc]
mov esi, dword [ebp + 8]
add eax, 0x10
mov dword [esi], eax
push 0x592e28
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.0040afe0
test al, al
jne 0x45f69c
mov ecx, 0x592e28
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45f680
sub ecx, edx
sar ecx, 1
push ecx
push 0x592e28
mov ecx, esi
call fcn.0040a830
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.00408fc0
int3
Function at 0x45fcf0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x5898bc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov eax, 0x593230
mov dword [ebp - 0x60], 0x6c005b
lea esi, [ebp - 0x60]
mov dword [ebp - 0x5c], 0x700073
push edi
mov dword [ebp - 0x58], 0x20005d
mov edx, 0x2e
mov dword [ebp - 0x54], 0x650073
sub esi, eax
mov dword [ebp - 0x50], 0x200074
mov dword [ebp - 0x4c], 0x650072
mov dword [ebp - 0x48], 0x6b0067
mov dword [ebp - 0x44], 0x790065
mov dword [ebp - 0x40], 0x500028
mov dword [ebp - 0x3c], 0x6f0072
mov dword [ebp - 0x38], 0x750064
mov dword [ebp - 0x34], 0x740063
mov dword [ebp - 0x30], 0x20002c
mov dword [ebp - 0x2c], 0x75006c
mov dword [ebp - 0x28], 0x610064
mov dword [ebp - 0x24], 0x680073
mov dword [ebp - 0x20], 0x290069
mov dword [ebp - 0x1c], 0x20002c
mov dword [ebp - 0x18], 0x500028
mov dword [ebp - 0x14], 0x640069
mov dword [ebp - 0x10], 0x20002c
mov dword [ebp - 0xc], 0x730025
mov dword [ebp - 8], 0x29
lea ecx, [edx + 0x7fffffd0]
test ecx, ecx
je 0x45fdd1
movzx ecx, word [esi + eax]
test cx, cx
je 0x45fdd1
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x45fdb3
test edx, edx
lea ecx, [eax - 2]
pop edi
cmovne ecx, eax
xor eax, eax
pop esi
pop ebx
mov word [ecx], ax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00498678
mov esp, ebp
pop ebp
ret
Function at 0x45ff80
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52cea8
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x5898bc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
call fcn.0040bb50
mov ecx, eax
test ecx, ecx
je 0x460101
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov edx, dword [ebp + 8]
mov dword [ebp - 4], 0
test edx, edx
je 0x460001
test edx, 0xffff0000
jne 0x45ffe7
movzx eax, dx
lea ecx, [ebp - 0x14]
push eax
call fcn.004099e0
jmp 0x46000d
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45fff0
sub ecx, esi
sar ecx, 1
jmp 0x460003
xor ecx, ecx
push ecx
push edx
lea ecx, [ebp - 0x14]
call fcn.0040a830
push str._net_netload.dll
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 1
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00447a10
add esp, 0xc
push dword [ebp - 0x10]
mov byte [ebp - 4], 2
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4600aa
push dword [ebp - 0x10]
call fcn.0046ef00
add esp, 4
test eax, eax
je 0x4600aa
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [edi], eax
test eax, eax
je 0x4600aa
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.InstallProvider
push eax
call esi
push str.RemoveProvider
push dword [edi]
mov dword [edi + 4], eax
call esi
push str.LdsIsInstall
push dword [edi]
mov dword [edi + 8], eax
call esi
push str.LdsSetRegKey
push dword [edi]
mov dword [edi + 0xc], eax
call esi
cmp dword [edi + 4], 0
mov dword [edi + 0x10], eax
je 0x4600aa
cmp dword [edi + 8], 0
je 0x4600aa
cmp dword [edi + 0xc], 0
je 0x4600aa
test eax, eax
je 0x4600aa
mov esi, 1
jmp 0x4600ac
xor esi, esi
mov edx, dword [ebp - 0x10]
or edi, 0xffffffff
mov byte [ebp - 4], 1
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4600cd
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], edi
dec edi
test edi, edi
jg 0x4600ec
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.00408fc0
int3
Function at 0x460500
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52cf70
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x5898bc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
or edi, 0xffffffff
mov dword [esi], vtable.CPluginTask.0
cmp dword [esi + 4], 0
je 0x46056a
mov dword [esi + 4], 0
mov ebx, dword [esi + 8]
mov dword [esi + 8], 0
test ebx, ebx
je 0x46056a
mov eax, edi
lock xadd dword [ebx + 4], eax
jne 0x46056a
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
mov eax, edi
lock xadd dword [ebx + 8], eax
jne 0x46056a
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
push dword [esi + 0xc]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x460580
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edx, dword [esi + 0x54]
mov eax, edi
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x46059a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [esi + 0x50]
cmp ecx, 0x10
jb 0x4605ce
mov eax, dword [esi + 0x3c]
inc ecx
cmp ecx, 0x1000
jb 0x4605c4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4606c5
mov eax, edx
push ecx
push eax
call fcn.004986b3
add esp, 8
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0xf
mov byte [esi + 0x3c], 0
mov ecx, dword [esi + 0x38]
cmp ecx, 0x10
jb 0x460614
mov eax, dword [esi + 0x24]
inc ecx
cmp ecx, 0x1000
jb 0x46060a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4606c5
mov eax, edx
push ecx
push eax
call fcn.004986b3
add esp, 8
mov dword [esi + 0x34], 0
mov eax, edi
mov dword [esi + 0x38], 0xf
mov byte [esi + 0x24], 0
mov edx, dword [esi + 0x20]
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x460640
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [esi + 0x14]
mov eax, edi
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x46065a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [esi + 0x10]
mov eax, edi
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x460674
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [esi + 0xc]
mov eax, edi
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x46068e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [esi + 8]
test esi, esi
je 0x4606b3
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x4606b3
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x4606b3
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.004cd9a3
int3
Function at 0x4607b0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
mov eax, dword [0x5898bc]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x8c], 0x740068
push ebx
push esi
mov word [ebp - 8], ax
lea esi, [ebp - 0x8c]
mov eax, 0x593298
mov dword [ebp - 0x88], 0x700074
push edi
mov dword [ebp - 0x84], 0x2f003a
mov edx, 0x43
mov dword [ebp - 0x80], 0x62002f
sub esi, eax
mov dword [ebp - 0x7c], 0x7a0069
mov dword [ebp - 0x78], 0x690068
mov dword [ebp - 0x74], 0x73002e
mov dword [ebp - 0x70], 0x610068
mov dword [ebp - 0x6c], 0x68006e
mov dword [ebp - 0x68], 0x740075
mov dword [ebp - 0x64], 0x630065
mov dword [ebp - 0x60], 0x2e0068
mov dword [ebp - 0x5c], 0x6e0063
mov dword [ebp - 0x58], 0x6c002f
mov dword [ebp - 0x54], 0x760069
mov dword [ebp - 0x50], 0x2f0065
mov dword [ebp - 0x4c], 0x6e0069
mov dword [ebp - 0x48], 0x660074
mov dword [ebp - 0x44], 0x47002f
mov dword [ebp - 0x40], 0x740065
mov dword [ebp - 0x3c], 0x640050
mov dword [ebp - 0x38], 0x540066
mov dword [ebp - 0x34], 0x610072
mov dword [ebp - 0x30], 0x73006e
mov dword [ebp - 0x2c], 0x6f0043
mov dword [ebp - 0x28], 0x74006e
mov dword [ebp - 0x24], 0x6f0072
mov dword [ebp - 0x20], 0x3f006c
mov dword [ebp - 0x1c], 0x680063
mov dword [ebp - 0x18], 0x6e0061
mov dword [ebp - 0x14], 0x65006e
mov dword [ebp - 0x10], 0x3d006c
mov dword [ebp - 0xc], 0x730025
nop
lea ecx, [edx + 0x7fffffbb]
test ecx, ecx
je 0x4608ee
movzx ecx, word [esi + eax]
test cx, cx
je 0x4608ee
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x4608d0
test edx, edx
lea ecx, [eax - 2]
pop edi
cmovne ecx, eax
xor eax, eax
pop esi
pop ebx
mov word [ecx], ax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00498678
mov esp, ebp
pop ebp
ret
Function at 0x460ad0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
mov eax, dword [0x5898bc]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x9c], 0x4f0053
push ebx
push esi
mov word [ebp - 8], ax
lea esi, [ebp - 0x9c]
mov eax, 0x593368
mov dword [ebp - 0x98], 0x540046
push edi
mov dword [ebp - 0x94], 0x410057
mov edx, 0x4b
mov dword [ebp - 0x90], 0x450052
sub esi, eax
mov dword [ebp - 0x8c], 0x4d005c
mov dword [ebp - 0x88], 0x630069
mov dword [ebp - 0x84], 0x6f0072
mov dword [ebp - 0x80], 0x6f0073
mov dword [ebp - 0x7c], 0x740066
mov dword [ebp - 0x78], 0x57005c
mov dword [ebp - 0x74], 0x6e0069
mov dword [ebp - 0x70], 0x6f0064
mov dword [ebp - 0x6c], 0x730077
mov dword [ebp - 0x68], 0x43005c
mov dword [ebp - 0x64], 0x720075
mov dword [ebp - 0x60], 0x650072
mov dword [ebp - 0x5c], 0x74006e
mov dword [ebp - 0x58], 0x650056
mov dword [ebp - 0x54], 0x730072
mov dword [ebp - 0x50], 0x6f0069
mov dword [ebp - 0x4c], 0x5c006e
mov dword [ebp - 0x48], 0x700041
mov dword [ebp - 0x44], 0x200070
mov dword [ebp - 0x40], 0x610050
mov dword [ebp - 0x3c], 0x680074
mov dword [ebp - 0x38], 0x5c0073
mov dword [ebp - 0x34], 0x440050
mov dword [ebp - 0x30], 0x430046
mov dword [ebp - 0x2c], 0x6e006f
mov dword [ebp - 0x28], 0x650076
mov dword [ebp - 0x24], 0x740072
mov dword [ebp - 0x20], 0x720065
mov dword [ebp - 0x1c], 0x6f004d
mov dword [ebp - 0x18], 0x750064
mov dword [ebp - 0x14], 0x65006c
mov dword [ebp - 0x10], 0x65002e
mov dword [ebp - 0xc], 0x650078
lea ecx, [edx + 0x7fffffb3]
test ecx, ecx
je 0x460c34
movzx ecx, word [esi + eax]
test cx, cx
je 0x460c34
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x460c16
test edx, edx
lea ecx, [eax - 2]
pop edi
cmovne ecx, eax
xor eax, eax
pop esi
pop ebx
mov word [ecx], ax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00498678
mov esp, ebp
pop ebp
ret
Function at 0x462380
Capabilities:
Get user security identifier

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x5898bc]
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 0x462444
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 0x462444
mov eax, dword [ebp - 0x210]
test eax, eax
je 0x462444
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
test esi, esi
je 0x462444
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 0x46243d
pop edi
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00498678
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.00498678
mov esp, ebp
pop ebp
ret 4
Function at 0x462890
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x458
mov eax, dword [0x5898bc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x438], eax
push edi
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x428], edi
test eax, eax
jne 0x4628cb
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00498678
mov esp, ebp
pop ebp
ret 0x14
push ebx
xor ebx, ebx
lea ecx, [ebp - 0x42c]
push ecx
push ebx
lea ecx, [ebp - 0x418]
mov dword [ebp - 0x42c], ebx
push ecx
push ebx
push ebx
push 4
push dword [ebp + 0xc]
mov dword [ebp - 0x418], ebx
push eax
call dword [sym.imp.ADVAPI32.dll_GetNamedSecurityInfoW]
test eax, eax
jne 0x462aa2
push esi
mov esi, dword [ebp + 0x10]
cmp esi, 2
je 0x462911
cmp esi, 1
jne 0x4629b0
mov eax, dword [ebp - 0x418]
mov dword [ebp - 0x420], eax
test eax, eax
je 0x4629b0
lea ecx, [ebp - 0x430]
mov dword [ebp - 0x424], ebx
push ecx
lea ecx, [ebp - 0x424]
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_GetExplicitEntriesFromAclW]
test eax, eax
jne 0x4629b0
mov esi, dword [ebp - 0x424]
sub esi, 1
js 0x4629ad
mov ebx, dword [ebp - 0x428]
mov edi, esi
shl edi, 5
nop word [eax + eax]
mov eax, dword [ebp - 0x430]
cmp dword [edi + eax + 4], 3
jne 0x46299d
test ebx, ebx
je 0x462990
cmp dword [edi + eax + 0x14], 0
jne 0x46299d
add eax, 0xc
push ebx
add eax, edi
push eax
call dword [sym.imp.ADVAPI32.dll_GetTrusteeNameW]
push eax
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
je 0x46299d
push esi
push dword [ebp - 0x420]
call dword [sym.imp.ADVAPI32.dll_DeleteAce]
sub edi, 0x20
sub esi, 1
jns 0x462960
mov edi, dword [ebp - 0x428]
xor ebx, ebx
mov esi, dword [ebp + 0x10]
push 0x208
xorps xmm0, xmm0
mov dword [ebp - 0x41c], 0
lea eax, [ebp - 0x20c]
push 0
push eax
movups xmmword [ebp - 0x458], xmm0
movups xmmword [ebp - 0x448], xmm0
call fcn.004b2720
add esp, 0xc
mov dword [ebp - 0x434], 0x104
test edi, edi
je 0x462a25
lea eax, [ebp - 0x430]
mov dword [ebp - 0x420], 0x104
push eax
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x434]
push eax
lea eax, [ebp - 0x20c]
push eax
push edi
push 0
call dword [sym.imp.ADVAPI32.dll_LookupAccountSidW]
push 3
push esi
push dword [ebp + 0x18]
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x458]
push eax
call dword [sym.imp.ADVAPI32.dll_BuildExplicitAccessWithNameW]
lea eax, [ebp - 0x41c]
push eax
push dword [ebp - 0x418]
lea eax, [ebp - 0x458]
push eax
push 1
call dword [sym.imp.ADVAPI32.dll_SetEntriesInAclW]
mov esi, dword [sym.imp.KERNEL32.dll_LocalFree]
test eax, eax
jne 0x462a94
push 0
push dword [ebp - 0x41c]
push 0
push 0
push 4
push dword [ebp + 0xc]
push dword [ebp - 0x438]
call dword [sym.imp.ADVAPI32.dll_SetNamedSecurityInfoW]
neg eax
sbb ebx, ebx
mov eax, dword [ebp - 0x41c]
inc ebx
test eax, eax
je 0x462a94
push eax
call esi
mov eax, dword [ebp - 0x42c]
test eax, eax
je 0x462aa1
push eax
call esi
pop esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 4]
mov eax, ebx
pop ebx
xor ecx, ebp
pop edi
call fcn.00498678
mov esp, ebp
pop ebp
ret 0x14