joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45b850
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
sub esp, 0x80c
mov eax, dword [0x494db8]
xor eax, esp
mov dword [esp + 0x808], eax
xor eax, eax
push 0x7fe
push eax
lea ecx, [esp + 0x12]
push ecx
mov word [esp + 0x14], ax
call fcn.0045bc00
add esp, 0xc
lea edx, [esp + 4]
push edx
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 8]
push ecx
push str.Path
push 0x47b310
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x18], 1
mov dword [esp + 0x1c], 0x800
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x45b8d0
mov eax, 1
mov ecx, dword [esp + 0x808]
xor ecx, esp
call fcn.0045bbec
add esp, 0x80c
ret
push str.360ver.dll
lea edx, [esp + 0xc]
push edx
mov eax, edx
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x45b8b6
lea edx, [esp + 8]
push edx
call fcn.0045b780
add esp, 4
test eax, eax
je 0x45b8b6
push esi
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
jne 0x45b92e
lea eax, [esi + 1]
pop esi
mov ecx, dword [esp + 0x808]
xor ecx, esp
call fcn.0045bbec
add esp, 0x80c
ret
push edi
push str.IsBetaVersion
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [esp + 0x810]
mov eax, edi
pop edi
pop esi
xor ecx, esp
call fcn.0045bbec
add esp, 0x80c
ret

Function at 0x45b960
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x1004
call fcn.0045cb30
mov eax, dword [0x494db8]
xor eax, esp
mov dword [esp + 0x1000], eax
push esi
mov esi, dword [esp + 0x1010]
push edi
mov edi, dword [esp + 0x1010]
push 0x1000
lea eax, [esp + 0xc]
push 0
push eax
call fcn.0045bc00
push 0x800
lea ecx, [esp + 0x18]
push 0x481e88
push ecx
call fcn.0045cd4c
push 0x800
lea edx, [esp + 0x24]
push esi
push edx
call fcn.0045cb5b
push 0x800
lea eax, [esp + 0x30]
push 0x481e5c
push eax
call fcn.0045cb5b
push 0x800
lea ecx, [esp + 0x3c]
push esi
push ecx
call fcn.0045cb5b
push 0x800
lea edx, [esp + 0x48]
push str.vL
push edx
call fcn.0045cb5b
add esp, 0x48
push 0x800
lea eax, [esp + 0xc]
push edi
push eax
call fcn.0045cb5b
push 0x800
lea ecx, [esp + 0x18]
push 0x481e1c
push ecx
call fcn.0045cb5b
add esp, 0x18
push 0x14
push esi
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
mov esi, eax
cmp esi, 6
jne 0x45ba72
call fcn.0045b760
test eax, eax
je 0x45ba5a
call fcn.0045b850
test eax, eax
je 0x45ba5a
push 5
push 0
push 0
push str.http:__down.360safe.com_setupbeta.exe
jmp 0x45ba65
push 5
push 0
push 0
push str.http:__down.360safe.com_setup.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp dword [esp + 0x1018], 0
je 0x45ba83
push 0
call fcn.0045ed3f
mov ecx, dword [esp + 0x1008]
pop edi
mov eax, esi
pop esi
xor ecx, esp
call fcn.0045bbec
add esp, 0x1004
ret
Function at 0x45baa0
Capabilities:
Parse pe header
Read file on windows

Disassembly:
sub esp, 0x140
mov eax, dword [0x494db8]
xor eax, esp
mov dword [esp + 0x13c], eax
mov eax, dword [esp + 0x144]
push ebx
push esi
xor ebx, ebx
push ebx
push ebx
push 3
push ebx
push 1
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x45baf2
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x13c]
xor ecx, esp
call fcn.0045bbec
add esp, 0x140
ret
push edi
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
lea eax, [esp + 0x10]
push eax
push 0x40
lea ecx, [esp + 0x114]
push ecx
push esi
call edi
test eax, eax
je 0x45bb7b
cmp dword [esp + 0xc], 0x40
jne 0x45bb7b
mov edx, 0x5a4d
cmp word [esp + 0x108], dx
jne 0x45bb7b
mov eax, dword [esp + 0x144]
push 0
push 0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, dword [esp + 0x144]
jne 0x45bb7b
push 0
lea ecx, [esp + 0x10]
push ecx
push pe_nt_image_headers32
lea edx, [esp + 0x1c]
push edx
push esi
call edi
test eax, eax
je 0x45bb7b
cmp dword [esp + 0xc], 0xf8
jne 0x45bb7b
cmp dword [esp + 0x10], 0x4550
jne 0x45bb7b
cmp word [esp + 0x16], bx
je 0x45bb7b
mov ebx, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x148]
pop edi
pop esi
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.0045bbec
add esp, 0x140
ret

Function at 0x45bbb0
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push eax
mov eax, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x10]
push edx
mov edx, dword [esp + 0x10]
push eax
push ecx
push edx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
ret

Function at 0x45bbe0
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
ret

Function at 0x45bbec
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x494db8]
jne 0x45bbf6
repz ret
jmp fcn.0046028d
Function at 0x46c44e
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00461363
and dword [ebp - 4], 0
cmp dword [0x497a44], 0
mov ebx, eax
jne 0x46c4ff
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x46c5b0
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x46c5b0
push eax
call fcn.004612f1
mov dword [esp], 0x483c04
push edi
mov dword [0x497a44], eax
call esi
push eax
call fcn.004612f1
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x497a48], eax
call esi
push eax
call fcn.004612f1
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x497a4c], eax
call esi
push eax
call fcn.004612f1
pop ecx
mov dword [0x497a54], eax
test eax, eax
je 0x46c4ff
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004612f1
pop ecx
mov dword [0x497a50], eax
mov eax, dword [0x497a50]
cmp eax, ebx
je 0x46c557
cmp dword [0x497a54], ebx
je 0x46c557
push eax
call fcn.0046136c
push dword [0x497a54]
mov esi, eax
call fcn.0046136c
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x46c557
test edi, edi
je 0x46c557
call esi
test eax, eax
je 0x46c54e
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x46c54e
test byte [ebp - 0xc], 1
jne 0x46c557
or dword [ebp + 0x10], 0x200000
jmp 0x46c590
mov eax, dword [0x497a48]
cmp eax, ebx
je 0x46c590
push eax
call fcn.0046136c
pop ecx
test eax, eax
je 0x46c590
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x46c590
mov eax, dword [0x497a4c]
cmp eax, ebx
je 0x46c590
push eax
call fcn.0046136c
pop ecx
test eax, eax
je 0x46c590
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x497a44]
call fcn.0046136c
pop ecx
test eax, eax
je 0x46c5b0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x46c5b2
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x470f00
Capabilities:
Get storage device properties

