joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41e9d1
Capabilities:
Check os version
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb0
push ebx
push esi
lea eax, [ebp - 0xb0]
push edi
xor esi, esi
push eax
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0xb0], 0x94
call dword [sym.imp.KERNEL32.DLL_GetVersionExA]
test eax, eax
je 0x41ea06
cmp dword [ebp - 0xa0], 2
je 0x41ea0e
push 1
pop eax
jmp 0x41eb80
cmp dword [ebp - 0xac], 6
jb 0x41ea1e
mov dword [ebp - 0x1c], 1
and byte [ebp - 0x14], 0
and byte [ebp - 0x13], 0
and byte [ebp - 0x12], 0
and byte [ebp - 0x11], 0
and byte [ebp - 0x10], 0
lea eax, [ebp - 8]
push eax
push 1
push 8
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x18], esi
mov byte [ebp - 0xf], 5
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.DLL_GetCurrentThread]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenThreadToken]
mov ebx, dword [sym.imp.KERNEL32.DLL_GetLastError]
test eax, eax
jne 0x41ea89
call ebx
cmp eax, 0x3f0
jne 0x41eb23
lea eax, [ebp - 8]
push eax
push 8
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x41eb23
mov edi, 0x1000
push edi
call fcn.004af1a1
mov esi, eax
pop ecx
test esi, esi
je 0x41eb7d
lea eax, [ebp - 0xc]
push eax
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
push esi
push 2
push dword [ebp - 8]
call edi
mov dword [ebp - 4], eax
call ebx
cmp dword [ebp - 4], 0
jne 0x41eae7
cmp eax, 0x7a
jne 0x41eae7
push dword [ebp - 0xc]
push esi
call fcn.004b15b0
pop ecx
test eax, eax
pop ecx
je 0x41eb23
lea ecx, [ebp - 0xc]
mov esi, eax
push ecx
push dword [ebp - 0xc]
push eax
push 2
push dword [ebp - 8]
call edi
mov dword [ebp - 4], eax
call ebx
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
xor ebx, ebx
cmp dword [ebp - 4], ebx
je 0x41eb18
lea eax, [ebp - 0x18]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
lea eax, [ebp - 0x14]
push 2
push eax
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
jne 0x41eb27
cmp esi, ebx
je 0x41eb23
push esi
call fcn.004af0b8
pop ecx
xor eax, eax
jmp 0x41eb80
cmp esi, ebx
mov dword [ebp - 4], ebx
je 0x41eb57
cmp dword [esi], ebx
jbe 0x41eb57
lea edi, [esi + 4]
push dword [edi]
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x41eb4e
inc ebx
add edi, 8
cmp ebx, dword [esi]
jb 0x41eb35
jmp 0x41eb55
mov dword [ebp - 4], 1
xor ebx, ebx
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
cmp esi, ebx
je 0x41eb6b
push esi
call fcn.004af0b8
pop ecx
cmp dword [ebp - 0x1c], ebx
je 0x41eb7d
cmp dword [ebp - 4], ebx
je 0x41eb7d
call fcn.0041eb85
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x443c60
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, 0x4dd31d
call fcn.004aef44
push ecx
push ecx
push ebx
push esi
push edi
mov esi, ecx
mov edi, dword [esi + 8]
xor ebx, ebx
cmp edi, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], ebx
je 0x443caf
test ebx, ebx
jne 0x443ca8
push dword [ebp + 8]
mov eax, edi
mov edi, dword [edi]
mov eax, dword [eax + 8]
mov eax, dword [eax + 4]
push eax
call fcn.004afa15
pop ecx
test eax, eax
pop ecx
jne 0x443ca0
push 1
pop ebx
test edi, edi
jne 0x443c80
test ebx, ebx
je 0x443caf
xor esi, esi
jmp 0x443d8f
mov eax, dword [ebp + 8]
cmp dword [eax - 8], 0
je 0x443cc4
push eax
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x443cd0
mov dword [ebp - 0x10], 1
jmp 0x443d8c
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov ebx, eax
test ebx, ebx
jne 0x443ceb
mov dword [ebp - 0x10], 2
jmp 0x443d81
mov edi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push str.irPlg_Action_RegisterActions
push ebx
call edi
push str.irPlg_GetSDKVersion
push ebx
mov dword [ebp - 0x14], eax
call edi
mov ecx, eax
xor edi, edi
cmp ecx, edi
jne 0x443d12
cmp dword [esi + 0x24], 0xffffffff
jne 0x443d17
cmp dword [ebp - 0x14], edi
jne 0x443d20
mov dword [ebp - 0x10], 3
jmp 0x443d81
or eax, 0xffffffff
cmp eax, dword [esi + 0x24]
je 0x443d2f
call ecx
cmp eax, dword [esi + 0x24]
jl 0x443d7a
push dword [esi + 0x20]
call dword [ebp - 0x14]
push edi
push dword [esi + 0x20]
call fcn.00480fc0
push 0xc
call fcn.004c512e
mov ecx, eax
add esp, 0x10
mov dword [ebp - 0x14], ecx
cmp ecx, edi
mov byte [ebp - 4], 1
je 0x443d5c
call fcn.00443b22
mov edi, eax
and byte [ebp - 4], 0
lea eax, [ebp + 8]
push eax
lea ecx, [edi + 4]
call fcn.004c5fe3
push edi
lea ecx, [esi + 4]
mov dword [edi + 8], ebx
call fcn.004c4661
jmp 0x443d8c
mov dword [ebp - 0x10], 4
test ebx, ebx
je 0x443d8c
push ebx
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
mov esi, dword [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004c5eaa
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x444a05
Capabilities:
Check if file exists
Delete file
Get file attributes
Set file attributes

Disassembly:
mov eax, 0x4dd4e4
call fcn.004aef44
sub esp, 0xc
push ebx
push esi
push edi
mov esi, ecx
push 1
pop ebx
push dword [ebp + 8]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], ebx
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x444b62
test al, 6
je 0x444a44
cmp dword [esi + 0x1c], 0
jne 0x444a44
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
jmp 0x444a66
push 0
push dword [ebp + 0xc]
call fcn.004b0b55
mov edi, dword [sym.imp.KERNEL32.DLL_SetFileAttributesA]
pop ecx
test eax, eax
pop ecx
jne 0x444abf
cmp dword [esi + 0x10], 0
jne 0x444a7e
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
lea eax, [ebp + 8]
push eax
call fcn.004c5c1f
mov ecx, esi
call fcn.00445163
sub dword [esi + 0x50], eax
jmp 0x444b66
push 0x80
push dword [ebp + 0xc]
call edi
test eax, eax
jne 0x444a94
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
jmp 0x444aa7
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
test eax, eax
jne 0x444abf
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
lea eax, [ebp + 8]
push eax
call fcn.004c5c1f
mov ecx, esi
call fcn.00445163
sub dword [esi + 0x50], eax
jmp 0x444b62
push ecx
lea eax, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
call fcn.004c5c1f
mov ecx, esi
call fcn.00445163
mov dword [esi + 0x5c], eax
push ecx
lea eax, [ebp + 0xc]
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
call fcn.004c5c1f
push ecx
lea eax, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
mov byte [ebp - 4], 2
call fcn.004c5c1f
mov ecx, esi
mov byte [ebp - 4], bl
call fcn.00444dab
test eax, eax
je 0x444b62
cmp dword [esi + 0x14], 0
je 0x444b66
push 0x80
push dword [ebp + 8]
call edi
test eax, eax
je 0x444b4b
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
push ecx
test eax, eax
mov ecx, esp
jne 0x444b36
mov dword [ebp - 0x18], esp
push str.Failed_to_delete_file_after_copy
jmp 0x444b56
lea eax, [ebp + 8]
mov dword [ebp - 0x18], esp
push eax
call fcn.004c5c1f
mov ecx, esi
call fcn.004451db
jmp 0x444b66
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push str.Failed_to_set_source_file_attribute_to_normal_durign_move
call fcn.004c5f18
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
and dword [ebp - 0x10], 0
and byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.004c5eaa
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.004c5eaa
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 8
Function at 0x4451db
Capabilities:
Delete directory

