joyce8/EMBER2024-capa huggingface dataset:
Function at 0x426a54
Capabilities:
Check os version
Get system information on windows

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x144
mov eax, dword [0x4d5784]
xor eax, ebp
mov dword [ebp + 0x74], eax
push 0x24
lea eax, [ebp - 0xcc]
push 0
push eax
call fcn.00430560
push 0x11c
lea eax, [ebp - 0xa8]
push 0
push eax
call fcn.00430560
add esp, 0x18
lea eax, [ebp - 0xa8]
push eax
mov dword [ebp - 0xa8], 0x11c
call dword [sym.imp.KERNEL32.DLL_GetVersionExW]
test eax, eax
je 0x426b47
push str.GetNativeSystemInfo
push 0x4b1a3c
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
test eax, eax
je 0x426ad4
lea ecx, [ebp - 0xcc]
push ecx
call eax
jmp 0x426ae1
lea eax, [ebp - 0xcc]
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemInfo]
xor eax, eax
cmp dword [ebp - 0x98], 2
jne 0x426b47
cmp dword [ebp - 0xa4], 4
jbe 0x426b47
cmp dword [ebp - 0xa4], 6
jne 0x426b17
cmp dword [ebp - 0xa0], eax
jne 0x426b0a
push 4
jmp 0x426b38
cmp dword [ebp - 0xa0], 1
jne 0x426b47
push 5
jmp 0x426b38
cmp dword [ebp - 0xa4], 5
jne 0x426b47
cmp dword [ebp - 0xa0], 2
jne 0x426b2d
push 3
jmp 0x426b38
cmp dword [ebp - 0xa0], 1
jne 0x426b3b
push 2
pop eax
jmp 0x426b47
cmp dword [ebp - 0xa0], 0
jne 0x426b47
xor eax, eax
inc eax
mov ecx, dword [ebp + 0x74]
xor ecx, ebp
call fcn.0043039d
add ebp, 0x78
leave
ret
Function at 0x426c43
Capabilities:
Create http request
Download and write a file
Get http content length
Read data from internet
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push edi
xor edi, edi
mov dword [ebp - 4], edi
cmp dword [ebp + 0x18], edi
je 0x426c8d
mov eax, 0x4b1a94
cmp dword [ebp + 0x10], edi
jne 0x426c64
mov eax, 0x4b1a8c
push eax
push dword [ebp + 0x18]
call fcn.00432a87
pop ecx
pop ecx
mov dword [ebp - 4], eax
cmp dword [ebp + 0x10], edi
je 0x426c84
push edi
push dword [ebp + 0x10]
push eax
call fcn.0043293c
add esp, 0xc
cmp dword [ebp - 4], edi
jne 0x426c8d
xor eax, eax
jmp 0x426cd5
push esi
push edi
push edi
push edi
push edi
push str.VsyDownload_1.0
mov dword [ebp - 0x1c], 4
mov dword [ebp - 0x18], edi
call dword [sym.imp.WININET.dll_InternetOpenW]
mov esi, eax
mov dword [ebp - 0x20], esi
cmp esi, edi
je 0x426cd2
push edi
push 0x84000002
push edi
push edi
push dword [ebp + 8]
push esi
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov ebx, eax
mov dword [ebp - 0x14], ebx
cmp ebx, edi
jne 0x426cd9
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
xor eax, eax
pop esi
pop edi
pop ebx
leave
ret
mov eax, dword [ebp + 0x14]
cmp eax, edi
je 0x426ce5
mov dword [ebp - 8], eax
jmp 0x426d04
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 8]
push eax
push 0x20000005
push ebx
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
jne 0x426d04
mov dword [ebp - 8], edi
cmp dword [ebp + 0x10], edi
je 0x426d16
push edi
push edi
push edi
push dword [ebp + 0x10]
push ebx
call dword [sym.imp.WININET.dll_InternetSetFilePointer]
mov eax, dword [ebp - 8]
inc eax
push eax
call fcn.0042f8d1
mov esi, eax
mov eax, dword [ebp - 8]
inc eax
push eax
push edi
push esi
mov dword [ebp - 0x10], esi
call fcn.00430560
mov eax, dword [ebp + 0xc]
add esp, 0x10
cmp eax, edi
je 0x426d3d
mov dword [eax], esi
mov eax, dword [ebp + 0x10]
cmp eax, edi
je 0x426d4c
cmp dword [ebp + 0x14], edi
jne 0x426d4c
sub dword [ebp - 8], eax
xor ebx, ebx
mov esi, 0x400
push edi
mov dword [ebp - 0xc], edi
call dword [sym.imp.KERNEL32.DLL_Sleep]
mov eax, dword [ebp - 8]
sub eax, ebx
cmp eax, esi
jb 0x426d68
mov eax, esi
lea ecx, [ebp - 0xc]
push ecx
push eax
mov eax, dword [ebp + 0x18]
neg eax
sbb eax, eax
not eax
and eax, ebx
add eax, dword [ebp - 0x10]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.WININET.dll_InternetReadFile]
cmp dword [ebp - 4], edi
je 0x426d9d
push dword [ebp - 4]
push dword [ebp - 0xc]
push 1
push dword [ebp - 0x10]
call fcn.00432830
add esp, 0x10
add ebx, dword [ebp - 0xc]
cmp dword [ebp - 0xc], edi
ja 0x426d53
cmp dword [ebp - 4], edi
je 0x426dbc
push dword [ebp - 4]
call fcn.00432672
push dword [ebp - 4]
call fcn.0043246c
pop ecx
pop ecx
push dword [ebp - 0x14]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push dword [ebp - 0x20]
call esi
cmp dword [ebp + 0xc], edi
jne 0x426dda
push dword [ebp - 0x10]
call fcn.00430546
pop ecx
xor eax, eax
inc eax
jmp 0x426cd4
Function at 0x426f5e
Capabilities:
Create thread
Get common file path

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
xor ebx, ebx
push edi
mov edi, ecx
cmp esi, ebx
je 0x426fda
cmp dword [esi + 4], ebx
jne 0x426fda
cmp dword [esi], ebx
je 0x426fda
push 0x20a
call fcn.0042f8d1
mov dword [esp], 0x105
push ebx
push eax
mov dword [esi + 4], eax
call fcn.00430560
add esp, 0xc
push dword [esi + 4]
push 0x104
call dword [sym.imp.KERNEL32.DLL_GetTempPathW]
push dword [esi]
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
push dword [esi + 4]
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push ebx
push ebx
lea eax, [edi + 0x100]
mov ecx, dword [eax]
push esi
push 0x426bd1
lea edi, [edi + ecx*4]
push 0xa
inc ecx
push ebx
mov dword [eax], ecx
call dword [sym.imp.KERNEL32.DLL_CreateThread]
mov dword [edi], eax
xor eax, eax
inc eax
jmp 0x426fdc
xor eax, eax
pop edi
pop esi
pop ebx
ret 4

