joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100072a0
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10054550
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x1006c740]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov edi, ecx
lea esi, [edi + 0x18]
push esi
mov dword [esp + 0x14], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [esp + 0x28], 0
mov ebx, 1
cmp dword [edi + 0x30], 0
jne 0x10007346
mov ecx, edi
call fcn.10007f00
mov ebx, eax
test ebx, ebx
jne 0x10007346
mov eax, dword [edi + 0xc]
test eax, eax
je 0x10007308
call eax
mov dword [edi + 0xc], ebx
cmp dword [edi + 8], 0
je 0x10007315
mov dword [edi + 8], 0
cmp dword [edi + 0x10], 0
je 0x10007322
mov dword [edi + 0x10], 0
cmp dword [edi + 0x14], 0
je 0x1000732f
mov dword [edi + 0x14], 0
mov eax, dword [edi + 4]
test eax, eax
je 0x100073a7
push eax
call dword [0x10059104]
mov dword [edi + 4], 0
jmp 0x100073a7
inc dword [edi + 0x30]
push ecx
push 0
push 0x2d
push 0x100605d0
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], 0
call fcn.1002a110
mov byte [esp + 0x28], 1
mov edx, str.Start_Collina_success_start_count:
mov ecx, dword [esp + 0x18]
push dword [edi + 0x30]
add ecx, 0xea68
push ecx
call fcn.1000a480
add esp, 4
mov ecx, eax
call fcn.10008890
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 0
call fcn.1002aa50
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x100073a7
push ecx
call fcn.1002a860
push esi
call dword [0x10059108]
mov eax, ebx
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000da60
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10054d2a
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x1006c740]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
push 0
mov dword [ebp - 0x18], esi
call fcn.100351ef
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov byte [ebp - 4], 6
test edi, edi
jne 0x1000db06
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], str.bad_locale_name
push eax
lea ecx, [ebp - 0x24]
call fcn.100365e0
push 0x1006aa5c
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], vtable.std::runtime_error.0
push eax
call fcn.1003841b
push edi
push esi
call fcn.100350c2
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100359a8
mov esp, ebp
pop ebp
ret 4

Function at 0x1000f590
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x1006c740]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
add eax, eax
mov dword [edi], 0
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push esi
lea eax, [ebp - 8]
push eax
push 0
push edx
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1000f61b
mov eax, dword [ebp - 8]
cmp eax, 1
je 0x1000f5dd
cmp eax, 2
jne 0x1000f5f9
mov ecx, dword [ebp - 0xc]
test esi, esi
je 0x1000f615
test ecx, ecx
je 0x1000f610
test cl, 1
jne 0x1000f5f9
mov eax, ecx
shr eax, 1
cmp word [esi + eax*2 - 2], 0
je 0x1000f615
pop edi
mov eax, 0xd
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100359a8
mov esp, ebp
pop ebp
ret 0xc
xor eax, eax
mov word [esi], ax
shr ecx, 1
xor eax, eax
mov dword [edi], ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.100359a8
mov esp, ebp
pop ebp
ret 0xc

Function at 0x10013ee0
Capabilities:
Resume thread
Terminate thread

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 8], 0
mov dword [esi], vtable.CPluginThread.0
je 0x10013f49
push edi
mov edi, dword [sym.imp.KERNEL32.dll_ResumeThread]
push dword [esi + 8]
call edi
cmp eax, 1
ja 0x10013ef6
cmp dword [esi + 8], 0
pop edi
je 0x10013f49
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0x3e8
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x10013f2d
push 0xffffffffffffffff
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [esi + 4]
test eax, eax
je 0x10013f42
push eax
call dword [0x10059100]
mov dword [esi + 4], 0
mov dword [esi + 8], 0
pop esi
ret
Function at 0x10013f50
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x1006c740]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0
push 0
push 1
push 0
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 4], eax
lea eax, [ebp - 8]
push eax
push 0
push esi
push 0x10014080
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
xor ecx, ecx
mov dword [esi + 8], eax
test eax, eax
pop esi
setne cl
mov eax, ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100359a8
mov esp, ebp
pop ebp
ret

Function at 0x10013fb0
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x1006c740]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0
push 0
push 1
push 0
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 4], eax
lea eax, [ebp - 8]
push eax
push 4
push esi
push 0x10014080
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 8], eax
test eax, eax
je 0x10014004
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [ebp - 4]
xor eax, eax
cmp dword [esi + 8], eax
pop esi
setne al
xor ecx, ebp
call fcn.100359a8
mov esp, ebp
pop ebp
ret 4

Function at 0x10014020
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi + 8], 0
je 0x1001406c
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_SetEvent]
push dword [ebp + 8]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x10014050
push 0xffffffffffffffff
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [esi + 4]
test eax, eax
je 0x10014065
push eax
call dword [0x10059100]
mov dword [esi + 4], 0
mov dword [esi + 8], 0
pop esi
pop ebp
ret 4
Function at 0x10014160
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10055532
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x1006c740]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x24], edi
mov dword [edi + 4], vtable.CPluginThread.0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [ebp - 4], 0
lea ecx, [edi + 0x10]
mov dword [edi], vtable.CConnectClient.1.0
mov dword [edi + 4], vtable.CConnectClient.0
call fcn.10002820
lea eax, [edi + 0x60]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov byte [ebp - 4], 2
call fcn.10004760
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x100141eb
push 0x80004005
call fcn.10004510
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi + 0x78], eax
mov byte [ebp - 4], 3
call fcn.10004760
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x10014216
push 0x80004005
call fcn.10004510
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi + 0x88], eax
push str.AlibabaProtectCon.cfg
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 4
push eax
call fcn.10001e10
mov byte [ebp - 4], 5
mov ecx, dword [eax]
sub ecx, 0x10
call fcn.1000fc10
lea esi, [eax + 0x10]
mov dword [ebp - 0x18], esi
mov byte [ebp - 4], 7
or ebx, 0xffffffff
mov edx, dword [ebp - 0x20]
mov eax, ebx
add edx, 0xfffffff0
lea ecx, [edx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x1001426d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push esi
push 0
push str.Host
push str.AlibabaProtect
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [edi + 0x80], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [edi + 0x84], eax
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x14], 0
call fcn.10004de0
mov byte [ebp - 4], 8
push dword [ebp - 0x14]
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov edx, eax
test edx, edx
jne 0x100142b9
xor ecx, ecx
jmp 0x100142d1
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x1c], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100142c1
sub ecx, dword [ebp - 0x1c]
sar ecx, 1
push ecx
push edx
lea ecx, [edi + 0x88]
call fcn.10004330
mov byte [ebp - 4], 7
mov ecx, ebx
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
mov dword [edi + 0x7c], 1
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10014305
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [ebp - 4], 4
lea eax, [esi + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x10014320
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100359a8
mov esp, ebp
pop ebp
ret
Function at 0x10016ca0
Capabilities:
Get file size
Hash data with md5
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x10067bd0
push 0x100412d0
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x1006c740]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x8c], edx
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x20], ebx
lea eax, [ebp - 0x20]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp dword [ebp - 0x20], ebx
ja 0x10016e03
cmp edi, 0xffffffff
je 0x10016e03
push ebx
push edi
push ebx
push 2
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [ebp - 0x80], eax
test eax, eax
je 0x10016e03
xor cl, cl
mov byte [ebp - 0x79], cl
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x70], 0x67452301
mov dword [ebp - 0x6c], 0xefcdab89
mov dword [ebp - 0x68], 0x98badcfe
mov dword [ebp - 0x64], 0x10325476
lea ebx, [ebx]
mov ecx, 0x10000
mov esi, ecx
cmp ecx, edi
cmova esi, edi
push esi
push ebx
push 0
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ebx, eax
mov dword [ebp - 0x88], ebx
test ebx, ebx
je 0x10016df3
mov dword [ebp - 4], 0
test esi, esi
je 0x10016d8a
push esi
push ebx
lea ecx, [ebp - 0x78]
call fcn.10016230
mov dword [ebp - 4], 0xfffffffe
push ebx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ebx, dword [ebp - 0x84]
add ebx, esi
mov dword [ebp - 0x84], ebx
sub edi, esi
mov eax, dword [ebp - 0x80]
jne 0x10016d50
push dword [ebp - 0x8c]
lea ecx, [ebp - 0x78]
call fcn.100162e0
mov bl, 1
push dword [ebp - 0x80]
call dword [0x10059100]
mov al, bl
jmp 0x10016e05
mov bl, byte [ebp - 0x79]
push dword [ebp - 0x80]
call dword [0x10059100]
mov al, bl
jmp 0x10016e05
xor al, al
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.100359a8
mov esp, ebp
pop ebp
ret
Function at 0x1001c990
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10055ea2
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x1006c740]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], 0
mov dword [edi], 0x10062030
mov dword [edi + 0x70], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov dword [ebp - 4], 0
lea esi, [edi + 0x10]
mov eax, dword [edi]
mov dword [ebp - 0x10], 1
mov eax, dword [eax + 4]
mov dword [edi + eax], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov eax, dword [edi]
mov ecx, dword [eax + 4]
push ecx
push esi
lea eax, [ecx - 0x18]
mov dword [ecx + edi - 4], eax
mov eax, dword [edi]
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov ecx, dword [eax + 4]
add ecx, edi
call fcn.1000be10
mov dword [ebp - 4], 2
mov eax, dword [edi]
mov eax, dword [eax + 4]
mov dword [edi + eax], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [edi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ecx + edi - 4], eax
mov ecx, esi
call fcn.1000b8d0
lea eax, [esi + 4]
mov dword [esi], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov dword [esi + 0xc], eax
lea ecx, [esi + 8]
lea eax, [esi + 0x14]
mov byte [esi + 0x4c], 0
mov dword [esi + 0x1c], eax
lea eax, [esi + 0x18]
mov dword [esi + 0x20], eax
lea eax, [esi + 0x24]
mov dword [esi + 0x2c], eax
lea eax, [esi + 0x28]
mov dword [esi + 0x30], eax
mov byte [esi + 0x45], 0
mov dword [esi + 0x10], ecx
mov dword [ecx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov eax, dword [esi + 0x30]
mov dword [eax], 0
mov eax, dword [esi + 0xc]
mov dword [eax], 0
mov eax, dword [esi + 0x1c]
mov dword [eax], 0
mov eax, dword [esi + 0x2c]
mov dword [eax], 0
mov eax, dword [0x1009c9f0]
mov dword [esi + 0x50], 0
mov dword [esi + 0x48], eax
mov dword [esi + 0x40], 0
sub esp, 8
mov byte [ebp - 4], 3
mov ecx, esi
push dword [ebp + 8]
call fcn.1001dd30
test eax, eax
jne 0x1001caea
mov eax, dword [edi]
mov ecx, dword [eax + 4]
mov eax, dword [ecx + edi + 0xc]
add ecx, edi
or eax, 2
cmp dword [ecx + 0x38], 0
jne 0x1001cae2
or eax, 4
push 0
push eax
call fcn.1000e170
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
Function at 0x1001df40
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10055fd8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x1006c740]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
push edi
mov eax, dword [0x1006c740]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x40], 0
je 0x1001e094
cmp byte [ebx + 0x45], 0
je 0x1001e094
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x1001dfa0
xor al, al
jmp 0x1001e096
mov ecx, 0xf
mov byte [esp + 0x18], 0
xorps xmm0, xmm0
mov dword [esp + 0x2c], ecx
cmp ecx, 0x10
movq qword [esp + 0x18], xmm0
lea eax, [esp + 0x18]
mov dword [esp + 0x28], 8
cmovae eax, dword [esp + 0x18]
mov byte [eax + 8], 0
mov dword [esp + 0x40], 0
jmp 0x1001dfe0
cmp dword [esp + 0x2c], 0x10
lea eax, [esp + 0x14]
mov ecx, dword [ebx + 0x40]
lea edi, [esp + 0x18]
cmovae edi, dword [esp + 0x18]
lea esi, [esp + 0x18]
cmovae esi, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x2c]
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x48]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x1001e021
dec eax
je 0x1001e025
sub eax, 2
je 0x1001e07b
xor bl, bl
jmp 0x1001e07d
mov byte [ebx + 0x45], 0
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x18]
mov edx, dword [esp + 0x18]
cmp ecx, 0x10
mov esi, dword [esp + 0x14]
cmovae eax, edx
sub esi, eax
je 0x1001e05c
push dword [ebx + 0x50]
cmp ecx, 0x10
lea eax, [esp + 0x1c]
push esi
cmovae eax, edx
push 1
push eax
call fcn.10037858
add esp, 0x10
cmp esi, eax
jne 0x1001e01d
cmp byte [ebx + 0x45], 0
je 0x1001e07b
test esi, esi
jne 0x1001dfe0
push esi
push 8
lea ecx, [esp + 0x20]
call fcn.1000f300
jmp 0x1001dfe0
mov bl, 1
cmp dword [esp + 0x2c], 0x10
jb 0x1001e090
push dword [esp + 0x18]
call fcn.100359a3
add esp, 4
mov al, bl
jmp 0x1001e096
mov al, 1
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.100359a8
mov esp, ebp
pop ebp
ret
Function at 0x10026430
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x254
mov eax, dword [0x1006c740]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
mov dword [ebp - 0x250], ebx
mov dword [ebp - 0x254], 0
call fcn.10037cb0
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
push 0
push 0
push 0x23
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jns 0x100264ac
push 0x10063248
push ebx
call fcn.10001e10
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100359a8
mov esp, ebp
pop ebp
ret 8
mov ebx, dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
lea eax, [ebp - 0x220]
push esi
push edi
push 1
push eax
call ebx
mov edi, dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
lea eax, [ebp - 0x220]
push 0
push 0
push 1
push eax
call edi
lea eax, [ebp - 0x220]
mov dword [ebp - 0x24c], 0xc
mov dword [ebp - 0x248], eax
lea eax, [ebp - 0x20c]
push str.Alibaba
push eax
mov dword [ebp - 0x244], 0
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov esi, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea eax, [ebp - 0x24c]
push eax
lea eax, [ebp - 0x20c]
push eax
call esi
push 1
lea eax, [ebp - 0x234]
push eax
call ebx
push 0
push 0
push 1
lea eax, [ebp - 0x234]
push eax
call edi
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x234]
mov dword [ebp - 0x23c], eax
lea eax, [ebp - 0x20c]
push str.AlibabaProtectDT
push eax
mov dword [ebp - 0x240], 0xc
mov dword [ebp - 0x238], 0
call edi
lea eax, [ebp - 0x240]
push eax
lea eax, [ebp - 0x20c]
push eax
call esi
push 0x10063248
lea eax, [ebp - 0x20c]
push eax
call edi
mov ecx, dword [ebp - 0x250]
lea eax, [ebp - 0x20c]
push eax
call fcn.10004440
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x250]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.100359a8
mov esp, ebp
pop ebp
ret 8
Function at 0x10028570
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x1006c740]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x1006d689], 0
push esi
push edi
mov edi, edx
je 0x10028644
cmp byte [0x1007ef11], 0
je 0x10028644
call fcn.10028460
mov esi, eax
test esi, esi
je 0x10028644
push ebx
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebx, eax
lea eax, [ebp - 0x1c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
movzx eax, word [ebp - 0x14]
mov dword [ebp - 0x20], eax
call fcn.10036e52
add eax, 0x40
push eax
call fcn.100372bd
add esp, 4
dec esi
je 0x100285f6
dec esi
je 0x100285ef
dec esi
je 0x100285e8
xor eax, eax
jmp 0x100285fb
mov eax, 6
jmp 0x100285fb
mov eax, 2
jmp 0x100285fb
mov eax, 4
mov esi, dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
or eax, 8
push eax
push ebx
call esi
call fcn.10036e52
add eax, 0x40
push eax
push 1
push dword [ebp + 8]
push edi
call fcn.10037858
call fcn.10036e52
add eax, 0x40
push eax
call fcn.100372bd
add esp, 0x14
push dword [ebp - 0x20]
push ebx
call esi
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100359a8
mov esp, ebp
pop ebp
ret
call fcn.10036e52
add eax, 0x40
push eax
push 1
push dword [ebp + 8]
push edi
call fcn.10037858
mov ecx, dword [ebp - 4]
add esp, 0x10
xor ecx, ebp
pop edi
pop esi
call fcn.100359a8
mov esp, ebp
pop ebp
ret
Function at 0x1002b0f0
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10056e93
mov eax, dword fs:[0]
push eax
sub esp, 0x15c
mov eax, dword [0x1006c740]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0x103
mov dword [ebp - 4], 0
lea eax, [ebp - 0x117]
push 0
mov dword [ebp - 0x11c], 0
push eax
mov dword [ebp - 0x168], esi
mov byte [ebp - 0x118], 0
call fcn.10037cb0
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
push 0
push 0
push 0x23
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
jns 0x1002b184
push str.C:ProgramData
lea eax, [ebp - 0x118]
push 0x104
push eax
call fcn.1002d930
add esp, 0xc
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
cmp byte [ebp - 0x118], 0
jne 0x1002b1a2
xor ecx, ecx
jmp 0x1002b1b9
lea ecx, [ebp - 0x118]
lea edx, [ecx + 1]
jmp 0x1002b1b0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002b1b0
sub ecx, edx
push ecx
lea eax, [ebp - 0x118]
mov ecx, esi
push eax
call fcn.100039c0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x134]
push 0x18
xor eax, eax
mov dword [ebp - 0x11c], 1
push str.AlibabaAlibabaProtectDT
mov dword [ebp - 0x120], 7
mov dword [ebp - 0x124], 0
mov word [ebp - 0x134], ax
call fcn.1000fa50
lea edx, [ebp - 0x134]
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x14c]
call fcn.1002bbb0
push eax
mov edx, 0x10063ab0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x164]
call fcn.1002d150
add esp, 4
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.1000f040
cmp dword [ebp - 0x150], 0x10
jb 0x1002b25f
push dword [ebp - 0x164]
call fcn.100359a3
add esp, 4
cmp dword [ebp - 0x138], 0x10
mov dword [ebp - 0x150], 0xf
mov dword [ebp - 0x154], 0
mov byte [ebp - 0x164], 0
jb 0x1002b291
push dword [ebp - 0x14c]
call fcn.100359a3
add esp, 4
mov byte [ebp - 4], 0
cmp dword [ebp - 0x120], 8
mov dword [ebp - 0x138], 0xf
mov dword [ebp - 0x13c], 0
mov byte [ebp - 0x14c], 0
jb 0x1002b2c7
push dword [ebp - 0x134]
call fcn.100359a3
add esp, 4
cmp dword [esi + 0x14], 0x10
jb 0x1002b2d1
mov eax, dword [esi]
jmp 0x1002b2d3
mov eax, esi
push 0
push eax
call fcn.1003d5cb
add esp, 8
test eax, eax
je 0x1002b2f7
cmp dword [esi + 0x14], 0x10
jb 0x1002b2ec
mov eax, dword [esi]
jmp 0x1002b2ee
mov eax, esi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 6
push str.Logs_
mov ecx, esi
call fcn.1000f100
cmp dword [esi + 0x14], 0x10
jb 0x1002b30f
mov eax, dword [esi]
jmp 0x1002b311
mov eax, esi
push 0
push eax
call fcn.1003d5cb
add esp, 8
test eax, eax
je 0x1002b335
cmp dword [esi + 0x14], 0x10
jb 0x1002b32a
mov eax, dword [esi]
jmp 0x1002b32c
mov eax, esi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100359a8
mov esp, ebp
pop ebp
ret