joyce8/EMBER2024-capa huggingface dataset:
Function at 0x755f59be
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 + str.pU_u]
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 0x755f5aae
mov eax, dword [ebp - 8]
cmp dword [ebp + 0x14], eax
jne 0x7560d667
push esi
cmp eax, ebx
jbe 0x7560d67a
cmp eax, 3
ja 0x75600e8b
push 4
pop eax
cmp dword [ebp - 4], eax
jbe 0x755fc724
push dword [ebp - 4]
call fcn.755f3247
mov esi, eax
mov dword [ebp - 0xc], esi
cmp esi, ebx
je 0x7560d682
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 0x755fcc85
cmp dword [ebp - 8], ebx
jbe 0x755f5a97
cmp dword [ebp - 8], 2
ja 0x75600e9c
test byte [ebp + 0x10], 0x10
mov eax, dword [ebp - 4]
jne 0x755fcc72
cmp eax, ebx
je 0x7560d686
shr eax, 1
dec eax
js 0x755f5a8d
xor ecx, ecx
mov word [esi + eax*2], cx
test byte [ebp + 0x10], 1
jne 0x7560d68d
cmp dword [ebp + 0x14], 4
je 0x755f5aa2
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 0x755f5a2a
cmp eax, ebx
je 0x755fcc7e
cmp dword [esi], ebx
jne 0x755f5a7a
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.755f30da
jmp 0x755f5aaa
cmp eax, 4
jne 0x7560d671
mov esi, dword [ebp + 0x18]
jmp 0x755f5a41
cmp dword [ebp - 8], 7
jne 0x755f5a97
jmp 0x755f5a6d
mov eax, 0x3f2
jmp 0x755f5aae
cmp eax, 7
je 0x755f5a1e
push 0x57
pop eax
jmp 0x755f5aad
push 0xe
jmp 0x7560d67c
mov dword [esi], ebx
jmp 0x755f5a8d
mov eax, dword [ebp - 4]
add eax, eax
push eax
call fcn.755f3247
mov edi, eax
cmp edi, ebx
jne 0x7560d6aa
mov dword [ebp + 8], 0xe
jmp 0x755fcc85
mov edx, dword [ebp - 4]
lea eax, [edx + edx]
push eax
push edi
shr edx, 1
mov ecx, esi
call fcn.75625999
test eax, eax
jne 0x7560d6ca
push edi
call fcn.755f30da
jmp 0x755fcc7e
push dword [ebp - 0xc]
call fcn.755f30da
mov esi, edi
jmp 0x755f5a97
Function at 0x755f9aad
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 0x756089f5
mov eax, dword [ebp - 4]
pop ebx
leave
ret 0xc
push esi
push edi
mov eax, dword [0x7562a848]
mov esi, 0x7562a848
mov edi, 0x755f98c4
cmp eax, esi
je 0x75608a17
test dword [eax + 0x1c], 0x400
jne 0x7560ebe3
cmp dword [ebp + 8], 2
jne 0x7560ebf9
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 0x75608a63
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebp - 4], eax
mov eax, dword [0x7562a848]
cmp eax, esi
je 0x75608a63
test dword [eax + 0x1c], 0x400
jne 0x7560ec0a
pop edi
pop esi
jmp 0x755f9ac3
push dword [ebp + 0x10]
push edi
push 0xf
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.756142f2
jmp 0x75608a17
cmp dword [ebp + 8], 0x17
jne 0x7560ec23
mov eax, dword [ebp + 0x10]
push 0x29
pop ebx
jmp 0x75608a2a
push dword [ebp - 4]
push dword [ebp + 0x10]
push edi
push 0x10
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.75618ddf
jmp 0x75608a63
mov dword [ebp - 4], 0x57
jmp 0x75608a63

