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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push edi
lea eax, [ebp - 4]
push eax
push 0x20019
xor edi, edi
push edi
push str.SOFTWAREkingsoftAntivirus
push reloc.OLEAUT32.dll_SysReAllocString
xor ebx, ebx
mov dword [ebp - 4], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x434ec5
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0xc]
push eax
push esi
lea eax, [ebp - 8]
push eax
push edi
push str.ProgramPath
push dword [ebp - 4]
mov dword [ebp - 8], edi
mov dword [ebp - 0xc], 0x204
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x434ec4
cmp dword [ebp - 8], 1
jne 0x434ec4
cmp dword [ebp - 0xc], 6
jb 0x434ec4
push esi
call dword [sym.imp.MSVCR80.dll_wcslen]
movzx eax, word [esi + eax*2 - 2]
cmp ax, 0x5c
pop ecx
je 0x434ec1
cmp ax, 0x2f
je 0x434ec1
push 0x471894
push esi
call dword [sym.imp.MSVCR80.dll_wcscat]
pop ecx
pop ecx
xor ebx, ebx
inc ebx
pop esi
cmp dword [ebp - 4], edi
je 0x434ed3
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, ebx
pop ebx
leave
ret

Function at 0x434ed9
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
lea eax, [ebp - 4]
push eax
push 0x20019
xor ebx, ebx
push ebx
push str.SOFTWAREksafe
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x434f71
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0xc]
push eax
push esi
lea eax, [ebp - 8]
push eax
push ebx
push str.Install_Path
push dword [ebp - 4]
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], 0x204
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x434f70
cmp dword [ebp - 8], 1
jne 0x434f70
cmp dword [ebp - 0xc], 6
jb 0x434f70
push esi
call dword [sym.imp.MSVCR80.dll_wcslen]
movzx eax, word [esi + eax*2 - 2]
cmp ax, 0x5c
pop ecx
je 0x434f69
cmp ax, 0x2f
je 0x434f69
push 0x471894
push 0x204
push esi
call dword [sym.imp.MSVCR80.dll_wcscat_s]
add esp, 0xc
mov dword [ebp - 0x10], 1
pop esi
cmp dword [ebp - 4], ebx
pop ebx
je 0x434f80
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x10]
leave
ret
Function at 0x434f85
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
lea eax, [ebp - 4]
push eax
push 0x20019
xor ebx, ebx
push ebx
push str.SOFTWAREMyDriversDriverGenius
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x43501d
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0xc]
push eax
push esi
lea eax, [ebp - 8]
push eax
push ebx
push str.AppPath
push dword [ebp - 4]
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], 0x204
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43501c
cmp dword [ebp - 8], 1
jne 0x43501c
cmp dword [ebp - 0xc], 6
jb 0x43501c
push esi
call dword [sym.imp.MSVCR80.dll_wcslen]
movzx eax, word [esi + eax*2 - 2]
cmp ax, 0x5c
pop ecx
je 0x435015
cmp ax, 0x2f
je 0x435015
push 0x471894
push 0x204
push esi
call dword [sym.imp.MSVCR80.dll_wcscat_s]
add esp, 0xc
mov dword [ebp - 0x10], 1
pop esi
cmp dword [ebp - 4], ebx
pop ebx
je 0x43502c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x10]
leave
ret

Function at 0x436229
Capabilities:
Get session user name

