joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6dc04483
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 4], 0
push ebx
push esi
push edi
mov eax, dword [0x6dc3a848]
mov esi, dword [ebp + 8]
cmp eax, 0x6dc3a848
je 0x6dc044ad
test dword [eax + 0x1c], 0x400
jne 0x6dc1cb5d
mov ebx, dword [ebp + 0xc]
mov dword [esi + 0x18], ebx
cmp ebx, 1
jne 0x6dc1cb9b
and dword [esi + 0x40], 0
xor edi, edi
cmp dword [esi + 0x2c], edi
jne 0x6dc1cc0b
push esi
call fcn.6dc044dd
pop edi
pop esi
pop ebx
leave
ret 8
mov ebx, dword [ebp + 0xc]
cmp ebx, 1
jne 0x6dc1cb6f
mov ecx, dword [esi + 8]
mov edx, 0x6dc3ba00
jmp 0x6dc1cb77
mov edx, dword [esi + 8]
mov ecx, 0x6dc3ba00
push dword [esi + 0x2c]
movzx edi, word [esi + 0xc]
push dword [esi + 0x10]
push edi
push edx
push ecx
push 0x6dc04010
push 0x5a
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.6dc29e7f
jmp 0x6dc044b0
cmp ebx, 3
je 0x6dc1cba9
cmp ebx, 2
jne 0x6dc044c0
mov ebx, dword [esi + 8]
test ebx, ebx
jne 0x6dc1cbb8
push 0x57
pop eax
jmp 0x6dc044d1
mov eax, ebx
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x6dc1cbbd
sub eax, edi
movzx eax, ax
movzx edi, ax
lea eax, [edi + edi + 2]
push eax
mov dword [ebp + 8], eax
call fcn.6dc03247
mov dword [ebp - 4], eax
test eax, eax
jne 0x6dc1cbe4
push 0xe
jmp 0x6dc1cbb2
push 1
push dword [ebp + 0xc]
lea ecx, [ebp + 8]
push edi
push ebx
push ecx
push eax
call fcn.6dc02f8f
test eax, eax
jne 0x6dc1cbfd
push 0x7b
jmp 0x6dc1cc58
mov eax, dword [ebp - 4]
mov dword [esi + 8], eax
mov dword [esi + 0x40], ebx
jmp 0x6dc044c0
lea eax, [ebp - 8]
push eax
push edi
push esi
push fcn.6dc044dd
push edi
push edi
call dword [sym.imp.API_MS_Win_Core_ProcessThreads_L1_1_0.dll_CreateThread]
cmp eax, edi
jne 0x6dc1cc68
call dword [sym.imp.API_MS_Win_Core_ErrorHandling_L1_1_0.dll_GetLastError]
mov esi, eax
mov eax, dword [0x6dc3a848]
cmp eax, 0x6dc3a848
je 0x6dc1cc52
test dword [eax + 0x1c], 0x2000000
je 0x6dc1cc52
push esi
push 0x6dc04010
push 0x5b
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.6dc242f2
cmp esi, edi
jne 0x6dc1cc59
push 0xe
pop esi
push dword [ebp - 4]
call fcn.6dc030da
mov eax, esi
jmp 0x6dc044d1
push eax
call dword [sym.imp.API_MS_Win_Core_Handle_L1_1_0.dll_CloseHandle]
mov eax, 0x3e5
jmp 0x6dc044d1
Function at 0x6dc059be
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0xc]
push ebx
imul eax, eax, 0xc
mov eax, dword [eax + 0x6dc39cc8]
push edi
mov edi, dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegQueryValueExW]
xor ebx, ebx
lea ecx, [ebp - 4]
push ecx
push ebx
lea ecx, [ebp - 8]
push ecx
push ebx
push eax
push dword [ebp + 8]
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp + 0xc], eax
call edi
cmp eax, ebx
jne 0x6dc05aae
mov eax, dword [ebp - 8]
cmp dword [ebp + 0x14], eax
jne 0x6dc1d667
push esi
cmp eax, ebx
jbe 0x6dc1d67a
cmp eax, 3
ja 0x6dc10e8b
push 4
pop eax
cmp dword [ebp - 4], eax
jbe 0x6dc0c724
push dword [ebp - 4]
call fcn.6dc03247
mov esi, eax
mov dword [ebp - 0xc], esi
cmp esi, ebx
je 0x6dc1d682
mov dword [esi], ebx
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp - 8]
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call edi
mov dword [ebp + 8], eax
cmp eax, ebx
jne 0x6dc0cc85
cmp dword [ebp - 8], ebx
jbe 0x6dc05a97
cmp dword [ebp - 8], 2
ja 0x6dc10e9c
test byte [ebp + 0x10], 0x10
mov eax, dword [ebp - 4]
jne 0x6dc0cc72
cmp eax, ebx
je 0x6dc1d686
shr eax, 1
dec eax
js 0x6dc05a8d
xor ecx, ecx
mov word [esi + eax*2], cx
test byte [ebp + 0x10], 1
jne 0x6dc1d68d
cmp dword [ebp + 0x14], 4
je 0x6dc05aa2
mov eax, dword [ebp + 0x18]
mov dword [eax], esi
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp - 4]
mov dword [eax], ecx
mov eax, dword [ebp + 8]
pop esi
pop edi
pop ebx
leave
ret 0x18
mov dword [ebp - 4], eax
jmp 0x6dc05a2a
cmp eax, ebx
je 0x6dc0cc7e
cmp dword [esi], ebx
jne 0x6dc05a7a
mov dword [ebp + 8], 0xd
mov eax, dword [ebp + 0x18]
push dword [ebp - 0xc]
mov dword [eax], ebx
mov eax, dword [ebp + 0x1c]
mov dword [eax], ebx
call fcn.6dc030da
jmp 0x6dc05aaa
cmp eax, 4
jne 0x6dc1d671
mov esi, dword [ebp + 0x18]
jmp 0x6dc05a41
cmp dword [ebp - 8], 7
jne 0x6dc05a97
jmp 0x6dc05a6d
mov eax, 0x3f2
jmp 0x6dc05aae
cmp eax, 7
je 0x6dc05a1e
push 0x57
pop eax
jmp 0x6dc05aad
push 0xe
jmp 0x6dc1d67c
mov dword [esi], ebx
jmp 0x6dc05a8d
mov eax, dword [ebp - 4]
add eax, eax
push eax
call fcn.6dc03247
mov edi, eax
cmp edi, ebx
jne 0x6dc1d6aa
mov dword [ebp + 8], 0xe
jmp 0x6dc0cc85
mov edx, dword [ebp - 4]
lea eax, [edx + edx]
push eax
push edi
shr edx, 1
mov ecx, esi
call fcn.6dc35999
test eax, eax
jne 0x6dc1d6ca
push edi
call fcn.6dc030da
jmp 0x6dc0cc7e
push dword [ebp - 0xc]
call fcn.6dc030da
mov esi, edi
jmp 0x6dc05a97
Function at 0x6dc09aad
Capabilities:
Set socket configuration

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0x10], ebx
jne 0x6dc189f5
mov eax, dword [ebp - 4]
pop ebx
leave
ret 0xc
push esi
push edi
mov eax, dword [0x6dc3a848]
mov esi, 0x6dc3a848
mov edi, 0x6dc098c4
cmp eax, esi
je 0x6dc18a17
test dword [eax + 0x1c], 0x400
jne 0x6dc1ebe3
cmp dword [ebp + 8], 2
jne 0x6dc1ebf9
push dword [ebp + 0x10]
call dword [sym.imp.WS2_32.dll_htonl]
push 4
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push 0x1f
push ebx
push dword [ebp + 0xc]
call dword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
jne 0x6dc18a63
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebp - 4], eax
mov eax, dword [0x6dc3a848]
cmp eax, esi
je 0x6dc18a63
test dword [eax + 0x1c], 0x400
jne 0x6dc1ec0a
pop edi
pop esi
jmp 0x6dc09ac3
push dword [ebp + 0x10]
push edi
push 0xf
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.6dc242f2
jmp 0x6dc18a17
cmp dword [ebp + 8], 0x17
jne 0x6dc1ec23
mov eax, dword [ebp + 0x10]
push 0x29
pop ebx
jmp 0x6dc18a2a
push dword [ebp - 4]
push dword [ebp + 0x10]
push edi
push 0x10
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.6dc28ddf
jmp 0x6dc18a63
mov dword [ebp - 4], 0x57
jmp 0x6dc18a63

Function at 0x6dc09ad0
Capabilities:
Set socket configuration

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0
push 0
push 0
push 2
push dword [ebp + 8]
call sym.DNSAPI.dll_Socket_Create
mov esi, eax
test esi, esi
je 0x6dc09b07
push 4
lea eax, [ebp + 8]
push eax
push 0xfffffffffffffffb
push 0xffff
push esi
mov dword [ebp + 8], 1
call dword [sym.imp.WS2_32.dll_setsockopt]
mov eax, esi
pop esi
pop ebp
ret 4
Function at 0x6dc0a0b1
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [sym.imp.msvcrt.dll_rand]
push edi
push 2
lea eax, [ebp - 4]
push eax
call sub.CRYPTBASE.dll_SystemFunction036
test al, al
je 0x6dc1cf45
mov eax, dword [ebp - 4]
test ax, ax
je 0x6dc0a0bf
pop edi
pop esi
leave
ret 4
mov eax, dword [0x6dc3a848]
cmp eax, 0x6dc3a848
je 0x6dc1cf78
test dword [eax + 0x1c], 0x1000000
je 0x6dc1cf78
call dword [sym.imp.API_MS_Win_Core_ErrorHandling_L1_1_0.dll_GetLastError]
push eax
mov eax, dword [0x6dc3a848]
push 0x6dc22484
push 0x20
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.6dc242f2
cmp dword [0x6dc3b99c], 0
jne 0x6dc1cf99
call dword [sym.imp.API_MS_Win_Core_SysInfo_L1_1_0.dll_GetTickCount]
push eax
call dword [sym.imp.msvcrt.dll_srand]
pop ecx
mov dword [0x6dc3b99c], 1
call esi
mov edi, eax
shl edi, 0xf
call esi
or eax, edi
movzx eax, ax
mov dword [ebp - 4], eax
jmp 0x6dc0a0d2
Function at 0x6dc0a9df
Capabilities:
Encrypt data using rc4 prga

