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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b528e
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x100e03e0]
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.10071ef0
add esp, 0xc
lea ecx, [ebp - 0x1c]
call fcn.10010891
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 0x1009511c
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0x100c515c
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10095113
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.10003ee9
push str.QQRepair.exe
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x238]
push eax
call fcn.10010b55
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x238]
call fcn.10030677
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10095104
push 0
push 0
push 0
push str._ext1
lea ecx, [ebp - 0x238]
call fcn.10030677
push eax
call fcn.100a9516
add esp, 0x14
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x238]
call fcn.1001092f
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.1001092f
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.1006f271
leave
ret 4
Function at 0x1009514e
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b52e6
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x100e03e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x7c], ecx
push dword [0x100fc1b0]
lea eax, [ebp - 0x1c]
push eax
call fcn.10093dd6
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 0x100c5044
push dword [ebp - 0x84]
lea eax, [ebp - 0x14]
push eax
call fcn.10010b55
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c]
call fcn.1001092f
push 0
lea ecx, [ebp - 0x14]
call fcn.10030677
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push 0x100c5050
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.10010b55
add esp, 0xc
mov byte [ebp - 4], 3
push 0
push 0x100c5060
lea ecx, [ebp - 0x10]
call fcn.10030677
push eax
push 0x451
push dword [0x100fc1b0]
call fcn.10094213
add esp, 0x14
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x1009524c
lea ecx, [ebp - 0x10]
call fcn.10030677
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1009524c
and dword [ebp - 0x20], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
call fcn.1001092f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.1001092f
mov eax, dword [ebp - 0x20]
jmp 0x10095336
lea ecx, [ebp - 0x10]
call fcn.10030677
push eax
lea ecx, [ebp - 0x3c]
call fcn.1000173d
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.10037fc6
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x3c]
call fcn.100017ab
lea ecx, [ebp - 0x14]
call fcn.10030677
push eax
lea ecx, [ebp - 0x58]
call fcn.1000173d
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.10037fc6
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x58]
call fcn.100017ab
lea ecx, [ebp - 0x10]
call fcn.10030677
push eax
lea ecx, [ebp - 0x74]
call fcn.1000173d
mov byte [ebp - 4], 6
push dword [0x100fc12c]
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.100017ab
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x78], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
call fcn.1001092f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.1001092f
mov eax, dword [ebp - 0x78]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
leave
ret
Function at 0x10095b60
Capabilities:
Create directory
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b5ac3
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x100e03e0]
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.10010891
and dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push eax
call fcn.100acd56
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.10003ed0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.1001092f
lea eax, [ebp - 0x24]
push eax
call fcn.10093b4a
pop ecx
push str.Download_
lea ecx, [ebp - 0x24]
call fcn.1000a2a1
push 0
lea ecx, [ebp - 0x24]
call fcn.10030677
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.10095798
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.10003fcf
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x20]
call fcn.10030677
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.10010b55
add esp, 0xc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x14]
call fcn.10030677
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.10010b55
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.10010b55
add esp, 0xc
lea ecx, [ebp - 0x10]
call fcn.10030677
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x2c], 1
lea ecx, [ebp - 0x10]
call fcn.1001092f
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1c]
call fcn.1001092f
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x14]
call fcn.1001092f
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x20]
call fcn.1001092f
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.1001092f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.1001092f
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
leave
ret 8
Function at 0x10095ceb
Capabilities:
Create directory
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b5af6
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x100e03e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 8]
call fcn.10093c7f
lea ecx, [ebp - 0x1c]
call fcn.10010891
and dword [ebp - 4], 0
push 0x100c192e
push 0x100c4bec
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
call fcn.100b2cce
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 1
push 0
push 0x100c4be0
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.10030677
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.100161b4
add esp, 0xc
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.1001092f
lea eax, [ebp - 0x18]
push eax
call fcn.100acd56
pop ecx
mov byte [ebp - 4], 2
lea eax, [ebp - 0x18]
push eax
call fcn.10093b4a
pop ecx
push 0x100c4bf0
lea ecx, [ebp - 0x18]
call fcn.1000a2a1
push 0
lea ecx, [ebp - 0x18]
call fcn.10030677
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push 0x100c4c04
lea ecx, [ebp - 0x18]
call fcn.1000a2a1
lea ecx, [ebp - 0x18]
call fcn.10030677
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x1438
call fcn.1006efe7
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.10071ef0
add esp, 0xc
mov eax, dword [ebp - 0x10]
mov dword [eax + 4], 2
push 0xe0
call fcn.1006efe7
pop ecx
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x10095e29
mov ecx, dword [ebp - 0x2c]
call fcn.1003ef21
mov dword [ebp - 0x3c], eax
jmp 0x10095e2d
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.10030677
push eax
mov ecx, dword [ebp - 0x14]
call fcn.1000a2e4
lea ecx, [ebp - 0x18]
call fcn.10030677
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x1c
call fcn.1000a2e4
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x34
call fcn.1004025d
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.1001092f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.1001092f
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
leave
ret 4
Function at 0x100961fe
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b5d5f
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x100e03e0]
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.1002474e
and dword [ebp - 4], 0
lea ecx, [ebp - 0x22c]
call fcn.100405b3
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x228]
call fcn.10040582
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x22c]
call fcn.100310b3
push eax
push dword [ebp + 8]
mov ecx, dword [ebp - 0x23c]
call fcn.1009555f
test eax, eax
jne 0x100962b0
and dword [ebp - 0x230], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x228]
call fcn.1002ced1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x22c]
call fcn.1002ced1
mov eax, dword [ebp - 0x230]
jmp 0x100963b3
push 0x100c5750
lea ecx, [ebp - 0x22c]
call fcn.100381e2
lea ecx, [ebp - 0x22c]
call fcn.1004059b
test eax, eax
jne 0x100962ff
and dword [ebp - 0x234], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x228]
call fcn.1002ced1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x22c]
call fcn.1002ced1
mov eax, dword [ebp - 0x234]
jmp 0x100963b3
and word [ebp - 0x224], 0
push 0x208
push 0
lea eax, [ebp - 0x222]
push eax
call fcn.10071ef0
add esp, 0xc
lea ecx, [ebp - 0x22c]
call fcn.100310b3
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.100381e2
lea ecx, [ebp - 0x228]
call fcn.100310b3
push eax
push 0x104
mov eax, dword [ebp + 0xc]
add eax, 0x90
push eax
call fcn.100728d1
add esp, 0xc
lea ecx, [ebp - 0x228]
call fcn.1004059b
mov dword [ebp - 0x238], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x228]
call fcn.1002ced1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x22c]
call fcn.1002ced1
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.1006f271
leave
ret 8
Function at 0x10097a65
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b6010
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x100e03e0]
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.10093c7f
lea ecx, [ebp - 0x22c]
call fcn.10010891
and dword [ebp - 4], 0
push str.8.1.2967.301
lea ecx, [ebp - 0x238]
call fcn.10003e65
mov byte [ebp - 4], 1
push 0x100bf007
push 0x100c4bb4
lea eax, [ebp - 0x234]
push eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
call fcn.100b2cce
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 0x100c4bb8
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.10097852
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x234]
call fcn.1001092f
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x238]
call fcn.1001092f
and word [ebp - 0x224], 0
push 0x208
push 0
lea eax, [ebp - 0x222]
push eax
call fcn.10071ef0
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.10003e65
mov byte [ebp - 4], 3
lea eax, [ebp - 0x23c]
push eax
lea eax, [ebp - 0x230]
push eax
mov ecx, dword [ebp + 8]
call fcn.10093d22
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x23c]
call fcn.1001092f
push 0x1438
call fcn.1006efe7
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.10071ef0
add esp, 0xc
mov eax, dword [ebp - 0x10]
mov dword [eax + 4], 0x186a0
push 0xe0
call fcn.1006efe7
pop ecx
mov dword [ebp - 0x248], eax
cmp dword [ebp - 0x248], 0
je 0x10097c0e
mov ecx, dword [ebp - 0x248]
call fcn.1003ef21
mov dword [ebp - 0x258], eax
jmp 0x10097c15
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.10030677
push eax
mov ecx, dword [ebp - 0x228]
call fcn.1000a2e4
lea ecx, [ebp - 0x230]
call fcn.10030677
push eax
mov ecx, dword [ebp - 0x228]
add ecx, 0x1c
call fcn.1000a2e4
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x34
call fcn.1004025d
mov ecx, dword [ebp - 0x228]
mov dword [eax], ecx
mov ecx, dword [ebp + 8]
call fcn.100937b7
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.1001092f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x22c]
call fcn.1001092f
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.1006f271
leave
ret 4
Function at 0x10097cd4
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov ecx, dword [ebp + 8]
call fcn.100963cc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x10097cf5
mov eax, 0x80004005
jmp 0x10097ec5
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x34
call fcn.10039773
jmp 0x10097d14
push 0
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0xc]
call fcn.1003bc7d
lea eax, [ebp - 0x3c]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x34
call fcn.10037a6c
push eax
lea ecx, [ebp - 0xc]
call fcn.10040550
movzx eax, al
test eax, eax
je 0x10097ec0
lea ecx, [ebp - 0xc]
call fcn.1003815b
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0xc]
call fcn.1003815b
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x10], 0
je 0x10097d5e
cmp dword [ebp - 0x14], 0
jne 0x10097d60
jmp 0x10097d06
mov eax, dword [ebp - 0x10]
cmp dword [eax + 8], 4
ja 0x10097ebb
mov ecx, dword [ebp - 0x14]
add ecx, 0x1c
call fcn.10005057
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 0x10097e28
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.100403c2
lea eax, [ebp - 0x44]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x60
call fcn.100403e1
push eax
lea ecx, [ebp - 0x1c]
call fcn.10040550
movzx eax, al
test eax, eax
je 0x10097e18
lea ecx, [ebp - 0x1c]
call fcn.1004053f
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x10097e0e
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.1004056e
jmp 0x10097dca
xor eax, eax
jne 0x10097dbb
xor eax, eax
jmp 0x10097ec5
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.100403c2
lea eax, [ebp - 0x4c]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x60
call fcn.100403e1
push eax
lea ecx, [ebp - 0x28]
call fcn.10040550
movzx eax, al
test eax, eax
je 0x10097eb0
lea ecx, [ebp - 0x28]
call fcn.1004053f
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x10097ea6
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.1004056e
jmp 0x10097e5d
xor eax, eax
jne 0x10097e4e
mov eax, 0x80004005
jmp 0x10097ec5
jmp 0x10097d06
mov eax, 0x80004005
leave
ret 4
Function at 0x100987a7
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp - 0x2c]
call fcn.100963cc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x100987c6
jmp 0x10098882
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x2c]
add ecx, 0x34
call fcn.10039773
jmp 0x100987e5
push 0
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0xc]
call fcn.1003bc7d
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x2c]
add ecx, 0x34
call fcn.10037a6c
push eax
lea ecx, [ebp - 0xc]
call fcn.10040550
movzx eax, al
test eax, eax
je 0x10098882
lea ecx, [ebp - 0xc]
call fcn.1003815b
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0xc]
call fcn.1003815b
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x10], 0
je 0x1009882b
cmp dword [ebp - 0x14], 0
jne 0x1009882d
jmp 0x100987d7
mov eax, dword [ebp - 0x10]
cmp dword [eax + 4], 0x186a0
je 0x1009887d
mov eax, dword [ebp - 0x10]
cmp dword [eax + 8], 4
ja 0x1009887d
mov ecx, dword [ebp - 0x14]
add ecx, 0x1c
call fcn.10005057
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 0x1009887d
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x2c]
add ecx, 0x40
call fcn.10040400
jmp 0x100987d7
leave
ret
Function at 0x10098ff5
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b63b0
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x100e03e0]
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.10010891
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 0x10099073
mov eax, dword [ebp + 0x10]
cmp dword [eax + 0x320], 0
jne 0x10099073
push 0x100c4f24
lea ecx, [ebp - 0x10]
call fcn.10003ee9
jmp 0x10099147
and word [ebp - 0x22c], 0
push 0x208
push 0
lea eax, [ebp - 0x22a]
push eax
call fcn.10071ef0
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.10010891
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.100161b4
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.10010b55
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.10003ed0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x234]
call fcn.1001092f
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x230]
call fcn.1001092f
mov eax, dword [ebp + 0x10]
add eax, 0x328
push eax
call fcn.1006f25b
pop ecx
test eax, eax
jne 0x10099166
mov dword [ebp - 0x24c], 0x100c4fa4
jmp 0x10099174
mov eax, dword [ebp + 0x10]
add eax, 0x328
mov dword [ebp - 0x24c], eax
push dword [ebp - 0x24c]
lea ecx, [ebp - 0x18]
call fcn.10003e65
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.10030677
push eax
mov eax, dword [ebp + 0x10]
add eax, 0x90
push eax
call fcn.10011caf
mov ecx, eax
call fcn.100a33a5
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x10099205
lea ecx, [ebp - 0x10]
call fcn.10030677
push eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x14]
call dword [eax]
test eax, eax
je 0x10099205
and dword [ebp - 0x238], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.1001092f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.1001092f
mov eax, dword [ebp - 0x238]
jmp 0x10099247
mov dword [ebp - 0x23c], 9
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.1001092f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.1001092f
mov eax, dword [ebp - 0x23c]
jmp 0x10099247
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.1006f271
leave
ret 0xc
Function at 0x100992a5
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b63e0
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x100e03e0]
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.10030677
push eax
lea ecx, [ebp - 0x18]
call fcn.10020e6f
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.10030677
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.1000ac8b
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x10099336
mov ecx, dword [ebp - 0x1c]
call fcn.10099260
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x1c]
add ecx, 0x50
call fcn.10030677
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