Disassembly:
push ebp
lea ebp, [esp - 0x198]
sub esp, 0x218
mov eax, dword [0x48644c]
xor eax, ebp
mov dword [ebp + 0x194], eax
and word [ebp - 0x78], 0
push esi
mov esi, dword [ebp + 0x1a0]
push 0x208
lea eax, [ebp - 0x76]
push 0
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x78]
push eax
mov dword [ebp - 0x80], 0x104
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
jne 0x43628a
push str.defaultuser
mov ecx, esi
call fcn.0040830c
jmp 0x4362d0
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0x7c]
call fcn.0040830c
lea ecx, [ebp - 0x7c]
call fcn.00433955
mov ecx, eax
call fcn.0040680a
mov eax, dword [ebp - 0x7c]
cmp dword [eax - 0xc], 0
mov ecx, esi
jne 0x4362bc
push str.defaultuser
call fcn.0040830c
jmp 0x4362c5
lea eax, [ebp - 0x7c]
push eax
call fcn.00403d2e
mov ecx, dword [ebp - 0x7c]
add ecx, 0xfffffff0
call fcn.0040149c
mov ecx, dword [ebp + 0x194]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00468ec6
add ebp, 0x198
leave
ret
Function at 0x436413
Capabilities:
Check if file exists
Copy file
Get common file path
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
push esi
mov esi, 0x486858
push esi
lea ecx, [ebp - 4]
call fcn.004033b3
push esi
lea ecx, [ebp - 8]
call fcn.004033b3
mov esi, 0x105
push esi
lea ecx, [ebp - 8]
call fcn.00403d4c
push eax
xor ebx, ebx
push ebx
push ebx
push 0x23
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push esi
lea ecx, [ebp - 8]
call fcn.00428597
lea eax, [ebp - 0xc]
push eax
call fcn.00436229
push dword [eax]
lea eax, [ebp - 4]
push dword [ebp - 8]
push str._skingsoftkdeskdatadesk_s
push eax
call fcn.004070f0
mov ecx, dword [ebp - 0xc]
add esp, 0x14
add ecx, 0xfffffff0
call fcn.0040149c
mov esi, dword [ebp - 4]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x436552
push edi
push 6
xor eax, eax
pop ecx
mov dword [ebp - 0x30], ebx
lea edi, [ebp - 0x2c]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov esi, dword [esi - 0xc]
inc esi
inc esi
xor ecx, ecx
push 2
pop edx
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00468b36
mov dword [ebp - 0xc], eax
lea eax, [esi + esi]
push eax
push ebx
push dword [ebp - 0xc]
call sub.MSVCR80.dll_memset
push dword [ebp - 4]
mov edi, dword [sym.imp.MSVCR80.dll_wcscpy_s]
push esi
push dword [ebp - 0xc]
call edi
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov esi, dword [eax - 0xc]
inc esi
inc esi
xor ecx, ecx
push 2
pop edx
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00468b36
lea ecx, [esi + esi]
push ecx
push ebx
push eax
mov dword [ebp - 0x10], eax
call sub.MSVCR80.dll_memset
mov eax, dword [ebp + 8]
push dword [eax]
push esi
mov esi, dword [ebp - 0x10]
push esi
call edi
mov edi, dword [ebp - 0xc]
add esp, 0x38
lea eax, [ebp - 0x30]
push eax
mov word [ebp - 0x20], 0x614
mov dword [ebp - 0x1a], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x2c], 1
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
push edi
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
push esi
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
mov esi, dword [ebp - 4]
pop ecx
pop ecx
pop edi
mov ecx, dword [ebp - 8]
add ecx, 0xfffffff0
call fcn.0040149c
lea ecx, [esi - 0x10]
call fcn.0040149c
pop esi
pop ebx
leave
ret 4
Function at 0x43656b
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
mov esi, 0x486858
push esi
mov ecx, edi
call fcn.004033b3
push esi
lea ecx, [ebp + 8]
call fcn.004033b3
mov esi, 0x105
push esi
lea ecx, [ebp + 8]
call fcn.00403d4c
push eax
xor eax, eax
push eax
push eax
push 0x23
push eax
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push esi
lea ecx, [ebp + 8]
call fcn.00428597
lea eax, [ebp - 4]
push eax
call fcn.00436229
push dword [eax]
mov esi, dword [ebp + 8]
push esi
push str._skdeskdatadesk_s
push edi
call fcn.004070f0
mov ecx, dword [ebp - 4]
add esp, 0x14
add ecx, 0xfffffff0
call fcn.0040149c
push dword [edi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4365ee
push edi
mov ecx, ebx
call fcn.00436413
lea ecx, [esi - 0x10]
call fcn.0040149c
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x436ddb
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push edi
mov edi, ecx
mov eax, dword [edi]
xor ecx, ecx
cmp eax, ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], ecx
je 0x436e62
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea edx, [ebp - 4]
push edx
push ecx
lea edx, [ebp - 8]
push edx
push ecx
push dword [ebp + 8]
push eax
call esi
cmp dword [ebp - 8], 1
je 0x436e15
cmp dword [ebp - 8], 2
jne 0x436e61
mov ecx, dword [ebp + 0xc]
push ebx
call fcn.004032bd
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
shr eax, 1
inc eax
push eax
call fcn.00403d4c
mov ebx, eax
lea eax, [ebp - 4]
push eax
push ebx
lea eax, [ebp - 8]
push eax
push 0
push dword [ebp + 8]
push dword [edi]
call esi
test eax, eax
jne 0x436e56
mov eax, dword [ebp - 4]
shr eax, 1
and word [ebx + eax*2], 0
mov dword [ebp - 0xc], 1
mov ecx, dword [ebp + 0xc]
push 0xffffffffffffffff
call fcn.00428597
pop ebx
pop esi
mov eax, dword [ebp - 0xc]
pop edi
leave
ret 8

Function at 0x43756c
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push dword [ebp + 8]
lea ecx, [ebp - 4]
call fcn.0040830c
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4375a1
xor esi, esi
inc esi
mov ecx, dword [ebp - 4]
add ecx, 0xfffffff0
call fcn.0040149c
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
mov esi, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0
push dword [ebp + 8]
call esi
test eax, eax
jne 0x43758c
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
mov ebx, 0xb7
cmp eax, ebx
je 0x43758c
lea eax, [ebp - 4]
push eax
call fcn.0043701b
mov eax, dword [ebp - 4]
cmp dword [eax - 0xc], 0
pop ecx
jne 0x4375da
xor esi, esi
jmp 0x43758f
push eax
call fcn.0043756c
test eax, eax
pop ecx
je 0x4375d6
push 0
push dword [ebp + 8]
call esi
test eax, eax
jne 0x43758c
call edi
cmp eax, ebx
jne 0x4375d6
jmp 0x43758c
Function at 0x43ecc3
Capabilities:
Modify service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push esi
xor esi, esi
push 0xf003f
push esi
push esi
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
cmp eax, esi
mov dword [ebp - 0xc], eax
je 0x43ed3d
push ebx
push edi
push 2
push dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov ebx, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov edi, eax
cmp edi, esi
je 0x43ed36
lea eax, [ebp - 8]
push eax
push 0x24
lea eax, [ebp - 0x30]
push eax
push edi
mov dword [ebp - 8], esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceConfigW]
test eax, eax
mov eax, dword [ebp + 0xc]
je 0x43ed1d
cmp dword [ebp - 0x2c], eax
je 0x43ed33
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push 0xffffffffffffffff
push eax
push 0xffffffffffffffff
push edi
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
mov dword [ebp - 4], eax
push edi
call ebx
push dword [ebp - 0xc]
call ebx
pop edi
pop ebx
mov eax, dword [ebp - 4]
pop esi
leave
ret
Function at 0x4401be
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp + 0x10]
xor eax, eax
push edi
mov edi, dword [ebp + 0xc]
mov dword [esi], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], eax
mov dword [edi], eax
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x44024f
push ebx
call fcn.00468b36
pop ecx
push eax
push ebx
push dword [ebp - 4]
mov dword [ebp + 0x10], eax
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x440240
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0x471894
push dword [ebp + 0x10]
xor ebx, ebx
mov dword [ebp + 0xc], ebx
mov dword [ebp - 8], ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x440240
cmp dword [ebp + 0xc], ebx
je 0x440240
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 8]
mov dword [edi], ecx
mov eax, dword [eax + 0xc]
mov dword [esi], eax
mov dword [ebp - 0xc], 1
cmp dword [ebp + 0x10], 0
je 0x44024f
push dword [ebp + 0x10]
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
pop ecx
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x440525
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x48644c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push 0x486858
mov ecx, esi
call fcn.004033b3
and word [ebp - 0x20c], 0
push 0x206
lea eax, [ebp - 0x20a]
push 0
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0x104
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea eax, [ebp - 0x20c]
push eax
mov ecx, esi
call fcn.00407097
push esi
call fcn.0044036e
pop ecx
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00468ec6
leave
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x48644c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
push 0x208
lea eax, [ebp - 0x20e]
push esi
push eax
mov word [ebp - 0x210], si
call sub.MSVCR80.dll_memset
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
push esi
push esi
push 0x26
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jl 0x440a22
push str.Internet_Exploreriexplore.exe
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x210]
push eax
mov ecx, edi
call fcn.00407097
inc esi
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00468ec6
leave
ret
Function at 0x440a32
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
lea eax, [ebp - 8]
push eax
push 0x47651c
sub esp, 0x10
mov edi, esp
mov esi, 0x47650c
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
movsd dword es:[edi], dword [esi]
call dword [sym.imp.SHLWAPI.dll_AssocCreate]
test eax, eax
jl 0x440b1f
mov eax, dword [ebp - 8]
cmp eax, ebx
je 0x440b2c
mov ecx, dword [eax]
push ebx
push ebx
push str.http
push ebx
push eax
call dword [ecx + 0xc]
test eax, eax
jl 0x440b1f
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
lea edx, [ebp - 4]
push edx
push ebx
push ebx
xor edi, edi
inc edi
push edi
push ebx
push eax
call dword [ecx + 0x10]
cmp eax, edi
jne 0x440b1f
mov eax, dword [ebp - 4]
cmp eax, ebx
je 0x440b1f
xor ecx, ecx
push 2
inc eax
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00468b36
mov esi, eax
cmp esi, ebx
pop ecx
je 0x440b1f
mov eax, dword [ebp - 4]
lea eax, [eax + eax + 2]
push eax
push ebx
push esi
call sub.MSVCR80.dll_memset
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
add esp, 0xc
lea edx, [ebp - 4]
push edx
push esi
push ebx
push edi
push ebx
push eax
call dword [ecx + 0x10]
test eax, eax
jl 0x440b18
cmp dword [ebp - 4], edi
jb 0x440b18
push esi
call dword [sym.imp.SHLWAPI.dll_PathRemoveArgsW]
push esi
call dword [sym.imp.SHLWAPI.dll_PathUnquoteSpacesW]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x440b18
mov ecx, dword [ebp + 8]
push esi
call fcn.00407097
mov dword [ebp - 0xc], edi
push esi
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
pop ecx
mov eax, dword [ebp - 8]
cmp eax, ebx
je 0x440b2c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x440bb4
Capabilities:
Check if file exists

