joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1002b840
Capabilities:
Get common file path

Disassembly:
mov dword [esi + 4], vtable.IConvert.0
push ebx
xor ebx, ebx
push 0x1d88
mov dword [esi], vtable.CUiOption.0
mov dword [esi + 4], vtable.CUiOption.1.0
mov dword [esi + 0x380c], ebx
mov dword [esi + 0x3810], ebx
mov dword [esi + 0x3814], ebx
lea eax, [esi + 0x1840]
push ebx
push eax
mov byte [esi + 0x37f0], bl
mov dword [esi + 0x35dc], ebx
mov dword [esi + 0x35d8], ebx
mov dword [esi + 0x35e0], ebx
mov dword [esi + 0x35e4], ebx
mov dword [esi + 0x35c8], ebx
mov dword [esi + 0x35d0], ebx
mov dword [esi + 0x35d4], ebx
mov dword [esi + 0x35cc], ebx
mov dword [esi + 0x3804], ebx
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0x618
lea ecx, [esi + 0x1224]
push ebx
push ecx
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0xcf4
lea edx, [esi + 0x530]
push ebx
push edx
call sub.MSVCR80.dll_memset
add esp, 0xc
lea eax, [esi + 0x35e8]
push eax
push 0x104
mov dword [esi + 0x37f4], 1
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov dword [esi + 0x37f8], ebx
mov eax, esi
pop ebx
ret

Function at 0x1002f860
Capabilities:
Query service status

Disassembly:
sub esp, 0x1c
push edi
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
xor eax, eax
test edi, edi
je 0x1002f8e4
push ebx
push esi
push 0x34
push str.Backupper_Service
push edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov ebx, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov esi, eax
test esi, esi
je 0x1002f8da
lea eax, [esp + 0xc]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
cmp dword [esp + 0x10], 1
je 0x1002f8d7
lea ecx, [esp + 0xc]
push ecx
push 0xc9
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
push esi
call ebx
push edi
call ebx
pop esi
mov eax, 1
pop ebx
pop edi
add esp, 0x1c
ret
Function at 0x10031550
Capabilities:
Delete file
Get common file path

Disassembly:
push 0x94
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
test eax, eax
je 0x1003156f
mov dword [esp + 4], eax
mov ecx, 1
jmp fcn.10031590
xor eax, eax
ret 4
Function at 0x10031920
Capabilities:
Modify service
Query service status
Start service

