joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10054370
Capabilities:
Create a process with modified i/o handles and window
Create pipe
Create process on windows
Create two anonymous pipes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x470
mov eax, dword [0x101302a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov dword [ebp - 0x418], eax
push 0
lea ecx, [ebp - 0x424]
mov dword [ebp - 0x424], 0xc
push ecx
lea eax, [edi + 0xc]
mov dword [ebp - 0x41c], 1
push eax
lea ebx, [edi + 8]
mov dword [ebp - 0x420], 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
je 0x100545ae
push 0
push 1
push dword [ebx]
mov ebx, dword [sym.imp.KERNEL32.dll_SetHandleInformation]
call ebx
push 0
lea ecx, [ebp - 0x424]
push ecx
lea eax, [edi + 4]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
je 0x100545ae
push 0
push 1
push dword [edi + 4]
call ebx
xor eax, eax
mov dword [ebp - 0x470], 0x44
xorps xmm0, xmm0
mov word [ebp - 0x43a], ax
lea ebx, [edi + 0x10]
movlpd qword [ebp - 0x46c], xmm0
movups xmmword [ebx], xmm0
mov eax, dword [edi + 0xc]
xor ecx, ecx
mov dword [ebp - 0x430], eax
mov dword [ebp - 0x434], eax
mov eax, dword [edi]
mov dword [ebp - 0x438], eax
mov eax, dword [ebp + 0x14]
neg eax
mov dword [ebp - 0x43e], ecx
push 0x208
sbb eax, eax
movlpd qword [ebp - 0x464], xmm0
and eax, 5
movlpd qword [ebp - 0x45c], xmm0
mov word [ebp - 0x440], ax
or ecx, 0x101
lea eax, [ebp - 0x414]
movlpd qword [ebp - 0x454], xmm0
push 0
push eax
movlpd qword [ebp - 0x44c], xmm0
mov dword [ebp - 0x444], ecx
call fcn.100bf410
push dword [ebp - 0x418]
lea eax, [ebp - 0x414]
push esi
push str.__s___s
push 0x208
push eax
call fcn.10054a00
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.100bf410
add esp, 0x2c
cmp dword [ebp + 0x10], 0
jne 0x10054528
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
test eax, eax
jne 0x10054528
lea eax, [ebp - 0x20c]
mov edx, 0x104
mov ecx, eax
sub esi, ecx
nop word [eax + eax]
lea ecx, [edx + 0x7ffffefa]
test ecx, ecx
je 0x1005450e
movzx ecx, word [esi + eax]
test cx, cx
je 0x1005450e
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x100544f0
lea ecx, [eax - 2]
test edx, edx
cmovne ecx, eax
xor eax, eax
mov word [ecx], ax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea ecx, [ebp - 0x42c]
call fcn.100523b0
push ebx
lea eax, [ebp - 0x470]
push eax
lea eax, [ebp - 0x20c]
push eax
push 0
push 0
push 1
push 0
push 0
lea eax, [ebp - 0x414]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov esi, eax
test esi, esi
jne 0x10054581
lea ecx, [ebp - 0x42c]
call fcn.10052400
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10084321
mov esp, ebp
pop ebp
ret 0x10
push 0xffffffffffffffff
push dword [ebx]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
lea ecx, [ebp - 0x42c]
call fcn.10052400
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10084321
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10084321
mov esp, ebp
pop ebp
ret 0x10
Function at 0x10054630
Capabilities:
Check for time delay via gettickcount
Read file on windows
Read pipe

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.10054640
Function at 0x10054a80
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100eed79
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x101302a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], 0
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], 0
mov eax, dword [ebx]
mov ecx, dword [eax - 0x10]
test ecx, ecx
je 0x10054acf
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
test ecx, ecx
jne 0x10054ae5
call fcn.10005810
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov ecx, eax
test ecx, ecx
je 0x10054c0d
mov eax, dword [ecx]
call dword [eax + 0xc]
mov dword [ebp - 0x14], 1
lea esi, [eax + 0x10]
mov eax, dword [ebx]
mov dword [ebp + 8], esi
mov dword [ebp - 0x18], eax
mov edx, dword [eax - 0xc]
mov dword [ebp - 0x10], edx
lea ebx, [edx + 2]
test ebx, ebx
js 0x10054c17
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, ebx
or eax, ecx
jge 0x10054b2d
push ebx
lea ecx, [ebp + 8]
call fcn.10019470
mov esi, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
push edx
push dword [ebp - 0x18]
push edx
push esi
call fcn.10006660
mov ecx, dword [ebp - 0x10]
add esp, 0x10
add ecx, esi
jne 0x10054b54
call fcn.100c2ac2
mov dword [eax], 0x16
call fcn.100c29e9
jmp 0x10054b5d
mov ax, word [0x100ffe00]
mov word [ecx], ax
cmp ebx, dword [esi - 8]
jg 0x10054c17
mov dword [esi - 0xc], ebx
mov byte [ebx + esi], 0
cmp dword [edi], 0
je 0x10054bd6
cmp dword [edi + 4], 0
je 0x10054bd6
cmp dword [edi + 8], 0
je 0x10054bd6
cmp dword [edi + 0xc], 0
je 0x10054bd6
mov ebx, dword [esi - 0xc]
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp + 8], ecx
test ebx, ebx
je 0x10054bcf
cmp dword [edi], 0
je 0x10054bcf
mov edx, dword [edi + 4]
test edx, edx
je 0x10054bcf
cmp dword [edi + 8], 0
je 0x10054bcf
cmp dword [edi + 0xc], 0
je 0x10054bcf
push 0
lea eax, [ebp + 8]
push eax
push ebx
lea eax, [ecx + esi]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x10054bcf
mov ecx, dword [ebp - 0x10]
add ecx, dword [ebp + 8]
mov dword [ebp - 0x10], ecx
sub ebx, dword [ebp + 8]
jne 0x10054b93
mov edi, 1
jmp 0x10054bd8
xor edi, edi
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x10054bf7
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 esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.10005530
push 0x80070057
call fcn.10005530
int3
Function at 0x10058bf0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ed211
mov eax, dword fs:[0]
push eax
sub esp, 0x2d4
mov eax, dword [0x101302a0]
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
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0xc], eax
call fcn.1006a510
mov dword [esi], eax
test eax, eax
jne 0x10058db4
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.100bf410
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.ComputerZTray.exe
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push eax
call fcn.1007c540
add esp, 4
test eax, eax
jne 0x10058d73
call fcn.100832b0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10058db4
push 0x66
push str.d:jenkins.jenkinsworkspacemaster_lucomputerz_cncompuerz_cnludashi_srcconfig_mgrconfig_mgr.cpp
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], al
call fcn.10006560
push 3
push 0x100f9f78
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], 0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.10006560
mov byte [ebp - 4], 1
call fcn.100832b0
mov edi, eax
lea ecx, [ebp - 0x2e0]
push 0x2b
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.10007140
mov esi, eax
push str.Tray_HasMsSign_failed
push esi
mov byte [ebp - 4], 2
call fcn.10007e70
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x2e0]
call fcn.10007fa0
lea ecx, [ebp - 0x230]
call fcn.10005340
lea ecx, [ebp - 0x248]
call fcn.10005340
jmp 0x10058db4
call fcn.10005810
mov ecx, eax
test ecx, ecx
je 0x10058dcf
mov eax, dword [ecx]
call dword [eax + 0xc]
push 0xa
push 0
lea esi, [eax + 0x10]
push esi
lea eax, [ebp - 0x218]
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x10058db4
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
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.10084321
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10005530
int3
Function at 0x100610a0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100efd18
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x101302a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
test edi, edi
je 0x100610d8
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp + 8]
push 0x38
mov dword [ebp - 4], 0
mov ebx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp + 8], eax
call fcn.10083f77
mov esi, eax
add esp, 4
mov dword [ebp - 0x14], esi
test esi, esi
je 0x10061128
mov ecx, dword [ebp + 8]
lea eax, [esi + 0x10]
mov dword [esi + 4], 1
mov dword [esi + 8], 1
mov dword [esi], vtable.std::_Ref_count_obj_class_std::function_int____cdecl___void___.0
mov dword [eax], vtable.std::_Func_impl_no_alloc_class_std::_Binder_struct_std::_Unforced__class_std::_Binder_struct_std::_Unforced__unsigned_char____cdecl_PageManager::__int__void___class_PageManager_______int___.0
mov dword [eax + 4], ebx
mov dword [eax + 8], ecx
mov dword [eax + 0x24], eax
jmp 0x1006112a
xor esi, esi
lea eax, [esi + 0x10]
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], eax
test esi, esi
je 0x1006113b
lock inc dword [esi + 4]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], esi
mov eax, dword [edi + 0x30]
mov ecx, dword [edi + 0x28]
inc eax
mov byte [ebp - 4], 2
cmp ecx, eax
ja 0x1006115d
push 1
lea ecx, [edi + 0x20]
call fcn.1001bad0
mov ecx, dword [edi + 0x28]
lea eax, [ecx - 1]
and dword [edi + 0x2c], eax
mov ecx, dword [edi + 0x30]
add ecx, dword [edi + 0x2c]
mov eax, dword [edi + 0x28]
dec eax
and ecx, eax
lea eax, [ecx*4]
mov ecx, dword [edi + 0x24]
mov dword [ebp + 8], eax
cmp dword [ecx + eax], 0
jne 0x1006119a
push 0x28
call fcn.10083f77
mov ecx, dword [edi + 0x24]
add esp, 4
mov edx, dword [ebp + 8]
mov dword [edx + ecx], eax
mov eax, edx
mov ecx, dword [edi + 0x24]
mov eax, dword [eax + ecx]
lea ecx, [esi + 0x10]
mov dword [eax], vtable.std::_Func_impl_no_alloc_class__lambda_9ca36816c6fc7798495779f42d5f9647___void___.0
mov dword [eax + 4], ecx
mov dword [eax + 8], esi
mov dword [eax + 0x24], eax
inc dword [edi + 0x30]
cmp dword [edi + 0x18], 0
jne 0x100611d9
lea eax, [edi + 0x1c]
push eax
push 0
push edi
push 0x1001b270
push 0
push 0
call fcn.100c76d7
add esp, 0x18
mov dword [edi + 0x18], eax
mov byte [ebp + 0xb], 1
jmp 0x100611dd
mov byte [ebp + 0xb], 0
test esi, esi
je 0x10061202
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x10061202
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x10061202
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, byte [ebp + 0xb]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x100667e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f0496
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x101302a0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x430], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], 0
mov dword [ebp - 0x418], 0
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push 0x60
push 0
push esi
mov byte [ebp - 4], 1
call ebx
mov edi, eax
mov dword [ebp - 0x424], edi
test edi, edi
jne 0x1006688c
push 2
push eax
push esi
call ebx
mov edi, eax
mov dword [ebp - 0x424], eax
test edi, edi
jne 0x1006688c
call fcn.10064790
mov esi, eax
jmp 0x1006697c
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x100668af
call fcn.10064790
jmp 0x1006696f
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x420], ebx
test ebx, ebx
jne 0x100668cd
call fcn.10064790
jmp 0x1006696f
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov dword [ebp - 0x41c], esi
lea eax, [esi + 1]
cmp eax, esi
jae 0x100668ee
mov esi, 0x8007000e
jmp 0x10066971
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.10064660
jmp 0x10066918
cmp dword [ebp - 0x418], 0
mov dword [ebp - 4], 1
jne 0x1006692f
mov esi, 0x8007000e
jmp 0x10066971
push esi
push dword [ebp - 0x418]
push esi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x1006694f
call fcn.10064790
jmp 0x1006696f
mov eax, dword [ebp - 0x418]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x42c]
push dword [ebp - 0x418]
call fcn.10066640
mov esi, eax
test edi, edi
je 0x1006697c
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x100669a0
lea ecx, [ebp - 0x418]
call fcn.10065900
nop word [eax + eax]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10084321
mov esp, ebp
pop ebp
ret 0x10
Function at 0x10068f10
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
mov eax, dword [0x101302a0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x404]
push 0x400
push 0
push eax
mov dword [ebp - 0x408], esi
call fcn.100bf410
add esp, 0xc
mov dword [ebp - 0x408], 1
lea eax, [ebp - 0x40c]
mov dword [ebp - 0x40c], 0x400
push eax
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x408]
push eax
push 0x10102aac
push str.SOFTWAREMicrosoftWindows_NTCurrentVersion
push SysStringLen
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov ecx, esi
test eax, eax
jne 0x10068fa4
lea eax, [ebp - 0x404]
push eax
call fcn.1000a5b0
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10084321
mov esp, ebp
pop ebp
ret
push 6
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
push str.unknow
mov word [esi], ax
call fcn.1000b7b0
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.10084321
mov esp, ebp
pop ebp
ret

Function at 0x10068fe0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f0700
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x101302a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x14]
push 0
push eax
call fcn.1008ad10
add esp, 8
mov dword [ebp - 4], 0
call fcn.10005810
mov ecx, eax
test ecx, ecx
je 0x100690f8
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0xa
or eax, ecx
mov edi, dword [ebp - 0x14]
mov byte [ebp - 4], 1
jge 0x1006905c
push 0xa
lea ecx, [ebp - 0x10]
call fcn.100061d0
mov esi, dword [ebp - 0x10]
push edi
push 0xa
push esi
push 0x100fc458
push str.SchemeIndex
push str.PowerSave
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push dword [esi - 8]
push esi
call fcn.100c608e
add esp, 8
test eax, eax
js 0x100690ee
cmp eax, dword [esi - 8]
jg 0x100690ee
xor ecx, ecx
mov dword [esi - 0xc], eax
push esi
mov word [esi + eax*2], cx
call fcn.100c752f
lea edx, [esi - 0x10]
mov byte [ebp - 4], 0
or esi, 0xffffffff
add esp, 4
mov edi, eax
mov ecx, esi
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x100690bc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x100690db
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
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
push 0x80070057
call fcn.10005530
push 0x80004005
call fcn.10005530
int3
Function at 0x10069110
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f0730
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x101302a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x14]
push 0
push eax
call fcn.1008ad10
add esp, 8
mov dword [ebp - 4], 0
call fcn.10005810
mov ecx, eax
test ecx, ecx
je 0x1006925e
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0xa
or eax, ecx
mov edi, dword [ebp - 0x14]
mov byte [ebp - 4], 1
jge 0x1006918d
push 0xa
lea ecx, [ebp - 0x10]
call fcn.100061d0
mov esi, dword [ebp - 0x10]
push edi
push 0xa
push esi
push 0x100fc458
push str.PowerSaveStarting
push str.PowerSave
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push dword [esi - 8]
push esi
call fcn.100c608e
add esp, 8
test eax, eax
js 0x10069254
cmp eax, dword [esi - 8]
jg 0x10069254
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
mov ecx, 0x100fed04
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x100691f9
test dx, dx
je 0x100691f5
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x100691f9
add eax, 4
add ecx, 4
test dx, dx
jne 0x100691d3
xor eax, eax
jmp 0x100691fe
sbb eax, eax
or eax, 1
test eax, eax
mov byte [ebp - 4], 0
lea edx, [esi - 0x10]
sete bl
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10069221
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], esi
dec esi
test esi, esi
jg 0x10069240
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.10005530
push 0x80004005
call fcn.10005530
int3
Function at 0x10069270
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f075b
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x101302a0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x21c]
mov esi, dword [ebp + 0xc]
push 0
push eax
mov dword [ebp - 0x21c], edi
call fcn.1008ad10
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.100bf410
add esp, 0x14
lea eax, [ebp - 0x218]
push dword [ebp - 0x21c]
push 0x104
push eax
push 0x100f88d8
push esi
push str.Sensor
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
xor eax, eax
mov dword [edi + 0x10], 0
lea ecx, [ebp - 0x218]
mov dword [edi + 0x14], 7
mov word [edi], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10069313
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.1000b7b0
mov eax, dword [ebp - 0x21c]
or ecx, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x10069356
mov ecx, dword [eax]
push eax
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
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10084321
mov esp, ebp
pop ebp
ret

Function at 0x10069990
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x101302a0]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x18]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x10069a0c
lea eax, [ebp - 0x10]
push eax
push str.SeShutdownPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
push 0
push 0
push 0
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 1
push eax
push 0
push dword [ebp - 0x18]
mov dword [ebp - 8], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x10069a0c
push eax
push 2
call dword [sym.imp.USER32.dll_ExitWindowsEx]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10084321
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.10084321
mov esp, ebp
pop ebp
ret
Function at 0x10069de0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ed05b
mov eax, dword fs:[0]
push eax
sub esp, 0x124
mov eax, dword [0x101302a0]
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, dword [ebp + 8]
test esi, esi
je 0x10069f7e
xorps xmm0, xmm0
mov dword [ebp - 0x98], 0x44
lea eax, [ebp - 0x98]
movlpd qword [ebp - 0x94], xmm0
push eax
movlpd qword [ebp - 0x8c], xmm0
movlpd qword [ebp - 0x84], xmm0
movlpd qword [ebp - 0x7c], xmm0
movlpd qword [ebp - 0x74], xmm0
movlpd qword [ebp - 0x6c], xmm0
movlpd qword [ebp - 0x64], xmm0
movlpd qword [ebp - 0x5c], xmm0
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
xor eax, eax
mov dword [ebp - 0x6c], 1
mov word [ebp - 0x68], ax
xorps xmm0, xmm0
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x98]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push esi
push 0
movups xmmword [ebp - 0x54], xmm0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x10069f69
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x44], eax
call fcn.100832b0
push 1
mov ecx, eax
mov edx, dword [eax]
mov edx, dword [edx + 8]
call edx
movzx ecx, al
sub ecx, 1
jne 0x10069f69
push 0x55
mov dword [ebp - 0x30], ecx
mov byte [ebp - 0x40], cl
lea ecx, [ebp - 0x40]
push str.d:jenkins.jenkinsworkspacemaster_lucomputerz_cncompuerz_cnludashi_srcutils.cc
mov dword [ebp - 0x2c], 0xf
call fcn.10006560
push 3
push 0x100f9f78
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.10006560
mov byte [ebp - 4], 1
call fcn.100832b0
mov edi, eax
lea ecx, [ebp - 0x130]
push 0x6b
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.10007140
mov esi, eax
push str.createprocess_error:
push esi
mov byte [ebp - 4], 2
call fcn.10007e70
add esp, 8
mov ecx, esi
push dword [ebp - 0x44]
call fcn.10010360
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x130]
call fcn.10007fa0
lea ecx, [ebp - 0x28]
call fcn.10005340
lea ecx, [ebp - 0x40]
call fcn.10005340
push dword [ebp + 0xc]
push dword [ebp - 0x54]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x54]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
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.10084321
mov esp, ebp
pop ebp
ret