Disassembly:
mov eax, 0x4dd690
call fcn.004aef44
sub esp, 0xc
push esi
mov eax, dword [0x51f03c]
and dword [ebp - 4], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], eax
lea esi, [ecx + 4]
push 0x5c
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.004c2892
cmp eax, 0xffffffff
je 0x44523f
push eax
lea eax, [ebp - 0x18]
push eax
mov ecx, esi
call fcn.004c281a
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.004c5fe3
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.004c5eaa
push 0x510870
lea ecx, [ebp - 0x14]
call fcn.004c2c4d
push 0x5c
lea ecx, [ebp + 8]
call fcn.004c2892
cmp eax, 0xffffffff
pop esi
je 0x44529f
push eax
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp + 8]
call fcn.004c281a
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.004c5fe3
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.004c5eaa
push 0
push dword [ebp - 0x10]
call fcn.004b0b55
pop ecx
test eax, eax
pop ecx
jne 0x44529f
push dword [ebp - 0x10]
push dword [ebp - 0x14]
call fcn.004afa15
pop ecx
test eax, eax
pop ecx
je 0x44529f
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.DLL_RemoveDirectoryA]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.004c5eaa
and byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004c5eaa
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004c5eaa
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret 4
Function at 0x4460ae
Capabilities:
Delete directory

