joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001d0c0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x10104610]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
push 0x22c
lea eax, [ebp - 0x230]
push 0
push eax
call fcn.100b5b30
add esp, 0xc
push 0
push 2
mov dword [ebp - 0x230], 0x22c
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
lea ecx, [ebp - 0x230]
mov edi, eax
push ecx
push edi
mov bl, 1
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
cmp eax, 1
jne 0x1001d1ff
push esi
mov esi, dword [sym.imp.KERNEL32.dll_Process32NextW]
mov ecx, str.PDapp.exe
lea eax, [ebp - 0x20c]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1001d156
test dx, dx
je 0x1001d152
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1001d156
add eax, 4
add ecx, 4
test dx, dx
jne 0x1001d130
xor eax, eax
jmp 0x1001d15b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x1001d173
lea edx, [ebp - 0x230]
push edx
push edi
call esi
cmp eax, 1
je 0x1001d121
jmp 0x1001d1fe
mov eax, dword [ebp - 0x228]
push eax
push 0
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x1001d1d9
push 0xffffffffffffffff
push str.PDapp.exe
push str.Waiting_for_the_process__s_to_complete__terminate__with_timeout:__lu_milliSeconds
call fcn.10006700
mov ecx, 0x100de6c0
call fcn.10006d50
add esp, 0xc
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push str.PDapp.exe
push str.Process__s_is_terminated._Now_procceding_AAM_Uninstallation
call fcn.10006700
mov ecx, 0x100de6c0
call fcn.10006d50
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1001d1fe
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.PDapp.exe
push str.Some_error_occured_in_getting_the_handle_for_the_process__s._Error:__d
call fcn.10006700
mov ecx, 0x100de6c0
call fcn.10006de0
add esp, 0xc
xor bl, bl
pop esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
mov al, bl
xor ecx, ebp
pop ebx
call fcn.100afa0c
mov esp, ebp
pop ebp
ret
Function at 0x1001e540
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d0158
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x10104610]
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 eax, dword [ebp + 8]
xor esi, esi
xor ecx, ecx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], esi
mov word [ebp - 0x2c], cx
lea edx, [ebp - 0x2c]
push edx
push eax
mov dword [ebp - 4], esi
call fcn.10028f60
add esp, 8
test al, al
jne 0x1001e5c9
push str.utilCreateDirectoryPath
push str.Unable_to_convert_path_to_widechar:_s
call fcn.10006700
mov ecx, 0x100d9d70
call fcn.10006ac0
add esp, 8
cmp dword [ebp - 0x18], 8
jb 0x1001e5c2
mov eax, dword [ebp - 0x2c]
push eax
call fcn.100afa01
add esp, 4
xor al, al
jmp 0x1001e67a
mov eax, dword [ebp - 0x2c]
mov edi, 8
cmp dword [ebp - 0x18], edi
jae 0x1001e5d9
lea eax, [ebp - 0x2c]
mov ebx, dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push esi
push eax
push esi
call ebx
cmp byte [ebp + 0xc], 0
mov esi, eax
je 0x1001e632
cmp esi, 5
jne 0x1001e632
cmp dword [ebp - 0x18], edi
mov edi, dword [ebp - 0x2c]
jae 0x1001e5fc
lea edi, [ebp - 0x2c]
call fcn.1002a8f0
test al, al
je 0x1001e643
push edi
call fcn.10006700
mov ecx, str.ACQUIRED_PERMISSION:_for_folder_file__s
call fcn.10006d80
mov eax, dword [ebp - 0x2c]
add esp, 4
cmp dword [ebp - 0x18], 8
jae 0x1001e624
lea eax, [ebp - 0x2c]
push 0
push eax
push 0
call ebx
mov esi, eax
mov edi, 8
test esi, esi
je 0x1001e667
cmp esi, 0xb7
je 0x1001e667
cmp esi, 0x50
je 0x1001e667
push esi
push str.Unable_to_create_directoryPath_at_desired_location._ErrorCode:__d
call fcn.10006700
mov ecx, 0x100d9d70
call fcn.10006ac0
add esp, 8
lea esi, [ebp - 0x2c]
call fcn.10001790
xor al, al
jmp 0x1001e67a
cmp dword [ebp - 0x18], edi
jb 0x1001e678
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.100afa01
add esp, 4
mov al, 1
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.100afa0c
mov esp, ebp
pop ebp
ret
Function at 0x1001e740
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d0128
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x10104610]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor esi, esi
xor ecx, ecx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], esi
mov word [ebp - 0x2c], cx
lea edx, [ebp - 0x2c]
push edx
push eax
mov dword [ebp - 4], esi
call fcn.10028f60
add esp, 8
test al, al
jne 0x1001e7c2
push str.Path_Conversion_to_UTF_8_failed.
call fcn.10006700
mov ecx, 0x100d9d70
call fcn.10006ac0
add esp, 4
cmp dword [ebp - 0x18], 8
jb 0x1001e7bb
mov eax, dword [ebp - 0x2c]
push eax
call fcn.100afa01
add esp, 4
xor al, al
jmp 0x1001e86c
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x3c], esi
mov esi, 8
cmp dword [ebp - 0x18], esi
jae 0x1001e7e4
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x40]
push ecx
lea edx, [ebp - 0x48]
push edx
lea ecx, [ebp - 0x38]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
jne 0x1001e82e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_get_disk_Space_error_:_d
call fcn.10006700
mov ecx, 0x100d9d70
call fcn.10006b20
add esp, 8
cmp dword [ebp - 0x18], esi
jb 0x1001e7bb
mov edx, dword [ebp - 0x2c]
push edx
call fcn.100afa01
add esp, 4
xor al, al
jmp 0x1001e86c
mov eax, dword [ebp - 0x34]
cmp eax, dword [ebp + 0x10]
ja 0x1001e859
jb 0x1001e840
mov ecx, dword [ebp - 0x38]
cmp ecx, dword [ebp + 0xc]
jae 0x1001e859
push str.Not_Enough_disk_space_on_System.
call fcn.10006700
mov ecx, 0x100d9d70
call fcn.10006b50
add esp, 4
jmp 0x1001e819
cmp dword [ebp - 0x18], esi
jb 0x1001e86a
mov eax, dword [ebp - 0x2c]
push eax
call fcn.100afa01
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100afa0c
mov esp, ebp
pop ebp
ret
Function at 0x1001f8e0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d0e28
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x10104610]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
xor ecx, ecx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], cx
lea edx, [ebp - 0x2c]
push edx
push eax
mov dword [ebp - 4], ebx
call fcn.10028f60
add esp, 8
test al, al
jne 0x1001f95f
push 0x100e0584
call fcn.10006700
mov ecx, 0x100d9d70
call fcn.10006b20
add esp, 4
cmp dword [ebp - 0x18], 8
jb 0x1001f95b
mov eax, dword [ebp - 0x2c]
push eax
call fcn.100afa01
add esp, 4
xor al, al
jmp 0x1001f9a5
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x1001f96b
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1001f98f
push str.File_does_not_exist
call fcn.10006700
mov ecx, str.Utilities
call fcn.10006d80
add esp, 4
jmp 0x1001f991
mov bl, 1
cmp dword [ebp - 0x18], 8
jb 0x1001f9a3
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.100afa01
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100afa0c
mov esp, ebp
pop ebp
ret
Function at 0x1001fda0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x10104610]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push 0
push 0x1c
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x1001fdfb
push str.utilGetPDAppUSFTemp
push str.Unable_to_retreive_Local_App_Data_Path_from_Win_library:_s
call fcn.10006700
mov ecx, 0x100d9d70
call fcn.10006b20
add esp, 8
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100afa0c
mov esp, ebp
pop ebp
ret
push esi
push edi
lea edi, [ebp - 0x20c]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x1001fe06
mov ecx, 0xb
mov esi, str.AdobeOOBEPDApptemp_
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x20c]
movsw word es:[edi], word [esi]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1001fe30
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x20c]
mov esi, ebx
call fcn.10001b60
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov al, 1
pop ebx
call fcn.100afa0c
mov esp, ebp
pop ebp
ret
Function at 0x10021410
Capabilities:
Check if file exists
Copy file
Delete file
Set file attributes

Disassembly:
push ecx
cmp dword [edi + 0x14], 8
push ebx
push esi
mov esi, eax
jb 0x1002141f
mov eax, dword [edi]
jmp 0x10021421
mov eax, edi
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push eax
call ebx
test eax, eax
jne 0x10021462
push str.File_does_not_exist
call fcn.10006700
mov ecx, str.Utilities
call fcn.10006d80
add esp, 4
push str.Src_file_does_not_exist_in_utilCopySrcFileToDstFile_n
call fcn.10006700
mov ecx, 0x100d9d70
call fcn.10006b20
add esp, 4
xor al, al
pop esi
pop ebx
pop ecx
ret
cmp dword [esi + 0x14], 8
jb 0x1002146c
mov eax, dword [esi]
jmp 0x1002146e
mov eax, esi
push eax
call ebx
test eax, eax
jne 0x1002149a
push str.File_does_not_exist
call fcn.10006700
mov ecx, str.Utilities
call fcn.10006d80
add esp, 4
mov ebx, 8
cmp dword [esi + 0x14], ebx
jb 0x100214d2
mov ecx, dword [esi]
jmp 0x100214d4
mov ebx, 8
cmp dword [esi + 0x14], ebx
jb 0x100214a8
mov eax, dword [esi]
jmp 0x100214aa
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x10021491
push str.Failed_to_remove_the_existing_file_in_utilCopySrcFileToDstFile_n
call fcn.10006700
mov ecx, 0x100d9d70
call fcn.10006b20
add esp, 4
xor al, al
pop esi
pop ebx
pop ecx
ret
mov ecx, esi
cmp dword [edi + 0x14], ebx
jb 0x100214dd
mov eax, dword [edi]
jmp 0x100214df
mov eax, edi
push 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
setne al
test al, al
jne 0x10021516
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_copy_file_at_the_destination:_d_n
call fcn.10006700
mov ecx, 0x100d9d70
call fcn.10006b20
add esp, 8
xor al, al
pop esi
pop ebx
pop ecx
ret
mov eax, esi
call fcn.1002a170
cmp dword [esi + 0x14], ebx
jb 0x10021524
mov esi, dword [esi]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
pop esi
mov al, 1
pop ebx
pop ecx
ret
Function at 0x10021b10
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x10104610]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x11c
lea eax, [ebp - 0x120]
push 0
push eax
call fcn.100b5b30
add esp, 0xc
lea ecx, [ebp - 0x120]
push ecx
mov dword [ebp - 0x120], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x10021b85
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Unable_to_determine_OS_version_info._GetLastError_____ld
call fcn.10006700
mov ecx, str.PIM_AAMDeploymentValidation
call fcn.10006e10
add esp, 8
mov eax, 0xfffffc19
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100afa0c
mov esp, ebp
pop ebp
ret
movzx edx, word [ebp - 0xc]
mov eax, dword [ebp - 0x118]
mov ecx, dword [ebp - 0x11c]
push edx
push eax
push ecx
push str.Current_Major_Version___ld_Current_Minor_Version___ld__Current_service_pack_Version_:_ld
call fcn.10006700
mov ecx, str.PIM_AAMDeploymentValidation
call fcn.10006d80
mov eax, dword [ebp - 0x11c]
add esp, 0x10
cmp eax, 5
jae 0x10021be7
push 5
push eax
push str.current_major_version:_lu_is_less_than_required__major_version_:_lu
call fcn.10006700
mov ecx, str.PIM_AAMDeploymentValidation
call fcn.10006de0
add esp, 0xc
mov eax, 0xfffffffb
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100afa0c
mov esp, ebp
pop ebp
ret
jne 0x10021c17
mov eax, dword [ebp - 0x118]
cmp eax, 1
jae 0x10021bfe
push 1
push eax
push str.current_minor_version:_lu_is_less_than_required__minor_version_:_lu
jmp 0x10021bc2
jne 0x10021c17
cmp word [ebp - 0xc], 2
jae 0x10021c17
mov edx, dword [ebp - 0x114]
push 2
push edx
push str.current_build_version:_lu_is_less_than_required__build_version_:_lu
jmp 0x10021bc2
push str.Current_OS_version_is_supported
call fcn.10006700
mov ecx, str.PIM_AAMDeploymentValidation
call fcn.10006d80
mov ecx, dword [ebp - 4]
xor ecx, ebp
add esp, 4
xor eax, eax
call fcn.100afa0c
mov esp, ebp
pop ebp
ret
Function at 0x10022300
Capabilities:
Check if file exists
Move file

