joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42b320
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
push 0
lea eax, [ebp - 4]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push 0x454aac
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x42b35c
mov eax, 1
jmp 0x42b3b2
mov ecx, dword [ebp + 8]
call fcn.004052d0
shl eax, 1
push eax
mov ecx, dword [ebp + 8]
call fcn.00404fa0
push eax
push 1
push 0
push str.path
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [ebp + 8]
add ecx, 0x1c
call fcn.004052d0
shl eax, 1
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x1c
call fcn.00404fa0
push eax
push 1
push 0
push 0x454ae8
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
xor eax, eax
mov esp, ebp
pop ebp
ret 4
Function at 0x42d790
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x664
mov eax, dword [0x4656fc]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x664], ecx
mov ecx, 0x4672a8
call fcn.00404fa0
push eax
push 0x104
lea eax, [ebp - 0x660]
push eax
call fcn.0043af94
add esp, 0xc
push 0x454de4
lea ecx, [ebp - 0x660]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea edx, [ebp - 0x660]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42d7f2
xor eax, eax
jmp 0x42d97c
mov dword [ebp - 0x24c], 0
push 0x38
push 0
lea eax, [ebp - 0x248]
push eax
call fcn.0043b030
add esp, 0xc
mov dword [ebp - 0x24c], 0x3c
lea ecx, [ebp - 0x660]
mov dword [ebp - 0x23c], ecx
cmp dword [ebp + 8], 0
je 0x42d837
mov dword [ebp - 0x238], str._AssociateAllNoIcon
jmp 0x42d841
mov dword [ebp - 0x238], str._AssociateAll
mov dword [ebp - 0x230], 1
mov dword [ebp - 0x248], 0x40
lea edx, [ebp - 0x24c]
push edx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x42d86d
xor eax, eax
jmp 0x42d97c
push 0xffffffffffffffff
mov eax, dword [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, 0x4672a8
call fcn.00404fa0
push eax
lea ecx, [ebp - 0x458]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x454d84
lea edx, [ebp - 0x458]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0x454d80
lea eax, [ebp - 0x458]
push eax
call fcn.00429a80
add esp, 8
test eax, eax
je 0x42d8dc
lea ecx, [ebp - 0x458]
push ecx
push str.__s___s
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
jmp 0x42d8f8
lea eax, [ebp - 0x458]
push eax
push str._s__s
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push str.regsvr32.exe
lea edx, [ebp - 0x660]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x3c
push 0
lea eax, [ebp - 0x24c]
push eax
call fcn.0043b030
add esp, 0xc
mov dword [ebp - 0x24c], 0x3c
lea ecx, [ebp - 0x660]
mov dword [ebp - 0x23c], ecx
lea edx, [ebp - 0x210]
mov dword [ebp - 0x238], edx
mov dword [ebp - 0x230], 1
mov dword [ebp - 0x248], 0x40
lea eax, [ebp - 0x24c]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x42d968
xor eax, eax
jmp 0x42d97c
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x214]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043a91c
mov esp, ebp
pop ebp
ret 4
Function at 0x42d990
Capabilities:
Create process on windows
Schedule task via at
Schedule task via schtasks

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x451268
mov eax, dword fs:[0]
push eax
sub esp, 0x26c
mov eax, dword [0x4656fc]
xor eax, ebp
mov dword [ebp - 0x5c], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x274], ecx
xor eax, eax
mov word [ebp - 0x264], ax
push 0x206
push 0
lea ecx, [ebp - 0x262]
push ecx
call fcn.0043b030
add esp, 0xc
push 0x104
lea edx, [ebp - 0x264]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
push str.Update.exe
lea ecx, [ebp - 0x264]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
call fcn.0042b020
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x54], 0
lea ecx, [ebp - 0x58]
call fcn.0042e7e0
mov dword [ebp - 4], 0
mov dword [ebp - 0x50], 0
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x278], edx
mov eax, dword [ebp - 0x278]
sub eax, 1
mov dword [ebp - 0x278], eax
cmp dword [ebp - 0x278], 4
ja case.default.0x42da58
mov ecx, dword [ebp - 0x278]
jmp dword [ecx*4 + 0x42db90]
lea edx, [ebp - 0x264]
push edx
call fcn.004250e0
add esp, 4
test eax, eax
je 0x42da96
mov dword [ebp - 0x268], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.00422b80
mov eax, dword [ebp - 0x268]
jmp 0x42db75
lea eax, [ebp - 0x264]
push eax
push str.16:00___interactive__every:M_T_W_Th_F_S_Su
push str._s___s_
lea ecx, [ebp - 0x58]
push ecx
call fcn.0042fbf0
add esp, 0x10
mov dword [ebp - 0x50], str.at.exe
jmp 0x42db0d
mov ecx, dword [ebp - 0x274]
call fcn.0042dbb0
lea edx, [ebp - 0x264]
push edx
push str._create__tn_KuaiZip_Update__sc_DAILY__st_16:00__tr
push str._s___s_
lea eax, [ebp - 0x58]
push eax
call fcn.0042fbf0
add esp, 0x10
mov dword [ebp - 0x50], str.schtasks.exe
jmp 0x42db0d
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x26c], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.00422b80
mov eax, dword [ebp - 0x26c]
jmp 0x42db75
mov dword [ebp - 0x4c], 0
push 0x38
push 0
lea edx, [ebp - 0x48]
push edx
call fcn.0043b030
add esp, 0xc
mov dword [ebp - 0x4c], 0x3c
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x3c], eax
lea ecx, [ebp - 0x58]
call fcn.00425410
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x48], 0x40
lea ecx, [ebp - 0x4c]
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov dword [ebp - 0x54], eax
mov edx, dword [ebp - 0x54]
mov dword [ebp - 0x270], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.00422b80
mov eax, dword [ebp - 0x270]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x5c]
xor ecx, ebp
call fcn.0043a91c
mov esp, ebp
pop ebp
ret 4
Function at 0x42dbb0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], 0
push 0x38
push 0
lea eax, [ebp - 0x38]
push eax
call fcn.0043b030
add esp, 0xc
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x2c], str.schtasks.exe
mov dword [ebp - 0x28], str._delete__tn_KuaiZip_Update__f
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x38], 0x40
lea ecx, [ebp - 0x3c]
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x42dc14
push 0xffffffffffffffff
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, 1
jmp 0x42dc16
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x433780
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x4656fc]
xor eax, ebp
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x230], ecx
lea ecx, [ebp - 0x14]
call fcn.00433550
mov eax, dword [ebp - 0x230]
mov ecx, dword [eax + 4]
or ecx, 0x2001f
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x230]
mov ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00433720
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4337eb
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x224], edx
lea ecx, [ebp - 0x14]
call fcn.00433580
mov eax, dword [ebp - 0x224]
jmp 0x43387c
mov dword [ebp - 4], 0x100
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push 0
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 0x220]
push edx
push 0
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x433851
lea ecx, [ebp - 0x220]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00433780
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x433848
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x228], edx
lea ecx, [ebp - 0x14]
call fcn.00433580
mov eax, dword [ebp - 0x228]
jmp 0x43387c
mov dword [ebp - 4], 0x100
jmp 0x4337f2
lea ecx, [ebp - 0x14]
call fcn.00433660
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x230]
call fcn.00433600
mov dword [ebp - 0x22c], eax
lea ecx, [ebp - 0x14]
call fcn.00433580
mov eax, dword [ebp - 0x22c]
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0043a91c
mov esp, ebp
pop ebp
ret 4
Function at 0x433e70
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
xor eax, eax
jne 0x433e79
xor ecx, ecx
jne 0x433e79
xor edx, edx
cmp dword [ebp + 0xc], 0
setne dl
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 0
jne 0x433e9a
mov eax, 0xd
jmp 0x433ef5
xor eax, eax
jne 0x433e81
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
lea edx, [ecx + eax*2]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax*2]
mov dword [ebp - 4], edx
cmp dword [ebp - 0xc], 1
jne 0x433eab
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 7
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esp, ebp
pop ebp
ret 8

Function at 0x436560
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x451b18
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x4656fc]
xor eax, ebp
mov dword [ebp - 0x20], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x40], ecx
mov ecx, dword [ebp + 8]
call fcn.00436850
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x18]
push ecx
push 0
push 0
push 0
mov edx, dword [ebp - 0x40]
mov eax, dword [edx + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x43666a
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x1c], 0
jmp 0x4365ef
mov edx, dword [ebp - 0x1c]
add edx, 1
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x18]
jae 0x43666a
lea ecx, [ebp - 0x3c]
call fcn.00405720
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
push edx
lea ecx, [ebp - 0x3c]
call fcn.00436830
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x3c]
call fcn.00404fa0
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x40]
mov eax, dword [edx + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov ecx, dword [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x3c]
call fcn.00436830
lea edx, [ebp - 0x3c]
push edx
mov ecx, dword [ebp + 8]
call fcn.00429ce0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.00405000
jmp 0x4365e6
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.0043a91c
mov esp, ebp
pop ebp
ret 4
Function at 0x436690
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x451b45
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x4656fc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x3c], ecx
mov ecx, dword [ebp + 8]
call fcn.00436850
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
lea ecx, [ebp - 0x2c]
call fcn.00405720
mov dword [ebp - 4], 0
push 0
push 0
push 0
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x34]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
mov edx, dword [ebp - 0x3c]
mov eax, dword [edx + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x436778
mov dword [ebp - 0x38], 0
jmp 0x43671d
mov ecx, dword [ebp - 0x38]
add ecx, 1
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 0x38]
cmp edx, dword [ebp - 0x34]
jae 0x436778
mov eax, dword [ebp - 0x30]
shr eax, 1
push eax
lea ecx, [ebp - 0x2c]
call fcn.00436830
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00404fa0
push eax
mov edx, dword [ebp - 0x38]
push edx
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
lea ecx, [ebp - 0x2c]
call fcn.00404fa0
push eax
lea ecx, [ebp - 0x2c]
call fcn.00405150
lea edx, [ebp - 0x2c]
push edx
mov ecx, dword [ebp + 8]
call fcn.00429ce0
jmp 0x436714
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00405000
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043a91c
mov esp, ebp
pop ebp
ret 4

Function at 0x4367b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x451b72
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x4656fc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], 0
push 0
push 0
push 0
push 0
lea ecx, [ebp + 8]
call fcn.00404fa0
push eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
neg eax
sbb eax, eax
add eax, 1
mov byte [ebp - 0x11], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00405000
mov al, byte [ebp - 0x11]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x4371b0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push 0
lea eax, [ebp - 0x10]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftwareKuaiZipSFX_
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4371e7
jmp 0x43726d
lea ecx, [ebp - 0xc]
call fcn.004376a0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, 0x467334
call fcn.00429f10
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
jmp 0x43721f
push 0
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp - 0xc]
call fcn.004376e0
lea edx, [ebp - 0x2c]
push edx
mov ecx, 0x467334
call fcn.00429dc0
push eax
lea ecx, [ebp - 0xc]
call fcn.0042c4d0
movzx eax, al
test eax, eax
je 0x437263
push 4
lea ecx, [ebp - 4]
push ecx
push 4
push 0
lea ecx, [ebp - 0xc]
call fcn.004376c0
mov ecx, eax
call fcn.00404fa0
push eax
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x437211
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret
Function at 0x437410
Capabilities:
Delete registry key
Get installed programs
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x4656fc]
xor eax, ebp
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x22c], str..kzShellNew
mov dword [ebp - 0x228], str..zipShellNew
mov dword [ebp - 0x224], str..7zShellNew
mov dword [ebp - 0xc], str.KzNew.dat
mov dword [ebp - 8], str.zipnew.dat
mov dword [ebp - 4], str.7znew.dat
mov dword [ebp - 0x234], 0
jmp 0x437471
mov eax, dword [ebp - 0x234]
add eax, 1
mov dword [ebp - 0x234], eax
cmp dword [ebp - 0x234], 3
jge 0x437529
mov ecx, dword [ebp + 8]
push ecx
push 0x104
lea edx, [ebp - 0x220]
push edx
call fcn.0043af94
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x234]
mov edx, dword [ebp + ecx*4 - 0x22c]
push edx
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x4374d4
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x234]
mov edx, dword [ebp + ecx*4 - 0x22c]
push edx
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
mov eax, dword [ebp - 0x234]
mov ecx, dword [ebp + eax*4 - 0xc]
push ecx
lea edx, [ebp - 0x220]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x220]
push eax
call fcn.0043a92b
add esp, 4
lea ecx, [eax + eax + 2]
push ecx
lea edx, [ebp - 0x220]
push edx
push 1
push 0
push str.FileName
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x437462
mov edx, dword [ebp + 8]
push edx
push 0x104
lea eax, [ebp - 0x220]
push eax
call fcn.0043af94
add esp, 0xc
push str.Uninstaller.exe
lea ecx, [ebp - 0x220]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea edx, [ebp - 0x10]
push edx
push str.SoftwareMicrosoftWindowsCurrentVersionUninstallKuaiZip
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
mov dword [ebp - 0x230], eax
cmp dword [ebp - 0x230], 0
jne 0x4375d8
lea eax, [ebp - 0x220]
push eax
call fcn.0043a92b
add esp, 4
lea ecx, [eax + eax + 2]
push ecx
lea edx, [ebp - 0x220]
push edx
push 1
push 0
push str.UninstallString
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 0x455a38
call fcn.0043a92b
add esp, 4
lea ecx, [eax + eax + 2]
push ecx
push 0x455a40
push 1
push 0
push str.DisplayName
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x10]
push ecx
push 0xf003f
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionUninstall
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x230], eax
cmp dword [ebp - 0x230], 0
jne 0x43761b
push str.KZip
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.004371b0
call fcn.00437280
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0043a91c
mov esp, ebp
pop ebp
ret
Function at 0x4378c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
xor eax, eax
jne 0x4378c9
xor ecx, ecx
jne 0x4378c9
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
shl eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 0x10]
mov dword [ecx], 0
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 4]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x437910
mov eax, dword [ebp - 0xc]
jmp 0x43796d
cmp dword [ebp - 4], 1
je 0x437923
cmp dword [ebp - 4], 2
je 0x437923
mov eax, 0xd
jmp 0x43796d
cmp dword [ebp + 0xc], 0
je 0x437961
cmp dword [ebp - 8], 0
je 0x437959
mov eax, dword [ebp - 8]
xor edx, edx
mov ecx, 2
div ecx
test edx, edx
jne 0x437950
mov edx, dword [ebp - 8]
shr edx, 1
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax + edx*2 - 2]
test ecx, ecx
je 0x437957
mov eax, 0xd
jmp 0x43796d
jmp 0x437961
xor edx, edx
mov eax, dword [ebp + 0xc]
mov word [eax], dx
mov ecx, dword [ebp - 8]
shr ecx, 1
mov edx, dword [ebp + 0x10]
mov dword [edx], ecx
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc

Function at 0x437ca0
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov dword [eax + 4], 0
mov ecx, dword [ebp - 4]
mov dword [ecx + 8], 0
push str.KZ_Config_Integration_
push 0x10000
push 0
push 0x8000004
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov edx, dword [ebp - 4]
mov dword [edx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x437ce5
jmp 0x437cff
push 0
push 0
push 0
push 6
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ecx, dword [ebp - 4]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x437d50
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x451c8b
mov eax, dword fs:[0]
push eax
sub esp, 0x268
mov eax, dword [0x4656fc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x274], ecx
mov eax, dword [ebp - 0x274]
mov ecx, dword [eax + 8]
mov edx, dword [ebp - 0x274]
mov eax, dword [edx + 4]
mov dword [ecx], eax
mov ecx, dword [ebp - 0x274]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
lea ecx, [ebp - 0x21d]
call fcn.00430680
mov dword [ebp - 4], 0
push 0
push 0
push 0x104
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x21d]
call fcn.0042b160
mov dword [ebp - 0x224], eax
cmp dword [ebp - 0x224], 0
jne 0x437efc
push str.KuaiZip.exe
push 0x104
lea ecx, [ebp - 0x21c]
push ecx
call fcn.0043c073
add esp, 0xc
lea edx, [ebp - 0x21c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x437e36
mov dword [ebp - 0x264], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x21d]
call fcn.0042f930
mov eax, dword [ebp - 0x264]
jmp 0x437f1e
mov dword [ebp - 0x260], 0
push 0x38
push 0
lea eax, [ebp - 0x25c]
push eax
call fcn.0043b030
add esp, 0xc
mov dword [ebp - 0x260], 0x3c
lea ecx, [ebp - 0x21c]
mov dword [ebp - 0x250], ecx
mov dword [ebp - 0x24c], str._KZsetup_integration
mov dword [ebp - 0x244], 0
mov dword [ebp - 0x25c], 0x40
lea edx, [ebp - 0x260]
push edx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x437ed8
push 0xffffffffffffffff
mov eax, dword [ebp - 0x228]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp - 0x228]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x268], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x21d]
call fcn.0042f930
mov eax, dword [ebp - 0x268]
jmp 0x437f1e
mov dword [ebp - 0x26c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x21d]
call fcn.0042f930
mov eax, dword [ebp - 0x26c]
jmp 0x437f1e
mov dword [ebp - 0x270], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x21d]
call fcn.0042f930
mov eax, dword [ebp - 0x270]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043a91c
mov esp, ebp
pop ebp
ret