joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10098762
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bbf47
mov eax, dword fs:[0]
push eax
sub esp, 0x2a0
mov eax, dword [0x100e93e0]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x294], ecx
push dword [0x10105210]
lea eax, [ebp - 0x234]
push eax
call fcn.10096974
pop ecx
pop ecx
mov dword [ebp - 0x298], eax
mov eax, dword [ebp - 0x298]
mov dword [ebp - 0x29c], eax
and dword [ebp - 4], 0
push 0x100cc3fc
push dword [ebp - 0x29c]
lea eax, [ebp - 0x14]
push eax
call fcn.100107cd
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x234]
call fcn.100105a7
and word [ebp - 0x22c], 0
push 0x208
push 0
lea eax, [ebp - 0x22a]
push eax
call fcn.100738a0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x22c]
push eax
push 0
lea ecx, [ebp - 0x14]
call fcn.100350cd
push eax
call fcn.100af964
add esp, 0x10
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x14]
call fcn.10003cbb
push 0
lea ecx, [ebp - 0x14]
call fcn.100350cd
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push 0x100cc420
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.100107cd
add esp, 0xc
mov byte [ebp - 4], 3
push 0
push 0x100cc430
lea ecx, [ebp - 0x10]
call fcn.100350cd
push eax
push 0x451
push dword [0x10105210]
call fcn.1009722b
add esp, 0x14
mov dword [ebp - 0x230], eax
cmp dword [ebp - 0x230], 0
jne 0x100988ca
lea ecx, [ebp - 0x10]
call fcn.100350cd
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x100988ca
and dword [ebp - 0x238], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
call fcn.100105a7
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.100105a7
mov eax, dword [ebp - 0x238]
jmp 0x100989db
lea ecx, [ebp - 0x10]
call fcn.100350cd
push eax
lea ecx, [ebp - 0x254]
call fcn.100016fc
mov dword [ebp - 0x2a0], eax
mov eax, dword [ebp - 0x2a0]
mov dword [ebp - 0x2a4], eax
mov byte [ebp - 4], 4
push dword [ebp - 0x2a4]
mov ecx, dword [ebp - 0x294]
add ecx, 0xe0
call fcn.10037ffe
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x254]
call fcn.1000176a
lea ecx, [ebp - 0x14]
call fcn.100350cd
push eax
lea ecx, [ebp - 0x270]
call fcn.100016fc
mov dword [ebp - 0x2a8], eax
mov eax, dword [ebp - 0x2a8]
mov dword [ebp - 0x2ac], eax
mov byte [ebp - 4], 5
push dword [ebp - 0x2ac]
mov ecx, dword [ebp - 0x294]
add ecx, 0xf0
call fcn.10037ffe
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x270]
call fcn.1000176a
lea ecx, [ebp - 0x10]
call fcn.100350cd
push eax
lea ecx, [ebp - 0x28c]
call fcn.100016fc
mov byte [ebp - 4], 6
push dword [0x1010518c]
push 1
call fcn.10046cf0
lea edx, [ebp - 0x28c]
mov ecx, eax
call fcn.10046df9
mov dword [ebp - 0x230], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28c]
call fcn.1000176a
mov eax, dword [ebp - 0x230]
mov dword [ebp - 0x290], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
call fcn.100105a7
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.100105a7
mov eax, dword [ebp - 0x290]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.10070c21
leave
ret
Function at 0x100989f2
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bc3d2
mov eax, dword fs:[0]
push eax
sub esp, 0x12c
mov eax, dword [0x100e93e0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x11c], ecx
push 0x100cd214
lea ecx, [ebp - 0x10]
call fcn.10003c37
and dword [ebp - 4], 0
push dword [ebp + 8]
lea ecx, [ebp - 0x10]
call fcn.10009fe3
push 0x100cd21c
lea ecx, [ebp - 0x98]
call fcn.100016fc
mov dword [ebp - 0x120], eax
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0x124], eax
mov byte [ebp - 4], 1
push dword [ebp - 0x124]
push 0x100cd220
lea ecx, [ebp - 0xb4]
call fcn.100016fc
mov dword [ebp - 0x128], eax
mov eax, dword [ebp - 0x128]
mov dword [ebp - 0x12c], eax
mov byte [ebp - 4], 2
push dword [ebp - 0x12c]
push 0x100cd224
lea ecx, [ebp - 0xd0]
call fcn.100016fc
mov dword [ebp - 0x130], eax
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0x134], eax
mov byte [ebp - 4], 3
push dword [ebp - 0x134]
lea ecx, [ebp - 0x10]
call fcn.100350cd
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0xd4], esp
push eax
call fcn.100016fc
lea ecx, [ebp - 0x7c]
call fcn.100ba1b1
mov dword [ebp - 0x138], eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xd0]
call fcn.1000176a
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xb4]
call fcn.1000176a
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x98]
call fcn.1000176a
and dword [ebp - 0xd8], 0
push 0x100cd22c
lea ecx, [ebp - 0xf4]
call fcn.100016fc
mov byte [ebp - 4], 8
lea eax, [ebp - 0xd8]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0xf4]
push eax
lea ecx, [ebp - 0x7c]
call fcn.100167d9
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xf4]
call fcn.1000176a
and dword [ebp - 0xf8], 0
push 0x100cd234
lea ecx, [ebp - 0x114]
call fcn.100016fc
mov byte [ebp - 4], 9
lea eax, [ebp - 0xf8]
push eax
push dword [ebp + 0x10]
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x7c]
call fcn.100167d9
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x114]
call fcn.1000176a
push 0
push 0x100cd23c
mov eax, dword [ebp - 0x11c]
mov eax, dword [eax + 0x10]
mov ecx, dword [ebp - 0x11c]
mov ecx, dword [ecx + 0x10]
mov eax, dword [eax]
push ecx
call dword [eax + 0x18]
push eax
mov eax, dword [ebp + 0x10]
push dword [eax]
mov eax, dword [ebp + 0xc]
push dword [eax]
push str.Define__d___d__d
lea eax, [ebp - 0x10]
push eax
call fcn.10015f58
add esp, 0x14
lea ecx, [ebp - 0x10]
call fcn.100350cd
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov dword [ebp - 0x118], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x7c]
call fcn.100ba297
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.100105a7
mov eax, dword [ebp - 0x118]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10070c21
leave
ret 0xc
Function at 0x1009950e
Capabilities:
Create directory
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bc7ef
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x100e93e0]
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.10003c04
and dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push eax
call fcn.100b368f
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.10003ca2
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.100105a7
lea eax, [ebp - 0x24]
push eax
call fcn.100966e8
pop ecx
push str.Download_
lea ecx, [ebp - 0x24]
call fcn.10009fe3
push 0
lea ecx, [ebp - 0x24]
call fcn.100350cd
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.10099146
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.10003da1
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x20]
call fcn.100350cd
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.100107cd
add esp, 0xc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x14]
call fcn.100350cd
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.100107cd
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.100107cd
add esp, 0xc
lea ecx, [ebp - 0x10]
call fcn.100350cd
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x2c], 1
lea ecx, [ebp - 0x10]
call fcn.100105a7
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1c]
call fcn.100105a7
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x14]
call fcn.100105a7
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x20]
call fcn.100105a7
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.100105a7
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.100105a7
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
leave
ret 8
Function at 0x10099699
Capabilities:
Create directory
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bc822
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x100e93e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 8]
call fcn.1009681d
lea ecx, [ebp - 0x1c]
call fcn.10003c04
and dword [ebp - 4], 0
push 0x100c693e
push 0x100cbd40
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
call fcn.100b960f
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 1
push 0
push 0x100cbd34
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.100350cd
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.10015f58
add esp, 0xc
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.100105a7
lea eax, [ebp - 0x18]
push eax
call fcn.100b368f
pop ecx
mov byte [ebp - 4], 2
lea eax, [ebp - 0x18]
push eax
call fcn.100966e8
pop ecx
push 0x100cbd44
lea ecx, [ebp - 0x18]
call fcn.10009fe3
push 0
lea ecx, [ebp - 0x18]
call fcn.100350cd
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push 0x100cbd58
lea ecx, [ebp - 0x18]
call fcn.10009fe3
lea ecx, [ebp - 0x18]
call fcn.100350cd
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x1438
call fcn.10070967
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.100738a0
add esp, 0xc
mov eax, dword [ebp - 0x10]
mov dword [eax + 4], 2
push 0xe0
call fcn.10070967
pop ecx
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x100997d7
mov ecx, dword [ebp - 0x2c]
call fcn.1003fa9e
mov dword [ebp - 0x3c], eax
jmp 0x100997db
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.100350cd
push eax
mov ecx, dword [ebp - 0x14]
call fcn.1000a026
lea ecx, [ebp - 0x18]
call fcn.100350cd
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x1c
call fcn.1000a026
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x34
call fcn.1004125d
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.100105a7
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.100105a7
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
leave
ret 4
Function at 0x10099c4e
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bca58
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x100e93e0]
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.1001900a
and dword [ebp - 4], 0
lea ecx, [ebp - 0x22c]
call fcn.10041500
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x228]
call fcn.100414cf
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x22c]
call fcn.10010ef9
push eax
push dword [ebp + 8]
mov ecx, dword [ebp - 0x23c]
call fcn.10098f0d
test eax, eax
jne 0x10099d00
and dword [ebp - 0x230], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x228]
call fcn.10017651
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x22c]
call fcn.10017651
mov eax, dword [ebp - 0x230]
jmp 0x10099e03
push 0x100cccfc
lea ecx, [ebp - 0x22c]
call fcn.1003827f
lea ecx, [ebp - 0x22c]
call fcn.100414e8
test eax, eax
jne 0x10099d4f
and dword [ebp - 0x234], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x228]
call fcn.10017651
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x22c]
call fcn.10017651
mov eax, dword [ebp - 0x234]
jmp 0x10099e03
and word [ebp - 0x224], 0
push 0x208
push 0
lea eax, [ebp - 0x222]
push eax
call fcn.100738a0
add esp, 0xc
lea ecx, [ebp - 0x22c]
call fcn.10010ef9
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.1003827f
lea ecx, [ebp - 0x228]
call fcn.10010ef9
push eax
push 0x104
mov eax, dword [ebp + 0xc]
add eax, 0x90
push eax
call fcn.10074cf5
add esp, 0xc
lea ecx, [ebp - 0x228]
call fcn.100414e8
mov dword [ebp - 0x238], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x228]
call fcn.10017651
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x22c]
call fcn.10017651
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.10070c21
leave
ret 8
Function at 0x1009b78d
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov ecx, dword [ebp + 8]
call fcn.10099e1c
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x1009b7ae
mov eax, 0x80004005
jmp 0x1009b97e
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x34
call fcn.1003988b
jmp 0x1009b7cd
push 0
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0xc]
call fcn.100157b4
lea eax, [ebp - 0x3c]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x34
call fcn.10011c5f
push eax
lea ecx, [ebp - 0xc]
call fcn.1003e931
movzx eax, al
test eax, eax
je 0x1009b979
lea ecx, [ebp - 0xc]
call fcn.1004440b
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0xc]
call fcn.1004440b
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x10], 0
je 0x1009b817
cmp dword [ebp - 0x14], 0
jne 0x1009b819
jmp 0x1009b7bf
mov eax, dword [ebp - 0x10]
cmp dword [eax + 8], 4
ja 0x1009b974
mov ecx, dword [ebp - 0x14]
add ecx, 0x1c
call fcn.10004e3f
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 0x1009b8e1
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.1004132e
lea eax, [ebp - 0x44]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x60
call fcn.100413a8
push eax
lea ecx, [ebp - 0x1c]
call fcn.1003e931
movzx eax, al
test eax, eax
je 0x1009b8d1
lea ecx, [ebp - 0x1c]
call fcn.100414be
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x1009b8c7
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.100414aa
jmp 0x1009b883
xor eax, eax
jne 0x1009b874
xor eax, eax
jmp 0x1009b97e
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.1004132e
lea eax, [ebp - 0x4c]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x60
call fcn.100413a8
push eax
lea ecx, [ebp - 0x28]
call fcn.1003e931
movzx eax, al
test eax, eax
je 0x1009b969
lea ecx, [ebp - 0x28]
call fcn.100414be
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x1009b95f
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.100414aa
jmp 0x1009b916
xor eax, eax
jne 0x1009b907
mov eax, 0x80004005
jmp 0x1009b97e
jmp 0x1009b7bf
mov eax, 0x80004005
leave
ret 4
Function at 0x1009c260
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp - 0x2c]
call fcn.10099e1c
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x1009c27f
jmp 0x1009c33b
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x2c]
add ecx, 0x34
call fcn.1003988b
jmp 0x1009c29e
push 0
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0xc]
call fcn.100157b4
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x2c]
add ecx, 0x34
call fcn.10011c5f
push eax
lea ecx, [ebp - 0xc]
call fcn.1003e931
movzx eax, al
test eax, eax
je 0x1009c33b
lea ecx, [ebp - 0xc]
call fcn.1004440b
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0xc]
call fcn.1004440b
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x10], 0
je 0x1009c2e4
cmp dword [ebp - 0x14], 0
jne 0x1009c2e6
jmp 0x1009c290
mov eax, dword [ebp - 0x10]
cmp dword [eax + 4], 0x186a0
je 0x1009c336
mov eax, dword [ebp - 0x10]
cmp dword [eax + 8], 4
ja 0x1009c336
mov ecx, dword [ebp - 0x14]
add ecx, 0x1c
call fcn.10004e3f
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 0x1009c336
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x2c]
add ecx, 0x40
call fcn.100413c7
jmp 0x1009c290
leave
ret
Function at 0x1009ddee
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bd294
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x100e93e0]
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.100350cd
push eax
lea ecx, [ebp - 0x18]
call fcn.10020822
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.100350cd
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.1000a8ea
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x1009de7f
mov ecx, dword [ebp - 0x1c]
call fcn.1009dc63
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x1c]
add ecx, 0x50
call fcn.100350cd
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 0x1009f752
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
and dword [ebp - 0x14], 0
and dword [ebp - 4], 0
or dword [ebp - 0x18], 0xffffffff
and dword [ebp - 0x10], 0
and dword [ebp - 8], 0
and dword [ebp - 0x1c], 0
and dword [ebp - 0xc], 0
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocStringLen
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
jne 0x1009f7a2
jmp 0x1009f85a
push 0
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xa00000
jbe 0x1009f7c3
jmp 0x1009f85a
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x10]
inc eax
push eax
call fcn.1006ffa8
pop ecx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x1009f7e7
jmp 0x1009f85a
mov eax, dword [ebp - 0x10]
inc eax
push eax
push 0
push dword [ebp - 4]
call fcn.100738a0
add esp, 0xc
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
push 0
lea eax, [ebp - 8]
push eax
push dword [ebp - 0x1c]
push dword [ebp - 0xc]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x1009f823
cmp dword [ebp - 8], 0
jne 0x1009f83a
mov eax, dword [ebp - 4]
mov dword [ebp - 0x24], eax
push dword [ebp - 0x24]
call fcn.10072b5d
pop ecx
and dword [ebp - 4], 0
jmp 0x1009f85a
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0x1c], 0
jne 0x1009f7ff
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
cmp dword [ebp - 0x18], 0xffffffff
je 0x1009f86d
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [ebp - 0x18], 0xffffffff
mov eax, dword [ebp - 4]
leave
ret

Function at 0x1009fc5e
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 0x1009fc95
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 0x1009fcca
push 0
push 0x100cde44
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 0x1009fcca
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 0x1009fccc
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.100738a0
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 0x1009fd50
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 0x1009fd92
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 0x1009fd94
xor eax, eax
pop edi
leave
ret

Function at 0x1009fea0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
push edi
push section.DLLShare
call fcn.10070c0b
pop ecx
test eax, eax
jne 0x1009feb8
jmp 0x1009ff27
and dword [ebp - 0x60], 0
push 0x40
push 0
lea eax, [ebp - 0x5c]
push eax
call fcn.100738a0
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 0x1009ff27
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