joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10008520
Capabilities:
Copy file

Disassembly:
push 0xffffffffffffffff
push 0x1004e996
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x1006b2c8]
xor eax, esp
mov dword [esp + 0x240], eax
push ebx
push esi
push edi
mov eax, dword [0x1006b2c8]
xor eax, esp
push eax
lea eax, [esp + 0x254]
mov dword fs:[0], eax
mov eax, dword [esp + 0x264]
mov esi, dword [esp + 0x268]
xor ebx, ebx
cmp eax, ebx
je 0x1000873c
cmp esi, ebx
je 0x1000873c
push eax
lea ecx, [esp + 0x14]
call fcn.100018f0
push esi
lea ecx, [esp + 0x30]
mov dword [esp + 0x260], ebx
call fcn.100018f0
push 0x206
lea eax, [esp + 0x4e]
push ebx
push eax
mov byte [esp + 0x268], 1
mov word [esp + 0x54], bx
call fcn.100376a0
mov eax, dword [esp + 0x20]
mov edi, 8
add esp, 0xc
cmp dword [esp + 0x28], edi
jae 0x100085c8
lea eax, [esp + 0x14]
push eax
push str.RenameFileAndRegister9x___ReplaceExtension___OldFileName_is__s
call fcn.10034080
mov eax, dword [esp + 0x1c]
add esp, 8
cmp dword [esp + 0x28], edi
jae 0x100085e4
lea eax, [esp + 0x14]
push 0x104
lea ecx, [esp + 0x4c]
push ecx
push str..new
push eax
call fcn.10005f50
add esp, 0x10
test eax, eax
jne 0x1000860f
mov esi, 0x54f
push str.RenameFileAndRegister9x__
jmp 0x100086d4
lea edx, [esp + 0x48]
push edx
push str.RenameFileAndRegister9x___ReplaceExtension___NewFileName_is__s
call fcn.10034080
mov eax, dword [esp + 0x38]
add esp, 8
cmp dword [esp + 0x44], edi
jae 0x1000862f
lea eax, [esp + 0x30]
push eax
push str.RenameFileAndRegister9x___CopyFile___srcPath_is__s
call fcn.10034080
lea eax, [esp + 0x50]
push eax
push str.RenameFileAndRegister9x___CopyFile___dstPath_is__s
call fcn.10034080
mov eax, dword [esp + 0x40]
add esp, 0x10
cmp dword [esp + 0x44], edi
jae 0x1000865a
lea eax, [esp + 0x30]
push ebx
lea ecx, [esp + 0x4c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x10008687
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea edx, [esp + 0x48]
push edx
push str.CopyMonitorFile9x
mov esi, eax
call fcn.10034080
add esp, 8
jmp 0x100086dc
cmp dword [esp + 0x28], edi
mov eax, dword [esp + 0x14]
jae 0x10008695
lea eax, [esp + 0x14]
push eax
push str.RenameFileAndRegister9x___WriteWininit___srcPath_is__s
call fcn.10034080
lea eax, [esp + 0x50]
push eax
push str.RenameFileAndRegister9x___WriteWininit___dstPath_is__s
call fcn.10034080
mov ecx, dword [esp + 0x24]
add esp, 0x10
cmp dword [esp + 0x28], edi
jae 0x100086c0
lea ecx, [esp + 0x14]
lea edx, [esp + 0x48]
call fcn.10007470
mov esi, eax
cmp esi, ebx
je 0x100086dc
push 0x10055570
call fcn.10034080
add esp, 4
cmp dword [esp + 0x44], edi
jb 0x100086ef
mov ecx, dword [esp + 0x30]
push ecx
call fcn.10036ea6
add esp, 4
cmp dword [esp + 0x28], edi
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], ebx
mov word [esp + 0x30], bx
jb 0x10008713
mov edx, dword [esp + 0x14]
push edx
call fcn.10036ea6
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x254]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x240]
xor ecx, esp
call fcn.1003754f
add esp, 0x250
ret
mov eax, 0x57
jmp 0x10008715
Function at 0x100087d0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x1004e9d8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1006b2c8]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x30]
mov edi, dword [esp + 0x34]
mov ebp, dword [esp + 0x38]
lea esi, [edi + edi + 2]
cmp esi, ebp
mov dword [esp + 0x28], 0
mov dword [esp + 0x1c], edi
jge 0x100088d7
jmp 0x10008820
lea eax, [esi*8]
sub eax, esi
cmp dword [ebx + eax*4 - 4], 8
mov edx, dword [ebx + eax*4 - 8]
lea eax, [ebx + eax*4]
mov dword [esp + 0x14], edx
jb 0x10008840
mov ecx, dword [eax - 0x18]
jmp 0x10008843
lea ecx, [eax - 0x18]
mov ebp, dword [eax + 0x14]
cmp ebp, edx
mov dword [esp + 0x18], ebp
jae 0x10008850
mov edx, ebp
cmp dword [eax + 0x18], 8
jb 0x1000885b
mov eax, dword [eax + 4]
jmp 0x1000885e
add eax, 4
test edx, edx
jbe 0x1000888b
mov bp, word [eax]
cmp bp, word [ecx]
jne 0x10008877
add eax, 2
add ecx, 2
sub edx, 1
jne 0x10008862
jmp 0x10008887
mov dx, bp
cmp dx, word [ecx]
sbb eax, eax
and eax, 0xfffffffe
add eax, 1
jne 0x1000889c
mov ebp, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
cmp ebp, eax
jb 0x100088a0
xor ecx, ecx
cmp ebp, eax
setne cl
mov eax, ecx
test eax, eax
jge 0x100088a3
sub esi, 1
push 0xffffffffffffffff
lea edx, [esi*8]
sub edx, esi
lea ecx, [edi*8]
push 0
lea eax, [ebx + edx*4]
sub ecx, edi
push eax
lea ecx, [ebx + ecx*4]
call fcn.100016f0
mov ebp, dword [esp + 0x38]
mov edi, esi
lea esi, [esi + esi + 2]
cmp esi, ebp
jl 0x10008820
jne 0x100088ff
push 0xffffffffffffffff
lea edx, [ebp*8]
sub edx, ebp
lea ecx, [edi*8]
push 0
lea eax, [ebx + edx*4 - 0x1c]
sub ecx, edi
push eax
lea ecx, [ebx + ecx*4]
call fcn.100016f0
lea edi, [ebp - 1]
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
xor eax, eax
push 0xffffffffffffffff
push eax
lea edx, [esp + 0x60]
mov dword [ecx + 0x18], 7
mov dword [ecx + 0x14], eax
push edx
mov word [ecx + 4], ax
call fcn.100016f0
mov eax, dword [esp + 0x38]
push eax
push edi
push ebx
call fcn.10007030
add esp, 0x28
cmp dword [esp + 0x54], 8
jb 0x10008948
mov ecx, dword [esp + 0x40]
push ecx
call fcn.10036ea6
add esp, 4
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
Function at 0x10019500
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100500bc
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x1006b2c8]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
xor eax, eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov ecx, 7
mov dword [esi + 0x28], ecx
mov dword [esi + 0x24], eax
mov dword [esp + 0x14], eax
mov word [esi + 0x14], ax
mov dword [esi + 0x44], ecx
mov dword [esi + 0x40], eax
mov word [esi + 0x30], ax
mov dword [esi + 0x60], ecx
mov dword [esi + 0x5c], eax
mov word [esi + 0x4c], ax
mov dword [esi + 0x7c], ecx
mov dword [esi + 0x78], eax
mov word [esi + 0x68], ax
mov dword [esi + 0x98], ecx
mov dword [esi + 0x94], eax
mov word [esi + 0x84], ax
mov dword [esi + 0xb4], ecx
mov dword [esi + 0xb0], eax
mov word [esi + 0xa0], ax
mov dword [esi + 0xd0], ecx
mov dword [esi + 0xcc], eax
mov word [esi + 0xbc], ax
mov dword [esi + 0x108], ecx
mov dword [esi + 0x104], eax
mov word [esi + 0xf4], ax
mov ecx, esi
mov byte [esp + 0x14], 8
call fcn.10013040
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret

Function at 0x10019750
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1005018e
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x1006b2c8]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
xor eax, eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x28], 7
mov dword [esi + 0x24], eax
mov word [esi + 0x14], ax
lea ecx, [esi + 0x30]
mov dword [esp + 0x14], eax
call fcn.10016350
lea ecx, [esi + 0x68]
mov byte [esp + 0x14], 1
call fcn.10019500
lea ecx, [esi + 0x178]
mov byte [esp + 0x14], 2
call fcn.10016080
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret

Function at 0x100197d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100501dc
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x1006b2c8]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esp + 0x14], 3
call fcn.10018ed0
lea ecx, [esi + 0x178]
mov byte [esp + 0x14], 2
call fcn.10016190
lea ecx, [esi + 0x68]
mov byte [esp + 0x14], 1
call fcn.100195d0
lea ecx, [esi + 0x30]
mov byte [esp + 0x14], 0
call fcn.100163d0
mov ecx, esi
mov dword [esp + 0x14], 0xffffffff
call fcn.10019430
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x1001bad0
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x10
push esi
mov esi, dword [esp + 0x1c]
push esi
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1001bb3e
lea eax, [esp + 4]
push eax
lea ecx, [esp + 0xc]
push ecx
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.SETUPAPI.dll_SetupGetFileCompressionInfoW]
test eax, eax
jne 0x1001bb33
mov eax, dword [esp + 0x10]
lea edx, [esp + 4]
push edx
push esi
push eax
call dword [sym.imp.SETUPAPI.dll_SetupDecompressOrCopyFileW]
test eax, eax
je 0x1001bb43
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop esi
add esp, 0x10
ret
mov eax, 0x50
pop esi
add esp, 0x10
ret

Function at 0x1001be00
Capabilities:
Delete file
Enumerate files on windows
Get file attributes
Set file attributes

Disassembly:
sub esp, 0x664
mov eax, dword [0x1006b2c8]
xor eax, esp
mov dword [esp + 0x660], eax
push esi
mov esi, dword [esp + 0x66c]
push edi
mov edi, dword [esp + 0x674]
push 0x208
lea eax, [esp + 0x25c]
push 0
push eax
call fcn.100376a0
push 0x208
lea ecx, [esp + 0x470]
push 0
push ecx
call fcn.100376a0
add esp, 0x18
push esi
lea edx, [esp + 0x464]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [esp + 0x460]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
push edi
lea ecx, [esp + 0x464]
push ecx
push str._s_s
push 0x104
lea edx, [esp + 0x268]
push 0x104
push edx
call fcn.10037d11
add esp, 0x18
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x25c]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x1001bf60
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcmpW]
test byte [esp + 0x10], 0x10
jne 0x1001bf43
push 0x100576ec
lea edx, [esp + 0x40]
push edx
call ebp
test eax, eax
je 0x1001bf43
push 0x10058648
lea eax, [esp + 0x40]
push eax
call ebp
test eax, eax
je 0x1001bf43
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x46c]
push edx
push str._s_s
push 0x104
lea eax, [esp + 0x270]
push 0x104
push eax
call fcn.10037d11
add esp, 0x18
lea ecx, [esp + 0x260]
push ecx
call edi
test al, 1
je 0x1001bf35
and eax, 0xfffffffe
push eax
lea edx, [esp + 0x264]
push edx
call ebx
lea eax, [esp + 0x260]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esp + 0x10]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1001bec6
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
pop ebp
pop ebx
mov ecx, dword [esp + 0x668]
pop edi
pop esi
xor ecx, esp
xor eax, eax
call fcn.1003754f
add esp, 0x664
ret
Function at 0x1001ca50
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x8c
mov eax, dword [0x1006b2c8]
xor eax, esp
mov dword [esp + 0x88], eax
xor eax, eax
push ebx
mov ebx, dword [esp + 0x98]
push ebp
mov ebp, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push esi
mov esi, dword [esp + 0xa4]
push edi
mov edi, dword [esp + 0xa0]
push edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esi], eax
call ebp
test eax, eax
je 0x1001cae2
push 0
push 0x20
lea eax, [esp + 0x20]
push eax
push edi
call fcn.10008f60
add esp, 0x10
jmp 0x1001cae8
mov dword [esi], 2
push ebx
call ebp
test eax, eax
je 0x1001cb90
push 0
push 0x20
lea ecx, [esp + 0x60]
push ecx
push ebx
call fcn.10008f60
add esp, 0x10
cmp dword [esi], 0
jne 0x1001cb75
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcmpW]
push 0x100533f4
lea edx, [esp + 0x1c]
push edx
call ebp
test eax, eax
je 0x1001cb98
push 0x100533f4
lea eax, [esp + 0x5c]
push eax
call ebp
test eax, eax
je 0x1001cb98
lea ecx, [esp + 0x18]
push ecx
call fcn.1003971c
fstp dword [esp + 0x18]
lea edx, [esp + 0x5c]
push edx
call fcn.1003971c
fstp dword [esp + 0x18]
fld dword [esp + 0x1c]
add esp, 8
fld dword [esp + 0x10]
fcom st(1)
fnstsw ax
test ah, 5
jp 0x1001cb66
mov dword [esi], 1
fcompp
fnstsw ax
test ah, 0x41
jne 0x1001cb98
mov dword [esi], 0xffffffff
xor eax, eax
mov ecx, dword [esp + 0x98]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1003754f
add esp, 0x8c
ret
mov dword [esi], 0xfffffffe
jmp 0x1001cb75
cmp dword [esi], 0
jne 0x1001cb75
push esi
push ebx
push edi
call fcn.1001bcb0
add esp, 0xc
jmp 0x1001cb77

