joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5c89a4
Capabilities:
Check if file exists
Move file

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov esi, edx
mov edi, eax
xor eax, eax
push ebp
push 0x5c8a41
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.00429d18
cmp eax, 2
jne 0x5c89e7
push 1
mov eax, esi
call fcn.0040b278
push eax
mov eax, edi
call fcn.0040b278
push eax
call sub.kernel32.dll_MoveFileExW
cmp eax, 1
sbb ebx, ebx
inc ebx
jmp 0x5c8a2b
mov eax, esi
call fcn.0040b278
mov edx, eax
lea eax, [ebp - 4]
call fcn.0040b2dc
mov eax, dword [ebp - 4]
call fcn.00423a20
mov ebx, eax
test bl, bl
jne 0x5c8a10
call sub.kernel32.dll_GetLastError
cmp eax, 2
jne 0x5c8a2b
mov eax, esi
call fcn.0040b278
push eax
mov eax, edi
call fcn.0040b278
push eax
call sub.kernel32.dll_MoveFileW
cmp eax, 1
sbb ebx, ebx
inc ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5c8a48
lea eax, [ebp - 4]
call fcn.0040a1c8
ret

Function at 0x5c99b0
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 0x5cfb78
Capabilities:
Hash data with crc32

Disassembly:
push esi
xor esi, esi
mov ecx, 0x6d8828
mov eax, esi
mov edx, 8
test al, 1
je 0x5cfb94
shr eax, 1
xor eax, 0xedb88320
jmp 0x5cfb96
shr eax, 1
dec edx
jne 0x5cfb87
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x5cfb80
pop esi
ret

Function at 0x5cfbac
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 [0x6d8824], 0
jne 0x5cfbd6
call fcn.005cfb78
mov dword [esp], 0x6d8824
mov edx, dword [esp]
mov eax, 1
lock xchg dword [edx], eax
mov eax, edi
test esi, esi
je 0x5cfc00
mov edx, 0xff
and edx, ebx
movzx ecx, byte [eax]
xor dx, cx
movzx edx, dx
mov edx, dword [edx*4 + 0x6d8828]
shr ebx, 8
xor edx, ebx
mov ebx, edx
dec esi
inc eax
test esi, esi
jne 0x5cfbdc
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x5e2a54
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 0x5e2c04
inc esi
mov eax, dword [ebp + 8]
push eax
mov eax, edi
mov edx, 5
call fcn.005e1690
pop ecx
test al, al
jne 0x5e2a9b
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov dl, 0xd
call fcn.005e2d38
xor ebx, ebx
jmp 0x5e2c04
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x20]
cmp eax, dword [edi]
ja 0x5e2ab9
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov dl, 2
call fcn.005e2d38
xor ebx, ebx
jmp 0x5e2c04
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.005fa008
test eax, eax
jne 0x5e2af0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov dl, 2
call fcn.005e2d38
xor ebx, ebx
jmp 0x5e2c04
test byte [edi + 4], 1
je 0x5e2bfd
mov eax, dword [ebp + 8]
push eax
lea eax, [ebp - 4]
mov edx, 4
call fcn.005e1690
pop ecx
test al, al
jne 0x5e2b24
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov dl, 0xd
call fcn.005e2d38
xor ebx, ebx
jmp 0x5e2c04
mov edx, dword [0x5de9fc]
mov eax, 0xc
call fcn.0040c870
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x5e2bcf
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
xor ecx, ecx
mov edx, dword [ebp - 4]
call fcn.0040ada0
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 8]
call fcn.0040a77c
mov edx, dword [ebp - 4]
call fcn.005e1690
pop ecx
test al, al
jne 0x5e2b92
mov edx, dword [0x5de9fc]
mov eax, dword [ebp - 8]
call fcn.0040c884
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov dl, 0xd
call fcn.005e2d38
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5e2c04
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.005d9f78
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.005da390
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5e2bfd
dec esi
jne 0x5e2a72
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5edad4
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 0x5edb51
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 4]
mov eax, ebx
call fcn.005da608
mov eax, dword [ebp - 4]
call fcn.005d9f78
mov dword [ebp - 8], eax
mov eax, dword [edi + 0x30]
mov ebx, dword [eax + 0xc]
dec ebx
cmp ebx, 0
jl 0x5edb38
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 0x5edb32
mov eax, dword [esi]
mov edx, dword [ebp - 4]
call fcn.0040abf0
je 0x5edb3b
dec ebx
cmp ebx, 0xffffffff
jne 0x5edb15
or ebx, 0xffffffff
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5edb58
lea eax, [ebp - 4]
call fcn.0040a1ec
ret
Function at 0x5fff50
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 0x5fff9c
cmp dword [ebp - 0x104], 2
jne 0x5fff9c
cmp dword [ebp - 0x110], 5
ja 0x5fff9a
cmp dword [ebp - 0x110], 5
jne 0x5fff9c
cmp dword [ebp - 0x10c], 1
jb 0x5fff9c
mov bl, 1
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x5fffa4
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.00424310
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x603110
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.00424310
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x6080c0
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 0x608192
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.005c4ea4
lea eax, [ebp - 0x25c]
mov edx, 0x6081b0
call fcn.0040b470
mov eax, dword [ebp - 0x25c]
call fcn.0040b278
push eax
call sub.kernel32.dll_FindFirstFileW
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x608179
xor eax, eax
push ebp
push 0x608172
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x258]
call fcn.00608070
test al, al
je 0x608147
mov byte [ebp - 1], 1
jmp 0x60815b
lea eax, [ebp - 0x258]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FindNextFileW
test eax, eax
jne 0x608132
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x608179
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 0x608199
lea eax, [ebp - 0x25c]
call fcn.0040a1c8
ret

