joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10025fb0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10080a14
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x100b2008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov eax, dword [ebp + 0xc]
mov ecx, esi
mov dword [ebp - 0x10], esi
push dword [eax]
call fcn.10007310
mov dword [ebp - 4], 0
add esi, 0x18
mov dword [ebp + 0xc], esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov byte [ebp - 4], 1
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov byte [ebp - 4], 2
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov byte [ebp - 4], 3
push 0x18
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
call fcn.1007b5ea
add esp, 4
mov dword [esi + 0x30], eax
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10030e20
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10082130
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x100b2008]
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 dword [ebp - 0x50], edx
mov esi, ecx
xor bl, bl
cmp dword [esi + 0x10], 0
jne 0x10030e5f
xor al, al
jmp 0x10031000
push 0x21
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x2c]
push str.SystemCurrentControlSet_services
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
call fcn.100057c0
mov dword [ebp - 4], 0
lea edx, [ebp - 0x2c]
push esi
lea ecx, [ebp - 0x44]
call fcn.1006bf40
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
push ecx
cmovae eax, dword [ebp - 0x44]
push eax
push 0x80000002
mov dword [ebp - 0x48], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x10030ed7
xor bl, bl
jmp 0x10030f53
push 0x400
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x4c], 0x400
call fcn.1007b64b
push dword [ebp - 0x4c]
mov esi, eax
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0x10
lea eax, [ebp - 0x4c]
push eax
push esi
lea eax, [ebp - 0x14]
push eax
push 0
push str.ImagePath
push dword [ebp - 0x48]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10030f3c
mov edx, esi
lea edi, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x10030f21
mov ecx, dword [ebp - 0x50]
sub edx, edi
sar edx, 1
push edx
push esi
call fcn.100057c0
mov bl, 1
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x10030f4a
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
call fcn.1007bcdd
add esp, 4
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x30]
cmp edx, 8
jb 0x10030f93
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10030f89
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10030f89
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1007b61a
add esp, 8
xor eax, eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x10030fea
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10030fe0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10030fe0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1007b61a
add esp, 8
xor eax, eax
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
mov al, bl
mov dword [ebp - 0x18], 7
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.1007b5d9
mov esp, ebp
pop ebp
ret
Function at 0x10031020
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10082170
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x100b2008]
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, edx
mov esi, ecx
xor bl, bl
cmp dword [esi + 0x10], 0
jne 0x1003105e
xor al, al
jmp 0x10031208
push 0x21
xor eax, eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x30]
push str.SystemCurrentControlSet_services
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
call fcn.100057c0
mov dword [ebp - 4], 0
lea edx, [ebp - 0x30]
push esi
lea ecx, [ebp - 0x48]
call fcn.1006bf40
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x50]
cmp dword [ebp - 0x34], 8
lea eax, [ebp - 0x48]
push ecx
cmovae eax, dword [ebp - 0x48]
push eax
push 0x80000002
mov dword [ebp - 0x50], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x100310d6
xor bl, bl
jmp 0x1003115b
push 0x40
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x4c], 0x40
call fcn.1007b64b
push dword [ebp - 0x4c]
mov esi, eax
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0x10
lea eax, [ebp - 0x4c]
push eax
push esi
lea eax, [ebp - 0x18]
push eax
push 0
push str.Type
push dword [ebp - 0x50]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10031144
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x10031144
mov dword [ebp - 0x14], 0
cmp eax, 4
jbe 0x1003112f
mov eax, dword [esi]
jmp 0x10031140
push eax
lea eax, [ebp - 0x14]
push esi
push eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp - 0x14]
add esp, 0xc
mov dword [edi], eax
mov bl, 1
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x10031152
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
call fcn.1007bcdd
add esp, 4
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x34]
cmp edx, 8
jb 0x1003119b
mov ecx, dword [ebp - 0x48]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10031191
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10031191
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1007b61a
add esp, 8
xor eax, eax
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 7
mov word [ebp - 0x48], ax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x1c]
cmp edx, 8
jb 0x100311f2
mov ecx, dword [ebp - 0x30]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100311e8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100311e8
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1007b61a
add esp, 8
xor eax, eax
mov dword [ebp - 0x20], 0
mov word [ebp - 0x30], ax
mov al, bl
mov dword [ebp - 0x1c], 7
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.1007b5d9
mov esp, ebp
pop ebp
ret
Function at 0x10031230
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10082170
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x100b2008]
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, edx
mov esi, ecx
xor bl, bl
cmp dword [esi + 0x10], 0
jne 0x1003126e
xor al, al
jmp 0x10031418
push 0x21
xor eax, eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x30]
push str.SystemCurrentControlSet_services
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
call fcn.100057c0
mov dword [ebp - 4], 0
lea edx, [ebp - 0x30]
push esi
lea ecx, [ebp - 0x48]
call fcn.1006bf40
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x50]
cmp dword [ebp - 0x34], 8
lea eax, [ebp - 0x48]
push ecx
cmovae eax, dword [ebp - 0x48]
push eax
push 0x80000002
mov dword [ebp - 0x50], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x100312e6
xor bl, bl
jmp 0x1003136b
push 0x40
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x4c], 0x40
call fcn.1007b64b
push dword [ebp - 0x4c]
mov esi, eax
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0x10
lea eax, [ebp - 0x4c]
push eax
push esi
lea eax, [ebp - 0x18]
push eax
push 0
push str.Start
push dword [ebp - 0x50]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10031354
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x10031354
mov dword [ebp - 0x14], 0
cmp eax, 4
jbe 0x1003133f
mov eax, dword [esi]
jmp 0x10031350
push eax
lea eax, [ebp - 0x14]
push esi
push eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp - 0x14]
add esp, 0xc
mov dword [edi], eax
mov bl, 1
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x10031362
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
call fcn.1007bcdd
add esp, 4
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x34]
cmp edx, 8
jb 0x100313ab
mov ecx, dword [ebp - 0x48]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100313a1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100313a1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1007b61a
add esp, 8
xor eax, eax
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 7
mov word [ebp - 0x48], ax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x1c]
cmp edx, 8
jb 0x10031402
mov ecx, dword [ebp - 0x30]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100313f8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100313f8
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1007b61a
add esp, 8
xor eax, eax
mov dword [ebp - 0x20], 0
mov word [ebp - 0x30], ax
mov al, bl
mov dword [ebp - 0x1c], 7
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.1007b5d9
mov esp, ebp
pop ebp
ret
Function at 0x1003feb0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100838ec
mov eax, dword fs:[0]
push eax
sub esp, 0x268
mov eax, dword [0x100b2008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x244]
call fcn.10004c70
push 0x20c
lea eax, [ebp - 0x21c]
mov dword [ebp - 4], 0
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x21c]
push 0x105
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
dec eax
cmp eax, 0x103
ja 0x1003ff52
xor eax, eax
lea ecx, [ebp - 0x21c]
mov word [ebp - 0x12], ax
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1003ff30
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x244]
call fcn.100057c0
cmp dword [ebp - 0x234], 0
je 0x10040013
xorps xmm0, xmm0
lea ecx, [ebp - 0x22c]
movups xmmword [ebp - 0x22c], xmm0
call fcn.100300f0
mov byte [ebp - 4], 1
call fcn.10072650
test al, al
je 0x1003ff9d
mov eax, dword [ebp - 0x224]
test eax, eax
je 0x1003ff9d
cmp dword [ebp - 0x220], 0
jne 0x1003ff9d
lea ecx, [ebp - 0x220]
push ecx
call eax
push str.temppmdata.dat
lea ecx, [ebp - 0x274]
call fcn.10005770
lea eax, [ebp - 0x274]
mov byte [ebp - 4], 2
push eax
lea edx, [ebp - 0x244]
lea ecx, [ebp - 0x25c]
call fcn.1006bf40
add esp, 4
lea ecx, [ebp - 0x274]
mov byte [ebp - 4], 4
call fcn.10004be0
lea ecx, [ebp - 0x25c]
call fcn.1006db80
test al, al
je 0x1003fff5
lea ecx, [ebp - 0x25c]
call fcn.10074cf0
lea ecx, [ebp - 0x25c]
mov byte [ebp - 4], 1
call fcn.10004be0
lea ecx, [ebp - 0x22c]
mov byte [ebp - 4], 0
call fcn.10030350
lea ecx, [ebp - 0x244]
mov dword [ebp - 4], 0xffffffff
call fcn.10004be0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1007b5d9
mov esp, ebp
pop ebp
ret
Function at 0x10055fe0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100838ec
mov eax, dword fs:[0]
push eax
sub esp, 0x268
mov eax, dword [0x100b2008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x244]
call fcn.10004c70
push 0x20c
lea eax, [ebp - 0x21c]
mov dword [ebp - 4], 0
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x21c]
push 0x105
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
dec eax
cmp eax, 0x103
ja 0x10056082
xor eax, eax
lea ecx, [ebp - 0x21c]
mov word [ebp - 0x12], ax
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10056060
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x244]
call fcn.100057c0
cmp dword [ebp - 0x234], 0
je 0x10056143
xorps xmm0, xmm0
lea ecx, [ebp - 0x22c]
movups xmmword [ebp - 0x22c], xmm0
call fcn.100300f0
mov byte [ebp - 4], 1
call fcn.10072650
test al, al
je 0x100560cd
mov eax, dword [ebp - 0x224]
test eax, eax
je 0x100560cd
cmp dword [ebp - 0x220], 0
jne 0x100560cd
lea ecx, [ebp - 0x220]
push ecx
call eax
push str.Temp_fmdata.dat
lea ecx, [ebp - 0x274]
call fcn.10005770
lea eax, [ebp - 0x274]
mov byte [ebp - 4], 2
push eax
lea edx, [ebp - 0x244]
lea ecx, [ebp - 0x25c]
call fcn.1006bf40
add esp, 4
lea ecx, [ebp - 0x274]
mov byte [ebp - 4], 4
call fcn.10004be0
lea ecx, [ebp - 0x25c]
call fcn.1006db80
test al, al
je 0x10056125
lea ecx, [ebp - 0x25c]
call fcn.10074cf0
lea ecx, [ebp - 0x25c]
mov byte [ebp - 4], 1
call fcn.10004be0
lea ecx, [ebp - 0x22c]
mov byte [ebp - 4], 0
call fcn.10030350
lea ecx, [ebp - 0x244]
mov dword [ebp - 4], 0xffffffff
call fcn.10004be0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1007b5d9
mov esp, ebp
pop ebp
ret
Function at 0x10058cd0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100855d0
mov eax, dword fs:[0]
push eax
mov eax, 0x494c
call fcn.1007d2f0
mov eax, dword [0x100b2008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi]
call dword [eax + 0x18]
push 0x4928
lea eax, [ebp - 0x4958]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 0x4928
lea eax, [ebp - 0x4958]
mov dword [ebp - 0x14], 0
push eax
push 2
mov edx, 0x6b
lea ecx, [ebp - 0x14]
call fcn.1005edf0
add esp, 0x18
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 0
push eax
mov eax, dword [ebp - 0x14]
push ecx
mov edx, esp
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], esp
mov dword [edx], eax
mov byte [ebp - 4], 1
mov byte [ebp - 4], 0
mov ecx, dword [esi + 8]
push 9
call fcn.100617f0
cmp dword [ebp - 0x18], 0
jne 0x10058e1d
cmp dword [0x100b535c], 0
je 0x10058df6
push ecx
mov ecx, 0x100b535c
call fcn.10075870
mov eax, dword [0x100b535c]
cmp byte [eax + 0x54], 0
je 0x10058df6
cmp dword [eax + 0x58], 4
jb 0x10058df6
mov bl, byte [eax + 0x5c]
lea ecx, [ebp - 0x30]
call fcn.10004c70
push 0x21
push 0x10098750
mov byte [ebp - 4], 2
call fcn.100057c0
push 0x91
push str.RC::RCWebProtectDriver::ReStartWork
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotectdriverapinew_srclibdriverctrl_src2345exprotect_rcwebprotectdriver.cpp
lea eax, [ebp - 0x30]
mov ecx, 0x100b535c
push eax
push 4
call fcn.10076640
test bl, bl
je 0x10058dea
lea eax, [ebp - 0x30]
mov ecx, 0x100b535c
push eax
call fcn.100769e0
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0
call fcn.10004be0
push 0
push 0
push 0
push 0x10058a70
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x10058e16
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, 1
jmp 0x10058e9c
cmp dword [0x100b535c], 0
je 0x10058e9a
push ecx
mov ecx, 0x100b535c
call fcn.10075870
mov eax, dword [0x100b535c]
cmp byte [eax + 0x54], 0
je 0x10058e9a
cmp dword [eax + 0x58], 4
jb 0x10058e9a
mov bl, byte [eax + 0x5c]
lea ecx, [ebp - 0x30]
call fcn.10004c70
push 0x21
push 0x100989d8
mov byte [ebp - 4], 4
call fcn.100057c0
push 0x99
push str.RC::RCWebProtectDriver::ReStartWork
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotectdriverapinew_srclibdriverctrl_src2345exprotect_rcwebprotectdriver.cpp
lea eax, [ebp - 0x30]
mov ecx, 0x100b535c
push eax
push 4
call fcn.10076640
test bl, bl
je 0x10058e8e
lea eax, [ebp - 0x30]
mov ecx, 0x100b535c
push eax
call fcn.100769e0
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0
call fcn.10004be0
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x10058ebe
mov dword [ebp - 4], 5
mov edx, dword [ecx]
push 1
call dword [edx]
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1007b5d9
mov esp, ebp
pop ebp
ret
Function at 0x10069e30
Capabilities:
Check os version

Disassembly:
sub esp, 0x120
mov eax, dword [0x100b2008]
xor eax, esp
mov dword [esp + 0x11c], eax
push esi
push 1
mov esi, ecx
call fcn.1007b5ea
mov dword [esi], eax
push 0x118
push 0
mov byte [eax], 0
lea eax, [esp + 0x14]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x10
mov dword [esp + 4], 0x11c
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
mov eax, esi
je 0x10069e8c
cmp dword [esp + 8], 6
mov ecx, dword [esi]
setae dl
mov byte [ecx], dl
mov ecx, dword [esp + 0x120]
pop esi
xor ecx, esp
call fcn.1007b5d9
add esp, 0x120
ret

Function at 0x1006c7c0
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007f378
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x100b2008]
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 esi, ecx
mov edi, dword [esi + 8]
test edi, edi
jne 0x1006c7fb
xor al, al
jmp 0x1006c89f
add edi, 0x20
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x14], edi
je 0x1006c817
mov eax, dword [edi]
test eax, eax
je 0x1006c817
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 0
mov eax, dword [esi + 8]
cmp dword [eax + 4], 0
je 0x1006c87c
push 1
lea ebx, [esi + 4]
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
mov eax, dword [esi + 8]
add eax, 0xc
push eax
push 4
push esi
push 0x1006c340
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov ecx, dword [esi + 8]
add esp, 0x18
mov dword [ecx + 0x10], eax
mov eax, dword [esi + 8]
cmp dword [eax + 0x10], 0
jne 0x1006c8bb
mov eax, dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
push 0xffffffffffffffff
push ebx
call eax
sub eax, 1
jne 0x1006c874
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [esi + 8]
call fcn.1006c500
xor bl, bl
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x1006c89d
mov eax, dword [edi]
test eax, eax
je 0x1006c896
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 0x14], 0
mov al, bl
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.1007b5d9
mov esp, ebp
pop ebp
ret
mov byte [eax + 8], 1
mov eax, dword [esi + 8]
mov ecx, dword [eax + 0x24]
test ecx, ecx
je 0x1006c8d3
push ecx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov eax, dword [esi + 8]
push dword [eax + 0x10]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
je 0x1006c85e
mov bl, 1
jmp 0x1006c87e
Function at 0x1006ebd0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10087b01
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x100b2008]
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, edx
mov edi, ecx
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x30], 0
cmp dword [esi + 0x14], 8
jb 0x1006ec13
mov edx, dword [esi]
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x1006ec2e
mov eax, edx
nop dword [eax]
cmp word [eax], 0x25
je 0x1006ec61
add eax, 2
sub ecx, 1
jne 0x1006ec20
push esi
mov ecx, edi
call fcn.10007310
mov dword [ebp - 4], 0
mov dword [ebp - 0x30], 1
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.1007b5d9
mov esp, ebp
pop ebp
ret
test eax, eax
je 0x1006ec2e
sub eax, edx
sar eax, 1
cmp eax, 0xffffffff
je 0x1006ec2e
push esi
lea ecx, [ebp - 0x28]
call fcn.10007310
mov dword [ebp - 4], 1
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x1006ec88
mov eax, dword [esi]
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [ebp - 0x34], eax
test eax, eax
jne 0x1006ed02
push esi
mov ecx, edi
call fcn.10007310
mov dword [ebp - 0x30], 1
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x1006ece9
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1006ecdf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1006ecdf
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1007b61a
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
jmp 0x1006ec44
xor ecx, ecx
add eax, 2
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1007b64b
add esp, 4
mov dword [ebp - 0x2c], eax
cmp dword [esi + 0x14], 8
jb 0x1006ed29
mov esi, dword [esi]
mov ecx, dword [ebp - 0x34]
inc ecx
push ecx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov esi, dword [ebp - 0x2c]
test eax, eax
je 0x1006ed69
cmp eax, dword [ebp - 0x34]
ja 0x1006ed69
xor ecx, ecx
mov word [esi + eax*2], cx
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1006ed50
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x28]
call fcn.100057c0
push esi
call fcn.1007bcdd
movups xmm0, xmmword [ebp - 0x28]
mov dword [edi + 0x10], 0
add esp, 4
mov dword [edi + 0x14], 0
xor eax, eax
movups xmmword [edi], xmm0
mov word [ebp - 0x28], ax
movq xmm0, qword [ebp - 0x18]
movq qword [edi + 0x10], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x30], 1
mov byte [ebp - 4], al
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
jmp 0x1006ec44