joyce8/EMBER2024-capa huggingface dataset:
Function at 0x417610
Capabilities:
Delete file
Move file

Disassembly:
mov eax, 0x4444b4
call fcn.004361ac
push ecx
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x1d8]
lea esi, [edi + 0x1d8]
mov eax, dword [eax - 4]
test eax, eax
jle 0x4177da
mov eax, dword [edi + 0x1cc]
test al, 8
je 0x41767b
mov ecx, esi
call fcn.00406944
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x4177e8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, esi
call fcn.00406944
push eax
push str._Autoup__CPdList::RestoreBackupFiles_Bakcup__Destination___RestoreBackupFiles__s__error_Delete__GetLastError___d_
push 1
call fcn.00408aae
add esp, 0x10
jmp 0x4177e8
test al, 0x20
je 0x41770e
lea eax, [ebp - 0x10]
mov ecx, edi
push eax
call fcn.0040fb41
and dword [ebp - 4], 0
push 1
mov ecx, eax
call fcn.00406944
push eax
mov ecx, esi
call fcn.00406944
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
mov dword [ebp + 8], eax
call fcn.004065ed
cmp dword [ebp + 8], 0
jne 0x4177e8
lea eax, [ebp + 8]
mov ecx, edi
push eax
call fcn.0040fb41
mov edi, eax
mov dword [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, edi
call fcn.00406944
push eax
mov ecx, esi
call fcn.00406944
push eax
push str._Autoup__CPdList::RestoreBackupFiles_Bakcup__Destination___RestoreBackupFiles__s___s__error_Move__GetLastError___d_
push 1
call fcn.00408aae
add esp, 0x14
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004065ed
jmp 0x4177e8
test al, 4
je 0x4177e8
lea eax, [ebp + 8]
mov ecx, edi
push eax
call fcn.00407444
mov ecx, eax
mov dword [ebp - 4], 2
call fcn.00406944
push eax
mov ecx, esi
call fcn.00406944
push eax
push str._Autoup__CPdList::RestoreBackupFiles_Bakcup__Destination___RestoreBackupFiles__s___s_
push 1
call fcn.00408aae
or dword [ebp - 4], 0xffffffff
add esp, 0x10
lea ecx, [ebp + 8]
call fcn.004065ed
lea eax, [ebp - 0x10]
mov ecx, edi
push eax
call fcn.00407444
push 0
mov ecx, eax
mov dword [ebp - 4], 3
call fcn.00406944
push eax
mov ecx, esi
call fcn.00406944
push eax
call fcn.00405b2f
or dword [ebp - 4], 0xffffffff
add esp, 0xc
lea ecx, [ebp - 0x10]
mov dword [ebp + 8], eax
call fcn.004065ed
cmp dword [ebp + 8], 0
jne 0x4177e8
lea eax, [ebp - 0x14]
mov ecx, edi
push eax
call fcn.00407444
mov edi, eax
mov dword [ebp - 4], 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, edi
call fcn.00406944
push eax
mov ecx, esi
call fcn.00406944
push eax
push str._Autoup__CPdList::RestoreBackupFiles_Bakcup__Destination___RestoreBackupFiles__s___s__error_copy__GetLastError___d_
push 1
call fcn.00408aae
add esp, 0x14
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
jmp 0x417704
push str._Autoup__CPdList::RestoreBackupFiles_Bakcup__Destination___failure_to_Get_BackupFiles_length_zero
push 1
call fcn.00408aae
pop ecx
pop ecx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 4
Function at 0x417f29
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x444528
call fcn.004361ac
push ecx
push ecx
and dword [ebp - 0x10], 0
push ebx
mov ebx, ecx
push esi
push edi
cmp dword [ebx], 0
je 0x4180c3
mov esi, ebx
mov edi, ebx
mov eax, dword [esi]
push dword [eax + 0x20]
movzx eax, word [eax + 0xc]
push eax
push dword [ebp - 0x10]
push str._Autoup__CPdList::CopyEngine____m_ppd__d____04x__EngineType:_d_
push 1
call fcn.00408aae
mov ecx, dword [esi]
add esp, 0x14
mov eax, dword [ecx]
call dword [eax + 0x18]
push eax
mov eax, dword [esi]
movzx eax, word [eax + 0xc]
push eax
push dword [ebp - 0x10]
push str._Autoup__CPdList::CopyEngine____m_ppd__d____04x__CopyEngineToSystem:_d_
push 1
call fcn.00408aae
mov ecx, dword [esi]
add esp, 0x14
mov eax, dword [ecx]
call dword [eax + 0x1c]
push eax
mov eax, dword [esi]
movzx eax, word [eax + 0xc]
push eax
push dword [ebp - 0x10]
push str._Autoup__CPdList::CopyEngine____m_ppd__d____04x__CopyEngineToData:_d_
push 1
call fcn.00408aae
mov ecx, dword [esi]
add esp, 0x14
mov eax, dword [ecx]
call dword [eax + 0x20]
push eax
mov eax, dword [esi]
movzx eax, word [eax + 0xc]
push eax
push dword [ebp - 0x10]
push str._Autoup__CPdList::CopyEngine____m_ppd__d____04x__CopyEngineToOnlyNative:_d_
push 1
call fcn.00408aae
mov eax, dword [esi]
xor esi, esi
add esp, 0x14
cmp dword [eax + 0x14], esi
je 0x4180b2
mov ecx, dword [edi]
mov eax, dword [ecx]
call dword [eax + 0x18]
test eax, eax
jne 0x417ffc
mov ecx, dword [edi]
mov eax, dword [ecx]
call dword [eax + 0x1c]
test eax, eax
jne 0x417ffc
mov ecx, dword [edi]
mov eax, dword [ecx]
call dword [eax + 0x20]
test eax, eax
je 0x4180b2
mov eax, dword [edi]
cmp dword [eax + 0x20], esi
je 0x4180a6
cmp dword [eax + 0x24], esi
jne 0x4180a6
push str._Autoup__CPdList::CopyEngine____Brahma_Engine_patch_without_v3pro32e.dll_v3pro32n.dll__or_ASZ_Only__
push 1
call fcn.00408aae
pop ecx
pop ecx
mov ecx, dword [edi]
mov eax, dword [ecx]
call dword [eax + 0x20]
test eax, eax
je 0x418038
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [edi]
mov ecx, ebx
call fcn.0041a6d7
jmp 0x4180ae
mov eax, dword [edi]
lea ecx, [ebp - 0x14]
add eax, 0x1c
push eax
call fcn.004065ac
push str.System
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], esi
call fcn.00406b97
push str.EINFO.CFG
lea ecx, [ebp - 0x14]
call fcn.00406b97
lea ecx, [ebp - 0x14]
call fcn.00406944
push eax
push 0xffffffffffffffff
push str.Newest
push str.E_INFO
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push dword [edi]
mov ecx, ebx
mov esi, eax
call fcn.0041b1e3
push eax
push esi
push dword [edi]
mov ecx, ebx
call fcn.0041a6d7
test eax, eax
je 0x4180d5
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004065ed
jmp 0x4180b2
push eax
mov ecx, ebx
call fcn.0041839c
cmp eax, esi
je 0x4180e1
inc dword [ebp - 0x10]
add edi, 4
mov esi, edi
cmp dword [edi], 0
jne 0x417f4b
push 1
pop eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004065ed
xor eax, eax
jmp 0x4180c6
Function at 0x418f14
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x444664
call fcn.004361ac
sub esp, 0x24
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
lea ecx, [eax + 0x1c]
call fcn.00406944
mov esi, eax
push 0xffffffffffffffff
push esi
lea ecx, [ebp - 0x10]
call fcn.00406579
xor ebx, ebx
push str.System
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], ebx
call fcn.00406b97
lea eax, [ebp - 0x10]
push str.EINFO.CFG
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00406a74
add esp, 0xc
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call fcn.0040656d
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.00406944
push eax
push 0xffffffffffffffff
push str.Newest
push str.E_INFO
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push esi
lea ecx, [ebp + 8]
mov dword [ebp - 0x14], eax
call fcn.0040696a
push str.V3DrEx.dll
lea ecx, [ebp + 8]
call fcn.00406b97
lea ecx, [ebp + 8]
call fcn.00406944
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x41905d
push dword [ebp - 0x14]
push str._Autoup__CPdList::CallDrFunc__Dr_fSetEngineInfo_nNewest_is__d
push 1
call fcn.0040874d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
add esp, 0xc
push str.Dr_fSetEngineInfo
push edi
call esi
cmp eax, ebx
je 0x418fea
push dword [ebp - 0x14]
call eax
pop ecx
push str.Dr_fLoadAndInitEngine
push edi
call esi
cmp eax, ebx
je 0x419056
push 1
push ebx
push ebx
call eax
add esp, 0xc
test eax, eax
je 0x419056
push str.Dr_fGetEngineDateString
push edi
call esi
cmp eax, ebx
je 0x419056
lea ecx, [ebp - 0x30]
push 0x18
push ecx
push ebx
call eax
add esp, 0xc
lea eax, [ebp - 0x30]
push eax
push str._Autoup__CPdList::CallDrFunc__Dr_fGetEngineDateString_:__s
push 1
call fcn.00408aae
lea eax, [ebp - 0x30]
push eax
push dword [0x4502f0]
push dword [0x4502ec]
push 0x80000002
call fcn.00406450
add esp, 0x1c
push str.Dr_fFreeEngine
push edi
call esi
cmp eax, ebx
je 0x419056
call eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call fcn.004065ed
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], bl
call fcn.004065ed
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004065ed
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x419c89
Capabilities:
Move file