Function at 0x755f9ad0
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 0x755f9b07
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 0x755fa0b1
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 0x7560cf45
mov eax, dword [ebp - 4]
test ax, ax
je 0x755fa0bf
pop edi
pop esi
leave
ret 4
mov eax, dword [0x7562a848]
cmp eax, 0x7562a848
je 0x7560cf78
test dword [eax + 0x1c], 0x1000000
je 0x7560cf78
call dword [sym.imp.API_MS_Win_Core_ErrorHandling_L1_1_0.dll_GetLastError]
push eax
mov eax, dword [0x7562a848]
push 0x75612484
push 0x20
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.756142f2
cmp dword [0x7562b99c], 0
jne 0x7560cf99
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 [0x7562b99c], 1
call esi
mov edi, eax
shl edi, 0xf
call esi
or eax, edi
movzx eax, ax
mov dword [ebp - 4], eax
jmp 0x755fa0d2
Function at 0x755fa9df
Capabilities:
Encrypt data using rc4 prga

Disassembly:
movzx eax, cx
add eax, dword [ebp + 0x14]
cmp eax, edi
jae 0x7560cec6
cmp eax, dword [ebp - 0x14]
jb 0x755faa58
jmp 0x7560cec6
mov word [eax], cx
mov eax, dword [ebp + 0xc]
and dword [eax], 0
and dword [ebp + 8], 0
jmp 0x755fa1d6
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 0x7560cec6
mov cl, byte [eax]
inc eax
test cl, cl
je 0x755faf53
mov dl, cl
and dl, 0xc0
jne 0x755faa62
movzx ecx, cl
lea ebx, [ecx + eax]
cmp ebx, dword [ebp + 0x18]
jae 0x7560cec6
lea edi, [ecx + esi]
lea edx, [edi + 1]
cmp edx, dword [ebp - 0xc]
jae 0x7560cec6
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 0x755faa0f
jmp 0x7560cec6
cmp dl, 0xc0
jne 0x7560cec6
cmp eax, dword [ebp + 0x18]
jae 0x7560cec6
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 0x755fa1d6
lea edx, [eax + 2]
mov dword [ebp - 4], edx
cmp eax, edi
jne 0x755fa1d6
mov eax, dword [ebp + 8]
test eax, eax
je 0x755fa1d6
cmp word [eax], cx
jne 0x755fa1f2
mov eax, dword [ebp + 0xc]
mov dword [eax], 1
mov eax, dword [ebp - 4]
cmp eax, dword [ebp + 0x18]
ja 0x7560cec6
pop edi
pop esi
pop ebx
leave
ret 0x14
cmp esi, ebx
je 0x75605375
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 0x755faf82
cmp dword [ebp - 4], 0
je 0x755faacd
mov eax, dword [ebp - 4]
jmp 0x755faacd
mov edx, dword [ebp + 0xc]
and dword [edx], 0
sub edi, dword [ebp + 0x14]
mov word [ecx], di
jmp 0x755faf70
mov byte [esi], 0x2e
inc esi
jmp 0x755faf5c
mov ecx, dword [ebp - 8]
xor eax, eax
mov word [ecx], ax
mov eax, dword [ebp + 8]
test eax, eax
je 0x7560ceda
xor ecx, ecx
mov word [eax], cx
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x7560cee4
and dword [eax], 0
xor eax, eax
jmp 0x755faacd
Function at 0x755ff287
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [0x756291d4]
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 [0x7562a848]
cmp eax, 0x7562a848
je 0x755ff2ca
test dword [eax + 0x1c], 0x400
jne 0x75609a4e
mov eax, dword [ebx]
test eax, eax
jne 0x75609a65
push esi
test edi, edi
je 0x755ff305
push 6
mov esi, 0x755ff3a4
pop ecx
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x755ff305
mov edi, dword [ebp - 0x12c]
push 0xa
mov esi, 0x755ff398
pop ecx
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x755ff35f
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 0x755ff384
mov esi, 0x11c
push esi
lea eax, [ebp - 0x124]
push eax
call fcn.755ff13b
cmp dword [ebp - 0x128], 0
je 0x755ff349
push 0x755ff37c
push esi
lea eax, [ebp - 0x124]
push eax
call fcn.755ff13b
lea eax, [ebp - 0x124]
push 0x755ff378
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 0x755ff3aa
inc eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.755f2eaf
leave
ret 4
cmp dword [ebp - 0x128], eax
je 0x75609a72
xor eax, eax
jmp 0x755ff369
push 0x756123c8
push 0xa
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.75613ea9
jmp 0x755ff2ca
push eax
call dword [sym.imp.msvcrt.dll_rewind]
pop ecx
jmp 0x755ff360
push eax
push eax
push 0xc000000d
call 0x7561cfa7
jmp 0x755ff3b6

