joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10004c08
Capabilities:
Get file attributes

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_ResetEvent]
push edi
xor ebp, ebp
push ebp
mov ebx, ecx
call esi
test eax, eax
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
je 0x10004c27
push ebp
call edi
push ebp
call edi
push ebp
call esi
push ebp
call edi
push ebp
call esi
push ebp
call edi
push ebp
call esi
add ebx, 4
mov eax, dword [ebx]
mov ecx, ebx
mov dword [esp + 0x10], ebp
call dword [eax + 0x18]
test eax, eax
jle 0x10004cf8
push ebp
call esi
test eax, eax
je 0x10004c59
push ebp
call edi
push ebp
call edi
push ebp
call esi
push ebp
call edi
push ebp
call esi
push ebp
call edi
push ebp
call esi
push dword [esp + 0x10]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x10]
test byte [eax], 2
je 0x10004ce3
push ebp
call esi
test eax, eax
je 0x10004c85
push ebp
call edi
push ebp
call edi
push ebp
call esi
push ebp
call edi
push ebp
call esi
push ebp
call edi
push ebp
call esi
push dword [esp + 0x10]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x10]
push dword [eax + 0x10c]
call fcn.10006dd3
test eax, eax
pop ecx
jne 0x10004ce3
push ebp
call esi
test eax, eax
je 0x10004cbc
push ebp
call edi
push ebp
call edi
push ebp
call esi
push ebp
call edi
push ebp
call esi
push ebp
call edi
push ebp
call esi
push dword [esp + 0x10]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x10]
add eax, 4
push eax
call fcn.10006a9a
pop ecx
mov eax, dword [ebx]
inc dword [esp + 0x10]
mov ecx, ebx
call dword [eax + 0x18]
cmp dword [esp + 0x10], eax
jl 0x10004c4f
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x10004fbe
Capabilities:
Get file attributes

Disassembly:
mov eax, dword [esp + 4]
push ebx
push ebp
push esi
push edi
shl eax, 2
mov ebx, ecx
push eax
push dword [ebx + 4]
call fcn.10005210
mov esi, dword [sym.imp.KERNEL32.dll_ResetEvent]
pop ecx
pop ecx
xor ebp, ebp
push ebp
mov dword [ebx + 4], eax
call esi
test eax, eax
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
je 0x10004ff1
push ebp
call edi
push ebp
call edi
push ebp
call esi
push ebp
call edi
push ebp
call esi
push ebp
call edi
push ebp
call esi
mov eax, dword [ebx + 8]
mov ecx, dword [esp + 0x14]
jmp 0x10005013
mov edx, dword [ebx + 4]
mov dword [edx + eax*4], ebp
inc eax
cmp eax, ecx
jl 0x1000500c
push ebp
call esi
test eax, eax
je 0x10005021
push ebp
call edi
push ebp
call edi
push ebp
call esi
push ebp
call edi
push ebp
call esi
push ebp
call edi
push ebp
call esi
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
mov dword [ebx + 8], eax
pop ebx
ret 4
Function at 0x10005434
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_ResetEvent]
push edi
xor ebx, ebx
push ebx
mov dword [ebp - 4], ebx
call esi
test eax, eax
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
je 0x10005456
push ebx
call edi
push ebx
call edi
push ebx
call esi
push ebx
call edi
push ebx
call esi
push ebx
call edi
push ebx
call esi
push ebx
lea eax, [ebp - 4]
push eax
call dword [0x1000a4f8]
test eax, eax
pop edi
pop esi
pop ebx
je 0x10005484
test byte [ebp - 4], 0x20
jne 0x10005484
mov al, 1
leave
ret
xor al, al
leave
ret

Function at 0x10005488
Capabilities:
Get file attributes

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_ResetEvent]
push edi
xor ebx, ebx
push ebx
call esi
test eax, eax
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
je 0x100054a4
push ebx
call edi
push ebx
call edi
push ebx
call esi
push ebx
call edi
push ebx
call esi
push ebx
call edi
push ebx
call esi
push dword [esp + 0x14]
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebp, eax
cmp ebp, ebx
jne 0x100054d9
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x100054b6
push ebx
call esi
test eax, eax
je 0x100054e3
push ebx
call edi
push ebx
call edi
push ebx
call esi
push ebx
call edi
push ebx
call esi
push ebx
call edi
push ebx
call esi
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
ret
Function at 0x100054fc
Capabilities:
Get common file path
Get file attributes

