joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1167fd4f
Capabilities:
Check if file exists
Get disk size
Get file attributes

Disassembly:
mov eax, 0x1178c4ec
call fcn.116e0880
sub esp, 0x410
push ebx
push esi
xor esi, esi
xor ebx, ebx
cmp dword [ebp + 8], esi
je 0x1167fe32
cmp dword [ebp + 0xc], esi
jne 0x1167fd81
cmp dword [ebp + 0x10], esi
jne 0x1167fd81
cmp dword [ebp + 0x14], esi
je 0x1167fe32
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.116a5ff0
mov dword [ebp - 4], esi
pop edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1167fdd3
test al, 0x10
je 0x1167fdd3
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 0x1167fe26
push 0x410
lea eax, [ebp - 0x41c]
push esi
push eax
call fcn.116e0420
lea eax, [ebp - 0x41c]
push 0x207
push eax
push dword [ebp + 8]
call fcn.116c97e0
add esp, 0x18
test eax, eax
je 0x1167fe26
lea eax, [ebp - 0x41c]
push eax
push dword [ebp + 8]
call fcn.116e0da5
pop ecx
cmp eax, esi
pop ecx
je 0x1167fe26
lea eax, [ebp - 0x41c]
lea ecx, [ebp + 8]
push eax
call fcn.116a6a10
jmp 0x1167fda9
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.116a6790
mov ecx, dword [ebp - 0xc]
mov eax, ebx
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x11687733
Capabilities:
Get disk information

Disassembly:
mov eax, 0x1178ccb8
call fcn.116e0880
sub esp, 0x21c
mov eax, dword [0x117e1700]
test eax, eax
je 0x11687765
push str.NetMapDiskCorres__0
push 0x117b4744
push 0xffffffffffffffff
push 0x117e0e6c
call fcn.116deab0
add esp, 0x10
push ebx
push esi
push edi
mov ebx, 0x117df618
push 0xffffffffffffffff
push 0
mov ecx, ebx
call fcn.116ac120
mov esi, 0x117df628
mov ecx, esi
call fcn.11687b8d
mov eax, dword [0x117b55e4]
and dword [ebp - 0x14], 0
mov dword [ebp - 0x20], eax
mov eax, dword [0x117b55e8]
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 0x11687885
mov eax, dword [0x11794eec]
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 0x117b247c
push eax
call fcn.116a9710
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 0x1168784c
lea eax, [ebp - 0x228]
push eax
call fcn.116e0997
test eax, eax
pop ecx
jbe 0x1168784c
mov eax, dword [0x117df61c]
lea ecx, [ebp - 0x10]
push ecx
push eax
mov ecx, ebx
call fcn.116ac6c0
lea eax, [ebp - 0x228]
mov ecx, esi
push eax
push dword [ebp - 0x10]
call fcn.11687bec
mov ecx, eax
call fcn.116a6a10
cmp dword [0x117e1700], 0
je 0x11687879
lea eax, [ebp - 0x228]
push eax
push dword [ebp - 0x10]
push edi
push str.GetAllNetDriver__3_dwRet__d__strDrive__s__wszRemoteName__s__network
push 0x117b4744
push 0xffffffffffffffff
push 0x117e0e6c
call fcn.116deab0
add esp, 0x1c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.116a6790
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0x1a
jl 0x11687798
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x11688536
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 0x116885e9
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 0x11688588
cmp eax, 0x7a
jne 0x116885f2
push dword [ebp - 0x10]
call fcn.116e0478
mov dword [esi], eax
mov eax, dword [ebp - 0xc]
add eax, eax
push eax
call fcn.116e0478
mov dword [ebp + 0xc], eax
mov eax, dword [esi]
pop ecx
cmp eax, edi
pop ecx
je 0x11688604
cmp dword [ebp + 0xc], edi
je 0x11688604
push dword [ebp - 0x10]
push edi
push eax
call fcn.116e0420
mov eax, dword [ebp - 0xc]
add eax, eax
push eax
push edi
push dword [ebp + 0xc]
call fcn.116e0420
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 0x116885fb
jmp 0x1168860b
mov dword [ebp - 8], 1
jmp 0x1168861f
mov dword [ebp - 8], 2
jmp 0x11688619
mov dword [ebp - 8], 4
jmp 0x1168860b
mov dword [ebp - 8], 3
cmp dword [ebp + 0xc], edi
je 0x11688619
push dword [ebp + 0xc]
call fcn.116e0410
pop ecx
cmp dword [ebp - 4], edi
pop ebx
jne 0x1168862e
mov eax, dword [esi]
cmp eax, edi
je 0x1168862e
push eax
call fcn.116e0410
pop ecx
mov dword [esi], edi
cmp dword [0x117e1700], edi
je 0x11688664
mov eax, dword [ebp + 8]
cmp eax, edi
jne 0x11688642
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 0x117e0e6c
call fcn.116deab0
add esp, 0x20
mov eax, dword [ebp - 4]
pop edi
pop esi
leave
ret
Function at 0x11688f72
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 0x11689049
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 0x11689052
cmp dword [ebp - 0x18], ebx
jbe 0x11689055
cmp dword [ebp - 0x18], ebx
jbe 0x11689055
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 0x11689006
mov eax, dword [ebp - 0xc]
test byte [eax + 1], 0x10
jne 0x1168900f
add eax, 8
push eax
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x11689018
inc esi
cmp esi, dword [ebp - 0x18]
jb 0x11688fcf
jmp 0x11689055
mov dword [ebp - 4], 3
jmp 0x11689055
mov dword [ebp - 4], 4
jmp 0x11689055
cmp dword [ebp + 0x10], 0x10000000
mov dword [ebp - 8], 1
jne 0x11689055
mov eax, dword [ebp - 0xc]
cmp byte [eax], bl
jne 0x1168903d
mov ecx, dword [eax + 4]
mov eax, 0x1f0000
and ecx, eax
cmp ecx, eax
je 0x11689055
mov dword [ebp - 4], 5
mov dword [ebp - 8], ebx
jmp 0x11689055
mov dword [ebp - 4], 1
jmp 0x11689055
mov dword [ebp - 4], edi
cmp dword [0x117e1700], ebx
je 0x11689086
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 0x117e0e6c
call fcn.116deab0
add esp, 0x28
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x11689b09
Capabilities:
Get common file path
Set current directory