Disassembly:
mov eax, 0x4dd8ec
call fcn.004aef44
sub esp, 0xc
push esi
mov eax, dword [0x51f03c]
and dword [ebp - 4], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], eax
lea esi, [ecx + 4]
push 0x5c
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.004c2892
cmp eax, 0xffffffff
je 0x446112
push eax
lea eax, [ebp - 0x18]
push eax
mov ecx, esi
call fcn.004c281a
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.004c5fe3
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.004c5eaa
push 0x510870
lea ecx, [ebp - 0x14]
call fcn.004c2c4d
push 0x5c
lea ecx, [ebp + 8]
call fcn.004c2892
cmp eax, 0xffffffff
pop esi
je 0x446172
push eax
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp + 8]
call fcn.004c281a
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.004c5fe3
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.004c5eaa
push 0
push dword [ebp - 0x10]
call fcn.004b0b55
pop ecx
test eax, eax
pop ecx
jne 0x446172
push dword [ebp - 0x10]
push dword [ebp - 0x14]
call fcn.004afa15
pop ecx
test eax, eax
pop ecx
je 0x446172
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.DLL_RemoveDirectoryA]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.004c5eaa
and byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004c5eaa
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004c5eaa
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret 4

Function at 0x4461a4
Capabilities:
Delete directory

Disassembly:
mov eax, 0x4dd920
call fcn.004aef44
sub esp, 0xc
push esi
mov eax, dword [0x51f03c]
and dword [ebp - 4], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], eax
lea esi, [ecx + 4]
push 0x5c
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.004c2892
cmp eax, 0xffffffff
je 0x4461fb
push eax
lea eax, [ebp - 0x18]
push eax
mov ecx, esi
call fcn.004c281a
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.004c5fe3
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.004c5eaa
lea eax, [ebp + 8]
lea ecx, [ebp - 0x10]
push eax
call fcn.004c5fe3
push dword [ebp - 0x10]
mov esi, dword [sym.imp.KERNEL32.DLL_RemoveDirectoryA]
call esi
push 0x5c
lea ecx, [ebp - 0x10]
call fcn.004c2892
cmp eax, 0xffffffff
je 0x44625d
push eax
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x10]
call fcn.004c281a
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.004c5fe3
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.004c5eaa
push dword [ebp - 0x14]
push dword [ebp - 0x10]
call fcn.004af56e
pop ecx
test eax, eax
pop ecx
je 0x446212
push dword [ebp - 0x10]
jmp 0x446210
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.004c5eaa
and byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004c5eaa
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004c5eaa
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret 4
Function at 0x4467a9
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags

Disassembly:
mov eax, 0x4dda54
call fcn.004aef44
push ebx
push esi
push edi
mov esi, ecx
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 4], ebx
lea eax, [edi + 0x2c]
push eax
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push eax
call fcn.004c613f
push eax
lea ecx, [esi + 4]
mov byte [ebp - 4], 1
call fcn.004c5fe3
lea ecx, [ebp + 8]
mov byte [ebp - 4], bl
call fcn.004c5eaa
mov eax, dword [edi]
push 1
push ebx
push ebx
mov dword [esi + 8], eax
push dword [edi + 0x1c]
call fcn.004af6a0
mov ecx, dword [edi + 0x20]
add eax, ecx
mov dword [esi + 0x10], eax
lea eax, [esi + 0x18]
push eax
lea eax, [edi + 4]
adc edx, ebx
and dword [esi + 0x30], ebx
and dword [esi + 0x2c], ebx
push eax
mov dword [esi + 0x14], edx
call fcn.00408dc6
lea eax, [esi + 0x1c]
push eax
lea eax, [edi + 0xc]
push eax
call fcn.00408dc6
lea eax, [esi + 0x20]
add edi, 0x14
push eax
push edi
call fcn.00408dc6
mov eax, dword [ebp + 0x10]
or dword [ebp - 4], 0xffffffff
add esp, 0x18
lea ecx, [ebp + 0xc]
mov dword [esi], eax
call fcn.004c5eaa
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc
Function at 0x457942
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x44], 0
je 0x4579ac
mov eax, dword [esp + 8]
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x84]
test eax, eax
je 0x4579b7
push dword [eax + 0x1c]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4579b7
cmp dword [esi + 0xc], 0
je 0x457994
mov eax, dword [esi + 0x84]
test eax, eax
je 0x45797c
mov eax, dword [eax + 0x1c]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x84]
push 5
call fcn.004c9592
jmp 0x4579b7
mov esi, dword [esi + 0x84]
test esi, esi
je 0x4579a1
mov esi, dword [esi + 0x1c]
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4579b7
push dword [esp + 8]
mov ecx, esi
call fcn.0044f2e1
pop esi
ret 4
Function at 0x45e130
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x4dfd90
call fcn.004aef44
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
mov eax, dword [0x51f03c]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [esi + 8], eax
mov eax, dword [0x51f03c]
mov dword [esi + 0xc], eax
push 0xa
lea ecx, [esi + 0x14]
mov byte [ebp - 4], 2
call fcn.004c3e94
push 0xa
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 3
call fcn.004c3e94
push 0xa
lea ecx, [esi + 0x4c]
mov byte [ebp - 4], 4
call fcn.004c3e94
lea ecx, [esi + 0x6c]
mov byte [ebp - 4], 5
call fcn.0045c9f5
lea ecx, [esi + 0x1b0]
mov byte [ebp - 4], 6
call fcn.0047a98b
lea eax, [esi + 0x21c]
mov edi, vtable.CFont.0
mov dword [eax + 4], ebx
mov dword [eax], edi
lea eax, [esi + 0x224]
mov dword [eax + 4], ebx
mov dword [eax], edi
lea ecx, [esi + 0x22c]
mov byte [ebp - 4], 9
call fcn.00417744
lea ecx, [esi + 0x270]
mov byte [ebp - 4], 0xa
call fcn.00417744
lea ecx, [esi + 0x2b4]
mov byte [ebp - 4], 0xb
call fcn.00417744
lea eax, [esi + 0x300]
mov dword [eax + 4], ebx
mov dword [eax], edi
mov ecx, esi
mov byte [ebp - 4], 0xd
mov dword [esi], vtable.CSUFScreenBase.0
call fcn.0045e368
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x1bc], ebx
mov dword [esi + 0x2f8], ebx
mov dword [esi + 0x1c0], ebx
mov dword [esi + 0x2fc], 1
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x45e24a
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x4dfe60
call fcn.004aef44
push ecx
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
mov dword [esi], vtable.CSUFScreenBase.0
mov dword [ebp - 4], 0xd
call fcn.0045e3d2
lea ebx, [esi + 0x224]
mov ecx, ebx
call fcn.004cd0d4
lea ecx, [esi + 0x21c]
call fcn.004cd0d4
lea edi, [esi + 0x300]
mov ecx, edi
call fcn.004cd0d4
mov ecx, esi
call fcn.0046037d
mov ecx, edi
mov edi, vtable.CGdiObject.0
mov dword [ebp - 0x14], ecx
mov dword [ecx], edi
mov byte [ebp - 4], 0xe
call fcn.004cd0d4
lea ecx, [esi + 0x2b4]
mov byte [ebp - 4], 0xb
call fcn.00417776
lea ecx, [esi + 0x270]
mov byte [ebp - 4], 0xa
call fcn.00417776
lea ecx, [esi + 0x22c]
mov byte [ebp - 4], 9
call fcn.00417776
mov dword [ebp - 0x14], ebx
mov dword [ebx], edi
mov ecx, ebx
mov byte [ebp - 4], 0xf
call fcn.004cd0d4
lea ecx, [esi + 0x21c]
mov dword [ebp - 0x14], ecx
mov dword [ecx], edi
mov byte [ebp - 4], 0x10
call fcn.004cd0d4
lea ecx, [esi + 0x1b0]
mov byte [ebp - 4], 6
call fcn.0047a9b8
lea ecx, [esi + 0x6c]
mov byte [ebp - 4], 5
call fcn.0045cac9
lea ecx, [esi + 0x4c]
mov byte [ebp - 4], 4
call fcn.004c3ed3
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 3
call fcn.004c3ed3
lea ecx, [esi + 0x14]
mov byte [ebp - 4], 2
call fcn.004c3ed3
lea ecx, [esi + 0xc]
mov byte [ebp - 4], 1
call fcn.004c5eaa
and byte [ebp - 4], 0
lea ecx, [esi + 8]
call fcn.004c5eaa
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x46e6b9
Capabilities:
Delete directory