Disassembly:
sub esp, 0x104
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_ResetEvent]
push edi
xor ebx, ebx
push ebx
call esi
test eax, eax
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
je 0x1000551d
push ebx
call edi
push ebx
call edi
push ebx
call esi
push ebx
call edi
push ebx
call esi
push ebx
call edi
push ebx
call esi
cmp byte [0x1000a518], bl
jne 0x10005667
push ebp
push 0x104
mov ebp, 0x1000a518
push ebp
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push ebx
call esi
test eax, eax
je 0x10005557
push ebx
call edi
push ebx
call edi
push ebx
call esi
push ebx
call edi
push ebx
call esi
push ebx
call edi
push ebx
call esi
push ebx
call esi
test eax, eax
je 0x10005573
push ebx
call edi
push ebx
call edi
push ebx
call esi
push ebx
call edi
push ebx
call esi
push ebx
call edi
push ebx
call esi
push ebx
mov byte [esp + 0x14], 0x73
mov byte [esp + 0x15], 0x74
mov byte [esp + 0x16], 0x64
call esi
test eax, eax
je 0x1000559e
push ebx
call edi
push ebx
call edi
push ebx
call esi
push ebx
call edi
push ebx
call esi
push ebx
call edi
push ebx
call esi
push ebx
mov byte [esp + 0x17], 0x6f
mov byte [esp + 0x18], 0x6c
call esi
test eax, eax
je 0x100055c4
push ebx
call edi
push ebx
call edi
push ebx
call esi
push ebx
call edi
push ebx
call esi
push ebx
call edi
push ebx
call esi
push ebx
mov byte [esp + 0x19], 0x65
mov byte [esp + 0x1a], 0x33
mov byte [esp + 0x1b], 0x2e
call esi
test eax, eax
je 0x100055ef
push ebx
call edi
push ebx
call edi
push ebx
call esi
push ebx
call edi
push ebx
call esi
push ebx
call edi
push ebx
call esi
push ebx
mov byte [esp + 0x1c], 0x74
mov byte [esp + 0x1d], 0x6c
call esi
test eax, eax
je 0x10005615
push ebx
call edi
push ebx
call edi
push ebx
call esi
push ebx
call edi
push ebx
call esi
push ebx
call edi
push ebx
call esi
push 0x100095f4
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcatA]
mov byte [esp + 0x22], 0x62
mov byte [esp + 0x23], bl
call ebp
push ebx
call esi
test eax, eax
je 0x10005648
push ebx
call edi
push ebx
call edi
push ebx
call esi
push ebx
call edi
push ebx
call esi
push ebx
call edi
push ebx
call esi
lea eax, [esp + 0x10]
push eax
push 0x1000a518
call ebp
pop ebp
push ebx
call esi
test eax, eax
je 0x10005671
push ebx
call edi
push ebx
call edi
push ebx
call esi
push ebx
call edi
push ebx
call esi
push ebx
call edi
push ebx
call esi
pop edi
pop esi
mov eax, 0x1000a518
pop ebx
add esp, 0x104
ret
Function at 0x10005692
Capabilities:
Get file attributes

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_ResetEvent]
push edi
xor ebx, ebx
mov ebp, ecx
push ebx
mov dword [esp + 0x18], ebp
mov byte [esp + 0x17], bl
call esi
test eax, eax
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
je 0x100056bb
push ebx
call edi
push ebx
call edi
push ebx
call esi
push ebx
call edi
push ebx
call esi
push ebx
call edi
push ebx
call esi
push 1
push ebx
push ebx
push dword [ebp]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ebp, dword [esp + 0x20]
push 4
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x18]
push ebp
push dword [eax]
call fcn.1000698b
add esp, 0xc
test al, al
je 0x10005782
push ebx
call esi
test eax, eax
je 0x10005705
push ebx
call edi
push ebx
call edi
push ebx
call esi
push ebx
call edi
push ebx
call esi
push ebx
call edi
push ebx
call esi
mov eax, dword [ebp]
cmp eax, ebx
je 0x1000577d
push eax
call fcn.10005488
pop ecx
push ebx
mov dword [ebp + 4], eax
call esi
test eax, eax
je 0x10005732
push ebx
call edi
push ebx
call edi
push ebx
call esi
push ebx
call edi
push ebx
call esi
push ebx
call edi
push ebx
call esi
cmp dword [ebp + 4], ebx
je 0x10005782
push ebx
call esi
test eax, eax
je 0x10005753
push ebx
call edi
push ebx
call edi
push ebx
call esi
push ebx
call edi
push ebx
call esi
push ebx
call edi
push ebx
call esi
push dword [ebp]
mov eax, dword [esp + 0x18]
push dword [ebp + 4]
push dword [eax]
call fcn.1000698b
add esp, 0xc
test al, al
je 0x10005782
mov byte [esp + 0x13], 1
push ebx
call esi
test eax, eax
je 0x1000578c
push ebx
call edi
push ebx
call edi
push ebx
call esi
push ebx
call edi
push ebx
call esi
push ebx
call edi
push ebx
call esi
cmp byte [esp + 0x13], bl
jne 0x100057b6
mov eax, dword [esp + 0x14]
push ebx
push ebx
push dword [esp + 0x20]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov al, byte [esp + 0x13]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 4
Function at 0x100057c4
Capabilities:
Get file attributes

