joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1165ed23
Capabilities:
Find taskbar

Disassembly:
mov eax, 0x1176b348
call fcn.116bf770
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 0x1165edbf
push ebx
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowW]
cmp eax, ebx
je 0x1165edbf
lea ecx, [ebp - 0x10]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp dword [ebp - 0x10], ebx
je 0x1165edbf
push dword [ebp - 0x10]
lea eax, [ebp - 0x1c]
push eax
call fcn.1169f520
push str.Explorer.exe
mov dword [ebp - 4], ebx
push dword [eax]
call fcn.116bfc95
add esp, 0x10
cmp eax, ebx
sete byte [ebp + 0xb]
or dword [ebp - 4], edi
lea ecx, [ebp - 0x1c]
call fcn.11685680
cmp byte [ebp + 0xb], bl
je 0x1165edbf
push dword [ebp - 0x10]
call fcn.116a5450
cmp eax, ebx
pop ecx
mov dword [ebp - 0x14], eax
je 0x1165edbf
push eax
call fcn.116a4e40
cmp eax, ebx
pop ecx
je 0x1165ee40
mov dword [0x117bde34], eax
jmp 0x1165ee40
cmp edi, 0xffffffff
mov dword [ebp - 0x10], ebx
jne 0x1165edd6
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call fcn.1169f3a0
pop ecx
mov edi, eax
push str.explorer.exe
lea ecx, [ebp - 0x18]
call fcn.11684ee0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 1
call fcn.11692a70
push edi
lea eax, [ebp - 0x2c]
push dword [ebp - 0x18]
mov byte [ebp - 4], 2
push eax
call fcn.1169f700
add esp, 0xc
cmp dword [ebp - 0x28], ebx
je 0x1165ee1c
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
push eax
mov dword [ebp - 0x10], eax
call fcn.116a5450
pop ecx
jmp 0x1165ee25
mov eax, dword [0x117bde34]
cmp eax, ebx
je 0x1165ee28
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.11692a80
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.11685680
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
pop edi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x1165f9ca
Capabilities:
Check if file exists
Get disk size
Get file attributes

Disassembly:
mov eax, 0x1176b3dc
call fcn.116bf770
sub esp, 0x410
push ebx
push esi
xor esi, esi
xor ebx, ebx
cmp dword [ebp + 8], esi
je 0x1165faad
cmp dword [ebp + 0xc], esi
jne 0x1165f9fc
cmp dword [ebp + 0x10], esi
jne 0x1165f9fc
cmp dword [ebp + 0x14], esi
je 0x1165faad
push edi
mov ecx, 0x103
push dword [ebp + 8]
xor eax, eax
lea edi, [ebp - 0x41a]
mov word [ebp - 0x41c], si
rep stosd dword es:[edi], eax
lea ecx, [ebp + 8]
stosw word es:[edi], ax
call fcn.11684ee0
mov dword [ebp - 4], esi
pop edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1165fa4e
test al, 0x10
je 0x1165fa4e
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
mov ebx, eax
cmp ebx, esi
jne 0x1165faa1
push 0x410
lea eax, [ebp - 0x41c]
push esi
push eax
call fcn.116bf310
lea eax, [ebp - 0x41c]
push 0x207
push eax
push dword [ebp + 8]
call fcn.116a86d0
add esp, 0x18
test eax, eax
je 0x1165faa1
lea eax, [ebp - 0x41c]
push eax
push dword [ebp + 8]
call fcn.116bfc95
pop ecx
cmp eax, esi
pop ecx
je 0x1165faa1
lea eax, [ebp - 0x41c]
lea ecx, [ebp + 8]
push eax
call fcn.11685900
jmp 0x1165fa24
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.11685680
mov ecx, dword [ebp - 0xc]
mov eax, ebx
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x116670ca
Capabilities:
Get disk information