Function at 0x755ff6bf
Capabilities:
Set socket configuration

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov eax, dword [0x7562a848]
mov ebx, dword [ebp + 8]
mov edi, 0x7562a848
mov esi, 0x755f98c4
cmp eax, edi
je 0x755ff6e7
test byte [eax + 0x1c], 8
jne 0x7560ec2f
test ebx, ebx
je 0x755ff737
cmp ebx, 0xffffffff
je 0x755ff737
cmp dword [ebp + 0x10], 0
je 0x755ff737
cmp dword [ebp + 0xc], 2
jne 0x755ff72b
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 0x7560ec49
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 0x755ff712
push 0x57
pop eax
jmp 0x755ff724
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
push esi
push 0x19
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.75618e84
jmp 0x755ff6e7
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebp + 0xc], eax
mov eax, dword [0x7562a848]
cmp eax, edi
je 0x7560ec76
test dword [eax + 0x1c], 0x2000000
je 0x7560ec76
push dword [ebp + 0xc]
push ebx
push esi
push 0x1a
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.75618ddf
mov eax, dword [ebp + 0xc]
jmp 0x755ff724
Function at 0x755ff7c8
Capabilities:
Set socket configuration

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov eax, dword [0x7562a848]
mov esi, dword [ebp + 0x14]
mov edi, dword [ebp + 0xc]
mov ebx, 0x755f98c4
cmp eax, 0x7562a848
je 0x755ff7f1
test byte [eax + 0x1c], 8
jne 0x7560ed1e
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 0x7560ed39
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 0x7561be04
jmp 0x755ff7f1
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
mov eax, dword [0x7562a848]
cmp eax, 0x7562a848
je 0x7560ed68
test dword [eax + 0x1c], 0x2000000
je 0x7560ed68
push esi
push dword [ebp + 8]
push ebx
push 0x20
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.75618ddf
mov eax, esi
jmp 0x755ff820

