joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5db218
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.0040870c
push 0
movzx eax, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyW
shl eax, 0x10
test eax, eax
je 0x5db27a
push 0x200
lea edx, [ebp - 0x202]
push edx
push eax
call sub.user32.dll_GetKeyNameTextW
cmp word [ebp - 0x200], 0
jne 0x5db27a
cmp word [ebp - 0x202], 0
je 0x5db27a
mov eax, ebx
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.00409864
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x5dedf8
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
xor ebx, ebx
mov dword [ebp - 0x114], 0x114
lea eax, [ebp - 0x114]
push eax
call sub.kernel32.dll_GetVersionExW
test eax, eax
je 0x5dee44
cmp dword [ebp - 0x104], 2
jne 0x5dee44
cmp dword [ebp - 0x110], 5
ja 0x5dee42
cmp dword [ebp - 0x110], 5
jne 0x5dee44
cmp dword [ebp - 0x10c], 1
jb 0x5dee44
mov bl, 1
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x5dee4c
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.004219fc
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x5e1e04
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.004219fc
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x5e5954
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.004219fc
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x5e7544
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 0x5e7616
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.005a26bc
lea eax, [ebp - 0x25c]
mov edx, 0x5e7634
call fcn.004099bc
mov eax, dword [ebp - 0x25c]
call fcn.004097c0
push eax
call sub.kernel32.dll_FindFirstFileW
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x5e75fd
xor eax, eax
push ebp
push 0x5e75f6
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x258]
call fcn.005e74f4
test al, al
je 0x5e75cb
mov byte [ebp - 1], 1
jmp 0x5e75df
lea eax, [ebp - 0x258]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FindNextFileW
test eax, eax
jne 0x5e75b6
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5e75fd
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FindClose
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5e761d
lea eax, [ebp - 0x25c]
call fcn.0040870c
ret
Function at 0x5e7638
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.004097c0
push eax
call sub.shell32.dll_SHGetFileInfoW
test eax, eax
je 0x5e7678
mov eax, ebx
lea edx, [esp + 0xc]
mov ecx, 0x104
call fcn.00409864
jmp 0x5e767f
mov eax, ebx
call fcn.0040870c
add esp, 0x2b4
pop esi
pop ebx
ret

Function at 0x5e7688
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 + 0x655b20]
or eax, 0x4001
push eax
push 0x2b4
lea eax, [esp + 8]
push eax
push 0
mov eax, esi
call fcn.004097c0
push eax
call sub.shell32.dll_SHGetFileInfoW
test eax, eax
je 0x5e76c7
mov eax, dword [esp + 4]
jmp 0x5e76c9
xor eax, eax
add esp, 0x2b4
pop esi
pop ebx
ret

Function at 0x5e76d4
Capabilities:
Get file system object information

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

Function at 0x5e76f7
Capabilities:
Get file system object information

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