Disassembly:
mov eax, 0x1176bba8
call fcn.116bf770
sub esp, 0x21c
mov eax, dword [0x117bf470]
test eax, eax
je 0x116670fc
push str.NetMapDiskCorres__0
push 0x11793564
push 0xffffffffffffffff
push 0x117bebdc
call fcn.116bd9a0
add esp, 0x10
push ebx
push esi
push edi
mov ebx, 0x117bded0
push 0xffffffffffffffff
push 0
mov ecx, ebx
call fcn.1168b010
mov esi, 0x117bdee0
mov ecx, esi
call fcn.11667524
mov eax, dword [0x11794404]
and dword [ebp - 0x14], 0
mov dword [ebp - 0x20], eax
mov eax, dword [0x11794408]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
add eax, 0x41
mov word [ebp - 0x20], ax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 4
jne 0x1166721c
mov eax, dword [0x11773dfc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
and dword [ebp - 4], 0
add eax, 0x41
push eax
lea eax, [ebp - 0x10]
push 0x117912a0
push eax
call fcn.11688600
and word [ebp - 0x228], 0
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x226]
rep stosd dword es:[edi], eax
add esp, 0xc
mov dword [ebp - 0x18], 0x104
stosw word es:[edi], ax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x228]
push eax
push dword [ebp - 0x10]
call sub.MPR.dll_WNetGetConnectionW
mov edi, eax
test edi, edi
jne 0x116671e3
lea eax, [ebp - 0x228]
push eax
call fcn.116bf887
test eax, eax
pop ecx
jbe 0x116671e3
mov eax, dword [0x117bded4]
lea ecx, [ebp - 0x10]
push ecx
push eax
mov ecx, ebx
call fcn.1168b5b0
lea eax, [ebp - 0x228]
mov ecx, esi
push eax
push dword [ebp - 0x10]
call fcn.11667583
mov ecx, eax
call fcn.11685900
cmp dword [0x117bf470], 0
je 0x11667210
lea eax, [ebp - 0x228]
push eax
push dword [ebp - 0x10]
push edi
push str.GetAllNetDriver__3_dwRet__d__strDrive__s__wszRemoteName__s__network
push 0x11793564
push 0xffffffffffffffff
push 0x117bebdc
call fcn.116bd9a0
add esp, 0x1c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.11685680
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0x1a
jl 0x1166712f
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x11667ecd
Capabilities:
Get user security identifier

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
mov esi, dword [ebp + 0xc]
push edi
xor edi, edi
cmp dword [ebp + 8], edi
mov dword [ebp - 4], edi
mov dword [ebp - 8], edi
mov dword [esi], edi
je 0x11667f80
lea eax, [ebp - 0x14]
push ebx
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
mov ebx, dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
push edi
push eax
push edi
push dword [ebp + 8]
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], edi
push edi
call ebx
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [ebp - 4], edi
jne 0x11667f1f
cmp eax, 0x7a
jne 0x11667f89
push dword [ebp - 0x10]
call fcn.116bf368
mov dword [esi], eax
mov eax, dword [ebp - 0xc]
add eax, eax
push eax
call fcn.116bf368
mov dword [ebp + 0xc], eax
mov eax, dword [esi]
pop ecx
cmp eax, edi
pop ecx
je 0x11667f9b
cmp dword [ebp + 0xc], edi
je 0x11667f9b
push dword [ebp - 0x10]
push edi
push eax
call fcn.116bf310
mov eax, dword [ebp - 0xc]
add eax, eax
push eax
push edi
push dword [ebp + 0xc]
call fcn.116bf310
add esp, 0x18
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push dword [ebp + 0xc]
push eax
push dword [esi]
push dword [ebp + 8]
push edi
call ebx
cmp eax, edi
mov dword [ebp - 4], eax
je 0x11667f92
jmp 0x11667fa2
mov dword [ebp - 8], 1
jmp 0x11667fb6
mov dword [ebp - 8], 2
jmp 0x11667fb0
mov dword [ebp - 8], 4
jmp 0x11667fa2
mov dword [ebp - 8], 3
cmp dword [ebp + 0xc], edi
je 0x11667fb0
push dword [ebp + 0xc]
call fcn.116bf300
pop ecx
cmp dword [ebp - 4], edi
pop ebx
jne 0x11667fc5
mov eax, dword [esi]
cmp eax, edi
je 0x11667fc5
push eax
call fcn.116bf300
pop ecx
mov dword [esi], edi
cmp dword [0x117bf470], edi
je 0x11667ffb
mov eax, dword [ebp + 8]
cmp eax, edi
jne 0x11667fd9
mov eax, str.NULL
push dword [esi]
push eax
push dword [ebp - 8]
push dword [ebp - 4]
push str.CKSecurity::GetSid_____ret:__d___myerror:__d___Name:__s___Sid:__08x_
push str.Security
push 0xffffffffffffffff
push 0x117bebdc
call fcn.116bd9a0
add esp, 0x20
mov eax, dword [ebp - 4]
pop edi
pop esi
leave
ret
Function at 0x11668909
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
xor ebx, ebx
xor esi, esi
cmp dword [ebp + 8], ebx
push edi
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
je 0x116689e0
xor eax, eax
lea edi, [ebp - 0x14]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 2
lea eax, [ebp - 0x18]
pop edi
mov dword [ebp - 0x18], ebx
push edi
push 0xc
push eax
mov dword [ebp - 0x10], ebx
push dword [ebp + 8]
mov dword [ebp - 0x14], 8
call dword [sym.imp.ADVAPI32.dll_GetAclInformation]
test eax, eax
je 0x116689e9
cmp dword [ebp - 0x18], ebx
jbe 0x116689ec
cmp dword [ebp - 0x18], ebx
jbe 0x116689ec
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], ebx
push eax
push esi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_GetAce]
test eax, eax
je 0x1166899d
mov eax, dword [ebp - 0xc]
test byte [eax + 1], 0x10
jne 0x116689a6
add eax, 8
push eax
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x116689af
inc esi
cmp esi, dword [ebp - 0x18]
jb 0x11668966
jmp 0x116689ec
mov dword [ebp - 4], 3
jmp 0x116689ec
mov dword [ebp - 4], 4
jmp 0x116689ec
cmp dword [ebp + 0x10], 0x10000000
mov dword [ebp - 8], 1
jne 0x116689ec
mov eax, dword [ebp - 0xc]
cmp byte [eax], bl
jne 0x116689d4
mov ecx, dword [eax + 4]
mov eax, 0x1f0000
and ecx, eax
cmp ecx, eax
je 0x116689ec
mov dword [ebp - 4], 5
mov dword [ebp - 8], ebx
jmp 0x116689ec
mov dword [ebp - 4], 1
jmp 0x116689ec
mov dword [ebp - 4], edi
cmp dword [0x117bf470], ebx
je 0x11668a1d
push esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [ebp - 8]
push str.CKSecurity::IsInAcl_____Inner___ret:__d___myerror:__d___Acl:__08x___Sid:__08x___Mask:__08x___Index:__d_
push str.Security
push 0xffffffffffffffff
push 0x117bebdc
call fcn.116bd9a0
add esp, 0x28
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x116692eb
Capabilities:
Get common file path
Set current directory

Disassembly:
mov eax, 0x1176bf44
call fcn.116bf770
sub esp, 0x850
and dword [ebp - 0x10], 0
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
push edi
call fcn.11668e4b
test eax, eax
jne 0x116693fb
lea ecx, [ebp - 0x5c]
call fcn.11669067
and dword [ebp - 4], 0
lea eax, [ebp + 8]
push eax
push edi
lea ecx, [esi + 4]
call fcn.1166ae58
test eax, eax
je 0x116693ef
add eax, 0x10
lea ecx, [ebp - 0x5c]
push eax
call fcn.1166ac81
push edi
mov ecx, esi
call fcn.1166a897
test eax, eax
je 0x116693ef
push edi
mov ecx, esi
call fcn.11669284
test eax, eax
jne 0x116693ef
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x11669373
mov eax, dword [ecx]
call dword [eax]
test eax, eax
mov dword [ebp - 0x10], eax
je 0x116693ef
cmp dword [ebp - 0x34], 2
jne 0x116693e8
and word [ebp - 0x85c], 0
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0x85a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x85c]
push eax
push 0x3ff
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push dword [ebp - 0x4c]
mov esi, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
call esi
push dword [ebp - 0x50]
lea ecx, [ebp + 8]
call fcn.1167fba0
push dword [eax]
mov byte [ebp - 4], 1
call fcn.116704bb
and byte [ebp - 4], 0
pop ecx
lea ecx, [ebp + 8]
call fcn.11680300
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x116693df
mov dword [eax], 1
lea eax, [ebp - 0x85c]
push eax
call esi
mov dword [ebp - 0x10], 1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5c]
call fcn.116690fc
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 8