Disassembly:
mov eax, 0x444760
call fcn.004361ac
push ecx
push ebx
push esi
push edi
lea ecx, [ebp - 0x10]
call fcn.0040656d
xor esi, esi
cmp dword [ebp + 8], esi
mov dword [ebp - 4], esi
je 0x419d70
mov ebx, dword [ebp + 0xc]
cmp ebx, esi
je 0x419d70
mov edi, dword [ebp + 0x10]
cmp edi, esi
je 0x419d70
mov ecx, dword [0x4629dc]
push 2
lea eax, [ebp + 0xc]
push ebx
push eax
call fcn.00403bb6
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.00406947
and byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.004065ed
push 1
lea ecx, [ebp - 0x10]
call fcn.00406944
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileExA]
push eax
push ebx
call esi
test eax, eax
jne 0x419d24
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [ebp - 0x10]
push ebx
push str._Autoup__CPdList::CopyToDriverFile__Failure_to_Driver_file_MoveFile__s___s__GetLastError___d_
push 1
call fcn.00408aae
add esp, 0x14
xor esi, esi
jmp 0x419d70
push 0
push ebx
push dword [ebp + 8]
call fcn.00405b2f
add esp, 0xc
test eax, eax
jne 0x419d48
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ebx
push dword [ebp + 8]
push str._Autoup__CPdList::CopyToDriverFile__Failure_to_Driver_file_Copy_File__s___s__GetLastError___d_
jmp 0x419d16
push 5
push 0
lea ecx, [ebp - 0x10]
call fcn.00406944
push eax
call esi
or dword [edi + 0x1cc], 0x20
lea eax, [ebp - 0x10]
push eax
lea ecx, [edi + 0x1d8]
call fcn.00406947
push 1
pop esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004065ed
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc
Function at 0x41b1e3
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x4448d8
call fcn.004361ac
sub esp, 0xc
push esi
lea eax, [ebp - 0x10]
push dword [ebp + 8]
push eax
call fcn.0041b299
and dword [ebp - 4], 0
push str.EINFO.CFG
push eax
lea eax, [ebp + 8]
push eax
call fcn.00406a74
add esp, 0xc
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.004065ed
lea ecx, [ebp - 0x18]
call fcn.0040656d
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.0040656d
lea ecx, [ebp + 8]
mov byte [ebp - 4], 4
call fcn.00406944
push eax
push 0xffffffffffffffff
push str.Newest
push str.E_INFO
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov esi, eax
push esi
push str._Autoup__CPdList::GetNewestSZ__nNewest___d
push 1
call fcn.00408aae
add esp, 0xc
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.004065ed
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.004065ed
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004065ed
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 4
Function at 0x41d245
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp - 4]
push esi
xor esi, esi
push eax
push 0x20019
push esi
push str.software_ahnlab_twaupdate
push 0x80000002
mov dword [ebp - 4], esi
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], 4
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x41d2b1
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push esi
push esi
push str.frsvc
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x41d2a8
mov esi, dword [ebp - 8]
push esi
push str._autoup__CPdTWC::IsFirstUpdate__First_update_for_master_without_engine:_d
push 1
call fcn.0040874d
add esp, 0xc
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
leave
ret