Function at 0x755ffca0
Capabilities:
Set socket configuration

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x756291d4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
mov eax, dword [0x7562a848]
mov ebx, 0x7562a848
cmp eax, ebx
je 0x755ffcd0
test byte [eax + 0x1c], 8
jne 0x7560ec7e
xor edi, edi
cmp dword [ebp + 8], edi
je 0x756086c4
cmp dword [ebp + 8], 0xffffffff
je 0x756086c4
cmp dword [ebp + 0x14], edi
je 0x7560eca4
cmp word [esi], 2
jne 0x755ffd36
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 0x7560869f
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.755f2eaf
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 0x755ffd11
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
mov eax, dword [0x7562a848]
cmp eax, ebx
je 0x756086bd
test dword [eax + 0x1c], 0x2000000
jne 0x7560ecb2
mov eax, esi
jmp 0x755ffd25
push 0x57
pop eax
jmp 0x755ffd25
push dword [ebp + 0x18]
movzx ecx, word [ebp + 0xc]
push dword [ebp + 0x14]
push esi
push ecx
push dword [ebp + 8]
push 0x755f98c4
push 0x1b
push dword [eax + 0x14]
push dword [eax + 0x10]
call 0x7561be41
jmp 0x755ffcd0
cmp dword [ebp + 0x18], edi
jne 0x755ffcee
jmp 0x756086c4
push esi
push dword [ebp + 8]
push 0x755f98c4
push 0x1c
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.75618ddf
jmp 0x756086bd
Function at 0x755ffe22
Capabilities:
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x756291d4]
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 0x75610179
push ebx
push edi
lea eax, [ebp - 0x214]
push eax
push 0x20019
push esi
push 0x755fff48
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 0x75610181
lea eax, [ebp - 0x214]
push eax
push 0x20019
push esi
push 0x755ffeb8
push edi
call dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegOpenKeyExW]
mov ebx, eax
cmp ebx, esi
je 0x75610181
xor ebx, ebx
pop edi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.755f2eaf
leave
ret 4
push 0x57
pop eax
jmp 0x755ffea4
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 0x75610258
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 0x75610277
push dword [ebp - 0x224]
push dword [ebp - 0x218]
call fcn.7561e833
mov ebx, eax
cmp ebx, esi
je 0x7561022e
mov eax, dword [0x7562a848]
cmp eax, 0x7562a848
je 0x75610215
test dword [eax + 0x1c], 0x400
je 0x75610215
push ebx
lea ecx, [ebp - 0x210]
push ecx
push 0x756124ec
push 0x10
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.756141ac
push dword [ebp - 0x218]
call dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegCloseKey]
cmp ebx, 0x32
jne 0x756102b0
xor ebx, ebx
jmp 0x7561023a
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 0x7561032e
jmp 0x756101a5
mov eax, dword [0x7562a848]
cmp eax, 0x7562a848
je 0x7561032e
test dword [eax + 0x1c], 0x400
je 0x7561032e
push ebx
lea ecx, [ebp - 0x210]
push ecx
push 0x756124ec
push 0xf
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.756141ac
jmp 0x7561032e
mov edi, dword [sym.imp.ntdll.dll_EtwEventEnabled]
mov esi, 0x75610340
push esi
push dword [0x7562a994]
push dword [0x7562a990]
call edi
test al, al
je 0x756102e8
push ebx
lea eax, [ebp - 0x210]
push eax
push esi
push dword [0x7562a994]
push dword [0x7562a990]
call fcn.7561e2ac
push 0x10000
call fcn.7560883a
cmp eax, 1
jne 0x75610329
mov esi, 0x75610350
push esi
push dword [0x7562a994]
push dword [0x7562a990]
call edi
test al, al
je 0x75610329
push ebx
lea eax, [ebp - 0x210]
push eax
push esi
push dword [0x7562a994]
push dword [0x7562a990]
call fcn.7561e2ac
mov ebx, 0x2564
push dword [ebp - 0x214]
call dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegCloseKey]
jmp 0x755ffea0
Function at 0x756002ce
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 0x7560038e
push 0x14
push 0x7560039c
push eax
call dword [sym.imp.API_MS_WIN_Service_Management_L1_1_0.dll_OpenServiceW]
mov edi, eax
cmp edi, esi
je 0x7560038e
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 0x7560038e
mov ecx, dword [ebp - 0x20]
cmp ecx, 4
jne 0x75610012
mov eax, dword [0x7562a848]
cmp eax, 0x7562a848
je 0x75600342
test dword [eax + 0x1c], 0x400
jne 0x75610090
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 0x75600363
push edi
call esi
mov eax, dword [0x7562a848]
cmp dword [ebp - 8], 0
je 0x75600373
push dword [ebp - 8]
call esi
mov eax, dword [0x7562a848]
cmp eax, 0x7562a848
je 0x75600387
test dword [eax + 0x1c], 0x400
jne 0x756100bc
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 0x756100b0
lea eax, [ebp - 1]
push eax
call 0x7561d9d9
mov ebx, eax
cmp ebx, esi
je 0x75610053
mov eax, dword [0x7562a848]
cmp eax, 0x7562a848
je 0x75600351
test dword [eax + 0x1c], 0x400
je 0x75600351
push ebx
push 0x756124dc
push 0xd
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.756142f2
jmp 0x756100b2
cmp byte [ebp - 1], 0
je 0x75610088
cmp dword [ebp - 0x20], 1
je 0x75610075
lea eax, [ebp - 0x24]
push eax
push edi
call 0x7561db2c
mov ecx, dword [ebp - 0x20]
cmp ecx, 1
jne 0x75600329
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 0x7561db2c
mov ecx, dword [ebp - 0x20]
jmp 0x75600329
push ecx
push 0x756124dc
push 0xe
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.756142f2
mov ecx, dword [ebp - 0x20]
mov eax, dword [0x7562a848]
jmp 0x75600342
mov ebx, eax
mov eax, dword [0x7562a848]
jmp 0x75600351
push ebx
push 0x756124dc
push 0xf
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.756142f2
jmp 0x75600387