Function at 0x1166940e
Capabilities:
Set current directory

Disassembly:
mov eax, 0x1176bf60
call fcn.116bf770
sub esp, 0x50
push esi
mov esi, ecx
push edi
lea ecx, [ebp - 0x5c]
xor edi, edi
call fcn.11669067
and dword [ebp - 4], edi
lea eax, [ebp - 0x10]
push eax
lea ecx, [esi + 4]
push dword [ebp + 8]
call fcn.1166ae58
test eax, eax
je 0x116694ae
add eax, 0x10
lea ecx, [ebp - 0x5c]
push eax
call fcn.1166ac81
push dword [ebp + 8]
mov ecx, esi
call fcn.1166a897
test eax, eax
je 0x116694ae
push dword [ebp + 8]
mov ecx, esi
call fcn.11669284
test eax, eax
jne 0x116694ae
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x11669479
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, eax
test edi, edi
je 0x116694ae
cmp dword [ebp - 0x34], 2
jne 0x116694ab
push dword [ebp - 0x50]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push dword [ebp - 0x50]
lea ecx, [ebp + 8]
call fcn.1167fba0
push dword [eax]
mov byte [ebp - 4], 1
call fcn.116704f4
and byte [ebp - 4], 0
pop ecx
lea ecx, [ebp + 8]
call fcn.11680300
push 1
pop edi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5c]
call fcn.116690fc
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 4
Function at 0x1166a537
Capabilities:
Move file

Disassembly:
mov eax, 0x1176c088
call fcn.116bf770
push ecx
push edi
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.116b1530
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x1166a5ad
mov eax, dword [0x11773dfc]
mov dword [ebp - 0x10], eax
push dword [ebp + 0xc]
and dword [ebp - 4], edi
lea eax, [ebp - 0x10]
push str._s.tmp
push eax
call fcn.11688600
push edi
push dword [ebp - 0x10]
push dword [ebp + 8]
call fcn.116b1530
add esp, 0x18
test eax, eax
je 0x1166a5a1
push 5
push dword [ebp + 0xc]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov edi, eax
mov eax, dword [ebp + 0x10]
mov dword [eax], 1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.11685680
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
mov dword fs:[0], ecx
leave
ret 0xc

Function at 0x1166b431
Capabilities:
Check mutex on windows

Disassembly:
push esi
push edi
mov esi, ecx
xor edi, edi
cmp dword [esi + 4], edi
jne 0x1166b479
mov eax, dword [esi + 8]
cmp dword [eax - 8], edi
je 0x1166b479
call fcn.116a8550
push dword [esi + 8]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
cmp eax, edi
mov dword [esi + 4], eax
je 0x1166b479
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x1166b46d
push 1
pop edi
jmp 0x1166b479
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 4], edi
mov eax, edi
pop edi
pop esi
ret
Function at 0x1166d0fc
Capabilities:
Get common file path

Disassembly:
mov eax, 0x1176c52c
call fcn.116bf770
sub esp, 0xc
mov ecx, dword [ebp + 0xc]
push edi
call fcn.116853f0
mov edi, dword [ebp + 8]
push edi
call fcn.116bf887
pop ecx
cmp eax, 1
mov cx, word [edi]
jl 0x1166d24e
cmp cx, 0x5c
je 0x1166d24e
cmp cx, 0x2e
jne 0x1166d150
cmp eax, 1
je 0x1166d24e
cmp eax, 2
jne 0x1166d150
cmp word [edi + 2], cx
je 0x1166d24e
mov edx, dword [0x11773dfc]
push esi
mov dword [ebp - 0x10], edx
and dword [ebp - 4], 0
cmp eax, 3
jle 0x1166d189
cmp word [edi + 2], 0x3a
jne 0x1166d189
cmp word [edi + 4], 0x5c
jne 0x1166d189
cmp cx, 0x61
jb 0x1166d17d
cmp cx, 0x7a
jbe 0x1166d1d7
cmp cx, 0x41
jb 0x1166d189
cmp cx, 0x5a
jbe 0x1166d1d7
mov esi, 0x105
lea ecx, [ebp - 0x10]
push esi
call fcn.11686350
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
mov esi, eax
call fcn.11686420
test esi, esi
je 0x1166d24a
cmp esi, 0x104
ja 0x1166d24a
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax - 8]
cmp word [eax + ecx*2 - 2], 0x5c
je 0x1166d1d7
push 0x5c
lea ecx, [ebp - 0x10]
call fcn.11686310
push 0x11794330
lea ecx, [ebp - 0x18]
call fcn.11684ee0
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
push ecx
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.11685c20
push edi
push eax
lea eax, [ebp + 8]
mov byte [ebp - 4], 2
push eax
call fcn.11685df0
mov ecx, dword [ebp + 0xc]
push eax
mov byte [ebp - 4], 3
call fcn.11685810
lea ecx, [ebp + 8]
mov byte [ebp - 4], 2
call fcn.11685680
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.11685680
and byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.11685680
push 1
pop esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.11685680
mov eax, esi
pop esi
jmp 0x1166d251
xor esi, esi
jmp 0x1166d239
push 1
pop eax
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
leave
ret

Function at 0x1166d33e
Capabilities:
Get file attributes

Disassembly:
mov eax, 0x1176c568
call fcn.116bf770
push ecx
mov eax, dword [0x11773dfc]
push esi
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0
je 0x1166d36e
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
call fcn.1166d09b
pop ecx
test eax, eax
pop ecx
jne 0x1166d373
push dword [ebp + 8]
jmp 0x1166d376
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
mov esi, eax
call fcn.11685680
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x1166d399
Capabilities:
Set file attributes

Disassembly:
mov eax, 0x1176c57c
call fcn.116bf770
push ecx
mov eax, dword [0x11773dfc]
push esi
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0
je 0x1166d3c9
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
call fcn.1166d09b
pop ecx
test eax, eax
pop ecx
jne 0x1166d3d1
push dword [ebp + 0xc]
push dword [ebp + 8]
jmp 0x1166d3d7
push dword [ebp + 0xc]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
mov esi, eax
call fcn.11685680
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x1166d59a
Capabilities:
Create directory

Disassembly:
mov eax, 0x1176c5dc
call fcn.116bf770
push ecx
mov eax, dword [0x11773dfc]
push esi
xor esi, esi
mov dword [ebp - 0x10], eax
and dword [ebp - 4], esi
cmp dword [ebp + 8], esi
je 0x1166d5cd
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
call fcn.1166d09b
pop ecx
test eax, eax
pop ecx
je 0x1166d5cd
push 1
pop esi
mov eax, dword [0x117bf470]
test eax, eax
je 0x1166d5f3
push dword [ebp - 0x10]
push esi
push str.COverlongPathApi::CreateDirectoryW_bChangeToLongPath__d__wstrLongPath__s_
push str.COverlongPathApi
push 0xffffffffffffffff
push 0x117bebdc
call fcn.116bd9a0
add esp, 0x18
push dword [ebp + 0xc]
test esi, esi
jne 0x1166d5ff
push dword [ebp + 8]
jmp 0x1166d602
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
mov esi, eax
call fcn.11685680
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x1166d5e4
Capabilities:
Create directory

Disassembly:
mov eax, 0x1176c5dc
call fcn.116bf770
push ecx
mov eax, dword [0x11773dfc]
push esi
xor esi, esi
mov dword [ebp - 0x10], eax
and dword [ebp - 4], esi
cmp dword [ebp + 8], esi
je 0x1166d5cd
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
call fcn.1166d09b
pop ecx
test eax, eax
pop ecx
je 0x1166d5cd
push 1
pop esi
mov eax, dword [0x117bf470]
test eax, eax
je 0x1166d5f3
push dword [ebp - 0x10]
push esi
push str.COverlongPathApi::CreateDirectoryW_bChangeToLongPath__d__wstrLongPath__s_
push str.COverlongPathApi
push 0xffffffffffffffff
push 0x117bebdc
call fcn.116bd9a0
add esp, 0x18
push dword [ebp + 0xc]
test esi, esi
jne 0x1166d5ff
push dword [ebp + 8]
jmp 0x1166d602
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
mov esi, eax
call fcn.11685680
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x11671b50
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
push ebx
mov ebx, dword [ebp + 8]
push edi
push 4
push 0x117944dc
push ebx
call fcn.116c0355
add esp, 0xc
test eax, eax
jne 0x11671b75
add ebx, 8
push ebx
call fcn.116bf887
cmp eax, 4
pop ecx
jb 0x11671c2c
cmp word [ebx + 2], 0x3a
jne 0x11671c2c
cmp word [ebx + 4], 0x5c
lea eax, [ebx + 4]
mov dword [ebp - 4], eax
jne 0x11671c2c
push esi
mov esi, 0x1179128c
lea edi, [ebp - 0x10]
xor eax, eax
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea edi, [ebp - 0xa]
stosd dword es:[edi], eax
stosw word es:[edi], ax
movzx eax, word [ebx]
push eax
call fcn.116c116d
mov word [ebp - 0x10], ax
pop ecx
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 4
pop esi
jne 0x11671c2c
and word [ebp - 0x218], 0
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x216]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp + 8]
mov dword [ebp + 8], 0x104
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x10]
push eax
call sub.MPR.dll_WNetGetConnectionW
test eax, eax
jne 0x11671c2c
push dword [ebp - 4]
lea eax, [ebp - 0x218]
push eax
mov eax, dword [ebp + 0x10]
dec eax
push 0x11791294
push eax
push dword [ebp + 0xc]
call fcn.116bfef0
add esp, 0x14
jmp 0x11671c3d
mov eax, dword [ebp + 0x10]
dec eax
push eax
push ebx
push dword [ebp + 0xc]
call fcn.116bfe44
add esp, 0xc
push 1
pop eax
pop edi
pop ebx
leave
ret
Function at 0x11671cb0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x46c
and word [ebp - 0x264], 0
push esi
push edi
mov ecx, 0x95
xor eax, eax
lea edi, [ebp - 0x262]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x264]
push 0x12c
push eax
push dword [ebp + 8]
call fcn.11671c44
add esp, 0xc
test eax, eax
je 0x11671e09
mov esi, 0x1179128c
lea edi, [ebp - 0xc]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
xor eax, eax
lea edi, [ebp - 6]
stosd dword es:[edi], eax
stosw word es:[edi], ax
cmp word [ebp - 0xc], 0x5a
ja 0x11671d99
and word [ebp - 0x46c], 0
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x46a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x46c]
push 0x104
push eax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
lea eax, [ebp - 0x46c]
push eax
call fcn.116bf887
mov esi, eax
pop ecx
test esi, esi
jbe 0x11671d6e
lea eax, [ebp - 0x46c]
push esi
push eax
lea eax, [ebp - 0x264]
push eax
call fcn.116bf78f
add esp, 0xc
test eax, eax
je 0x11671d74
inc word [ebp - 0xc]
jmp 0x11671d06
lea eax, [ebp + esi*2 - 0x264]
test eax, eax
je 0x11671d99
push eax
lea eax, [ebp - 0xc]
push eax
push 0x11791294
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.116bfef0
add esp, 0x14
jmp 0x11671e06
push 8
lea eax, [ebp - 0x264]
push 0x11791304
push eax
call fcn.116bf78f
add esp, 0xc
test eax, eax
jne 0x11671dcf
lea eax, [ebp - 0x254]
push eax
push 0x117912f8
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.116bfef0
add esp, 0x10
jmp 0x11671e06
push 0x19
lea eax, [ebp - 0x264]
push str.DeviceLanmanRedirector_
push eax
call fcn.116bf78f
add esp, 0xc
test eax, eax
jne 0x11671df1
lea eax, [ebp - 0x232]
jmp 0x11671db9
push dword [ebp + 0x10]
lea eax, [ebp - 0x264]
push dword [ebp + 0xc]
push eax
call fcn.11671b50
add esp, 0xc
push 1
pop eax
pop edi
pop esi
leave
ret