Function at 0x41d2b6
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 2
push 0
push str.software_ahnlab_twaupdate
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x41d301
push str.frsvc
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push eax
push str._autoup__CPdTWC::ClearFirstUpdate__delete_frsvc_value_:_d
push 1
call fcn.0040874d
add esp, 0xc
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
leave
ret
Function at 0x41f72b
Capabilities:
Create directory

Disassembly:
push esi
xor esi, esi
push esi
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x41f752
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
sub esi, 0xb7
neg esi
sbb esi, esi
add esi, 5
mov eax, esi
pop esi
ret

Function at 0x41f764
Capabilities:
Check if file exists
Delete directory
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
push esi
push edi
push 0x44d338
xor edi, edi
push dword [ebp + 8]
call fcn.0041f276
pop ecx
mov dword [ebp - 4], eax
test eax, eax
pop ecx
jne 0x41f78f
push 3
pop esi
jmp 0x41f8a7
lea ecx, [ebp - 0x144]
push ebx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x41f84e
mov esi, dword [ebp + 0xc]
test byte [ebp - 0x144], 0x10
je 0x41f808
lea eax, [ebp - 0x118]
push 0x454444
push eax
call fcn.00429950
test eax, eax
je 0x41f82e
lea eax, [ebp - 0x118]
push 0x454440
push eax
call fcn.00429950
test eax, eax
je 0x41f82e
lea eax, [ebp - 0x118]
push eax
push dword [ebp + 8]
call fcn.0041f276
mov edi, eax
pop ecx
test edi, edi
pop ecx
je 0x41f82e
test esi, esi
jle 0x41f826
lea eax, [esi - 1]
push eax
push edi
call fcn.0041f764
pop ecx
pop ecx
jmp 0x41f826
lea eax, [ebp - 0x118]
push eax
push dword [ebp + 8]
call fcn.0041f276
mov edi, eax
push edi
call fcn.0041f8ad
add esp, 0xc
test edi, edi
je 0x41f82e
push edi
call fcn.0042a5d0
xor edi, edi
lea eax, [ebp - 0x144]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x41f7ac
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
or ebx, 0xffffffff
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
jne 0x41f886
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 2
je 0x41f886
cmp eax, 3
je 0x41f886
push dword [ebp + 8]
call esi
push eax
push str._AutoUp__BA_RemoveDirectory_Recursive__ERROR:_Remove_Diredtory_Failed__d_:__s
push 1
pop esi
push esi
call fcn.00408aae
add esp, 0x10
jmp 0x41f888
xor esi, esi
cmp ebx, 0xffffffff
je 0x41f894
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
push dword [ebp - 4]
call fcn.0042a5d0
test edi, edi
pop ebx
je 0x41f8a7
push edi
call fcn.0042a5d0
mov eax, esi
pop edi
pop esi
leave
ret

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

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
push 0x80
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x41f8f4
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 2
je 0x41f8f4
cmp eax, 3
je 0x41f8f4
push edi
call esi
push eax
push str._AutoUp__BA_RemoveFile__ERROR:_Delete_Fail__d_:__s
push 1
call fcn.00408aae
add esp, 0x10
push 1
pop eax
jmp 0x41f8f6
xor eax, eax
pop edi
pop esi
ret
Function at 0x41f92b
Capabilities:
Copy file
Delete file
Move file
Set file attributes

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x14]
push edi
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov ebx, dword [esp + 0x14]
push 3
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
call edi
test ebp, ebp
jne 0x41f9e3
cmp eax, 0x78
je 0x41f976
push esi
push ebx
push eax
push str._AutoUp__BA_MoveFile__RETRY_1:___d___s______s
push 1
call fcn.00408aae
add esp, 0x14
mov ebp, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push esi
call ebp
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_MoveFileA]
mov dword [esp + 0x18], eax
call edi
cmp dword [esp + 0x18], 0
jne 0x41f9e3
push esi
push ebx
push eax
push str._AutoUp__BA_MoveFile__RETRY_2:___d___s______s
push 1
call fcn.00408aae
add esp, 0x14
push esi
call ebp
push 0
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov dword [esp + 0x18], eax
call edi
cmp dword [esp + 0x18], 1
mov edi, eax
jne 0x41f9c5
push ebx
call ebp
cmp dword [esp + 0x18], 0
jne 0x41f9e3
push esi
push ebx
push edi
push str._AutoUp__BA_MoveFile__ERROR:___d___s______s
push 1
call fcn.00408aae
add esp, 0x14
push 0xb
pop eax
jmp 0x41f9e5
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x41f9ea
Capabilities:
Copy file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push esi
push 0x80
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test esi, esi
pop esi
jne 0x41fa32
push dword [ebp + 0xc]
push dword [ebp + 8]
push eax
push str._AutoUp__BA_CopyFile__ERROR:___d___s______s
push 1
call fcn.00408aae
add esp, 0x14
push 0xb
pop eax
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x420017
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x140
lea eax, [ebp - 0x140]
push esi
push eax
xor esi, esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
je 0x42004a
mov ecx, dword [ebp + 0xc]
push eax
mov dword [ecx], 1
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x42007b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x420076
cmp eax, 3
je 0x420076
cmp eax, 0x12
je 0x420076
push 1
pop esi
push dword [ebp + 8]
push eax
push str._AutoUp__BA_FileExists__ERROR__d_:__s
push esi
call fcn.00408aae
add esp, 0x10
jmp 0x42007b
mov eax, dword [ebp + 0xc]
mov dword [eax], esi
mov eax, esi
pop esi
leave
ret