Disassembly:
push ebx
push esi
mov esi, ecx
cmp dword [esi + 0x10], 0
push edi
mov edi, eax
je 0x100223f6
cmp dword [edi + 0x10], 0
je 0x100223f6
mov ebx, 8
cmp dword [esi + 0x14], ebx
jb 0x10022329
mov eax, dword [esi]
jmp 0x1002232b
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x10022371
cmp dword [esi + 0x14], ebx
jb 0x1002233f
mov eax, dword [esi]
jmp 0x10022341
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10022371
cmp dword [esi + 0x14], ebx
jb 0x10022353
mov esi, dword [esi]
push esi
push str.src_File:_ls_does_not_exists_in_utilMovePathIfExistsToPath
call fcn.10006700
mov ecx, 0x100d9d14
call fcn.10006d80
add esp, 8
mov al, 1
pop edi
pop esi
pop ebx
ret
cmp dword [edi + 0x14], ebx
jb 0x1002237a
mov ecx, dword [edi]
jmp 0x1002237c
mov ecx, edi
cmp dword [esi + 0x14], ebx
jb 0x10022385
mov eax, dword [esi]
jmp 0x10022387
mov eax, esi
push 2
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x100223c9
cmp dword [edi + 0x14], ebx
jb 0x1002239c
mov edi, dword [edi]
cmp dword [esi + 0x14], ebx
jb 0x100223a3
mov esi, dword [esi]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
push esi
push str.Failed_to_Move_srcPath:_ls_destPath:_ls_error_:_d
call fcn.10006700
mov ecx, 0x100d9d14
call fcn.10006de0
add esp, 0x10
xor al, al
pop edi
pop esi
pop ebx
ret
cmp dword [edi + 0x14], ebx
jb 0x100223d0
mov edi, dword [edi]
cmp dword [esi + 0x14], ebx
jb 0x100223d7
mov esi, dword [esi]
push edi
push esi
push str.Successfully_moved_from__ls_to__ls
call fcn.10006700
mov ecx, 0x100d9d14
call fcn.10006d20
add esp, 0xc
mov al, 1
pop edi
pop esi
pop ebx
ret
push str.Invalid_arguments_to_utilMovePathIfExistsToPath
call fcn.10006700
mov ecx, 0x100d9d14
call fcn.10006db0
add esp, 4
pop edi
pop esi
xor al, al
pop ebx
ret
Function at 0x10022420
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTempPathW]
push esi
push edi
push 0
push 0
call ebx
mov esi, eax
test esi, esi
jne 0x1002245d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_get_temp_Path_error:_d
call fcn.10006700
mov ecx, 0x100d9d14
call fcn.10006de0
add esp, 8
xor al, al
pop edi
pop esi
pop ebx
pop ebp
ret
lea eax, [esi + esi + 2]
push eax
call fcn.100b004f
mov edi, eax
add esp, 4
test edi, edi
jne 0x10022495
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_allocate_memory_error:_d
call fcn.10006700
mov ecx, 0x100d9d14
call fcn.10006e10
add esp, 8
xor al, al
pop edi
pop esi
pop ebx
pop ebp
ret
push edi
push esi
call ebx
test eax, eax
jne 0x100224c8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_get_temp_Path_error:_d
call fcn.10006700
mov ecx, 0x100d9d14
call fcn.10006de0
push edi
call fcn.100b0326
add esp, 0xc
xor al, al
pop edi
pop esi
pop ebx
pop ebp
ret
mov eax, edi
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x100224d0
mov esi, dword [ebp + 8]
sub eax, edx
sar eax, 1
push eax
mov eax, edi
call fcn.10001b60
push edi
call fcn.100b0326
add esp, 4
pop edi
pop esi
mov al, 1
pop ebx
pop ebp
ret