Function at 0x6081b4
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.0040b278
push eax
call sub.shell32.dll_SHGetFileInfoW
test eax, eax
je 0x6081f4
mov eax, ebx
lea edx, [esp + 0xc]
mov ecx, 0x104
call fcn.0040b318
jmp 0x6081fb
mov eax, ebx
call fcn.0040a1c8
add esp, 0x2b4
pop esi
pop ebx
ret

Function at 0x608204
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 + 0x6cff50]
or eax, 0x4001
push eax
push 0x2b4
lea eax, [esp + 8]
push eax
push 0
mov eax, esi
call fcn.0040b278
push eax
call sub.shell32.dll_SHGetFileInfoW
test eax, eax
je 0x608243
mov eax, dword [esp + 4]
jmp 0x608245
xor eax, eax
add esp, 0x2b4
pop esi
pop ebx
ret
Function at 0x608250
Capabilities:
Get file system object information

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

Function at 0x608273
Capabilities:
Get file system object information

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

Function at 0x608730
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
push ebx
push esi
test dl, dl
je 0x608744
add esp, 0xfffffff0
call fcn.00408a40
mov ebx, edx
mov esi, eax
xor edx, edx
mov eax, esi
call fcn.00515554
mov eax, dword [0x6087e4]
not eax
and dword [esi + 0x60], eax
mov edx, 0x79
mov eax, esi
call fcn.005118b8
mov edx, 0x61
mov eax, esi
call fcn.005118ec
xor edx, edx
mov eax, esi
call fcn.005125ec
mov dl, 1
mov eax, esi
call fcn.0051b718
call sub.kernel32.dll_GetVersion
and eax, 0xff
cmp ax, 6
jae 0x6087a0
mov dx, 0xfffe
mov eax, esi
call fcn.00512634
push 0
lea eax, [ebp - 0x5c]
push eax
push 0x5c
push 0x1f
call sub.user32.dll_SystemParametersInfoW
test eax, eax
je 0x6087c6
lea eax, [ebp - 0x5c]
push eax
call sub.gdi32.dll_CreateFontIndirectW
mov edx, eax
mov eax, dword [esi + 0x74]
call fcn.004ee4d4
mov eax, esi
test bl, bl
je 0x6087db
call fcn.00408a98
pop dword fs:[0]
add esp, 0xc
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x609880
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 0x609a4c
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 0x609a1f
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, ebx
test eax, eax
je 0x6098dd
sub eax, 4
mov eax, dword [eax]
cmp eax, 3
jne 0x60991b
mov eax, ebx
call fcn.006084f0
test al, al
jne 0x6098fb
mov byte [ebp - 5], 0
call fcn.004099b8
jmp 0x609a26
lea edx, [ebp - 0x264]
mov eax, ebx
call fcn.006081b4
mov ecx, dword [ebp - 0x264]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, esi
call fcn.00609ca4
mov byte [ebp - 5], 1
lea eax, [ebp - 0x260]
push eax
lea edx, [ebp - 0x268]
mov eax, ebx
call fcn.005c4ea4
lea eax, [ebp - 0x268]
mov edx, 0x609a6c
call fcn.0040b470
mov eax, dword [ebp - 0x268]
call fcn.0040b278
push eax
call sub.kernel32.dll_FindFirstFileW
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
je 0x609a08
xor eax, eax
push ebp
push 0x609a01
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x260]
call fcn.00608070
test al, al
je 0x6099d6
lea eax, [ebp - 4]
lea edx, [ebp - 0x234]
mov ecx, 0x104
call fcn.0040b318
lea edx, [ebp - 0x270]
mov eax, ebx
call fcn.005c4ea4
lea eax, [ebp - 0x270]
mov edx, dword [ebp - 4]
call fcn.0040b470
mov eax, dword [ebp - 0x270]
lea edx, [ebp - 0x26c]
call fcn.006081b4
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.00609298
lea eax, [ebp - 0x260]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_FindNextFileW
test eax, eax
jne 0x60996f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x609a08
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 0x609a26
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 0x609a53
lea eax, [ebp - 0x270]
mov edx, 4
call fcn.0040a228
lea eax, [ebp - 4]
call fcn.0040a1c8
ret
Function at 0x609d3c
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 0x609f32
push dword fs:[eax]
mov dword fs:[eax], esp
test edi, edi
je 0x609dc1
lea edx, [ebp - 0x264]
mov eax, edi
call fcn.005c5428
mov eax, dword [ebp - 0x264]
push eax
lea edx, [ebp - 0x268]
mov eax, ebx
call fcn.005c4ea4
mov eax, dword [ebp - 0x268]
pop edx
call fcn.005c50b4
test eax, eax
jne 0x609dc1
lea edx, [ebp - 4]
mov eax, edi
call fcn.005c5400
push 1
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x609f00
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x260]
push eax
lea edx, [ebp - 0x26c]
mov eax, ebx
call fcn.005c4ea4
lea eax, [ebp - 0x26c]
mov edx, 0x609f4c
call fcn.0040b470
mov eax, dword [ebp - 0x26c]
call fcn.0040b278
push eax
call sub.kernel32.dll_FindFirstFileW
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
je 0x609ee9
xor eax, eax
push ebp
push 0x609ee2
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x260]
call fcn.00608070
test al, al
je 0x609eb3
lea eax, [ebp - 8]
lea edx, [ebp - 0x234]
mov ecx, 0x104
call fcn.0040b318
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
call fcn.005c50b4
test eax, eax
je 0x609eb3
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, dword [ebp - 8]
mov edx, esi
call fcn.00609394
test eax, eax
jne 0x609eb3
lea edx, [ebp - 0x274]
mov eax, ebx
call fcn.005c4ea4
lea eax, [ebp - 0x274]
mov edx, dword [ebp - 8]
call fcn.0040b470
mov eax, dword [ebp - 0x274]
lea edx, [ebp - 0x270]
call fcn.006081b4
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.00609298
lea eax, [ebp - 0x260]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_FindNextFileW
test eax, eax
jne 0x609e29
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x609ee9
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 0x609f07
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_SetErrorMode
ret