Disassembly:
movzx eax, cx
add eax, dword [ebp + 0x14]
cmp eax, edi
jae 0x6dc1cec6
cmp eax, dword [ebp - 0x14]
jb 0x6dc0aa58
jmp 0x6dc1cec6
mov word [eax], cx
mov eax, dword [ebp + 0xc]
and dword [eax], 0
and dword [ebp + 8], 0
jmp 0x6dc0a1d6
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
and dword [ebp - 4], 0
push ebx
push esi
mov ebx, ecx
push edi
mov edi, dword [ebp + 0x10]
lea ecx, [ebx + 0xff]
mov dword [ebp - 8], edx
mov dword [ebp - 0x10], ebx
mov eax, edi
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp edi, dword [ebp + 0x18]
jae 0x6dc1cec6
mov cl, byte [eax]
inc eax
test cl, cl
je 0x6dc0af53
mov dl, cl
and dl, 0xc0
jne 0x6dc0aa62
movzx ecx, cl
lea ebx, [ecx + eax]
cmp ebx, dword [ebp + 0x18]
jae 0x6dc1cec6
lea edi, [ecx + esi]
lea edx, [edi + 1]
cmp edx, dword [ebp - 0xc]
jae 0x6dc1cec6
push ecx
push eax
push esi
call sub.msvcrt.dll_memcpy
mov esi, edi
mov edi, dword [ebp + 0x10]
add esp, 0xc
mov byte [esi], 0x2e
mov eax, ebx
mov ebx, dword [ebp - 0x10]
inc esi
cmp eax, dword [ebp + 0x18]
jb 0x6dc0aa0f
jmp 0x6dc1cec6
cmp dl, 0xc0
jne 0x6dc1cec6
cmp eax, dword [ebp + 0x18]
jae 0x6dc1cec6
xor cl, dl
movzx dx, byte [eax]
movzx cx, cl
shl cx, 8
or cx, dx
dec eax
cmp dword [ebp - 4], 0
movzx ecx, cx
mov dword [ebp - 0x14], eax
jne 0x6dc0a1d6
lea edx, [eax + 2]
mov dword [ebp - 4], edx
cmp eax, edi
jne 0x6dc0a1d6
mov eax, dword [ebp + 8]
test eax, eax
je 0x6dc0a1d6
cmp word [eax], cx
jne 0x6dc0a1f2
mov eax, dword [ebp + 0xc]
mov dword [eax], 1
mov eax, dword [ebp - 4]
cmp eax, dword [ebp + 0x18]
ja 0x6dc1cec6
pop edi
pop esi
pop ebx
leave
ret 0x14
cmp esi, ebx
je 0x6dc15375
dec esi
mov edx, dword [ebp - 8]
mov ecx, esi
sub ecx, ebx
mov word [edx], cx
mov ecx, dword [ebp + 8]
mov byte [esi], 0
test ecx, ecx
jne 0x6dc0af82
cmp dword [ebp - 4], 0
je 0x6dc0aacd
mov eax, dword [ebp - 4]
jmp 0x6dc0aacd
mov edx, dword [ebp + 0xc]
and dword [edx], 0
sub edi, dword [ebp + 0x14]
mov word [ecx], di
jmp 0x6dc0af70
mov byte [esi], 0x2e
inc esi
jmp 0x6dc0af5c
mov ecx, dword [ebp - 8]
xor eax, eax
mov word [ecx], ax
mov eax, dword [ebp + 8]
test eax, eax
je 0x6dc1ceda
xor ecx, ecx
mov word [eax], cx
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x6dc1cee4
and dword [eax], 0
xor eax, eax
jmp 0x6dc0aacd
Function at 0x6dc0f287
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [0x6dc391d4]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x128], 0
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebx + 4]
mov dword [ebp - 0x12c], edi
mov eax, dword [0x6dc3a848]
cmp eax, 0x6dc3a848
je 0x6dc0f2ca
test dword [eax + 0x1c], 0x400
jne 0x6dc19a4e
mov eax, dword [ebx]
test eax, eax
jne 0x6dc19a65
push esi
test edi, edi
je 0x6dc0f305
push 6
mov esi, 0x6dc0f3a4
pop ecx
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x6dc0f305
mov edi, dword [ebp - 0x12c]
push 0xa
mov esi, 0x6dc0f398
pop ecx
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x6dc0f35f
mov dword [ebp - 0x128], 1
push 0x104
lea eax, [ebp - 0x124]
push eax
call dword [sym.imp.API_MS_Win_Core_SysInfo_L1_1_0.dll_GetSystemDirectoryA]
push 0x6dc0f384
mov esi, 0x11c
push esi
lea eax, [ebp - 0x124]
push eax
call fcn.6dc0f13b
cmp dword [ebp - 0x128], 0
je 0x6dc0f349
push 0x6dc0f37c
push esi
lea eax, [ebp - 0x124]
push eax
call fcn.6dc0f13b
lea eax, [ebp - 0x124]
push 0x6dc0f378
push eax
call dword [sym.imp.msvcrt.dll_fopen]
pop ecx
pop ecx
mov dword [ebx], eax
pop esi
xor eax, eax
cmp dword [ebx], eax
pop edi
pop ebx
je 0x6dc0f3aa
inc eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.6dc02eaf
leave
ret 4
cmp dword [ebp - 0x128], eax
je 0x6dc19a72
xor eax, eax
jmp 0x6dc0f369
push 0x6dc223c8
push 0xa
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.6dc23ea9
jmp 0x6dc0f2ca
push eax
call dword [sym.imp.msvcrt.dll_rewind]
pop ecx
jmp 0x6dc0f360
push eax
push eax
push 0xc000000d
call fcn.6dc2cfa7
jmp 0x6dc0f3b6

Function at 0x6dc0f6bf
Capabilities:
Set socket configuration

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov eax, dword [0x6dc3a848]
mov ebx, dword [ebp + 8]
mov edi, 0x6dc3a848
mov esi, 0x6dc098c4
cmp eax, edi
je 0x6dc0f6e7
test byte [eax + 0x1c], 8
jne 0x6dc1ec2f
test ebx, ebx
je 0x6dc0f737
cmp ebx, 0xffffffff
je 0x6dc0f737
cmp dword [ebp + 0x10], 0
je 0x6dc0f737
cmp dword [ebp + 0xc], 2
jne 0x6dc0f72b
push dword [ebp + 0x10]
call dword [sym.imp.WS2_32.dll_htonl]
push 4
mov dword [ebp + 0x10], eax
lea eax, [ebp + 0x10]
push eax
push 9
push 0
push ebx
call dword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x6dc1ec49
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
push 4
lea eax, [ebp + 0x10]
push eax
push 9
push 0x29
jmp 0x6dc0f712
push 0x57
pop eax
jmp 0x6dc0f724
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
push esi
push 0x19
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.6dc28e84
jmp 0x6dc0f6e7
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebp + 0xc], eax
mov eax, dword [0x6dc3a848]
cmp eax, edi
je 0x6dc1ec76
test dword [eax + 0x1c], 0x2000000
je 0x6dc1ec76
push dword [ebp + 0xc]
push ebx
push esi
push 0x1a
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.6dc28ddf
mov eax, dword [ebp + 0xc]
jmp 0x6dc0f724
Function at 0x6dc0f7c8
Capabilities:
Set socket configuration

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov eax, dword [0x6dc3a848]
mov esi, dword [ebp + 0x14]
mov edi, dword [ebp + 0xc]
mov ebx, 0x6dc098c4
cmp eax, 0x6dc3a848
je 0x6dc0f7f1
test byte [eax + 0x1c], 8
jne 0x6dc1ed1e
neg esi
sbb esi, esi
and esi, 6
add esi, 4
dec edi
push 4
dec edi
lea eax, [ebp + 0x10]
push eax
neg edi
sbb edi, edi
push esi
and edi, 0x29
push edi
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x6dc1ed39
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 0x10
push esi
push dword [ebp + 0x10]
push edi
push dword [ebp + 8]
push ebx
push 0x1f
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.6dc2be04
jmp 0x6dc0f7f1
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
mov eax, dword [0x6dc3a848]
cmp eax, 0x6dc3a848
je 0x6dc1ed68
test dword [eax + 0x1c], 0x2000000
je 0x6dc1ed68
push esi
push dword [ebp + 8]
push ebx
push 0x20
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.6dc28ddf
mov eax, esi
jmp 0x6dc0f820

Function at 0x6dc0fca0
Capabilities:
Set socket configuration

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x6dc391d4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
mov eax, dword [0x6dc3a848]
mov ebx, 0x6dc3a848
cmp eax, ebx
je 0x6dc0fcd0
test byte [eax + 0x1c], 8
jne 0x6dc1ec7e
xor edi, edi
cmp dword [ebp + 8], edi
je 0x6dc186c4
cmp dword [ebp + 8], 0xffffffff
je 0x6dc186c4
cmp dword [ebp + 0x14], edi
je 0x6dc1eca4
cmp word [esi], 2
jne 0x6dc0fd36
mov eax, dword [esi + 4]
mov dword [ebp - 0x20], eax
movzx eax, word [ebp + 0xc]
push eax
call dword [sym.imp.WS2_32.dll_htonl]
push 8
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x20]
push eax
push 0xc
push edi
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x6dc1869f
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.6dc02eaf
leave
ret 0x14
movzx eax, word [ebp + 0xc]
add esi, 8
lea edi, [ebp - 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0x14
mov dword [ebp - 8], eax
lea eax, [ebp - 0x18]
push eax
push 0xc
push 0x29
jmp 0x6dc0fd11
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
mov eax, dword [0x6dc3a848]
cmp eax, ebx
je 0x6dc186bd
test dword [eax + 0x1c], 0x2000000
jne 0x6dc1ecb2
mov eax, esi
jmp 0x6dc0fd25
push 0x57
pop eax
jmp 0x6dc0fd25
push dword [ebp + 0x18]
movzx ecx, word [ebp + 0xc]
push dword [ebp + 0x14]
push esi
push ecx
push dword [ebp + 8]
push 0x6dc098c4
push 0x1b
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.6dc2be41
jmp 0x6dc0fcd0
cmp dword [ebp + 0x18], edi
jne 0x6dc0fcee
jmp 0x6dc186c4
push esi
push dword [ebp + 8]
push 0x6dc098c4
push 0x1c
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.6dc28ddf
jmp 0x6dc186bd
Function at 0x6dc0fe22
Capabilities:
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x6dc391d4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
xor esi, esi
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x218], esi
cmp eax, esi
je 0x6dc20179
push ebx
push edi
lea eax, [ebp - 0x214]
push eax
push 0x20019
push esi
push 0x6dc0ff48
mov edi, 0x80000002
push edi
call dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegOpenKeyExW]
mov ebx, eax
cmp ebx, esi
je 0x6dc20181
lea eax, [ebp - 0x214]
push eax
push 0x20019
push esi
push 0x6dc0feb8
push edi
call dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegOpenKeyExW]
mov ebx, eax
cmp ebx, esi
je 0x6dc20181
xor ebx, ebx
pop edi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.6dc02eaf
leave
ret 4
push 0x57
pop eax
jmp 0x6dc0fea4
mov edi, dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegEnumKeyExW]
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x210]
push eax
mov dword [ebp - 0x220], esi
push esi
jmp 0x6dc20258
lea eax, [ebp - 0x218]
push eax
push 0x20019
push esi
lea eax, [ebp - 0x210]
push eax
push dword [ebp - 0x214]
call dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegOpenKeyExW]
mov ebx, eax
cmp ebx, esi
jne 0x6dc20277
push dword [ebp - 0x224]
push dword [ebp - 0x218]
call fcn.6dc2e833
mov ebx, eax
cmp ebx, esi
je 0x6dc2022e
mov eax, dword [0x6dc3a848]
cmp eax, 0x6dc3a848
je 0x6dc20215
test dword [eax + 0x1c], 0x400
je 0x6dc20215
push ebx
lea ecx, [ebp - 0x210]
push ecx
push 0x6dc224ec
push 0x10
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.6dc241ac
push dword [ebp - 0x218]
call dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegCloseKey]
cmp ebx, 0x32
jne 0x6dc202b0
xor ebx, ebx
jmp 0x6dc2023a
push dword [ebp - 0x218]
call dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegCloseKey]
inc dword [ebp - 0x220]
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x210]
push eax
push dword [ebp - 0x220]
push dword [ebp - 0x214]
mov dword [ebp - 0x21c], 0x105
call edi
test eax, eax
jne 0x6dc2032e
jmp 0x6dc201a5
mov eax, dword [0x6dc3a848]
cmp eax, 0x6dc3a848
je 0x6dc2032e
test dword [eax + 0x1c], 0x400
je 0x6dc2032e
push ebx
lea ecx, [ebp - 0x210]
push ecx
push 0x6dc224ec
push 0xf
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.6dc241ac
jmp 0x6dc2032e
mov edi, dword [sym.imp.ntdll.dll_EtwEventEnabled]
mov esi, 0x6dc20340
push esi
push dword [0x6dc3a994]
push dword [0x6dc3a990]
call edi
test al, al
je 0x6dc202e8
push ebx
lea eax, [ebp - 0x210]
push eax
push esi
push dword [0x6dc3a994]
push dword [0x6dc3a990]
call fcn.6dc2e2ac
push 0x10000
call fcn.6dc1883a
cmp eax, 1
jne 0x6dc20329
mov esi, 0x6dc20350
push esi
push dword [0x6dc3a994]
push dword [0x6dc3a990]
call edi
test al, al
je 0x6dc20329
push ebx
lea eax, [ebp - 0x210]
push eax
push esi
push dword [0x6dc3a994]
push dword [0x6dc3a990]
call fcn.6dc2e2ac
mov ebx, 0x2564
push dword [ebp - 0x214]
call dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegCloseKey]
jmp 0x6dc0fea0
Function at 0x6dc102ce
Capabilities:
Query service status
Start service

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
push 1
xor esi, esi
push esi
push esi
xor edi, edi
mov byte [ebp - 1], 0
call dword [sym.imp.API_MS_WIN_Service_Management_L1_1_0.dll_OpenSCManagerW]
mov dword [ebp - 8], eax
cmp eax, esi
je 0x6dc1038e
push 0x14
push 0x6dc1039c
push eax
call dword [sym.imp.API_MS_WIN_Service_Management_L1_1_0.dll_OpenServiceW]
mov edi, eax
cmp edi, esi
je 0x6dc1038e
lea eax, [ebp - 0x24]
push eax
push edi
call dword [sym.imp.API_MS_WIN_Service_winsvc_L1_1_0.dll_QueryServiceStatus]
test eax, eax
je 0x6dc1038e
mov ecx, dword [ebp - 0x20]
cmp ecx, 4
jne 0x6dc20012
mov eax, dword [0x6dc3a848]
cmp eax, 0x6dc3a848
je 0x6dc10342
test dword [eax + 0x1c], 0x400
jne 0x6dc20090
sub ecx, 4
neg ecx
sbb ecx, ecx
and ecx, 0x41d
mov ebx, ecx
cmp edi, esi
mov esi, dword [sym.imp.API_MS_WIN_Service_Management_L1_1_0.dll_CloseServiceHandle]
je 0x6dc10363
push edi
call esi
mov eax, dword [0x6dc3a848]
cmp dword [ebp - 8], 0
je 0x6dc10373
push dword [ebp - 8]
call esi
mov eax, dword [0x6dc3a848]
cmp eax, 0x6dc3a848
je 0x6dc10387
test dword [eax + 0x1c], 0x400
jne 0x6dc200bc
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret
call dword [sym.imp.API_MS_Win_Core_ErrorHandling_L1_1_0.dll_GetLastError]
jmp 0x6dc200b0
lea eax, [ebp - 1]
push eax
call fcn.6dc2d9d9
mov ebx, eax
cmp ebx, esi
je 0x6dc20053
mov eax, dword [0x6dc3a848]
cmp eax, 0x6dc3a848
je 0x6dc10351
test dword [eax + 0x1c], 0x400
je 0x6dc10351
push ebx
push 0x6dc224dc
push 0xd
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.6dc242f2
jmp 0x6dc200b2
cmp byte [ebp - 1], 0
je 0x6dc20088
cmp dword [ebp - 0x20], 1
je 0x6dc20075
lea eax, [ebp - 0x24]
push eax
push edi
call fcn.6dc2db2c
mov ecx, dword [ebp - 0x20]
cmp ecx, 1
jne 0x6dc10329
push esi
push esi
push edi
call dword [sym.imp.API_MS_WIN_Service_Management_L1_1_0.dll_StartServiceW]
lea eax, [ebp - 0x24]
push eax
push edi
call fcn.6dc2db2c
mov ecx, dword [ebp - 0x20]
jmp 0x6dc10329
push ecx
push 0x6dc224dc
push 0xe
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.6dc242f2
mov ecx, dword [ebp - 0x20]
mov eax, dword [0x6dc3a848]
jmp 0x6dc10342
mov ebx, eax
mov eax, dword [0x6dc3a848]
jmp 0x6dc10351
push ebx
push 0x6dc224dc
push 0xf
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.6dc242f2
jmp 0x6dc10387

Function at 0x6dc10fb4
Capabilities:
Check for software breakpoints

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
xor edx, edx
mov eax, 0x6dc3af08
xor ecx, ecx
push esi
mov esi, dword [eax]
cmp esi, dword [ebp + 8]
je 0x6dc10fdd
add ecx, 0xc
add eax, 0xc
cmp ecx, 0xcc
jb 0x6dc10fc3
jmp 0x6dc18e31
cmp dword [ebp + 0x10], edx
je 0x6dc10ff0
cmp dword [ebp + 0xc], edx
je 0x6dc10ff5
cmp byte [eax + 8], dl
je 0x6dc18e31
pop esi
pop ebp
ret 0xc
cmp byte [eax + 9], dl
je 0x6dc10ff0
jmp 0x6dc18e31
push 0x57
call dword [sym.imp.API_MS_Win_Core_ErrorHandling_L1_1_0.dll_SetLastError]
xor eax, eax
jmp 0x6dc10ff0