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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x516ba2
mov eax, dword fs:[0]
push eax
sub esp, 0x820
mov eax, dword [0x56e6c4]
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.0049d980
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 0x44fc65
movzx edx, ax
nop dword [eax]
mov eax, dword [0x52f958]
mov dword [ebp - 0x18], eax
mov eax, dword [0x52f95c]
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 0x44fc3c
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 0x44fc3c
mov eax, dword [ebp - 0x820]
cmp dword [ebp - 0x824], eax
jb 0x44fc3c
ja 0x44fc1f
cmp dword [ebp - 0x828], ebx
jbe 0x44fc3c
mov ecx, dword [esi + 4]
cmp dword [esi + 8], ecx
je 0x44fc33
mov ax, word [edi]
mov word [ecx], ax
add dword [esi + 4], 2
jmp 0x44fc3c
push edi
push ecx
mov ecx, esi
call fcn.0044f440
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x44fc41
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 0x44fbc0
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.00483518
mov esp, ebp
pop ebp
ret
Function at 0x451b70
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x516e78
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x56e6c4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], 7
xor ebx, ebx
mov dword [ebp - 0x10], 0x80000
nop dword [eax + eax]
mov eax, dword [0x571af4]
test al, 1
jne 0x451bef
or eax, 1
mov dword [0x571af4], eax
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 0x520c80
mov dword [0x571ae8], 0x5249dc
mov dword [0x571aec], eax
mov byte [0x571af0], 0
call fcn.0048395c
mov eax, dword [0x571af4]
add esp, 4
test al, 2
jne 0x451c4b
or eax, 2
mov dword [0x571af8], 0x5249f4
mov dword [0x571af4], eax
xor eax, eax
push 0x520cb0
mov dword [0x571afc], 0x571ae8
mov dword [0x571b0c], 2
mov dword [0x571b04], 0
mov dword [0x571b08], 0
mov dword [0x571b10], eax
mov dword [0x571b00], 0x571af8
call fcn.0048395c
add esp, 4
mov eax, dword [0x571af8]
mov ecx, 0x571af8
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
mov edi, dword [ebp - 0x10]
mov dword [ebp - 4], 0
test edi, edi
js 0x451db1
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edi
or eax, ecx
jge 0x451c8d
push edi
lea ecx, [ebp - 0x14]
call fcn.00409cb0
mov esi, dword [ebp - 0x14]
cmp edi, dword [esi - 8]
jg 0x451db1
xor eax, eax
mov dword [esi - 0xc], edi
mov word [esi + edi*2], ax
lea eax, [ebp - 0x10]
push eax
push esi
lea eax, [ebp - 0x18]
push eax
push str.PendingFileRenameOperations
push 0x52fa80
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
push dword [esi - 8]
mov edi, eax
push esi
call fcn.004b9ba8
add esp, 8
test eax, eax
js 0x451db1
cmp eax, dword [esi - 8]
jg 0x451db1
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
test edi, edi
je 0x451d66
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
cmp edi, 0xea
jne 0x451d3b
mov eax, dword [ebp - 0x10]
add eax, eax
mov dword [ebp - 0x10], eax
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x451d18
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
inc ebx
cmp ebx, 0xa
jl 0x451bb0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x451d50
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 0x1c]
lea eax, [ecx + 4]
push eax
push dword [ebp + 8]
push dword [ebp - 0x10]
push esi
call fcn.00451930
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x451d98
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x80070057
call fcn.00408720
int3
Function at 0x451e80
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x516ea8
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x56e6c4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [ebp - 0x10]
call fcn.00408080
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.00451750
mov esi, dword [ebp - 0x10]
test eax, eax
je 0x451ef3
push dword [ebp - 0x14]
push esi
push 7
push str.PendingFileRenameOperations
push 0x52fa80
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 0x451f12
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 0x452430
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
cmp dword [esi + 8], 0
je 0x452447
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 0x452472
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x45246c
movzx eax, ax
or eax, 0x80070000
test eax, eax
js 0x45258b
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 0x4524a9
cmp byte [edi + 0x18], al
je 0x45249d
push edi
mov byte [edi + 0x18], al
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
call fcn.0041b2c0
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 0x4524e2
call fcn.0041b2c0
push 0x2710
mov ecx, esi
mov edi, eax
call fcn.004525c0
test eax, eax
jns 0x452588
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.00452060
mov dword [ebp - 4], eax
test eax, eax
jns 0x452512
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x2710
mov ecx, esi
call fcn.004525c0
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 0x4524b9
push 0
push 0
push ebx
mov ecx, esi
call fcn.00452060
mov edi, eax
test edi, edi
jns 0x452550
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x2710
mov ecx, esi
call fcn.004525c0
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 0x4528e0
push 0
push 0
call fcn.004bc5f9
add esp, 0x18
mov dword [esi], eax
test eax, eax
je 0x4524b9
push 0xffffffffffffffff
push dword [esi + 0x40]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x452588
call fcn.0041b2c0
mov edi, eax
mov eax, edi
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x453090
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x517198
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x56e6c4]
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]
xor eax, eax
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x58], 0x740053
mov dword [ebp - 0x54], 0x720061
mov dword [ebp - 0x50], 0x730074
mov dword [ebp - 0x4c], 0x680020
mov dword [ebp - 0x48], 0x6c0061
mov dword [ebp - 0x44], 0x77006f
mov dword [ebp - 0x40], 0x200070
mov dword [ebp - 0x3c], 0x680077
mov dword [ebp - 0x38], 0x6e0065
mov dword [ebp - 0x34], 0x610020
mov dword [ebp - 0x30], 0x750020
mov dword [ebp - 0x2c], 0x650073
mov dword [ebp - 0x28], 0x200072
mov dword [ebp - 0x24], 0x6f006c
mov dword [ebp - 0x20], 0x730067
mov dword [ebp - 0x1c], 0x6f0020
mov dword [ebp - 0x18], 0x2e006e
mov word [ebp - 0x14], ax
call fcn.0040ab00
mov ecx, eax
test ecx, ecx
je 0x4531ab
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x58]
mov dword [ebp - 4], 0
push eax
mov ecx, esi
call fcn.0040a7c0
test al, al
jne 0x45318b
lea ecx, [ebp - 0x58]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x453170
sub ecx, edx
lea eax, [ebp - 0x58]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.00409f50
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.00483518
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.00408720
int3
Function at 0x453290
Capabilities:
Persist via run registry key
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x517286
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x56e6c4]
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 0x453442
mov edi, dword [ebp - 0x21c]
mov dword [ebp - 0x230], edi
mov dword [ebp - 0x22c], eax
call fcn.0040ab00
mov ecx, eax
test ecx, ecx
je 0x453464
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.00408880
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0049d980
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 0x4533c7
mov eax, dword [ebp - 0x224]
cmp eax, 1
je 0x4533b5
cmp eax, 2
jne 0x4533c7
cmp dword [ebp - 0x21c], 0
jne 0x4533c7
xor eax, eax
mov word [ebp - 0x218], ax
mov esi, dword [ebp - 0x220]
lea eax, [ebp - 0x218]
push eax
push esi
call fcn.004b8e58
add esp, 8
test eax, eax
je 0x453414
test esi, esi
je 0x453414
mov ecx, esi
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4533f0
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 0x453430
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, 1
test edi, edi
je 0x453444
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x453444
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.00483518
mov esp, ebp
pop ebp
ret 8
push 0x80004005
call fcn.00408720
int3
Function at 0x4548f0
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x517528
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x56e6c4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp word [0x5761a0], 0
jne 0x454934
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0x100
push eax
push 0x5761a0
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
call fcn.0040ab00
mov ecx, eax
test ecx, ecx
je 0x4549a0
mov eax, dword [ecx]
call dword [eax + 0xc]
mov esi, dword [ebp + 8]
add eax, 0x10
mov dword [esi], eax
push 0x5761a0
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.0040a7c0
test al, al
jne 0x45498c
mov ecx, 0x5761a0
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x454970
sub ecx, edx
sar ecx, 1
push ecx
push 0x5761a0
mov ecx, esi
call fcn.00409f50
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.00408720
int3
Function at 0x455160
Capabilities:
Check if file exists
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x517658
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x56e6c4]
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
mov esi, dword [ebp + 8]
call fcn.0040ab00
mov ecx, eax
test ecx, ecx
je 0x455327
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x38], eax
mov dword [ebp - 4], 0
test esi, esi
je 0x4551e1
test esi, 0xffff0000
jne 0x4551ca
movzx eax, si
lea ecx, [ebp - 0x38]
push eax
call fcn.00409110
jmp 0x4551ed
mov ecx, esi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4551d0
sub ecx, edx
sar ecx, 1
jmp 0x4551e3
xor ecx, ecx
push ecx
push esi
lea ecx, [ebp - 0x38]
call fcn.00409f50
push str._net_netload.dll
lea eax, [ebp - 0x38]
mov dword [ebp - 4], 1
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.0043fdb0
add esp, 0xc
push dword [ebp - 0x34]
mov byte [ebp - 4], 2
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4552c6
push dword [ebp - 0x34]
call fcn.0045d990
add esp, 4
test eax, eax
je 0x4552c6
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [edi], eax
test eax, eax
je 0x4552c6
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
mov dword [edi + 8], eax
lea eax, [ebp - 0x20]
push eax
push dword [edi]
mov dword [ebp - 0x20], 0x4973644c
mov dword [ebp - 0x1c], 0x736e4973
mov dword [ebp - 0x18], 0x6c6c6174
mov byte [ebp - 0x14], 0
call esi
mov dword [edi + 0xc], eax
lea eax, [ebp - 0x30]
push eax
push dword [edi]
mov dword [ebp - 0x30], 0x5373644c
mov dword [ebp - 0x2c], 0x65527465
mov dword [ebp - 0x28], 0x79654b67
mov byte [ebp - 0x24], 0
call esi
cmp dword [edi + 4], 0
mov dword [edi + 0x10], eax
je 0x4552c6
cmp dword [edi + 8], 0
je 0x4552c6
cmp dword [edi + 0xc], 0
je 0x4552c6
test eax, eax
je 0x4552c6
mov esi, 1
jmp 0x4552c8
xor esi, esi
mov edx, dword [ebp - 0x34]
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 0x4552e9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x38]
mov dword [ebp - 4], 0xffffffff
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], edi
dec edi
test edi, edi
jg 0x455308
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 ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00483518
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.00408720
int3
Function at 0x455650
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5176c0
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x56e6c4]
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 0x4556ba
mov dword [esi + 4], 0
mov ebx, dword [esi + 8]
mov dword [esi + 8], 0
test ebx, ebx
je 0x4556ba
mov eax, edi
lock xadd dword [ebx + 4], eax
jne 0x4556ba
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
mov eax, edi
lock xadd dword [ebx + 8], eax
jne 0x4556ba
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 0x4556d0
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 0x4556ea
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [esi + 0x50]
cmp ecx, 0x10
jb 0x45571e
mov eax, dword [esi + 0x3c]
inc ecx
cmp ecx, 0x1000
jb 0x455714
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x455815
mov eax, edx
push ecx
push eax
call fcn.00483553
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 0x455764
mov eax, dword [esi + 0x24]
inc ecx
cmp ecx, 0x1000
jb 0x45575a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x455815
mov eax, edx
push ecx
push eax
call fcn.00483553
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 0x455790
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 0x4557aa
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 0x4557c4
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 0x4557de
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [esi + 8]
test esi, esi
je 0x455803
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x455803
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x455803
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.004b8ca3
int3
Function at 0x457090
Capabilities:
Get user security identifier

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x458
mov eax, dword [0x56e6c4]
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 0x4575db
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00483518
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 0x4577b2
push esi
mov esi, dword [ebp + 0x10]
cmp esi, 2
je 0x457621
cmp esi, 1
jne 0x4576c0
mov eax, dword [ebp - 0x418]
mov dword [ebp - 0x420], eax
test eax, eax
je 0x4576c0
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 0x4576c0
mov esi, dword [ebp - 0x424]
sub esi, 1
js 0x4576bd
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 0x4576ad
test ebx, ebx
je 0x4576a0
cmp dword [edi + eax + 0x14], 0
jne 0x4576ad
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 0x4576ad
push esi
push dword [ebp - 0x420]
call dword [sym.imp.ADVAPI32.dll_DeleteAce]
sub edi, 0x20
sub esi, 1
jns 0x457670
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.0049d980
add esp, 0xc
mov dword [ebp - 0x434], 0x104
test edi, edi
je 0x457735
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 0x4577a4
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 0x4577a4
push eax
call esi
mov eax, dword [ebp - 0x42c]
test eax, eax
je 0x4577b1
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.00483518
mov esp, ebp
pop ebp
ret 0x14