joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1167b6ba
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push esi
call fcn.116e1560
mov edi, dword [ebp + 0xc]
mov ebx, eax
pop ecx
mov eax, 0x1f3
sub eax, ebx
push edi
push esi
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [ebp + 0xc], eax
jne 0x1167b6f2
push 1
pop eax
jmp 0x1167b799
mov dword [ebp + 8], 1
test byte [edi], 0x10
je 0x1167b75d
cmp byte [edi + 0x2c], 0x2e
lea ecx, [edi + 0x2c]
jne 0x1167b718
mov al, byte [edi + 0x2d]
cmp al, 0x2e
jne 0x1167b714
cmp byte [edi + 0x2e], 0
je 0x1167b775
test al, al
je 0x1167b775
push ecx
call fcn.116e1560
inc eax
pop ecx
cmp dword [ebp - 4], eax
jb 0x1167b775
and byte [ebx + esi - 1], 0
lea eax, [edi + 0x2c]
push eax
push esi
call fcn.116e1480
push 0x117b54b0
push esi
call fcn.116e1480
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push edi
push esi
call fcn.1167b6ba
add esp, 0x20
mov byte [ebx + esi - 1], 0x2a
and byte [ebx + esi], 0
mov dword [ebp + 8], eax
jmp 0x1167b775
push dword [ebp + 0x14]
and byte [ebx + esi - 1], 0
lea eax, [edi + 0x2c]
push eax
push esi
call dword [ebp + 0x10]
mov dword [ebp + 8], eax
mov byte [ebx + esi - 1], 0x2a
cmp dword [ebp + 8], 0
je 0x1167b78d
push edi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x1167b6f9
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1167b85c
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push esi
call fcn.116e0997
mov edi, dword [ebp + 0xc]
mov ebx, eax
pop ecx
mov eax, 0x1f3
sub eax, ebx
push edi
push esi
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
mov dword [ebp + 0xc], eax
jne 0x1167b894
push 1
pop eax
jmp 0x1167b948
mov dword [ebp + 8], 1
test byte [edi], 0x10
je 0x1167b909
cmp word [edi + 0x2c], 0x2e
lea ecx, [edi + 0x2c]
jne 0x1167b8c0
mov ax, word [edi + 0x2e]
cmp ax, 0x2e
jne 0x1167b8bb
cmp word [edi + 0x30], 0
je 0x1167b924
test ax, ax
je 0x1167b924
push ecx
call fcn.116e0997
inc eax
pop ecx
cmp dword [ebp - 4], eax
jb 0x1167b924
and word [esi + ebx*2 - 2], 0
lea eax, [edi + 0x2c]
push eax
push esi
call fcn.116e0f05
push 0x117b54b4
push esi
call fcn.116e0f05
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push edi
push esi
call fcn.1167b85c
add esp, 0x20
mov word [esi + ebx*2 - 2], 0x2a
and word [esi + ebx*2], 0
mov dword [ebp + 8], eax
jmp 0x1167b924
push dword [ebp + 0x14]
and word [esi + ebx*2 - 2], 0
lea eax, [edi + 0x2c]
push eax
push esi
call dword [ebp + 0x10]
mov dword [ebp + 8], eax
mov word [esi + ebx*2 - 2], 0x2a
cmp dword [ebp + 8], 0
je 0x1167b93c
push edi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1167b89b
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1167c121
Capabilities:
Check if file exists
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Get file attributes
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x660
push ebx
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x1167c2b1
push ebx
call fcn.116e0997
test eax, eax
pop ecx
je 0x1167c2b1
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
je 0x1167c2b1
test al, 1
je 0x1167c169
and al, 0xfe
push eax
push ebx
mov dword [ebp + 8], eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test byte [ebp + 8], 0x10
je 0x1167c295
and word [ebp - 0x660], 0
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x65e]
push ebx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x660]
push eax
call fcn.116e0f2f
lea eax, [ebp - 0x660]
push 0x117b54b4
push eax
call fcn.116e0f05
and dword [ebp - 0x250], 0
mov ecx, 0x93
xor eax, eax
lea edi, [ebp - 0x24c]
add esp, 0x10
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x250]
push eax
lea eax, [ebp - 0x660]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
je 0x1167c28b
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpW]
lea eax, [ebp - 0x224]
push 0x117b54ec
push eax
call edi
test eax, eax
je 0x1167c26a
lea eax, [ebp - 0x224]
push 0x117b54e8
push eax
call edi
test eax, eax
je 0x1167c26a
and word [ebp - 0x458], 0
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x456]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x458]
push ebx
push eax
call fcn.116e0f2f
lea eax, [ebp - 0x458]
push 0x117b02e8
push eax
call fcn.116e0f05
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x458]
push eax
call fcn.116e0f05
push dword [ebp + 0xc]
lea eax, [ebp - 0x458]
push eax
call fcn.1167c121
add esp, 0x20
lea eax, [ebp - 0x250]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1167c1e4
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindClose]
push ebx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
pop edi
jmp 0x1167c29c
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1167c2b3
cmp dword [ebp + 0xc], eax
je 0x1167c2b3
push 4
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
jmp 0x1167c2b3
xor eax, eax
pop ebx
leave
ret
Function at 0x1167c2b6
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x668
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
cmp esi, ebx
je 0x1167c4c1
push esi
call fcn.116e0997
test eax, eax
pop ecx
je 0x1167c4c1
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 4]
push ebx
push eax
push esi
mov dword [ebp - 4], ebx
call fcn.11679bdc
add esp, 0x1c
test eax, eax
je 0x1167c4c1
cmp dword [ebp - 4], 0xffffffff
je 0x1167c4c1
test byte [ebp - 4], 1
je 0x1167c318
and dword [ebp - 4], 0xfffffffe
push dword [ebp - 4]
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test byte [ebp - 4], 0x10
je 0x1167c4a5
test byte [ebp - 3], 4
je 0x1167c33b
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
je 0x1167c33b
push 1
pop eax
jmp 0x1167c4c3
mov esi, 0x81
push edi
mov ecx, esi
xor eax, eax
lea edi, [ebp - 0x666]
mov word [ebp - 0x668], bx
push dword [ebp + 8]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x668]
push eax
call fcn.116e0f2f
lea eax, [ebp - 0x668]
push 0x117b54b4
push eax
call fcn.116e0f05
mov ecx, 0x93
xor eax, eax
lea edi, [ebp - 0x254]
mov dword [ebp - 0x258], ebx
add esp, 0x10
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x258]
push eax
lea eax, [ebp - 0x668]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
mov dword [ebp - 8], eax
je 0x1167c48a
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpW]
lea eax, [ebp - 0x22c]
push 0x117b54ec
push eax
call edi
test eax, eax
je 0x1167c469
lea eax, [ebp - 0x22c]
push 0x117b54e8
push eax
call edi
test eax, eax
je 0x1167c469
mov ecx, esi
xor eax, eax
lea edi, [ebp - 0x45e]
mov word [ebp - 0x460], bx
push dword [ebp + 8]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x460]
push eax
call fcn.116e0f2f
lea eax, [ebp - 0x460]
push 0x117b02e8
push eax
call fcn.116e0f05
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x460]
push eax
call fcn.116e0f05
add esp, 0x18
test byte [ebp - 0x257], 4
je 0x1167c458
test byte [ebp - 0x231], 0x20
jne 0x1167c449
cmp dword [ebp - 0x234], 0x8000001b
jne 0x1167c458
lea eax, [ebp - 0x460]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x1167c469
push dword [ebp + 0xc]
lea eax, [ebp - 0x460]
push eax
call fcn.1167c2b6
pop ecx
pop ecx
lea eax, [ebp - 0x258]
push eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1167c3ae
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FindClose]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
cmp eax, ebx
pop edi
jne 0x1167c4c3
cmp dword [ebp + 0xc], ebx
je 0x1167c4c3
push 4
push ebx
push dword [ebp + 8]
jmp 0x1167c4b9
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp eax, ebx
jne 0x1167c4c3
cmp dword [ebp + 0xc], ebx
je 0x1167c4c3
push 4
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
jmp 0x1167c4c3
xor eax, eax
pop esi
pop ebx
leave
ret
Function at 0x1167c4c7
Capabilities:
Enumerate files on windows
Enumerate files recursively
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x668
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
cmp esi, ebx
je 0x1167c663
push esi
call fcn.116e0997
test eax, eax
pop ecx
je 0x1167c663
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 4]
push ebx
push eax
push esi
mov dword [ebp - 4], ebx
call fcn.11679bdc
add esp, 0x1c
test eax, eax
je 0x1167c663
cmp dword [ebp - 4], 0xffffffff
je 0x1167c663
test byte [ebp - 4], 1
je 0x1167c529
and dword [ebp - 4], 0xfffffffe
push dword [ebp - 4]
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test byte [ebp - 4], 0x10
je 0x1167c657
mov esi, 0x81
push edi
mov ecx, esi
xor eax, eax
lea edi, [ebp - 0x666]
mov word [ebp - 0x668], bx
push dword [ebp + 8]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x668]
push eax
call fcn.116e0f2f
lea eax, [ebp - 0x668]
push 0x117b54b4
push eax
call fcn.116e0f05
mov ecx, 0x93
xor eax, eax
lea edi, [ebp - 0x45c]
mov dword [ebp - 0x460], ebx
add esp, 0x10
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x460]
push eax
lea eax, [ebp - 0x668]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
mov dword [ebp - 8], eax
je 0x1167c648
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpW]
lea eax, [ebp - 0x434]
push 0x117b54ec
push eax
call edi
test eax, eax
je 0x1167c627
lea eax, [ebp - 0x434]
push 0x117b54e8
push eax
call edi
test eax, eax
je 0x1167c627
mov ecx, esi
xor eax, eax
lea edi, [ebp - 0x20e]
mov word [ebp - 0x210], bx
push dword [ebp + 8]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x210]
push eax
call fcn.116e0f2f
lea eax, [ebp - 0x210]
push 0x117b02e8
push eax
call fcn.116e0f05
lea eax, [ebp - 0x434]
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.116e0f05
lea eax, [ebp - 0x210]
push eax
call fcn.1167c4c7
add esp, 0x1c
lea eax, [ebp - 0x460]
push eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1167c5a6
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FindClose]
push 4
push ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
pop edi
jmp 0x1167c665
push 4
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
jmp 0x1167c665
xor eax, eax
pop esi
pop ebx
leave
ret
Function at 0x1167cada
Capabilities:
Check for time delay via gettickcount
Check if file exists
Copy file
Get file attributes
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push edi
push dword [ebp + 8]
call esi
cmp eax, 0xffffffff
je 0x1167cba1
mov ebx, dword [ebp + 0xc]
push ebx
call esi
cmp eax, 0xffffffff
mov dword [ebp - 4], eax
je 0x1167cbb8
test al, 1
je 0x1167cb1d
and al, 0xfe
push eax
push ebx
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test byte [ebp - 4], 0x10
je 0x1167cbb8
and word [ebp - 0x404], 0
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x402]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
push eax
push ebx
mov ebx, str._s.bak_08X
lea eax, [ebp - 0x404]
push ebx
push eax
call fcn.116e0f91
and dword [ebp - 4], 0
add esp, 0x10
lea eax, [ebp - 0x404]
push eax
call esi
cmp eax, 0xffffffff
je 0x1167cba5
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
call edi
push eax
lea eax, [ebp - 0x404]
push dword [ebp + 0xc]
push ebx
push eax
call fcn.116e0f91
add esp, 0x10
lea eax, [ebp - 0x404]
push eax
call esi
inc dword [ebp - 4]
cmp dword [ebp - 4], 0xa
jl 0x1167cb6c
xor eax, eax
jmp 0x1167cbd0
lea eax, [ebp - 0x404]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov ebx, dword [ebp + 0xc]
push dword [ebp + 0x10]
push ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push ebx
mov esi, eax
call fcn.1167e38b
pop ecx
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1167cbd5
Capabilities:
Check for time delay via gettickcount
Check if file exists
Copy file
Get file attributes
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push edi
push dword [ebp + 8]
call esi
cmp eax, 0xffffffff
je 0x1167cc9c
mov ebx, dword [ebp + 0xc]
push ebx
call esi
cmp eax, 0xffffffff
mov dword [ebp - 4], eax
je 0x1167ccb3
test al, 1
je 0x1167cc18
and al, 0xfe
push eax
push ebx
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test byte [ebp - 4], 0x10
je 0x1167ccb3
and word [ebp - 0x404], 0
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x402]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
push eax
push ebx
mov ebx, str._s.bak_08X
lea eax, [ebp - 0x404]
push ebx
push eax
call fcn.116e0f91
and dword [ebp - 4], 0
add esp, 0x10
lea eax, [ebp - 0x404]
push eax
call esi
cmp eax, 0xffffffff
je 0x1167cca0
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
call edi
push eax
lea eax, [ebp - 0x404]
push dword [ebp + 0xc]
push ebx
push eax
call fcn.116e0f91
add esp, 0x10
lea eax, [ebp - 0x404]
push eax
call esi
inc dword [ebp - 4]
cmp dword [ebp - 4], 0xa
jl 0x1167cc67
xor eax, eax
jmp 0x1167cccb
lea eax, [ebp - 0x404]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov ebx, dword [ebp + 0xc]
push dword [ebp + 0x10]
push ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push ebx
mov esi, eax
call fcn.1167e3c5
pop ecx
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1167d259
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
call fcn.116f3b50
test eax, eax
je 0x1167d276
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextW]
pop ebp
ret
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
push esi
push edi
je 0x1167d2df
mov esi, dword [ebp + 0x10]
cmp esi, ebx
je 0x1167d2df
lea eax, [esi + esi]
push eax
push ebx
push dword [ebp + 0xc]
call fcn.116e0420
push esi
call fcn.116e0478
mov edi, eax
add esp, 0x10
test edi, edi
je 0x1167d2df
push esi
push ebx
push edi
call fcn.116e0420
add esp, 0xc
push esi
push edi
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ebx, eax
test ebx, ebx
je 0x1167d2df
push esi
xor ebx, ebx
push dword [ebp + 0xc]
push 0xffffffffffffffff
push edi
call fcn.1169b731
add esp, 0x10
test eax, eax
je 0x1167d2df
push dword [ebp + 0xc]
call fcn.116e0997
pop ecx
mov ebx, eax
pop edi
mov eax, ebx
pop esi
pop ebx
pop ebp
ret
Function at 0x1167d32c
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
mov esi, dword [ebp + 0xc]
xor ebx, ebx
push edi
mov dword [ebp - 8], ebx
mov edi, 0x200
mov dword [ebp - 0xc], ebx
mov dword [ebp - 4], ebx
cmp dword [ebp - 4], 1
jne 0x1167d353
mov edi, 0x400
cmp dword [ebp - 4], 2
jne 0x1167d393
xor eax, eax
lea edi, [ebp - 0x20]
mov dword [ebp - 0x24], ebx
push ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp + 0xc]
mov dword [ebp + 0xc], ebx
push eax
lea eax, [ebp - 0x24]
push 0x18
push eax
push ebx
push ebx
push 0x70000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x1167d3dd
mov edi, dword [ebp - 0x10]
cmp edi, 0x200
jb 0x1167d3dd
push edi
call fcn.116e0478
push edi
push ebx
push eax
mov dword [esi], eax
call fcn.116e0420
add esp, 0x10
lea eax, [ebp - 0xc]
push ebx
push eax
push edi
push dword [esi]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, ebx
mov dword [ebp - 8], eax
jne 0x1167d3d5
push dword [esi]
call fcn.116e0410
inc dword [ebp - 4]
pop ecx
cmp dword [ebp - 4], 3
mov dword [esi], ebx
jl 0x1167d348
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0xc]
mov dword [eax], ecx
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1167d3e5
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
and word [ebp - 0x210], 0
push esi
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x20e]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov esi, 0x117b2468
lea edi, [ebp - 8]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov esi, dword [ebp + 8]
xor edi, edi
test esi, esi
je 0x1167d422
cmp esi, 1
jne 0x1167d430
call fcn.116f3b00
test eax, eax
jne 0x1167d430
push 4
pop edi
jmp 0x1167d49b
lea eax, [ebp - 0x210]
push 0x103
push eax
lea eax, [ebp - 8]
add esi, 0x41
push eax
mov word [ebp - 8], si
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
jbe 0x1167d499
cmp eax, 0x104
jae 0x1167d499
lea eax, [ebp - 0x210]
push eax
call fcn.116e1ab5
lea eax, [ebp - 0x210]
mov dword [esp], str.cdrom
push eax
call fcn.116e0e84
pop ecx
test eax, eax
pop ecx
je 0x1167d480
push 5
pop edi
lea eax, [ebp - 0x210]
push str.floppy
push eax
call fcn.116e0e84
pop ecx
test eax, eax
pop ecx
je 0x1167d49b
jmp 0x1167d42b
xor edi, edi
mov eax, edi
pop edi
pop esi
leave
ret
Function at 0x1167d4a1
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 0xc]
push esi
xor esi, esi
xor eax, eax
cmp ebx, esi
je 0x1167d61f
cmp dword [ebp + 0x10], 0x200
jne 0x1167d61f
push edi
push 7
pop ecx
lea edi, [ebp - 0x2a]
mov word [ebp - 0x2c], si
push 0x20
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x2c]
push esi
push eax
mov dword [ebp - 4], esi
mov dword [ebp + 0x10], esi
call fcn.116e0420
mov eax, dword [0x117b55e4]
add esp, 0xc
mov dword [ebp - 0xc], eax
mov eax, dword [0x117b55e8]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
add eax, 0x41
push 0x10
mov word [ebp - 0xc], ax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp + 0x10]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push dword [ebp + 0x14]
push esi
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
push 5
test eax, eax
pop edi
je 0x1167d5ef
lea eax, [ebp - 0x2c]
push eax
call fcn.116e0997
lea esi, [ebx + 0x36]
push edi
push str.FAT16
push esi
mov dword [ebp + 0xc], eax
call fcn.116f14c0
add esp, 0x10
test eax, eax
jne 0x1167d589
cmp dword [ebp + 0xc], edi
jne 0x1167d568
push edi
lea eax, [ebp - 0x2c]
push 0x117b55d0
push eax
call fcn.116e089f
add esp, 0xc
test eax, eax
je 0x1167d585
cmp dword [ebp + 0xc], 3
jne 0x1167d589
push 3
lea eax, [ebp - 0x2c]
push 0x117b55c8
push eax
call fcn.116e089f
add esp, 0xc
test eax, eax
jne 0x1167d589
push 3
jmp 0x1167d5ec
push edi
push str.FAT12
push esi
call fcn.116f14c0
add esp, 0xc
test eax, eax
jne 0x1167d5b9
cmp dword [ebp + 0xc], 3
jne 0x1167d5b9
push 3
lea eax, [ebp - 0x2c]
push 0x117b55c8
push eax
call fcn.116e089f
add esp, 0xc
test eax, eax
je 0x1167d585
push edi
lea eax, [ebx + 0x52]
push str.FAT32
push eax
call fcn.116f14c0
add esp, 0xc
test eax, eax
jne 0x1167d5ef
cmp dword [ebp + 0xc], edi
jne 0x1167d5ef
push edi
lea eax, [ebp - 0x2c]
push 0x117b55ac
push eax
call fcn.116e089f
add esp, 0xc
test eax, eax
jne 0x1167d5ef
push 2
pop eax
jmp 0x1167d61e
lea esi, [ebx + 3]
push edi
push str.EXFAT
push esi
call fcn.116f14c0
add esp, 0xc
test eax, eax
jne 0x1167d609
mov eax, edi
jmp 0x1167d61e
push 4
push str.NTFS
push esi
call fcn.116f14c0
add esp, 0xc
neg eax
sbb eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1167eebd
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2818
call fcn.116e1db0
mov eax, dword [ebp + 0xc]
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
mov dword [eax], ebx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
mov dword [eax], ebx
je 0x1167efeb
push esi
lea eax, [ebp - 0x14]
push edi
mov esi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
push eax
lea eax, [ebp - 0x2818]
push 0x2800
push eax
push 2
mov dword [ebp - 0x14], ebx
push dword [ebp + 8]
call esi
cmp eax, ebx
jne 0x1167ef4a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1167efca
mov edi, dword [ebp - 0x14]
push edi
call fcn.116e0478
cmp eax, ebx
pop ecx
mov dword [ebp - 8], eax
je 0x1167efca
lea eax, [ebp - 0x14]
push eax
push edi
push dword [ebp - 8]
push 2
push dword [ebp + 8]
call esi
cmp eax, ebx
je 0x1167efca
lea eax, [ebp - 4]
mov byte [ebp - 0x10], bl
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
lea eax, [ebp - 0x10]
push 2
push eax
mov byte [ebp - 0xf], bl
mov byte [ebp - 0xe], bl
mov byte [ebp - 0xd], bl
mov byte [ebp - 0xc], bl
mov byte [ebp - 0xb], 5
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x1167efca
xor esi, esi
cmp dword [ebp - 0x2818], ebx
jbe 0x1167efca
lea edi, [ebp - 0x2814]
push dword [edi]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x1167efab
inc esi
add edi, 8
cmp esi, dword [ebp - 0x2818]
jb 0x1167ef8e
jmp 0x1167efca
mov eax, dword [ebp + esi*8 - 0x2810]
push 1
pop ecx
test al, 8
mov dword [ebp - 0x18], ecx
je 0x1167efc1
mov edx, dword [ebp + 0xc]
mov dword [edx], ecx
test al, 4
je 0x1167efca
mov eax, dword [ebp + 0x10]
mov dword [eax], ecx
cmp dword [ebp - 4], ebx
pop edi
pop esi
je 0x1167efdd
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov dword [ebp - 4], ebx
cmp dword [ebp - 8], ebx
je 0x1167efeb
push dword [ebp - 8]
call fcn.116e0410
pop ecx
mov eax, dword [ebp - 0x18]
pop ebx
leave
ret
Function at 0x1167f0a8
Capabilities:
Find taskbar

Disassembly:
mov eax, 0x1178c458
call fcn.116e0880
sub esp, 0x20
push ebx
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
cmp edi, 0xffffffff
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
jne 0x1167f144
push ebx
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowW]
cmp eax, ebx
je 0x1167f144
lea ecx, [ebp - 0x10]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp dword [ebp - 0x10], ebx
je 0x1167f144
push dword [ebp - 0x10]
lea eax, [ebp - 0x1c]
push eax
call fcn.116c0630
push str.Explorer.exe
mov dword [ebp - 4], ebx
push dword [eax]
call fcn.116e0da5
add esp, 0x10
cmp eax, ebx
sete byte [ebp + 0xb]
or dword [ebp - 4], edi
lea ecx, [ebp - 0x1c]
call fcn.116a6790
cmp byte [ebp + 0xb], bl
je 0x1167f144
push dword [ebp - 0x10]
call fcn.116c6560
cmp eax, ebx
pop ecx
mov dword [ebp - 0x14], eax
je 0x1167f144
push eax
call fcn.116c5f50
cmp eax, ebx
pop ecx
je 0x1167f1c5
mov dword [0x117df4d4], eax
jmp 0x1167f1c5
cmp edi, 0xffffffff
mov dword [ebp - 0x10], ebx
jne 0x1167f15b
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call fcn.116c04b0
pop ecx
mov edi, eax
push str.explorer.exe
lea ecx, [ebp - 0x18]
call fcn.116a5ff0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 1
call fcn.116b3b80
push edi
lea eax, [ebp - 0x2c]
push dword [ebp - 0x18]
mov byte [ebp - 4], 2
push eax
call fcn.116c0810
add esp, 0xc
cmp dword [ebp - 0x28], ebx
je 0x1167f1a1
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
push eax
mov dword [ebp - 0x10], eax
call fcn.116c6560
pop ecx
jmp 0x1167f1aa
mov eax, dword [0x117df4d4]
cmp eax, ebx
je 0x1167f1ad
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.116b3b90
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.116a6790
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
pop edi
pop ebx
mov dword fs:[0], ecx
leave
ret