Disassembly:
mov eax, 0x4e1cab
call fcn.004aef44
sub esp, 0x518
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [ebp - 0x3ec]
call fcn.00416bd2
and dword [ebp - 4], 0
push 0xa
lea ecx, [ebp - 0x38]
call fcn.004c4251
push 0x523a30
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.004c5f18
lea edi, [esi + 0x10]
lea ecx, [ebp - 0x18]
push edi
mov byte [ebp - 4], 2
call fcn.004c5c1f
push 0x5c
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call fcn.004c2ca0
lea ecx, [ebp - 0x7c]
call fcn.0040ce17
push ecx
add esi, 0x254
mov ecx, esp
mov dword [ebp - 0x14], esp
push esi
mov byte [ebp - 4], 4
call fcn.004c5c1f
lea ecx, [ebp - 0x3ec]
call fcn.00416c9c
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push edi
call fcn.004c5c1f
lea ecx, [ebp - 0x3ec]
call fcn.00416cef
lea eax, [ebp - 0x3c8]
mov dword [ebp - 0x3c4], 1
push eax
call fcn.0049d7a0
mov esi, eax
test esi, esi
jne 0x46e7dd
mov ebx, dword [ebp - 0x37c]
lea eax, [ebp - 0x524]
xor edi, edi
mov dword [ebp - 0x3bc], eax
test ebx, ebx
jle 0x46e7dd
test esi, esi
jne 0x46e7dd
lea eax, [ebp - 0x3c8]
mov dword [ebp - 0x3c4], 2
push eax
call fcn.0049d7a0
mov esi, eax
test esi, esi
jne 0x46e7d8
lea eax, [ebp - 0x4fe]
lea ecx, [ebp - 0x10]
push eax
call fcn.004c6033
push str._TUProj.dat
push dword [ebp - 0x10]
call fcn.004afa15
pop ecx
test eax, eax
pop ecx
je 0x46e7d8
lea eax, [ebp - 0x10]
lea ecx, [ebp - 0x38]
push eax
call fcn.004c43fa
inc edi
cmp edi, ebx
jl 0x46e78a
mov eax, dword [0x523ba4]
lea ecx, [eax + 0x38]
call fcn.00443c36
mov esi, dword [ebp - 0x34]
test esi, esi
je 0x46e854
mov eax, esi
mov esi, dword [esi]
add eax, 8
lea ecx, [ebp - 0x10]
push eax
call fcn.004c5fe3
lea eax, [ebp - 0x18]
push 0x510870
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.004c613f
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 5
push ecx
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.004c60d9
push eax
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 6
call fcn.004c5fe3
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 5
call fcn.004c5eaa
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 4
call fcn.004c5eaa
lea ecx, [ebp - 0x7c]
call fcn.0040cf25
jmp 0x46e7ed
mov eax, dword [0x523ba4]
push dword [eax + 0x10]
call dword [sym.imp.KERNEL32.DLL_RemoveDirectoryA]
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 3
call fcn.0040ceb6
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.004c5eaa
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.004c5eaa
and byte [ebp - 4], 0
lea ecx, [ebp - 0x38]
call fcn.004c42c5
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3ec]
call fcn.00416c4b
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x46e6ca
Capabilities:
Delete directory