Function at 0x1001f0c0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x10050948
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
push edi
mov eax, dword [0x1006b2c8]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x40]
xor edi, edi
push 0xffffffffffffffff
push edi
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x18], edi
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], edi
mov word [esp + 0x20], di
call fcn.100016f0
mov edx, dword [esp + 0x44]
mov eax, edx
mov dword [esp + 0x34], edi
lea esi, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x1001f120
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x18]
call fcn.100015f0
mov esi, dword [esp + 0x3c]
push 0xffffffffffffffff
push edi
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
push eax
mov ecx, esi
mov word [esi + 4], di
call fcn.100016f0
cmp dword [esp + 0x28], 8
jb 0x1001f16b
mov ecx, dword [esp + 0x14]
push ecx
call fcn.10036ea6
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x2c
ret
Function at 0x10021270
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10050b6c
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x1006b2c8]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esp + 0x14], 3
call fcn.10018ed0
lea ecx, [esi + 0x178]
mov byte [esp + 0x14], 2
call fcn.10016190
lea ecx, [esi + 0x68]
mov byte [esp + 0x14], 1
call fcn.100195d0
lea ecx, [esi + 0x30]
mov byte [esp + 0x14], 0
call fcn.100163d0
mov ecx, esi
mov dword [esp + 0x14], 0xffffffff
call fcn.10019430
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x10031910
Capabilities:
Set registry value

Disassembly:
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov ecx, dword [ecx]
push eax
mov eax, dword [esp + 8]
push edx
push 3
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
ret 0xc

Function at 0x10031930
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10051e50
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x1006b2c8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
push str.IsAdministrators_____Start
call fcn.10034080
add esp, 4
lea eax, [ebp - 0x20]
push eax
xor ebx, ebx
push 8
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x2c], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x1003199f
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
cmp eax, 0x78
sete cl
mov eax, ecx
jmp 0x10031a9a
mov eax, dword [ebp - 0x20]
mov esi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
lea edx, [ebp - 0x24]
push edx
push ebx
push ebx
push 2
push eax
mov dword [ebp - 0x24], ebx
call esi
test eax, eax
jne 0x100319d6
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x100319d6
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x10031a9a
mov edx, dword [ebp - 0x24]
push edx
mov dword [ebp - 4], ebx
call fcn.1003641c
mov edi, eax
add esp, 4
cmp edi, ebx
mov dword [ebp - 4], 0xffffffff
je 0x10031a7d
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x20]
lea eax, [ebp - 0x24]
push eax
push ecx
push edi
push 2
push edx
call esi
test eax, eax
je 0x10031a74
lea eax, [ebp - 0x28]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea ecx, [ebp - 0x1c]
push ecx
mov byte [ebp - 0x1c], bl
mov byte [ebp - 0x1b], bl
mov byte [ebp - 0x1a], bl
mov byte [ebp - 0x19], bl
mov byte [ebp - 0x18], bl
mov byte [ebp - 0x17], 5
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x10031a74
xor esi, esi
cmp dword [edi], ebx
jbe 0x10031a6a
lea ebx, [edi + 4]
mov edx, dword [ebp - 0x28]
mov eax, dword [ebx]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
je 0x10031a60
mov dword [ebp - 0x2c], 1
add esi, 1
add ebx, 8
cmp esi, dword [edi]
jb 0x10031a48
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.ADVAPI32.dll_FreeSid]
push edi
call fcn.10037e4b
add esp, 4
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x2c]
push esi
push str.IsAdministrators_____End__d_
call fcn.10034080
add esp, 8
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 - 0x14]
xor ecx, ebp
call fcn.1003754f
mov esp, ebp
pop ebp
ret
Function at 0x10033990
Capabilities:
Create shortcut via ishelllink