Disassembly:
mov eax, 0x2c14
call fcn.0045cb30
mov eax, dword [0x494db8]
xor eax, esp
mov dword [esp + 0x2c10], eax
mov eax, dword [esp + 0x2c18]
push edi
xor edi, edi
mov dword [esp + 0xc], eax
cmp eax, edi
je 0x47106b
cmp dword [esp + 0x2c20], edi
je 0x47106b
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_CreateFileA]
push esi
mov dword [esp + 0x10], edi
xor ebx, ebx
lea ebx, [ebx]
push ebx
push str..PhysicalDrive_d
lea eax, [esp + 0x30]
push 0x100
push eax
call fcn.00470920
add esp, 0x10
push edi
push edi
push 3
push edi
push 3
push edi
lea ecx, [esp + 0x40]
push ecx
call ebp
mov esi, eax
cmp esi, 0xffffffff
je 0x471044
xor eax, eax
push 0x2710
lea edx, [esp + 0x514]
push edi
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
push edx
mov dword [esp + 0x20], edi
mov dword [esp + 0x30], eax
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
call fcn.0045bc00
add esp, 0xc
push edi
lea eax, [esp + 0x18]
push eax
push 0x2710
lea ecx, [esp + 0x51c]
push ecx
push 0xc
lea edx, [esp + 0x30]
push edx
push 0x2d1400
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x471037
push 0x3e8
lea eax, [esp + 0x12c]
push edi
push eax
call fcn.0045bc00
mov edx, dword [esp + 0x534]
lea ecx, [esp + 0x134]
push ecx
push 1
push edx
lea eax, [esp + 0x528]
push eax
call fcn.00472620
mov edx, dword [esp + 0x2c48]
mov eax, dword [esp + 0x34]
add esp, 0x1c
lea ecx, [esp + 0x128]
push ecx
push edx
push eax
call fcn.00470820
test eax, eax
jne 0x471037
mov dword [esp + 0x10], 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x10], edi
jne 0x47104e
inc ebx
cmp ebx, 0x10
jl 0x470f50
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
mov ecx, dword [esp + 0x2c10]
xor ecx, esp
call fcn.0045bbec
add esp, 0x2c14
ret
mov ecx, dword [esp + 0x2c14]
pop edi
xor ecx, esp
xor eax, eax
call fcn.0045bbec
add esp, 0x2c14
ret
Function at 0x471310
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
sub esp, 0x2ec
mov eax, dword [0x494db8]
xor eax, esp
mov dword [esp + 0x2e8], eax
push edi
mov edi, dword [esp + 0x2f4]
mov dword [esp + 0x18], edi
test edi, edi
je 0x471511
cmp dword [esp + 0x2f8], 0
je 0x471511
push 0x64
lea eax, [esp + 0x20]
push 0
push eax
call fcn.0045bc00
add esp, 0xc
lea ecx, [esp + 4]
push ecx
push 8
push 0
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionNetworkCards
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4714d8
mov ecx, dword [esp + 4]
push ebx
push esi
xor ebx, ebx
push ebx
push ebx
push ebx
push ebx
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x100]
push eax
push ebx
mov esi, 0x104
push ecx
mov dword [esp + 0x30], esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x4714cb
lea ebx, [ebx]
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x14]
push edx
push 1
push 0
lea eax, [esp + 0xf8]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x471499
lea edx, [esp + 0x1c]
push edx
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x1f4]
push eax
lea ecx, [esp + 0x20]
push ecx
push 0
push str.ServiceName
push edx
mov dword [esp + 0x30], 1
mov dword [esp + 0x34], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x47148e
push 0x64
push eax
lea eax, [esp + 0x90]
push eax
call fcn.0045bc00
lea ecx, [esp + 0x1fc]
push 0x64
push ecx
lea edi, [esp + 0x9c]
call fcn.00471200
add esp, 0x14
test eax, eax
je 0x47148e
cmp byte [esp + 0x24], 0
je 0x471452
lea edx, [esp + 0x24]
push edx
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jge 0x47148e
lea eax, [esp + 0x24]
lea esi, [esp + 0x88]
mov ecx, eax
mov edx, 0x64
sub esi, ecx
lea ecx, [edx + 0x7fffff9a]
test ecx, ecx
je 0x471481
mov cl, byte [esi + eax]
test cl, cl
je 0x471481
mov byte [eax], cl
inc eax
sub edx, 1
jne 0x471466
jmp 0x471485
test edx, edx
jne 0x471486
dec eax
mov byte [eax], 0
mov esi, 0x104
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [esp + 0xc]
push 0
push 0
push 0
push 0
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x100]
push ecx
inc ebx
push ebx
push edx
mov dword [esp + 0x30], esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x4713b0
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
cmp byte [esp + 0x1c], 0
je 0x471511
mov edx, dword [esp + 0x2f8]
lea ecx, [esp + 0x1c]
push ecx
push edx
push edi
call fcn.00470820
xor ecx, ecx
test eax, eax
setge cl
pop edi
mov eax, ecx
mov ecx, dword [esp + 0x2e8]
xor ecx, esp
call fcn.0045bbec
add esp, 0x2ec
ret
mov ecx, dword [esp + 0x2ec]
pop edi
xor ecx, esp
xor eax, eax
call fcn.0045bbec
add esp, 0x2ec
ret
Function at 0x471780
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x50c
mov eax, dword [0x494db8]
xor eax, esp
mov dword [esp + 0x508], eax
push ebp
mov ebp, dword [esp + 0x514]
test edi, edi
je 0x4718fd
cmp ebp, 0x20
jb 0x4718fd
push 0x400
lea eax, [esp + 0x110]
push 0
push eax
mov dword [esp + 0x14], 1
mov dword [esp + 0x10], 0x400
call fcn.0045bc00
add esp, 0xc
lea ecx, [esp + 4]
push ecx
lea edx, [esp + 0x110]
push edx
lea eax, [esp + 0x10]
push eax
push 0x483cdc
push str.Software360SafeLiveup
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x4718fd
lea eax, [esp + 0x10c]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x471810
sub eax, edx
cmp eax, 0x40
jne 0x4718fd
push ebx
lea edx, [eax + 0x40]
push esi
lea eax, [esp + 0x14]
lea esi, [esp + 0x114]
mov ecx, eax
sub esi, ecx
lea ecx, [edx - 0x60]
test ecx, ecx
je 0x47184e
mov cl, byte [esi + eax]
test cl, cl
je 0x47184e
mov byte [eax], cl
inc eax
sub edx, 1
jne 0x471836
jmp 0x471852
test edx, edx
jne 0x471853
dec eax
mov byte [eax], 0
lea eax, [esp + 0x94]
lea edx, [esp + 0x134]
mov ecx, eax
mov esi, 0x80
sub edx, ecx
lea ecx, [ecx]
lea ecx, [esi + 0x7fffff7e]
test ecx, ecx
je 0x47188b
mov cl, byte [edx + eax]
test cl, cl
je 0x47188b
mov byte [eax], cl
inc eax
sub esi, 1
jne 0x471870
jmp 0x47188f
test esi, esi
jne 0x471890
dec eax
push 0x400
lea edx, [esp + 0x118]
push 0
push edx
mov byte [eax], 0
call fcn.0045bc00
push 0x400
lea ebx, [esp + 0x124]
lea ecx, [esp + 0x24]
call fcn.00470980
add esp, 0x10
lea eax, [esp + 0x94]
push eax
mov ecx, ebx
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
pop esi
pop ebx
test eax, eax
jne 0x4718fd
lea edx, [esp + 0xc]
push edx
push ebp
push edi
call fcn.00470820
neg eax
sbb eax, eax
inc eax
pop ebp
mov ecx, dword [esp + 0x508]
xor ecx, esp
call fcn.0045bbec
add esp, 0x50c
ret
mov ecx, dword [esp + 0x50c]
pop ebp
xor ecx, esp
xor eax, eax
call fcn.0045bbec
add esp, 0x50c
ret

Function at 0x471920
Capabilities:
Set registry value

Disassembly:
sub esp, 0x188
mov eax, dword [0x494db8]
xor eax, esp
mov dword [esp + 0x184], eax
push ebx
push esi
push 0x80
lea eax, [esp + 0xc]
push 0
push eax
mov esi, ecx
call fcn.0045bc00
push 0x80
lea ebx, [esp + 0x18]
mov ecx, esi
call fcn.00470980
lea eax, [esp + 0x98]
mov ecx, eax
add esp, 0x10
mov edx, 0x104
sub esi, ecx
lea esp, [esp]
lea ecx, [edx + 0x7ffffefa]
test ecx, ecx
je 0x47198b
mov cl, byte [esi + eax]
test cl, cl
je 0x47198b
mov byte [eax], cl
inc eax
sub edx, 1
jne 0x471970
jmp 0x47198f
test edx, edx
jne 0x471990
dec eax
lea edx, [esp + 8]
push edx
mov byte [eax], 0
push 0x104
lea eax, [esp + 0x90]
push eax
call fcn.00470890
lea eax, [esp + 0x88]
pop esi
lea edx, [eax + 1]
pop ebx
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4719b6
sub eax, edx
push eax
lea ecx, [esp + 0x84]
push ecx
push 1
push 0x483cdc
push str.Software360SafeLiveup
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueA]
mov ecx, dword [esp + 0x184]
xor ecx, esp
call fcn.0045bbec
add esp, 0x188
ret
Function at 0x4012a0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 8], ecx
push ebx
push esi
push edi
test edx, edx
je 0x401307
xorps xmm0, xmm0
push 0x4062b8
push edx
movlpd qword [ebp - 0x10], xmm0
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x401307
push 2
push 0
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
add esp, 4
cdq
mov edi, edx
mov ebx, eax
mov dword [ebp - 4], edi
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_rewind]
mov ecx, ebx
add esp, 4
or ecx, edi
jne 0x401310
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebx + 1]
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
add esp, 4
mov edi, eax
push esi
push ebx
push 1
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
xor ecx, ecx
cmp eax, ebx
jne 0x401344
cmp ecx, dword [ebp - 4]
jne 0x401344
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov eax, dword [ebp - 4]
jmp 0x401351
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov eax, dword [ebp - 0xc]
mov ebx, dword [ebp - 0x10]
add esp, 4
test edi, edi
je 0x401307
test eax, eax
jne 0x401361
cmp ebx, 8
jbe 0x40137f
cmp dword [edi], 0x696c7062
jne 0x40137f
cmp dword [edi + 4], 0x30307473
jne 0x40137f
push dword [ebp - 8]
push ebx
push edi
call dword [sym.imp.plist.dll_plist_from_bin]
jmp 0x40138a
push dword [ebp - 8]
push ebx
push edi
call dword [sym.imp.plist.dll_plist_from_xml]
add esp, 0xc
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x401430
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4080
call fcn.00405a50
mov eax, dword [0x409004]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x4074], eax
mov eax, dword [ebp + 0x14]
push ebx
mov dword [ebp - 0x4078], eax
mov eax, dword [ebp + 0x18]
push esi
mov dword [ebp - 0x407c], eax
mov esi, ecx
lea eax, [ebp - 0x406c]
mov dword [ebp - 0x4070], edx
push edi
push eax
call dword [sym.imp.LIBEAY32.dll_Ordinal_503]
push 0x4062b8
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov edi, eax
add esp, 0xc
test edi, edi
je 0x4015f8
mov ebx, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
lea eax, [ebp - 0x400c]
push edi
push 0x4000
push 1
push eax
call ebx
mov esi, dword [sym.imp.LIBEAY32.dll_Ordinal_504]
add esp, 0x10
test eax, eax
je 0x4014e0
push eax
lea eax, [ebp - 0x400c]
push eax
lea eax, [ebp - 0x406c]
push eax
call esi
push edi
push 0x4000
lea eax, [ebp - 0x400c]
push 1
push eax
call ebx
add esp, 0x1c
test eax, eax
jne 0x4014b7
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov edi, dword [ebp - 0x4070]
add esp, 4
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4014f5
sub ecx, edx
lea eax, [ebp - 0x406c]
push ecx
push edi
push eax
call esi
push 1
lea eax, [ebp - 0x406c]
push 0x406330
push eax
call esi
add esp, 0x18
lea eax, [ebp - 0x406c]
cmp byte [ebp + 8], 1
jne 0x401531
push 4
push str.true
jmp 0x401538
push 5
push str.false
push eax
call esi
add esp, 0xc
lea eax, [ebp - 0x406c]
push 1
push 0x406330
push eax
call esi
mov ebx, dword [ebp - 0x4074]
add esp, 0xc
test ebx, ebx
je 0x40156d
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x401560
sub ecx, edx
push ecx
push ebx
jmp 0x401574
push 6
push str._null_
lea eax, [ebp - 0x406c]
push eax
call esi
add esp, 0xc
lea eax, [ebp - 0x406c]
push 1
push 0x406330
push eax
call esi
push 6
lea eax, [ebp - 0x406c]
push str._null_
push eax
call esi
push 1
lea eax, [ebp - 0x406c]
push 0x406330
push eax
call esi
mov ebx, dword [ebp - 0x4078]
add esp, 0x24
test ebx, ebx
je 0x4015cf
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4015c2
sub ecx, edx
push ecx
push ebx
jmp 0x4015d6
push 6
push str._null_
lea eax, [ebp - 0x406c]
push eax
call esi
add esp, 0xc
lea eax, [ebp - 0x406c]
push eax
push dword [ebp - 0x407c]
call dword [sym.imp.LIBEAY32.dll_Ordinal_502]
add esp, 8
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00404d44
mov esp, ebp
pop ebp
ret
Function at 0x401910
Capabilities:
Delete file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x409004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, edx
mov dword [ebp - 0x3c], ecx
call dword [sym.imp.plist.dll_plist_new_dict]
push esi
mov ebx, eax
call dword [sym.imp.plist.dll_plist_new_bool]
add esp, 4
push eax
push str.Backup_Success
push ebx
call dword [sym.imp.plist.dll_plist_dict_set_item]
add esp, 0xc
push 0xd
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov edi, eax
mov edx, str.Status
mov esi, edi
add esp, 4
sub esi, edx
mov cl, byte [edx]
lea edx, [edx + 1]
mov byte [esi + edx - 1], cl
test cl, cl
jne 0x401960
lea ecx, [edi - 1]
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x401970
mov eax, dword [str..plist]
mov dword [ecx], eax
mov ax, word [0x406328]
push 0
mov word [ecx + 4], ax
mov al, byte [0x40632a]
push edi
push dword [ebp - 0x3c]
mov byte [ecx + 6], al
call fcn.00401080
add esp, 0xc
mov esi, eax
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
lea eax, [ebp - 0x38]
push eax
push esi
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__stat64i32]
add esp, 8
test eax, eax
jne 0x4019c9
push esi
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
add esp, 4
mov dword [ebp - 0x3c], 0
test ebx, ebx
je 0x401a3b
test esi, esi
je 0x401a3b
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x3c]
push eax
push ebx
call dword [sym.imp.plist.dll_plist_to_xml]
mov eax, dword [ebp - 0x40]
add esp, 0xc
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x4c], 0
push 0x4062bc
push esi
mov dword [ebp - 0x4c], eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov edi, eax
add esp, 8
test edi, edi
je 0x401a2b
push edi
push dword [ebp - 0x44]
push 1
push dword [ebp - 0x4c]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 0x14
push dword [ebp - 0x3c]
mov edi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
call edi
add esp, 4
jmp 0x401a41
mov edi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
push ebx
call dword [sym.imp.plist.dll_plist_free]
add esp, 4
push esi
call edi
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00404d44
mov esp, ebp
pop ebp
ret
Function at 0x401140
Capabilities:
Delete directory
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
push edi
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x20], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x28], eax
push 0
push 0x1d
push 0x4a
push 0x15
push 0
call dword [sym.imp.GDI32.dll_CreateBitmap]
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
jmp 0x4011a9
mov ecx, dword [ebp - 0x18]
add ecx, 1
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x18], 0x143
jge 0x4011bd
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
jmp 0x4011a0
cmp dword [ebp - 4], 0
jbe 0x401200
push 0
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push 0x4010e0
call dword [sym.imp.KERNEL32.DLL_RemoveDirectoryA]
mov dword [ebp - 0x2c], 0
push 0
push 0
call dword [sym.imp.USER32.dll_LoadIconA]
test eax, eax
jne 0x4011f9
push 0
call fcn.004015df
mov dword [0x418ce8], eax
mov dword [ebp + 8], 0x27
mov eax, 0x14
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8