Function at 0x60a204
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.00424310
add esp, 0x208
pop ebx
ret

Function at 0x60d90c
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 0x60e5f8
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.0040b278
mov edi, eax
push edi
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
jle 0x60e696
mov eax, ebx
call fcn.00406f0c
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x60e68f
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 0x60e679
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x60e6b8
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x60e679
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 0x60e6ab
mov eax, dword [ebp - 0x10]
call fcn.00406f28
ret
call fcn.00429d18
dec eax
je 0x60e6ab
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.0060e41c
mov byte [ebp - 5], al
movzx eax, byte [ebp - 5]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x60ed28
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.0060ecdc
test al, al
jne 0x60ed49
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x60ed97
xor eax, eax
push ebp
push 0x60ed87
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov eax, esi
call fcn.0040b278
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 0x60ed8e
lea eax, [ebp - 0xc]
call fcn.0060ed18
ret
mov eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x60eda0
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.0060ecdc
test al, al
jne 0x60edc4
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x60ee2a
xor eax, eax
push ebp
push 0x60ee1a
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 0x60ee21
lea eax, [ebp - 0xc]
call fcn.0060ed18
ret
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
Function at 0x60ee38
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.0060ecdc
test al, al
jne 0x60ee5c
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x60eeb4
xor eax, eax
push ebp
push 0x60eea4
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
push eax
mov eax, edi
call fcn.0040b278
push eax
mov eax, esi
call fcn.0040b278
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 0x60eeab
lea eax, [ebp - 0xc]
call fcn.0060ed18
ret
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x60eec0
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.0060ecdc
test al, al
jne 0x60eee1
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x60ef2d
xor eax, eax
push ebp
push 0x60ef1d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0040b278
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 0x60ef24
lea eax, [ebp - 0xc]
call fcn.0060ed18
ret
mov eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x60f098
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.0060ecdc
test al, al
jne 0x60f0bb
mov dword [ebp - 4], 0xffffffff
jmp 0x60f107
xor eax, eax
push ebp
push 0x60f0f7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0040b278
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 0x60f0fe
lea eax, [ebp - 0xc]
call fcn.0060ed18
ret
mov eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x60f23c
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.0060ecdc
test al, al
jne 0x60f260
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x60f2b4
xor eax, eax
push ebp
push 0x60f2a4
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
call fcn.0040b278
push eax
mov eax, esi
call fcn.0040b278
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 0x60f2ab
lea eax, [ebp - 0xc]
call fcn.0060ed18
ret
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x60f2c0
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 0x60f2e3
test esi, 4
je 0x60f2e3
xor edi, edi
jmp 0x60f2ec
mov eax, edi
call fcn.0040b278
mov edi, eax
lea edx, [ebp - 0x10]
mov eax, ebx
call fcn.0060ecdc
test al, al
jne 0x60f301
xor eax, eax
mov dword [ebp - 8], eax
jmp 0x60f350
xor eax, eax
push ebp
push 0x60f340
push dword fs:[eax]
mov dword fs:[eax], esp
push esi
push edi
mov eax, dword [ebp - 4]
call fcn.0040b278
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 0x60f347
lea eax, [ebp - 0x10]
call fcn.0060ed18
ret
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x60f3cc
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.0060ecdc
test al, al
jne 0x60f3ed
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x60f439
xor eax, eax
push ebp
push 0x60f429
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0040b278
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 0x60f430
lea eax, [ebp - 0xc]
call fcn.0060ed18
ret
mov eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x60f444
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.0060ecdc
test al, al
jne 0x60f468
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x60f4b5
xor eax, eax
push ebp
push 0x60f4a5
push dword fs:[eax]
mov dword fs:[eax], esp
push edi
mov eax, esi
call fcn.0040b278
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 0x60f4ac
lea eax, [ebp - 0xc]
call fcn.0060ed18
ret
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret