joyce8/EMBER2024-capa huggingface dataset:
Function at 0x408693
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
call fcn.00407c4e
push str.SiteAccess
call fcn.0040714b
mov dword [ebp - 0x10], eax
mov dword [esp], str.ExecAccess
call fcn.0040714b
mov dword [ebp - 8], eax
mov dword [esp], str.MonAccess
call fcn.0040714b
mov dword [ebp - 4], eax
mov dword [esp], str.UDiskAccess
call fcn.0040714b
pop ecx
xor ebx, ebx
push 4
mov dword [ebp - 0x1c], eax
pop esi
cmp dword [ebp - 0x10], ebx
je 0x4086f8
cmp dword [ebp - 8], ebx
je 0x40870f
cmp dword [ebp - 4], ebx
je 0x40870f
cmp eax, ebx
je 0x408713
xor edi, edi
jmp 0x40871a
cmp dword [ebp - 8], ebx
jne 0x40870b
cmp dword [ebp - 4], ebx
jne 0x40870b
cmp eax, ebx
jne 0x40870b
xor edi, edi
inc edi
jmp 0x40871a
push 2
jmp 0x408715
cmp eax, ebx
jne 0x408718
push 3
pop edi
jmp 0x40871a
mov edi, esi
call fcn.00406c18
test eax, eax
jne 0x40872c
call fcn.00406bc4
test eax, eax
je 0x408739
call fcn.00406f82
cmp eax, 2
jne 0x408739
xor ebx, ebx
inc ebx
and dword [ebp - 0xc], 0
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x18]
push eax
push str.NoNotiLeak
push 0x4830a8
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
xor eax, eax
cmp dword [ebp - 0xc], 1
setne al
push eax
call fcn.00407044
push eax
push ebx
push dword [ebp - 4]
push dword [ebp - 0x1c]
push dword [ebp - 0x10]
push dword [ebp - 8]
push 0x484858
push dword [ebp + 8]
call fcn.004017d6
add esp, 0x24
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x408814
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
xor ecx, ecx
push 2
mov eax, 0x400
pop edx
mov esi, eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0042321b
mov ebx, dword [ebp + 0x10]
pop ecx
mov edi, eax
test ebx, ebx
jne 0x408844
mov ebx, 0x4831b0
test edi, edi
je 0x40889d
push dword [ebp + 0x18]
push esi
push edi
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [esi - 2]
cmp eax, ecx
jb 0x408887
push edi
call fcn.00423226
add esi, esi
xor ecx, ecx
push 2
pop edx
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0042321b
mov edi, eax
pop ecx
pop ecx
test edi, edi
jne 0x408848
test edi, edi
je 0x40889d
mov ecx, dword [ebp + 0x14]
push edi
call fcn.004017b1
push edi
call fcn.00423226
pop ecx
jmp 0x4088a6
mov ecx, dword [ebp + 0x14]
push ebx
call fcn.004017b1
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x4088ab
Capabilities:
Check if file exists

Disassembly:
push ebp
lea ebp, [esp - 0x1004]
mov eax, 0x1004
call fcn.00442140
push 0xffffffffffffffff
push 0x47c6e9
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x4aa3ec]
xor eax, ebp
mov dword [ebp + 0x1000], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.004240e9
mov eax, dword [eax + 8]
mov esi, 0x400
push esi
lea ecx, [ebp]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push esi
lea eax, [ebp]
push eax
lea eax, [ebp + 0x800]
push esi
push eax
call fcn.00442259
mov edi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
add esp, 0x10
lea eax, [ebp + 0x800]
push eax
call edi
lea eax, [ebp + 0x800]
push eax
call edi
push esi
push str.360Ver.dll
lea eax, [ebp + 0x800]
push esi
push eax
call fcn.0044216b
add esp, 0x10
lea ecx, [ebp - 0x20]
call fcn.0042245c
and dword [ebp - 4], 0
lea eax, [ebp + 0x800]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x408979
lea eax, [ebp + 0x800]
push eax
lea ecx, [ebp - 0x20]
call fcn.004224c0
test eax, eax
lea eax, [ebp + 0x800]
jne 0x40897c
lea eax, [ebp]
push eax
mov ecx, ebx
call fcn.004017b1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.00422499
xor eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp + 0x1000]
xor ecx, ebp
call fcn.004409d4
add ebp, 0x1004
leave
ret

Function at 0x409012
Capabilities:
Read .ini file

Disassembly:
push ebp
lea ebp, [esp - 0x190]
sub esp, 0x210
mov eax, dword [0x4aa3ec]
xor eax, ebp
mov dword [ebp + 0x18c], eax
push ebx
push esi
push edi
push 0x104
lea eax, [ebp - 0x7c]
push eax
push 0
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push str.....ipc360hips.ini
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea eax, [ebp - 0x7c]
push eax
push 1
push str.enable
mov ebx, str.cbdump
push ebx
call edi
test eax, eax
jne 0x409074
and dword [esi + 0x20], eax
jmp 0x4090d3
lea eax, [ebp - 0x7c]
push eax
push 0xa
push str.lowlimit
push ebx
mov dword [esi + 0x20], 1
call edi
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x7c]
push eax
push 0x3c
push str.lowrepeat
push ebx
call edi
mov ecx, dword [ebp - 0x80]
and dword [esi + 0x38], 0
mov dword [esi + 0x34], eax
lea eax, [ebp - 0x7c]
push eax
push 0x50
push str.hilimit
push ebx
mov dword [esi + 0x30], ecx
call edi
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x7c]
push eax
push 0x1e
push 0x484b10
push ebx
call edi
mov ecx, dword [ebp - 0x80]
and dword [esi + 0x4c], 0
mov dword [esi + 0x44], ecx
mov dword [esi + 0x48], eax
mov ecx, dword [ebp + 0x18c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004409d4
add ebp, 0x190
leave
ret
Function at 0x409208
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
test edi, edi
je 0x40926f
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x40926f
mov eax, dword [esi + 0xc]
mov dword [esi + 8], edi
test eax, eax
je 0x409232
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [esi + 0xc], eax
test eax, eax
je 0x40926f
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x10]
mov dword [ebx], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x18], eax
lea eax, [esi + 0x10]
push eax
mov ecx, esi
call fcn.00408f4c
xor eax, eax
inc eax
jmp 0x409271
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x409498
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov esi, ecx
call fcn.00409012
xor edi, edi
cmp dword [esi + 0x20], edi
je 0x4094e9
push edi
push edi
push 1
push edi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x2c], eax
cmp eax, edi
je 0x4094e9
lea eax, [ebp - 4]
push eax
push edi
push esi
push 0x409486
push edi
push edi
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x28], eax
cmp eax, edi
je 0x4094e0
xor eax, eax
inc eax
jmp 0x4094eb
push dword [esi + 0x2c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
leave
ret

Function at 0x40995d
Capabilities:
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
sub esp, 0x54
push ebx
call fcn.00409693
mov ebx, dword [ebp + 0xc]
test ebx, ebx
jne 0x40997a
xor eax, eax
jmp 0x409a23
push edi
push 0
push 4
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
jne 0x409992
xor eax, eax
jmp 0x409a22
push esi
push 0x1c
pop esi
lea eax, [ebp - 0x54]
push eax
push edi
mov dword [ebp - 0x54], esi
call sub.KERNEL32.dll_Thread32First
jmp 0x409a13
cmp dword [ebp - 0x54], 0x10
jb 0x409a06
cmp dword [ebp - 0x48], ebx
jne 0x409a06
push dword [ebp - 0x4c]
push 0
push 0x40
call dword [sym.imp.KERNEL32.dll_OpenThread]
test eax, eax
je 0x409a06
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x20]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetThreadTimes]
test eax, eax
je 0x409a06
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x38]
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp + 8]
push eax
call fcn.00409903
lea eax, [ebp - 0x54]
push eax
push edi
mov dword [ebp - 0x54], esi
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x4099a5
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
inc eax
pop esi
pop edi
pop ebx
leave
ret 8
Function at 0x409aec
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
test ebx, ebx
jne 0x409afb
xor al, al
jmp 0x409b62
cmp dword [ebp + 0xc], 0
je 0x409af7
push edi
mov edi, dword [ebp + 0x10]
test edi, edi
je 0x409b17
push edi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
je 0x409b1b
xor al, al
jmp 0x409b61
and dword [ebp + 8], 0
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp + 8]
push eax
push 0x40
push edi
push ebx
call esi
test eax, eax
je 0x409b54
push edi
push dword [ebp + 0xc]
push ebx
call fcn.00440f00
and dword [ebp + 0x10], 0
add esp, 0xc
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 8]
push edi
push ebx
call esi
test eax, eax
jne 0x409b5e
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor al, al
jmp 0x409b60
mov al, 1
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
Function at 0x40f40c
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x4aa3ec]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0xffffffff
push esi
mov esi, ecx
mov dword [ebp - 0x210], esi
jne 0x40f43a
push esi
call fcn.0040f2a7
pop ecx
jmp 0x40f4e7
push ebx
push edi
push str.deepscancloudsec2.dll
lea eax, [ebp - 0x20c]
push 0x208
push eax
xor edi, edi
xor ebx, ebx
call fcn.00407b46
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
call fcn.004022a9
cmp eax, edi
je 0x40f484
push str.DSAsyncEvaluateExec
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, edi
je 0x40f484
push esi
push 1
call eax
mov ebx, eax
cmp ebx, edi
jne 0x40f4e5
push 8
call fcn.004231ec
mov esi, eax
pop ecx
cmp esi, edi
je 0x40f49b
mov ecx, esi
call fcn.00401580
jmp 0x40f49d
xor esi, esi
cmp esi, edi
jne 0x40f4a5
xor eax, eax
jmp 0x40f4e5
push dword [ebp - 0x210]
mov ecx, esi
call fcn.004017b1
push edi
push edi
push esi
push 0x40f34c
push edi
push edi
mov dword [esi + 4], edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, edi
je 0x40f4e3
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x40f4e3
mov ebx, dword [esi + 4]
push 1
mov ecx, esi
call fcn.004084fd
mov eax, ebx
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004409d4
leave
ret

