joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10095781
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b5b3a
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x100e13e0]
xor eax, ebp
mov dword [ebp - 0x20], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
and dword [ebp - 0x18], 0
and word [ebp - 0x234], 0
push 0x208
push 0
lea eax, [ebp - 0x232]
push eax
call fcn.10072050
add esp, 0xc
lea ecx, [ebp - 0x1c]
call fcn.10003bae
and dword [ebp - 4], 0
mov dword [ebp - 0x14], 0x20a
lea eax, [ebp - 0x18]
push eax
push 0x20019
push 0
push str.SoftwareTencentQQPCMgr
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100958ac
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0x100c615c
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100958a3
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x1c]
call fcn.10003c76
push str.QQRepair.exe
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x238]
push eax
call fcn.1001093f
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x238]
call fcn.1001e65e
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10095894
push 0
push 0
push 0
push str._ext1
lea ecx, [ebp - 0x238]
call fcn.1001e65e
push eax
call fcn.100a9cb4
add esp, 0x14
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x238]
call fcn.10003c4c
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
and dword [ebp - 0x23c], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.10003c4c
mov eax, dword [ebp - 0x23c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.1006f3d1
leave
ret 4
Function at 0x100958de
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b5b92
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x100e13e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x7c], ecx
push dword [0x100fd1b0]
lea eax, [ebp - 0x1c]
push eax
call fcn.10094566
pop ecx
pop ecx
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x84], eax
and dword [ebp - 4], 0
push 0x100c6044
push dword [ebp - 0x84]
lea eax, [ebp - 0x14]
push eax
call fcn.1001093f
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c]
call fcn.10003c4c
push 0
lea ecx, [ebp - 0x14]
call fcn.1001e65e
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push 0x100c6050
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.1001093f
add esp, 0xc
mov byte [ebp - 4], 3
push 0
push 0x100c6060
lea ecx, [ebp - 0x10]
call fcn.1001e65e
push eax
push 0x451
push dword [0x100fd1b0]
call fcn.100949a3
add esp, 0x14
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x100959dc
lea ecx, [ebp - 0x10]
call fcn.1001e65e
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x100959dc
and dword [ebp - 0x20], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
call fcn.10003c4c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.10003c4c
mov eax, dword [ebp - 0x20]
jmp 0x10095ac6
lea ecx, [ebp - 0x10]
call fcn.1001e65e
push eax
lea ecx, [ebp - 0x3c]
call fcn.100016fb
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x8c], eax
mov byte [ebp - 4], 4
push dword [ebp - 0x8c]
mov ecx, dword [ebp - 0x7c]
add ecx, 0xe0
call fcn.10038009
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x3c]
call fcn.10001769
lea ecx, [ebp - 0x14]
call fcn.1001e65e
push eax
lea ecx, [ebp - 0x58]
call fcn.100016fb
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x94], eax
mov byte [ebp - 4], 5
push dword [ebp - 0x94]
mov ecx, dword [ebp - 0x7c]
add ecx, 0xf0
call fcn.10038009
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x58]
call fcn.10001769
lea ecx, [ebp - 0x10]
call fcn.1001e65e
push eax
lea ecx, [ebp - 0x74]
call fcn.100016fb
mov byte [ebp - 4], 6
push dword [0x100fd12c]
push 1
call fcn.10045db4
lea edx, [ebp - 0x74]
mov ecx, eax
call fcn.10045ebd
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x74]
call fcn.10001769
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x78], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
call fcn.10003c4c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.10003c4c
mov eax, dword [ebp - 0x78]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
leave
ret
Function at 0x100962f9
Capabilities:
Create directory
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b636f
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x100e13e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x30], ecx
lea ecx, [ebp - 0x24]
call fcn.10003bae
and dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push eax
call fcn.100ad502
pop ecx
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 1
push dword [ebp - 0x38]
lea ecx, [ebp - 0x24]
call fcn.10003c5d
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.10003c4c
lea eax, [ebp - 0x24]
push eax
call fcn.100942da
pop ecx
push str.Download_
lea ecx, [ebp - 0x24]
call fcn.1000a023
push 0
lea ecx, [ebp - 0x24]
call fcn.1001e65e
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push dword [ebp + 0xc]
push dword [ebp + 8]
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x30]
call fcn.10095f31
mov byte [ebp - 4], 2
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.10003d5c
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x20]
call fcn.1001e65e
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push str..tdl
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.1001093f
add esp, 0xc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x14]
call fcn.1001e65e
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push str..xfd
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.1001093f
add esp, 0xc
mov byte [ebp - 4], 5
push str..xftp
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.1001093f
add esp, 0xc
lea ecx, [ebp - 0x10]
call fcn.1001e65e
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x2c], 1
lea ecx, [ebp - 0x10]
call fcn.10003c4c
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1c]
call fcn.10003c4c
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x14]
call fcn.10003c4c
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x20]
call fcn.10003c4c
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.10003c4c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.10003c4c
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
leave
ret 8
Function at 0x10096484
Capabilities:
Create directory
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b63a2
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x100e13e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 8]
call fcn.1009440f
lea ecx, [ebp - 0x1c]
call fcn.10003bae
and dword [ebp - 4], 0
push 0x100c292e
push 0x100c5bec
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
call fcn.100b347a
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 1
push 0
push 0x100c5be0
mov eax, dword [ebp + 8]
push dword [eax + 0x10]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x10]
mov eax, dword [eax]
call dword [eax + 0x18]
push eax
mov ecx, dword [ebp - 0x38]
call fcn.1001e65e
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.1001618e
add esp, 0xc
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.10003c4c
lea eax, [ebp - 0x18]
push eax
call fcn.100ad502
pop ecx
mov byte [ebp - 4], 2
lea eax, [ebp - 0x18]
push eax
call fcn.100942da
pop ecx
push 0x100c5bf0
lea ecx, [ebp - 0x18]
call fcn.1000a023
push 0
lea ecx, [ebp - 0x18]
call fcn.1001e65e
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push 0x100c5c04
lea ecx, [ebp - 0x18]
call fcn.1000a023
lea ecx, [ebp - 0x18]
call fcn.1001e65e
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x1438
call fcn.1006f147
pop ecx
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x10], eax
push 0x1438
push 0
push dword [ebp - 0x10]
call fcn.10072050
add esp, 0xc
mov eax, dword [ebp - 0x10]
mov dword [eax + 4], 2
push 0xe0
call fcn.1006f147
pop ecx
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x100965c2
mov ecx, dword [ebp - 0x2c]
call fcn.1003e5a8
mov dword [ebp - 0x3c], eax
jmp 0x100965c6
and dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
and dword [eax + 8], 0
lea ecx, [ebp - 0x1c]
call fcn.1001e65e
push eax
mov ecx, dword [ebp - 0x14]
call fcn.1000a066
lea ecx, [ebp - 0x18]
call fcn.1001e65e
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x1c
call fcn.1000a066
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x34
call fcn.1003f8ff
mov ecx, dword [ebp - 0x14]
mov dword [eax], ecx
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push dword [ebp + 8]
call dword [eax + 0x2c]
and dword [ebp - 0x30], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.10003c4c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.10003c4c
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
leave
ret 4
Function at 0x10096997
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b660b
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x100e13e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x23c], ecx
push dword [ebp + 8]
lea ecx, [ebp - 0x22c]
call fcn.100249fc
and dword [ebp - 4], 0
lea ecx, [ebp - 0x22c]
call fcn.1003fca6
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x228]
call fcn.1003fc75
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x22c]
call fcn.1001106b
push eax
push dword [ebp + 8]
mov ecx, dword [ebp - 0x23c]
call fcn.10095cf8
test eax, eax
jne 0x10096a49
and dword [ebp - 0x230], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x228]
call fcn.10024124
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x22c]
call fcn.10024124
mov eax, dword [ebp - 0x230]
jmp 0x10096b4c
push 0x100c6750
lea ecx, [ebp - 0x22c]
call fcn.10038214
lea ecx, [ebp - 0x22c]
call fcn.1003fc8e
test eax, eax
jne 0x10096a98
and dword [ebp - 0x234], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x228]
call fcn.10024124
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x22c]
call fcn.10024124
mov eax, dword [ebp - 0x234]
jmp 0x10096b4c
and word [ebp - 0x224], 0
push 0x208
push 0
lea eax, [ebp - 0x222]
push eax
call fcn.10072050
add esp, 0xc
lea ecx, [ebp - 0x22c]
call fcn.1001106b
push eax
push 0x104
lea eax, [ebp - 0x224]
push eax
push str.setup.exe
push str.PacketExe
push str.setting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x228]
call fcn.10038214
lea ecx, [ebp - 0x228]
call fcn.1001106b
push eax
push 0x104
mov eax, dword [ebp + 0xc]
add eax, 0x90
push eax
call fcn.10072a31
add esp, 0xc
lea ecx, [ebp - 0x228]
call fcn.1003fc8e
mov dword [ebp - 0x238], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x228]
call fcn.10024124
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x22c]
call fcn.10024124
mov eax, dword [ebp - 0x238]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1006f3d1
leave
ret 8
Function at 0x100981fe
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b68bc
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x100e13e0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 8]
call fcn.1009440f
lea ecx, [ebp - 0x22c]
call fcn.10003bae
and dword [ebp - 4], 0
push str.8.1.2967.301
lea ecx, [ebp - 0x238]
call fcn.10003be1
mov byte [ebp - 4], 1
push 0x100bffdf
push 0x100c5bb4
lea eax, [ebp - 0x234]
push eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
call fcn.100b347a
mov dword [ebp - 0x250], eax
mov eax, dword [ebp - 0x250]
mov dword [ebp - 0x254], eax
mov byte [ebp - 4], 2
lea eax, [ebp - 0x22c]
push eax
push dword [ebp - 0x254]
push 0
push 0x100c5bb8
mov eax, dword [ebp + 8]
push dword [eax + 0x10]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x10]
mov eax, dword [eax]
call dword [eax + 0x18]
push eax
lea eax, [ebp - 0x238]
push eax
mov ecx, dword [ebp + 8]
call fcn.10097feb
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x234]
call fcn.10003c4c
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x238]
call fcn.10003c4c
and word [ebp - 0x224], 0
push 0x208
push 0
lea eax, [ebp - 0x222]
push eax
call fcn.10072050
add esp, 0xc
lea eax, [ebp - 0x224]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x23c]
call fcn.10003be1
mov byte [ebp - 4], 3
lea eax, [ebp - 0x23c]
push eax
lea eax, [ebp - 0x230]
push eax
mov ecx, dword [ebp + 8]
call fcn.100944b2
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x23c]
call fcn.10003c4c
push 0x1438
call fcn.1006f147
pop ecx
mov dword [ebp - 0x240], eax
mov eax, dword [ebp - 0x240]
mov dword [ebp - 0x10], eax
push 0x1438
push 0
push dword [ebp - 0x10]
call fcn.10072050
add esp, 0xc
mov eax, dword [ebp - 0x10]
mov dword [eax + 4], 0x186a0
push 0xe0
call fcn.1006f147
pop ecx
mov dword [ebp - 0x248], eax
cmp dword [ebp - 0x248], 0
je 0x100983a7
mov ecx, dword [ebp - 0x248]
call fcn.1003e5a8
mov dword [ebp - 0x258], eax
jmp 0x100983ae
and dword [ebp - 0x258], 0
mov eax, dword [ebp - 0x258]
mov dword [ebp - 0x244], eax
mov eax, dword [ebp - 0x244]
mov dword [ebp - 0x228], eax
lea ecx, [ebp - 0x22c]
call fcn.1001e65e
push eax
mov ecx, dword [ebp - 0x228]
call fcn.1000a066
lea ecx, [ebp - 0x230]
call fcn.1001e65e
push eax
mov ecx, dword [ebp - 0x228]
add ecx, 0x1c
call fcn.1000a066
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x34
call fcn.1003f8ff
mov ecx, dword [ebp - 0x228]
mov dword [eax], ecx
mov ecx, dword [ebp + 8]
call fcn.10093f47
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x100]
inc eax
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x100], eax
and dword [ebp - 0x24c], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x230]
call fcn.10003c4c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x22c]
call fcn.10003c4c
mov eax, dword [ebp - 0x24c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1006f3d1
leave
ret 4
Function at 0x1009846d
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov ecx, dword [ebp + 8]
call fcn.10096b65
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x1009848e
mov eax, 0x80004005
jmp 0x1009865e
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x34
call fcn.1003f9a9
jmp 0x100984ad
push 0
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0xc]
call fcn.1003fbfe
lea eax, [ebp - 0x3c]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x34
call fcn.10011dd1
push eax
lea ecx, [ebp - 0xc]
call fcn.1003fc32
movzx eax, al
test eax, eax
je 0x10098659
lea ecx, [ebp - 0xc]
call fcn.1001718f
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0xc]
call fcn.1001718f
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x10], 0
je 0x100984f7
cmp dword [ebp - 0x14], 0
jne 0x100984f9
jmp 0x1009849f
mov eax, dword [ebp - 0x10]
cmp dword [eax + 8], 4
ja 0x10098654
mov ecx, dword [ebp - 0x14]
add ecx, 0x1c
call fcn.10004e6d
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push dword [ebp - 0x10]
push dword [ebp - 0x14]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov ecx, dword [ebp - 4]
call dword [eax + 4]
test eax, eax
je 0x100985c1
mov eax, dword [ebp + 8]
and dword [eax + 0xc4], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 8], 5
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0xc4]
mov dword [eax + 0xc], ecx
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x60
call fcn.1003fa56
lea eax, [ebp - 0x44]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x60
call fcn.10043ee6
push eax
lea ecx, [ebp - 0x1c]
call fcn.1003fc32
movzx eax, al
test eax, eax
je 0x100985b1
lea ecx, [ebp - 0x1c]
call fcn.1003fc50
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x100985a7
push 0
push 0
push dword [ebp - 0x10]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
push dword [ebp - 0x20]
call dword [eax + 0x10]
lea ecx, [ebp - 0x1c]
call fcn.1003fc61
jmp 0x10098563
xor eax, eax
jne 0x10098554
xor eax, eax
jmp 0x1009865e
mov eax, dword [ebp + 8]
mov dword [eax + 0xc4], 0x12
mov eax, dword [ebp - 0x10]
mov dword [eax + 8], 7
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0xc4]
mov dword [eax + 0xc], ecx
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x60
call fcn.1003fa56
lea eax, [ebp - 0x4c]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x60
call fcn.10043ee6
push eax
lea ecx, [ebp - 0x28]
call fcn.1003fc32
movzx eax, al
test eax, eax
je 0x10098649
lea ecx, [ebp - 0x28]
call fcn.1003fc50
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x1009863f
mov eax, dword [ebp + 8]
push dword [eax + 0xc4]
push dword [ebp - 0x10]
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
push dword [ebp - 0x2c]
call dword [eax + 0x14]
lea ecx, [ebp - 0x28]
call fcn.1003fc61
jmp 0x100985f6
xor eax, eax
jne 0x100985e7
mov eax, 0x80004005
jmp 0x1009865e
jmp 0x1009849f
mov eax, 0x80004005
leave
ret 4
Function at 0x10098f40
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp - 0x2c]
call fcn.10096b65
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x10098f5f
jmp 0x1009901b
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x2c]
add ecx, 0x34
call fcn.1003f9a9
jmp 0x10098f7e
push 0
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0xc]
call fcn.1003fbfe
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x2c]
add ecx, 0x34
call fcn.10011dd1
push eax
lea ecx, [ebp - 0xc]
call fcn.1003fc32
movzx eax, al
test eax, eax
je 0x1009901b
lea ecx, [ebp - 0xc]
call fcn.1001718f
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0xc]
call fcn.1001718f
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x10], 0
je 0x10098fc4
cmp dword [ebp - 0x14], 0
jne 0x10098fc6
jmp 0x10098f70
mov eax, dword [ebp - 0x10]
cmp dword [eax + 4], 0x186a0
je 0x10099016
mov eax, dword [ebp - 0x10]
cmp dword [eax + 8], 4
ja 0x10099016
mov ecx, dword [ebp - 0x14]
add ecx, 0x1c
call fcn.10004e6d
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x14]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov ecx, dword [ebp - 4]
call dword [eax + 4]
test eax, eax
je 0x10099016
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x2c]
add ecx, 0x40
call fcn.1003fa75
jmp 0x10098f70
leave
ret
Function at 0x1009978e
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b6c5c
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x100e13e0]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x240], ecx
lea ecx, [ebp - 0x10]
call fcn.10003bae
and dword [ebp - 4], 0
push 0
push str.KvNoCmdline
mov eax, dword [ebp - 0x240]
mov eax, dword [eax + 0x10]
mov ecx, dword [ebp - 0x240]
mov ecx, dword [ecx + 0x10]
mov eax, dword [eax]
push ecx
call dword [eax + 0x20]
test eax, eax
je 0x1009980c
mov eax, dword [ebp + 0x10]
cmp dword [eax + 0x320], 0
jne 0x1009980c
push 0x100c5f24
lea ecx, [ebp - 0x10]
call fcn.10003c76
jmp 0x100998e0
and word [ebp - 0x22c], 0
push 0x208
push 0
lea eax, [ebp - 0x22a]
push eax
call fcn.10072050
add esp, 0xc
push 0
push 0x26
lea eax, [ebp - 0x22c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str.Kingsoft
lea eax, [ebp - 0x22c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [ebp - 0x230]
call fcn.10003bae
mov byte [ebp - 4], 1
lea eax, [ebp - 0x22c]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push str._silence1handle_dsupply_dinstallpath__s_
lea eax, [ebp - 0x230]
push eax
call fcn.1001618e
add esp, 0x14
mov eax, dword [ebp + 0x10]
add eax, 0x3a8
push eax
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x234]
push eax
call fcn.1001093f
add esp, 0xc
mov dword [ebp - 0x244], eax
mov eax, dword [ebp - 0x244]
mov dword [ebp - 0x248], eax
mov byte [ebp - 4], 2
push dword [ebp - 0x248]
lea ecx, [ebp - 0x10]
call fcn.10003c5d
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x234]
call fcn.10003c4c
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x230]
call fcn.10003c4c
mov eax, dword [ebp + 0x10]
add eax, 0x328
push eax
call fcn.1006f3bb
pop ecx
test eax, eax
jne 0x100998ff
mov dword [ebp - 0x24c], 0x100c5fa4
jmp 0x1009990d
mov eax, dword [ebp + 0x10]
add eax, 0x328
mov dword [ebp - 0x24c], eax
push dword [ebp - 0x24c]
lea ecx, [ebp - 0x18]
call fcn.10003be1
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x240]
push dword [eax + 0x10]
mov eax, dword [ebp + 0x10]
push dword [eax + 4]
mov eax, dword [ebp + 0x10]
push dword [eax + 0x428]
lea ecx, [ebp - 0x18]
call fcn.1001e65e
push eax
mov eax, dword [ebp + 0x10]
add eax, 0x90
push eax
call fcn.10011a9f
mov ecx, eax
call fcn.100a3b43
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x1009999e
lea ecx, [ebp - 0x10]
call fcn.1001e65e
push eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x14]
call dword [eax]
test eax, eax
je 0x1009999e
and dword [ebp - 0x238], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.10003c4c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.10003c4c
mov eax, dword [ebp - 0x238]
jmp 0x100999e0
mov dword [ebp - 0x23c], 9
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.10003c4c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.10003c4c
mov eax, dword [ebp - 0x23c]
jmp 0x100999e0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.1006f3d1
leave
ret 0xc
Function at 0x10099a3e
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b6c8c
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x100e13e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], ecx
and dword [ebp - 0x10], 0
mov ecx, dword [ebp - 0x1c]
add ecx, 0x50
call fcn.1001e65e
push eax
lea ecx, [ebp - 0x18]
call fcn.10020f7a
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
and dword [ebp - 4], 0
mov ecx, dword [ebp - 0x24]
call fcn.1001e65e
push eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x10]
mov ecx, dword [ebp - 0x1c]
mov ecx, dword [ecx + 0x10]
mov eax, dword [eax]
push ecx
call dword [eax + 0x10]
xor ecx, ecx
test eax, eax
setge cl
mov byte [ebp - 0x11], cl
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.1000aa54
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x10099acf
mov ecx, dword [ebp - 0x1c]
call fcn.100999f9
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x1c]
add ecx, 0x50
call fcn.1001e65e
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
leave
ret