Function at 0x420207
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
cmp dword [esi + 0x414], 0
jg 0x42021f
xor eax, eax
jmp 0x4202ab
lea eax, [ebp + 8]
push eax
push dword [esi]
call fcn.00429820
test eax, eax
jne 0x4202ab
cmp dword [esi + 0x414], eax
jle 0x42028c
push edi
push 0xfffffffffffffffc
pop edi
lea eax, [esi + 4]
sub edi, esi
mov ecx, dword [ebp + 8]
and ecx, 0xf
mov cl, byte [ecx + esi + 0x404]
xor byte [eax], cl
mov ecx, dword [ebp + 8]
mov dl, byte [eax]
sar ecx, 4
add ecx, 5
and ecx, 0xf
mov cl, byte [ecx + esi + 0x404]
add cl, dl
mov edx, dword [ebp + 8]
sar edx, 8
sub edx, 5
mov byte [eax], cl
and edx, 0xf
sub cl, byte [edx + esi + 0x404]
inc dword [ebp + 8]
mov byte [eax], cl
inc eax
lea ecx, [edi + eax]
cmp ecx, dword [esi + 0x414]
jl 0x42023f
pop edi
lea eax, [ebp - 4]
push eax
lea eax, [esi + 4]
push dword [esi + 0x414]
push eax
push dword [esi]
call fcn.004297c0
test eax, eax
jne 0x4202ab
and dword [esi + 0x414], eax
pop esi
leave
ret

Function at 0x4202cb
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 4], 0
push ebx
push esi
push dword [ebp + 0xc]
call fcn.004299f0
mov ebx, eax
add ebx, 0x17
lea eax, [ebx + 5]
push eax
call fcn.0042a5c0
mov esi, eax
test esi, esi
jne 0x420305
push str._AutoUp__BA_WriteEnginePath__Out_Of_Memory:_pBuffer
push 1
call fcn.00408aae
pop ecx
pop ecx
jmp 0x420399
mov eax, ebx
push edi
sar eax, 8
mov byte [esi + 1], al
mov eax, ebx
sar eax, 0x10
mov byte [esi + 2], al
mov eax, ebx
lea edi, [esi + 4]
push str._V3ENGINEMODULE__r_nPATH
sar eax, 0x18
push edi
mov byte [esi], bl
mov byte [esi + 3], al
call fcn.004298c0
push dword [ebp + 0xc]
lea eax, [esi + 0x1b]
push eax
call fcn.004298c0
test ebx, ebx
mov ecx, 0x4e4
jle 0x42036c
push 0xfffffffffffffffc
mov eax, edi
pop edi
sub edi, esi
mov edx, ecx
shr edx, 8
xor byte [eax], dl
movzx edx, byte [eax]
add edx, ecx
imul edx, edx, 0xce6d
add edx, 0x58bf
inc eax
mov ecx, edx
lea edx, [edi + eax]
cmp edx, ebx
jl 0x42034a
lea eax, [ebp - 4]
push eax
push 0x8304
push dword [ebp + 8]
call fcn.00429750
test eax, eax
pop edi
jne 0x420393
lea eax, [ebp - 8]
add ebx, 4
push eax
push ebx
push esi
push dword [ebp - 4]
call fcn.004297c0
push esi
call fcn.0042a5d0
cmp dword [ebp - 4], 0
pop esi
pop ebx
je 0x4203a9
push dword [ebp - 4]
call fcn.00429770
xor eax, eax
leave
ret
Function at 0x42128d
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
push esi
xor esi, esi
cmp edx, esi
je 0x4212bd
cmp dword [esp + 0xc], 0x6400000
ja 0x4212bd
xor ecx, ecx
cmp dword [esp + 0xc], esi
jbe 0x4212c0
mov al, byte [ecx + edx]
add al, 0x31
xor al, 0x23
mov byte [ecx + edx], al
inc ecx
cmp ecx, dword [esp + 0xc]
jb 0x4212aa
jmp 0x4212c0
push 2
pop esi
mov eax, esi
pop esi
ret

Function at 0x42133f
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
push esi
xor esi, esi
cmp edx, esi
je 0x42136f
cmp dword [esp + 0xc], 0x6400000
ja 0x42136f
xor ecx, ecx
cmp dword [esp + 0xc], esi
jbe 0x421372
mov al, byte [ecx + edx]
xor al, 0x23
sub al, 0x31
mov byte [ecx + edx], al
inc ecx
cmp ecx, dword [esp + 0xc]
jb 0x42135c
jmp 0x421372
push 2
pop esi
mov eax, esi
pop esi
ret

Function at 0x422264
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
xor edi, edi
push str.IsWow64Process
push str.kernel32
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
cmp esi, edi
je 0x4222b4
lea eax, [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
test eax, eax
jne 0x4222a3
mov dword [ebp - 4], eax
jmp 0x4222a6
mov eax, dword [ebp - 4]
dec eax
neg eax
sbb eax, eax
and al, 0
add eax, 0x20119
jmp 0x4222b9
mov eax, 0x20019
lea ecx, [ebp - 8]
push ecx
push eax
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4222f3
lea eax, [ebp + 0x18]
push eax
push dword [ebp + 0x14]
push edi
push edi
push dword [ebp + 0x10]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 8]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, edi
je 0x4222f6
push 1
pop edi
mov eax, edi
pop edi
pop esi
leave
ret