Function at 0x5e7bb4
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
push ebx
push esi
test dl, dl
je 0x5e7bc8
add esp, 0xfffffff0
call fcn.00406f84
mov ebx, edx
mov esi, eax
xor edx, edx
mov eax, esi
call fcn.004f3378
mov eax, dword [0x5e7c68]
not eax
and dword [esi + 0x60], eax
mov edx, 0x79
mov eax, esi
call fcn.004ef6dc
mov edx, 0x61
mov eax, esi
call fcn.004ef710
xor edx, edx
mov eax, esi
call fcn.004f0410
mov dl, 1
mov eax, esi
call fcn.004f953c
call sub.kernel32.dll_GetVersion
and eax, 0xff
cmp ax, 6
jae 0x5e7c24
mov dx, 0xfffe
mov eax, esi
call fcn.004f0458
push 0
lea eax, [ebp - 0x5c]
push eax
push 0x5c
push 0x1f
call sub.user32.dll_SystemParametersInfoW
test eax, eax
je 0x5e7c4a
lea eax, [ebp - 0x5c]
push eax
call sub.gdi32.dll_CreateFontIndirectW
mov edx, eax
mov eax, dword [esi + 0x74]
call fcn.004d0a34
mov eax, esi
test bl, bl
je 0x5e7c5f
call fcn.00406fdc
pop dword fs:[0]
add esp, 0xc
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5e8ccc
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 0x5e8e98
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 0x5e8e6b
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, ebx
test eax, eax
je 0x5e8d29
sub eax, 4
mov eax, dword [eax]
cmp eax, 3
jne 0x5e8d67
mov eax, ebx
call fcn.005e7974
test al, al
jne 0x5e8d47
mov byte [ebp - 5], 0
call fcn.00407efc
jmp 0x5e8e72
lea edx, [ebp - 0x264]
mov eax, ebx
call fcn.005e7638
mov ecx, dword [ebp - 0x264]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, esi
call fcn.005e90f0
mov byte [ebp - 5], 1
lea eax, [ebp - 0x260]
push eax
lea edx, [ebp - 0x268]
mov eax, ebx
call fcn.005a26bc
lea eax, [ebp - 0x268]
mov edx, 0x5e8eb8
call fcn.004099bc
mov eax, dword [ebp - 0x268]
call fcn.004097c0
push eax
call sub.kernel32.dll_FindFirstFileW
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
je 0x5e8e54
xor eax, eax
push ebp
push 0x5e8e4d
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x260]
call fcn.005e74f4
test al, al
je 0x5e8e22
lea eax, [ebp - 4]
lea edx, [ebp - 0x234]
mov ecx, 0x104
call fcn.00409864
lea edx, [ebp - 0x270]
mov eax, ebx
call fcn.005a26bc
lea eax, [ebp - 0x270]
mov edx, dword [ebp - 4]
call fcn.004099bc
mov eax, dword [ebp - 0x270]
lea edx, [ebp - 0x26c]
call fcn.005e7638
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.005e86e4
lea eax, [ebp - 0x260]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_FindNextFileW
test eax, eax
jne 0x5e8dbb
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5e8e54
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_FindClose
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5e8e72
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_SetErrorMode
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5e8e9f
lea eax, [ebp - 0x270]
mov edx, 4
call fcn.0040876c
lea eax, [ebp - 4]
call fcn.0040870c
ret
Function at 0x5e9188
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 0x5e937e
push dword fs:[eax]
mov dword fs:[eax], esp
test edi, edi
je 0x5e920d
lea edx, [ebp - 0x264]
mov eax, edi
call fcn.005a2c40
mov eax, dword [ebp - 0x264]
push eax
lea edx, [ebp - 0x268]
mov eax, ebx
call fcn.005a26bc
mov eax, dword [ebp - 0x268]
pop edx
call fcn.005a28cc
test eax, eax
jne 0x5e920d
lea edx, [ebp - 4]
mov eax, edi
call fcn.005a2c18
push 1
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x5e934c
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x260]
push eax
lea edx, [ebp - 0x26c]
mov eax, ebx
call fcn.005a26bc
lea eax, [ebp - 0x26c]
mov edx, 0x5e9398
call fcn.004099bc
mov eax, dword [ebp - 0x26c]
call fcn.004097c0
push eax
call sub.kernel32.dll_FindFirstFileW
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
je 0x5e9335
xor eax, eax
push ebp
push 0x5e932e
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x260]
call fcn.005e74f4
test al, al
je 0x5e92ff
lea eax, [ebp - 8]
lea edx, [ebp - 0x234]
mov ecx, 0x104
call fcn.00409864
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
call fcn.005a28cc
test eax, eax
je 0x5e92ff
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, dword [ebp - 8]
mov edx, esi
call fcn.005e87e0
test eax, eax
jne 0x5e92ff
lea edx, [ebp - 0x274]
mov eax, ebx
call fcn.005a26bc
lea eax, [ebp - 0x274]
mov edx, dword [ebp - 8]
call fcn.004099bc
mov eax, dword [ebp - 0x274]
lea edx, [ebp - 0x270]
call fcn.005e7638
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.005e86e4
lea eax, [ebp - 0x260]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_FindNextFileW
test eax, eax
jne 0x5e9275
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5e9335
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_FindClose
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5e9353
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_SetErrorMode
ret