Function at 0x100225e0
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x10104610]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0
push 0x26
lea eax, [ebp - 0x210]
push eax
push 0
mov esi, ecx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x1002263c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Unable_to_retreive_drivePath__from_Win_library_error:_d
call fcn.10006700
mov ecx, 0x100d9d14
call fcn.10006de0
add esp, 8
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100afa0c
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x210]
push 0x100d99f4
push ecx
call fcn.100b06f9
add esp, 8
test eax, eax
je 0x100226ae
push str.drivePath_retreived
call fcn.10006700
mov ecx, 0x100d9d14
call fcn.10006d80
lea eax, [ebp - 0x210]
add esp, 4
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10022674
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x210]
call fcn.10001b60
push 1
push 0x100d99f4
mov eax, esi
call fcn.10001a30
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100afa0c
mov esp, ebp
pop ebp
ret
push str.Failed_to_get_drivePath
call fcn.10006700
mov ecx, 0x100d9d14
call fcn.10006de0
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
xor al, al
pop esi
call fcn.100afa0c
mov esp, ebp
pop ebp
ret
Function at 0x10023350
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d1278
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x10104610]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], ax
lea ecx, [ebp - 0x2c]
push ecx
mov dword [ebp - 4], ebx
call fcn.10022420
add esp, 4
test al, al
jne 0x100233be
push str.Failed_to_contruct_temp_path_to_construct_the_marker_file_path
call fcn.10006700
mov ecx, 0x100d9d14
call fcn.10006de0
add esp, 4
lea esi, [ebx + 8]
jmp 0x1002346f
xor edx, edx
push 1
mov eax, 0x100d99f4
lea esi, [ebp - 0x48]
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], dx
call fcn.10001b60
mov eax, esi
push eax
mov edx, str.asuap.txt
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 1
call fcn.10002000
add esp, 4
push 0xffffffffffffffff
push ebx
push eax
lea esi, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.10001930
mov esi, 8
cmp dword [ebp - 0x50], esi
jb 0x1002341a
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.100afa01
add esp, 4
xor edx, edx
mov byte [ebp - 4], bl
mov dword [ebp - 0x50], 7
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], dx
cmp dword [ebp - 0x34], esi
jb 0x1002343e
mov eax, dword [ebp - 0x48]
push eax
call fcn.100afa01
add esp, 4
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], esi
jae 0x10023449
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1002346d
push str.File_does_not_exist
call fcn.10006700
mov ecx, str.Utilities
call fcn.10006d80
add esp, 4
jmp 0x1002346f
mov bl, 1
cmp dword [ebp - 0x18], esi
jb 0x10023480
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.100afa01
add esp, 4
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.100afa0c
mov esp, ebp
pop ebp
ret

Function at 0x10028d30
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x10104610]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push 0
push 0x1c
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x10028d86
push str.Unable_to_retreive_Local_App_Data_Path_from_Win_library:_n
call fcn.10006700
mov ecx, str.Utilities
call fcn.10006de0
add esp, 4
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100afa0c
mov esp, ebp
pop ebp
ret
push esi
push edi
lea edi, [ebp - 0x20c]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x10028d91
mov ecx, 9
mov esi, str.AdobeOOBEPDApp_
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x20c]
movsw word es:[edi], word [esi]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10028db4
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x20c]
mov esi, ebx
call fcn.10001b60
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov al, 1
pop ebx
call fcn.100afa0c
mov esp, ebp
pop ebp
ret
Function at 0x10028df0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x10104610]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0
push 0x2b
lea eax, [ebp - 0x210]
push eax
push 0
mov esi, ecx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x10028e45
push str.Unable_to_retreive_commonPath:_n
call fcn.10006700
mov ecx, str.Utilities
call fcn.10006de0
add esp, 4
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100afa0c
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x210]
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10028e50
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x210]
call fcn.10001b60
push 6
push 0x100e2618
mov eax, esi
call fcn.10001a30
cmp dword [esi + 0x14], 8
jb 0x10028e81
mov esi, dword [esi]
push esi
push str.ACF_Path_retreived_:_ls_n
call fcn.10006700
mov ecx, str.Utilities
call fcn.10006d50
mov ecx, dword [ebp - 4]
add esp, 8
xor ecx, ebp
mov al, 1
pop esi
call fcn.100afa0c
mov esp, ebp
pop ebp
ret

