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

Disassembly:
push 0xffffffffffffffff
push 0x47146e
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4a7534]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
call fcn.00443290
xor edi, edi
mov dword [esi + 0x30], vtable.t_versionReg::t_interface.0
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi], vtable.UserAccFile.1.0
mov dword [esi + 0x30], vtable.UserAccFile.0
mov ecx, vtable.VarSimple_int__0_.1.0
mov eax, vtable.VarSimple_int__0_.0
mov dword [esp + 0x18], edi
mov dword [esi + 0x3c], ecx
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], ecx
mov dword [esi + 0x4c], eax
mov dword [esi + 0x50], edi
lea ecx, [esi + 0x54]
mov byte [esp + 0x18], 2
call fcn.00440f30
mov dword [esi + 0x6c], fcn.004462ab
mov dword [esi + 0x70], fcn.004464a4
mov dword [esi + 0x74], fcn.004461ce
mov dword [esi + 0x78], edi
mov dword [esi + 0x7c], edi
mov byte [esi + 0x2c], 1
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret

Function at 0x445749
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x4a7534]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.004456de
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.00449450
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x445798
cmp dword [ebp - 0x1c], 5
jb 0x4457b0
jmp 0x4457ac
cmp dword [ebp - 0x10], 1
jne 0x4457b0
cmp dword [ebp - 0x1c], 4
ja 0x4457ac
jne 0x4457b0
cmp dword [ebp - 0x18], 0
jbe 0x4457b0
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x47fc04
call fcn.00421010
test eax, eax
jge 0x4457d1
mov byte [0x4ac738], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00445c6a
add ebp, 0x78
leave
ret
Function at 0x445983
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x4abb14], 0
push esi
jne 0x4458f6
call fcn.00445821
test eax, eax
je 0x445939
mov eax, dword [0x4abb14]
cmp eax, 1
jne 0x445917
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x445939
pop esi
ret
push eax
call dword [0x4abb1c]
test eax, eax
jne 0x445981
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x44593d
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x4abb14]
call dword [0x4abb1c]
mov edi, eax
test edi, edi
je 0x445964
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, edi
jmp 0x445980
lea edi, [esi + 0xff0]
push esi
push dword [0x4abb14]
call dword [fcn.004abb18]
add esi, 0x10
cmp esi, edi
jb 0x44596a
mov eax, esi
pop edi
pop esi
ret
jmp 0x4458e3

Function at 0x445c6a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4a7534]
jne 0x445c74
repz ret
jmp fcn.0044b656
Function at 0x448707
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
cmp dword [ebp + 0x10], edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], ebx
je 0x448744
cmp dword [ebp + 0x14], edi
je 0x448744
cmp ecx, edi
jne 0x44874b
call fcn.00447593
push edi
push edi
push edi
push edi
mov dword [eax], 0x16
push edi
call fcn.00445d7f
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov esi, dword [ebp + 0x18]
cmp esi, edi
je 0x44875f
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
jbe 0x448780
cmp ebx, 0xffffffff
je 0x44876f
push ebx
push edi
push ecx
call fcn.00449450
add esp, 0xc
cmp esi, edi
je 0x44872c
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
ja 0x44872c
mov edi, dword [ebp + 0x10]
imul edi, dword [ebp + 0x14]
test word [esi + 0xc], 0x10c
mov dword [ebp - 0x10], edi
mov ebx, edi
je 0x44879c
mov eax, dword [esi + 0x18]
mov dword [ebp - 0xc], eax
jmp 0x4487a3
mov dword [ebp - 0xc], 0x1000
test edi, edi
je 0x448894
test word [esi + 0xc], 0x10c
je 0x4487f7
mov eax, dword [esi + 4]
test eax, eax
je 0x4487f7
jl 0x4488f5
cmp ebx, eax
mov edi, ebx
jb 0x4487c8
mov edi, eax
cmp edi, dword [ebp - 4]
ja 0x44889c
push edi
push dword [esi]
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.00445bef
sub dword [esi + 4], edi
add dword [esi], edi
add dword [ebp - 8], edi
sub ebx, edi
add esp, 0x10
sub dword [ebp - 4], edi
mov edi, dword [ebp - 0x10]
jmp 0x44888c
cmp ebx, dword [ebp - 0xc]
jb 0x448864
cmp dword [ebp - 0xc], 0
je 0x448821
mov ecx, SysReAllocString
xor edx, edx
cmp ebx, ecx
jbe 0x448816
mov eax, ecx
div dword [ebp - 0xc]
mov eax, ecx
jmp 0x44881d
mov eax, ebx
div dword [ebp - 0xc]
mov eax, ebx
sub eax, edx
jmp 0x44882c
mov eax, SysReAllocString
cmp ebx, eax
ja 0x44882c
mov eax, ebx
cmp eax, dword [ebp - 4]
ja 0x4488c8
push eax
push dword [ebp - 8]
push esi
call fcn.0044df5a
pop ecx
push eax
call fcn.00452003
add esp, 0xc
test eax, eax
je 0x448907
cmp eax, 0xffffffff
je 0x4488f5
add dword [ebp - 8], eax
sub ebx, eax
sub dword [ebp - 4], eax
jmp 0x44888c
push esi
call fcn.00451922
cmp eax, 0xffffffff
pop ecx
je 0x4488f9
cmp dword [ebp - 4], 0
je 0x4488c8
mov ecx, dword [ebp - 8]
inc dword [ebp - 8]
mov byte [ecx], al
mov eax, dword [esi + 0x18]
dec ebx
dec dword [ebp - 4]
mov dword [ebp - 0xc], eax
test ebx, ebx
jne 0x4487ab
mov eax, dword [ebp + 0x14]
jmp 0x448746
xor esi, esi
cmp dword [ebp + 0xc], 0xffffffff
je 0x4488b3
push dword [ebp + 0xc]
push esi
push dword [ebp + 8]
call fcn.00449450
add esp, 0xc
call fcn.00447593
push esi
push esi
push esi
push esi
mov dword [eax], 0x22
push esi
jmp 0x44873c
cmp dword [ebp + 0xc], 0xffffffff
je 0x4488de
push dword [ebp + 0xc]
push 0
push dword [ebp + 8]
call fcn.00449450
add esp, 0xc
call fcn.00447593
mov dword [eax], 0x22
xor eax, eax
push eax
push eax
push eax
push eax
push eax
jmp 0x44873c
or dword [esi + 0xc], 0x20
mov eax, edi
sub eax, ebx
xor edx, edx
div dword [ebp + 0x10]
jmp 0x448746
or dword [esi + 0xc], 0x10
jmp 0x4488f9
Function at 0x44d104
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x4a7728]
je 0x44d11f
inc edi
cmp edi, 0x17
jb 0x44d110
cmp edi, 0x17
jae 0x44d29f
push ebp
push 3
call fcn.004562aa
cmp eax, 1
pop ecx
je 0x44d26b
push 3
call fcn.004562aa
test eax, eax
pop ecx
jne 0x44d153
cmp dword [0x4a7530], 1
je 0x44d26b
cmp ebx, 0xfc
je 0x44d29e
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x4ac050
push ebp
call fcn.0044b176
add esp, 0xc
test eax, eax
je 0x44d189
push esi
push esi
push esi
push esi
push esi
call fcn.00445c83
add esp, 0x14
push 0x104
mov esi, 0x4ac069
push esi
push 0
mov byte [0x4ac16d], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x44d1cd
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.0044b176
add esp, 0xc
test eax, eax
je 0x44d1cd
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.00445c83
add esp, 0x14
push esi
call fcn.0044b370
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x44d212
push esi
call fcn.0044b370
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x4ac364
push 0x480304
sub ecx, eax
push ecx
push eax
call fcn.00452c83
add esp, 0x14
test eax, eax
je 0x44d212
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.00445c83
add esp, 0x14
jmp 0x44d214
xor esi, esi
push 0x480300
push ebx
push ebp
call fcn.0044b105
add esp, 0xc
test eax, eax
je 0x44d234
push esi
push esi
push esi
push esi
push esi
call fcn.00445c83
add esp, 0x14
push dword [edi*8 + 0x4a772c]
push ebx
push ebp
call fcn.0044b105
add esp, 0xc
test eax, eax
je 0x44d256
push esi
push esi
push esi
push esi
push esi
call fcn.00445c83
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.004560ed
add esp, 0xc
jmp 0x44d29e
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x44d29e
cmp ebp, 0xffffffff
je 0x44d29e
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x4a772c]
push dword [esi]
call fcn.0044b370
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x4560ed
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0044a9fa
xor ebx, ebx
cmp dword [0x4ac70c], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x4561c3
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x4562a3
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x4562a3
push eax
call fcn.0044a98c
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4ac70c], eax
call esi
push eax
call fcn.0044a98c
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4ac710], eax
call esi
push eax
call fcn.0044a98c
mov dword [0x4ac714], eax
lea eax, [ebp - 0xc]
push eax
call fcn.00446fe9
test eax, eax
pop ecx
pop ecx
je 0x456191
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00445c83
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x4561c3
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0044a98c
cmp eax, ebx
pop ecx
mov dword [0x4ac71c], eax
je 0x4561c3
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0044a98c
pop ecx
mov dword [0x4ac718], eax
mov eax, dword [0x4ac718]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x456248
cmp dword [0x4ac71c], ecx
je 0x456248
push eax
call fcn.0044aa03
push dword [0x4ac71c]
mov esi, eax
call fcn.0044aa03
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x456248
cmp edi, ebx
je 0x456248
call esi
cmp eax, ebx
je 0x456215
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x456215
test byte [ebp - 0x18], 1
jne 0x456248
lea eax, [ebp - 0x10]
push eax
call fcn.00447020
test eax, eax
pop ecx
je 0x456230
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00445c83
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x45623f
or dword [ebp + 0x10], 0x200000
jmp 0x456283
or dword [ebp + 0x10], 0x40000
jmp 0x456283
mov eax, dword [0x4ac710]
cmp eax, dword [ebp - 8]
je 0x456283
push eax
call fcn.0044aa03
cmp eax, ebx
pop ecx
je 0x456283
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x456283
mov eax, dword [0x4ac714]
cmp eax, dword [ebp - 8]
je 0x456283
push eax
call fcn.0044aa03
cmp eax, ebx
pop ecx
je 0x456283
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4ac70c]
call fcn.0044aa03
cmp eax, ebx
pop ecx
je 0x4562a3
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4562a5
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4620f0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0x67452301
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], 0xefcdab89
mov edx, dword [ebp + 8]
mov dword [edx + 8], 0x98badcfe
mov eax, dword [ebp + 8]
mov dword [eax + 0xc], 0x10325476
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp + 8]
mov dword [edx + 0x14], 0
mov eax, dword [ebp + 8]
mov dword [eax + 0x58], 0
mov eax, 1
pop ebp
ret

