joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1166d4a1
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 0x1166d61f
cmp dword [ebp + 0x10], 0x200
jne 0x1166d61f
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.116d01d0
mov eax, dword [0x117a55e4]
add esp, 0xc
mov dword [ebp - 0xc], eax
mov eax, dword [0x117a55e8]
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 0x1166d5ef
lea eax, [ebp - 0x2c]
push eax
call fcn.116d0747
lea esi, [ebx + 0x36]
push edi
push str.FAT16
push esi
mov dword [ebp + 0xc], eax
call fcn.116e1270
add esp, 0x10
test eax, eax
jne 0x1166d589
cmp dword [ebp + 0xc], edi
jne 0x1166d568
push edi
lea eax, [ebp - 0x2c]
push 0x117a55d0
push eax
call fcn.116d064f
add esp, 0xc
test eax, eax
je 0x1166d585
cmp dword [ebp + 0xc], 3
jne 0x1166d589
push 3
lea eax, [ebp - 0x2c]
push 0x117a55c8
push eax
call fcn.116d064f
add esp, 0xc
test eax, eax
jne 0x1166d589
push 3
jmp 0x1166d5ec
push edi
push str.FAT12
push esi
call fcn.116e1270
add esp, 0xc
test eax, eax
jne 0x1166d5b9
cmp dword [ebp + 0xc], 3
jne 0x1166d5b9
push 3
lea eax, [ebp - 0x2c]
push 0x117a55c8
push eax
call fcn.116d064f
add esp, 0xc
test eax, eax
je 0x1166d585
push edi
lea eax, [ebx + 0x52]
push str.FAT32
push eax
call fcn.116e1270
add esp, 0xc
test eax, eax
jne 0x1166d5ef
cmp dword [ebp + 0xc], edi
jne 0x1166d5ef
push edi
lea eax, [ebp - 0x2c]
push 0x117a55ac
push eax
call fcn.116d064f
add esp, 0xc
test eax, eax
jne 0x1166d5ef
push 2
pop eax
jmp 0x1166d61e
lea esi, [ebx + 3]
push edi
push str.EXFAT
push esi
call fcn.116e1270
add esp, 0xc
test eax, eax
jne 0x1166d609
mov eax, edi
jmp 0x1166d61e
push 4
push str.NTFS
push esi
call fcn.116e1270
add esp, 0xc
neg eax
sbb eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1166eebd
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2818
call fcn.116d1b60
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 0x1166efeb
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 0x1166ef4a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1166efca
mov edi, dword [ebp - 0x14]
push edi
call fcn.116d0228
cmp eax, ebx
pop ecx
mov dword [ebp - 8], eax
je 0x1166efca
lea eax, [ebp - 0x14]
push eax
push edi
push dword [ebp - 8]
push 2
push dword [ebp + 8]
call esi
cmp eax, ebx
je 0x1166efca
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 0x1166efca
xor esi, esi
cmp dword [ebp - 0x2818], ebx
jbe 0x1166efca
lea edi, [ebp - 0x2814]
push dword [edi]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x1166efab
inc esi
add edi, 8
cmp esi, dword [ebp - 0x2818]
jb 0x1166ef8e
jmp 0x1166efca
mov eax, dword [ebp + esi*8 - 0x2810]
push 1
pop ecx
test al, 8
mov dword [ebp - 0x18], ecx
je 0x1166efc1
mov edx, dword [ebp + 0xc]
mov dword [edx], ecx
test al, 4
je 0x1166efca
mov eax, dword [ebp + 0x10]
mov dword [eax], ecx
cmp dword [ebp - 4], ebx
pop edi
pop esi
je 0x1166efdd
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov dword [ebp - 4], ebx
cmp dword [ebp - 8], ebx
je 0x1166efeb
push dword [ebp - 8]
call fcn.116d01c0
pop ecx
mov eax, dword [ebp - 0x18]
pop ebx
leave
ret
Function at 0x1166f0a8
Capabilities:
Find taskbar

Disassembly:
mov eax, 0x1177c208
call fcn.116d0630
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 0x1166f144
push ebx
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowW]
cmp eax, ebx
je 0x1166f144
lea ecx, [ebp - 0x10]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp dword [ebp - 0x10], ebx
je 0x1166f144
push dword [ebp - 0x10]
lea eax, [ebp - 0x1c]
push eax
call fcn.116b03e0
push str.Explorer.exe
mov dword [ebp - 4], ebx
push dword [eax]
call fcn.116d0b55
add esp, 0x10
cmp eax, ebx
sete byte [ebp + 0xb]
or dword [ebp - 4], edi
lea ecx, [ebp - 0x1c]
call fcn.11696540
cmp byte [ebp + 0xb], bl
je 0x1166f144
push dword [ebp - 0x10]
call fcn.116b6310
cmp eax, ebx
pop ecx
mov dword [ebp - 0x14], eax
je 0x1166f144
push eax
call fcn.116b5d00
cmp eax, ebx
pop ecx
je 0x1166f1c5
mov dword [0x117cf3c4], eax
jmp 0x1166f1c5
cmp edi, 0xffffffff
mov dword [ebp - 0x10], ebx
jne 0x1166f15b
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call fcn.116b0260
pop ecx
mov edi, eax
push str.explorer.exe
lea ecx, [ebp - 0x18]
call fcn.11695da0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 1
call fcn.116a3930
push edi
lea eax, [ebp - 0x2c]
push dword [ebp - 0x18]
mov byte [ebp - 4], 2
push eax
call fcn.116b05c0
add esp, 0xc
cmp dword [ebp - 0x28], ebx
je 0x1166f1a1
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
push eax
mov dword [ebp - 0x10], eax
call fcn.116b6310
pop ecx
jmp 0x1166f1aa
mov eax, dword [0x117cf3c4]
cmp eax, ebx
je 0x1166f1ad
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.116a3940
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.11696540
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
pop edi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x1166fd4f
Capabilities:
Check if file exists
Get disk size
Get file attributes

Disassembly:
mov eax, 0x1177c29c
call fcn.116d0630
sub esp, 0x410
push ebx
push esi
xor esi, esi
xor ebx, ebx
cmp dword [ebp + 8], esi
je 0x1166fe32
cmp dword [ebp + 0xc], esi
jne 0x1166fd81
cmp dword [ebp + 0x10], esi
jne 0x1166fd81
cmp dword [ebp + 0x14], esi
je 0x1166fe32
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.11695da0
mov dword [ebp - 4], esi
pop edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1166fdd3
test al, 0x10
je 0x1166fdd3
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 0x1166fe26
push 0x410
lea eax, [ebp - 0x41c]
push esi
push eax
call fcn.116d01d0
lea eax, [ebp - 0x41c]
push 0x207
push eax
push dword [ebp + 8]
call fcn.116b9590
add esp, 0x18
test eax, eax
je 0x1166fe26
lea eax, [ebp - 0x41c]
push eax
push dword [ebp + 8]
call fcn.116d0b55
pop ecx
cmp eax, esi
pop ecx
je 0x1166fe26
lea eax, [ebp - 0x41c]
lea ecx, [ebp + 8]
push eax
call fcn.116967c0
jmp 0x1166fda9
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.11696540
mov ecx, dword [ebp - 0xc]
mov eax, ebx
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x11677733
Capabilities:
Get disk information

Disassembly:
mov eax, 0x1177ca68
call fcn.116d0630
sub esp, 0x21c
mov eax, dword [0x117d15f0]
test eax, eax
je 0x11677765
push str.NetMapDiskCorres__0
push 0x117a4744
push 0xffffffffffffffff
push 0x117d0d5c
call fcn.116ce860
add esp, 0x10
push ebx
push esi
push edi
mov ebx, 0x117cf508
push 0xffffffffffffffff
push 0
mov ecx, ebx
call fcn.1169bed0
mov esi, 0x117cf518
mov ecx, esi
call fcn.11677b8d
mov eax, dword [0x117a55e4]
and dword [ebp - 0x14], 0
mov dword [ebp - 0x20], eax
mov eax, dword [0x117a55e8]
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 0x11677885
mov eax, dword [0x11784e74]
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 0x117a247c
push eax
call fcn.116994c0
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 0x1167784c
lea eax, [ebp - 0x228]
push eax
call fcn.116d0747
test eax, eax
pop ecx
jbe 0x1167784c
mov eax, dword [0x117cf50c]
lea ecx, [ebp - 0x10]
push ecx
push eax
mov ecx, ebx
call fcn.1169c470
lea eax, [ebp - 0x228]
mov ecx, esi
push eax
push dword [ebp - 0x10]
call fcn.11677bec
mov ecx, eax
call fcn.116967c0
cmp dword [0x117d15f0], 0
je 0x11677879
lea eax, [ebp - 0x228]
push eax
push dword [ebp - 0x10]
push edi
push str.GetAllNetDriver__3_dwRet__d__strDrive__s__wszRemoteName__s__network
push 0x117a4744
push 0xffffffffffffffff
push 0x117d0d5c
call fcn.116ce860
add esp, 0x1c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.11696540
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0x1a
jl 0x11677798
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x11678536
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 0x116785e9
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 0x11678588
cmp eax, 0x7a
jne 0x116785f2
push dword [ebp - 0x10]
call fcn.116d0228
mov dword [esi], eax
mov eax, dword [ebp - 0xc]
add eax, eax
push eax
call fcn.116d0228
mov dword [ebp + 0xc], eax
mov eax, dword [esi]
pop ecx
cmp eax, edi
pop ecx
je 0x11678604
cmp dword [ebp + 0xc], edi
je 0x11678604
push dword [ebp - 0x10]
push edi
push eax
call fcn.116d01d0
mov eax, dword [ebp - 0xc]
add eax, eax
push eax
push edi
push dword [ebp + 0xc]
call fcn.116d01d0
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 0x116785fb
jmp 0x1167860b
mov dword [ebp - 8], 1
jmp 0x1167861f
mov dword [ebp - 8], 2
jmp 0x11678619
mov dword [ebp - 8], 4
jmp 0x1167860b
mov dword [ebp - 8], 3
cmp dword [ebp + 0xc], edi
je 0x11678619
push dword [ebp + 0xc]
call fcn.116d01c0
pop ecx
cmp dword [ebp - 4], edi
pop ebx
jne 0x1167862e
mov eax, dword [esi]
cmp eax, edi
je 0x1167862e
push eax
call fcn.116d01c0
pop ecx
mov dword [esi], edi
cmp dword [0x117d15f0], edi
je 0x11678664
mov eax, dword [ebp + 8]
cmp eax, edi
jne 0x11678642
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 0x117d0d5c
call fcn.116ce860
add esp, 0x20
mov eax, dword [ebp - 4]
pop edi
pop esi
leave
ret
Function at 0x11678f72
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 0x11679049
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 0x11679052
cmp dword [ebp - 0x18], ebx
jbe 0x11679055
cmp dword [ebp - 0x18], ebx
jbe 0x11679055
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 0x11679006
mov eax, dword [ebp - 0xc]
test byte [eax + 1], 0x10
jne 0x1167900f
add eax, 8
push eax
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x11679018
inc esi
cmp esi, dword [ebp - 0x18]
jb 0x11678fcf
jmp 0x11679055
mov dword [ebp - 4], 3
jmp 0x11679055
mov dword [ebp - 4], 4
jmp 0x11679055
cmp dword [ebp + 0x10], 0x10000000
mov dword [ebp - 8], 1
jne 0x11679055
mov eax, dword [ebp - 0xc]
cmp byte [eax], bl
jne 0x1167903d
mov ecx, dword [eax + 4]
mov eax, 0x1f0000
and ecx, eax
cmp ecx, eax
je 0x11679055
mov dword [ebp - 4], 5
mov dword [ebp - 8], ebx
jmp 0x11679055
mov dword [ebp - 4], 1
jmp 0x11679055
mov dword [ebp - 4], edi
cmp dword [0x117d15f0], ebx
je 0x11679086
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 0x117d0d5c
call fcn.116ce860
add esp, 0x28
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x11679b09
Capabilities:
Get common file path
Set current directory

Disassembly:
mov eax, 0x1177ce04
call fcn.116d0630
sub esp, 0x850
and dword [ebp - 0x10], 0
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
push edi
call fcn.11679669
test eax, eax
jne 0x11679c19
lea ecx, [ebp - 0x5c]
call fcn.11679885
and dword [ebp - 4], 0
lea eax, [ebp + 8]
push eax
push edi
lea ecx, [esi + 4]
call fcn.1167b676
test eax, eax
je 0x11679c0d
add eax, 0x10
lea ecx, [ebp - 0x5c]
push eax
call fcn.1167b49f
push edi
mov ecx, esi
call fcn.1167b0b5
test eax, eax
je 0x11679c0d
push edi
mov ecx, esi
call fcn.11679aa2
test eax, eax
jne 0x11679c0d
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x11679b91
mov eax, dword [ecx]
call dword [eax]
test eax, eax
mov dword [ebp - 0x10], eax
je 0x11679c0d
cmp dword [ebp - 0x34], 2
jne 0x11679c06
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.11690a60
push dword [eax]
mov byte [ebp - 4], 1
call fcn.11680fda
and byte [ebp - 4], 0
pop ecx
lea ecx, [ebp + 8]
call fcn.116911c0
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x11679bfd
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.1167991a
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 8

Function at 0x11679c2c
Capabilities:
Set current directory

Disassembly:
mov eax, 0x1177ce20
call fcn.116d0630
sub esp, 0x50
push esi
mov esi, ecx
push edi
lea ecx, [ebp - 0x5c]
xor edi, edi
call fcn.11679885
and dword [ebp - 4], edi
lea eax, [ebp - 0x10]
push eax
lea ecx, [esi + 4]
push dword [ebp + 8]
call fcn.1167b676
test eax, eax
je 0x11679ccc
add eax, 0x10
lea ecx, [ebp - 0x5c]
push eax
call fcn.1167b49f
push dword [ebp + 8]
mov ecx, esi
call fcn.1167b0b5
test eax, eax
je 0x11679ccc
push dword [ebp + 8]
mov ecx, esi
call fcn.11679aa2
test eax, eax
jne 0x11679ccc
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x11679c97
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, eax
test edi, edi
je 0x11679ccc
cmp dword [ebp - 0x34], 2
jne 0x11679cc9
push dword [ebp - 0x50]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push dword [ebp - 0x50]
lea ecx, [ebp + 8]
call fcn.11690a60
push dword [eax]
mov byte [ebp - 4], 1
call fcn.11681013
and byte [ebp - 4], 0
pop ecx
lea ecx, [ebp + 8]
call fcn.116911c0
push 1
pop edi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5c]
call fcn.1167991a
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 4
Function at 0x1167ad55
Capabilities:
Move file

Disassembly:
mov eax, 0x1177cf48
call fcn.116d0630
push ecx
push edi
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.116c23f0
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x1167adcb
mov eax, dword [0x11784e74]
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.116994c0
push edi
push dword [ebp - 0x10]
push dword [ebp + 8]
call fcn.116c23f0
add esp, 0x18
test eax, eax
je 0x1167adbf
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.11696540
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
mov dword fs:[0], ecx
leave
ret 0xc

Function at 0x1167bc4f
Capabilities:
Check mutex on windows

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

Disassembly:
mov eax, 0x1177d498
call fcn.116d0630
sub esp, 0xc
mov ecx, dword [ebp + 0xc]
push edi
call fcn.116962b0
mov edi, dword [ebp + 8]
push edi
call fcn.116d0747
pop ecx
cmp eax, 1
mov cx, word [edi]
jl 0x1167de10
cmp cx, 0x5c
je 0x1167de10
cmp cx, 0x2e
jne 0x1167dd12
cmp eax, 1
je 0x1167de10
cmp eax, 2
jne 0x1167dd12
cmp word [edi + 2], cx
je 0x1167de10
mov edx, dword [0x11784e74]
push esi
mov dword [ebp - 0x10], edx
and dword [ebp - 4], 0
cmp eax, 3
jle 0x1167dd4b
cmp word [edi + 2], 0x3a
jne 0x1167dd4b
cmp word [edi + 4], 0x5c
jne 0x1167dd4b
cmp cx, 0x61
jb 0x1167dd3f
cmp cx, 0x7a
jbe 0x1167dd99
cmp cx, 0x41
jb 0x1167dd4b
cmp cx, 0x5a
jbe 0x1167dd99
mov esi, 0x105
lea ecx, [ebp - 0x10]
push esi
call fcn.11697210
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
mov esi, eax
call fcn.116972e0
test esi, esi
je 0x1167de0c
cmp esi, 0x104
ja 0x1167de0c
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax - 8]
cmp word [eax + ecx*2 - 2], 0x5c
je 0x1167dd99
push 0x5c
lea ecx, [ebp - 0x10]
call fcn.116971d0
push 0x117a5510
lea ecx, [ebp - 0x18]
call fcn.11695da0
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
push ecx
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.11696ae0
push edi
push eax
lea eax, [ebp + 8]
mov byte [ebp - 4], 2
push eax
call fcn.11696cb0
mov ecx, dword [ebp + 0xc]
push eax
mov byte [ebp - 4], 3
call fcn.116966d0
lea ecx, [ebp + 8]
mov byte [ebp - 4], 2
call fcn.11696540
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.11696540
and byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.11696540
push 1
pop esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.11696540
mov eax, esi
pop esi
jmp 0x1167de13
xor esi, esi
jmp 0x1167ddfb
push 1
pop eax
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
leave
ret

Function at 0x1167df00
Capabilities:
Get file attributes

Disassembly:
mov eax, 0x1177d4d4
call fcn.116d0630
push ecx
mov eax, dword [0x11784e74]
push esi
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0
je 0x1167df30
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
call fcn.1167dc5d
pop ecx
test eax, eax
pop ecx
jne 0x1167df35
push dword [ebp + 8]
jmp 0x1167df38
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.11696540
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x1167df5b
Capabilities:
Set file attributes

Disassembly:
mov eax, 0x1177d4e8
call fcn.116d0630
push ecx
mov eax, dword [0x11784e74]
push esi
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0
je 0x1167df8b
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
call fcn.1167dc5d
pop ecx
test eax, eax
pop ecx
jne 0x1167df93
push dword [ebp + 0xc]
push dword [ebp + 8]
jmp 0x1167df99
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.11696540
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x1167e15c
Capabilities:
Create directory

Disassembly:
mov eax, 0x1177d548
call fcn.116d0630
push ecx
mov eax, dword [0x11784e74]
push esi
xor esi, esi
mov dword [ebp - 0x10], eax
and dword [ebp - 4], esi
cmp dword [ebp + 8], esi
je 0x1167e18f
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
call fcn.1167dc5d
pop ecx
test eax, eax
pop ecx
je 0x1167e18f
push 1
pop esi
mov eax, dword [0x117d15f0]
test eax, eax
je 0x1167e1b5
push dword [ebp - 0x10]
push esi
push str.COverlongPathApi::CreateDirectoryW_bChangeToLongPath__d__wstrLongPath__s_
push str.COverlongPathApi
push 0xffffffffffffffff
push 0x117d0d5c
call fcn.116ce860
add esp, 0x18
push dword [ebp + 0xc]
test esi, esi
jne 0x1167e1c1
push dword [ebp + 8]
jmp 0x1167e1c4
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.11696540
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x1167e1a6
Capabilities:
Create directory

Disassembly:
mov eax, 0x1177d548
call fcn.116d0630
push ecx
mov eax, dword [0x11784e74]
push esi
xor esi, esi
mov dword [ebp - 0x10], eax
and dword [ebp - 4], esi
cmp dword [ebp + 8], esi
je 0x1167e18f
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
call fcn.1167dc5d
pop ecx
test eax, eax
pop ecx
je 0x1167e18f
push 1
pop esi
mov eax, dword [0x117d15f0]
test eax, eax
je 0x1167e1b5
push dword [ebp - 0x10]
push esi
push str.COverlongPathApi::CreateDirectoryW_bChangeToLongPath__d__wstrLongPath__s_
push str.COverlongPathApi
push 0xffffffffffffffff
push 0x117d0d5c
call fcn.116ce860
add esp, 0x18
push dword [ebp + 0xc]
test esi, esi
jne 0x1167e1c1
push dword [ebp + 8]
jmp 0x1167e1c4
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.11696540
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret