joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40d7c0
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ba36b
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x4f07b8]
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 ebx, ecx
call fcn.0040da30
mov esi, dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
lea eax, [ebp - 0x230]
push eax
push 0
mov dword [ebp - 0x230], 0
call esi
test eax, eax
je 0x40d819
cmp eax, 0x6f
jne 0x40d848
push dword [ebp - 0x230]
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
mov dword [ebp - 0x234], edi
test edi, edi
je 0x40d848
lea eax, [ebp - 0x230]
push eax
push edi
call esi
test eax, eax
je 0x40d866
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor eax, eax
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.0048464b
mov esp, ebp
pop ebp
ret
xor eax, eax
mov byte [ebp - 0x1c], 0
mov dword [ebp - 0x1b], eax
mov esi, edi
mov word [ebp - 0x17], ax
mov byte [ebp - 0x15], al
jmp 0x40d880
mov eax, dword [esi + 0x194]
lea ecx, [ebp - 0x1c]
cmp eax, dword [ecx]
jne 0x40d89c
mov eax, dword [esi + 0x198]
cmp eax, dword [ecx + 4]
je 0x40d9a9
xor eax, eax
push 0x208
push eax
mov word [ebp - 0x22c], ax
lea eax, [ebp - 0x22a]
push eax
call fcn.0048f3e0
movzx eax, byte [esi + 0x199]
push eax
movzx eax, byte [esi + 0x198]
push eax
movzx eax, byte [esi + 0x197]
push eax
movzx eax, byte [esi + 0x196]
push eax
movzx eax, byte [esi + 0x195]
push eax
movzx eax, byte [esi + 0x194]
push eax
push str._02X_02X_02X_02X_02X_02X
push 0xffffffffffffffff
lea eax, [ebp - 0x22c]
push 0x104
push eax
call fcn.0048b00a
xor eax, eax
mov dword [ebp - 0x238], 7
add esp, 0x34
mov dword [ebp - 0x23c], 0
mov word [ebp - 0x24c], ax
cmp word [ebp - 0x22c], ax
je 0x40d940
lea eax, [ebp - 0x22c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40d931
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x24c]
call fcn.00408c90
mov dword [ebp - 4], 0
lea eax, [ebp - 0x24c]
mov edi, dword [ebx]
push eax
push dword [edi + 4]
push edi
call fcn.0040da90
mov edx, eax
mov ecx, 0x7fffffe
mov eax, dword [ebx + 4]
sub ecx, eax
cmp ecx, 1
jb 0x40d9cc
lea ecx, [eax + 1]
mov dword [ebx + 4], ecx
mov dword [edi + 4], edx
mov eax, dword [edx + 4]
mov dword [ebp - 4], 0xffffffff
mov dword [eax], edx
cmp dword [ebp - 0x238], 8
jb 0x40d9a9
push dword [ebp - 0x24c]
call fcn.00484840
add esp, 4
mov esi, dword [esi]
test esi, esi
jne 0x40d880
push dword [ebp - 0x234]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor eax, eax
cmp dword [ebx + 4], eax
setne al
jmp 0x40d84a
push str.list_T__too_long
call fcn.004374c3
int3
Function at 0x40f000
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
mov eax, dword [0x4f07b8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
test ecx, ecx
je 0x40f14a
test edx, edx
jle 0x40f14a
push edx
xorps xmm0, xmm0
mov byte [ebp - 0x2c], 0
push ecx
lea ecx, [ebp - 0x94]
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x94], 0x67452301
mov dword [ebp - 0x90], 0xefcdab89
mov dword [ebp - 0x8c], 0x98badcfe
mov dword [ebp - 0x88], 0x10325476
mov byte [ebp - 0x28], 0
movdqu xmmword [ebp - 0x27], xmm0
movdqu xmmword [ebp - 0x17], xmm0
call fcn.0040e6f0
lea ecx, [ebp - 0x94]
call fcn.0040e7c0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x94]
call fcn.0040e890
mov ecx, dword [esi + 0x14]
cmp ecx, 0x10
jb 0x40f0a8
mov eax, dword [esi]
jmp 0x40f0aa
mov eax, esi
lea edx, [ebp - 0x28]
cmp edx, eax
jb 0x40f0f7
cmp ecx, 0x10
jb 0x40f0ba
mov edx, dword [esi]
jmp 0x40f0bc
mov edx, esi
mov eax, dword [esi + 0x10]
add eax, edx
lea edx, [ebp - 0x28]
cmp eax, edx
jbe 0x40f0f7
cmp ecx, 0x10
jb 0x40f0d1
mov ecx, dword [esi]
jmp 0x40f0d3
mov ecx, esi
push 0x20
lea eax, [ebp - 0x28]
sub eax, ecx
mov ecx, esi
push eax
push esi
call fcn.00409050
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048464b
mov esp, ebp
pop ebp
ret
cmp ecx, 0x20
jae 0x40f108
push dword [esi + 0x10]
mov ecx, esi
push 0x20
call fcn.004091e0
cmp dword [esi + 0x14], 0x10
jb 0x40f112
mov eax, dword [esi]
jmp 0x40f114
mov eax, esi
push 0x20
lea ecx, [ebp - 0x28]
push ecx
push eax
call fcn.0048c180
add esp, 0xc
mov dword [esi + 0x10], 0x20
cmp dword [esi + 0x14], 0x10
jb 0x40f132
mov esi, dword [esi]
mov byte [esi + 0x20], 0
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048464b
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.0048464b
mov esp, ebp
pop ebp
ret
Function at 0x40fe90
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4ba518
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x4f07b8]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
push edi
mov eax, dword [0x4f07b8]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x40], 0
je 0x40ffe4
cmp byte [ebx + 0x45], 0
je 0x40ffe4
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x40fef0
xor al, al
jmp 0x40ffe6
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 0x40ff30
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 0x40ff71
dec eax
je 0x40ff75
sub eax, 2
je 0x40ffcb
xor bl, bl
jmp 0x40ffcd
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 0x40ffac
push dword [ebx + 0x50]
cmp ecx, 0x10
lea eax, [esp + 0x1c]
push esi
cmovae eax, edx
push 1
push eax
call fcn.0048b5aa
add esp, 0x10
cmp esi, eax
jne 0x40ff6d
cmp byte [ebx + 0x45], 0
je 0x40ffcb
test esi, esi
jne 0x40ff30
push esi
push 8
lea ecx, [esp + 0x20]
call fcn.0040fc00
jmp 0x40ff30
mov bl, 1
cmp dword [esp + 0x2c], 0x10
jb 0x40ffe0
push dword [esp + 0x18]
call fcn.00484840
add esp, 4
mov al, bl
jmp 0x40ffe6
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.0048464b
mov esp, ebp
pop ebp
ret
Function at 0x411160
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ba6da
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x4f07b8]
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.00438131
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 0x411206
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], str.bad_locale_name
push eax
lea ecx, [ebp - 0x24]
call fcn.0048900b
push 0x4ecd14
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], vtable.std::runtime_error.0
push eax
call fcn.0048c85b
push edi
push esi
call fcn.00438004
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.0048464b
mov esp, ebp
pop ebp
ret 4

Function at 0x411960
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4ba768
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x4f07b8]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
sub esp, 0x18
mov ecx, esp
push 0xffffffffffffffff
push 0
push dword [ebp + 0x10]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
mov byte [ecx], 0
call fcn.00409050
push dword [ebp + 0xc]
lea eax, [esp + 0x28]
push dword [ebp + 8]
push eax
call fcn.00411890
add esp, 0x24
mov dword [esp + 0x30], 0
cmp dword [eax + 0x14], 0x10
jb 0x4119d1
mov eax, dword [eax]
mov dword [esp + 8], eax
mov ecx, esi
lea eax, [esp + 8]
push eax
call fcn.0048900b
cmp dword [esp + 0x20], 0x10
mov dword [esi], vtable.std::runtime_error.0
jb 0x4119fa
push dword [esp + 0xc]
call fcn.00484840
add esp, 4
mov eax, dword [ebp + 8]
mov dword [esi + 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x10], eax
mov eax, esi
mov dword [esi], vtable.std::_System_error.0
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x415970
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bafb8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x4f07b8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
push 0
push 0
call edi
xor ecx, ecx
mov esi, eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00437cef
add esp, 4
mov dword [ebp - 0x10], eax
push eax
push esi
call edi
mov eax, dword [ebp - 0x10]
mov esi, eax
cmp word [eax], 0
je 0x415a56
mov edi, dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
lea ecx, [ecx]
push esi
call edi
test eax, eax
je 0x415a3e
cmp eax, 1
je 0x415a3e
cmp eax, 2
je 0x415a3e
cmp eax, 4
je 0x415a3e
cmp eax, 5
je 0x415a3e
cmp eax, 6
je 0x415a3e
mov ecx, esi
call fcn.00415830
test al, al
jne 0x415a3e
push esi
lea ecx, [ebp - 0x28]
call fcn.00408d90
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
mov ecx, ebx
call fcn.0041b000
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x14], 8
jb 0x415a3e
push dword [ebp - 0x28]
call fcn.00484840
add esp, 4
push 0
push esi
call fcn.0048be83
add esp, 8
cmp word [eax + 2], 0
lea esi, [eax + 2]
jne 0x4159e0
mov eax, dword [ebp - 0x10]
push eax
call fcn.0048981b
add esp, 4
mov al, 1
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 0x415a80
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bafe8
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x4f07b8]
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
push 4
xor eax, eax
mov dword [ebp - 0x18], 7
push 0x4dac64
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
call fcn.00408c90
mov dword [ebp - 4], 0
cmp word [esi], 0
jne 0x415ae0
xor ecx, ecx
jmp 0x415af4
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x415ae5
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x2c]
call fcn.0040c690
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
push 0
cmovae eax, dword [ebp - 0x2c]
push 0
push 3
push 0
push 3
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x415b65
push 0
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push ecx
push 0xc
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x38], 8
push ecx
push 0xc
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x34], 0
push ecx
push 0x2d1400
push eax
mov byte [ebp - 0x3c], 0
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
cmp byte [ebp - 0x3c], 1
jne 0x415b65
mov bl, 1
jmp 0x415b67
xor bl, bl
cmp dword [ebp - 0x18], 8
jb 0x415b78
push dword [ebp - 0x2c]
call fcn.00484840
add esp, 4
mov al, bl
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.0048464b
mov esp, ebp
pop ebp
ret
Function at 0x415ba0
Capabilities:
Get disk information
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bb06a
mov eax, dword fs:[0]
push eax
sub esp, 0x868
mov eax, dword [0x4f07b8]
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
push 3
xor ebx, ebx
lea eax, [ebp - 0x834]
push ebx
push eax
mov dword [ebp - 0x83c], ebx
call fcn.0040c0e0
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x818]
cmp dword [ebp - 0x820], 8
lea eax, [ebp - 0x834]
push ebx
cmovae eax, dword [ebp - 0x834]
push ebx
push ecx
push eax
mov dword [ebp - 0x818], ebx
mov dword [ebp - 0x814], ebx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x415de6
xor eax, eax
mov dword [ebp - 0x81c], 1
push 0x7fe
push eax
mov word [ebp - 0x810], ax
lea eax, [ebp - 0x80e]
push eax
call fcn.0048f3e0
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x415c53
mov eax, dword [esi]
jmp 0x415c55
mov eax, esi
push 0x400
lea ecx, [ebp - 0x810]
push ecx
lea ecx, [ebp - 0x81c]
push ecx
push 0
push 0
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x415cf3
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x870]
call fcn.00408d90
push 5
push 0x4dac74
mov byte [ebp - 4], 1
mov ebx, 1
push dword [eax + 0x10]
mov dword [ebp - 0x83c], ebx
push ecx
mov ecx, eax
call fcn.0040d160
test eax, eax
je 0x415cf3
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x858]
call fcn.00408d90
push 4
push 0x4dac80
mov dword [ebp - 4], 2
mov ebx, 3
push dword [eax + 0x10]
mov dword [ebp - 0x83c], ebx
push ecx
mov ecx, eax
call fcn.0040d160
mov byte [ebp - 0x835], 1
test eax, eax
jne 0x415cfa
mov byte [ebp - 0x835], 0
test bl, 2
je 0x415d36
and ebx, 0xfffffffd
cmp dword [ebp - 0x844], 8
jb 0x415d19
push dword [ebp - 0x858]
call fcn.00484840
add esp, 4
xor eax, eax
mov dword [ebp - 0x844], 7
mov dword [ebp - 0x848], 0
mov word [ebp - 0x858], ax
mov dword [ebp - 4], 0
test bl, 1
je 0x415d59
cmp dword [ebp - 0x85c], 8
jb 0x415d59
push dword [ebp - 0x870]
call fcn.00484840
add esp, 4
cmp byte [ebp - 0x835], 0
jne 0x415de6
mov edx, dword [ebp - 0x814]
mov ecx, dword [ebp - 0x818]
call fcn.004929be
mulsd xmm0, qword [0x4df738]
lea eax, [ebp - 0x870]
push 2
push 0
push eax
mov ecx, esi
movsd qword [ebp - 0x840], xmm0
call fcn.0040c0e0
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 8
jb 0x415da5
mov eax, dword [eax]
mov ecx, eax
call fcn.00415a80
cmp dword [ebp - 0x85c], 8
mov bl, al
jb 0x415dc5
push dword [ebp - 0x870]
call fcn.00484840
add esp, 4
movsd xmm0, qword [ebp - 0x840]
test bl, bl
je 0x415df1
cvttsd2si eax, xmm0
cmp eax, 0x6000
jle 0x415df1
mulsd xmm0, qword [0x4df750]
jmp 0x415de9
xorps xmm0, xmm0
movsd qword [ebp - 0x840], xmm0
cmp dword [ebp - 0x820], 8
jb 0x415e10
push dword [ebp - 0x834]
call fcn.00484840
movsd xmm0, qword [ebp - 0x840]
add esp, 4
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.0048464b
mov esp, ebp
pop ebp
ret
Function at 0x416a20
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x4f07b8]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0xc]
push edi
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0xc], 0
push eax
push 0
push 0x2011f
push 0
push 0
push 0
push str.SoftwareXuanZhiOSLink
push reloc.OLEAUT32.dll_SysReAllocString
mov edi, ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x416bd5
cmp dword [edi + 0x4c], 8
lea esi, [edi + 0x38]
jb 0x416a79
mov eax, dword [esi]
jmp 0x416a7b
mov eax, esi
push eax
push str.pathToReg_installPath__s
push 0x33a
push str.LDRemoteModel::pathToRegMachine
call fcn.00424270
mov eax, dword [esi + 0x10]
add esp, 0x10
cmp dword [esi + 0x14], 8
jb 0x416a9e
mov esi, dword [esi]
lea eax, [eax*2 + 2]
push eax
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 1
push 0
push str.InstallDir
push dword [ebp - 0x10]
call esi
push 8
xor eax, eax
mov dword [ebp - 0x14], 7
push 0x4d8b70
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00408c90
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
cmovae ecx, dword [ebp - 0x28]
lea eax, [eax*2 + 2]
push eax
push ecx
push 1
push 0
push str.Version
push dword [ebp - 0x10]
call esi
cmp dword [ebp - 0x14], 8
jb 0x416b14
push dword [ebp - 0x28]
call fcn.00484840
add esp, 4
mov edx, ebx
lea ecx, [ebp - 0x28]
call fcn.0040d600
mov ecx, eax
cmp dword [ecx + 0x14], 8
mov eax, dword [ecx + 0x10]
jb 0x416b2b
mov ecx, dword [ecx]
lea eax, [eax*2 + 2]
push eax
push ecx
push 1
push 0
push str.SystemD
push dword [ebp - 0x10]
call esi
cmp dword [ebp - 0x14], 8
jb 0x416b53
push dword [ebp - 0x28]
call fcn.00484840
add esp, 4
mov ecx, edi
call fcn.00414bc0
test al, al
je 0x416b80
mov eax, dword [edi + 0x78]
add edi, 0x68
cmp dword [edi + 0x14], 8
jb 0x416b6c
mov edi, dword [edi]
lea eax, [eax*2 + 2]
push eax
push edi
push 1
push 0
push str.playerDir64
jmp 0x416bc7
mov ecx, edi
call fcn.00414c20
add edi, 0x68
test al, al
mov eax, dword [edi + 0x10]
je 0x416bad
cmp dword [edi + 0x14], 8
jb 0x416b99
mov edi, dword [edi]
lea eax, [eax*2 + 2]
push eax
push edi
push 1
push 0
push str.playerDir9
jmp 0x416bc7
cmp dword [edi + 0x14], 8
jb 0x416bb5
mov edi, dword [edi]
lea eax, [eax*2 + 2]
push eax
push edi
push 1
push 0
push str.playerDir
push dword [ebp - 0x10]
call esi
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0048464b
mov esp, ebp
pop ebp
ret 4
Function at 0x417ab0
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bb338
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x4f07b8]
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 dword [ebp - 0x25c], esi
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
mov dword [ebp - 0x258], 0x22c
lea eax, [ebp - 0x258]
mov dword [ebp - 0x260], ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x417c8c
push esi
call fcn.0041f600
add esp, 4
lea eax, [ebp - 0x258]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x417c8c
jmp 0x417b40
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
cmp word [ebp - 0x234], ax
je 0x417b75
lea eax, [ebp - 0x234]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x417b66
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x28]
call fcn.00408c90
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
call fcn.0041f600
mov ebx, dword [esi + 0x10]
lea edx, [ebp - 0x28]
add esp, 4
cmp dword [ebp - 0x14], 8
cmovae edx, dword [ebp - 0x28]
cmp dword [esi + 0x14], 8
jb 0x417bb0
mov ecx, dword [esi]
jmp 0x417bb2
mov ecx, esi
mov edi, dword [ebp - 0x18]
cmp ebx, edi
mov esi, edi
cmovb esi, ebx
test esi, esi
jne 0x417bd0
xor eax, eax
test eax, eax
jne 0x417bf8
cmp ebx, edi
jae 0x417bef
or eax, 0xffffffff
jmp 0x417bf6
mov ax, word [ecx]
cmp ax, word [edx]
jne 0x417be1
add ecx, 2
add edx, 2
dec esi
jmp 0x417bbe
movzx eax, word [ecx]
cmp ax, word [edx]
sbb eax, eax
and eax, 0xfffffffe
inc eax
jmp 0x417bc2
xor eax, eax
cmp ebx, edi
setne al
test eax, eax
sete al
test al, al
je 0x417c53
push dword [ebp - 0x250]
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
jne 0x417c43
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [ebp - 0x25c]
mov ecx, esi
push eax
call fcn.00408df0
push eax
push str.open_progress_error__s____d
push 0x42c
push str.killProgressByHandle
call fcn.00424270
add esp, 0x14
jmp 0x417c59
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x25c]
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x14], 8
jb 0x417c71
push dword [ebp - 0x28]
call fcn.00484840
add esp, 4
lea eax, [ebp - 0x258]
push eax
push dword [ebp - 0x260]
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x417b40
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.0048464b
mov esp, ebp
pop ebp
ret

Function at 0x417cb0
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x14], 8
jb 0x417cbd
mov eax, dword [esi]
jmp 0x417cbf
mov eax, esi
push eax
push str.kill_progress_by_handle__s
push 0x439
push str.LDRemoteModel::killProgressIfExist
call fcn.00424270
add esp, 0x10
mov ecx, esi
pop esi
jmp fcn.00417ab0
Function at 0x419db0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4bb100
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x4f07b8]
xor eax, esp
mov dword [esp + 0x34], eax
push esi
push edi
mov eax, dword [0x4f07b8]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov esi, ecx
xor eax, eax
mov dword [esp + 0x3c], 7
push eax
push 0x4d8960
lea ecx, [esp + 0x30]
mov dword [esp + 0x40], 0
mov word [esp + 0x30], ax
call fcn.00408c90
lea eax, [esp + 0x28]
mov dword [esp + 0x50], 0
mov ecx, dword [esi]
push eax
push 0x64
call fcn.0041a7a0
mov dword [esp + 0x50], 0xffffffff
cmp dword [esp + 0x3c], 8
jb 0x419e3f
push dword [esp + 0x28]
call fcn.00484840
add esp, 4
mov edx, dword [esi]
cmp dword [edx + 0xec], 0
je 0x419eba
push str.ldremote.exe
add edx, 0x38
lea ecx, [esp + 0x14]
call fcn.00412490
add esp, 4
mov edi, eax
mov dword [esp + 0x50], 1
lea ecx, [esp + 0x28]
mov esi, dword [esi]
xorps xmm0, xmm0
movq qword [esp + 0x28], xmm0
mov dword [esp + 0x30], 0
call fcn.004294b0
lea eax, [esi + 0xdc]
push eax
lea ecx, [esp + 0x2c]
call fcn.004294e0
test al, al
je 0x419ea7
push edi
push 0x55f1
lea ecx, [esp + 0x30]
call fcn.00429660
cmp dword [esp + 0x24], 8
jb 0x419eba
push dword [esp + 0x10]
call fcn.00484840
add esp, 4
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.0048464b
mov esp, ebp
pop ebp
ret