joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000a0ab
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd4
mov eax, dword [0x1024a460]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
lea eax, [ebx + ebx]
push eax
push 0
push esi
mov dword [ebp - 0xd0], esi
call fcn.10099920
add esp, 0xc
call fcn.100f5120
test eax, eax
je 0x1000a16c
push 0x41
push 0
push 1
push str.default
call dword [sym.imp.USER32.dll_OpenDesktopW]
mov esi, eax
xor eax, eax
test esi, esi
je 0x1000a1ea
push 0xc6
push eax
mov word [ebp - 0xcc], ax
lea eax, [ebp - 0xca]
push eax
call fcn.10099920
add esp, 0xc
lea eax, [ebp - 0xcc]
push eax
push 0x10009fed
push esi
call dword [sym.imp.USER32.dll_EnumDesktopWindows]
push esi
call dword [sym.imp.USER32.dll_CloseDesktop]
lea eax, [ebp - 0xcc]
push eax
call fcn.10099f06
pop ecx
cmp eax, ebx
jb 0x1000a153
xor eax, eax
jmp 0x1000a1ea
lea eax, [ebp - 0xcc]
push eax
push dword [ebp - 0xd0]
call fcn.10099e71
pop ecx
xor eax, eax
pop ecx
inc eax
jmp 0x1000a1ea
xor eax, eax
push 0xc6
push eax
mov word [ebp - 0xcc], ax
lea eax, [ebp - 0xca]
push eax
call fcn.10099920
add esp, 0xc
lea eax, [ebp - 0xd4]
push eax
lea eax, [ebp - 0xcc]
push eax
mov dword [ebp - 0xd4], 0x64
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
mov dword [ebp - 0xd0], eax
test eax, eax
je 0x1000a1cd
lea eax, [ebp - 0xcc]
push eax
call fcn.10099f06
pop ecx
cmp eax, ebx
jae 0x1000a14c
lea eax, [ebp - 0xcc]
push eax
push esi
jmp 0x1000a160
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x4dd
jne 0x1000a1e4
mov dword [ebp - 0xd0], 1
mov eax, dword [ebp - 0xd0]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.100997fa
leave
ret

Function at 0x1000a4a9
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x1024a460]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
cmp edi, esi
je 0x1000a567
cmp ebx, esi
je 0x1000a567
cmp dword [ebp + 0x10], esi
je 0x1000a567
xor eax, eax
push 0x206
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push esi
push eax
call fcn.10099920
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0xffffffffffffffff
push edi
call fcn.1001c440
lea eax, [ebp - 0x20c]
push eax
call fcn.10099f06
add esp, 0x20
test eax, eax
je 0x1000a567
push esi
push esi
push 2
push esi
push esi
push 0xc0000000
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x1000a563
push esi
lea eax, [ebp - 0x210]
push eax
push dword [ebp + 0x10]
mov dword [ebp - 0x210], esi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
jmp 0x1000a569
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100997fa
leave
ret
Function at 0x1000a578
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push esi
call fcn.1009a4a0
mov edi, dword [ebp + 0xc]
pop ecx
mov ebx, eax
mov eax, 0x1f3
push edi
sub eax, ebx
push esi
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
jne 0x1000a5b2
xor eax, eax
inc eax
jmp 0x1000a650
mov dword [ebp - 4], 1
test byte [edi], 0x10
je 0x1000a614
lea ecx, [edi + 0x2c]
cmp byte [ecx], 0x2e
jne 0x1000a5d7
mov al, byte [edi + 0x2d]
cmp al, 0x2e
jne 0x1000a5d3
cmp byte [edi + 0x2e], 0
je 0x1000a62c
test al, al
je 0x1000a62c
push ecx
call fcn.1009a4a0
inc eax
pop ecx
cmp dword [ebp - 0xc], eax
jb 0x1000a62c
lea eax, [edi + 0x2c]
push eax
push esi
mov byte [ebx + esi - 1], 0
call fcn.1009a3b0
push 0x101e90a0
push esi
call fcn.1009a3b0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push edi
push esi
call fcn.1000a578
add esp, 0x20
mov byte [ebx + esi], 0
jmp 0x1000a624
push dword [ebp + 0x14]
lea eax, [edi + 0x2c]
push eax
push esi
mov byte [ebx + esi - 1], 0
call dword [ebp + 0x10]
mov byte [ebx + esi - 1], 0x2a
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x1000a644
push edi
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x1000a5b9
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push esi
call fcn.10099f06
mov edi, dword [ebp + 0xc]
pop ecx
mov ebx, eax
mov eax, 0x1f3
push edi
sub eax, ebx
push esi
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
jne 0x1000a68f
xor eax, eax
inc eax
jmp 0x1000a747
mov dword [ebp - 4], 1
test byte [edi], 0x10
je 0x1000a706
lea ecx, [edi + 0x2c]
cmp word [ecx], 0x2e
jne 0x1000a6ba
movzx eax, word [edi + 0x2e]
cmp ax, 0x2e
jne 0x1000a6b5
cmp word [edi + 0x30], 0
je 0x1000a723
test ax, ax
je 0x1000a723
push ecx
call fcn.10099f06
inc eax
pop ecx
cmp dword [ebp - 0xc], eax
jb 0x1000a723
xor eax, eax
mov word [esi + ebx*2 - 2], ax
lea eax, [edi + 0x2c]
push eax
push esi
call fcn.10099e43
push 0x101e90a4
push esi
call fcn.10099e43
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push edi
push esi
call fcn.1000a655
add esp, 0x20
mov dword [ebp - 4], eax
push 0x2a
pop eax
mov word [esi + ebx*2 - 2], ax
xor eax, eax
mov word [esi + ebx*2], ax
jmp 0x1000a723
push dword [ebp + 0x14]
xor eax, eax
mov word [esi + ebx*2 - 2], ax
lea eax, [edi + 0x2c]
push eax
push esi
call dword [ebp + 0x10]
push 0x2a
mov dword [ebp - 4], eax
pop eax
mov word [esi + ebx*2 - 2], ax
cmp dword [ebp - 4], 0
je 0x1000a73b
push edi
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1000a696
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1000ae3d
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, 0x668
mov eax, dword [0x1024a460]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
cmp edi, ebx
je 0x1000aff0
push edi
call fcn.10099f06
pop ecx
test eax, eax
je 0x1000aff0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0x668], eax
cmp eax, 0xffffffff
je 0x1000aff0
test al, 1
je 0x1000ae99
and eax, 0xfffffffe
push eax
push edi
mov dword [ebp - 0x668], eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test byte [ebp - 0x668], 0x10
je 0x1000afd4
push esi
xor eax, eax
mov esi, 0x206
push esi
mov word [ebp - 0x414], ax
lea eax, [ebp - 0x412]
push ebx
push eax
call fcn.10099920
lea eax, [ebp - 0x414]
push edi
push eax
call fcn.10099e71
lea eax, [ebp - 0x414]
push 0x101e90a4
push eax
call fcn.10099e43
push 0x24c
lea eax, [ebp - 0x660]
push ebx
push eax
mov dword [ebp - 0x664], ebx
call fcn.10099920
add esp, 0x28
lea eax, [ebp - 0x664]
push eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x668], eax
cmp eax, 0xffffffff
je 0x1000afca
push 0x101e9528
lea eax, [ebp - 0x638]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x1000afa3
push 0x101e9524
lea eax, [ebp - 0x638]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x1000afa3
xor eax, eax
push esi
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push ebx
push eax
call fcn.10099920
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.10099e71
lea eax, [ebp - 0x20c]
push 0x101e8fb4
push eax
call fcn.10099e43
lea eax, [ebp - 0x638]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.10099e43
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.1000ae3d
add esp, 0x2c
lea eax, [ebp - 0x664]
push eax
push dword [ebp - 0x668]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1000af1f
push dword [ebp - 0x668]
call dword [sym.imp.KERNEL32.dll_FindClose]
push edi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
pop esi
jmp 0x1000afdb
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp eax, ebx
jne 0x1000aff2
cmp dword [ebp + 0xc], ebx
je 0x1000aff2
push 4
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
jmp 0x1000aff2
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.100997fa
leave
ret
Function at 0x1000b000
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
mov eax, dword [0x1024a460]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
xor esi, esi
cmp ebx, esi
je 0x1000b1d5
push ebx
call fcn.10099f06
pop ecx
test eax, eax
je 0x1000b1d5
push esi
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x668]
push eax
push ebx
mov dword [ebp - 0x668], esi
call fcn.10008ba2
add esp, 0x1c
test eax, eax
je 0x1000b1d5
cmp dword [ebp - 0x668], 0xffffffff
je 0x1000b1d5
test byte [ebp - 0x668], 1
je 0x1000b07e
and dword [ebp - 0x668], 0xfffffffe
push dword [ebp - 0x668]
push ebx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test byte [ebp - 0x668], 0x10
je 0x1000b1b9
push edi
xor eax, eax
mov edi, 0x206
push edi
mov word [ebp - 0x414], ax
lea eax, [ebp - 0x412]
push esi
push eax
call fcn.10099920
lea eax, [ebp - 0x414]
push ebx
push eax
call fcn.10099e71
lea eax, [ebp - 0x414]
push 0x101e90a4
push eax
call fcn.10099e43
push 0x24c
lea eax, [ebp - 0x660]
push esi
push eax
mov dword [ebp - 0x664], esi
call fcn.10099920
add esp, 0x28
lea eax, [ebp - 0x664]
push eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x668], eax
cmp eax, 0xffffffff
je 0x1000b1af
push 0x101e9528
lea eax, [ebp - 0x638]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x1000b188
push 0x101e9524
lea eax, [ebp - 0x638]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x1000b188
xor eax, eax
push edi
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push esi
push eax
call fcn.10099920
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.10099e71
lea eax, [ebp - 0x20c]
push 0x101e8fb4
push eax
call fcn.10099e43
lea eax, [ebp - 0x638]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.10099e43
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.1000b000
add esp, 0x2c
lea eax, [ebp - 0x664]
push eax
push dword [ebp - 0x668]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1000b104
push dword [ebp - 0x668]
call dword [sym.imp.KERNEL32.dll_FindClose]
push ebx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
pop edi
jmp 0x1000b1c0
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp eax, esi
jne 0x1000b1d7
cmp dword [ebp + 0xc], esi
je 0x1000b1d7
push 4
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
jmp 0x1000b1d7
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.100997fa
leave
ret
Function at 0x1000b22a
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
call fcn.100f5170
test eax, eax
je 0x1000b247
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
je 0x1000b2b2
push esi
mov esi, dword [ebp + 0x10]
cmp esi, ebx
je 0x1000b2b1
push edi
lea eax, [esi + esi]
push eax
push ebx
push dword [ebp + 0xc]
call fcn.10099920
push esi
call fcn.10066294
mov edi, eax
add esp, 0x10
test edi, edi
je 0x1000b2b0
push esi
push ebx
push edi
call fcn.10099920
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 0x1000b2b0
push esi
push dword [ebp + 0xc]
xor ebx, ebx
push 0xffffffffffffffff
push edi
call fcn.1001c3de
add esp, 0x10
test eax, eax
je 0x1000b2b0
push dword [ebp + 0xc]
call fcn.10099f06
pop ecx
mov ebx, eax
pop edi
pop esi
mov eax, ebx
pop ebx
pop ebp
ret

Function at 0x1000c35d
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, 0x410
mov eax, dword [0x1024a460]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push edi
mov edi, dword [ebp + 8]
push ebx
mov dword [ebp - 0x410], edi
mov dword [ebp - 0x40c], ebx
call esi
mov dword [ebp - 0x408], eax
cmp eax, 0xffffffff
jne 0x1000c3a3
push dword [ebp + 0x10]
push ebx
push edi
jmp 0x1000c475
test al, 1
je 0x1000c3b8
and eax, 0xfffffffe
push eax
push ebx
mov dword [ebp - 0x408], eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test byte [ebp - 0x408], 0x10
je 0x1000c46b
xor eax, eax
push 0x3fe
push eax
mov word [ebp - 0x404], ax
lea eax, [ebp - 0x402]
push eax
call fcn.10099920
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
add esp, 0xc
call edi
push eax
push ebx
mov ebx, str._s.bak_08X
lea eax, [ebp - 0x404]
push ebx
push eax
call fcn.1009b0d3
and dword [ebp - 0x408], 0
add esp, 0x10
lea eax, [ebp - 0x404]
push eax
call esi
jmp 0x1000c44d
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
call edi
push eax
push dword [ebp - 0x40c]
lea eax, [ebp - 0x404]
push ebx
push eax
call fcn.1009b0d3
add esp, 0x10
lea eax, [ebp - 0x404]
push eax
call esi
inc dword [ebp - 0x408]
cmp dword [ebp - 0x408], 0xa
jge 0x1000c495
cmp eax, 0xffffffff
jne 0x1000c414
lea eax, [ebp - 0x404]
push eax
push dword [ebp - 0x40c]
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov ebx, dword [ebp - 0x40c]
push dword [ebp + 0x10]
push ebx
push dword [ebp - 0x410]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push ebx
mov esi, eax
call fcn.1000ba9d
mov eax, esi
pop ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100997fa
leave
ret
xor eax, eax
jmp 0x1000c486
Function at 0x1000f136
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x10], ebx
lea edi, [ebp - 0xc]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
cmp dword [ebp + 8], ebx
je 0x1000f15c
push dword [ebp + 8]
call fcn.10099f06
pop ecx
mov dword [ebp - 0x10], eax
cmp dword [ebp + 0xc], ebx
je 0x1000f16d
push dword [ebp + 0xc]
call fcn.10099f06
pop ecx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
lea edi, [eax + ecx]
lea edi, [edi + edi + 0x10]
push edi
call fcn.10066294
mov esi, eax
pop ecx
cmp esi, ebx
jne 0x1000f18b
xor eax, eax
jmp 0x1000f1fa
push edi
push ebx
push esi
call fcn.10099920
push 0xc
lea eax, [ebp - 0x10]
push eax
push esi
call fcn.100999a0
add esp, 0x18
cmp dword [ebp - 0x10], ebx
jbe 0x1000f1b8
push dword [esi]
lea eax, [esi + 0xc]
push dword [ebp + 8]
push eax
call fcn.10099ebc
add esp, 0xc
cmp dword [ebp - 0xc], ebx
jbe 0x1000f1d2
push dword [esi + 4]
mov eax, dword [esi]
push dword [ebp + 0xc]
lea eax, [esi + eax*2 + 0xe]
push eax
call fcn.10099ebc
add esp, 0xc
mov eax, dword [ebp + 0x10]
mov dword [esi + 8], eax
lea eax, [ebp - 4]
push eax
push ebx
push esi
push 0x1000f10b
push ebx
push ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp + 0x14]
cmp ecx, ebx
je 0x1000f1fa
mov edx, dword [ebp - 4]
mov dword [ecx], edx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10010aa4
Capabilities:
Get common file path

Disassembly:
push 0xc
mov eax, 0x101cd678
call fcn.10099809
mov ecx, dword [ebp + 0xc]
call fcn.100cecc0
mov edi, dword [ebp + 8]
push edi
call fcn.10099f06
cmp eax, 1
pop ecx
movzx ecx, word [edi]
jl 0x10010be7
cmp cx, 0x5c
je 0x10010be7
cmp cx, 0x2e
jne 0x10010af6
cmp eax, 1
je 0x10010be7
cmp eax, 2
jne 0x10010af6
cmp word [edi + 2], cx
je 0x10010be7
mov edx, dword [0x10211078]
mov dword [ebp - 0x10], edx
and dword [ebp - 4], 0
cmp eax, 3
jle 0x10010b2b
cmp word [edi + 2], 0x3a
jne 0x10010b2b
cmp word [edi + 4], 0x5c
jne 0x10010b2b
cmp cx, 0x61
jb 0x10010b22
cmp cx, 0x7a
jbe 0x10010b7c
add ecx, 0xffffffbf
cmp cx, 0x19
jbe 0x10010b7c
mov esi, 0x105
push esi
lea ecx, [ebp - 0x10]
call fcn.100cfc20
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
mov esi, eax
call fcn.100cfcf0
test esi, esi
je 0x10010bf0
cmp esi, 0x104
ja 0x10010bf0
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax - 8]
movzx eax, word [eax + ecx*2 - 2]
cmp ax, 0x5c
je 0x10010b7c
push 0x5c
lea ecx, [ebp - 0x10]
call fcn.100cfbe0
push 0x101e9644
lea ecx, [ebp - 0x18]
call fcn.100ce7b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
push ecx
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.100cf4f0
mov byte [ebp - 4], 2
push edi
push eax
lea eax, [ebp + 8]
push eax
call fcn.100cf6c0
mov byte [ebp - 4], 3
mov ecx, dword [ebp + 0xc]
push eax
call fcn.100cf0e0
mov byte [ebp - 4], 2
lea ecx, [ebp + 8]
call fcn.100cef50
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.100cef50
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.100cef50
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.100cef50
xor eax, eax
inc eax
call fcn.100998e1
ret
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.100cef50
xor eax, eax
jmp 0x10010bea

Function at 0x10010d35
Capabilities:
Get file attributes

Disassembly:
push 4
mov eax, 0x101cd6e1
call fcn.10099809
mov eax, dword [0x10211078]
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0
je 0x10010d65
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
call fcn.10010c00
pop ecx
pop ecx
test eax, eax
jne 0x10010d84
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.100cef50
mov eax, esi
call fcn.100998e1
ret
push dword [ebp - 0x10]
jmp 0x10010d68

Function at 0x10010d89
Capabilities:
Set file attributes

Disassembly:
push 4
mov eax, 0x101cd704
call fcn.10099809
mov eax, dword [0x10211078]
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0
je 0x10010db9
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
call fcn.10010c00
pop ecx
pop ecx
test eax, eax
jne 0x10010ddb
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov esi, eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.100cef50
mov eax, esi
call fcn.100998e1
ret
push dword [ebp + 0xc]
push dword [ebp - 0x10]
jmp 0x10010dbf
Function at 0x10011002
Capabilities:
Create directory

Disassembly:
push 4
mov eax, 0x101cd7cb
call fcn.10099809
mov eax, dword [0x10211078]
xor esi, esi
mov dword [ebp - 0x10], eax
and dword [ebp - 4], esi
cmp dword [ebp + 8], esi
je 0x10011033
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
call fcn.10010c00
pop ecx
pop ecx
test eax, eax
je 0x10011033
inc esi
cmp dword [0x10269fe8], 0
je 0x10011059
push dword [ebp - 0x10]
push esi
push str.COverlongPathApi::CreateDirectoryW_bChangeToLongPath__d__wstrLongPath__s_
push str.COverlongPathApi
push 0xffffffffffffffff
push 0x10269f7c
call fcn.10025270
add esp, 0x18
push dword [ebp + 0xc]
test esi, esi
jne 0x1001107f
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov esi, eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.100cef50
mov eax, esi
call fcn.100998e1
ret
push dword [ebp - 0x10]
jmp 0x10011063

Function at 0x1001147b
Capabilities:
Check if file exists
Create directory
Delete file
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 8]
test edi, edi
jne 0x1001148a
xor eax, eax
jmp 0x100114d8
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp eax, 0xffffffff
je 0x100114b0
test al, 0x10
jne 0x100114c8
push 0x80
push edi
call esi
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x100114c8
push edi
call fcn.1001112c
pop ecx
test eax, eax
je 0x100114d7
cmp dword [ebp + 0xc], 0
je 0x100114d4
push dword [ebp + 0xc]
push edi
call esi
xor eax, eax
inc eax
pop esi
pop edi
pop ebp
ret

Function at 0x10015086
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x1024a460]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, ecx
push esi
lea esi, [eax + 0x18]
mov eax, dword [esi]
cmp dword [eax - 8], 0
jne 0x100150e5
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.10099920
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x20c]
push eax
mov ecx, esi
call fcn.100cf1d0
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.100997fa
leave
ret
Function at 0x10015198
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0
mov eax, 0x101ce3a2
call fcn.10099809
mov edi, dword [ebp + 8]
mov eax, dword [edi]
xor ebx, ebx
cmp dword [eax - 8], ebx
je 0x10015237
cmp dword [ebp + 0x10], ebx
je 0x10015237
push dword [ebp + 0x10]
lea ecx, [ebp + 8]
call fcn.100ce7b0
mov dword [ebp - 4], ebx
mov esi, dword [ebp + 0xc]
push edi
mov ecx, esi
call fcn.100cf0e0
mov dword [ebp + 0x10], ebx
mov ebx, 0x3e8
cmp dword [ebp + 0x10], 0
push dword [ebp + 8]
jne 0x100151f5
push dword [edi]
push 0x101ea8cc
push esi
call fcn.100d1ed0
add esp, 0x10
jmp 0x10015208
push dword [ebp + 0x10]
push dword [edi]
push 0x101eb844
push esi
call fcn.100d1ed0
add esp, 0x14
push dword [esi]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1001521d
inc dword [ebp + 0x10]
cmp dword [ebp + 0x10], ebx
jb 0x100151da
xor eax, eax
cmp dword [ebp + 0x10], ebx
setne al
mov esi, eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.100cef50
mov eax, esi
jmp 0x10015239
xor eax, eax
call fcn.100998e1
ret 0xc