Function at 0x5e9650
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.004219fc
add esp, 0x208
pop ebx
ret
Function at 0x5ecd40
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.004097c0
mov edi, eax
push edi
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
jle 0x5ecdde
mov eax, ebx
call fcn.00405490
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x5ecdd7
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 0x5ecdc1
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x5ece00
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x5ecdc1
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 0x5ecdf3
mov eax, dword [ebp - 0x10]
call fcn.004054ac
ret
call fcn.00427314
dec eax
je 0x5ecdf3
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.005ecb64
mov byte [ebp - 5], al
movzx eax, byte [ebp - 5]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x5ed2e4
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.005ed298
test al, al
jne 0x5ed305
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x5ed353
xor eax, eax
push ebp
push 0x5ed343
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov eax, esi
call fcn.004097c0
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 0x5ed34a
lea eax, [ebp - 0xc]
call fcn.005ed2d4
ret
mov eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x5ed35c
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.005ed298
test al, al
jne 0x5ed380
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x5ed3e6
xor eax, eax
push ebp
push 0x5ed3d6
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 0x5ed3dd
lea eax, [ebp - 0xc]
call fcn.005ed2d4
ret
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
Function at 0x5ed3f4
Capabilities:
Copy file

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.005ed298
test al, al
jne 0x5ed418
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x5ed470
xor eax, eax
push ebp
push 0x5ed460
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
push eax
mov eax, edi
call fcn.004097c0
push eax
mov eax, esi
call fcn.004097c0
push eax
call sub.kernel32.dll_CopyFileW
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 0x5ed467
lea eax, [ebp - 0xc]
call fcn.005ed2d4
ret
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x5ed47c
Capabilities:
Delete file

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.005ed298
test al, al
jne 0x5ed49d
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x5ed4e9
xor eax, eax
push ebp
push 0x5ed4d9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.004097c0
push eax
call sub.kernel32.dll_DeleteFileW
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 0x5ed4e0
lea eax, [ebp - 0xc]
call fcn.005ed2d4
ret
mov eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x5ed654
Capabilities:
Get file attributes

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.005ed298
test al, al
jne 0x5ed677
mov dword [ebp - 4], 0xffffffff
jmp 0x5ed6c3
xor eax, eax
push ebp
push 0x5ed6b3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.004097c0
push eax
call sub.kernel32.dll_GetFileAttributesW
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 0x5ed6ba
lea eax, [ebp - 0xc]
call fcn.005ed2d4
ret
mov eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x5ed7f8
Capabilities:
Move file

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.005ed298
test al, al
jne 0x5ed81c
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x5ed870
xor eax, eax
push ebp
push 0x5ed860
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
call fcn.004097c0
push eax
mov eax, esi
call fcn.004097c0
push eax
call sub.kernel32.dll_MoveFileW
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 0x5ed867
lea eax, [ebp - 0xc]
call fcn.005ed2d4
ret
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5ed87c
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov esi, dword [ebp + 8]
test edi, edi
jne 0x5ed89f
test esi, 4
je 0x5ed89f
xor edi, edi
jmp 0x5ed8a8
mov eax, edi
call fcn.004097c0
mov edi, eax
lea edx, [ebp - 0x10]
mov eax, ebx
call fcn.005ed298
test al, al
jne 0x5ed8bd
xor eax, eax
mov dword [ebp - 8], eax
jmp 0x5ed90c
xor eax, eax
push ebp
push 0x5ed8fc
push dword fs:[eax]
mov dword fs:[eax], esp
push esi
push edi
mov eax, dword [ebp - 4]
call fcn.004097c0
push eax
call sub.kernel32.dll_MoveFileExW
mov dword [ebp - 8], eax
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0x14], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5ed903
lea eax, [ebp - 0x10]
call fcn.005ed2d4
ret
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x5ed988
Capabilities:
Delete 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.005ed298
test al, al
jne 0x5ed9a9
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x5ed9f5
xor eax, eax
push ebp
push 0x5ed9e5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.004097c0
push eax
call sub.kernel32.dll_RemoveDirectoryW
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 0x5ed9ec
lea eax, [ebp - 0xc]
call fcn.005ed2d4
ret
mov eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x5eda00
Capabilities:
Set file attributes

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.005ed298
test al, al
jne 0x5eda24
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x5eda71
xor eax, eax
push ebp
push 0x5eda61
push dword fs:[eax]
mov dword fs:[eax], esp
push edi
mov eax, esi
call fcn.004097c0
push eax
call sub.kernel32.dll_SetFileAttributesW
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 0x5eda68
lea eax, [ebp - 0xc]
call fcn.005ed2d4
ret
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5edf7c
Capabilities:
Get file size
Parse pe header
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004087f0
xor eax, eax
push ebp
push 0x5ee064
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
push 0
push 0x20
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 4]
call fcn.004097c0
push eax
call sub.kernel32.dll_CreateFileW
mov esi, eax
cmp esi, 0xffffffff
je 0x5ee04e
lea eax, [ebp - 0xc]
push eax
push esi
call sub.kernel32.dll_GetFileSize
mov edi, eax
mov eax, edi
call fcn.00405490
mov ebx, eax
push 0
lea eax, [ebp - 0xc]
push eax
push edi
push ebx
push esi
call sub.kernel32.dll_ReadFile
push esi
call sub.kernel32.dll_CloseHandle
test ebx, ebx
je 0x5ee04e
mov eax, ebx
cmp word [eax], 0x5a4d
jne 0x5ee04e
mov eax, dword [eax + 0x3c]
add eax, ebx
cmp dword [eax], 0x4550
jne 0x5ee04e
movzx eax, word [eax + 4]
sub ax, 0x14c
je 0x5ee02b
sub ax, 0xb4
je 0x5ee031
sub ax, 0x8464
je 0x5ee037
sub ax, 0x2400
je 0x5ee03d
jmp 0x5ee043
mov byte [ebp - 5], 1
jmp 0x5ee047
mov byte [ebp - 5], 3
jmp 0x5ee047
mov byte [ebp - 5], 2
jmp 0x5ee047
mov byte [ebp - 5], 4
jmp 0x5ee047
mov byte [ebp - 5], 0
mov eax, ebx
call fcn.004054ac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5ee06b
lea eax, [ebp - 4]
call fcn.0040870c
ret

Function at 0x5ee948
Capabilities:
Hash data with crc32

Disassembly:
push esi
xor esi, esi
mov ecx, 0x65dc3c
mov eax, esi
mov edx, 8
test al, 1
je 0x5ee964
shr eax, 1
xor eax, 0xedb88320
jmp 0x5ee966
shr eax, 1
dec edx
jne 0x5ee957
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x5ee950
pop esi
ret

Function at 0x5ee97c
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 [0x65dc38], 0
jne 0x5ee9a6
call fcn.005ee948
mov dword [esp], 0x65dc38
mov edx, dword [esp]
mov eax, 1
lock xchg dword [edx], eax
mov eax, edi
test esi, esi
je 0x5ee9d0
mov edx, 0xff
and edx, ebx
movzx ecx, byte [eax]
xor dx, cx
movzx edx, dx
mov edx, dword [edx*4 + 0x65dc3c]
shr ebx, 8
xor edx, ebx
mov ebx, edx
dec esi
inc eax
test esi, esi
jne 0x5ee9ac
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x5eea28
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 0x5effec
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
mov ecx, 4
push 0
push 0
dec ecx
jne 0x5efff4
push ecx
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x5f00e1
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
call fcn.005a3d1c
mov edx, dword [ebp - 8]
mov ecx, 0x5f00fc
xor eax, eax
call fcn.005efd54
push 0
mov eax, dword [ebp - 4]
call fcn.004097c0
push eax
call sub.kernel32.dll_CreateDirectoryW
test eax, eax
jne 0x5f00af
call sub.kernel32.dll_GetLastError
mov ebx, eax
cmp ebx, 0xb7
je 0x5f000e
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x1c]
mov edx, dword [ebp - 4]
mov al, 0x39
call fcn.005ab128
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov eax, ebx
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x20]
call fcn.004207d8
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x14], eax
lea edx, [ebp - 0x24]
mov eax, ebx
call fcn.005a4c90
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x10], eax
lea edx, [ebp - 0x18]
mov ecx, 2
mov al, 0x6e
call fcn.005ab0f8
mov ecx, dword [ebp - 0xc]
mov dl, 1
mov eax, dword [0x419944]
call fcn.00426604
call fcn.00407e08
jmp 0x5f000e
mov eax, esi
mov edx, dword [ebp - 4]
call fcn.00408aec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5f00e8
lea eax, [ebp - 0x24]
mov edx, 3
call fcn.0040876c
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.0040876c
ret