joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5d7c30
Capabilities:
Hash data with md5

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

Function at 0x5eee40
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x677098
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x73bb00]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x4c
call fcn.006326f1
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x5eef1a
mov dword [esi + 4], 0
mov dword [esi], vtable.CConfigManager.0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
lea ecx, [esi + 0x48]
mov byte [ebp - 4], 5
call fcn.0060eaa0
mov dword [esi + 8], 0
mov eax, esi
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov byte [esi + 0x14], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x601ff0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x677132
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x73bb00]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x50
call fcn.006326f1
mov ebx, eax
add esp, 4
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], 0
test ebx, ebx
je 0x60218c
mov dword [ebx + 4], 0
lea ecx, [ebx + 0x2c]
mov byte [ebp - 4], 1
mov dword [ebx], vtable.CConsole.0
call fcn.0060eaa0
lea edi, [ebx + 0x40]
mov byte [ebp - 4], 2
mov ecx, edi
mov dword [ebx + 0x38], method.CCommandProcessorFragment_OpenGL.virtual_24
mov dword [ebx + 0x3c], 0
mov dword [ebp - 0x18], edi
call fcn.0060eaa0
mov eax, dword [ebp + 0xc]
lea ecx, [ebx + 0x2c]
mov byte [ebp - 4], 3
mov dword [ebx + 8], eax
mov dword [ebx + 0x24], 0
mov dword [ebx + 0x28], 0
call fcn.0060eba0
mov byte [ebx + 0xc], 1
mov ecx, edi
mov dword [ebx + 0x10], 0x67cb60
mov dword [ebx + 0x14], 0x67c8dc
call fcn.0060eba0
push str.Echo_the_text
push ebx
push 0x601f60
push 4
mov dword [edi + 8], 0
mov ecx, ebx
mov dword [edi + 4], 0
push str.r_text_
push str.echo
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x34], 0
mov dword [ebx + 0x20], 0
call fcn.00603a80
push str.Execute_the_specified_file
push ebx
push 0x601fc0
push 6
push str.r_file_
push str.exec
mov ecx, ebx
call fcn.00603a80
push str.Specify_command_accessibility__admin__0__moderator__1__helper__2__all__3_
push ebx
push 0x601a10
push 4
push str.s_command___i_accesslevel_
push str.access_level
mov ecx, ebx
call fcn.00603a80
push str.List_all_commands_which_are_accessible_for_admin__0__moderator__1__helper__2__all__3
push ebx
push fcn.00601cc0
push 4
push str.i_accesslevel_
push str.access_status
mov ecx, ebx
call fcn.00603a80
push str.List_all_commands_which_are_accessible_for_users
push ebx
push 0x601e60
push 0x84
push 0x67a95c
push str.cmdlist
mov ecx, ebx
call fcn.00603a80
mov eax, dword [ebp + 8]
mov byte [ebx + 0x4c], 0
mov dword [eax], ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov dword [eax], 0
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 0x608900
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x677385
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x73bb00]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [esi], eax
cmp byte [ebx], 0
jne 0x608949
mov dword [esi + 0x208], 0xffffffff
jmp 0x608a14
push 0x200
lea edi, [esi + 4]
push str..pipe_
push edi
call fcn.00623c10
push 0x200
push ebx
push edi
call fcn.00623a30
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x204], eax
lea eax, [ebp - 0x40]
push edi
push eax
call fcn.00626220
add esp, 0x20
cmp dword [ebp - 0x2c], 7
lea eax, [ebp - 0x40]
push 0
cmova eax, dword [ebp - 0x40]
push 0
push 0x2000
push 0x2000
push 0xff
push 0xf
push 3
push eax
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov dword [esi + 0x208], eax
cmp eax, 0xffffffff
jne 0x6089f9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.00626020
cmp dword [ebp - 0x14], 0xf
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
cmova ecx, dword [ebp - 0x28]
push ecx
push esi
push edi
push str.failed_to_create_named_pipe__s___ld__s_
push str.fifo
call fcn.0061d2f0
add esp, 0x1c
lea ecx, [ebp - 0x28]
call fcn.004171c0
jmp 0x608a0c
push edi
push str.created_named_pipe__s
push str.fifo
call fcn.0061d2f0
add esp, 0xc
lea ecx, [ebp - 0x40]
call fcn.0042a0e0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0063292f
mov esp, ebp
pop ebp
ret 0xc
Function at 0x618990
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax + 0x28], 0
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0x6a09e667
mov dword [eax + 0xc], 0xbb67ae85
mov dword [eax + 0x10], 0x3c6ef372
mov dword [eax + 0x14], 0xa54ff53a
mov dword [eax + 0x18], 0x510e527f
mov dword [eax + 0x1c], 0x9b05688c
mov dword [eax + 0x20], 0x1f83d9ab
mov dword [eax + 0x24], 0x5be0cd19
pop ebp
ret
Function at 0x61bb00
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x677a6d
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x73bb00]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
push 8
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
call fcn.006326f1
mov edi, eax
add esp, 4
test edi, edi
je 0x61bbad
push 1
mov dword [ebp - 4], 0
call fcn.00630f39
add esp, 4
mov dword [edi + 4], eax
jmp 0x61bbaf
xor edi, edi
mov ecx, esi
mov dword [esi + 0x34], edi
call fcn.0042caf0
mov ebx, dword [ebp + 0xc]
mov ecx, ebx
not ecx
mov dword [esi], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
and ecx, 1
mov dword [ebp - 4], 1
shl ecx, 2
mov edx, ecx
or edx, 2
test bl, 2
cmovne edx, ecx
mov ecx, edx
or ecx, 8
test bl, 8
cmove ecx, edx
mov eax, ecx
or eax, 0x10
test bl, 4
cmove eax, ecx
mov ecx, dword [ebp + 8]
mov dword [ebp + 0xc], eax
cmp dword [ecx + 0x14], 0xf
mov ebx, dword [ecx + 0x10]
jbe 0x61bc08
mov ecx, dword [ecx]
mov dword [ebp + 8], ecx
cmp ebx, 0x7fffffff
ja 0x61bcce
test ebx, ebx
je 0x61bcae
and eax, 6
cmp al, 6
je 0x61bcab
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], ebx
push eax
lea eax, [esi + 0x40]
push eax
call fcn.0042b580
push ebx
push dword [ebp + 8]
mov edi, eax
push edi
call fcn.006341e0
mov eax, dword [ebp + 0xc]
lea ecx, [ebx + edi]
mov dword [esi + 0x38], ecx
add esp, 0x14
mov ecx, eax
and ecx, 4
mov dword [ebp + 8], ecx
jne 0x61bc6b
mov eax, dword [esi + 0xc]
mov dword [eax], edi
mov eax, dword [esi + 0x1c]
mov dword [eax], edi
mov eax, dword [esi + 0x2c]
mov dword [eax], ebx
mov eax, dword [ebp + 0xc]
test al, 2
jne 0x61bca6
mov edx, dword [esi + 0x38]
test al, 0x18
mov eax, dword [esi + 0x10]
mov ecx, edi
cmovne ecx, edx
sub edx, ecx
cmp dword [ebp + 8], 0
mov dword [eax], edi
mov eax, dword [esi + 0x20]
mov dword [eax], ecx
mov eax, dword [esi + 0x30]
mov dword [eax], edx
je 0x61bca3
mov eax, dword [esi + 0xc]
mov dword [eax], edi
mov eax, dword [esi + 0x1c]
mov dword [eax], edi
mov eax, dword [esi + 0x2c]
mov dword [eax], 0
mov eax, dword [ebp + 0xc]
or eax, 1
jmp 0x61bcb5
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
call fcn.006309c2
int3

Function at 0x61bf20
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov edx, 0x811c9dc5
push edi
mov edi, 0x18
xor ecx, ecx
movzx eax, byte [esi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x61bf34
pop edi
mov eax, edx
pop esi
pop ebp
ret 4
Function at 0x61cfb0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov esi, eax
test esi, esi
mov dword [ebp - 8], esi
push str.CommandLineToArgvW_failure
setne cl
movzx ecx, cl
push ecx
push 0xfe4
push str.D:_acactuscactus_src_base_system.cpp
call fcn.0061d170
cmp dword [ebp - 4], 0
push str.Invalid_argc_value
setg al
movzx eax, al
push eax
push 0xfe5
push str.D:_acactuscactus_src_base_system.cpp
call fcn.0061d170
mov eax, dword [ebp - 4]
add esp, 0x20
xor ebx, ebx
xor edi, edi
test eax, eax
jle 0x61d069
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push dword [esi + edi*4]
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov esi, eax
test esi, esi
push str.WideCharToMultiByte_failure
setne cl
movzx ecx, cl
push ecx
push 0xfec
push str.D:_acactuscactus_src_base_system.cpp
call fcn.0061d170
mov eax, dword [ebp - 4]
add ebx, esi
mov esi, dword [ebp - 8]
inc edi
add esp, 0x10
cmp edi, eax
jl 0x61d020
lea eax, [eax*4 + 4]
push eax
call fcn.00643185
push ebx
mov dword [ebp - 0xc], eax
call fcn.00643185
mov edi, eax
mov eax, dword [ebp - 0xc]
push ebx
push 0
push edi
mov dword [eax], edi
call fcn.00634760
add esp, 0x14
mov dword [ebp - 0x14], 0
cmp dword [ebp - 4], 0
jle 0x61d108
mov ecx, dword [ebp - 0xc]
mov edx, esi
sub edx, ecx
mov dword [ebp - 0x10], ecx
mov eax, ecx
mov dword [ebp - 0x18], edx
nop
push 0
push 0
push ebx
push edi
push 0xffffffffffffffff
push dword [eax + edx]
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov esi, eax
test esi, esi
push str.WideCharToMultiByte_failure
setne cl
movzx ecx, cl
push ecx
push 0xff8
push str.D:_acactuscactus_src_base_system.cpp
call fcn.0061d170
mov eax, dword [ebp - 0x10]
add edi, esi
mov ecx, dword [ebp - 0x14]
add eax, 4
mov edx, dword [ebp - 0x18]
inc ecx
add esp, 0x10
mov dword [ebp - 0x10], eax
sub ebx, esi
mov dword [ebp - 0x14], ecx
mov dword [eax], edi
cmp ecx, dword [ebp - 4]
jl 0x61d0b0
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp + 8]
pop edi
pop esi
mov dword [edx + eax*4], 0
mov eax, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp + 0xc]
pop ebx
mov dword [eax], edx
mov esp, ebp
pop ebp
ret
Function at 0x61e610
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x677bcd
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x73bb00]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x1c]
mov eax, dword [eax + 0x30]
mov esi, dword [eax + 4]
mov ecx, esi
mov dword [ebp - 0x10], esi
mov eax, dword [esi]
call dword [eax + 4]
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 0
push eax
call fcn.0042b5d0
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov edi, eax
test esi, esi
je 0x61e67d
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 8]
test eax, eax
je 0x61e67d
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
push edi
lea eax, [ebp - 0x10]
mov dword [ebp + 0x1c], 0
push eax
lea eax, [ebp + 0x1c]
push eax
push 0x270f
push 0
lea eax, [ebp + 0x14]
push eax
lea eax, [ebp + 0xc]
push eax
call fcn.0061a960
mov ecx, dword [ebp + 0x20]
add esp, 0x1c
or dword [ecx], eax
test al, 2
jne 0x61e6d3
cmp dword [ebp - 0x10], 2
mov ecx, dword [ebp + 0x1c]
jg 0x61e6c7
cmp ecx, 0x45
jge 0x61e6c0
add ecx, 0x64
jmp 0x61e6cd
cmp ecx, 0x64
jge 0x61e6d3
jmp 0x61e6cd
add ecx, 0xfffff894
mov eax, dword [ebp + 0x24]
mov dword [eax + 0x14], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x20
Function at 0x61e990
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x677c7d
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x73bb00]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov esi, eax
lea ecx, [ebp - 0x28]
push 0x30
push esi
call fcn.0061b7a0
cmp dword [ebp - 0x14], 7
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
cmova ecx, dword [ebp - 0x28]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
jne 0x61ea62
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
lea eax, [ebp - 0x40]
push esi
push eax
call fcn.00626020
cmp dword [ebp - 0x2c], 0xf
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
cmova ecx, dword [ebp - 0x40]
push ecx
push esi
push str.GetCurrentDirectoryW_failed:__ld__s
push str.filesystem
call fcn.0061d2f0
mov ecx, dword [ebp - 0x2c]
add esp, 0x18
mov byte [ebx], 0
cmp ecx, 0xf
jbe 0x61ea5e
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x61ea54
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x61eb02
push ecx
push edx
call fcn.00632721
add esp, 8
xor ebx, ebx
jmp 0x61eaaf
cmp dword [ebp - 0x14], 7
lea eax, [ebp - 0x28]
cmova eax, dword [ebp - 0x28]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.00626360
add esp, 8
cmp byte [ebp - 0x44], 0
mov byte [ebx], 0
jne 0x61ea87
xor ebx, ebx
jmp 0x61eaa7
cmp dword [ebp - 0x48], 0xf
lea ecx, [ebp - 0x5c]
mov eax, dword [ebp + 0xc]
cmova ecx, dword [ebp - 0x5c]
dec eax
push eax
push ecx
push ebx
call fcn.0064e140
push ebx
call fcn.006254c0
add esp, 0x10
lea ecx, [ebp - 0x5c]
call fcn.004524b0
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x61eae5
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x61eadb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x61eb07
push ecx
push edx
call fcn.00632721
add esp, 8
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0063292f
mov esp, ebp
pop ebp
ret
call fcn.0063f01f
call fcn.0063f01f
int3
Function at 0x61eb10
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x73bb00]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00626220
add esp, 8
lea eax, [ebp - 0x1c]
cmp dword [ebp - 8], 7
cmova eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x61eb53
test al, 0x10
je 0x61eb53
mov esi, 1
jmp 0x61eb55
xor esi, esi
mov ecx, dword [ebp - 8]
cmp ecx, 7
jbe 0x61eb8b
mov edx, dword [ebp - 0x1c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x61eb81
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x61eb9c
push ecx
push edx
call fcn.00632721
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0063292f
mov esp, ebp
pop ebp
ret
call fcn.0063f01f
int3

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x73bb00]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00626220
add esp, 8
lea eax, [ebp - 0x1c]
cmp dword [ebp - 8], 7
cmova eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x61ebf3
test al, 0x10
jne 0x61ebf3
mov esi, 1
jmp 0x61ebf5
xor esi, esi
mov ecx, dword [ebp - 8]
cmp ecx, 7
jbe 0x61ec2b
mov edx, dword [ebp - 0x1c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x61ec21
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x61ec3c
push ecx
push edx
call fcn.00632721
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0063292f
mov esp, ebp
pop ebp
ret
call fcn.0063f01f
int3
Function at 0x61ece0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x677ccb
mov eax, dword fs:[0]
push eax
sub esp, 0x490
mov eax, dword [0x73bb00]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
push edi
mov dword [ebp - 0x480], eax
mov eax, dword [ebp + 0x14]
push str._s_
mov dword [ebp - 0x47c], eax
lea eax, [ebp - 0x210]
push 0x200
push eax
call fcn.00623dd0
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x228]
push eax
call fcn.00626220
add esp, 0x18
cmp dword [ebp - 0x214], 7
lea ecx, [ebp - 0x478]
lea eax, [ebp - 0x228]
mov dword [ebp - 4], 0
cmova eax, dword [ebp - 0x228]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x61eea3
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileW]
nop word [eax + eax]
lea eax, [ebp - 0x44c]
push eax
lea eax, [ebp - 0x49c]
push eax
call fcn.00626360
add esp, 8
cmp byte [ebp - 0x484], 0
mov byte [ebp - 4], 1
jne 0x61edca
push edi
push str.ERROR:_file_folder_name_containing_invalid_UTF_16_found_in_folder__s
push str.filesystem
push 0
call fcn.00619ff0
add esp, 0x10
jmp 0x61ee02
cmp dword [ebp - 0x488], 0xf
lea ecx, [ebp - 0x49c]
push dword [ebp - 0x47c]
cmova ecx, dword [ebp - 0x49c]
mov eax, dword [ebp - 0x478]
push dword [ebp + 0x10]
shr eax, 4
and eax, 1
push eax
push ecx
call dword [ebp - 0x480]
add esp, 0x10
test eax, eax
jne 0x61ee5d
cmp byte [ebp - 0x484], 0
mov byte [ebp - 4], 0
je 0x61ee49
mov ecx, dword [ebp - 0x488]
cmp ecx, 0xf
jbe 0x61ee49
mov edx, dword [ebp - 0x49c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x61ee3f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x61eefb
push ecx
push edx
call fcn.00632721
add esp, 8
lea eax, [ebp - 0x478]
push eax
push esi
call ebx
test eax, eax
jne 0x61ed90
jmp 0x61ee9c
cmp byte [ebp - 0x484], 0
je 0x61ee9c
mov ecx, dword [ebp - 0x488]
cmp ecx, 0xf
jbe 0x61ee9c
mov edx, dword [ebp - 0x49c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x61ee92
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x61eefb
push ecx
push edx
call fcn.00632721
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 0x214]
cmp ecx, 7
jbe 0x61eedf
mov edx, dword [ebp - 0x228]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x61eed5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x61ef00
push ecx
push edx
call fcn.00632721
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0063292f
mov esp, ebp
pop ebp
ret
call fcn.0063f01f
call fcn.0063f01f
int3
Function at 0x61f2b0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x73bb00]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00626220
add esp, 8
lea eax, [ebp - 0x1c]
cmp dword [ebp - 8], 7
cmova eax, dword [ebp - 0x1c]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x61f2fb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x61f2fb
or esi, 0xffffffff
jmp 0x61f2fd
xor esi, esi
mov ecx, dword [ebp - 8]
cmp ecx, 7
jbe 0x61f333
mov edx, dword [ebp - 0x1c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x61f329
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x61f344
push ecx
push edx
call fcn.00632721
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0063292f
mov esp, ebp
pop ebp
ret
call fcn.0063f01f
int3

Function at 0x61f350
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x73bb00]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push 0x1ff
push eax
lea eax, [ebp - 0x204]
mov byte [ebp - 0x204], 0
push eax
call fcn.0064e140
lea eax, [ebp - 0x204]
add esp, 0xc
lea edx, [eax + 1]
nop dword [eax + eax]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x61f390
push ebx
sub eax, edx
push esi
push edi
test eax, eax
jle 0x61f3d4
dec eax
lea esi, [ebp - 0x204]
add esi, eax
mov cl, byte [esi]
and cl, 0xc0
cmp cl, 0x80
jne 0x61f3b7
test eax, eax
jne 0x61f3a0
lea eax, [ebp - 0x220]
mov dword [ebp - 0x220], esi
push eax
call fcn.006250e0
add esp, 4
cmp eax, 0xffffffff
jne 0x61f3d4
mov byte [esi], 0
cmp byte [ebp - 0x203], 0
mov esi, 1
je 0x61f487
mov ebx, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov al, byte [ebp + esi - 0x204]
cmp al, 0x2f
je 0x61f401
cmp al, 0x5c
jne 0x61f478
cmp byte [ebp + esi - 0x203], 0
je 0x61f478
cmp byte [ebp + esi - 0x205], 0x3a
je 0x61f478
cmp esi, 0x200
jae 0x61f4b9
lea eax, [ebp - 0x204]
mov byte [ebp + esi - 0x204], 0
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.00626220
add esp, 8
lea eax, [ebp - 0x21c]
cmp dword [ebp - 0x208], 7
cmova eax, dword [ebp - 0x21c]
push 0
push eax
call ebx
test eax, eax
jne 0x61f465
call edi
cmp eax, 0xb7
jne 0x61f49a
lea ecx, [ebp - 0x21c]
call fcn.0042a0e0
mov byte [ebp + esi - 0x204], 0x2f
inc esi
cmp byte [ebp + esi - 0x204], 0
jne 0x61f3f2
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0063292f
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x21c]
call fcn.0042a0e0
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0063292f
mov esp, ebp
pop ebp
ret
call fcn.00632852
int3