joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5f7f5c
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 5
push 0
push 0
dec ecx
jne 0x5f7f65
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040507c
lea eax, [ebp - 8]
call fcn.004058f8
xor eax, eax
push ebp
push 0x5f8145
push dword fs:[eax]
mov dword fs:[eax], esp
xor edi, edi
mov eax, 4
call fcn.00402b48
mov ebx, eax
mov eax, 4
call fcn.00402b48
mov esi, eax
mov dword [ebx], 1
lea eax, [ebp - 0x1c]
push eax
push 0x20019
push 0
mov eax, dword [ebp - 4]
call fcn.0040508c
push eax
push 0x80000000
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x5f80e5
push 0x5f8160
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 4]
call fcn.00404e8c
mov ecx, eax
dec ecx
mov edx, 2
mov eax, dword [ebp - 4]
call fcn.004050ec
push dword [ebp - 0x24]
push 0x5f816c
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00404f4c
mov eax, dword [ebp - 0x10]
call fcn.00404e8c
push eax
lea eax, [ebp - 0x10]
call fcn.004050e4
push eax
push 1
push 0
push 0x5f8174
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegSetValueExA
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey_1
lea eax, [ebp - 0x14]
mov ecx, 0x5f8180
mov edx, dword [ebp - 0x10]
call fcn.00404ed8
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0
push 0x20006
push 0
push 0
push 0
mov eax, dword [ebp - 0x14]
call fcn.0040508c
push eax
push 0x80000000
call sub.advapi32.dll_RegCreateKeyExA
test eax, eax
jne 0x5f80e5
push dword [ebp - 8]
push 0x5f8194
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 0xc]
call fcn.0040a458
mov edx, dword [ebp - 0x30]
lea eax, [ebp - 0x2c]
call fcn.004054bc
push dword [ebp - 0x2c]
lea eax, [ebp - 0x28]
mov edx, 3
call fcn.0040561c
mov edx, dword [ebp - 0x28]
lea eax, [ebp - 0x18]
call fcn.00404e54
mov eax, dword [ebp - 0x18]
call fcn.00404e8c
push eax
lea eax, [ebp - 0x18]
call fcn.004050e4
push eax
push 1
push 0
push 0x5f8174
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegSetValueExA
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey_1
mov edx, 4
mov eax, esi
call fcn.00402b78
mov edx, 4
mov eax, ebx
call fcn.00402b78
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5f814c
lea eax, [ebp - 0x30]
call fcn.00404ba0
lea eax, [ebp - 0x2c]
mov edx, 2
call fcn.004052f0
lea eax, [ebp - 0x24]
call fcn.00404ba0
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.00404bc4
lea eax, [ebp - 8]
call fcn.004052d8
lea eax, [ebp - 4]
call fcn.00404ba0
ret
Function at 0x5f8198
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
call fcn.004058f8
xor eax, eax
push ebp
push 0x5f821a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x6e39dc]
cmp byte [eax], 1
jne 0x5f81dd
mov eax, dword [ebp - 4]
call fcn.00405538
push eax
call sub.kernel32.dll_RemoveDirectoryW
cmp eax, 1
sbb ebx, ebx
inc ebx
jmp 0x5f81fc
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00404e54
mov eax, dword [ebp - 8]
call fcn.0040508c
push eax
call sub.kernel32.dll_RemoveDirectoryA
cmp eax, 1
sbb ebx, ebx
inc ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5f8221
lea eax, [ebp - 8]
call fcn.00404ba0
lea eax, [ebp - 4]
call fcn.004052d8
ret

Function at 0x5f8228
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
call fcn.004058f8
xor eax, eax
push ebp
push 0x5f82aa
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x6e39dc]
cmp byte [eax], 1
jne 0x5f826d
mov eax, dword [ebp - 4]
call fcn.00405538
push eax
call sub.kernel32.dll_DeleteFileW
cmp eax, 1
sbb ebx, ebx
inc ebx
jmp 0x5f828c
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00404e54
mov eax, dword [ebp - 8]
call fcn.0040508c
push eax
call sub.kernel32.dll_DeleteFileA
cmp eax, 1
sbb ebx, ebx
inc ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5f82b1
lea eax, [ebp - 8]
call fcn.00404ba0
lea eax, [ebp - 4]
call fcn.004052d8
ret

Function at 0x5f953c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x5f95d3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.004052d8
mov eax, 0x104
call fcn.0040b168
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push esi
mov eax, dword [0x6e53c4]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.shell32.dll_SHGetSpecialFolderLocation
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
test eax, eax
je 0x5f959f
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.00405410
lea eax, [ebp - 0xc]
push eax
call sub.shell32.dll_SHGetMalloc
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0x14]
mov eax, dword [ebp - 8]
call fcn.0040b1c4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5f95da
lea eax, [ebp - 0xc]
call fcn.00406cb4
ret
Function at 0x5f9698
Capabilities:
Copy file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 5
push 0
push 0
dec ecx
jne 0x5f96a1
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x5f986e
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x10]
mov eax, dword [ebx]
call fcn.004972dc
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00496d64
mov eax, dword [ebp - 4]
mov edx, 0x5f9880
call fcn.00405664
jne 0x5f9828
mov eax, dword [0x6e39dc]
cmp byte [eax], 1
jne 0x5f9787
lea eax, [ebp - 8]
mov edx, 0x104
call fcn.004058b0
mov eax, dword [ebp - 8]
call fcn.00405538
push eax
push 0x104
call sub.kernel32.dll_GetTempPathW
mov edx, eax
lea eax, [ebp - 8]
call fcn.004058b0
lea edx, [ebp - 0x1c]
mov eax, dword [ebx]
call fcn.004972a4
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 8]
call fcn.004055b4
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x14]
mov edx, 0x5f9890
call fcn.005f5e94
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 8]
call fcn.00405338
push 0
mov eax, dword [ebp - 8]
call fcn.00405538
push eax
mov eax, dword [ebx]
call fcn.00405538
push eax
call sub.kernel32.dll_CopyFileW
mov eax, esi
mov edx, dword [ebp - 8]
call fcn.00405314
mov eax, edi
mov edx, dword [ebp - 8]
call fcn.00405314
jmp 0x5f9831
lea eax, [ebp - 0xc]
mov edx, 0x104
call fcn.00405218
lea eax, [ebp - 0xc]
call fcn.004050e4
push eax
push 0x104
call sub.kernel32.dll_GetTempPathA
mov edx, eax
lea eax, [ebp - 0xc]
call fcn.00405218
lea eax, [ebp - 0x2c]
mov edx, dword [ebx]
call fcn.00404e54
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x28]
call fcn.0040ad14
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
mov edx, dword [ebp - 0xc]
call fcn.00404ed8
mov eax, dword [ebp - 0x24]
lea ecx, [ebp - 0x20]
mov edx, 0x5f98a0
call fcn.005f5f64
mov edx, dword [ebp - 0x20]
lea eax, [ebp - 0xc]
call fcn.00404c38
push 0
mov eax, dword [ebp - 0xc]
call fcn.0040508c
push eax
lea eax, [ebp - 0x30]
mov edx, dword [ebx]
call fcn.00404e54
mov eax, dword [ebp - 0x30]
call fcn.0040508c
push eax
call sub.kernel32.dll_CopyFileA
mov eax, esi
mov edx, dword [ebp - 0xc]
call fcn.004054bc
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.004054bc
jmp 0x5f9831
mov eax, esi
mov edx, dword [ebx]
call fcn.00405314
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5f9875
lea eax, [ebp - 0x30]
mov edx, 5
call fcn.00404bc4
lea eax, [ebp - 0x1c]
mov edx, 4
call fcn.004052f0
lea eax, [ebp - 0xc]
call fcn.00404ba0
lea eax, [ebp - 8]
mov edx, 2
call fcn.004052f0
ret
Function at 0x5f98a4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040507c
xor eax, eax
push ebp
push 0x5f998c
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
mov eax, dword [0x6e3ca4]
mov eax, dword [eax]
call fcn.0040508c
push eax
mov eax, dword [0x6e5e44]
mov eax, dword [eax]
push eax
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x5f996e
mov eax, 4
call fcn.00402b48
mov edi, eax
mov eax, 4
call fcn.00402b48
mov esi, eax
mov dword [edi], 3
mov dword [esi], 0x10
push esi
mov eax, dword [ebp - 8]
push eax
push edi
push 0
lea eax, [ebp - 0x10]
mov ecx, dword [ebp - 4]
mov edx, 0x5f99a4
call fcn.00404ed8
mov eax, dword [ebp - 0x10]
call fcn.0040508c
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x5f994d
mov bl, 1
mov edx, 4
mov eax, esi
call fcn.00402b78
mov edx, 4
mov eax, edi
call fcn.00402b78
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5f9993
lea eax, [ebp - 0x10]
call fcn.00404ba0
lea eax, [ebp - 4]
call fcn.00404ba0
ret

Function at 0x5f99ac
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x20], ecx
mov esi, edx
lea edi, [ebp - 0x1c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040507c
xor eax, eax
push ebp
push 0x5f9a61
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
mov eax, dword [0x6e3ca4]
mov eax, dword [eax]
call fcn.0040508c
push eax
mov eax, dword [0x6e5e44]
mov eax, dword [eax]
push eax
call sub.advapi32.dll_RegCreateKeyExA
test eax, eax
jne 0x5f9a43
push 0x10
lea eax, [ebp - 0x1c]
push eax
push 3
push 0
lea eax, [ebp - 0x20]
mov ecx, dword [ebp - 4]
mov edx, 0x5f9a78
call fcn.00404ed8
mov eax, dword [ebp - 0x20]
call fcn.0040508c
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegSetValueExA
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5f9a68
lea eax, [ebp - 0x20]
call fcn.00404ba0
lea eax, [ebp - 4]
call fcn.00404ba0
ret
Function at 0x5f9a80
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040507c
xor eax, eax
push ebp
push 0x5f9b70
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
mov eax, dword [0x6e3ca4]
mov eax, dword [eax]
call fcn.0040508c
push eax
mov eax, dword [0x6e5e44]
mov eax, dword [eax]
push eax
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x5f9b52
mov eax, 4
call fcn.00402b48
mov edi, eax
mov eax, 4
call fcn.00402b48
mov esi, eax
mov dword [edi], 4
mov dword [esi], 4
push esi
lea eax, [ebp - 0x10]
push eax
push edi
push 0
lea eax, [ebp - 0x14]
mov ecx, dword [ebp - 4]
mov edx, 0x5f9b88
call fcn.00404ed8
mov eax, dword [ebp - 0x14]
call fcn.0040508c
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x5f9b31
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
mov dword [eax], edx
mov bl, 1
mov edx, 4
mov eax, esi
call fcn.00402b78
mov edx, 4
mov eax, edi
call fcn.00402b78
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5f9b77
lea eax, [ebp - 0x14]
call fcn.00404ba0
lea eax, [ebp - 4]
call fcn.00404ba0
ret

Function at 0x5f9b90
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040507c
xor eax, eax
push ebp
push 0x5f9c3a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
mov eax, dword [0x6e3ca4]
mov eax, dword [eax]
call fcn.0040508c
push eax
mov eax, dword [0x6e5e44]
mov eax, dword [eax]
push eax
call sub.advapi32.dll_RegCreateKeyExA
test eax, eax
jne 0x5f9c1c
push 4
push ebx
push 4
push 0
lea eax, [ebp - 0x10]
mov ecx, dword [ebp - 4]
mov edx, 0x5f9c50
call fcn.00404ed8
mov eax, dword [ebp - 0x10]
call fcn.0040508c
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegSetValueExA
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5f9c41
lea eax, [ebp - 0x10]
call fcn.00404ba0
lea eax, [ebp - 4]
call fcn.00404ba0
ret
Function at 0x5fa674
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
xor ebx, ebx
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
mov byte [ebp - 5], cl
mov ebx, edx
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
call fcn.004058f8
xor eax, eax
push ebp
push 0x5fa816
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x70]
mov eax, dword [ebp - 4]
call fcn.004972dc
mov eax, dword [ebp - 0x70]
mov edx, 0x5fa82c
call fcn.00409fd8
test eax, eax
jne 0x5fa6eb
lea ecx, [ebp - 0x18]
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.005f5734
mov eax, dword [ebp - 0x14]
xor edx, edx
call fcn.00405664
je 0x5fa6eb
lea eax, [ebp - 4]
mov edx, dword [ebp - 0x14]
call fcn.00405338
lea eax, [ebp - 0x5c]
xor ecx, ecx
mov edx, 0x44
call fcn.00403350
mov dword [ebp - 0x5c], 0x44
mov dword [ebp - 0x30], 1
mov word [ebp - 0x2c], bx
cmp byte [ebp + 8], 0
je 0x5fa719
mov ebx, 0x30
jmp 0x5fa71e
mov ebx, 0x20
mov eax, dword [0x6e39dc]
cmp byte [eax], 1
jne 0x5fa75a
lea eax, [ebp - 4]
mov edx, 0x5fa83c
call fcn.00405554
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x5c]
push eax
push 0
push 0
push ebx
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00405538
push eax
push 0
call sub.kernel32.dll_CreateProcessW
jmp 0x5fa798
lea eax, [ebp - 0x74]
mov ecx, 0x5fa83c
mov edx, dword [ebp - 4]
call fcn.004055b4
mov edx, dword [ebp - 0x74]
lea eax, [ebp - 0xc]
call fcn.00404e54
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x5c]
push eax
push 0
push 0
push ebx
push 0
push 0
push 0
lea eax, [ebp - 0xc]
call fcn.004050e4
push eax
push 0
call sub.kernel32.dll_CreateProcessA
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x5fa7a7
or ebx, 0xffffffff
jmp 0x5fa7de
cmp byte [ebp - 5], 1
jne 0x5fa7ca
push 0xffffffffffffffff
mov eax, dword [ebp - 0x6c]
push eax
call sub.kernel32.dll_WaitForSingleObject
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x6c]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov ebx, dword [ebp - 0x10]
jmp 0x5fa7cc
xor ebx, ebx
mov eax, dword [ebp - 0x6c]
push eax
call sub.kernel32.dll_CloseHandle
mov eax, dword [ebp - 0x68]
push eax
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5fa81d
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.004052f0
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.004052f0
lea eax, [ebp - 0xc]
call fcn.00404ba0
lea eax, [ebp - 4]
call fcn.004052d8
ret
Function at 0x5faa9c
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x10], ecx
mov edi, edx
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
call fcn.004058f8
xor eax, eax
push ebp
push 0x5fac8d
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov eax, dword [ebp - 0xc]
call fcn.00405548
test eax, eax
jle 0x5fac50
push 1
call sub.kernel32.dll_SetErrorMode
mov esi, eax
mov eax, dword [ebp - 0xc]
call fcn.004973d4
cmp al, 1
jne 0x5fac4a
mov edx, 0x5faca4
mov eax, dword [ebp - 0xc]
call fcn.005d6fdc
test al, al
je 0x5fab57
mov al, byte [0x5facac]
push eax
push 0
lea eax, [ebp - 0x28]
push eax
mov ecx, 0x5facb4
mov edx, 0x5facbc
mov eax, dword [ebp - 0xc]
call fcn.00496de4
mov edx, dword [ebp - 0x28]
lea eax, [ebp - 0xc]
call fcn.00405338
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 0xc]
call fcn.005d7c8c
mov edx, dword [ebp - 0x2c]
lea eax, [ebp - 0x14]
call fcn.00404e54
jmp 0x5fab89
lea eax, [ebp - 0x30]
mov edx, dword [ebp - 0xc]
call fcn.00404e54
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x14]
call fcn.0040ac80
cmp dword [ebp - 0x14], 0
je 0x5fab89
lea edx, [ebp - 0x34]
mov eax, dword [ebp - 0x14]
call fcn.005fc30c
mov edx, dword [ebp - 0x34]
lea eax, [ebp - 0x14]
call fcn.00404c38
cmp dword [ebp - 0x14], 0
je 0x5fac4a
mov eax, edi
mov edx, 0x800
call fcn.00405218
lea eax, [ebp - 0x18]
mov edx, 0x800
call fcn.00405218
push 0x800
lea eax, [ebp - 0x18]
call fcn.004050e4
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x24]
push eax
push 0x800
mov eax, edi
call fcn.004050e4
push eax
mov eax, dword [ebp - 0x14]
call fcn.0040508c
push eax
call sub.kernel32.dll_GetVolumeInformationA
cmp eax, 1
sbb eax, eax
inc eax
cmp al, 1
jne 0x5fac4a
mov edx, dword [edi]
mov eax, 0x5facc8
call fcn.004051d0
mov edx, eax
dec edx
mov eax, edi
call fcn.00405218
mov edx, dword [ebp - 0x18]
mov eax, 0x5facc8
call fcn.004051d0
mov edx, eax
dec edx
lea eax, [ebp - 0x18]
call fcn.00405218
mov eax, dword [ebp - 0x24]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
call fcn.005faccc
mov dword [ebp - 4], eax
push dword [ebp - 4]
push dword [ebp - 8]
lea edx, [ebp - 0x38]
mov eax, 0x10
call fcn.0040a678
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x10]
call fcn.00404bf4
mov bl, 1
push esi
call sub.kernel32.dll_SetErrorMode
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5fac94
lea eax, [ebp - 0x38]
mov edx, 3
call fcn.00404bc4
lea eax, [ebp - 0x2c]
mov edx, 2
call fcn.004052f0
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.00404bc4
lea eax, [ebp - 0xc]
call fcn.004052d8
ret
Function at 0x5fae88
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
call fcn.004058f8
lea eax, [ebp - 8]
call fcn.004058f8
xor eax, eax
push ebp
push 0x5faf43
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x6e39dc]
cmp byte [eax], 0
je 0x5faee6
push 0
mov eax, dword [ebp - 8]
call fcn.00405538
push eax
mov eax, dword [ebp - 4]
call fcn.00405538
push eax
call sub.kernel32.dll_MoveFileExW
cmp eax, 1
sbb ebx, ebx
inc ebx
jmp 0x5faf1b
push 0
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.00404e54
mov eax, dword [ebp - 0xc]
call fcn.0040508c
push eax
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 4]
call fcn.00404e54
mov eax, dword [ebp - 0x10]
call fcn.0040508c
push eax
call sub.kernel32.dll_MoveFileExA
cmp eax, 1
sbb ebx, ebx
inc ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5faf4a
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00404bc4
lea eax, [ebp - 8]
mov edx, 2
call fcn.004052f0
ret

Function at 0x5fb28c
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
mov ebx, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
call fcn.004058f8
lea eax, [ebp - 8]
call fcn.004058f8
xor eax, eax
push ebp
push 0x5fb36c
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00409fd8
test eax, eax
je 0x5fb342
mov eax, dword [0x6e39dc]
cmp byte [eax], 0
je 0x5fb303
xor bl, 1
neg bl
sbb eax, eax
push eax
mov eax, dword [ebp - 8]
call fcn.00405538
push eax
mov eax, dword [ebp - 4]
call fcn.00405538
push eax
call sub.kernel32.dll_CopyFileW
cmp eax, 1
sbb eax, eax
inc eax
mov ebx, eax
jmp 0x5fb344
xor bl, 1
neg bl
sbb eax, eax
push eax
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.00404e54
mov eax, dword [ebp - 0xc]
call fcn.0040508c
push eax
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 4]
call fcn.00404e54
mov eax, dword [ebp - 0x10]
call fcn.0040508c
push eax
call sub.kernel32.dll_CopyFileA
cmp eax, 1
sbb eax, eax
inc eax
mov ebx, eax
jmp 0x5fb344
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5fb373
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00404bc4
lea eax, [ebp - 8]
mov edx, 2
call fcn.004052f0
ret
Function at 0x5fb37c
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push ebx
mov ebx, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
call fcn.004058f8
lea eax, [ebp - 8]
call fcn.004058f8
xor eax, eax
push ebp
push 0x5fb485
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.004972a4
mov eax, dword [ebp - 0x10]
push eax
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 8]
call fcn.005fc390
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0xc]
pop ecx
call fcn.004055b4
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00409fd8
test eax, eax
je 0x5fb45b
mov eax, dword [0x6e39dc]
cmp byte [eax], 0
je 0x5fb41c
xor bl, 1
neg bl
sbb eax, eax
push eax
mov eax, dword [ebp - 0xc]
call fcn.00405538
push eax
mov eax, dword [ebp - 4]
call fcn.00405538
push eax
call sub.kernel32.dll_CopyFileW
cmp eax, 1
sbb eax, eax
inc eax
mov ebx, eax
jmp 0x5fb45d
xor bl, 1
neg bl
sbb eax, eax
push eax
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 0xc]
call fcn.00404e54
mov eax, dword [ebp - 0x18]
call fcn.0040508c
push eax
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 4]
call fcn.00404e54
mov eax, dword [ebp - 0x1c]
call fcn.0040508c
push eax
call sub.kernel32.dll_CopyFileA
cmp eax, 1
sbb eax, eax
inc eax
mov ebx, eax
jmp 0x5fb45d
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5fb48c
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00404bc4
lea eax, [ebp - 0x14]
mov edx, 5
call fcn.004052f0
ret

Function at 0x5fb494
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push ebx
mov ebx, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
call fcn.004058f8
lea eax, [ebp - 8]
call fcn.004058f8
xor eax, eax
push ebp
push 0x5fb59f
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.004972a4
mov eax, dword [ebp - 0x10]
push eax
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 8]
call fcn.005fc390
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0xc]
pop ecx
call fcn.004055b4
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00409fd8
test eax, eax
je 0x5fb575
test bl, bl
jne 0x5fb50c
mov ebx, 2
jmp 0x5fb511
mov ebx, 3
mov eax, dword [0x6e39dc]
cmp byte [eax], 0
je 0x5fb53d
push ebx
mov eax, dword [ebp - 0xc]
call fcn.00405538
push eax
mov eax, dword [ebp - 4]
call fcn.00405538
push eax
call sub.kernel32.dll_MoveFileExW
cmp eax, 1
sbb eax, eax
inc eax
mov ebx, eax
jmp 0x5fb577
push ebx
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 0xc]
call fcn.00404e54
mov eax, dword [ebp - 0x18]
call fcn.0040508c
push eax
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 4]
call fcn.00404e54
mov eax, dword [ebp - 0x1c]
call fcn.0040508c
push eax
call sub.kernel32.dll_MoveFileExA
cmp eax, 1
sbb eax, eax
inc eax
mov ebx, eax
jmp 0x5fb577
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5fb5a6
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00404bc4
lea eax, [ebp - 0x14]
mov edx, 5
call fcn.004052f0
ret