Function at 0x10029040
Capabilities:
Create directory

Disassembly:
push esi
mov esi, eax
cmp dword [esi + 0x14], 8
jb 0x1002904b
mov eax, dword [esi]
push 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
test eax, eax
je 0x10029091
cmp eax, 0xb7
je 0x10029091
cmp eax, 0x50
je 0x10029091
cmp dword [esi + 0x14], 8
jb 0x1002906e
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
call fcn.10006700
mov ecx, str.Utilities
call fcn.10006db0
add esp, 0xc
xor al, al
pop esi
ret
mov al, 1
pop esi
ret

Function at 0x100290a0
Capabilities:
Check if file exists
Delete file

Disassembly:
push ecx
push ebx
push esi
mov esi, eax
cmp dword [esi + 0x14], 8
jb 0x100290ad
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x100290d5
push str.File_does_not_exist
call fcn.10006700
mov ecx, str.Utilities
call fcn.10006d80
add esp, 4
mov al, 1
pop esi
pop ebx
pop ecx
ret
xor bl, bl
cmp dword [esi + 0x14], 8
jb 0x100290e1
mov eax, dword [esi]
jmp 0x100290e3
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x100290f6
mov bl, 1
mov al, bl
pop esi
pop ebx
pop ecx
ret
cmp dword [esi + 0x14], 8
jb 0x100290fe
mov esi, dword [esi]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push str.Failed_to__delete_directory_at_path:_ls_error:_d_n
call fcn.10006700
mov ecx, str.Utilities
call fcn.10006de0
add esp, 0xc
pop esi
mov al, bl
pop ebx
pop ecx
ret
Function at 0x10029fd0
Capabilities:
Check if file exists

Disassembly:
push ecx
cmp dword [eax + 0x14], 8
jb 0x10029fd9
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10029fff
push str.File_does_not_exist
call fcn.10006700
mov ecx, str.Utilities
call fcn.10006d80
add esp, 4
xor al, al
pop ecx
ret
mov al, 1
pop ecx
ret

Function at 0x1002be90
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
mov ecx, dword [esi]
mov edx, ecx
xor edx, eax
shr ecx, 8
and edx, 0xff
mov edx, dword [edi + edx*4]
xor edx, ecx
movzx ecx, dl
add ecx, dword [esi + 4]
mov dword [esi], edx
mov edx, dword [esi + 8]
imul ecx, ecx, 0x8088405
inc ecx
mov dword [esi + 4], ecx
shr ecx, 0x18
xor ecx, edx
and ecx, 0xff
shr edx, 8
xor edx, dword [edi + ecx*4]
mov dword [esi + 8], edx
ret