Disassembly:
push ebp
lea ebp, [esp - 0x1a0]
sub esp, 0x220
mov eax, dword [0x48644c]
xor eax, ebp
mov dword [ebp + 0x19c], eax
mov eax, dword [ebp + 0x1a8]
push esi
push edi
mov dword [ebp - 0x80], eax
xor eax, eax
push 0x208
push eax
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], eax
mov word [ebp - 0x70], ax
lea eax, [ebp - 0x6e]
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
mov edi, 0x20019
push edi
push str.SOFTWAREliebao
mov esi, reloc.OLEAUT32.dll_SysReAllocString
push esi
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x74], 0x104
call fcn.00401318
test eax, eax
jne 0x440cc3
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x70]
push eax
push str.Install_Path_Dir
lea ecx, [ebp - 0x78]
call fcn.00404b68
test eax, eax
jne 0x440cc3
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x74]
call fcn.0040830c
push str.liebao.exe
lea ecx, [ebp - 0x74]
call fcn.004068f5
push dword [ebp - 0x74]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x440c93
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x74]
call fcn.00407097
push str.LBBrowserliebao.exe
lea ecx, [ebp - 0x74]
call fcn.004068f5
push dword [ebp - 0x74]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x440ca6
mov ecx, dword [ebp - 0x80]
lea eax, [ebp - 0x74]
push eax
call fcn.00406fb7
mov dword [ebp - 0x7c], 1
lea ecx, [ebp - 0x78]
call fcn.00401301
mov ecx, dword [ebp - 0x74]
add ecx, 0xfffffff0
call fcn.0040149c
cmp dword [ebp - 0x7c], 0
jne 0x440d4b
push 0x20a
lea eax, [ebp - 0x70]
push 0
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
push edi
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallliebao
push esi
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x74], 0x104
call fcn.00401318
test eax, eax
jne 0x440d4b
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x70]
push eax
push str.UninstallString
lea ecx, [ebp - 0x78]
call fcn.00404b68
test eax, eax
jne 0x440d4b
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.liebao.exe
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x440d43
mov ecx, dword [ebp - 0x80]
lea eax, [ebp - 0x70]
push eax
call fcn.00407097
mov dword [ebp - 0x7c], 1
lea ecx, [ebp - 0x78]
call fcn.00401301
lea ecx, [ebp - 0x78]
call fcn.00401301
mov ecx, dword [ebp + 0x19c]
mov eax, dword [ebp - 0x7c]
pop edi
xor ecx, ebp
pop esi
call fcn.00468ec6
add ebp, 0x1a0
leave
ret
Function at 0x440d6d
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
mov esi, 0x486858
push esi
lea ecx, [ebp - 4]
call fcn.004033b3
push esi
lea ecx, [ebp - 8]
call fcn.004033b3
lea eax, [ebp - 8]
push eax
call fcn.0044092e
test eax, eax
mov edi, dword [ebp - 8]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
pop ecx
je 0x440e11
push edi
call esi
test eax, eax
je 0x440e11
mov ecx, dword [ebp + 8]
lea eax, [ebp - 8]
push eax
call fcn.00406fb7
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0xc]
call fcn.00403d2e
lea ecx, [ebp - 0xc]
call fcn.00431610
push 0
push str.iexplore.exe
lea ecx, [ebp - 8]
call fcn.00404213
cmp eax, 0xffffffff
je 0x440df8
lea eax, [ebp - 4]
push eax
call fcn.00440bb4
test eax, eax
pop ecx
je 0x440df8
push dword [ebp - 4]
call esi
test eax, eax
lea eax, [ebp - 4]
jne 0x440dfb
lea eax, [ebp - 8]
mov ecx, dword [ebp + 8]
push eax
call fcn.00406fb7
mov ecx, dword [ebp - 0xc]
add ecx, 0xfffffff0
call fcn.0040149c
jmp 0x440e3f
lea eax, [ebp - 4]
push eax
call fcn.00440bb4
test eax, eax
pop ecx
je 0x440e36
push dword [ebp - 4]
call esi
test eax, eax
je 0x440e36
mov ecx, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
call fcn.00406fb7
jmp 0x440e3f
push dword [ebp + 8]
call fcn.00440a32
pop ecx
mov eax, dword [ebp + 8]
mov eax, dword [eax]
cmp dword [eax - 0xc], 0
jne 0x440e53
push dword [ebp + 8]
call fcn.004409b5
pop ecx
lea ecx, [edi - 0x10]
call fcn.0040149c
mov ecx, dword [ebp - 4]
add ecx, 0xfffffff0
call fcn.0040149c
xor eax, eax
pop edi
inc eax
pop esi
leave
ret

Function at 0x440e6d
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
xor ebx, ebx
cmp esi, edi
je 0x440f07
push esi
call dword [sym.imp.MSVCR80.dll_wcslen]
test eax, eax
pop ecx
je 0x440f07
push 0x486858
lea ecx, [ebp - 4]
call fcn.004033b3
lea eax, [ebp - 4]
push eax
call fcn.00440d6d
mov ebx, dword [ebp - 4]
cmp dword [ebx - 0xc], edi
pop ecx
je 0x440ec0
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x440ec0
push 1
push edi
push esi
push ebx
jmp 0x440ec5
push 1
push edi
push edi
push esi
mov esi, str.open
push esi
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ebx, eax
cmp ebx, 0x20
jle 0x440edb
xor ebx, ebx
cmp ebx, edi
je 0x440efc
lea eax, [ebp - 4]
push eax
call fcn.004409b5
pop ecx
push 1
push edi
push dword [ebp + 8]
push dword [ebp - 4]
push esi
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ebx, eax
mov ecx, dword [ebp - 4]
add ecx, 0xfffffff0
call fcn.0040149c
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret

Function at 0x4410b5
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4410cc
test al, 0x10
jne 0x4410cc
xor eax, eax
inc eax
ret
xor eax, eax
ret
Function at 0x441145
Capabilities:
Read .ini file

Disassembly:
push ebp
lea ebp, [esp - 0x18c]
sub esp, 0x20c
mov eax, dword [0x48644c]
xor eax, ebp
mov dword [ebp + 0x188], eax
mov eax, dword [ebp + 0x19c]
push esi
mov esi, dword [ebp + 0x194]
test esi, esi
push edi
mov edi, dword [ebp + 0x198]
mov dword [ebp - 0x80], eax
je 0x4411db
test edi, edi
je 0x4411db
push esi
call fcn.004410b5
test al, al
pop ecx
je 0x4411db
and word [ebp - 0x78], 0
push 0x1fe
lea eax, [ebp - 0x76]
push 0
push eax
mov dword [ebp - 0x7c], 0x80004005
call sub.MSVCR80.dll_memset
add esp, 0xc
push esi
push 0x100
lea eax, [ebp - 0x78]
push eax
push 0
push edi
push str.SPCfg
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x4411d6
mov ecx, dword [ebp - 0x80]
lea eax, [ebp - 0x78]
push eax
call dword [0x46c2d8]
and dword [ebp - 0x7c], 0
mov eax, dword [ebp - 0x7c]
jmp 0x4411e0
mov eax, 0x80004005
mov ecx, dword [ebp + 0x188]
pop edi
xor ecx, ebp
pop esi
call fcn.00468ec6
add ebp, 0x18c
leave
ret

Function at 0x441490
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
mov eax, dword [0x48644c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
test esi, esi
jne 0x4414b6
mov eax, 0x80004005
jmp 0x44152c
push esi
call fcn.004410b5
test al, al
pop ecx
je 0x4414af
and word [ebp - 0x804], 0
push 0x7fe
lea eax, [ebp - 0x802]
push 0
push eax
mov dword [ebp - 0x808], 0x80004005
call sub.MSVCR80.dll_memset
add esp, 0xc
push esi
push 0x400
lea eax, [ebp - 0x804]
push eax
push 0
mov eax, str.SPRoot
push eax
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x441526
lea eax, [ebp - 0x804]
push eax
mov ecx, ebx
call dword [0x46c2d8]
push ebx
call fcn.00441469
and dword [ebp - 0x808], 0
pop ecx
mov eax, dword [ebp - 0x808]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00468ec6
leave
ret

Function at 0x4415ba
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80c
mov eax, dword [0x48644c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
test esi, esi
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x80c], eax
je 0x44165a
test edi, edi
je 0x44165a
push esi
call fcn.004410b5
test al, al
pop ecx
je 0x44165a
and word [ebp - 0x804], 0
push 0x7fe
lea eax, [ebp - 0x802]
push 0
push eax
mov dword [ebp - 0x808], 0x80004005
call sub.MSVCR80.dll_memset
add esp, 0xc
push esi
push 0x400
lea eax, [ebp - 0x804]
push eax
push 0
push edi
push str.ProductInfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x441652
mov ecx, dword [ebp - 0x80c]
lea eax, [ebp - 0x804]
push eax
call dword [0x46c2d8]
and dword [ebp - 0x808], 0
mov eax, dword [ebp - 0x808]
jmp 0x44165f
mov eax, 0x80004005
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00468ec6
leave
ret

Function at 0x4418ac
Capabilities:
Encode data using xor

Disassembly:
xor ecx, ecx
cmp dword [esp + 8], ecx
jbe 0x4418c7
mov eax, dword [esp + 4]
mov dl, byte [esp + 0xc]
add eax, ecx
xor byte [eax], dl
inc ecx
cmp ecx, dword [esp + 8]
jb 0x4418b4
ret