Disassembly:
sub esp, 0x218
mov eax, dword [0x1006b2c8]
xor eax, esp
mov dword [esp + 0x214], eax
test edi, edi
jne 0x100339c0
lea eax, [edi + 0x57]
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.1003754f
add esp, 0x218
ret
push ebp
push esi
mov esi, dword [sym.imp.ole32.dll_CoCreateInstance]
lea eax, [esp + 0xc]
push eax
push 0x1006065c
push 1
push 0
push 0x1006066c
mov ebp, 0x54f
mov byte [esp + 0x1f], 0
mov dword [esp + 0x20], 0
call esi
test eax, eax
jge 0x10033a25
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
jl 0x10033afc
lea ecx, [esp + 0xc]
push ecx
push 0x1006065c
push 1
push 0
push 0x1006066c
mov byte [esp + 0x1f], 1
call esi
test eax, eax
jl 0x10033afc
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
push ecx
mov dword [esp + 0x14], 0
mov edx, dword [eax]
mov edx, dword [edx]
push 0x1006067c
push eax
call edx
test eax, eax
jl 0x10033aec
mov eax, dword [esp + 0xc]
mov edx, dword [edi + 4]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x50]
call eax
mov eax, dword [edi + 8]
test eax, eax
je 0x10033a6e
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x1c]
push ecx
call eax
mov eax, dword [edi + 0xc]
test eax, eax
je 0x10033a82
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x24]
push ecx
call eax
mov eax, dword [edi + 0x10]
test eax, eax
je 0x10033a96
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x2c]
push ecx
call eax
mov ecx, dword [edi + 0x14]
test ecx, ecx
je 0x10033ab2
mov eax, dword [edi + 0x18]
test eax, eax
je 0x10033ab2
mov edx, dword [esp + 0xc]
mov esi, dword [edx]
push eax
push ecx
mov ecx, dword [esi + 0x44]
push edx
call ecx
mov edx, dword [edi]
push 0xffffffffffffffff
push edx
lea eax, [esp + 0x1c]
push 0x104
push eax
call fcn.1003755e
add esp, 0x10
cmp eax, 0x50
jne 0x10033ad3
lea ebp, [eax - 0x4d]
jmp 0x10033aec
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
push 1
lea edx, [esp + 0x18]
push edx
push eax
mov eax, dword [ecx + 0x18]
call eax
test eax, eax
jl 0x10033aec
xor ebp, ebp
mov eax, dword [esp + 0x10]
test eax, eax
je 0x10033afc
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0xc]
test eax, eax
je 0x10033b0c
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp byte [esp + 0xb], 0
je 0x10033b19
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [esp + 0x21c]
pop esi
mov eax, ebp
pop ebp
xor ecx, esp
call fcn.1003754f
add esp, 0x218
ret

Function at 0x10033d90
Capabilities:
Write file on windows

Disassembly:
push ecx
push esi
push 0
push 0x80
push 4
push 0
push 0
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x10033de5
push 2
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea ecx, [esp + 8]
push ecx
push edi
mov dword [esp + 0x10], 0
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ecx
ret
Function at 0x10033e50
Capabilities:
Print debug messages

Disassembly:
mov eax, 0x3608
call fcn.10037930
mov eax, dword [0x1006b2c8]
xor eax, esp
mov dword [esp + 0x3604], eax
mov eax, dword [esp + 0x3610]
test eax, eax
push ebp
mov ebp, dword [esp + 0x3610]
push esi
push edi
mov edi, ecx
mov esi, edx
je 0x10033ed3
test edi, edi
jl 0x10033ed3
push 0x104
lea ecx, [esp + 0x218]
push ecx
push 0x104
lea edx, [esp + 0x18]
push edx
push 0
push 0
push 0
push 0
push eax
call fcn.1003771a
push edi
lea eax, [esp + 0x23c]
push eax
lea ecx, [esp + 0x38]
push ecx
push esi
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
lea edx, [esp + 0x25e0]
push str._s____s_s:_d_
push edx
call esi
add esp, 0x3c
jmp 0x10033eec
push esi
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [esp + 0x25b0]
push 0x1005392c
push eax
call esi
add esp, 0xc
push 0xffe
lea ecx, [esp + 0x15b2]
push 0
push ecx
mov word [esp + 0x15b8], 0
call fcn.100376a0
push 0x118e
lea edx, [esp + 0x42e]
push 0
push edx
mov word [esp + 0x434], 0
call fcn.100376a0
lea eax, [esp + 0x15c4]
push eax
call fcn.10033df0
lea ecx, [esp + 0x25c8]
push ecx
lea edx, [esp + 0x15cc]
push edx
lea eax, [esp + 0x440]
push str.__s____s
push eax
call esi
push 0x100606d0
lea ecx, [esp + 0x44c]
push 0x8c8
push ecx
call fcn.100397a8
add esp, 0x38
cmp byte [0x1006c67d], 0
je 0x10033f85
lea edi, [esp + 0x41c]
mov eax, ebp
call fcn.10033d90
cmp byte [0x1006c67e], 0
pop edi
pop esi
pop ebp
je 0x10033fc3
lea edx, [esp + 0x25a0]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push str.WIWatch
push 0
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
je 0x10033fc3
lea ecx, [esp + 0x410]
push ecx
push 0
push 0xc
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esp + 0x3604]
xor ecx, esp
call fcn.1003754f
add esp, 0x3608
ret