Function at 0x40f4f4
Capabilities:
Accept command line arguments

Disassembly:
push 8
mov eax, 0x47d2f8
call fcn.004409e3
push str._elevated
lea ecx, [ebp - 0x10]
call fcn.00409d19
and dword [ebp - 4], 0
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov edi, eax
test edi, edi
je 0x40f554
cmp dword [ebp - 0x14], 1
jle 0x40f554
xor esi, esi
inc esi
cmp dword [ebp - 0x14], esi
jle 0x40f554
push 0x4861f8
lea ecx, [ebp - 0x10]
call fcn.00408a80
push dword [edi + esi*4]
lea ecx, [ebp - 0x10]
call fcn.004087ef
inc esi
cmp esi, dword [ebp - 0x14]
jl 0x40f536
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [ebp - 0x10]
push 0xbb8
call fcn.0040f40c
pop ecx
test eax, eax
jne 0x40f588
mov esi, dword [ebp - 0x10]
call fcn.0040f366
test eax, eax
jne 0x40f588
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00401100
xor eax, eax
jmp 0x40f596
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00401100
xor eax, eax
inc eax
call fcn.00440abb
ret
Function at 0x411095
Capabilities:
Get file size

Disassembly:
push 8
mov eax, 0x47d418
call fcn.004409e3
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
mov eax, dword [edi + 8]
push ebx
push ebx
push 0x80
push 4
push 3
push SysReAllocString
push eax
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], ebx
call fcn.00409b95
test eax, eax
je 0x4110e0
cmp dword [ebp - 0x10], ebx
je 0x4110dc
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x411149
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp dword [ebp - 0x14], ebx
jne 0x41111d
cmp eax, 0x64
jb 0x41111d
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x10]
call fcn.00409bfa
test eax, eax
jne 0x41111d
push 0x64
lea esi, [edi + 0xc]
push esi
lea ecx, [ebp - 0x10]
call fcn.004101b7
test eax, eax
jne 0x41111d
cmp dword [esi], 1
jge 0x411138
mov ecx, edi
call fcn.00410cc2
mov esi, eax
cmp dword [ebp - 0x10], ebx
je 0x411134
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
jmp 0x411149
cmp dword [ebp - 0x10], ebx
je 0x411146
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
inc eax
call fcn.00440abb
ret

Function at 0x412df3
Capabilities:
Parse url

Disassembly:
xor edx, edx
cmp dword [esp + 4], edx
je 0x412e3f
mov eax, dword [esp + 8]
cmp eax, edx
je 0x412e3f
push eax
push edx
xor ecx, ecx
inc ecx
push edx
push dword [esp + 0x10]
mov dword [eax], 0x3c
mov dword [eax + 8], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x20], ecx
mov dword [eax + 0x28], ecx
mov dword [eax + 0x30], ecx
mov dword [eax + 0x38], ecx
mov dword [eax + 4], edx
mov dword [eax + 0x10], edx
mov dword [eax + 0x1c], edx
mov dword [eax + 0x24], edx
mov dword [eax + 0x2c], edx
mov dword [eax + 0x34], edx
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
jmp 0x412e41
xor eax, eax
ret 8

Function at 0x412e44
Capabilities:
Check http status code

Disassembly:
push ecx
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
push edi
xor ebp, ebp
mov edi, ecx
mov dword [esp + 0x10], ebp
mov dword [eax], ebp
lea esi, [edi + 0x220]
push ebp
push ebp
push ebp
push ebp
push ebx
call dword [sym.imp.WININET.dll_HttpSendRequestW]
push esi
push 0x13
push ebx
mov ecx, edi
call fcn.00412dc6
test eax, eax
je 0x412ebb
mov eax, dword [esi]
cmp eax, 0xc8
je 0x412ee3
cmp eax, 0x197
jne 0x412ebb
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push ebp
push 7
push 0x2eee
push ebx
push eax
call dword [sym.imp.WININET.dll_InternetErrorDlg]
cmp eax, ebp
je 0x412ed3
cmp eax, 0x4c7
je 0x412ec7
cmp eax, 0x2f00
jne 0x412ebb
cmp dword [edi + 0x21c], ebp
je 0x412e61
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
mov eax, dword [esp + 0x1c]
mov dword [eax], 1
jmp 0x412ebb
mov dword [esi], 0xc8
mov dword [esp + 0x10], 1
jmp 0x412ebb
xor eax, eax
inc eax
jmp 0x412ebf
Function at 0x412f3c
Capabilities:
Download and write a file
Read data from internet
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x3a0]
sub esp, 0x420
mov eax, dword [0x4aa3ec]
xor eax, ebp
mov dword [ebp + 0x39c], eax
mov eax, dword [ebp + 0x3ac]
push ebx
mov ebx, dword [ebp + 0x3a8]
push esi
push edi
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x6c]
push eax
push 5
xor edi, edi
push ebx
mov esi, ecx
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x78], edi
call fcn.00412dc6
test eax, eax
je 0x412f8a
mov dword [ebp - 0x78], 1
push 4
mov ecx, esi
mov dword [ebp - 0x68], edi
call fcn.00412ee8
mov dword [ebp - 0x70], edi
jmp 0x413005
lea eax, [ebp - 0x74]
push eax
push 0x400
lea eax, [ebp - 0x64]
push eax
push ebx
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x41300d
cmp dword [ebp - 0x74], edi
je 0x41300d
cmp dword [ebp - 0x7c], 0xffffffff
je 0x412fd3
push edi
lea eax, [ebp - 0x80]
push eax
push dword [ebp - 0x74]
lea eax, [ebp - 0x64]
push eax
push dword [ebp - 0x7c]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp - 0x74]
add dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x70]
push 0xa
cdq
pop ecx
idiv ecx
test edx, edx
jne 0x412ff5
push 5
push dword [ebp - 0x6c]
mov ecx, esi
push dword [ebp - 0x68]
call fcn.00412f07
inc dword [ebp - 0x70]
cmp dword [ebp - 0x78], edi
je 0x413005
mov eax, dword [ebp - 0x68]
cmp eax, dword [ebp - 0x6c]
jae 0x41300d
cmp dword [esi + 0x21c], edi
je 0x412f9b
push 6
mov ecx, esi
call fcn.00412ee8
mov ecx, dword [ebp + 0x39c]
xor eax, eax
cmp dword [esi + 0x21c], edi
pop edi
sete al
pop esi
xor ecx, ebp
pop ebx
call fcn.004409d4
add ebp, 0x3a0
leave
ret 8
Function at 0x413e4e
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push dword [ebp + 8]
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi], eax
test eax, eax
jne 0x413e79
push 0x49f208
lea eax, [ebp + 8]
push eax
mov dword [ebp + 8], str.can_not_load_pdown.dll
call fcn.00441a2b
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.PPInit
push eax
call edi
push str.PPInit2
push dword [esi]
mov dword [esi + 4], eax
call edi
push str.PPClose
push dword [esi]
mov dword [esi + 8], eax
call edi
push str.PPSetConfig
push dword [esi]
mov dword [esi + 0xc], eax
call edi
push str.PPGetConfig
push dword [esi]
mov dword [esi + 0x10], eax
call edi
push str.PPDownload
push dword [esi]
mov dword [esi + 0x14], eax
call edi
push str.PPStopTask
push dword [esi]
mov dword [esi + 0x18], eax
call edi
push str.PPRestart
push dword [esi]
mov dword [esi + 0x1c], eax
call edi
push str.PPRemoveTask
push dword [esi]
mov dword [esi + 0x20], eax
call edi
push str.PPStopSeed
push dword [esi]
mov dword [esi + 0x24], eax
call edi
push str.PPCloseHandle
push dword [esi]
mov dword [esi + 0x28], eax
call edi
push str.PPQueryTask
push dword [esi]
mov dword [esi + 0x2c], eax
call edi
push str.PPQueryTaskEx
push dword [esi]
mov dword [esi + 0x30], eax
call edi
push str.PPStartTask
push dword [esi]
mov dword [esi + 0x34], eax
call edi
push str.PPStartTaskEx
push dword [esi]
mov dword [esi + 0x38], eax
call edi
push str._GetTasks
push dword [esi]
mov dword [esi + 0x3c], eax
call edi
push str._StartRun
push dword [esi]
mov dword [esi + 0x40], eax
call edi
push str._StopRun
push dword [esi]
mov dword [esi + 0x44], eax
call edi
push str._Run
push dword [esi]
mov dword [esi + 0x48], eax
call edi
push str._EnableP2P
push dword [esi]
mov dword [esi + 0x4c], eax
call edi
mov dword [esi + 0x50], eax
push str._SetKeep
push dword [esi]
call edi
push str._SetKeepEx
push dword [esi]
mov dword [esi + 0x54], eax
call edi
push str._IsStopped
push dword [esi]
mov dword [esi + 0x58], eax
call edi
push str._PPQueryTask2
push dword [esi]
mov dword [esi + 0x5c], eax
call edi
push str.__PPSetModulePath2
push dword [esi]
mov dword [esi + 0x60], eax
call edi
push str.StartLan
push dword [esi]
mov dword [esi + 0x64], eax
call edi
push str.StopLan
push dword [esi]
mov dword [esi + 0x68], eax
call edi
push str._PPQueryIPPort
push dword [esi]
mov dword [esi + 0x6c], eax
call edi
push str._PPSetLocalLog
push dword [esi]
mov dword [esi + 0x70], eax
call edi
push str._P2SPUpdateRegInfo
push dword [esi]
mov dword [esi + 0x74], eax
call edi
push str._P2SPCheckProxy
push dword [esi]
mov dword [esi + 0x78], eax
call edi
push str._P2SPCancelCheckProxy
push dword [esi]
mov dword [esi + 0x7c], eax
call edi
push str._P2SPSetOption
push dword [esi]
mov dword [esi + 0x80], eax
call edi
mov dword [esi + 0x84], eax
pop edi
mov eax, esi
pop esi
pop ebp
ret 4
Function at 0x41403e
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0xf003f
xor esi, esi
push esi
push str.SystemCurrentControlSetServicesZhuDongFangYu
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41407b
push 0x48718c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 4]
inc esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
leave
ret

Function at 0x414127
Capabilities:
Get file size
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
xor ebx, ebx
push ebx
push 0x80
push 4
push ebx
push ebx
push 0xc0000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp + 8], esi
cmp esi, 0xffffffff
je 0x41421d
push edi
xor eax, eax
mov dword [ebp - 0x14], ebx
lea edi, [ebp - 0x10]
stosd dword es:[edi], eax
lea eax, [ebp - 0x14]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x414176
push esi
jmp 0x414216
cmp dword [ebp - 0x10], ebx
mov esi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 4], ebx
jl 0x4141a3
jg 0x41418f
cmp dword [ebp - 0x14], 0x100000
jbe 0x4141a3
push ebx
lea eax, [ebp - 4]
push eax
push ebx
push dword [ebp + 8]
call esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push 2
lea eax, [ebp - 4]
push eax
push ebx
push dword [ebp + 8]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 4], ebx
call esi
cmp eax, 0xffffffff
je 0x414213
mov esi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push ebx
push ebx
push ebx
push ebx
push 0xffffffffffffffff
push dword [ebp + 0xc]
push ebx
push ebx
call esi
mov dword [ebp - 8], eax
cmp eax, ebx
je 0x414213
inc eax
push eax
call fcn.0042321b
mov edi, eax
pop ecx
cmp edi, ebx
je 0x414213
push ebx
push ebx
push dword [ebp - 8]
push edi
push 0xffffffffffffffff
push dword [ebp + 0xc]
push ebx
push ebx
call esi
mov byte [eax + edi], bl
push ebx
lea eax, [ebp - 0xc]
push eax
push edi
call fcn.004419a0
pop ecx
inc eax
push eax
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call fcn.00423226
pop ecx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x414287
Capabilities:
Check os version
Get system information on windows

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x14c
mov eax, dword [0x4aa3ec]
xor eax, ebp
mov dword [ebp + 0x74], eax
push 0x24
lea eax, [ebp - 0xd4]
push 0
push eax
call fcn.00440110
add esp, 0xc
push str.GetNativeSystemInfo
push 0x4844e0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4142d5
lea ecx, [ebp - 0xd4]
push ecx
call eax
jmp 0x4142e2
lea eax, [ebp - 0xd4]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp word [ebp - 0xd4], 9
push esi
push edi
je 0x414416
cmp word [ebp - 0xd4], 6
je 0x414416
mov esi, 0x11c
push esi
xor edi, edi
lea eax, [ebp - 0xa8]
push edi
push eax
call fcn.00440110
add esp, 0xc
lea eax, [ebp - 0xa8]
mov dword [ebp - 0xa8], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
push eax
call esi
test eax, eax
jne 0x414348
lea eax, [ebp - 0xa8]
push eax
mov dword [ebp - 0xa8], 0x114
call esi
test eax, eax
je 0x41436d
cmp dword [ebp - 0x98], 2
jne 0x414416
mov eax, dword [ebp - 0xa4]
mov edx, dword [ebp - 0xa0]
mov ecx, dword [ebp - 0x9c]
movzx edi, word [ebp + 0x6c]
jmp 0x4143b6
and dword [ebp - 0xac], edi
and dword [ebp - 0xb0], edi
lea eax, [ebp - 0xb0]
push eax
lea eax, [ebp - 0xac]
push eax
push str.kernel32.dll
call fcn.00406d98
add esp, 0xc
test eax, eax
jne 0x41439d
xor eax, eax
inc eax
jmp 0x414418
mov eax, dword [ebp - 0xac]
mov ecx, dword [ebp - 0xb0]
movzx edx, word [ebp - 0xac]
shr eax, 0x10
shr ecx, 0x10
cmp eax, 5
jb 0x414416
jne 0x4143d0
test edx, edx
jne 0x4143c9
cmp di, 4
jae 0x414398
jmp 0x414416
cmp edx, 2
jne 0x414398
jmp 0x414416
cmp eax, 6
jne 0x414398
test edx, edx
jne 0x4143f1
cmp ecx, 0x1770
je 0x414398
cmp ecx, 0x1771
je 0x414398
cmp ecx, 0x1772
jmp 0x414414
cmp edx, 1
jne 0x414398
cmp ecx, 0x1b58
je 0x414398
cmp ecx, 0x1bbc
je 0x414398
cmp ecx, 0x1db0
je 0x414398
cmp ecx, 0x1db1
je 0x414398
xor eax, eax
mov ecx, dword [ebp + 0x74]
pop edi
xor ecx, ebp
pop esi
call fcn.004409d4
add ebp, 0x78
leave
ret

Function at 0x41459c
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 4]
mov ecx, dword [esi]
cmp eax, ecx
jne 0x4145b1
xor eax, eax
inc eax
jmp 0x4145e0
push 0
lea edx, [ebp - 4]
push edx
sub eax, ecx
push eax
push ecx
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4145d9
mov eax, dword [esi]
mov ecx, dword [esi + 4]
sub ecx, eax
cmp dword [ebp - 4], ecx
jne 0x4145d9
mov dword [esi + 4], eax
jmp 0x4145ac
mov eax, dword [esi]
mov dword [esi + 4], eax
xor eax, eax
pop esi
leave
ret