Disassembly:
mov eax, 0x1178d054
call fcn.116e0880
sub esp, 0x850
and dword [ebp - 0x10], 0
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
push edi
call fcn.11689669
test eax, eax
jne 0x11689c19
lea ecx, [ebp - 0x5c]
call fcn.11689885
and dword [ebp - 4], 0
lea eax, [ebp + 8]
push eax
push edi
lea ecx, [esi + 4]
call fcn.1168b676
test eax, eax
je 0x11689c0d
add eax, 0x10
lea ecx, [ebp - 0x5c]
push eax
call fcn.1168b49f
push edi
mov ecx, esi
call fcn.1168b0b5
test eax, eax
je 0x11689c0d
push edi
mov ecx, esi
call fcn.11689aa2
test eax, eax
jne 0x11689c0d
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x11689b91
mov eax, dword [ecx]
call dword [eax]
test eax, eax
mov dword [ebp - 0x10], eax
je 0x11689c0d
cmp dword [ebp - 0x34], 2
jne 0x11689c06
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.116a0cb0
push dword [eax]
mov byte [ebp - 4], 1
call fcn.11690fda
and byte [ebp - 4], 0
pop ecx
lea ecx, [ebp + 8]
call fcn.116a1410
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x11689bfd
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.1168991a
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 8

Function at 0x11689c2c
Capabilities:
Set current directory

Disassembly:
mov eax, 0x1178d070
call fcn.116e0880
sub esp, 0x50
push esi
mov esi, ecx
push edi
lea ecx, [ebp - 0x5c]
xor edi, edi
call fcn.11689885
and dword [ebp - 4], edi
lea eax, [ebp - 0x10]
push eax
lea ecx, [esi + 4]
push dword [ebp + 8]
call fcn.1168b676
test eax, eax
je 0x11689ccc
add eax, 0x10
lea ecx, [ebp - 0x5c]
push eax
call fcn.1168b49f
push dword [ebp + 8]
mov ecx, esi
call fcn.1168b0b5
test eax, eax
je 0x11689ccc
push dword [ebp + 8]
mov ecx, esi
call fcn.11689aa2
test eax, eax
jne 0x11689ccc
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x11689c97
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, eax
test edi, edi
je 0x11689ccc
cmp dword [ebp - 0x34], 2
jne 0x11689cc9
push dword [ebp - 0x50]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push dword [ebp - 0x50]
lea ecx, [ebp + 8]
call fcn.116a0cb0
push dword [eax]
mov byte [ebp - 4], 1
call fcn.11691013
and byte [ebp - 4], 0
pop ecx
lea ecx, [ebp + 8]
call fcn.116a1410
push 1
pop edi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5c]
call fcn.1168991a
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 4
Function at 0x1168ad55
Capabilities:
Move file

Disassembly:
mov eax, 0x1178d198
call fcn.116e0880
push ecx
push edi
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.116d2640
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x1168adcb
mov eax, dword [0x11794eec]
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.116a9710
push edi
push dword [ebp - 0x10]
push dword [ebp + 8]
call fcn.116d2640
add esp, 0x18
test eax, eax
je 0x1168adbf
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.116a6790
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
mov dword fs:[0], ecx
leave
ret 0xc

Function at 0x1168bc4f
Capabilities:
Check mutex on windows

Disassembly:
push esi
push edi
mov esi, ecx
xor edi, edi
cmp dword [esi + 4], edi
jne 0x1168bc97
mov eax, dword [esi + 8]
cmp dword [eax - 8], edi
je 0x1168bc97
call fcn.116c9660
push dword [esi + 8]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
cmp eax, edi
mov dword [esi + 4], eax
je 0x1168bc97
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x1168bc8b
push 1
pop edi
jmp 0x1168bc97
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 0x1168dcbe
Capabilities:
Get common file path

Disassembly:
mov eax, 0x1178d6e8
call fcn.116e0880
sub esp, 0xc
mov ecx, dword [ebp + 0xc]
push edi
call fcn.116a6500
mov edi, dword [ebp + 8]
push edi
call fcn.116e0997
pop ecx
cmp eax, 1
mov cx, word [edi]
jl 0x1168de10
cmp cx, 0x5c
je 0x1168de10
cmp cx, 0x2e
jne 0x1168dd12
cmp eax, 1
je 0x1168de10
cmp eax, 2
jne 0x1168dd12
cmp word [edi + 2], cx
je 0x1168de10
mov edx, dword [0x11794eec]
push esi
mov dword [ebp - 0x10], edx
and dword [ebp - 4], 0
cmp eax, 3
jle 0x1168dd4b
cmp word [edi + 2], 0x3a
jne 0x1168dd4b
cmp word [edi + 4], 0x5c
jne 0x1168dd4b
cmp cx, 0x61
jb 0x1168dd3f
cmp cx, 0x7a
jbe 0x1168dd99
cmp cx, 0x41
jb 0x1168dd4b
cmp cx, 0x5a
jbe 0x1168dd99
mov esi, 0x105
lea ecx, [ebp - 0x10]
push esi
call fcn.116a7460
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
mov esi, eax
call fcn.116a7530
test esi, esi
je 0x1168de0c
cmp esi, 0x104
ja 0x1168de0c
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax - 8]
cmp word [eax + ecx*2 - 2], 0x5c
je 0x1168dd99
push 0x5c
lea ecx, [ebp - 0x10]
call fcn.116a7420
push 0x117b5510
lea ecx, [ebp - 0x18]
call fcn.116a5ff0
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
push ecx
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.116a6d30
push edi
push eax
lea eax, [ebp + 8]
mov byte [ebp - 4], 2
push eax
call fcn.116a6f00
mov ecx, dword [ebp + 0xc]
push eax
mov byte [ebp - 4], 3
call fcn.116a6920
lea ecx, [ebp + 8]
mov byte [ebp - 4], 2
call fcn.116a6790
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.116a6790
and byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.116a6790
push 1
pop esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.116a6790
mov eax, esi
pop esi
jmp 0x1168de13
xor esi, esi
jmp 0x1168ddfb
push 1
pop eax
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
leave
ret

