joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10005bb0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
mov eax, dword [ecx + 0x20c]
xor bl, bl
or eax, 1
mov dword [ebp - 8], 0
push eax
push 0
lea eax, [ecx + 4]
push eax
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10005c0a
mov eax, dword [ebp + 8]
test eax, eax
je 0x10005c08
push dword [ebp + 0x10]
lea ecx, [ebp - 8]
push dword [ebp + 0xc]
push ecx
push 0
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10005c0a
mov bl, 1
mov eax, dword [ebp - 4]
test eax, eax
je 0x10005c18
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10006440
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x101b600c]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, ecx
push 0x208
mov dword [ebp - 0x224], eax
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.100106a0
add esp, 0xc
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x21c], 0x80000002
call fcn.10006100
mov ecx, dword [ebp - 0x10]
test al, al
mov edx, 0x200
mov eax, 0x80000002
cmovne ecx, edx
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x10], ecx
add esi, 0x208
je 0x100064d1
push esi
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.10015598
mov ecx, dword [ebp - 0x10]
add esp, 0xc
mov eax, dword [ebp - 0x21c]
lea edx, [ebp - 0x220]
mov dword [ebp - 0x220], 0
push edx
or ecx, 1
mov dword [ebp - 0x228], 0
push ecx
push 0
lea ecx, [ebp - 0x218]
xor bl, bl
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, dword [ebp - 0x224]
test eax, eax
jne 0x10006535
push esi
push edi
lea eax, [ebp - 0x228]
push eax
push 0
push str.UnionId
push dword [ebp - 0x220]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
movzx ebx, bl
mov ecx, 1
cmove ebx, ecx
mov eax, dword [ebp - 0x220]
test eax, eax
je 0x10006546
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test bl, bl
jne 0x1000657d
push esi
push edi
push str.UnionId
lea ecx, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x80000001
call fcn.10005bb0
test al, al
jne 0x1000657d
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.1000da67
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp - 8]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000da67
mov esp, ebp
pop ebp
ret 0xc

Function at 0x100065e0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
xor bl, bl
push edi
lea eax, [esi + 0x14]
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esi + 8], 0
mov dword [esi + 0xc], 0x3e8
mov dword [esi + 0x10], 0
jne 0x1000661f
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 8], eax
test eax, eax
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x10006681
mov eax, dword [esi + 4]
test eax, eax
je 0x1000664a
push 1
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x1000664a
push dword [esi + 4]
call edi
mov dword [esi + 4], 0
cmp dword [esi + 4], 0
jne 0x1000666b
push 0
push 0
push esi
push 0x10006790
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 4], eax
test eax, eax
je 0x10006681
push dword [ebp - 4]
mov bl, 1
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [esi + 8]
test eax, eax
je 0x10006692
push eax
call edi
mov dword [esi + 8], 0
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x100066a3
push ecx
call edi
mov dword [esi + 4], 0
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x100067b0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov ebx, ecx
mov byte [ebp - 1], 1
xor esi, esi
mov edx, dword [ebx + 0xc]
mov eax, 1
push dword [ebx + 0x10]
sub edx, esi
cmp dword [ebx + 0xc], esi
cmova eax, edx
push eax
push dword [ebx + 8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObjectEx]
xor esi, esi
cmp eax, 0x102
jne 0x1000681c
lea edi, [ebx + 0x14]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
mov ecx, ebx
mov eax, dword [ebx]
mov eax, dword [eax + 4]
call eax
mov byte [ebp - 1], al
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, esi
push edi
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [ebp - 8]
jmp 0x10006823
cmp eax, 0xc0
jne 0x10006829
cmp byte [ebp - 1], 0
jne 0x100067c1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10006a30
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x101b600c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x208
lea eax, [ebp - 0x20c]
mov esi, ecx
push 0
push eax
call fcn.100106a0
add esp, 0xc
test esi, esi
je 0x10006a8a
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10006a65
sub eax, edx
sar eax, 1
je 0x10006a8a
push esi
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.10015598
jmp 0x10006ac1
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str._substat.dll
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.1001523c
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x101b74a8], eax
test eax, eax
jne 0x10006aeb
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000da67
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.STInit
push eax
call esi
push str.STUDPProxy
push dword [0x101b74a8]
mov dword [0x101b74a4], eax
call esi
push str.STUDPTransfer
push dword [0x101b74a8]
call esi
push str.STCmdApp
push dword [0x101b74a8]
call esi
push str.STEntryAddr
push dword [0x101b74a8]
call esi
push str.STUnionID
push dword [0x101b74a8]
call esi
push str.STAppID
push dword [0x101b74a8]
mov dword [0x101b74a0], eax
call esi
push str.STVersion
push dword [0x101b74a8]
mov dword [0x101b749c], eax
call esi
push str.STOnline
push dword [0x101b74a8]
mov dword [0x101b7498], eax
call esi
push str.STOffline
push dword [0x101b74a8]
mov dword [0x101b7494], eax
call esi
push str.STAction
push dword [0x101b74a8]
mov dword [0x101b7490], eax
call esi
push str.STUninit
push dword [0x101b74a8]
call esi
mov ecx, dword [ebp - 4]
mov dword [0x101b748c], eax
xor ecx, ebp
mov al, 1
pop esi
call fcn.1000da67
mov esp, ebp
pop ebp
ret
Function at 0x10007300
Capabilities:
Modify service

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x444
mov eax, dword [0x101b600c]
xor eax, esp
mov dword [esp + 0x440], eax
push esi
push 0x208
lea eax, [esp + 0x34]
mov dword [esp + 8], 0
xorps xmm0, xmm0
mov esi, ecx
push 0
push eax
movups xmmword [esp + 0x14], xmm0
call fcn.100106a0
add esp, 0xc
lea eax, [esp + 0x238]
push 0x208
push 0
push eax
call fcn.100106a0
add esp, 0xc
lea eax, [esp + 0x30]
push 0x104
push eax
push dword [0x101b74ac]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x100073af
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test eax, eax
je 0x100073af
push 0x10027aa0
lea eax, [esp + 0x34]
push 0x104
push eax
call fcn.1001523c
add esp, 0xc
lea eax, [esp + 0x30]
push str.DriverTalent.exe
push 0x104
push eax
call fcn.1001523c
add esp, 0xc
lea eax, [esp + 0x30]
push eax
push str.__s___start_to_service
lea eax, [esp + 0x240]
push 0x104
push eax
call fcn.10002d30
lea eax, [esp + 0x28]
mov dword [esp + 0x28], 1
add esp, 0x10
mov dword [esp + 0x14], eax
lea eax, [esp + 0x238]
mov dword [esp + 0x1c], 0x493e0
mov dword [esp + 0xc], eax
lea eax, [esp + 4]
mov dword [esp + 0x20], 1
push eax
push 2
push esi
mov dword [esp + 0x30], 0x493e0
mov dword [esp + 0x34], 3
mov dword [esp + 0x38], 0x493e0
mov dword [esp + 0x1c], 3
mov dword [esp + 0x10], 0
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2W]
mov ecx, dword [esp + 0x444]
pop esi
xor ecx, esp
call fcn.1000da67
mov esp, ebp
pop ebp
ret
Function at 0x10009d40
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x14], 0
je 0x10009e7c
cmp dword [esi], 0
je 0x10009e7c
cmp dword [esi + 4], 0
je 0x10009e7c
mov edi, dword [ebp + 8]
test edi, edi
je 0x10009e4d
cmp dword [ebp + 0xc], 0
je 0x10009e4d
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10009db8
push edi
push str.error___S__not_exist.
push eax
push str.CNotifyProcessor::UserCopyFile
push str.......project_base_svcNotifyProcessor.cpp
push 0xce
call fcn.10002d70
push eax
call fcn.10002fc0
add esp, 0x1c
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [esi + 0x18]
mov ebx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x10009dca
push 0xffffffffffffffff
push eax
call ebx
push 0x41c
push 0
push dword [esi + 0x14]
call fcn.100106a0
mov eax, dword [esi + 0x14]
push edi
push 0x104
mov dword [eax], 3
mov eax, dword [esi + 0x14]
add eax, 8
push eax
call fcn.10015598
push dword [ebp + 0xc]
mov eax, dword [esi + 0x14]
add eax, 0x210
push 0x104
push eax
call fcn.10015598
add esp, 0x24
lea ecx, [esi + 0x18]
call fcn.10001e20
push dword [esi]
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0xffffffffffffffff
push dword [esi + 4]
call ebx
mov eax, dword [esi + 0x18]
test eax, eax
je 0x10009e30
push 0xffffffffffffffff
push eax
call ebx
mov eax, dword [esi + 0x14]
lea ecx, [esi + 0x18]
cmp dword [eax + 4], 0
setne bl
call fcn.10001e20
mov al, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push str.error_NULL__szSrc__NULL__szDst
push 0
push str.CNotifyProcessor::UserCopyFile
push str.......project_base_svcNotifyProcessor.cpp
push 0xc9
call fcn.10002d70
push eax
call fcn.10002fc0
add esp, 0x18
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov esi, dword [0x101b7488]
test esi, esi
jne 0x10009ecc
push 0x124
call fcn.1000da7d
mov esi, eax
push 0x104
push 0
mov dword [esp + 0x18], esi
lea ecx, [esi + 4]
mov dword [esi], 0
push ecx
mov dword [esi + 0x108], 0xffffffff
call fcn.100106a0
add esp, 0x10
lea eax, [esi + 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [0x101b7488], esi
push str.error_NULL__m_pMapBuf__NULL__m_hNotifyEvent__NULL__m_hNotifyEventReply
push 0
push str.CNotifyProcessor::UserCopyFile
push str.......project_base_svcNotifyProcessor.cpp
push 0xc4
push esi
call fcn.10002fc0
add esp, 0x18
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x1000ba10
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x834
mov eax, dword [0x101b600c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x208
lea eax, [ebp - 0x210]
mov esi, ecx
push 0
push eax
call fcn.100106a0
add esp, 0xc
lea eax, [ebp - 0x210]
push 0x104
push eax
push dword [0x101b74ac]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x1000ba82
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test eax, eax
je 0x1000ba82
push 0x100281dc
lea eax, [ebp - 0x210]
push 0x104
push eax
call fcn.1001523c
add esp, 0xc
lea eax, [ebp - 0x210]
mov ecx, esi
push eax
call fcn.10006830
test al, al
jne 0x1000bb24
mov esi, dword [0x101b7488]
test esi, esi
jne 0x1000baed
push 0x124
call fcn.1000da7d
add esp, 4
mov esi, eax
mov dword [ebp - 0x830], esi
push 0x104
lea ecx, [esi + 4]
mov dword [esi], 0
push 0
push ecx
mov dword [esi + 0x108], 0xffffffff
call fcn.100106a0
add esp, 0xc
lea eax, [esi + 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [0x101b7488], esi
lea eax, [ebp - 0x210]
push eax
push str.error_m_pluger.InitInterface__S_
push 0
push str.CPublicModule::InitPluger
push str.......project_base_svcPublicModule.cpp
push 0x91
push esi
call fcn.10002fc0
add esp, 0x1c
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000da67
mov esp, ebp
pop ebp
ret
push 0x208
lea eax, [ebp - 0x418]
mov dword [ebp - 0x82c], 0x457
push 0
push eax
call fcn.100106a0
add esp, 0xc
lea eax, [ebp - 0x418]
push 1
push 0x23
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x10027aa0
lea eax, [ebp - 0x418]
push 0x104
push eax
call fcn.1001523c
add esp, 0xc
lea eax, [ebp - 0x418]
push str.DriverTalent
push 0x104
push eax
call fcn.1001523c
add esp, 4
lea ecx, [ebp - 0x828]
call fcn.100062c0
lea eax, [ebp - 0x830]
mov dword [ebp - 0x830], 4
push eax
lea eax, [ebp - 0x82c]
push eax
push ecx
lea ecx, [ebp - 0x828]
call fcn.10006440
mov eax, dword [esi + 4]
test eax, eax
je 0x1000bbc8
lea ecx, [ebp - 0x418]
push ecx
call eax
mov eax, dword [esi + 8]
test eax, eax
je 0x1000bb13
push dword [ebp - 0x82c]
push 0x21
call eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.1000da67
mov esp, ebp
pop ebp
ret

Function at 0x1000bc60
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
mov esi, ecx
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
je 0x1000bc7d
or eax, 0xffffffff
pop esi
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], 0
xorps xmm0, xmm0
push eax
push esi
movups xmmword [ebp - 0x1c], xmm0
movq qword [ebp - 0xc], xmm0
call fcn.10006dc0
test eax, eax
je 0x1000bcc4
push dword [ebp - 4]
push str.Shenzhen_DriveTheLife_Software_Technology_Co.Ltd
call fcn.100118d5
add esp, 8
test eax, eax
jne 0x1000bcc4
lea ecx, [ebp - 0x1c]
lea esi, [eax + 1]
call fcn.10008740
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x1c]
xor esi, esi
call fcn.10008740
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1000c8b0
Capabilities:
Delete file

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x104], 0
je 0x1000c8c2
xor eax, eax
pop esi
ret 8
push 0x104
push 0
push esi
call fcn.100106a0
add esp, 0xc
push 0x104
push esi
push dword [0x101b74d4]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x1000c8bc
push esi
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
test eax, eax
je 0x1000c8bc
push 0x10027b9c
push 0x104
push esi
call fcn.100152b1
push str.UpdaterCoreLib.log
push 0x104
push esi
call fcn.100152b1
add esp, 0x18
push esi
call fcn.10002f00
cmp eax, 0x100000
jbe 0x1000c92a
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, esi
pop esi
ret 8
Function at 0x1000d2b0
Capabilities:
Check if file exists
Delete file
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x101b600c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ebx, ecx
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1000d31c
push 0x80
push ebx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp eax, 1
jne 0x1000d332
push str.MyDeleteFile_DeleteFileW__TRUE
push 0
call fcn.1000c7b0
push eax
call fcn.1000cbc0
add esp, 0xc
push eax
push str.UPDATEFILEREPAIR::MyDeleteFile
push str.....projectUpdaterCoreLibUpdateFileRepair.cpp
push 0x13a9f
call fcn.1000c7b0
mov ecx, eax
call fcn.1000c930
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000da67
mov esp, ebp
pop ebp
ret
push 0x208
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.100106a0
add esp, 0xc
lea eax, [ebp - 0x210]
push ebx
push 0x104
push eax
call fcn.10015598
add esp, 0xc
lea eax, [ebp - 0x210]
push str..del
push 0x104
push eax
call fcn.1001523c
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea eax, [ebp - 0x210]
add esp, 0xc
push 1
push eax
push ebx
call esi
test eax, eax
lea edi, [ebp - 0x210]
push 4
cmove edi, ebx
push 0
push edi
call esi
mov esi, eax
mov ecx, str.TRUE
mov eax, str.FALSE
test esi, esi
push edi
cmove ecx, eax
push ecx
push str.MyDeleteFile__S___S
push 0
call fcn.1000c7b0
push eax
call fcn.1000cbc0
add esp, 0x14
push eax
push str.UPDATEFILEREPAIR::MyDeleteFile
push str.....projectUpdaterCoreLibUpdateFileRepair.cpp
push 0x13aac
call fcn.1000c7b0
mov ecx, eax
call fcn.1000c930
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000da67
mov esp, ebp
pop ebp
ret
Function at 0x1000d4d0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x101b600c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x208
lea eax, [ebp - 0x210]
mov esi, ecx
push 0
push eax
call fcn.100106a0
add esp, 0xc
lea eax, [ebp - 0x210]
push esi
push 0x104
push eax
call fcn.10015598
add esp, 0xc
lea eax, [ebp - 0x210]
push str.checkupdate.dll
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
jne 0x1000d5ea
lea eax, [ebp - 0x22c]
mov dword [ebp - 0x214], 0
push eax
xorps xmm0, xmm0
lea eax, [ebp - 0x210]
push eax
movups xmmword [ebp - 0x22c], xmm0
movq qword [ebp - 0x21c], xmm0
call fcn.10006dc0
test eax, eax
je 0x1000d5df
push dword [ebp - 0x214]
push str.Shenzhen_DriveTheLife_Software_Technology_Co.Ltd
call fcn.100118d5
add esp, 8
test eax, eax
jne 0x1000d5df
lea ecx, [ebp - 0x22c]
call fcn.10008740
lea ecx, [ebp - 0x210]
call fcn.1000d400
test eax, eax
jne 0x1000d5cb
lea eax, [ebp - 0x210]
push eax
push str._CheckUpdateFile___SafeCheckupdateFile____S__FALSE
push 0
call fcn.1000c7b0
push eax
call fcn.1000cbc0
add esp, 0x10
push eax
push str.UPDATEFILEREPAIR::CheckUpdateFile
push str.....projectUpdaterCoreLibUpdateFileRepair.cpp
push 0x13b22
jmp 0x1000d616
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000da67
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x22c]
call fcn.10008740
lea eax, [ebp - 0x210]
push eax
push str._CheckUpdateFile__CheckSignature___S__FALSE
push 0
call fcn.1000c7b0
push eax
call fcn.1000cbc0
add esp, 0x10
push eax
push str.UPDATEFILEREPAIR::CheckUpdateFile
push str.....projectUpdaterCoreLibUpdateFileRepair.cpp
push 0x13b1c
call fcn.1000c7b0
mov ecx, eax
call fcn.1000c930
lea ecx, [ebp - 0x210]
call fcn.1000d2b0
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.1000da67
mov esp, ebp
pop ebp
ret

Function at 0x1000d640
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x101b600c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x208
lea eax, [ebp - 0x20c]
mov esi, ecx
push 0
push eax
call fcn.100106a0
push esi
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.10015598
add esp, 0x18
lea eax, [ebp - 0x20c]
push str.checkupdate.dll
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x1000d6c7
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000da67
mov esp, ebp
pop ebp
ret
push 0
lea eax, [ebp - 0x210]
mov dword [ebp - 0x210], 0
push eax
push 0x1888a0
push 0x10028770
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
pop esi
call fcn.1000da67
mov esp, ebp
pop ebp
ret
Function at 0x1000d710
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x101b600c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x208
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.100106a0
add esp, 0xc
lea eax, [ebp - 0x210]
push 0x104
push eax
push dword [0x101b74d4]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x1000d786
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test eax, eax
je 0x1000d786
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
push str.AppUpdate
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x1000d7da
lea eax, [ebp - 0x210]
push eax
push str._PathIsDirectory____S__FALSE
push 0
call fcn.1000c7b0
push eax
call fcn.1000cbc0
add esp, 0x10
push eax
push str.UPDATEFILEREPAIR::RepairUpdate
push str.....projectUpdaterCoreLibUpdateFileRepair.cpp
push 0x13b4f
call fcn.1000c7b0
mov ecx, eax
call fcn.1000c930
lea ecx, [ebp - 0x210]
call fcn.1000d2b0
lea ecx, [ebp - 0x210]
call fcn.1000d4d0
test eax, eax
lea eax, [ebp - 0x210]
push eax
je 0x1000d835
push str._CheckUpdateFile____S__TRUE
push 0
call fcn.1000c7b0
push eax
call fcn.1000cbc0
add esp, 0x10
push eax
push str.UPDATEFILEREPAIR::RepairUpdate
push str.....projectUpdaterCoreLibUpdateFileRepair.cpp
push 0x13b56
call fcn.1000c7b0
mov ecx, eax
call fcn.1000c930
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000da67
mov esp, ebp
pop ebp
ret
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1000d84d
push eax
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea ecx, [ebp - 0x210]
call fcn.1000d640
mov esi, eax
mov ecx, str.TRUE
mov eax, str.FALSE
test esi, esi
cmove ecx, eax
lea eax, [ebp - 0x210]
push ecx
push eax
push str._UnZip___S____S_
push 0
call fcn.1000c7b0
push eax
call fcn.1000cbc0
add esp, 0x14
push eax
push str.UPDATEFILEREPAIR::RepairUpdate
push str.....projectUpdaterCoreLibUpdateFileRepair.cpp
push 0x13b61
call fcn.1000c7b0
mov ecx, eax
call fcn.1000c930
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.1000da67
mov esp, ebp
pop ebp
ret