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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e87da
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
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]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x228], esi
mov dword [ebp - 0x21c], 0
mov dword [ebp - 4], 1
call fcn.10005810
mov ecx, eax
test ecx, ecx
je 0x10010fb6
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 0x21c], 1
push 0
push eax
mov dword [ebp - 0x220], 0x208
mov dword [ebp - 0x224], 1
call fcn.100bf410
add esp, 0xc
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x224]
push eax
push 0
push dword [ebp + 0x10]
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10010f7a
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.10010260
mov edi, dword [ebp + 0x10]
or eax, 0xffffffff
mov byte [ebp - 4], 0
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x10010f99
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
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.10084321
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10005530
int3
Function at 0x10011680
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e88b8
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 0x100116b8
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]
call fcn.10083f77
mov esi, eax
add esp, 4
mov dword [ebp + 8], esi
test esi, esi
je 0x100116fc
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_void____cdecl___void___.0
mov dword [eax], vtable.std::_Func_impl_no_alloc_class_std::_Binder_struct_std::_Unforced__class__lambda_adc5e0964749c49b2a3cbc9126eb51da______void___.0
mov dword [eax + 4], ebx
mov dword [eax + 0x24], eax
jmp 0x100116fe
xor esi, esi
lea eax, [esi + 0x10]
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], eax
test esi, esi
je 0x1001170f
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 0x10011731
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 0x1001176e
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_a0abeeb02e0dff33daef2c3856f1deb0___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 0x100117ad
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 0x100117b1
mov byte [ebp + 0xb], 0
test esi, esi
je 0x100117d6
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x100117d6
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x100117d6
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 0x10011800
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e88f8
mov eax, dword fs:[0]
push eax
sub esp, 0x18
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 - 0x1c], edi
test edi, edi
je 0x10011838
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp + 8]
push 0x38
mov dword [ebp - 4], 0
mov ecx, dword [eax + 4]
mov ebx, dword [eax]
mov dword [ebp + 8], ecx
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], eax
call fcn.10083f77
mov esi, eax
add esp, 4
mov dword [ebp - 0x20], esi
test esi, esi
je 0x100118a0
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_void____cdecl___void___.0
mov dword [eax], vtable.._AV___Func_impl_no_alloc_V___Binder_U_Unforced_std__V___Binder_U_Unforced_std__P8EmbeddedPageBenchmark__AEXH_ZPAV3_AAH_2___V_std__X__V_std__.0
mov dword [eax + 0xc], ecx
mov ecx, dword [ebp - 0x10]
mov dword [eax + 8], ebx
mov dword [eax + 0x10], ecx
mov ecx, dword [ebp - 0x14]
mov dword [eax + 0x14], ecx
mov dword [eax + 0x24], eax
jmp 0x100118a2
xor esi, esi
lea eax, [esi + 0x10]
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], eax
test esi, esi
je 0x100118b3
lock inc dword [esi + 4]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], esi
mov eax, dword [edi + 0x30]
mov ecx, dword [edi + 0x28]
inc eax
mov byte [ebp - 4], 2
cmp ecx, eax
ja 0x100118d5
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 0x10011912
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 [ecx + eax]
lea ecx, [esi + 0x10]
mov dword [eax], vtable.std::_Func_impl_no_alloc_class__lambda_e876c1eabc093df4cf33e5174c967a4c___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 0x10011951
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 0x10011955
mov byte [ebp + 0xb], 0
test esi, esi
je 0x1001197a
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x1001197a
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x1001197a
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 0x10015d10
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e9111
mov eax, dword fs:[0]
push eax
sub esp, 0x2d8
mov eax, dword [0x101302a0]
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 ebx, ecx
lea edx, [ebx + 0x174]
xor al, al
xchg byte [edx], al
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea ecx, [ebx + 0x178]
xchg dword [ecx], eax
push ebx
lea ecx, [ebx + 0x30]
call fcn.1000e110
lea eax, [ebp - 0x24c]
mov dword [ebp - 0x24c], ebx
push eax
lea ecx, [ebx + 0xc0]
call fcn.10011680
push 0x208
lea eax, [ebp - 0x218]
push 0
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.UtilsWebDataMgr.dll
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
mov dword [ebx + 0x4c], 0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10015e22
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x10015e22
push dword [0x1012e194]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10015e22
call eax
mov dword [ebx + 0x4c], eax
test eax, eax
je 0x10015e22
mov esi, dword [eax]
lea ecx, [ebx + 8]
mov edx, ebx
neg edx
sbb edx, edx
and edx, ecx
push edx
push eax
call dword [esi + 4]
mov eax, dword [ebx + 0x4c]
test eax, eax
jne 0x10015f04
call fcn.100832b0
mov ecx, eax
push 2
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10015f04
push 0x7f
push str.d:jenkins.jenkinsworkspacemaster_lucomputerz_cncompuerz_cnludashi_srcembedded_page_benchmarkembedded_page_benchmark.cc
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 0x100f9d48
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 - 0x2e4]
push 0x32
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.10007140
mov esi, eax
push str.InitWebDataMgr_faild.
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 - 0x2e4]
call fcn.10007fa0
lea ecx, [ebp - 0x230]
call fcn.10005340
lea ecx, [ebp - 0x248]
mov dword [ebp - 4], 0xffffffff
call fcn.10005340
mov ecx, ebx
lea eax, [ebx + 0xc]
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
lea ecx, [ebx + 0x50]
call fcn.1000b3e0
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.10084321
mov esp, ebp
pop ebp
ret
Function at 0x100292c0
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100eabc8
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 dword [ebp - 0x10], esp
push 0x50
call fcn.10083f77
mov ecx, dword [ebp + 8]
mov esi, eax
lea edx, [esi + 8]
mov dword [ebp - 0x14], esi
add esp, 4
mov dword [ebp - 4], 0
lea edi, [edx + 8]
mov dword [ebp - 0x18], edx
mov dword [esi], vtable.._AV___Func_impl_no_alloc_V___Binder_U_Unforced_std__V___Binder_U_Unforced_std__P8EmbeddedPageClearOptimise__AEXV__basic_string__WU__char_traits__W_std__V__allocator__W_2__2_0_ZPAV3_AAV42_AAV42__2___V_std__X__V_std__.0
lea ebx, [ecx + 8]
mov eax, dword [ecx]
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov ecx, edi
push ebx
mov dword [edx + 4], eax
mov dword [ebp + 8], edi
call fcn.1000dc10
lea eax, [ebx + 0x18]
mov byte [ebp - 4], 1
lea ecx, [edi + 0x18]
push eax
mov dword [ebp - 0x18], ecx
call fcn.1000dc10
mov eax, dword [ebx + 0x30]
mov dword [edi + 0x30], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100303e0
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100eb938
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 eax, dword [ecx + 8]
lea ebx, [ecx + 0x10]
mov edi, dword [ecx + 0xc]
lea esi, [ebx + 0x18]
sub esp, 0x18
mov dword [ebp - 0x10], eax
mov ecx, esp
mov dword [ebp - 0x14], esp
push ebx
call fcn.1000dc10
sub esp, 0x18
mov dword [ebp - 4], 0
mov ecx, esp
push esi
call fcn.1000dc10
mov ecx, dword [ebx + 0x30]
add ecx, edi
mov dword [ebp - 4], 0xffffffff
call dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10031900
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x101302a0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, ecx
push 0x30
push 0
push esi
call fcn.100bf410
push 0x110
lea eax, [ebp - 0x114]
mov dword [ebp - 0x118], 0x114
push 0
push eax
call fcn.100bf410
add esp, 0x18
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x10031963
cmp dword [ebp - 0x114], 6
mov eax, 0x30
jae 0x10031968
mov eax, 0x2c
mov ecx, dword [ebp + 0x10]
mov dword [esi], eax
mov eax, dword [ebp + 8]
mov dword [esi + 4], eax
test ecx, ecx
jne 0x10031986
push edi
call dword [sym.imp.USER32.dll_GetParent]
or dword [esi + 4], 1
mov ecx, edi
jmp 0x10031988
mov eax, edi
mov dword [esi + 8], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0xc], ecx
test eax, eax
je 0x1003199c
movups xmm0, xmmword [eax]
movups xmmword [esi + 0x10], xmm0
mov ecx, dword [0x101355c8]
mov eax, esi
mov dword [esi + 0x20], ecx
mov ecx, dword [ebp + 0x18]
mov dword [esi + 0x24], ecx
mov ecx, dword [ebp + 0x1c]
mov dword [esi + 0x28], ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.10084321
mov esp, ebp
pop ebp
ret 0x18
Function at 0x100353a0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ec0f2
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x101302a0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x430], esi
mov dword [ebp - 0x424], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
push 0x208
push eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x218]
push eax
mov dword [ebp - 0x424], 1
mov dword [ebp - 0x428], 0x104
call fcn.100bf410
add esp, 0xc
mov dword [ebp - 0x42c], 1
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x42c]
push eax
push str.local_m2
push 0x100fd6b4
push SysStringLen
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x1003547e
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10035460
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.1000b7b0
cmp dword [esi + 0x10], 0
jne 0x100354fa
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.100bf410
add esp, 0xc
lea eax, [ebp - 0x420]
push 0x104
push eax
call fcn.100a3a30
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100354b4
sub ecx, edx
lea eax, [ebp - 0x420]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.1000b7b0
cmp dword [esi + 0x14], 8
mov eax, esi
mov ecx, dword [esi + 0x10]
jb 0x100354df
mov eax, dword [esi]
add ecx, ecx
push ecx
push eax
push 1
push str.local_m2
push 0x100fd6b4
push SysStringLen
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
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.10084321
mov esp, ebp
pop ebp
ret
Function at 0x1003dd10
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e88b8
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 0x1003dd48
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]
call fcn.10083f77
mov esi, eax
add esp, 4
mov dword [ebp + 8], esi
test esi, esi
je 0x1003dd8c
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_void____cdecl___void___.0
mov dword [eax], vtable.std::_Func_impl_no_alloc_class_std::_Binder_struct_std::_Unforced__class__lambda_3322341b0114f44ab07c11f294451b3f______void___.0
mov dword [eax + 4], ebx
mov dword [eax + 0x24], eax
jmp 0x1003dd8e
xor esi, esi
lea eax, [esi + 0x10]
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], eax
test esi, esi
je 0x1003dd9f
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 0x1003ddc1
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 0x1003ddfe
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_31575edd740521d2d73f4139d4b991ce___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 0x1003de3d
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 0x1003de41
mov byte [ebp + 0xb], 0
test esi, esi
je 0x1003de66
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x1003de66
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x1003de66
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 0x10041420
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 0x100415c3
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 0x100415a9
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 0x100415a9
push 0x7b
mov dword [ebp - 0x30], ecx
mov byte [ebp - 0x40], cl
lea ecx, [ebp - 0x40]
push str.d:jenkins.jenkinsworkspacemaster_lucomputerz_cncompuerz_cnludashi_srcembedded_pagehardware_paramhardware_utils.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 0x26
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
mov eax, dword [ebp - 0x54]
test eax, eax
je 0x100415c3
push dword [ebp + 0xc]
push eax
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
Function at 0x10053260
Capabilities:
Get common file path
Manipulate boot configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x101302a0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
jne 0x100533ba
push ebx
push edi
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.100bf410
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov edx, dword [esi]
mov ebx, 1
mov ecx, ebx
mov eax, dword [edx - 8]
sub ecx, dword [edx - 4]
sub eax, 0x104
or ecx, eax
jge 0x100532d2
push 0x104
mov ecx, esi
call fcn.100061d0
mov edx, dword [esi]
cmp dword [edx - 8], 0x104
jl 0x100533c9
mov dword [edx - 0xc], 0x104
xor ecx, ecx
mov eax, dword [esi]
push str.cmd.exe
mov word [eax + 0x208], cx
lea eax, [ebp - 0x20c]
push eax
push edx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov ecx, dword [esi + 4]
mov eax, dword [ecx - 8]
sub ebx, dword [ecx - 4]
sub eax, 0x104
or ebx, eax
jge 0x10053326
push 0x104
lea ecx, [esi + 4]
call fcn.100061d0
mov ecx, dword [esi + 4]
cmp dword [ecx - 8], 0x104
jl 0x100533c9
mov dword [ecx - 0xc], 0x104
xor edx, edx
mov eax, dword [esi + 4]
push str.bcdedit.exe
mov word [eax + 0x208], dx
lea eax, [ebp - 0x20c]
push eax
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov eax, dword [esi]
test eax, eax
jne 0x10053363
xor ecx, ecx
jmp 0x10053375
push dword [eax - 8]
push eax
call fcn.100c608e
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x100533c9
mov eax, dword [esi]
cmp ecx, dword [eax - 8]
jg 0x100533c9
mov dword [eax - 0xc], ecx
xor edx, edx
mov eax, dword [esi]
mov word [eax + ecx*2], dx
mov eax, dword [esi + 4]
test eax, eax
jne 0x10053392
xor ecx, ecx
jmp 0x100533a4
push dword [eax - 8]
push eax
call fcn.100c608e
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x100533c9
mov eax, dword [esi + 4]
cmp ecx, dword [eax - 8]
jg 0x100533c9
mov dword [eax - 0xc], ecx
xor edx, edx
mov eax, dword [esi + 4]
pop edi
pop ebx
mov word [eax + ecx*2], dx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.10084321
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.10005530
int3
Function at 0x10054240
Capabilities:
Terminate process

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi]
test eax, eax
je 0x10054259
push eax
call edi
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x1005426a
push eax
call edi
mov dword [esi + 4], 0
mov eax, dword [esi + 8]
test eax, eax
je 0x1005427b
push eax
call edi
mov dword [esi + 8], 0
mov eax, dword [esi + 0xc]
test eax, eax
je 0x1005428c
push eax
call edi
mov dword [esi + 0xc], 0
mov eax, dword [esi + 0x10]
test eax, eax
je 0x100542c2
push 0x3e8
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x100542b1
push 0xffffffffffffffff
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push dword [esi + 0x10]
call edi
push dword [esi + 0x14]
call edi
xorps xmm0, xmm0
movups xmmword [esi + 0x10], xmm0
pop edi
pop esi
ret