Function at 0x42748b
Capabilities:
Check for time delay via gettickcount

Disassembly:
push 4
mov eax, 0x4ac9eb
call fcn.004303ac
mov edi, ecx
mov esi, dword [sym.imp.KERNEL32.DLL_GetTickCount]
call esi
mov ebx, eax
jmp 0x4274b6
push 0xa
call dword [sym.imp.KERNEL32.DLL_Sleep]
cmp byte [0x4da030], 0
jne 0x4274c2
call esi
sub eax, ebx
cmp eax, dword [0x4d51e0]
jb 0x4274a5
mov al, byte [ebp + 8]
push 0x80
xor ebx, ebx
mov byte [edi + 0x11c], al
mov al, byte [ebp + 0xc]
lea esi, [edi + 0x11e]
push ebx
push esi
mov byte [edi + 0x11d], al
call fcn.00430560
add esp, 0xc
cmp dword [ebp + 0x10], ebx
je 0x427505
push esi
push str._id_s
push dword [ebp + 0x10]
call fcn.00432f00
add esp, 0xc
or dword [ebp - 4], 0xffffffff
push 0x4b16a0
lea ecx, [ebp - 0x10]
call fcn.00422e6f
lea esi, [edi + 0x104]
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
mov dword [ebp - 4], 2
sar eax, 2
test eax, eax
jbe 0x4275de
push ebx
mov ecx, esi
call fcn.0044b633
mov eax, dword [eax]
cmp dword [eax + 0x18], 0
je 0x4275cc
cmp byte [edi + 0x11d], 0
je 0x427562
push ebx
mov ecx, esi
call fcn.0044b633
mov eax, dword [eax]
mov ecx, dword [0x4d51dc]
test dword [eax + 0x1c], ecx
je 0x4275cc
cmp byte [edi + 0x11c], 0
je 0x427580
push ebx
mov ecx, esi
call fcn.0044b633
mov eax, dword [eax]
mov ecx, dword [0x4d51d8]
test dword [eax + 0x1c], ecx
je 0x4275cc
push ebx
mov ecx, esi
call fcn.0044b633
push dword [eax]
mov ecx, edi
call fcn.0042714a
test eax, eax
jne 0x4275cc
push ebx
mov ecx, esi
call fcn.0044b633
push dword [eax]
mov ecx, edi
call fcn.00426f5e
push ebx
mov ecx, esi
call fcn.0044b633
mov eax, dword [eax]
push dword [eax + 0xc]
lea eax, [ebp - 0x10]
push 0x4b1ae4
push eax
call fcn.0042728c
push dword [ebp - 0x10]
call fcn.0042d08f
add esp, 0x10
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
inc ebx
sar eax, 2
cmp ebx, eax
jb 0x427530
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004222af
xor eax, eax
call fcn.00430484
ret 0xc
Function at 0x427b6c
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x198]
sub esp, 0x218
mov eax, dword [0x4d5784]
xor eax, ebp
mov dword [ebp + 0x194], eax
mov eax, dword [ebp + 0x1a8]
push ebx
push esi
mov esi, dword [ebp + 0x1a0]
push edi
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x78]
push eax
push 0x20019
xor edi, edi
push edi
push 0x10
mov ecx, 0x4da128
call fcn.0042d5c5
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x427c19
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp esi, edi
je 0x427c76
cmp dword [ebp + 0x1a4], edi
je 0x427c76
push 0x206
mov word [ebp - 0x74], ax
lea eax, [ebp - 0x72]
push edi
push eax
call fcn.00430560
add esp, 0xc
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x74]
push eax
push edi
push edi
push 0x4b1c04
push dword [ebp - 0x78]
mov dword [ebp - 0x7c], 0x208
call ebx
test eax, eax
je 0x427c36
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
mov ecx, dword [ebp + 0x194]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043039d
add ebp, 0x198
leave
ret 0x10
lea eax, [ebp - 0x74]
push eax
push dword [ebp + 0x1a4]
push esi
call fcn.004304d7
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0xc
push esi
call edi
test eax, eax
jne 0x427c5b
mov word [esi], ax
jmp 0x427c10
push str.KuaiZip.exe
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x74]
push eax
call edi
test eax, eax
je 0x427c10
xor edi, edi
cmp dword [ebp - 0x80], edi
je 0x427ca2
mov eax, dword [ebp + 0x1ac]
cmp eax, edi
je 0x427ca2
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x7c]
push eax
push dword [ebp - 0x80]
push edi
push edi
push 0x4b1bf4
push dword [ebp - 0x78]
call ebx
test eax, eax
je 0x427ca2
xor edi, edi
inc edi
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x427c1c

Function at 0x427cb2
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push ebx
lea eax, [ebp - 4]
push eax
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push 0x10
mov ecx, 0x4da128
call fcn.0042d5c5
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x427ce8
xor eax, eax
inc eax
jmp 0x427d3b
push esi
mov esi, dword [ebp + 8]
cmp dword [esi + 0x18], 8
mov eax, dword [esi + 0x14]
push edi
jb 0x427cfb
mov ecx, dword [esi + 4]
jmp 0x427cfe
lea ecx, [esi + 4]
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
add eax, eax
push eax
push ecx
push 1
push ebx
push 0x4b1c04
push dword [ebp - 4]
call edi
cmp dword [esi + 0x34], 8
mov eax, dword [esi + 0x30]
jb 0x427d23
mov esi, dword [esi + 0x20]
jmp 0x427d26
add esi, 0x20
add eax, eax
push eax
push esi
push 1
push ebx
push 0x4b1bf4
push dword [ebp - 4]
call edi
pop edi
xor eax, eax
pop esi
pop ebx
leave
ret 4
Function at 0x4287a5
Capabilities:
Enumerate processes

Disassembly:
push ebp
lea ebp, [esp - 0x1b4]
sub esp, 0x234
mov eax, dword [0x4d5784]
xor eax, ebp
mov dword [ebp + 0x1b0], eax
push esi
push edi
push 0x4da5ec
lea ecx, [ebp - 0x80]
call fcn.004223ce
xor esi, esi
push 0x228
lea eax, [ebp - 0x78]
push esi
push eax
mov dword [ebp - 0x7c], esi
call fcn.00430560
add esp, 0xc
push esi
push 2
call sub.KERNEL32.DLL_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
jne 0x428819
mov ecx, dword [ebp - 0x80]
add ecx, 0xfffffff0
call fcn.004222af
mov ecx, dword [ebp + 0x1b0]
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0043039d
add ebp, 0x1b4
leave
ret
lea eax, [ebp - 0x7c]
push eax
push edi
mov dword [ebp - 0x7c], 0x22c
call sub.KERNEL32.DLL_Process32FirstW
jmp 0x428841
mov eax, dword [ebp + 0x1bc]
cmp eax, dword [ebp - 0x74]
je 0x42884e
lea eax, [ebp - 0x7c]
push eax
push edi
call sub.KERNEL32.DLL_Process32NextW
test eax, eax
jne 0x42882c
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
jmp 0x4287f5
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov esi, dword [ebp - 0x64]
jmp 0x4287f5

Function at 0x42885a
Capabilities:
Enumerate processes

Disassembly:
push 0x234
mov eax, 0x4acad0
call fcn.00430415
mov edi, dword [ebp + 0xc]
push 0x4da5ec
lea ecx, [ebp - 0x240]
call fcn.004223ce
and dword [ebp - 4], 0
and dword [ebp - 0x23c], 0
push 0x228
lea eax, [ebp - 0x238]
push 0
push eax
call fcn.00430560
add esp, 0xc
push 0
push 2
call sub.KERNEL32.DLL_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
jne 0x4288c5
xor esi, esi
mov ecx, dword [ebp - 0x240]
add ecx, 0xfffffff0
call fcn.004222af
mov eax, esi
call fcn.00430498
ret
lea eax, [ebp - 0x23c]
push eax
push esi
mov dword [ebp - 0x23c], 0x22c
call sub.KERNEL32.DLL_Process32FirstW
jmp 0x4288f6
mov eax, dword [ebp + 8]
cmp eax, dword [ebp - 0x234]
je 0x428903
lea eax, [ebp - 0x23c]
push eax
push esi
call sub.KERNEL32.DLL_Process32NextW
test eax, eax
jne 0x4288de
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
jmp 0x4288ad
lea eax, [ebp - 0x218]
push eax
push 0x4b1cb4
push edi
call fcn.0042728c
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
xor esi, esi
inc esi
jmp 0x4288af

Function at 0x42895c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push 0x38
lea eax, [ebp - 0x38]
push 0
push eax
call fcn.00430560
and dword [ebp - 0x20], 0
add esp, 0xc
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x2c], str.schtasks.exe
mov dword [ebp - 0x28], 0x4b1cdc
mov dword [ebp - 0x38], 0x40
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x4289b0
push 0xffffffffffffffff
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
xor eax, eax
inc eax
leave
ret
xor eax, eax
leave
ret
Function at 0x42905c
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
lea ebp, [esp - 0x5d8]
sub esp, 0x658
mov eax, dword [0x4d5784]
xor eax, ebp
mov dword [ebp + 0x5d4], eax
cmp dword [0x4da0b0], 8
mov eax, dword [0x4da09c]
push esi
mov esi, 0x4da09c
jae 0x42908d
mov eax, esi
push eax
lea eax, [ebp + 0x3cc]
push 0x104
push eax
call fcn.004304d7
add esp, 0xc
push str.KuaiZip.exe
lea eax, [ebp + 0x3cc]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp + 0x3cc]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4291e0
push ebx
push edi
push 0x38
lea eax, [ebp - 0x7c]
push 0
push eax
call fcn.00430560
mov edi, dword [sym.imp.SHELL32.dll_ShellExecuteExW]
add esp, 0xc
push 0x3c
lea eax, [ebp + 0x3cc]
pop ebx
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x6c], str._AssociateAll
mov dword [ebp - 0x64], 1
mov dword [ebp - 0x7c], 0x40
call edi
test eax, eax
je 0x4291cd
push 0xffffffffffffffff
push dword [ebp - 0x48]
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
cmp dword [0x4da0b0], 8
mov eax, dword [0x4da09c]
jae 0x42912e
mov eax, esi
mov esi, dword [sym.imp.KERNEL32.DLL_lstrcpyW]
push eax
lea eax, [ebp + 0x1c4]
push eax
call esi
push str.KZipShell.dll
lea eax, [ebp + 0x1c4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp + 0x1c4]
push 0x4b1834
push eax
call fcn.00430945
pop ecx
test eax, eax
lea eax, [ebp + 0x1c4]
pop ecx
push eax
lea eax, [ebp - 0x44]
je 0x429178
push str.__s___s
jmp 0x42917d
push str._s__s
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push str.regsvr32.exe
lea eax, [ebp + 0x3cc]
push eax
call esi
push ebx
lea eax, [ebp - 0x80]
push 0
push eax
call fcn.00430560
lea eax, [ebp + 0x3cc]
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x44]
mov dword [ebp - 0x6c], eax
add esp, 0xc
xor esi, esi
lea eax, [ebp - 0x80]
inc esi
push eax
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x7c], 0x40
call edi
test eax, eax
jne 0x4291d1
xor eax, eax
jmp 0x4291de
push 0xffffffffffffffff
push dword [ebp - 0x48]
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
mov eax, esi
pop edi
pop ebx
mov ecx, dword [ebp + 0x5d4]
xor ecx, ebp
pop esi
call fcn.0043039d
add ebp, 0x5d8
leave
ret 4

Function at 0x4294f0
Capabilities:
Set registry value

Disassembly:
push 4
lea eax, [esp + 0xc]
push eax
push 4
push 0
push dword [esp + 0x14]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
ret 8

Function at 0x429541
Capabilities:
Set registry value

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
mov ebx, ecx
test esi, esi
jne 0x429552
push 0xd
pop eax
jmp 0x42957f
push edi
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x429555
push edi
push dword [esp + 0x18]
push 7
push 0
push dword [esp + 0x20]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
ret 8
Function at 0x429ac0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x19c]
sub esp, 0x21c
mov eax, dword [0x4d5784]
xor eax, ebp
mov dword [ebp + 0x198], eax
mov eax, dword [ebp + 0x1a4]
push ebx
push esi
mov esi, ecx
mov ecx, dword [esi + 4]
push edi
or ecx, 0x2001f
push ecx
push eax
push dword [esi]
xor edi, edi
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x6c], edi
call fcn.004294bb
mov ebx, eax
cmp ebx, edi
je 0x429b30
lea ecx, [ebp - 0x70]
call fcn.00429452
mov eax, ebx
mov ecx, dword [ebp + 0x198]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043039d
add ebp, 0x19c
leave
ret 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x429b48
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x70]
call fcn.00429ac0
cmp eax, edi
jne 0x429b7b
lea eax, [ebp - 0x80]
push eax
push edi
push edi
push edi
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x68]
push eax
push edi
push dword [ebp - 0x70]
mov dword [ebp - 0x74], 0x100
call ebx
test eax, eax
je 0x429b38
lea ecx, [ebp - 0x70]
call fcn.00429452
push dword [ebp - 0x78]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
lea ecx, [ebp - 0x70]
mov esi, eax
call fcn.00429452
mov eax, esi
jmp 0x429b16
Function at 0x42acbf
Capabilities:
Hide graphical window

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetParent]
lea esi, [ecx + 4]
push dword [esi]
call edi
push 0x3023
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi]
call edi
mov ebp, 0x4da128
push 0x23
mov ecx, ebp
mov ebx, eax
call fcn.0042d5c5
push eax
push 0x3024
push ebx
mov ebx, dword [sym.imp.USER32.dll_SetDlgItemTextW]
call ebx
push dword [esi]
call edi
push 0x24
mov ecx, ebp
mov dword [esp + 0x14], eax
call fcn.0042d5c5
push eax
push 0x3023
push dword [esp + 0x18]
call ebx
push dword [esi]
call edi
push 0x25
mov ecx, ebp
mov edi, eax
call fcn.0042d5c5
push eax
push 2
push edi
call ebx
push 0x3e9
push dword [esi]
call dword [sym.imp.USER32.dll_IsDlgButtonChecked]
mov ecx, esi
cmp eax, 1
jne 0x42ad53
push 2
jmp 0x42ad55
push 0
call fcn.004249a4
pop edi
pop esi
xor eax, eax
pop ebp
inc eax
pop ebx
pop ecx
ret

Function at 0x42b5c2
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
lea esi, [ecx + 4]
push 4
mov ecx, esi
call fcn.004249a4
push dword [esi]
mov edi, dword [sym.imp.USER32.dll_GetParent]
call edi
push 0x1e
mov ecx, 0x4da128
mov ebx, eax
call fcn.0042d5c5
push eax
push 0
push 0x479
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
push dword [esi]
call edi
push 2
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
ret
Function at 0x42c97f
Capabilities:
Create process on windows
Schedule task via at
Schedule task via schtasks

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x4d5784]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0x40
mov eax, 0x4acd20
call fcn.004303ac
mov ebx, ecx
mov esi, dword [ebp + 0x214]
xor eax, eax
push 0x206
mov word [ebp], ax
xor edi, edi
lea eax, [ebp + 2]
push edi
push eax
call fcn.00430560
add esp, 0xc
push 0x104
lea eax, [ebp]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_GetShortPathNameW]
push str.Update.exe
lea eax, [ebp]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
call fcn.00426a54
push 0x4da5ec
lea ecx, [ebp - 0x10]
mov esi, eax
call fcn.004223ce
mov dword [ebp - 4], edi
cmp esi, edi
jbe 0x42cab4
cmp esi, 3
jbe 0x42ca36
cmp esi, 5
ja 0x42cab4
mov ecx, ebx
call fcn.0042895c
lea eax, [ebp]
push eax
push str._create__tn_KuaiZip_Update__sc_DAILY__st_16:00__tr
lea eax, [ebp - 0x10]
push str._s___s_
push eax
call fcn.0042728c
mov esi, str.schtasks.exe
jmp 0x42ca70
lea eax, [ebp]
push eax
call fcn.004235c6
pop ecx
test eax, eax
je 0x42ca54
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004222af
xor eax, eax
inc eax
jmp 0x42cac1
lea eax, [ebp]
push eax
push str.16:00___interactive__every:M_T_W_Th_F_S_Su
lea eax, [ebp - 0x10]
push str._s___s_
push eax
call fcn.0042728c
mov esi, str.at.exe
add esp, 0x10
push 0x38
lea eax, [ebp - 0x48]
push edi
push eax
call fcn.00430560
add esp, 0xc
mov dword [ebp - 0x3c], esi
mov esi, dword [ebp - 0x10]
lea eax, [ebp - 0x4c]
push eax
mov dword [ebp - 0x4c], 0x3c
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x48], 0x40
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
lea ecx, [esi - 0x10]
mov edi, eax
call fcn.004222af
mov eax, edi
jmp 0x42cac1
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004222af
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.0043039d
add ebp, 0x20c
leave
ret 4
Function at 0x42d263
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push 0x4b23c0
push dword [ebp + 8]
mov esi, ecx
call fcn.00432a87
pop ecx
pop ecx
mov dword [ebp + 8], eax
test eax, eax
je 0x42d347
cmp byte [esi], 0
je 0x42d28f
mov ecx, esi
call fcn.0042d0e0
push ebx
push edi
push dword [ebp + 8]
lea ebx, [esi + 4]
push 1
push 0x68
push ebx
call fcn.00433c85
mov edi, str.VspLanguagePack
push edi
call fcn.0042fbb0
push eax
push edi
push ebx
call fcn.00433925
add esp, 0x20
test eax, eax
je 0x42d2c2
xor eax, eax
jmp 0x42d345
mov eax, dword [esi + 0x68]
mov ecx, esi
mov dword [esi + 0x74], eax
call fcn.0042d1f0
xor ebx, ebx
cmp dword [esi + 0x68], ebx
jbe 0x42d339
push dword [ebp + 8]
mov eax, dword [esi + 0x6c]
mov edi, ebx
push 1
shl edi, 3
add eax, edi
push 8
push eax
call fcn.00433c85
mov eax, dword [esi + 0x6c]
mov eax, dword [edi + eax]
inc eax
push eax
call fcn.004332a4
mov ecx, dword [esi + 0x6c]
mov dword [edi + ecx + 4], eax
mov eax, dword [esi + 0x6c]
add eax, edi
mov ecx, dword [eax]
inc ecx
push ecx
push 0
push dword [eax + 4]
call fcn.00430560
push dword [ebp + 8]
mov eax, dword [esi + 0x6c]
add eax, edi
push 1
push dword [eax]
push dword [eax + 4]
call fcn.00433c85
add esp, 0x30
push ebx
mov ecx, esi
call fcn.0042d1ae
inc ebx
cmp ebx, dword [esi + 0x68]
jb 0x42d2d6
push dword [ebp + 8]
call fcn.0043246c
xor eax, eax
pop ecx
inc eax
pop edi
pop ebx
pop esi
pop ebp
ret 4

Function at 0x42e48d
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0x10]
mov eax, dword [esi]
and dword [esi], 0
push edi
mov edi, dword [ebp + 0xc]
add eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push edi
lea eax, [ebp + 0x10]
push eax
push 0
push dword [ebp + 8]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x42e4f6
cmp dword [ebp + 0x10], 1
je 0x42e4ce
cmp dword [ebp + 0x10], 2
je 0x42e4ce
push 0xd
pop eax
jmp 0x42e4f6
mov eax, dword [ebp - 4]
test edi, edi
je 0x42e4f0
test eax, eax
je 0x42e4eb
test al, 1
jne 0x42e4c9
mov ecx, eax
shr ecx, 1
cmp word [edi + ecx*2 - 2], 0
je 0x42e4f0
jmp 0x42e4c9
xor ecx, ecx
mov word [edi], cx
shr eax, 1
mov dword [esi], eax
xor eax, eax
pop edi
pop esi
leave
ret 0xc
Function at 0x42e52b
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push edi
xor edi, edi
push edi
lea eax, [ebp - 4]
push eax
push edi
push 0xf003f
push edi
push edi
push edi
push 0x11
mov ecx, 0x4da128
call fcn.0042d5c5
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x42e5e2
push esi
mov esi, 0x4da5c8
push esi
push dword [0x4da5d4]
lea ecx, [ebp - 0x18]
mov dword [ebp - 8], edi
call fcn.00425ce1
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xc], eax
jmp 0x42e5b9
lea ecx, [ebp - 0x10]
call fcn.0044b564
cmp dword [eax + 0x18], 8
jb 0x42e59b
mov eax, dword [eax + 4]
jmp 0x42e59e
add eax, 4
push 4
lea ecx, [ebp - 8]
push ecx
push 4
push edi
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea ecx, [ebp - 0x10]
call fcn.0042e4fc
push esi
push dword [0x4da5d8]
lea ecx, [ebp - 0x18]
call fcn.00425ce1
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x10]
call fcn.00422385
test al, al
je 0x42e588
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop edi
leave
ret