Function at 0x75600fb4
Capabilities:
Check for software breakpoints

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
xor edx, edx
mov eax, 0x7562af08
xor ecx, ecx
push esi
mov esi, dword [eax]
cmp esi, dword [ebp + 8]
je 0x75600fdd
add ecx, 0xc
add eax, 0xc
cmp ecx, 0xcc
jb 0x75600fc3
jmp 0x75608e31
cmp dword [ebp + 0x10], edx
je 0x75600ff0
cmp dword [ebp + 0xc], edx
je 0x75600ff5
cmp byte [eax + 8], dl
je 0x75608e31
pop esi
pop ebp
ret 0xc
cmp byte [eax + 9], dl
je 0x75600ff0
jmp 0x75608e31
push 0x57
call dword [sym.imp.API_MS_Win_Core_ErrorHandling_L1_1_0.dll_SetLastError]
xor eax, eax
jmp 0x75600ff0
Function at 0x75601060
Capabilities:
Delete registry key

Disassembly:
push esi
push dword [ebp + 8]
push 0x755fc45c
push 0x1b
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.756141ac
jmp 0x7560108f
mov eax, dword [0x7562a848]
cmp eax, 0x7562a848
je 0x7560112a
test dword [eax + 0x1c], 0x400
je 0x7560112a
push dword [ebp + 8]
push 0x755fc45c
push 0x1c
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.75617575
jmp 0x7560112a
cmp dword [eax], ebx
jne 0x75601107
push ebx
push ebx
push 0x755f5778
push dword [ebp - 0xc]
call dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegDeleteKeyExW]
push dword [edi]
call fcn.755f30da
mov dword [edi], ebx
jmp 0x75601107
push dword [esi + 0x14]
push dword [esi + 0x10]
push dword [esi + 0xc]
push dword [esi + 8]
push dword [esi + 4]
push dword [esi]
push dword [ebp + 8]
push 0x755fc45c
push 0x1d
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.7561afec
jmp 0x7560116a
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
xor ebx, ebx
push esi
push edi
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov eax, dword [0x7562a848]
mov esi, dword [ebp + 0xc]
cmp eax, 0x7562a848
je 0x7560108f
test dword [eax + 0x1c], 0x400
jne 0x755f56d4
push 6
pop ecx
xor eax, eax
push ebx
mov edi, esi
rep stosd dword es:[edi], eax
push ebx
lea eax, [ebp - 0x18]
push eax
call fcn.755f57e6
cmp eax, ebx
jne 0x7560116d
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.755fcb9f
mov dword [ebp + 0xc], eax
cmp eax, ebx
jne 0x7560112a
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x18]
push eax
push ebx
push ebx
push dword [ebp + 8]
xor edi, edi
inc edi
mov dword [ebp - 4], edi
call fcn.755fcf6b
mov dword [ebp + 0xc], eax
cmp eax, ebx
jne 0x755f56ef
mov dword [ebp - 8], edi
lea edi, [esi + 4]
push edi
push ebx
push 7
push 6
push ebx
push ebx
lea eax, [ebp - 0x18]
push eax
call sym.DNSAPI.dll_Reg_GetValueEx
mov eax, dword [edi]
cmp eax, ebx
jne 0x755f5726
mov eax, dword [ebp - 0x34]
mov dword [esi], eax
mov eax, dword [ebp - 0x24]
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x4c]
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0x48]
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x24], ebx
mov dword [esi + 0x14], eax
lea eax, [ebp - 0x18]
push eax
call fcn.755f588e
cmp dword [ebp - 4], ebx
je 0x75601142
push ebx
lea eax, [ebp - 0x34]
push eax
call fcn.755fcb41
cmp dword [ebp - 8], ebx
je 0x75601151
push ebx
lea eax, [ebp - 0x54]
push eax
call fcn.755fcca1
mov eax, dword [0x7562a848]
cmp eax, 0x7562a848
je 0x7560116a
test dword [eax + 0x1c], 0x400
jne 0x755f574c
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 8