joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5bcfdc
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
mov byte [ebp - 1], 0
mov edx, 0x6b682c
mov dword [ebp - 0x1c], edx
lea edx, [ebp - 8]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
push eax
push 0x20
push 2
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_AllocateAndInitializeSid
test eax, eax
je 0x5bd1ae
xor eax, eax
push ebp
push 0x5bd1a7
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x5bd1b8
push 0x5bd1e4
call sub.kernel32.dll_GetModuleHandleW
push eax
call fcn.00415434
mov ebx, eax
test ebx, ebx
je 0x5bd062
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
call ebx
test eax, eax
je 0x5bd18e
cmp dword [ebp - 0xc], 1
sbb eax, eax
inc eax
mov byte [ebp - 1], al
jmp 0x5bd18e
xor eax, eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x10]
push eax
push 0xffffffffffffffff
push 8
call sub.kernel32.dll_GetCurrentThread
push eax
call sub.advapi32.dll_OpenThreadToken
test eax, eax
jne 0x5bd0b3
call sub.kernel32.dll_GetLastError
cmp eax, 0x3f0
je 0x5bd094
call fcn.0040a058
jmp 0x5bd1ae
lea eax, [ebp - 0x10]
push eax
push 8
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
test eax, eax
jne 0x5bd0b3
call fcn.0040a058
jmp 0x5bd1ae
xor eax, eax
push ebp
push 0x5bd187
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push 2
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_GetTokenInformation
test eax, eax
jne 0x5bd0f6
call sub.kernel32.dll_GetLastError
cmp eax, 0x7a
je 0x5bd0f6
call fcn.0040a058
call fcn.0040a058
jmp 0x5bd1ae
mov eax, dword [ebp - 0x14]
call fcn.0040704c
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
push eax
push 2
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_GetTokenInformation
test eax, eax
jne 0x5bd12b
call fcn.0040a058
call fcn.0040a058
jmp 0x5bd1ae
mov eax, dword [ebp - 0x18]
mov esi, dword [eax]
dec esi
test esi, esi
jl 0x5bd166
inc esi
xor ebx, ebx
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + ebx*8 + 4]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_EqualSid
test eax, eax
je 0x5bd162
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + ebx*8 + 8]
and eax, 0x14
cmp eax, 4
jne 0x5bd162
mov byte [ebp - 1], 1
jmp 0x5bd166
inc ebx
dec esi
jne 0x5bd138
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5bd18e
mov eax, dword [ebp - 0x18]
call fcn.00407068
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_CloseHandle
pop eax
jmp eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5bd1ae
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_FreeSid
pop eax
jmp eax
movzx eax, byte [ebp - 1]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5bd824
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd98
push ebx
xor edx, edx
mov dword [ebp - 0x264], edx
mov dword [ebp - 0x268], edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x5bd9f8
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
je 0x5bd875
mov ecx, 1
mov edx, dword [ebp - 8]
mov eax, 0x5bda14
call fcn.0040be04
test eax, eax
sete al
jmp 0x5bd877
xor eax, eax
test al, al
je 0x5bd9bc
mov eax, dword [ebp - 8]
call fcn.005bbaf4
test al, al
je 0x5bd9bc
lea eax, [ebp - 0x25c]
push eax
lea edx, [ebp - 0x260]
mov eax, dword [ebp - 8]
call fcn.005b9cdc
lea eax, [ebp - 0x260]
mov edx, 0x5bda24
call fcn.0040ba80
mov eax, dword [ebp - 0x260]
call fcn.0040b88c
push eax
call sub.kernel32.dll_FindFirstFileW
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x5bd9bc
xor eax, eax
push ebp
push 0x5bd9b5
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x5bda28
lea eax, [ebp - 0x230]
call fcn.00425840
test eax, eax
je 0x5bd984
mov edx, 0x5bda2c
lea eax, [ebp - 0x230]
call fcn.00425840
test eax, eax
je 0x5bd984
lea edx, [ebp - 0x264]
mov eax, dword [ebp - 8]
call fcn.005b9cdc
mov eax, dword [ebp - 0x264]
push eax
lea eax, [ebp - 0x268]
lea edx, [ebp - 0x230]
mov ecx, 0x104
call fcn.0040b928
mov ecx, dword [ebp - 0x268]
lea eax, [ebp - 4]
pop edx
call fcn.0040bad8
mov ebx, dword [ebp - 0x25c]
test bl, 1
je 0x5bd963
and ebx, 0xfffffffe
push ebx
mov eax, dword [ebp - 4]
call fcn.0040b88c
push eax
call sub.kernel32.dll_SetFileAttributesW
test byte [ebp - 0x25c], 0x10
jne 0x5bd97c
mov eax, dword [ebp - 4]
call fcn.0040b88c
push eax
call sub.kernel32.dll_DeleteFileW
jmp 0x5bd984
mov eax, dword [ebp - 4]
call fcn.005bd824
lea eax, [ebp - 0x25c]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_FindNextFileW
test eax, eax
jne 0x5bd8e0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5bd9bc
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_FindClose
pop eax
jmp eax
mov eax, dword [ebp - 8]
call fcn.0040b88c
push eax
call sub.kernel32.dll_RemoveDirectoryW
cmp eax, 1
sbb ebx, ebx
inc ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5bd9ff
lea eax, [ebp - 0x268]
mov edx, 3
call fcn.0040a8cc
lea eax, [ebp - 4]
call fcn.0040a86c
pop eax
jmp eax
Function at 0x5bdfd8
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
test dl, dl
je 0x5bdfeb
add esp, 0xfffffff0
call fcn.004090d4
mov byte [ebp - 1], dl
mov ebx, eax
test ecx, ecx
jne 0x5be00a
mov ecx, 0x5be130
mov dl, 1
mov eax, dword [0x41d190]
call fcn.0042b510
call fcn.00409f64
mov dword [ebx + 0x1c], ecx
mov byte [ebx + 0x28], 1
mov eax, dword [ebp + 8]
mov dword [ebx + 0x20], eax
mov dword [ebp - 0x18], 0xc
mov dword [ebp - 0x10], 0xffffffff
xor eax, eax
mov dword [ebp - 0x14], eax
push 0
push 0
push 3
lea eax, [ebp - 0x18]
push eax
push 3
push 0x80000000
push 0x5be15c
call sub.kernel32.dll_CreateFileW
cmp eax, 0xffffffff
jne 0x5be069
push 0
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0
lea ecx, [ebp - 0x20]
mov edx, 0x5be178
mov eax, ebx
call fcn.005be290
jmp 0x5be06c
mov dword [ebx + 0x10], eax
push 0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
call sub.kernel32.dll_CreatePipe
test eax, eax
jne 0x5be0a2
push 0
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0
lea ecx, [ebp - 0x20]
mov edx, 0x5be1b4
mov eax, ebx
call fcn.005be290
jmp 0x5be0dc
mov eax, dword [ebp - 8]
mov dword [ebx + 0x14], eax
mov eax, dword [ebp - 0xc]
mov dword [ebx + 0x18], eax
push 0
push 1
mov eax, dword [ebx + 0x14]
push eax
call sub.kernel32.dll_SetHandleInformation
test eax, eax
jne 0x5be0dc
push 0
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0
lea ecx, [ebp - 0x20]
mov edx, 0x5be1f0
mov eax, ebx
call fcn.005be290
cmp dword [ebx + 0x10], 0
je 0x5be0ee
cmp dword [ebx + 0x14], 0
je 0x5be0ee
cmp dword [ebx + 0x18], 0
jne 0x5be0f2
xor eax, eax
jmp 0x5be0f4
mov al, 1
mov byte [ebx + 4], al
mov byte [ebx + 5], al
mov dword [ebx + 8], 0xa00000
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x5be118
call fcn.0040912c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x5bf56c
Capabilities:
Hash data using sha1

Disassembly:
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
xor edx, edx
mov dword [eax + 0x14], edx
xor edx, edx
mov dword [eax + 0x18], edx
ret
Function at 0x5c2b80
Capabilities:
Hash data with crc32

Disassembly:
push esi
xor esi, esi
mov ecx, 0x6becd4
mov eax, esi
mov edx, 8
test al, 1
je 0x5c2b9c
shr eax, 1
xor eax, 0xedb88320
jmp 0x5c2b9e
shr eax, 1
dec edx
jne 0x5c2b8f
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x5c2b88
pop esi
ret

Function at 0x5c2bb4
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ecx
mov esi, ecx
mov edi, edx
mov ebx, eax
cmp dword [0x6becd0], 0
jne 0x5c2bde
call fcn.005c2b80
mov dword [esp], 0x6becd0
mov edx, dword [esp]
mov eax, 1
lock xchg dword [edx], eax
mov eax, edi
test esi, esi
je 0x5c2c08
mov edx, 0xff
and edx, ebx
movzx ecx, byte [eax]
xor dx, cx
movzx edx, dx
mov edx, dword [edx*4 + 0x6becd4]
shr ebx, 8
xor edx, ebx
mov ebx, edx
dec esi
inc eax
test esi, esi
jne 0x5c2be4
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x5d16c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
lea edi, [ebp - 0xd]
mov bl, 1
mov eax, dword [ebp + 8]
mov esi, dword [eax - 0x18]
dec esi
test esi, esi
jl 0x5d1870
inc esi
mov eax, dword [ebp + 8]
push eax
mov eax, edi
mov edx, 5
call fcn.005d02f8
pop ecx
test al, al
jne 0x5d1707
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov dl, 0xd
call fcn.005d19a4
xor ebx, ebx
jmp 0x5d1870
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x20]
cmp eax, dword [edi]
ja 0x5d1725
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov dl, 2
call fcn.005d19a4
xor ebx, ebx
jmp 0x5d1870
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov eax, dword [eax + 0x34]
mov eax, dword [eax + 4]
mov edx, dword [edi]
mov edx, dword [eax + edx*4]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov eax, dword [eax + 0x3c]
call fcn.005e8d68
test eax, eax
jne 0x5d175c
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov dl, 2
call fcn.005d19a4
xor ebx, ebx
jmp 0x5d1870
test byte [edi + 4], 1
je 0x5d1869
mov eax, dword [ebp + 8]
push eax
lea eax, [ebp - 4]
mov edx, 4
call fcn.005d02f8
pop ecx
test al, al
jne 0x5d1790
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov dl, 0xd
call fcn.005d19a4
xor ebx, ebx
jmp 0x5d1870
mov edx, dword [0x5cd668]
mov eax, 0xc
call fcn.0040d654
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x5d183b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
xor ecx, ecx
mov edx, dword [ebp - 4]
call fcn.0040b410
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 8]
call fcn.0040ae34
mov edx, dword [ebp - 4]
call fcn.005d02f8
pop ecx
test al, al
jne 0x5d17fe
mov edx, dword [0x5cd668]
mov eax, dword [ebp - 8]
call fcn.0040d668
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov dl, 0xd
call fcn.005d19a4
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5d1870
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.005c8be0
mov edx, dword [ebp - 8]
mov dword [edx + 4], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov eax, dword [eax + 0x3c]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 8]
mov dword [edx + 8], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov eax, dword [eax + 0x30]
mov edx, dword [ebp - 8]
call fcn.005c8ff4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5d1869
dec esi
jne 0x5d16de
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5dc740
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov ebx, edx
mov edi, eax
xor eax, eax
push ebp
push 0x5dc7bf
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 4]
mov eax, ebx
call fcn.005c9268
mov eax, dword [ebp - 4]
call fcn.005c8be0
mov dword [ebp - 8], eax
mov eax, dword [edi + 0x30]
mov ebx, dword [eax + 0xc]
dec ebx
cmp ebx, 0
jl 0x5dc7a4
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 4]
mov esi, dword [eax + ebx*4]
mov eax, dword [esi + 4]
cmp eax, dword [ebp - 8]
jne 0x5dc79e
mov eax, dword [esi]
mov edx, dword [ebp - 4]
call fcn.0040b264
je 0x5dc7a7
dec ebx
cmp ebx, 0xffffffff
jne 0x5dc781
or ebx, 0xffffffff
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5dc7c6
lea eax, [ebp - 4]
call fcn.0040a890
pop eax
jmp eax
Function at 0x5eee34
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf8
push ebx
mov ebx, eax
push 0x104
lea eax, [ebp - 0x208]
push eax
call sub.kernel32.dll_GetSystemDirectoryW
mov edx, ebx
lea eax, [ebp - 0x208]
call fcn.00425a14
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x5f2084
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf8
push ebx
mov ebx, eax
push 0x104
lea eax, [ebp - 0x208]
push eax
call sub.kernel32.dll_GetSystemDirectoryW
mov edx, ebx
lea eax, [ebp - 0x208]
call fcn.00425a14
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x5f6f8c
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda4
push ebx
xor edx, edx
mov dword [ebp - 0x25c], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x5f7062
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
lea eax, [ebp - 0x258]
push eax
lea edx, [ebp - 0x25c]
mov eax, ebx
call fcn.005b9cdc
lea eax, [ebp - 0x25c]
mov edx, 0x5f7080
call fcn.0040ba80
mov eax, dword [ebp - 0x25c]
call fcn.0040b88c
push eax
call sub.kernel32.dll_FindFirstFileW
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x5f7047
xor eax, eax
push ebp
push 0x5f7040
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x258]
call fcn.005f6f3c
test al, al
je 0x5f7013
mov byte [ebp - 1], 1
jmp 0x5f7027
lea eax, [ebp - 0x258]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FindNextFileW
test eax, eax
jne 0x5f6ffe
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5f7047
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FindClose
pop eax
jmp eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5f7069
lea eax, [ebp - 0x25c]
call fcn.0040a86c
pop eax
jmp eax

Function at 0x5f7084
Capabilities:
Get file system object information

Disassembly:
push ebx
push esi
add esp, 0xfffffd4c
mov ebx, edx
mov esi, eax
push 0x200
push 0x2b4
lea eax, [esp + 8]
push eax
push 0
mov eax, esi
call fcn.0040b88c
push eax
call sub.shell32.dll_SHGetFileInfoW
test eax, eax
je 0x5f70c4
mov eax, ebx
lea edx, [esp + 0xc]
mov ecx, 0x104
call fcn.0040b928
jmp 0x5f70cb
mov eax, ebx
call fcn.0040a86c
add esp, 0x2b4
pop esi
pop ebx
ret

Function at 0x5f70d4
Capabilities:
Get file system object information

Disassembly:
push ebx
push esi
add esp, 0xfffffd4c
mov ebx, edx
mov esi, eax
movzx eax, bl
mov eax, dword [eax*4 + 0x6b6a9c]
or eax, 0x4001
push eax
push 0x2b4
lea eax, [esp + 8]
push eax
push 0
mov eax, esi
call fcn.0040b88c
push eax
call sub.shell32.dll_SHGetFileInfoW
test eax, eax
je 0x5f7113
mov eax, dword [esp + 4]
jmp 0x5f7115
xor eax, eax
add esp, 0x2b4
pop esi
pop ebx
ret