Disassembly:
mov eax, 0x4e1cab
call fcn.004aef44
sub esp, 0x518
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [ebp - 0x3ec]
call fcn.00416bd2
and dword [ebp - 4], 0
push 0xa
lea ecx, [ebp - 0x38]
call fcn.004c4251
push 0x523a30
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.004c5f18
lea edi, [esi + 0x10]
lea ecx, [ebp - 0x18]
push edi
mov byte [ebp - 4], 2
call fcn.004c5c1f
push 0x5c
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call fcn.004c2ca0
lea ecx, [ebp - 0x7c]
call fcn.0040ce17
push ecx
add esi, 0x254
mov ecx, esp
mov dword [ebp - 0x14], esp
push esi
mov byte [ebp - 4], 4
call fcn.004c5c1f
lea ecx, [ebp - 0x3ec]
call fcn.00416c9c
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push edi
call fcn.004c5c1f
lea ecx, [ebp - 0x3ec]
call fcn.00416cef
lea eax, [ebp - 0x3c8]
mov dword [ebp - 0x3c4], 1
push eax
call fcn.0049d7a0
mov esi, eax
test esi, esi
jne 0x46e7dd
mov ebx, dword [ebp - 0x37c]
lea eax, [ebp - 0x524]
xor edi, edi
mov dword [ebp - 0x3bc], eax
test ebx, ebx
jle 0x46e7dd
test esi, esi
jne 0x46e7dd
lea eax, [ebp - 0x3c8]
mov dword [ebp - 0x3c4], 2
push eax
call fcn.0049d7a0
mov esi, eax
test esi, esi
jne 0x46e7d8
lea eax, [ebp - 0x4fe]
lea ecx, [ebp - 0x10]
push eax
call fcn.004c6033
push str._TUProj.dat
push dword [ebp - 0x10]
call fcn.004afa15
pop ecx
test eax, eax
pop ecx
je 0x46e7d8
lea eax, [ebp - 0x10]
lea ecx, [ebp - 0x38]
push eax
call fcn.004c43fa
inc edi
cmp edi, ebx
jl 0x46e78a
mov eax, dword [0x523ba4]
lea ecx, [eax + 0x38]
call fcn.00443c36
mov esi, dword [ebp - 0x34]
test esi, esi
je 0x46e854
mov eax, esi
mov esi, dword [esi]
add eax, 8
lea ecx, [ebp - 0x10]
push eax
call fcn.004c5fe3
lea eax, [ebp - 0x18]
push 0x510870
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.004c613f
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 5
push ecx
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.004c60d9
push eax
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 6
call fcn.004c5fe3
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 5
call fcn.004c5eaa
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 4
call fcn.004c5eaa
lea ecx, [ebp - 0x7c]
call fcn.0040cf25
jmp 0x46e7ed
mov eax, dword [0x523ba4]
push dword [eax + 0x10]
call dword [sym.imp.KERNEL32.DLL_RemoveDirectoryA]
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 3
call fcn.0040ceb6
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.004c5eaa
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.004c5eaa
and byte [ebp - 4], 0
lea ecx, [ebp - 0x38]
call fcn.004c42c5
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3ec]
call fcn.00416c4b
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret