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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59cd00
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x60a070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
xor eax, eax
mov dword [ebp - 0x14], 7
push 0xffffffffffffffff
push eax
lea esi, [edi + 0x4c]
mov dword [ebp - 0x18], 0
push esi
lea ecx, [ebp - 0x28]
mov word [ebp - 0x28], ax
call fcn.00414130
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
call fcn.0047a150
xor eax, eax
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 1
call fcn.00479ef0
lea eax, [ebp - 0x58]
mov edx, 0x5c0e84
push eax
lea ecx, [ebp - 0x70]
call fcn.00432b80
add esp, 4
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.00414250
mov eax, dword [ebp - 0x5c]
cmp eax, 8
jb 0x473419
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.00414580
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
lea edx, [ebp - 0x40]
mov byte [ebp - 4], 3
mov ecx, esi
call fcn.0047a3e0
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x28]
call fcn.0047a1e0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
je 0x4734a5
cmp dword [esi + 0x10], 0
je 0x4734a5
cmp dword [ebp - 0x18], 0
je 0x4734a5
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
cmp dword [esi + 0x14], 8
jb 0x47347c
mov esi, dword [esi]
push eax
push esi
call fcn.0057af90
add esp, 8
test eax, eax
jne 0x4734a5
lea ecx, [edi + 0x98]
lea eax, [ebp - 0x28]
cmp ecx, eax
je 0x4734a1
push 0xffffffffffffffff
push 0
push eax
call fcn.00414130
mov bl, 1
jmp 0x4734a7
xor bl, bl
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x4734bc
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00414580
xor eax, eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x30], 0
cmp eax, 8
jb 0x4734e5
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.00414580
mov ecx, dword [ebp - 0x14]
xor eax, eax
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
cmp ecx, 8
jb 0x47350e
inc ecx
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.00414580
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055eeb4
mov esp, ebp
pop ebp
ret
Function at 0x475ac0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59d080
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x60a070]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
xor eax, eax
mov dword [esi + 0x64], edi
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], eax
call fcn.0047a010
test al, al
je 0x475cbe
xor ecx, ecx
mov dword [ebp - 0x48], 7
push 0xffffffffffffffff
push ecx
lea eax, [esi + 0x34]
mov word [ebp - 0x5c], cx
push eax
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x4c], 0
call fcn.00414130
push str..trace
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 1
call fcn.00413890
lea edx, [ebp - 0x44]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x5c]
call fcn.0047a290
mov byte [ebp - 4], 1
mov bl, al
mov ecx, dword [ebp - 0x30]
cmp ecx, 8
jb 0x475b78
inc ecx
push ecx
push dword [ebp - 0x44]
lea ecx, [ebp - 0x44]
call fcn.00414580
test bl, bl
je 0x475c95
lea edx, [ebp - 0x5c]
lea ecx, [ebp - 0x2c]
call fcn.0047a0a0
test al, al
je 0x475c95
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
jne 0x475bb6
mov dword [esi + 0x64], 0xa
jmp 0x475c95
push str..debug
lea ecx, [ebp - 0x44]
call fcn.00413890
lea edx, [ebp - 0x44]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c]
call fcn.0047a290
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 1
mov bl, al
call fcn.004137d0
test bl, bl
je 0x475bf4
lea ecx, [ebp - 0x2c]
call fcn.00479ff0
test al, al
jne 0x475c89
lea ecx, [ebp - 0x2c]
call fcn.0047a340
test al, al
je 0x475c95
push str.asu.trace
lea ecx, [ebp - 0x44]
call fcn.00413890
lea edx, [ebp - 0x44]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2c]
call fcn.0047a0a0
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 1
mov bl, al
call fcn.004137d0
test bl, bl
je 0x475c95
lea ecx, [ebp - 0x2c]
call fcn.00479ff0
test al, al
je 0x475c47
mov dword [esi + 0x64], 0xa
jmp 0x475c95
lea ecx, [ebp - 0x2c]
call fcn.0047a340
test al, al
je 0x475c95
push str.asu.debug
lea ecx, [ebp - 0x44]
call fcn.00413890
lea edx, [ebp - 0x44]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2c]
call fcn.0047a0a0
lea ecx, [ebp - 0x44]
mov bl, al
call fcn.004137d0
test bl, bl
je 0x475c95
lea ecx, [ebp - 0x2c]
call fcn.00479ff0
test al, al
je 0x475c95
cmp edi, 0x14
jle 0x475c95
mov dword [esi + 0x64], 0x14
mov eax, dword [ebp - 0x48]
cmp eax, 8
jb 0x475caa
inc eax
lea ecx, [ebp - 0x5c]
push eax
push dword [ebp - 0x5c]
call fcn.00414580
xor eax, eax
mov dword [ebp - 0x48], 7
mov dword [ebp - 0x4c], 0
mov word [ebp - 0x5c], ax
mov eax, dword [ebp - 0x18]
cmp eax, 8
jb 0x475cd3
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.00414580
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0055eeb4
mov esp, ebp
pop ebp
ret 4
Function at 0x47a010
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x60a070]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x20c]
mov esi, ecx
push eax
push 0x104
call dword [sym.imp.KERNEL32.DLL_GetTempPathW]
test eax, eax
jne 0x47a04d
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0055eeb4
mov esp, ebp
pop ebp
ret
cmp word [ebp - 0x20c], 0
jne 0x47a05b
xor ecx, ecx
jmp 0x47a073
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x47a064
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
call fcn.00413c10
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.0055eeb4
mov esp, ebp
pop ebp
ret