Function at 0x5f7120
Capabilities:
Get file system object information

Disassembly:
push ebx
add esp, 0xfffffd4c
mov ebx, eax
movzx eax, bl
mov eax, dword [eax*4 + 0x6b6aa4]
or eax, 0x4011
push eax
push 0x2b4
lea eax, [esp + 8]
push eax
push 0x10
push 0x5f7164
call sub.shell32.dll_SHGetFileInfoW
test eax, eax
je 0x5f7159
mov eax, dword [esp + 4]
jmp 0x5f715b
xor eax, eax
add esp, 0x2b4
pop ebx
ret
Function at 0x5f7143
Capabilities:
Get file system object information

Disassembly:
push ebx
add esp, 0xfffffd4c
mov ebx, eax
movzx eax, bl
mov eax, dword [eax*4 + 0x6b6aa4]
or eax, 0x4011
push eax
push 0x2b4
lea eax, [esp + 8]
push eax
push 0x10
push 0x5f7164
call sub.shell32.dll_SHGetFileInfoW
test eax, eax
je 0x5f7159
mov eax, dword [esp + 4]
jmp 0x5f715b
xor eax, eax
add esp, 0x2b4
pop ebx
ret

Function at 0x5f8518
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd90
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x26c], ecx
mov dword [ebp - 0x270], ecx
mov dword [ebp - 0x268], ecx
mov dword [ebp - 0x264], ecx
mov dword [ebp - 4], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x5f86ea
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x5f86bb
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, ebx
test eax, eax
je 0x5f8575
sub eax, 4
mov eax, dword [eax]
cmp eax, 3
jne 0x5f85b3
mov eax, ebx
call fcn.005f73c0
test al, al
jne 0x5f8593
mov byte [ebp - 5], 0
call fcn.0040a058
jmp 0x5f86c2
lea edx, [ebp - 0x264]
mov eax, ebx
call fcn.005f7084
mov ecx, dword [ebp - 0x264]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, esi
call fcn.005f8948
mov byte [ebp - 5], 1
lea eax, [ebp - 0x260]
push eax
lea edx, [ebp - 0x268]
mov eax, ebx
call fcn.005b9cdc
lea eax, [ebp - 0x268]
mov edx, 0x5f8708
call fcn.0040ba80
mov eax, dword [ebp - 0x268]
call fcn.0040b88c
push eax
call sub.kernel32.dll_FindFirstFileW
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
je 0x5f86a2
xor eax, eax
push ebp
push 0x5f869b
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x260]
call fcn.005f6f3c
test al, al
je 0x5f866e
lea eax, [ebp - 4]
lea edx, [ebp - 0x234]
mov ecx, 0x104
call fcn.0040b928
lea edx, [ebp - 0x270]
mov eax, ebx
call fcn.005b9cdc
lea eax, [ebp - 0x270]
mov edx, dword [ebp - 4]
call fcn.0040ba80
mov eax, dword [ebp - 0x270]
lea edx, [ebp - 0x26c]
call fcn.005f7084
mov eax, dword [ebp - 0x26c]
push eax
push 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, dword [ebp - 4]
mov edx, esi
call fcn.005f7f2c
lea eax, [ebp - 0x260]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_FindNextFileW
test eax, eax
jne 0x5f8607
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5f86a2
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_FindClose
pop eax
jmp eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5f86c2
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_SetErrorMode
pop eax
jmp eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5f86f1
lea eax, [ebp - 0x270]
mov edx, 4
call fcn.0040a8cc
lea eax, [ebp - 4]
call fcn.0040a86c
pop eax
jmp eax
Function at 0x5f89e0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd8c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x270], ebx
mov dword [ebp - 0x274], ebx
mov dword [ebp - 0x26c], ebx
mov dword [ebp - 0x264], ebx
mov dword [ebp - 0x268], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov edi, ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x5f8bdc
push dword fs:[eax]
mov dword fs:[eax], esp
test edi, edi
je 0x5f8a65
lea edx, [ebp - 0x264]
mov eax, edi
call fcn.005ba25c
mov eax, dword [ebp - 0x264]
push eax
lea edx, [ebp - 0x268]
mov eax, ebx
call fcn.005b9cdc
mov eax, dword [ebp - 0x268]
pop edx
call fcn.005b9eec
test eax, eax
jne 0x5f8a65
lea edx, [ebp - 4]
mov eax, edi
call fcn.005ba234
push 1
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x5f8ba8
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x260]
push eax
lea edx, [ebp - 0x26c]
mov eax, ebx
call fcn.005b9cdc
lea eax, [ebp - 0x26c]
mov edx, 0x5f8bf8
call fcn.0040ba80
mov eax, dword [ebp - 0x26c]
call fcn.0040b88c
push eax
call sub.kernel32.dll_FindFirstFileW
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
je 0x5f8b8f
xor eax, eax
push ebp
push 0x5f8b88
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x260]
call fcn.005f6f3c
test al, al
je 0x5f8b57
lea eax, [ebp - 8]
lea edx, [ebp - 0x234]
mov ecx, 0x104
call fcn.0040b928
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
call fcn.005b9eec
test eax, eax
je 0x5f8b57
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, dword [ebp - 8]
mov edx, esi
call fcn.005f8028
test eax, eax
jne 0x5f8b57
lea edx, [ebp - 0x274]
mov eax, ebx
call fcn.005b9cdc
lea eax, [ebp - 0x274]
mov edx, dword [ebp - 8]
call fcn.0040ba80
mov eax, dword [ebp - 0x274]
lea edx, [ebp - 0x270]
call fcn.005f7084
mov eax, dword [ebp - 0x270]
push eax
push 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, dword [ebp - 8]
mov edx, esi
call fcn.005f7f2c
lea eax, [ebp - 0x260]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_FindNextFileW
test eax, eax
jne 0x5f8acd
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5f8b8f
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_FindClose
pop eax
jmp eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5f8baf
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_SetErrorMode
pop eax
jmp eax

Function at 0x5f8eb4
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffdf8
mov ebx, eax
push 0x104
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemDirectoryW
mov edx, ebx
mov eax, esp
call fcn.00425a14
add esp, 0x208
pop ebx
ret

Function at 0x5fc990
Capabilities:
Hash data with md5

Disassembly:
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
xor edx, edx
mov dword [eax + 0x10], edx
xor edx, edx
mov dword [eax + 0x14], edx
ret
Function at 0x5fd498
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov esi, eax
mov byte [ebp - 5], 0
lea eax, [ebp - 0xc]
push eax
mov eax, esi
call fcn.0040b88c
mov edi, eax
push edi
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
jle 0x5fd538
mov eax, ebx
call fcn.0040704c
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x5fd531
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
push edi
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x5fd519
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x5fd544
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x5fd519
mov esi, dword [ebp - 0x14]
mov edi, dword [ebp - 4]
mov ecx, 0xd
rep movsd dword es:[edi], dword [esi]
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5fd538
mov eax, dword [ebp - 0x10]
call fcn.00407068
pop eax
jmp eax
movzx eax, byte [ebp - 5]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x5fdbb4
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
mov esi, edx
mov ebx, eax
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.005fdb68
test al, al
jne 0x5fdbd5
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x5fdc25
xor eax, eax
push ebp
push 0x5fdc15
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov eax, esi
call fcn.0040b88c
push eax
call sub.kernel32.dll_CreateDirectoryW
mov dword [ebp - 4], eax
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5fdc1c
lea eax, [ebp - 0xc]
call fcn.005fdba4
pop eax
jmp eax
mov eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x5fdc30
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.005fdb68
test al, al
jne 0x5fdc54
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x5fdcbc
xor eax, eax
push ebp
push 0x5fdcac
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x1c]
push eax
mov eax, dword [ebp + 0x20]
push eax
mov eax, dword [ebp + 0x24]
push eax
push edi
push esi
call sub.kernel32.dll_CreateProcessW
mov dword [ebp - 4], eax
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5fdcb3
lea eax, [ebp - 0xc]
call fcn.005fdba4
pop eax
jmp eax
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20