Disassembly:
push esi
mov esi, ecx
call fcn.10031e10
cmp dword [esi + 0x14], 0
mov eax, dword [esi]
mov ecx, esi
je 0x10031940
mov edx, dword [eax + 0x138]
call edx
pop esi
jmp fcn.1002f9c0
mov edx, dword [eax + 0x13c]
call edx
pop esi
jmp fcn.1002f9c0
Function at 0x10039290
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10116f8b
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x1013b024]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov ebx, ecx
push 0x2f8
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x18], eax
xor ecx, ecx
cmp eax, ecx
mov dword [esp + 0x38], ecx
je 0x100392e5
push eax
call fcn.10007ef0
mov dword [esp + 0x14], eax
jmp 0x100392e9
mov dword [esp + 0x14], ecx
mov dword [esp + 0x38], 0xffffffff
mov eax, dword [ebx]
mov edx, dword [eax + 0x104]
mov ecx, ebx
call edx
mov edi, dword [ebp + 8]
cmp edi, eax
jge 0x10039395
cmp edi, 0xffffffff
jle 0x10039395
mov eax, dword [ebx + 0x4c]
test eax, eax
lea esi, [ebx + 0x48]
je 0x10039337
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x86d90545
imul ecx
add edx, ecx
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x1003933d
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [esi + 4]
mov eax, edi
imul eax, eax, 0x1e60
cmp dword [eax + ecx + 0xa88], 0xffffffff
je 0x10039395
mov edx, dword [esp + 0x14]
mov eax, dword [edx]
mov dword [esp + 0x18], eax
call fcn.1005b990
mov edi, dword [eax + 0xa88]
lea esi, [ebx + 0x78]
call fcn.1005bce0
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
push eax
mov eax, dword [edx]
mov ecx, esi
call eax
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edx, dword [ebx]
mov edx, dword [edx + 0x30]
push edi
lea eax, [esp + 0x20]
push eax
mov ecx, ebx
call edx
mov edx, dword [eax]
mov esi, dword [esp + 0x14]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
call fcn.100083a0
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x1004bae0
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x344
mov eax, dword [0x1013b024]
xor eax, esp
mov dword [esp + 0x340], eax
push ebx
push esi
push edi
push 0x7e
lea eax, [esp + 0xc6]
push 0
push eax
mov esi, ecx
mov word [esp + 0xcc], 0
call sub.MSVCR80.dll_memset
mov edi, dword [ebp + 8]
mov edx, dword [esi]
mov edx, dword [edx + 0x30]
add esp, 0xc
push edi
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call edx
mov ebx, eax
mov eax, dword [esi]
mov edx, dword [eax + 0x30]
push edi
lea ecx, [esp + 0x84]
push ecx
mov ecx, esi
call edx
movzx eax, byte [eax + 0xf]
mov edx, dword [esi]
mov edx, dword [edx + 0x30]
push eax
push edi
lea eax, [esp + 0x48]
push eax
mov ecx, esi
call edx
movzx eax, byte [eax + 0xe]
mov edx, dword [esi]
mov edx, dword [edx + 0x30]
push eax
push edi
lea eax, [esp + 0xbc]
push eax
mov ecx, esi
call edx
movzx eax, byte [eax + 0xd]
mov edx, dword [esi]
mov edx, dword [edx + 0x30]
push eax
push edi
lea eax, [esp + 0x70]
push eax
mov ecx, esi
call edx
movzx eax, byte [eax + 0xc]
mov edx, dword [esi]
mov edx, dword [edx + 0x30]
push eax
push edi
lea eax, [esp + 0xb4]
push eax
mov ecx, esi
call edx
movzx eax, byte [eax + 0xb]
mov edx, dword [esi]
mov edx, dword [edx + 0x30]
push eax
push edi
lea eax, [esp + 0x28]
push eax
mov ecx, esi
call edx
movzx eax, byte [eax + 0xa]
mov edx, dword [esi]
mov edx, dword [edx + 0x30]
push eax
push edi
lea eax, [esp + 0x4c]
push eax
mov ecx, esi
call edx
movzx eax, byte [eax + 9]
mov edx, dword [esi]
mov edx, dword [edx + 0x30]
push eax
push edi
lea eax, [esp + 0x70]
push eax
mov ecx, esi
call edx
movzx eax, byte [eax + 8]
mov edx, dword [esi]
mov edx, dword [edx + 0x30]
push eax
push edi
lea eax, [esp + 0x94]
push eax
mov ecx, esi
call edx
movzx eax, word [eax + 6]
mov edx, dword [esi]
mov edx, dword [edx + 0x30]
push eax
push edi
lea eax, [esp + 0xb8]
push eax
mov ecx, esi
call edx
movzx eax, word [eax + 4]
mov ecx, dword [ebx]
push eax
push ecx
lea edx, [esp + 0xec]
push 0x1011e168
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
push 0x206
lea eax, [esp + 0x17a]
push 0
push eax
mov word [esp + 0x180], 0
call sub.MSVCR80.dll_memset
add esp, 0x40
lea ecx, [esp + 0x140]
push ecx
push 0
push 0
push 0x23
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov esi, dword [sym.imp.MSVCR80.dll_wcscat_s]
push 0x10122a78
lea edx, [esp + 0x144]
push 0x104
push edx
call esi
lea eax, [esp + 0xcc]
push eax
lea ecx, [esp + 0x150]
push 0x104
push ecx
call esi
add esp, 0x18
lea edx, [esp + 0x140]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
pop edi
pop esi
pop ebx
mov eax, ecx
mov ecx, dword [esp + 0x340]
xor ecx, esp
call fcn.1010dc50
mov esp, ebp
pop ebp
ret 4
Function at 0x1004cb30
Capabilities:
Get disk information

Disassembly:
sub esp, 0x21c
mov eax, dword [0x1013b024]
xor eax, esp
mov dword [esp + 0x214], eax
mov eax, dword [0x10122bb8]
mov ecx, dword [0x10122bbc]
mov edx, dword [0x10122bc0]
mov dword [esp + 8], eax
mov eax, dword [0x10122bc4]
push esi
mov dword [esp + 4], edx
movsx dx, byte [esp + 0x228]
mov dword [esp + 0x10], ecx
movsx cx, byte [esp + 0x224]
mov dword [esp + 8], eax
push edi
lea eax, [esp + 8]
push eax
mov word [esp + 0x14], cx
mov word [esp + 0xc], dx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
je 0x1004cbe9
push 0x24ed
mov edi, str.E:AMWork_branchesBRCloudv2_srcUiLogicUiRecord.cpp
call fcn.1002ef80
add esp, 4
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
call sub.Comn.dll_GetObjectLog
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
push esi
push edi
push str.GetDriveType_newMountPoint___DRIVE_NO_ROOT_DIR
push str._s_return_code:_0x_08X___s.
push eax
call edx
add esp, 0x14
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.1010dc50
add esp, 0x21c
ret
push 0x1fe
lea eax, [esp + 0x1e]
push 0
push eax
mov word [esp + 0x24], 0
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0x100
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_GetVolumeNameForVolumeMountPointW]
test eax, eax
jne 0x1004cc6e
push 0x24f0
mov edi, str.E:AMWork_branchesBRCloudv2_srcUiLogicUiRecord.cpp
call fcn.1002ef80
add esp, 4
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
call sub.Comn.dll_GetObjectLog
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
push esi
push edi
push str.GetVolumeNameForVolumeMountPoint__oldMountPoint__guid__ARRAYSIZE_guid__
push str._s_return_code:_0x_08X___s.
push eax
call edx
add esp, 0x14
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.1010dc50
add esp, 0x21c
ret
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteVolumeMountPointW]
test eax, eax
jne 0x1004ccce
push 0x24f1
mov edi, str.E:AMWork_branchesBRCloudv2_srcUiLogicUiRecord.cpp
call fcn.1002ef80
add esp, 4
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
call sub.Comn.dll_GetObjectLog
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
push esi
push edi
push str.DeleteVolumeMountPoint_oldMountPoint_
push str._s_return_code:_0x_08X___s.
push eax
call edx
add esp, 0x14
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.1010dc50
add esp, 0x21c
ret
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_SetVolumeMountPointW]
test eax, eax
jne 0x1004cd23
push 0x24f2
mov edi, str.E:AMWork_branchesBRCloudv2_srcUiLogicUiRecord.cpp
call fcn.1002ef80
add esp, 4
push eax
push str.SetVolumeMountPoint_newMountPoint__guid_
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call fcn.100015b0
add esp, 8
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.1010dc50
add esp, 0x21c
ret
mov ecx, dword [esp + 0x21c]
pop edi
pop esi
xor ecx, esp
mov al, 1
call fcn.1010dc50
add esp, 0x21c
ret
Function at 0x10053e80
Capabilities:
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x1010f47c
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x1013b024]
xor eax, esp
mov dword [esp + 0x228], eax
push ebp
push esi
push edi
mov eax, dword [0x1013b024]
xor eax, esp
push eax
lea eax, [esp + 0x23c]
mov dword fs:[0], eax
mov esi, ecx
push 0x207
lea eax, [esp + 0x35]
push 0
push eax
mov byte [esp + 0x3c], 0
call sub.MSVCR80.dll_memset
lea edx, [esp + 0x3c]
add esp, 0xc
mov eax, esi
sub edx, esi
lea ecx, [ecx]
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x10053ee0
mov ebp, dword [sym.imp.MSVCR80.dll_strtok_s]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x34]
push 0x1011da34
push edx
mov dword [esp + 0x1c], 0
call ebp
add esp, 0xc
lea ecx, [esp + 0x14]
mov esi, eax
xor edi, edi
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
test esi, esi
mov dword [esp + 0x244], edi
je 0x10053f70
jmp 0x10053f30
add edi, 1
cmp dword [esp + 0x28], 0
je 0x10053f49
push 0x1011da34
lea ecx, [esp + 0x18]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
push esi
lea ecx, [esp + 0x18]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
lea eax, [esp + 0x10]
push eax
push 0x1011da34
push 0
call ebp
add esp, 0xc
cmp edi, 2
mov esi, eax
jge 0x10053f89
test esi, esi
jne 0x10053f30
mov dword [esp + 0x244], 0xffffffff
lea ecx, [esp + 0x14]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
xor al, al
jmp 0x10053fb9
cmp dword [esp + 0x2c], 0x10
mov eax, dword [esp + 0x18]
jae 0x10053f98
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
or ecx, 0xffffffff
mov dword [esp + 0x244], ecx
cmp eax, ecx
lea ecx, [esp + 0x14]
je 0x10053f7f
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov al, 1
mov ecx, dword [esp + 0x23c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x228]
xor ecx, esp
call fcn.1010dc50
add esp, 0x238
ret
Function at 0x10063a50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10113c29
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x1013b024]
xor eax, esp
mov dword [esp + 0x2c], eax
push ebx
push ebp
push esi
mov eax, dword [0x1013b024]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov dword [edi + 4], vtable.IConvert.0
xor ebx, ebx
mov dword [edi], vtable.CUiSync.0
mov dword [edi + 4], vtable.CUiSync.1.0
mov dword [esp + 0x18], edi
mov dword [edi + 0x42c], ebx
mov dword [edi + 0x430], ebx
mov dword [edi + 0x434], ebx
push 0x208
mov dword [esp + 0x4c], ebx
lea ebp, [edi + 0x14]
push ebx
push ebp
mov dword [edi + 0xc], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0x10], ebx
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0x208
lea eax, [edi + 0x21c]
push ebx
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0x3818
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
mov byte [esp + 0x48], 1
je 0x10063b04
mov esi, eax
call fcn.1002b840
jmp 0x10063b06
xor eax, eax
mov byte [esp + 0x48], bl
mov dword [edi + 0x424], eax
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x10]
call eax
mov ecx, dword [str.My_Sync]
mov edx, dword [0x101235d8]
mov eax, dword [0x101235dc]
mov dword [esp + 0x2c], ecx
mov ecx, dword [0x101235e0]
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], eax
mov ebx, 0x104
lea edx, [esp + 0x2c]
mov eax, ebp
mov dword [esp + 0x38], ecx
call fcn.10001530
mov ecx, dword [edi + 0x424]
mov edx, dword [ecx]
mov eax, dword [edx + 0x33c]
push ebp
call eax
lea ecx, [esp + 0x1c]
push ecx
call dword [sym.imp.RPCRT4.dll_UuidCreate]
mov esi, dword [esp + 0x1c]
mov ecx, dword [edi + 0x424]
mov edx, dword [ecx]
sub esp, 0x10
mov eax, esp
mov dword [eax], esi
mov esi, dword [esp + 0x30]
mov dword [eax + 4], esi
mov esi, dword [esp + 0x34]
mov dword [eax + 8], esi
mov esi, dword [esp + 0x38]
mov dword [eax + 0xc], esi
mov eax, dword [edx + 0x338]
call eax
mov eax, edi
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.1010dc50
add esp, 0x3c
ret
Function at 0x10066010
Capabilities:
Query service status
Start service

Disassembly:
sub esp, 0x20
push ebx
push edi
push 1
push 0
push 0
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ebx, eax
test ebx, ebx
mov dword [esp + 8], ebx
je 0x10066167
cmp dword [edi + 0x18], 8
push esi
lea esi, [edi + 4]
jb 0x1006603f
mov eax, dword [esi]
jmp 0x10066041
mov eax, esi
push ebp
push 0x14
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov ebp, eax
test ebp, ebp
jne 0x10066099
call sub.Comn.dll_GetObjectLog
cmp dword [edi + 0x18], 8
mov ebp, eax
jb 0x10066063
mov eax, dword [esi]
jmp 0x10066065
mov eax, esi
mov esi, dword [ebp]
push eax
push 0x1bf
mov edi, str.E:AMWork_branchesBRCloudv2_srcUiLogicUiTaskMgr.cpp
call fcn.10064600
add esp, 4
push eax
mov eax, dword [esi + 0xc]
push str._s:failed_to_open_server.server_name:_s
push ebp
call eax
add esp, 0x10
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop ebp
pop esi
pop edi
pop ebx
add esp, 0x20
ret
lea ecx, [esp + 0x14]
push ecx
push ebp
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
jne 0x100660ea
call sub.Comn.dll_GetObjectLog
mov ebx, eax
mov esi, dword [ebx]
push 0x1c7
mov edi, str.E:AMWork_branchesBRCloudv2_srcUiLogicUiTaskMgr.cpp
add esi, 0xc
call fcn.10064600
mov edx, dword [esi]
push eax
push str._s:failed_to_query_service
push ebx
call edx
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
add esp, 0x10
push ebp
call esi
mov eax, dword [esp + 0x10]
push eax
call esi
pop ebp
pop esi
pop edi
pop ebx
add esp, 0x20
ret
call sub.Comn.dll_GetObjectLog
mov ecx, dword [esp + 0x18]
mov ebx, eax
mov esi, dword [ebx]
push ecx
push 0x1cd
mov edi, str.E:AMWork_branchesBRCloudv2_srcUiLogicUiTaskMgr.cpp
add esi, 0xc
call fcn.10064600
mov edx, dword [esi]
add esp, 4
push eax
push str._s:RWDRV_status:_d
push ebx
call edx
add esp, 0x10
cmp dword [esp + 0x18], 1
jne 0x10066155
push 0
push 0
push ebp
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x10066155
call sub.Comn.dll_GetObjectLog
mov ebx, eax
mov esi, dword [ebx]
push 0x1d2
add esi, 0xc
call fcn.10064600
push eax
mov eax, dword [esi]
push str._s:_failed_to_start_service
push ebx
call eax
add esp, 0x10
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push ebp
call esi
mov ecx, dword [esp + 0x10]
push ecx
call esi
pop ebp
pop esi
pop edi
pop ebx
add esp, 0x20
ret
Function at 0x1007a500
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x418
mov eax, dword [0x1013b024]
xor eax, esp
mov dword [esp + 0x414], eax
push ebx
push ebp
mov ebp, dword [esp + 0x424]
push esi
push edi
xor ebx, ebx
push 0x206
lea eax, [esp + 0x222]
push ebx
push eax
mov dword [esp + 0x1c], ebx
mov word [esp + 0x228], bx
call sub.MSVCR80.dll_memset
push 0x206
lea ecx, [esp + 0x26]
push ebx
push ecx
mov word [esp + 0x2c], bx
call sub.MSVCR80.dll_memset
lea edx, [esp + 0x234]
push edx
call fcn.100016a0
mov esi, eax
add esp, 0x1c
cmp esi, ebx
jne 0x1007a5a4
push 0x120
call fcn.10079ac0
add esp, 4
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
call sub.Comn.dll_GetObjectLog
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
push edi
push ebx
push str.HELP::GetModuleDir_NULL__szPath__MAX_PATH_
push str._s_return_code:_0x_08X___s.
push eax
call edx
mov edi, dword [esp + 0x24]
jmp 0x1007a680
lea eax, [esp + 0x21c]
push eax
lea ecx, [esp + 0x18]
push 0x104
push ecx
call dword [sym.imp.MSVCR80.dll_wcscpy_s]
mov esi, dword [sym.imp.MSVCR80.dll_wcscat_s]
push 0x1011da4c
lea edx, [esp + 0x24]
push 0x104
push edx
call esi
push str.UD.dat
lea eax, [esp + 0x30]
push 0x104
push eax
call esi
add esp, 0x24
push ebx
push 0x80
push 2
push ebx
push 1
push 0xc0000000
lea ecx, [esp + 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
xor edx, edx
mov edi, eax
cmp edi, 0xffffffff
setne dl
mov esi, edx
cmp esi, ebx
jne 0x1007a637
push 0x12c
call fcn.10079ac0
add esp, 4
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
call sub.Comn.dll_GetObjectLog
push ebx
push ebp
push str.hSrc___INVALID_HANDLE_VALUE
jmp 0x1007a673
push ebx
lea eax, [esp + 0x14]
push eax
push 0x204
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov esi, eax
cmp esi, ebx
jne 0x1007a683
push 0x12d
call fcn.10079ac0
add esp, 4
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
call sub.Comn.dll_GetObjectLog
push ebx
push ebp
push str.WriteFile_hSrc__buffer___DWORD_lenth__dwWriteSize__NULL_
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
push str._s_return_code:_0x_08X___s.
push eax
call edx
add esp, 0x14
cmp edi, 0xffffffff
je 0x1007a68f
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x424]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1010dc50
add esp, 0x418
ret 4
Function at 0x1007a750
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x10
lea eax, [esp + 4]
push eax
push 0xf003f
push 0
push str.SYSTEMCurrentControlSetControlLsa
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1007a828
mov eax, dword [esp + 4]
test eax, eax
je 0x1007a828
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 4]
push edx
lea ecx, [esp + 0x14]
push ecx
push 0
push str.limitblankpassworduse
push eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1007a828
cmp dword [esp], eax
push edi
je 0x1007a814
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 4
lea edx, [esp + 0xc]
push edx
push 4
push eax
lea edi, [eax + 1]
mov eax, dword [esp + 0x1c]
push str.bklimitblankpassworduse
push eax
call esi
mov edx, dword [esp + 0xc]
push 4
lea ecx, [esp + 0xc]
push ecx
push 4
push 0
push str.limitblankpassworduse
push edx
mov dword [esp + 0x20], 0
call esi
mov eax, dword [esp + 0xc]
pop esi
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
add esp, 0x10
ret
mov eax, dword [esp + 8]
push eax
xor edi, edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
add esp, 0x10
ret
xor eax, eax
add esp, 0x10
ret

Function at 0x1007a830
Capabilities:
Delete registry key
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x10
lea eax, [esp]
push eax
push 0xf003f
push 0
push str.SYSTEMCurrentControlSetControlLsa
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1007a8d8
mov eax, dword [esp]
test eax, eax
je 0x1007a8d8
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 8]
push edx
lea ecx, [esp + 0x14]
push ecx
push 0
push str.bklimitblankpassworduse
push eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1007a8d8
cmp dword [esp + 4], eax
je 0x1007a8c5
push 4
lea edx, [esp + 8]
push edx
push 4
push eax
mov eax, dword [esp + 0x10]
push str.limitblankpassworduse
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp]
push str.bklimitblankpassworduse
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov edx, dword [esp]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
add esp, 0x10
ret
xor eax, eax
add esp, 0x10
ret