Function at 0x47a500
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2010
call fcn.005604e0
mov eax, dword [0x60a070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, edx
xor edx, edx
cmp dword [ecx + 0x14], 8
push edi
mov dword [ebp - 0x200c], edx
jb 0x47a52c
mov ecx, dword [ecx]
mov ebx, dword [sym.imp.KERNEL32.DLL_CreateFileW]
push 0
push 0x80
push 3
push 0
push 3
push 0xc0000000
push ecx
call ebx
cmp dword [esi + 0x14], 8
mov edi, eax
jb 0x47a551
mov esi, dword [esi]
push 0
push 0x80
push 4
push 0
push 0
push 0x40000000
push esi
call ebx
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x47a587
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0055eeb4
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.KERNEL32.DLL_GetLastError]
nop dword [eax]
push 0
lea eax, [ebp - 0x2008]
push eax
push 0x1000
lea eax, [ebp - 0x2004]
push eax
push edi
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
je 0x47a5cf
push 0
lea eax, [ebp - 0x2010]
push eax
push dword [ebp - 0x2008]
lea eax, [ebp - 0x2004]
push eax
push ebx
call dword [sym.imp.KERNEL32.DLL_WriteFile]
jmp 0x47a5d7
call esi
mov dword [ebp - 0x200c], eax
cmp dword [ebp - 0x2008], 0x1000
je 0x47a590
mov esi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
push edi
call esi
push ebx
call esi
mov edx, dword [ebp - 0x200c]
xor eax, eax
mov ecx, dword [ebp - 4]
test edx, edx
pop edi
sete al
xor ecx, ebp
pop esi
pop ebx
call fcn.0055eeb4
mov esp, ebp
pop ebp
ret
Function at 0x47a610
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59d468
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x60a070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea edi, [esi + 0x4c]
xor bl, bl
cmp dword [edi + 0x14], 8
jb 0x47a64c
mov eax, dword [edi]
jmp 0x47a64e
mov eax, edi
push 0
push 0x80
push 3
push 0
push 3
push SysReAllocStringLen
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov dword [ebp - 0x3c], eax
cmp eax, 0xffffffff
jne 0x47a676
xor al, al
jmp 0x47a73e
lea ecx, [ebp - 0x38]
push ecx
push eax
call dword [sym.imp.KERNEL32.DLL_GetFileSizeEx]
test eax, eax
je 0x47a695
mov eax, dword [ebp - 0x38]
mov bl, 1
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x2c], eax
jmp 0x47a6a1
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x30], eax
push dword [ebp - 0x3c]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
test bl, bl
je 0x47a73c
cmp dword [ebp - 0x2c], 0
jl 0x47a73c
jg 0x47a6c7
cmp dword [ebp - 0x30], 0xa00000
jb 0x47a73c
mov eax, dword [esi + 0x68]
lea ebx, [esi + 0x68]
test eax, eax
je 0x47a6d8
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
xor eax, eax
mov dword [ebp - 0x14], 7
push 0xffffffffffffffff
push eax
push edi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00414130
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
call fcn.004f1b20
lea edx, [ebp - 0x28]
mov ecx, edi
call fcn.0047a500
test al, al
je 0x47a71c
mov ecx, esi
call fcn.00473680
mov eax, dword [esi]
mov ecx, esi
push ebx
mov eax, dword [eax]
call eax
mov ecx, dword [ebp - 0x14]
mov bl, al
cmp ecx, 8
jb 0x47a73c
inc ecx
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.00414580
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055eeb4
mov esp, ebp
pop ebp
ret 4

Function at 0x47a760
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x47a7ae
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_CreateMutexW]
mov dword [esi], eax
test eax, eax
jne 0x47a7ab
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 5
jne 0x47a7ab
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_OpenMutexW]
mov dword [esi], eax
cmp dword [esi], 0
mov ecx, dword [ebp + 0x1c]
setne bl
cmp ecx, 8
jb 0x47a7c6
inc ecx
push ecx
push dword [ebp + 8]
lea ecx, [ebp + 8]
call fcn.00414580
pop esi
mov al, bl
pop ebx
pop ebp
ret 0x18
Function at 0x47ae60
Capabilities:
Create directory

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x14], 8
jb 0x47ae6d
mov eax, dword [esi]
jmp 0x47ae6f
mov eax, esi
push 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
test eax, eax
je 0x47aeb6
cmp eax, 0xb7
je 0x47aeb6
cmp eax, 0x50
je 0x47aeb6
cmp dword [esi + 0x14], 8
jb 0x47ae92
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push str.Unable_to_create_directoryPath_...Error_Code_is:__d_._At_desired_location:_s
push str.Utilities
call fcn.004ebad0
push eax
call fcn.004ec870
add esp, 0x14
xor al, al
pop esi
ret
mov al, 1
pop esi
ret

Function at 0x47aec0
Capabilities:
Check if file exists
Delete file
Get file attributes
Set file attributes

Disassembly:
push ecx
push ebx
push esi
mov esi, ecx
mov bh, dl
cmp dword [esi + 0x14], 8
jb 0x47aed1
mov eax, dword [esi]
jmp 0x47aed3
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x47af09
cmp dword [esi + 0x14], 8
jb 0x47aee6
mov esi, dword [esi]
push esi
push str.File__s_does_not_exist
push str.Utilities
push ecx
call fcn.004ebad0
add esp, 4
push eax
call fcn.004ec6c0
add esp, 0x10
mov al, 1
pop esi
pop ebx
pop ecx
ret
cmp dword [esi + 0x14], 8
jb 0x47af13
mov eax, dword [esi]
jmp 0x47af15
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
cmp eax, 1
sete bl
test bl, bl
jne 0x47afdc
test bh, bh
je 0x47afb4
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 5
jne 0x47afb4
cmp dword [esi + 0x14], 8
jb 0x47af47
mov eax, dword [esi]
jmp 0x47af49
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
mov ecx, eax
test cl, 1
je 0x47af8e
cmp dword [esi + 0x14], 8
jb 0x47af61
mov eax, dword [esi]
jmp 0x47af63
mov eax, esi
push 0x80
push eax
call dword [sym.imp.KERNEL32.DLL_SetFileAttributesW]
cmp dword [esi + 0x14], 8
jb 0x47af79
mov eax, dword [esi]
jmp 0x47af7b
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
cmp eax, 1
sete bl
test bl, bl
jne 0x47afdc
jmp 0x47afb4
cmp dword [esi + 0x14], 8
jb 0x47af98
mov eax, dword [esi]
jmp 0x47af9a
mov eax, esi
push ecx
push eax
push str.File__s_is_not_read_only._Its_attribute_is:__d
push str.Utilities
call fcn.004ebad0
push eax
call fcn.004ec7e0
add esp, 0x14
cmp dword [esi + 0x14], 8
jb 0x47afbc
mov esi, dword [esi]
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push esi
push str.Failed_to_delete_file:__s_LastError:_d
push str.Utilities
call fcn.004ebad0
push eax
call fcn.004ec900
add esp, 0x14
pop esi
mov al, bl
pop ebx
pop ecx
ret

Function at 0x47b170
Capabilities:
Check if file exists

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x14], 8
jb 0x47b17d
mov eax, dword [esi]
jmp 0x47b17f
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x47b1b3
cmp dword [esi + 0x14], 8
jb 0x47b192
mov esi, dword [esi]
push esi
push str.File__s_does_not_exist
push str.Utilities
push ecx
call fcn.004ebad0
add esp, 4
push eax
call fcn.004ec6c0
add esp, 0x10
xor al, al
pop esi
ret
mov al, 1
pop esi
ret
Function at 0x47b1c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push edi
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0
push 0
push 0x5a67b0
mov esi, ecx
call dword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
js 0x47b230
mov edx, dword [ebp - 4]
cmp word [edx], 0
jne 0x47b204
xor ecx, ecx
push ecx
push edx
mov ecx, esi
call fcn.00413c10
mov al, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, edx
lea edi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x47b210
sub ecx, edi
sar ecx, 1
push ecx
push edx
mov ecx, esi
call fcn.00413c10
mov al, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push str.Unable_to_retreive_Local_App_Data_Path_from_Win_library__error_occured__:__d
push str.Utilities
push ecx
call fcn.004ebad0
add esp, 4
push eax
call fcn.004ec900
add esp, 0x10
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x47b260
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push edi
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0
push 0
push 0x5a67c0
mov esi, ecx
call dword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
js 0x47b2d0
mov edx, dword [ebp - 4]
cmp word [edx], 0
jne 0x47b2a4
xor ecx, ecx
push ecx
push edx
mov ecx, esi
call fcn.00413c10
mov al, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, edx
lea edi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x47b2b0
sub ecx, edi
sar ecx, 1
push ecx
push edx
mov ecx, esi
call fcn.00413c10
mov al, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push str.Unable_to_retreive_Local_App_Data_Path_from_Win_library__error_occured__:__d
push str.Utilities
push ecx
call fcn.004ebad0
add esp, 4
push eax
call fcn.004ec900
add esp, 0x10
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x47b5e0
Capabilities:
Check if file exists
Copy file
Set file attributes

Disassembly:
push esi
push edi
mov edi, ecx
mov esi, edx
cmp dword [edi + 0x14], 8
jb 0x47b5f0
mov eax, dword [edi]
jmp 0x47b5f2
mov eax, edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x47b63f
cmp dword [edi + 0x14], 8
jb 0x47b605
mov edi, dword [edi]
push edi
push str.File__s_does_not_exist
push str.Utilities
push ecx
call fcn.004ebad0
add esp, 4
push eax
call fcn.004ec6c0
add esp, 0x10
push str.Source_file_does_not_exist_in_utilCopySrcFileToDstFile
push str.Utilities
call fcn.004ebad0
push eax
call fcn.004ec900
add esp, 0xc
xor al, al
pop edi
pop esi
ret
mov dl, 1
mov ecx, esi
call fcn.0047aec0
test al, al
je 0x47b63a
cmp dword [esi + 0x14], 8
jb 0x47b656
mov eax, dword [esi]
jmp 0x47b658
mov eax, esi
cmp dword [edi + 0x14], 8
jb 0x47b660
mov edi, dword [edi]
push 0
push eax
push edi
call dword [sym.imp.KERNEL32.DLL_CopyFileW]
test eax, eax
setne al
test al, al
jne 0x47b6a0
cmp dword [esi + 0x14], 8
jb 0x47b67b
mov esi, dword [esi]
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push esi
push str.Failed_to_copy_file_at_the_destination:_s._LastError:__d
push str.Utilities
call fcn.004ebad0
push eax
call fcn.004ec900
add esp, 0x14
xor al, al
pop edi
pop esi
ret
mov ecx, esi
call fcn.0047b3c0
cmp dword [esi + 0x14], 8
jb 0x47b6af
mov esi, dword [esi]
push 0x80
push esi
call dword [sym.imp.KERNEL32.DLL_SetFileAttributesW]
pop edi
mov al, 1
pop esi
ret
Function at 0x47b6c0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59d1f0
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x60a070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], eax
mov word [ebp - 0x28], ax
lea edx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.0047ac70
test al, al
jne 0x47b740
push str.Failed_to_convert_path_to_wide_char
push str.Utilities
call fcn.004ebad0
push eax
call fcn.004ec7e0
add esp, 0xc
xor bl, bl
jmp 0x47b81b
lea edx, [ebp - 0x28]
mov ecx, esi
call fcn.0047ac70
test al, al
je 0x47b721
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsFileSpecW]
test eax, eax
je 0x47b791
mov dl, 1
lea ecx, [ebp - 0x28]
call fcn.0047aec0
test al, al
jne 0x47b791
push str.Failed_to_remove_remains_of_the_installation
push str.Utilities
call fcn.004ebad0
push eax
call fcn.004ec900
add esp, 0xc
xor bl, bl
jmp 0x47b81b
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
lea eax, [ebp - 0x40]
cmovae ecx, dword [ebp - 0x28]
cmp dword [ebp - 0x2c], 8
push ecx
cmovae eax, dword [ebp - 0x40]
push eax
push str.Backup_File__ls_Source_File_:_ls
push str.Utilities
call fcn.004ebad0
push eax
call fcn.004ec7e0
add esp, 0x14
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x40]
cmovae ecx, dword [ebp - 0x28]
cmp dword [ebp - 0x2c], 8
push ecx
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.0057af90
add esp, 8
test eax, eax
je 0x47b801
push str.Failed_to_Restore_the_Backup_File
push str.Utilities
call fcn.004ebad0
push eax
call fcn.004ec990
add esp, 0xc
xor bl, bl
jmp 0x47b81b
push str.Backup_Folder_is_restored_to_original_File
push str.Utilities
call fcn.004ebad0
push eax
call fcn.004ec7e0
add esp, 0xc
mov bl, 1
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x47b830
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00414580
mov ecx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
cmp ecx, 8
jb 0x47b859
inc ecx
push ecx
push dword [ebp - 0x40]
lea ecx, [ebp - 0x40]
call fcn.00414580
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055eeb4
mov esp, ebp
pop ebp
ret
Function at 0x482530
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, edx
xor esi, esi
mov ebx, ecx
test edi, edi
jle 0x48255d
nop dword [eax]
movzx eax, byte [ebx]
lea ecx, [esi*8]
dec edi
lea ebx, [ebx + 1]
movzx edx, byte [eax + 0x5bb7d0]
xor edx, ecx
xor esi, edx
test edi, edi
jg 0x482540
pop edi
mov eax, esi
pop esi
pop ebx
ret

Function at 0x4825e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, edx
mov ebx, ecx
mov ecx, 0x80
mov dword [ebp - 4], ebx
push edi
lea eax, [esi*8]
cmp eax, 0x400
cmova esi, ecx
cmp esi, dword [ebx]
jne 0x482611
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x614ab8]
test eax, eax
je 0x48261c
call eax
lea eax, [esi*8]
push eax
call fcn.0047e7c0
mov ecx, dword [0x614abc]
add esp, 4
mov esi, eax
mov dword [ebp - 0xc], esi
test ecx, ecx
je 0x48263d
call ecx
test esi, esi
je 0x482608
push dword [ebx + 0xc]
call fcn.0047eac0
add esp, 4
mov dword [ebx + 0xc], esi
push esi
call dword [0x60ba38]
shr eax, 3
add esp, 4
mov dword [ebp - 8], eax
mov dword [ebx], eax
lea ecx, [eax*8]
push ecx
push 0
push esi
call fcn.00562b20
mov ecx, dword [ebx + 8]
add esp, 0xc
mov dword [ebx + 8], 0
test ecx, ecx
je 0x482720
mov esi, dword [ecx + 0x10]
xor edi, edi
mov ebx, dword [ecx + 0xc]
test esi, esi
jle 0x4826af
movzx eax, byte [ebx]
lea ebx, [ebx + 1]
dec esi
movzx edx, byte [eax + 0x5bb7d0]
lea eax, [edi*8]
xor edx, eax
xor edi, edx
test esi, esi
jg 0x482692
xor edx, edx
mov ebx, dword [ecx]
mov eax, edi
div dword [ebp - 8]
mov eax, dword [ebp - 0xc]
lea esi, [eax + edx*8]
test esi, esi
je 0x4826fa
mov eax, dword [esi]
test eax, eax
je 0x4826cd
mov edx, dword [esi + 4]
jmp 0x4826cf
xor edx, edx
inc eax
mov dword [esi + 4], ecx
mov dword [esi], eax
test edx, edx
je 0x4826fa
mov dword [ecx], edx
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
mov eax, dword [edx + 4]
test eax, eax
je 0x4826ef
mov dword [eax], ecx
mov dword [edx + 4], ecx
jmp 0x482716
mov eax, dword [ebp - 4]
mov dword [eax + 8], ecx
mov dword [edx + 4], ecx
jmp 0x482716
mov edx, dword [ebp - 4]
mov eax, dword [edx + 8]
mov dword [ecx], eax
mov eax, dword [edx + 8]
test eax, eax
je 0x48270c
mov dword [eax + 4], ecx
mov dword [ecx + 4], 0
mov dword [edx + 8], ecx
mov ecx, ebx
test ebx, ebx
jne 0x482686
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret