joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100962c8
Capabilities:
Create directory
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b634a
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.10003b59
and dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push eax
call fcn.100ad4c3
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.10003bf7
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.1001030a
lea eax, [ebp - 0x24]
push eax
call fcn.100942ba
pop ecx
push str.Download_
lea ecx, [ebp - 0x24]
call fcn.10009d26
push 0
lea ecx, [ebp - 0x24]
call fcn.10020899
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.10095f00
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.10003cf6
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x20]
call fcn.10020899
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.10010544
add esp, 0xc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x14]
call fcn.10020899
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.10010544
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.10010544
add esp, 0xc
lea ecx, [ebp - 0x10]
call fcn.10020899
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x2c], 1
lea ecx, [ebp - 0x10]
call fcn.1001030a
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1c]
call fcn.1001030a
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x14]
call fcn.1001030a
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x20]
call fcn.1001030a
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.1001030a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.1001030a
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
leave
ret 8
Function at 0x10096453
Capabilities:
Create directory
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b637d
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.100943ef
lea ecx, [ebp - 0x1c]
call fcn.10003b59
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.100b343b
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.10020899
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.10015acb
add esp, 0xc
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.1001030a
lea eax, [ebp - 0x18]
push eax
call fcn.100ad4c3
pop ecx
mov byte [ebp - 4], 2
lea eax, [ebp - 0x18]
push eax
call fcn.100942ba
pop ecx
push 0x100c5bf0
lea ecx, [ebp - 0x18]
call fcn.10009d26
push 0
lea ecx, [ebp - 0x18]
call fcn.10020899
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push 0x100c5c04
lea ecx, [ebp - 0x18]
call fcn.10009d26
lea ecx, [ebp - 0x18]
call fcn.10020899
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x1438
call fcn.1006f137
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.10072040
add esp, 0xc
mov eax, dword [ebp - 0x10]
mov dword [eax + 4], 2
push 0xe0
call fcn.1006f137
pop ecx
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x10096591
mov ecx, dword [ebp - 0x2c]
call fcn.1003e295
mov dword [ebp - 0x3c], eax
jmp 0x10096595
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.10020899
push eax
mov ecx, dword [ebp - 0x14]
call fcn.10009d69
lea ecx, [ebp - 0x18]
call fcn.10020899
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x1c
call fcn.10009d69
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x34
call fcn.1003f621
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.1001030a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.1001030a
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
leave
ret 4
Function at 0x10096966
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b65e6
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.10023f67
and dword [ebp - 4], 0
lea ecx, [ebp - 0x22c]
call fcn.1003f98f
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x228]
call fcn.1003f95e
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x22c]
call fcn.1003c98e
push eax
push dword [ebp + 8]
mov ecx, dword [ebp - 0x23c]
call fcn.10095cc7
test eax, eax
jne 0x10096a18
and dword [ebp - 0x230], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x228]
call fcn.1002368f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x22c]
call fcn.1002368f
mov eax, dword [ebp - 0x230]
jmp 0x10096b1b
push 0x100c6750
lea ecx, [ebp - 0x22c]
call fcn.10037dc2
lea ecx, [ebp - 0x22c]
call fcn.1003f977
test eax, eax
jne 0x10096a67
and dword [ebp - 0x234], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x228]
call fcn.1002368f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x22c]
call fcn.1002368f
mov eax, dword [ebp - 0x234]
jmp 0x10096b1b
and word [ebp - 0x224], 0
push 0x208
push 0
lea eax, [ebp - 0x222]
push eax
call fcn.10072040
add esp, 0xc
lea ecx, [ebp - 0x22c]
call fcn.1003c98e
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.10037dc2
lea ecx, [ebp - 0x228]
call fcn.1003c98e
push eax
push 0x104
mov eax, dword [ebp + 0xc]
add eax, 0x90
push eax
call fcn.10072a21
add esp, 0xc
lea ecx, [ebp - 0x228]
call fcn.1003f977
mov dword [ebp - 0x238], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x228]
call fcn.1002368f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x22c]
call fcn.1002368f
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.1006f3c1
leave
ret 8
Function at 0x100981cd
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b6897
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.100943ef
lea ecx, [ebp - 0x22c]
call fcn.10003b59
and dword [ebp - 4], 0
push str.8.1.2967.301
lea ecx, [ebp - 0x238]
call fcn.10003b8c
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.100b343b
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.10097fba
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x234]
call fcn.1001030a
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x238]
call fcn.1001030a
and word [ebp - 0x224], 0
push 0x208
push 0
lea eax, [ebp - 0x222]
push eax
call fcn.10072040
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.10003b8c
mov byte [ebp - 4], 3
lea eax, [ebp - 0x23c]
push eax
lea eax, [ebp - 0x230]
push eax
mov ecx, dword [ebp + 8]
call fcn.10094492
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x23c]
call fcn.1001030a
push 0x1438
call fcn.1006f137
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.10072040
add esp, 0xc
mov eax, dword [ebp - 0x10]
mov dword [eax + 4], 0x186a0
push 0xe0
call fcn.1006f137
pop ecx
mov dword [ebp - 0x248], eax
cmp dword [ebp - 0x248], 0
je 0x10098376
mov ecx, dword [ebp - 0x248]
call fcn.1003e295
mov dword [ebp - 0x258], eax
jmp 0x1009837d
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.10020899
push eax
mov ecx, dword [ebp - 0x228]
call fcn.10009d69
lea ecx, [ebp - 0x230]
call fcn.10020899
push eax
mov ecx, dword [ebp - 0x228]
add ecx, 0x1c
call fcn.10009d69
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x34
call fcn.1003f621
mov ecx, dword [ebp - 0x228]
mov dword [eax], ecx
mov ecx, dword [ebp + 8]
call fcn.10093f27
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.1001030a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x22c]
call fcn.1001030a
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.1006f3c1
leave
ret 4
Function at 0x1009843c
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov ecx, dword [ebp + 8]
call fcn.10096b34
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x1009845d
mov eax, 0x80004005
jmp 0x1009862d
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x34
call fcn.1003f6cb
jmp 0x1009847c
push 0
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0xc]
call fcn.1001530f
lea eax, [ebp - 0x3c]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x34
call fcn.1003f6ee
push eax
lea ecx, [ebp - 0xc]
call fcn.1003fa20
movzx eax, al
test eax, eax
je 0x10098628
lea ecx, [ebp - 0xc]
call fcn.10037d3b
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0xc]
call fcn.10037d3b
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x10], 0
je 0x100984c6
cmp dword [ebp - 0x14], 0
jne 0x100984c8
jmp 0x1009846e
mov eax, dword [ebp - 0x10]
cmp dword [eax + 8], 4
ja 0x10098623
mov ecx, dword [ebp - 0x14]
add ecx, 0x1c
call fcn.10004d5d
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 0x10098590
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.1003f7bf
lea eax, [ebp - 0x44]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x60
call fcn.1003f7ef
push eax
lea ecx, [ebp - 0x1c]
call fcn.1003fa20
movzx eax, al
test eax, eax
je 0x10098580
lea ecx, [ebp - 0x1c]
call fcn.1003f9fb
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x10098576
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.1003fa0c
jmp 0x10098532
xor eax, eax
jne 0x10098523
xor eax, eax
jmp 0x1009862d
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.1003f7bf
lea eax, [ebp - 0x4c]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x60
call fcn.1003f7ef
push eax
lea ecx, [ebp - 0x28]
call fcn.1003fa20
movzx eax, al
test eax, eax
je 0x10098618
lea ecx, [ebp - 0x28]
call fcn.1003f9fb
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x1009860e
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.1003fa0c
jmp 0x100985c5
xor eax, eax
jne 0x100985b6
mov eax, 0x80004005
jmp 0x1009862d
jmp 0x1009846e
mov eax, 0x80004005
leave
ret 4
Function at 0x10098f0f
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp - 0x2c]
call fcn.10096b34
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x10098f2e
jmp 0x10098fea
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x2c]
add ecx, 0x34
call fcn.1003f6cb
jmp 0x10098f4d
push 0
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0xc]
call fcn.1001530f
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x2c]
add ecx, 0x34
call fcn.1003f6ee
push eax
lea ecx, [ebp - 0xc]
call fcn.1003fa20
movzx eax, al
test eax, eax
je 0x10098fea
lea ecx, [ebp - 0xc]
call fcn.10037d3b
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0xc]
call fcn.10037d3b
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x10], 0
je 0x10098f93
cmp dword [ebp - 0x14], 0
jne 0x10098f95
jmp 0x10098f3f
mov eax, dword [ebp - 0x10]
cmp dword [eax + 4], 0x186a0
je 0x10098fe5
mov eax, dword [ebp - 0x10]
cmp dword [eax + 8], 4
ja 0x10098fe5
mov ecx, dword [ebp - 0x14]
add ecx, 0x1c
call fcn.10004d5d
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 0x10098fe5
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x2c]
add ecx, 0x40
call fcn.1003f80e
jmp 0x10098f3f
leave
ret
Function at 0x1009975d
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b6c37
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.10003b59
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 0x100997db
mov eax, dword [ebp + 0x10]
cmp dword [eax + 0x320], 0
jne 0x100997db
push 0x100c5f24
lea ecx, [ebp - 0x10]
call fcn.10003c10
jmp 0x100998af
and word [ebp - 0x22c], 0
push 0x208
push 0
lea eax, [ebp - 0x22a]
push eax
call fcn.10072040
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.10003b59
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.10015acb
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.10010544
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.10003bf7
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x234]
call fcn.1001030a
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x230]
call fcn.1001030a
mov eax, dword [ebp + 0x10]
add eax, 0x328
push eax
call fcn.1006f3ab
pop ecx
test eax, eax
jne 0x100998ce
mov dword [ebp - 0x24c], 0x100c5fa4
jmp 0x100998dc
mov eax, dword [ebp + 0x10]
add eax, 0x328
mov dword [ebp - 0x24c], eax
push dword [ebp - 0x24c]
lea ecx, [ebp - 0x18]
call fcn.10003b8c
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.10020899
push eax
mov eax, dword [ebp + 0x10]
add eax, 0x90
push eax
call fcn.100116b0
mov ecx, eax
call fcn.100a3b12
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x1009996d
lea ecx, [ebp - 0x10]
call fcn.10020899
push eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x14]
call dword [eax]
test eax, eax
je 0x1009996d
and dword [ebp - 0x238], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.1001030a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.1001030a
mov eax, dword [ebp - 0x238]
jmp 0x100999af
mov dword [ebp - 0x23c], 9
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.1001030a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.1001030a
mov eax, dword [ebp - 0x23c]
jmp 0x100999af
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.1006f3c1
leave
ret 0xc
Function at 0x10099a0d
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b6c67
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.10020899
push eax
lea ecx, [ebp - 0x18]
call fcn.100207b6
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.10020899
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.1000a683
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x10099a9e
mov ecx, dword [ebp - 0x1c]
call fcn.100999c8
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x1c]
add ecx, 0x50
call fcn.10020899
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
Function at 0x1009bf8f
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0
je 0x1009bfc6
mov eax, dword [ebp - 4]
add eax, 8
push eax
mov eax, dword [ebp - 4]
push dword [eax + 0xc]
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], eax
jmp 0x1009bffb
push 0
push 0x100c7574
call dword [sym.imp.USER32.dll_FindWindowW]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0
je 0x1009bffb
mov eax, dword [ebp - 4]
add eax, 8
push eax
mov eax, dword [ebp - 4]
push dword [eax + 0xc]
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], eax
leave
ret

Function at 0x1009bffd
Capabilities:
Create process on windows
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
push edi
and dword [ebp - 0x68], 0
push 0x40
push 0
lea eax, [ebp - 0x64]
push eax
call fcn.10072040
add esp, 0xc
and dword [ebp - 0x14], 0
xor eax, eax
lea edi, [ebp - 0x10]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x68], 0x44
mov dword [ebp - 0x3c], 0x80
and dword [ebp - 0x18], 0
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x18]
push eax
push 0
push 0
push 0
push 0
push 0
push str.SoftWareTencentQQPCMgr
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1009c081
push 4
lea eax, [ebp + 0x10]
push eax
push 4
push 0
push str.Supplyid
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x68]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x1009c0c3
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
inc eax
jmp 0x1009c0c5
xor eax, eax
pop edi
leave
ret
Function at 0x1009c203
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
push edi
push section.DLLShare
call fcn.1006f3ab
pop ecx
test eax, eax
jne 0x1009c21b
jmp 0x1009c28a
and dword [ebp - 0x60], 0
push 0x40
push 0
lea eax, [ebp - 0x5c]
push eax
call fcn.10072040
add esp, 0xc
and dword [ebp - 0x10], 0
xor eax, eax
lea edi, [ebp - 0xc]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x60], 0x44
mov dword [ebp - 0x34], 0x81
and word [ebp - 0x30], 0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x60]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push section.DLLShare
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x1009c28a
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
leave
ret 0x10

Function at 0x1009c298
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x244
mov eax, dword [0x100e13e0]
xor eax, ebp
mov dword [ebp - 0xc], eax
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x1009c2c1
xor eax, eax
jmp 0x1009c32a
and dword [ebp - 0x244], 0
and dword [ebp - 8], 0
mov dword [ebp - 0x240], 0x22c
lea eax, [ebp - 0x240]
push eax
push dword [ebp - 4]
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x1009c31b
push dword [ebp + 8]
lea eax, [ebp - 0x21c]
push eax
call fcn.10073265
pop ecx
pop ecx
test eax, eax
jne 0x1009c308
mov dword [ebp - 0x244], 1
lea eax, [ebp - 0x240]
push eax
push dword [ebp - 4]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x1009c2e9
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x244]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.1006f3c1
leave
ret