Function at 0x1168df00
Capabilities:
Get file attributes

Disassembly:
mov eax, 0x1178d724
call fcn.116e0880
push ecx
mov eax, dword [0x11794eec]
push esi
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0
je 0x1168df30
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
call fcn.1168dc5d
pop ecx
test eax, eax
pop ecx
jne 0x1168df35
push dword [ebp + 8]
jmp 0x1168df38
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.116a6790
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x1168df5b
Capabilities:
Set file attributes

Disassembly:
mov eax, 0x1178d738
call fcn.116e0880
push ecx
mov eax, dword [0x11794eec]
push esi
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0
je 0x1168df8b
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
call fcn.1168dc5d
pop ecx
test eax, eax
pop ecx
jne 0x1168df93
push dword [ebp + 0xc]
push dword [ebp + 8]
jmp 0x1168df99
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.116a6790
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x1168e15c
Capabilities:
Create directory

Disassembly:
mov eax, 0x1178d798
call fcn.116e0880
push ecx
mov eax, dword [0x11794eec]
push esi
xor esi, esi
mov dword [ebp - 0x10], eax
and dword [ebp - 4], esi
cmp dword [ebp + 8], esi
je 0x1168e18f
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
call fcn.1168dc5d
pop ecx
test eax, eax
pop ecx
je 0x1168e18f
push 1
pop esi
mov eax, dword [0x117e1700]
test eax, eax
je 0x1168e1b5
push dword [ebp - 0x10]
push esi
push str.COverlongPathApi::CreateDirectoryW_bChangeToLongPath__d__wstrLongPath__s_
push str.COverlongPathApi
push 0xffffffffffffffff
push 0x117e0e6c
call fcn.116deab0
add esp, 0x18
push dword [ebp + 0xc]
test esi, esi
jne 0x1168e1c1
push dword [ebp + 8]
jmp 0x1168e1c4
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.116a6790
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x1168e1a6
Capabilities:
Create directory

Disassembly:
mov eax, 0x1178d798
call fcn.116e0880
push ecx
mov eax, dword [0x11794eec]
push esi
xor esi, esi
mov dword [ebp - 0x10], eax
and dword [ebp - 4], esi
cmp dword [ebp + 8], esi
je 0x1168e18f
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
call fcn.1168dc5d
pop ecx
test eax, eax
pop ecx
je 0x1168e18f
push 1
pop esi
mov eax, dword [0x117e1700]
test eax, eax
je 0x1168e1b5
push dword [ebp - 0x10]
push esi
push str.COverlongPathApi::CreateDirectoryW_bChangeToLongPath__d__wstrLongPath__s_
push str.COverlongPathApi
push 0xffffffffffffffff
push 0x117e0e6c
call fcn.116deab0
add esp, 0x18
push dword [ebp + 0xc]
test esi, esi
jne 0x1168e1c1
push dword [ebp + 8]
jmp 0x1168e1c4
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.116a6790
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x1169276d
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 0x117b56bc
push ebx
call fcn.116e2388
add esp, 0xc
test eax, eax
jne 0x11692792
add ebx, 8
push ebx
call fcn.116e0997
cmp eax, 4
pop ecx
jb 0x11692849
cmp word [ebx + 2], 0x3a
jne 0x11692849
cmp word [ebx + 4], 0x5c
lea eax, [ebx + 4]
mov dword [ebp - 4], eax
jne 0x11692849
push esi
mov esi, 0x117b2468
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.116e224d
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 0x11692849
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 0x11692849
push dword [ebp - 4]
lea eax, [ebp - 0x218]
push eax
mov eax, dword [ebp + 0x10]
dec eax
push 0x117b2470
push eax
push dword [ebp + 0xc]
call fcn.116e1000
add esp, 0x14
jmp 0x1169285a
mov eax, dword [ebp + 0x10]
dec eax
push eax
push ebx
push dword [ebp + 0xc]
call fcn.116e0f54
add esp, 0xc
push 1
pop eax
pop edi
pop ebx
leave
ret
Function at 0x116928cd
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.11692861
add esp, 0xc
test eax, eax
je 0x11692a26
mov esi, 0x117b2468
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 0x116929b6
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.116e0997
mov esi, eax
pop ecx
test esi, esi
jbe 0x1169298b
lea eax, [ebp - 0x46c]
push esi
push eax
lea eax, [ebp - 0x264]
push eax
call fcn.116e089f
add esp, 0xc
test eax, eax
je 0x11692991
inc word [ebp - 0xc]
jmp 0x11692923
lea eax, [ebp + esi*2 - 0x264]
test eax, eax
je 0x116929b6
push eax
lea eax, [ebp - 0xc]
push eax
push 0x117b2470
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.116e1000
add esp, 0x14
jmp 0x11692a23
push 8
lea eax, [ebp - 0x264]
push 0x117b24e0
push eax
call fcn.116e089f
add esp, 0xc
test eax, eax
jne 0x116929ec
lea eax, [ebp - 0x254]
push eax
push 0x117b24d4
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.116e1000
add esp, 0x10
jmp 0x11692a23
push 0x19
lea eax, [ebp - 0x264]
push str.DeviceLanmanRedirector_
push eax
call fcn.116e089f
add esp, 0xc
test eax, eax
jne 0x11692a0e
lea eax, [ebp - 0x232]
jmp 0x116929d6
push dword [ebp + 0x10]
lea eax, [ebp - 0x264]
push dword [ebp + 0xc]
push eax
call fcn.1169276d
add esp, 0xc
push 1
pop eax
pop edi
pop esi
leave
ret
Function at 0x11698453
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags

Disassembly:
mov eax, 0x1178e777
call fcn.116e0880
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 0xc]
call fcn.1168bd08
mov ecx, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 4], eax
mov dword [esi + 4], ecx
mov ecx, dword [ebp + 0xc]
or dword [ebp - 4], 0xffffffff
mov dword [esi + 8], ecx
mov ecx, dword [ebp + 0x10]
mov dword [esi + 0x30], ecx
mov ecx, dword [ebp + 0x14]
mov dword [esi + 0x34], ecx
mov ecx, dword [ebp + 0x18]
mov dword [esi + 0x20], ecx
mov ecx, dword [ebp + 0x1c]
mov dword [esi + 0x14], ecx
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x38], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi], 0x11794c60
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 0x18

Function at 0x1169876e
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov ecx, 0x117dfa98
jmp 0x1169878e
mov eax, 0x1178e805
call fcn.116e0880
push ecx
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [ebp - 0x10], esi
mov dword [esi + 4], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0xc], edi
mov dword [esi + 8], edi
mov dword [ebp - 4], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x18], edi
mov byte [ebp - 4], 1
mov dword [esi + 0x24], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x28], edi
lea ecx, [esi + 0x34]
mov byte [ebp - 4], 2
call fcn.1169a7e9
mov byte [ebp - 4], 3
mov dword [esi + 0x4c], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x50], edi
lea ecx, [esi + 0x5c]
mov byte [ebp - 4], 4
call fcn.116b40d0
lea ecx, [esi + 0x7c]
mov byte [ebp - 4], 5
call fcn.11698870
lea ecx, [esi + 0x104]
mov byte [ebp - 4], 6
call fcn.11699fae
lea ecx, [esi + 0x140]
mov byte [ebp - 4], 7
call fcn.1169895b
lea ecx, [esi + 0x1f4]
mov byte [ebp - 4], 8
call fcn.11698ad0
mov ecx, dword [ebp - 0xc]
or dword [ebp - 4], 0xffffffff
mov dword [esi + 0x21c], edi
mov dword [esi], 0x11794c64
mov dword [esi + 0x144], esi
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret