joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1006f100
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x100b0fcd
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x100f6f50]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
lea ecx, [esi + 4]
mov dword [esi], vtable.CDevDriverSnapshot.0
call fcn.10025750
xor edi, edi
mov dword [esp + 0x18], edi
lea ecx, [esi + 0x20]
call fcn.1001d6a0
mov byte [esp + 0x18], 1
lea ecx, [esi + 0x24]
call fcn.1001d6a0
mov byte [esp + 0x18], 2
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
lea ecx, [esi + 0x48]
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
call fcn.1001d6a0
mov byte [esp + 0x18], 3
lea ecx, [esi + 0x4c]
call fcn.1001d6a0
mov byte [esp + 0x18], 4
mov eax, 0xa
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], eax
mov byte [esp + 0x18], 5
mov dword [esi + 0x68], edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x70], edi
mov dword [esi + 0x74], edi
mov dword [esi + 0x78], edi
mov dword [esi + 0x7c], eax
mov byte [esp + 0x18], 6
mov eax, dword [esp + 0x20]
push eax
mov ecx, esi
call fcn.1005c7c0
mov dword [esp + 0x18], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4
Function at 0x10071e20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100b16d1
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
mov eax, dword [0x100f6f50]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], 0xa
mov dword [esp + 0x40], 1
mov ecx, dword [esp + 0x20]
push ebx
push 1
lea eax, [esp + 0x28]
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x58]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x5c]
push eax
push ecx
push edx
mov dword [esp + 0x28], vtable.CAtlListBuilder_struct__INFCONTEXT__class_ATL::CElementTraits_struct__INFCONTEXT___class_ATL::CAtlList_struct__INFCONTEXT__class_ATL::CElementTraits_struct__INFCONTEXT___.0
mov dword [esp + 0x2c], ebx
call fcn.10071520
add esp, 0x18
cmp dword [esp + 0x28], ebx
je 0x10071efe
mov eax, dword [esp + 0x20]
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x10071ed4
push ebx
push 0x4ea
push str.C:dvsp4_build_sw_toolswin32msvc90VC_atlmfcinclude_atlcoll.h
push 0x80004005
call fcn.10001ed0
lea esi, [eax + 8]
push esi
call dword [sym.imp.SETUPAPI.dll_SetupGetFieldCount]
cmp eax, ebx
jne 0x10071ee7
call fcn.10023830
cmp eax, 1
jb 0x10071efe
push 1
push esi
mov esi, dword [esp + 0x50]
push esi
call fcn.1006d1d0
add esp, 0xc
jmp 0x10071f09
mov esi, dword [esp + 0x48]
mov ecx, esi
call fcn.1001d6a0
mov dword [esp + 0xc], 1
mov byte [esp + 0x40], bl
lea ecx, [esp + 0x20]
call fcn.1006d6d0
mov eax, esi
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x38
ret
Function at 0x10074b20
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x100b1f09
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x100f6f50]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov dword [esp + 8], 0
mov esi, dword [esp + 0x28]
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
jne 0x10074b8b
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
push ecx
mov ecx, esi
call fcn.10001d90
mov dword [esp + 0x18], 0
mov dword [esp + 8], 1
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret
mov eax, dword [esp + 0x24]
mov edx, dword [eax]
cmp dword [edx - 0xc], 0
jne 0x10074bc6
push esi
mov esi, dword [esp + 0x24]
mov ecx, esi
call fcn.10001d90
mov dword [esp + 0x18], 0
mov dword [esp + 8], 1
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.100749c0
add esp, 8
mov dword [esp + 0x18], 1
push 0x5c
lea ecx, [esp + 0x2c]
call fcn.1005de00
lea ecx, [esp + 0xc]
push esi
push ecx
call fcn.10074a70
add esp, 8
mov byte [esp + 0x18], 2
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x30]
call fcn.1001f5c0
mov byte [esp + 0x18], 1
lea ecx, [esp + 0xc]
call fcn.10001df0
mov esi, dword [esp + 0x20]
lea edx, [esp + 0x28]
push edx
mov ecx, esi
call fcn.10001d90
mov dword [esp + 8], 1
mov byte [esp + 0x18], 0
lea ecx, [esp + 0x28]
call fcn.10001df0
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret

Function at 0x10075d40
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x100b21c9
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebp
push esi
push edi
mov eax, dword [0x100f6f50]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
push 0x1010418c
lea ecx, [esp + 0x14]
mov dword [esp + 0x18], 0
call fcn.10001490
mov dword [esp + 0x24], 2
mov ebp, dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov esi, 0x104
nop
mov edx, dword [esp + 0x10]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, esi
or eax, ecx
jge 0x10075db3
push esi
lea ecx, [esp + 0x14]
call fcn.100018b0
mov edx, dword [esp + 0x10]
push esi
lea ecx, [esp + 0x14]
mov edi, edx
call fcn.10001930
push edi
push esi
call ebp
test eax, eax
je 0x10075e37
cmp eax, esi
je 0x10075e37
jb 0x10075dd1
mov esi, eax
jmp 0x10075d90
cmp eax, 0x7fffffff
sbb ecx, ecx
neg ecx
jne 0x10075df2
push 0
push 0x84a
push str..FilePath.cpp
push 0x80004005
call fcn.10001ed0
push eax
lea ecx, [esp + 0x14]
call fcn.10001930
mov esi, dword [esp + 0x2c]
lea edx, [esp + 0x10]
push edx
mov ecx, esi
call fcn.10021e70
mov dword [esp + 0x14], 1
mov byte [esp + 0x24], 0
lea ecx, [esp + 0x10]
call fcn.10001df0
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x18
ret
push 0
push 0
call fcn.100207b0
int3
Function at 0x10075f60
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x100b21c9
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebp
push esi
push edi
mov eax, dword [0x100f6f50]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
push 0x1010418c
lea ecx, [esp + 0x14]
mov dword [esp + 0x18], 0
call fcn.10001490
mov dword [esp + 0x24], 2
mov ebp, dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov esi, 0x104
nop
mov edx, dword [esp + 0x10]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, esi
or eax, ecx
jge 0x10075fd3
push esi
lea ecx, [esp + 0x14]
call fcn.100018b0
mov edx, dword [esp + 0x10]
push esi
lea ecx, [esp + 0x14]
mov edi, edx
call fcn.10001930
push esi
push edi
call ebp
test eax, eax
je 0x10076057
cmp eax, esi
je 0x10076057
jb 0x10075ff1
mov esi, eax
jmp 0x10075fb0
cmp eax, 0x7fffffff
sbb ecx, ecx
neg ecx
jne 0x10076012
push 0
push 0x882
push str..FilePath.cpp
push 0x80004005
call fcn.10001ed0
push eax
lea ecx, [esp + 0x14]
call fcn.10001930
mov esi, dword [esp + 0x2c]
lea edx, [esp + 0x10]
push edx
mov ecx, esi
call fcn.10021e70
mov dword [esp + 0x14], 1
mov byte [esp + 0x24], 0
lea ecx, [esp + 0x10]
call fcn.10001df0
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x18
ret
push 0
push 0
call fcn.100207b0
int3

Function at 0x10076070
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100b2211
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x100f6f50]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0xc], 0
call fcn.10075e50
add esp, 4
mov dword [esp + 0x30], 1
mov esi, dword [esp + 0x38]
push 0x100d3164
push esi
lea ecx, [esp + 0x14]
call fcn.1001f170
mov dword [esp + 8], 1
mov byte [esp + 0x30], 0
lea ecx, [esp + 0xc]
call fcn.10025580
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x2c
ret
Function at 0x100760f0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x100b21c9
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebp
push esi
push edi
mov eax, dword [0x100f6f50]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
push 0x1010418c
lea ecx, [esp + 0x14]
mov dword [esp + 0x18], 0
call fcn.10001490
mov dword [esp + 0x24], 2
mov ebp, dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov esi, 0x104
nop
mov edx, dword [esp + 0x10]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, esi
or eax, ecx
jge 0x10076163
push esi
lea ecx, [esp + 0x14]
call fcn.100018b0
mov edx, dword [esp + 0x10]
push esi
lea ecx, [esp + 0x14]
mov edi, edx
call fcn.10001930
push edi
push esi
call ebp
test eax, eax
je 0x100761e7
cmp eax, esi
je 0x100761e7
jb 0x10076181
mov esi, eax
jmp 0x10076140
cmp eax, 0x7fffffff
sbb ecx, ecx
neg ecx
jne 0x100761a2
push 0
push 0x8bc
push str..FilePath.cpp
push 0x80004005
call fcn.10001ed0
push eax
lea ecx, [esp + 0x14]
call fcn.10001930
mov esi, dword [esp + 0x2c]
lea edx, [esp + 0x10]
push edx
mov ecx, esi
call fcn.10021e70
mov dword [esp + 0x14], 1
mov byte [esp + 0x24], 0
lea ecx, [esp + 0x10]
call fcn.10001df0
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x18
ret
push 0
push 0
call fcn.100207b0
int3

Function at 0x10076200
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x100b21c9
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebp
push esi
push edi
mov eax, dword [0x100f6f50]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
push 0x1010418c
lea ecx, [esp + 0x14]
mov dword [esp + 0x18], 0
call fcn.10001490
mov dword [esp + 0x24], 2
mov ebp, dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov esi, 0x104
nop
mov edx, dword [esp + 0x10]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, esi
or eax, ecx
jge 0x10076273
push esi
lea ecx, [esp + 0x14]
call fcn.100018b0
mov edx, dword [esp + 0x10]
push esi
lea ecx, [esp + 0x14]
mov edi, edx
call fcn.10001930
push esi
push edi
call ebp
test eax, eax
je 0x100762f7
cmp eax, esi
je 0x100762f7
jb 0x10076291
mov esi, eax
jmp 0x10076250
cmp eax, 0x7fffffff
sbb ecx, ecx
neg ecx
jne 0x100762b2
push 0
push 0x8ea
push str..FilePath.cpp
push 0x80004005
call fcn.10001ed0
push eax
lea ecx, [esp + 0x14]
call fcn.10001930
mov esi, dword [esp + 0x2c]
lea edx, [esp + 0x10]
push edx
mov ecx, esi
call fcn.10021e70
mov dword [esp + 0x14], 1
mov byte [esp + 0x24], 0
lea ecx, [esp + 0x10]
call fcn.10001df0
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x18
ret
push 0
push 0
call fcn.100207b0
int3
Function at 0x100765c0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x100b2318
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x100f6f50]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
lea eax, [esp + 8]
push eax
call fcn.100763f0
mov dword [esp + 0x14], 0
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
mov dword [esp + 0x14], 0xffffffff
lea ecx, [esp + 8]
call fcn.10001df0
cmp esi, 0xffffffff
jne 0x10076624
push 0x247
push str..FilePath.cpp
call fcn.100207b0
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret

Function at 0x10076640
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x100b2318
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x100f6f50]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
lea eax, [esp + 8]
push eax
call fcn.100763f0
mov dword [esp + 0x14], 0
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
mov dword [esp + 0x14], 0xffffffff
lea ecx, [esp + 8]
call fcn.10001df0
cmp esi, 0xffffffff
jne 0x100766c7
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x100766b4
cmp eax, 3
je 0x100766b4
push 0x257
push str..FilePath.cpp
call fcn.100207b0
xor al, al
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
mov al, 1
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x100766e0
Capabilities:
Enumerate files on windows
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x100b2390
mov eax, dword fs:[0]
push eax
sub esp, 0x2cc
mov eax, dword [0x100f6f50]
xor eax, esp
mov dword [esp + 0x2c8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100f6f50]
xor eax, esp
push eax
lea eax, [esp + 0x2e0]
mov dword fs:[0], eax
test byte [0x10103c40], 1
mov edi, dword [esp + 0x2f0]
mov ebp, dword [esp + 0x2f4]
mov esi, ecx
jne 0x1007676d
or dword [0x10103c40], 1
mov dword [esp + 0x2e8], 0
push 0x100c6638
mov ecx, 0x10103c24
call fcn.1001fb00
push 0x100c4020
call fcn.1008e186
add esp, 4
mov dword [esp + 0x2e8], 0xffffffff
mov eax, dword [edi + 0x18]
cmp dword [eax - 0xc], 0
mov eax, 0x10103c24
je 0x1007677d
mov eax, edi
push eax
push esi
lea ecx, [esp + 0x24]
call fcn.10020920
mov dword [esp + 0x2e8], 1
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0x20]
call fcn.100751c0
mov byte [esp + 0x2e8], 2
push 0x24c
lea edx, [esp + 0x94]
push 0
push edx
mov dword [esp + 0x98], 0
call fcn.10090ec0
add esp, 0xc
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x20]
xor bl, bl
call fcn.100763f0
mov byte [esp + 0x2e8], 3
mov eax, dword [eax]
lea ecx, [esp + 0x8c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov dword [esp + 0x14], esi
mov byte [esp + 0x2e8], 5
lea ecx, [esp + 0x18]
call fcn.10001df0
cmp esi, 0xffffffff
jne 0x10076838
mov byte [esp + 0x2e8], 1
lea ecx, [esp + 0x38]
call fcn.10025580
mov dword [esp + 0x2e8], esi
lea ecx, [esp + 0x1c]
call fcn.10025580
xor al, al
jmp 0x1007695c
mov edi, dword [esp + 0x2fc]
nop
mov eax, dword [esp + 0x8c]
cmp eax, 0xffffffff
je 0x100768f3
mov ecx, dword [esp + 0x2f8]
mov edx, eax
xor edx, edi
test ecx, edx
jne 0x100768f3
test al, 0x10
je 0x10076890
cmp word [esp + 0xb8], 0x2e
jne 0x10076890
mov ax, word [esp + 0xba]
cmp ax, 0x2e
jne 0x1007688b
cmp word [esp + 0xbc], 0
jmp 0x1007688e
test ax, ax
je 0x100768f3
lea edx, [esp + 0xb8]
push edx
lea ecx, [esp + 0x58]
mov bl, 1
call fcn.1001fb00
mov byte [esp + 0x2e8], 6
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0x78]
call fcn.10020920
mov byte [esp + 0x2e8], 7
mov edx, dword [ebp]
push eax
mov eax, dword [edx + 0x10]
mov ecx, ebp
call eax
mov byte [esp + 0x2e8], 6
lea ecx, [esp + 0x70]
call fcn.10025580
mov byte [esp + 0x2e8], 5
lea ecx, [esp + 0x54]
call fcn.10025580
lea ecx, [esp + 0x8c]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x10076840
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x10076924
push 0x367
push str..FilePath.cpp
call fcn.100207b0
mov byte [esp + 0x2e8], 2
lea ecx, [esp + 0x14]
call fcn.10074c60
mov byte [esp + 0x2e8], 1
lea ecx, [esp + 0x38]
call fcn.10025580
mov dword [esp + 0x2e8], 0xffffffff
lea ecx, [esp + 0x1c]
call fcn.10025580
mov al, bl
mov ecx, dword [esp + 0x2e0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2c8]
xor ecx, esp
call fcn.1008db44
add esp, 0x2d8
ret 0x10
Function at 0x10076990
Capabilities:
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x100b23c8
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100f6f50]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov ebp, ecx
mov ebx, dword [esp + 0x24]
test ebx, 0xffffced8
je 0x100769d8
push 0
push 0x533
push str..FilePath.cpp
push 0x80070057
call fcn.10001ed0
mov eax, dword [esp + 0x28]
mov esi, ebx
not esi
test eax, esi
je 0x100769fa
push 0
push 0x534
push str..FilePath.cpp
push 0x80070057
call fcn.10001ed0
mov edi, 0x80
call fcn.100765c0
cmp ebx, edi
je 0x10076a10
and esi, eax
or esi, dword [esp + 0x28]
mov edi, esi
cmp edi, eax
je 0x10076a58
lea ecx, [esp + 0x28]
push ecx
mov ecx, ebp
call fcn.100763f0
mov dword [esp + 0x1c], 0
mov eax, dword [eax]
push 0x54a
push str..FilePath.cpp
push edi
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push eax
call fcn.1001e030
add esp, 0xc
mov dword [esp + 0x1c], 0xffffffff
lea ecx, [esp + 0x28]
call fcn.10001df0
mov eax, edi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8

Function at 0x10076fc0
Capabilities:
Delete directory
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b24c8
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x100f6f50]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
call fcn.10076cd0
or ebx, 0xffffffff
mov dword [ebp - 4], ebx
jmp 0x10077017
mov ecx, esi
call fcn.100765c0
shr eax, 4
test al, 1
je 0x10077065
lea eax, [ebp - 0x14]
push eax
mov ecx, esi
call fcn.100763f0
mov dword [ebp - 4], 2
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov edi, eax
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x14]
call fcn.10001df0
test edi, edi
je 0x10077082
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x14]
push ecx
mov ecx, esi
call fcn.100763f0
mov dword [ebp - 4], 3
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x10077040
lea edx, [ebp - 0x14]
push edx
mov ecx, esi
call fcn.100763f0
mov dword [ebp - 4], 4
mov eax, dword [eax]
push 0x51e
push str..FilePath.cpp
push 4
push 0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
push eax
call fcn.1001e030
add esp, 0xc
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x14]
call fcn.10001df0
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10077a90
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x100b2769
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x100f6f50]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xc], 0
mov ecx, dword [eax]
mov eax, dword [eax + 4]
push 0xd8
mov dword [esp + 0x18], eax
push str..AutoString.cpp
lea eax, [esp + 0x20]
mov dword [esp + 0x18], ecx
push eax
lea ecx, [esp + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
push eax
call fcn.1001e030
add esp, 0xc
push 0x1010418c
lea ecx, [esp + 0xc]
call fcn.10001490
mov dword [esp + 0x30], 2
movzx edx, word [esp + 0x26]
movzx eax, word [esp + 0x24]
movzx ecx, word [esp + 0x22]
push edx
movzx edx, word [esp + 0x24]
push eax
movzx eax, word [esp + 0x26]
push ecx
movzx ecx, word [esp + 0x26]
push edx
movzx edx, word [esp + 0x28]
push eax
push ecx
push edx
lea eax, [esp + 0x24]
push str._04d__02d__02dT_02d:_02d:_02d._03d
push eax
call fcn.1005df40
mov esi, dword [esp + 0x5c]
add esp, 0x24
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call fcn.10021a80
mov dword [esp + 0xc], 1
mov byte [esp + 0x30], 0
lea ecx, [esp + 8]
call fcn.10001df0
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x2c
ret

Function at 0x10077c20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100b27b9
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x100f6f50]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
push 0x1010418c
lea ecx, [esp + 0xc]
mov dword [esp + 0x10], 0
call fcn.10001490
mov dword [esp + 0x18], 2
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
push eax
push ecx
lea edx, [esp + 0x10]
push str._I64i
push edx
call fcn.1005df40
mov esi, dword [esp + 0x30]
add esp, 0x10
lea eax, [esp + 8]
push eax
mov ecx, esi
call fcn.10021a80
mov dword [esp + 0xc], 1
mov byte [esp + 0x18], 0
lea ecx, [esp + 8]
call fcn.10001df0
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret
Function at 0x10077cc0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x100b2809
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x100f6f50]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
push edi
mov eax, dword [0x100f6f50]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edi, dword [esp + 0x40]
mov esi, dword [esp + 0x44]
push 0x1010418c
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], 0
call fcn.10001490
mov dword [esp + 0x38], 2
mov ecx, dword [esi + 4]
mov edx, dword [esi + 8]
mov eax, dword [esi]
mov dword [esp + 0x20], ecx
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], edx
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0xc]
push ecx
lea edx, [esp + 0x20]
push edx
mov dword [esp + 0x30], eax
call dword [sym.imp.RPCRT4.dll_UuidToStringW]
test eax, eax
jne 0x10077e13
mov eax, dword [esp + 0x10]
push eax
lea ecx, [esp + 0x10]
push str._s
push ecx
call fcn.1005df40
add esp, 0xc
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.RPCRT4.dll_RpcStringFreeW]
mov edx, dword [esp + 0xc]
mov esi, dword [edx - 0xc]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, esi
or eax, ecx
jge 0x10077d95
push esi
lea ecx, [esp + 0x10]
call fcn.100018b0
mov edx, dword [esp + 0xc]
lea eax, [esi + 1]
push eax
push edx
call fcn.10090521
add esp, 8
test esi, esi
jl 0x10077dfd
mov eax, dword [esp + 0xc]
cmp esi, dword [eax - 8]
jg 0x10077dfd
mov dword [eax - 0xc], esi
mov edx, dword [esp + 0xc]
xor ecx, ecx
lea eax, [esp + 0xc]
mov word [edx + esi*2], cx
push eax
mov ecx, edi
call fcn.10021a80
mov dword [esp + 0x14], 1
mov byte [esp + 0x38], 0
lea ecx, [esp + 0xc]
call fcn.10001df0
mov eax, edi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.1008db44
add esp, 0x30
ret
push 0
push 0x359
push str.C:dvsp4_build_sw_toolswin32msvc90VC_atlmfcinclude_atlsimpstr.h
push 0x80070057
call fcn.10001ed0
push 0
cmp eax, 0xe
jne 0x10077e2e
push 0x1f2
push str..AutoString.cpp
push 0x8007000e
call fcn.10001ed0
push 0x1f6
push str..AutoString.cpp
push eax
call fcn.10001ed0
int3