Function at 0x464c70
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0x10], ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov dword [ebp - 4], eax
push 0x103
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
mov eax, dword [ebp - 0x10]
add eax, 0x84
push eax
call fcn.00411ee0
add esp, 0xc
mov ecx, dword [ebp - 0x10]
add ecx, 0x84
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
add edx, 2
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x14]
mov cx, word [eax]
mov word [ebp - 0x1a], cx
add dword [ebp - 0x14], 2
cmp word [ebp - 0x1a], 0
jne 0x464cb4
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp - 0x18]
sar edx, 1
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x20]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], 0
jmp 0x464cec
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
cmp edx, dword [ebp - 8]
jge 0x464d1b
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
mov dx, word [ecx + eax*2 + 0x84]
push edx
call fcn.0044a6c3
add esp, 4
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
mov word [edx + ecx*2 + 0x28c], ax
jmp 0x464ce3
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
mov word [ecx + eax*2 + 0x28c], 0
mov ecx, dword [ebp + 8]
call fcn.00402700
mov esp, ebp
pop ebp
ret 4

Function at 0x465190
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push 0
push 0x1a
push 0x104
mov ecx, dword [ebp - 4]
add ecx, 0x2c
call fcn.0046d020
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
cmp eax, 1
je 0x4651da
mov ecx, dword [ebp - 4]
add ecx, 0x2c
call fcn.00425f60
push 0x4926f0
mov ecx, dword [ebp + 8]
call fcn.00402710
mov ecx, eax
call fcn.00403130
jmp 0x4651ed
mov ecx, dword [ebp - 4]
add ecx, 0x2c
call fcn.0046d3f0
mov ecx, dword [ebp + 8]
call fcn.00402700
mov esp, ebp
pop ebp
ret 4
Function at 0x465200
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x248
mov eax, dword [0x4a7534]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x228], ecx
mov word [ebp - 0x210], 0
push 0x206
push 0
lea eax, [ebp - 0x20e]
push eax
call fcn.00449450
add esp, 0xc
lea ecx, [ebp - 0x210]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x465281
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x214], eax
mov edx, dword [ebp - 0x214]
push edx
push 0x492670
mov ecx, dword [ebp + 8]
call fcn.00402710
mov ecx, eax
call fcn.0046bee0
mov ecx, eax
call fcn.00403130
jmp 0x465388
lea eax, [ebp - 0x210]
mov dword [ebp - 0x22c], eax
mov ecx, dword [ebp - 0x22c]
add ecx, 2
mov dword [ebp - 0x230], ecx
mov edx, dword [ebp - 0x22c]
mov ax, word [edx]
mov word [ebp - 0x232], ax
add dword [ebp - 0x22c], 2
cmp word [ebp - 0x232], 0
jne 0x46529c
mov ecx, dword [ebp - 0x22c]
sub ecx, dword [ebp - 0x230]
sar ecx, 1
mov dword [ebp - 0x238], ecx
mov edx, dword [ebp - 0x238]
movzx eax, word [ebp + edx*2 - 0x212]
cmp eax, 0x5c
jne 0x465344
lea ecx, [ebp - 0x210]
mov dword [ebp - 0x23c], ecx
mov edx, dword [ebp - 0x23c]
add edx, 2
mov dword [ebp - 0x240], edx
mov eax, dword [ebp - 0x23c]
mov cx, word [eax]
mov word [ebp - 0x242], cx
add dword [ebp - 0x23c], 2
cmp word [ebp - 0x242], 0
jne 0x4652ff
mov edx, dword [ebp - 0x23c]
sub edx, dword [ebp - 0x240]
sar edx, 1
mov dword [ebp - 0x248], edx
mov eax, dword [ebp - 0x248]
mov word [ebp + eax*2 - 0x212], 0
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x210]
push ecx
lea ecx, [ebp - 0x224]
call fcn.0046d470
lea edx, [ebp - 0x224]
push edx
mov ecx, dword [ebp - 0x228]
add ecx, 0x1c
call fcn.0046d330
lea ecx, [ebp - 0x224]
call fcn.0046cf20
mov ecx, dword [ebp + 8]
call fcn.00402700
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00445c6a
mov esp, ebp
pop ebp
ret 4
Function at 0x466d60
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov byte [ebp - 5], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp + 8]
push ecx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x466da3
xor al, al
jmp 0x466e4f
mov edx, dword [ebp - 0x10]
push edx
call fcn.004462ab
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x466dcd
jmp 0x466e3a
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0x14]
push ecx
push 0x493298
mov edx, dword [ebp - 0xc]
push edx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x466deb
jmp 0x466e3a
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 8]
shr edx, 0x10
mov eax, dword [ebp + 0xc]
mov word [eax], dx
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 8]
and edx, 0xffff
mov eax, dword [ebp + 0xc]
mov word [eax + 2], dx
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0xc]
shr edx, 0x10
mov eax, dword [ebp + 0xc]
mov word [eax + 4], dx
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0xc]
and edx, 0xffff
mov eax, dword [ebp + 0xc]
mov word [eax + 6], dx
mov byte [ebp - 5], 1
cmp dword [ebp - 0xc], 0
je 0x466e4c
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.004461ce
add esp, 4
mov al, byte [ebp - 5]
mov esp, ebp
pop ebp
ret
Function at 0x4671b0
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x834
mov eax, dword [0x4a7534]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0
push 0x4b12a8
mov eax, dword [ebp + 8]
push eax
call fcn.00449a94
add esp, 8
test eax, eax
je 0x4671e6
xor eax, eax
jmp 0x4673e2
movzx ecx, word [0x4b12ae]
and ecx, 0x4000
je 0x4673d2
mov edx, dword [ebp + 8]
push edx
push str._s.
lea eax, [ebp - 0x808]
push eax
call fcn.00427610
add esp, 0xc
push 0x4b1058
lea ecx, [ebp - 0x808]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x80c], eax
cmp dword [ebp - 0x80c], 0xffffffff
je 0x4673c3
mov dword [ebp - 0x810], 0x49311c
mov dword [ebp - 0x814], 0x4b1084
mov edx, dword [ebp - 0x814]
mov ax, word [edx]
mov word [ebp - 0x816], ax
mov ecx, dword [ebp - 0x810]
cmp ax, word [ecx]
jne 0x4672b0
cmp word [ebp - 0x816], 0
je 0x4672a4
mov edx, dword [ebp - 0x814]
mov ax, word [edx + 2]
mov word [ebp - 0x818], ax
mov ecx, dword [ebp - 0x810]
cmp ax, word [ecx + 2]
jne 0x4672b0
add dword [ebp - 0x814], 4
add dword [ebp - 0x810], 4
cmp word [ebp - 0x818], 0
jne 0x46724a
mov dword [ebp - 0x81c], 0
jmp 0x4672bb
sbb edx, edx
sbb edx, 0xffffffff
mov dword [ebp - 0x81c], edx
mov eax, dword [ebp - 0x81c]
mov dword [ebp - 0x820], eax
cmp dword [ebp - 0x820], 0
je 0x46736e
mov dword [ebp - 0x824], 0x493120
mov dword [ebp - 0x828], 0x4b1084
mov ecx, dword [ebp - 0x828]
mov dx, word [ecx]
mov word [ebp - 0x82a], dx
mov eax, dword [ebp - 0x824]
cmp dx, word [eax]
jne 0x46734e
cmp word [ebp - 0x82a], 0
je 0x467342
mov ecx, dword [ebp - 0x828]
mov dx, word [ecx + 2]
mov word [ebp - 0x82c], dx
mov eax, dword [ebp - 0x824]
cmp dx, word [eax + 2]
jne 0x46734e
add dword [ebp - 0x828], 4
add dword [ebp - 0x824], 4
cmp word [ebp - 0x82c], 0
jne 0x4672e8
mov dword [ebp - 0x830], 0
jmp 0x467359
sbb ecx, ecx
sbb ecx, 0xffffffff
mov dword [ebp - 0x830], ecx
mov edx, dword [ebp - 0x830]
mov dword [ebp - 0x834], edx
cmp dword [ebp - 0x834], 0
jne 0x467370
jmp 0x46739c
push 0x4b1084
mov eax, dword [ebp + 8]
push eax
push str._s_s
lea ecx, [ebp - 0x808]
push ecx
call fcn.00427610
add esp, 0x10
lea edx, [ebp - 0x808]
push edx
call fcn.004671b0
add esp, 4
push 0x4b1058
mov eax, dword [ebp - 0x80c]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x467236
mov ecx, dword [ebp - 0x80c]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov dword [ebp - 4], eax
jmp 0x4673df
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00445c6a
mov esp, ebp
pop ebp
ret
Function at 0x4673f0
Capabilities:
Delete file
Enumerate files on windows
Enumerate files recursively
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x834
mov eax, dword [0x4a7534]
xor eax, ebp
mov dword [ebp - 8], eax
push 0x4b1528
mov eax, dword [ebp + 8]
push eax
call fcn.00449a94
add esp, 8
test eax, eax
je 0x46741f
xor eax, eax
jmp 0x46762e
movzx ecx, word [0x4b152e]
and ecx, 0x4000
je 0x46761a
mov edx, dword [ebp + 8]
push edx
push 0x4930e4
lea eax, [ebp - 0x808]
push eax
call fcn.00427610
add esp, 0xc
push 0x4b12d8
lea ecx, [ebp - 0x808]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x80c], eax
cmp dword [ebp - 0x80c], 0xffffffff
je 0x46761a
mov dword [ebp - 0x810], 0x4930f4
mov dword [ebp - 0x814], 0x4b1304
mov edx, dword [ebp - 0x814]
mov ax, word [edx]
mov word [ebp - 0x816], ax
mov ecx, dword [ebp - 0x810]
cmp ax, word [ecx]
jne 0x4674e9
cmp word [ebp - 0x816], 0
je 0x4674dd
mov edx, dword [ebp - 0x814]
mov ax, word [edx + 2]
mov word [ebp - 0x818], ax
mov ecx, dword [ebp - 0x810]
cmp ax, word [ecx + 2]
jne 0x4674e9
add dword [ebp - 0x814], 4
add dword [ebp - 0x810], 4
cmp word [ebp - 0x818], 0
jne 0x467483
mov dword [ebp - 0x81c], 0
jmp 0x4674f4
sbb edx, edx
sbb edx, 0xffffffff
mov dword [ebp - 0x81c], edx
mov eax, dword [ebp - 0x81c]
mov dword [ebp - 0x820], eax
cmp dword [ebp - 0x820], 0
je 0x4675a7
mov dword [ebp - 0x824], 0x4930f8
mov dword [ebp - 0x828], 0x4b1304
mov ecx, dword [ebp - 0x828]
mov dx, word [ecx]
mov word [ebp - 0x82a], dx
mov eax, dword [ebp - 0x824]
cmp dx, word [eax]
jne 0x467587
cmp word [ebp - 0x82a], 0
je 0x46757b
mov ecx, dword [ebp - 0x828]
mov dx, word [ecx + 2]
mov word [ebp - 0x82c], dx
mov eax, dword [ebp - 0x824]
cmp dx, word [eax + 2]
jne 0x467587
add dword [ebp - 0x828], 4
add dword [ebp - 0x824], 4
cmp word [ebp - 0x82c], 0
jne 0x467521
mov dword [ebp - 0x830], 0
jmp 0x467592
sbb ecx, ecx
sbb ecx, 0xffffffff
mov dword [ebp - 0x830], ecx
mov edx, dword [ebp - 0x830]
mov dword [ebp - 0x834], edx
cmp dword [ebp - 0x834], 0
jne 0x4675a9
jmp 0x4675f3
push 0x4b1304
mov eax, dword [ebp + 8]
push eax
push 0x493100
lea ecx, [ebp - 0x808]
push ecx
call fcn.00427610
add esp, 0x10
mov edx, dword [0x4b12d8]
and edx, 0x10
je 0x4675e2
lea eax, [ebp - 0x808]
push eax
call fcn.004673f0
add esp, 4
jmp 0x4675f3
push 4
push 0
lea ecx, [ebp - 0x808]
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
push 0x4b12d8
mov edx, dword [ebp - 0x80c]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x46746f
mov eax, dword [ebp - 0x80c]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
push 4
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00445c6a
mov esp, ebp
pop ebp
ret