Disassembly:
push ecx
push ecx
push ebx
push ebp
push esi
push edi
push 1
xor ebx, ebx
push ebx
mov ebp, ecx
push ebx
push dword [ebp]
mov byte [esp + 0x23], bl
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov esi, dword [sym.imp.KERNEL32.dll_ResetEvent]
push ebx
mov dword [esp + 0x18], eax
call esi
test eax, eax
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
je 0x100057f9
push ebx
call edi
push ebx
call edi
push ebx
call esi
push ebx
call edi
push ebx
call esi
push ebx
call edi
push ebx
call esi
push 4
push dword [esp + 0x20]
push dword [ebp]
call fcn.100069b8
add esp, 0xc
test al, al
je 0x10005844
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx]
cmp eax, ebx
je 0x1000583f
push eax
push dword [ecx + 4]
push dword [ebp]
call fcn.100069b8
add esp, 0xc
mov byte [esp + 0x13], al
jmp 0x10005844
mov byte [esp + 0x13], 1
push ebx
call esi
test eax, eax
je 0x1000584e
push ebx
call edi
push ebx
call edi
push ebx
call esi
push ebx
call edi
push ebx
call esi
push ebx
call edi
push ebx
call esi
cmp byte [esp + 0x13], bl
jne 0x10005875
push ebx
push ebx
push dword [esp + 0x1c]
push dword [ebp]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov al, byte [esp + 0x13]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
pop ecx
ret 4
Function at 0x10005882
Capabilities:
Get file attributes

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_ResetEvent]
mov ebp, ecx
xor ebx, ebx
cmp dword [ebp + 0x10], ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
je 0x100058df
push ebx
call esi
test eax, eax
je 0x100058a6
push ebx
call edi
push ebx
call edi
push ebx
call esi
push ebx
call edi
push ebx
call esi
push ebx
call edi
push ebx
call esi
xor eax, eax
cmp dword [ebp + 0x18], ebx
mov dword [esp + 0x10], eax
jbe 0x100058df
mov ecx, dword [ebp + 0x10]
mov edx, dword [esp + 0x18]
cmp dword [ecx], edx
je 0x10005978
inc eax
add ecx, 0x24
cmp eax, dword [ebp + 0x18]
mov dword [esp + 0x10], eax
jb 0x100058c6
cmp byte [esp + 0x1c], bl
je 0x10005a44
inc dword [ebp + 0x18]
cmp dword [ebp + 0x10], ebx
mov eax, dword [ebp + 0x18]
je 0x100059b4
push ebx
call esi
test eax, eax
je 0x10005902
push ebx
call edi
push ebx
call edi
push ebx
call esi
push ebx
call edi
push ebx
call esi
push ebx
call edi
push ebx
call esi
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0x18]
lea eax, [eax + eax*8]
shl eax, 2
push eax
call fcn.10005488
pop ecx
push ebx
mov dword [ebp + 0x10], eax
call esi
test eax, eax
je 0x10005938
push ebx
call edi
push ebx
call edi
push ebx
call esi
push ebx
call edi
push ebx
call esi
push ebx
call edi
push ebx
call esi
mov eax, dword [ebp + 0x18]
dec eax
lea eax, [eax + eax*8]
shl eax, 2
push eax
push dword [esp + 0x20]
push dword [ebp + 0x10]
call fcn.100084d0
add esp, 0xc
push dword [esp + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x100059c4
cmp byte [esp + 0x1c], bl
je 0x10005986
cmp eax, dword [ebp + 4]
jae 0x10005986
mov dword [ebp + 4], eax
push ebx
call esi
test eax, eax
je 0x10005990
push ebx
call edi
push ebx
call edi
push ebx
call esi
push ebx
call edi
push ebx
call esi
push ebx
call edi
push ebx
call esi
mov eax, dword [esp + 0x10]
mov ecx, dword [ebp + 0x10]
lea eax, [eax + eax*8]
lea eax, [ecx + eax*4]
jmp 0x10005a46
lea eax, [eax + eax*8]
shl eax, 2
push eax
call fcn.10005488
pop ecx
mov dword [ebp + 0x10], eax
push ebx
call esi
test eax, eax
je 0x100059ce
push ebx
call edi
push ebx
call edi
push ebx
call esi
push ebx
call edi
push ebx
call esi
push ebx
call edi
push ebx
call esi
mov eax, dword [ebp + 0x18]
dec eax
cmp eax, dword [ebp + 4]
jae 0x100059ec
mov dword [ebp + 4], eax
push ebx
call esi
test eax, eax
je 0x100059f6
push ebx
call edi
push ebx
call edi
push ebx
call esi
push ebx
call edi
push ebx
call esi
push ebx
call edi
push ebx
call esi
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x10]
mov edx, dword [esp + 0x18]
lea eax, [eax + eax*8]
push ebx
mov dword [ecx + eax*4 - 0x24], edx
call esi
test eax, eax
je 0x10005a23
push ebx
call edi
push ebx
call edi
push ebx
call esi
push ebx
call edi
push ebx
call esi
push ebx
call edi
push ebx
call esi
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x10]
lea eax, [eax + eax*8]
lea eax, [ecx + eax*4 - 0x24]
jmp 0x10005a46
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
Function at 0x1000637b
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
push 1
push dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0xc], ecx
mov byte [ebp - 1], bl
call fcn.10005882
mov esi, dword [sym.imp.KERNEL32.dll_ResetEvent]
push ebx
mov dword [ebp - 8], eax
call esi
test eax, eax
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
je 0x100063af
push ebx
call edi
push ebx
call edi
push ebx
call esi
push ebx
call edi
push ebx
call esi
push ebx
call edi
push ebx
call esi
cmp dword [ebp - 8], ebx
je 0x100064e0
push ebx
call esi
test eax, eax
je 0x100063d4
push ebx
call edi
push ebx
call edi
push ebx
call esi
push ebx
call edi
push ebx
call esi
push ebx
call edi
push ebx
call esi
mov eax, dword [ebp + 0xc]
cmp eax, ebx
mov dword [ebp + 8], ebx
jl 0x100063ff
cmp eax, 4
jge 0x100063ff
mov ecx, dword [ebp - 8]
lea eax, [ecx + eax*8 + 4]
mov dword [ebp + 8], eax
push ebx
call esi
test eax, eax
je 0x10006409
push ebx
call edi
push ebx
call edi
push ebx
call esi
push ebx
call edi
push ebx
call esi
push ebx
call edi
push ebx
call esi
cmp dword [ebp + 8], ebx
je 0x100064e0
push ebx
call esi
test eax, eax
je 0x1000642e
push ebx
call edi
push ebx
call edi
push ebx
call esi
push ebx
call edi
push ebx
call esi
push ebx
call edi
push ebx
call esi
mov eax, dword [ebp + 8]
cmp dword [eax], ebx
je 0x10006458
push dword [eax + 4]
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
push dword [eax + 0xc]
push dword [eax + 8]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.10007e0d
add esp, 0x18
push ebx
call esi
test eax, eax
je 0x10006481
push ebx
call edi
push ebx
call edi
push ebx
call esi
push ebx
call edi
push ebx
call esi
push ebx
call edi
push ebx
call esi
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push ebx
mov dword [ecx], eax
call esi
test eax, eax
je 0x100064a5
push ebx
call edi
push ebx
call edi
push ebx
call esi
push ebx
call edi
push ebx
call esi
push ebx
call edi
push ebx
call esi
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
push ebx
mov dword [ecx + 4], eax
call esi
test eax, eax
je 0x100064ca
push ebx
call edi
push ebx
call edi
push ebx
call esi
push ebx
call edi
push ebx
call esi
push ebx
call edi
push ebx
call esi
mov byte [ebp - 1], 1
push ebx
call esi
test eax, eax
je 0x100064ea
push ebx
call edi
push ebx
call edi
push ebx
call esi
push ebx
call edi
push ebx
call esi
push ebx
call edi
push ebx
call esi
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x10006506
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
xor ebx, ebx
push ebx
push dword [ebp + 8]
mov dword [ebp - 8], ecx
mov byte [ebp - 1], bl
call fcn.10005882
mov esi, dword [sym.imp.KERNEL32.dll_ResetEvent]
push ebx
mov dword [ebp + 8], eax
call esi
test eax, eax
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
je 0x10006538
push ebx
call edi
push ebx
call edi
push ebx
call esi
push ebx
call edi
push ebx
call esi
push ebx
call edi
push ebx
call esi
mov ecx, dword [ebp + 8]
cmp ecx, ebx
je 0x100065d6
mov eax, dword [ebp + 0xc]
cmp eax, ebx
mov dword [ebp + 8], ebx
jl 0x1000656b
cmp eax, 4
jge 0x1000656b
lea eax, [ecx + eax*8 + 4]
mov dword [ebp + 8], eax
push ebx
call esi
test eax, eax
je 0x10006575
push ebx
call edi
push ebx
call edi
push ebx
call esi
push ebx
call edi
push ebx
call esi
push ebx
call edi
push ebx
call esi
mov eax, dword [ebp + 8]
cmp eax, ebx
je 0x100065d6
cmp dword [eax], ebx
je 0x100065d6
cmp dword [eax + 4], ebx
je 0x100065d6
push ebx
call esi
test eax, eax
je 0x100065a1
push ebx
call edi
push ebx
call edi
push ebx
call esi
push ebx
call edi
push ebx
call esi
push ebx
call edi
push ebx
call esi
push dword [ebp + 0x14]
mov eax, dword [ebp - 8]
push dword [ebp + 0x10]
push dword [eax + 0xc]
push dword [eax + 8]
mov eax, dword [ebp + 8]
push dword [eax]
push dword [eax + 4]
call fcn.10007ff6
add esp, 0x18
mov byte [ebp - 1], 1
push ebx
call esi
test eax, eax
je 0x100065e0
push ebx
call edi
push ebx
call edi
push ebx
call esi
push ebx
call edi
push ebx
call esi
push ebx
call edi
push ebx
call esi
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x100065fc
Capabilities:
Get file attributes

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_ResetEvent]
push edi
xor ebx, ebx
push ebx
mov ebp, ecx
mov byte [esp + 0x17], bl
call esi
test eax, eax
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
je 0x10006621
push ebx
call edi
push ebx
call edi
push ebx
call esi
push ebx
call edi
push ebx
call esi
push ebx
call edi
push ebx
call esi
mov eax, dword [ebp + 0x18]
shl eax, 2
push eax
call fcn.10005488
cmp eax, ebx
pop ecx
mov ecx, dword [esp + 0x20]
mov dword [ecx], eax
je 0x100066c3
push ebx
call esi
test eax, eax
je 0x10006654
push ebx
call edi
push ebx
call edi
push ebx
call esi
push ebx
call edi
push ebx
call esi
push ebx
call edi
push ebx
call esi
cmp dword [ebp + 0x18], ebx
mov dword [esp + 0x18], ebx
jbe 0x10006699
mov dword [esp + 0x14], ebx
mov eax, dword [ebp + 0x10]
mov edx, dword [esp + 0x14]
mov edx, dword [edx + eax]
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
mov ecx, dword [ecx]
add dword [esp + 0x14], 0x24
mov dword [ecx + eax*4], edx
inc eax
cmp eax, dword [ebp + 0x18]
mov dword [esp + 0x18], eax
jb 0x10006673
mov eax, dword [ebp + 0x18]
mov ecx, dword [esp + 0x24]
push ebx
mov dword [ecx], eax
call esi
test eax, eax
je 0x100066ac
push ebx
call edi
push ebx
call edi
push ebx
call esi
push ebx
call edi
push ebx
call esi
push ebx
call edi
push ebx
call esi
mov byte [esp + 0x13], 1
push ebx
call esi
test eax, eax
je 0x100066cd
push ebx
call edi
push ebx
call edi
push ebx
call esi
push ebx
call edi
push ebx
call esi
push ebx
call edi
push ebx
call esi
mov al, byte [esp + 0x13]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8

Function at 0x100066ed
Capabilities:
Get file attributes

Disassembly:
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_ResetEvent]
push edi
xor ebx, ebx
push ebx
call esi
test eax, eax
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
je 0x10006708
push ebx
call edi
push ebx
call edi
push ebx
call esi
push ebx
call edi
push ebx
call esi
push ebx
call edi
push ebx
call esi
cmp dword [esp + 0x10], ebx
je 0x10006732
push dword [esp + 0x10]
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
pop esi
pop ebx
ret 4
Function at 0x10006738
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_ResetEvent]
push edi
xor ebx, ebx
push ebx
mov dword [eax + 4], ecx
mov dword [eax + 8], ebx
mov dword [eax], 0xc
call esi
test eax, eax
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
je 0x1000676e
push ebx
call edi
push ebx
call edi
push ebx
call esi
push ebx
call edi
push ebx
call esi
push ebx
call edi
push ebx
call esi
push ebx
push ebx
push 0x104
lea eax, [ebp - 0x104]
push eax
push 0xffffffffffffffff
push str.SetSecurityDescriptorDacl
push ebx
push 1
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea eax, [ebp - 0x104]
push eax
push str.advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 1
push dword [ebp + 0xc]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
push ebx
push ebx
push 1
push dword [ebp + 0xc]
call esi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x100067d2
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.10006738
mov esi, dword [sym.imp.KERNEL32.dll_ResetEvent]
pop ecx
pop ecx
xor ebx, ebx
push ebx
call esi
test eax, eax
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
je 0x10006802
push ebx
call edi
push ebx
call edi
push ebx
call esi
push ebx
call edi
push ebx
call esi
push ebx
call edi
push ebx
call esi
push dword [ebp + 8]
lea eax, [ebp - 0xc]
push ebx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateEventA]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10006828
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
push ebx
push esi
push edi
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.10006738
pop ecx
pop ecx
push 0x104
lea eax, [ebp - 0x228]
push eax
push 0xffffffffffffffff
push dword [ebp + 0xc]
xor ebx, ebx
push ebx
push 1
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov esi, dword [sym.imp.KERNEL32.dll_ResetEvent]
push ebx
call esi
test eax, eax
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
je 0x10006875
push ebx
call edi
push ebx
call edi
push ebx
call esi
push ebx
call edi
push ebx
call esi
push ebx
call edi
push ebx
call esi
lea eax, [ebp - 0x228]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
pop edi
pop esi
pop ebx
leave
ret