joyce8/EMBER2024-capa huggingface dataset:
Function at 0x53cd4e
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
sub esp, 0x10
mov eax, dword [ebp + 0xc]
cmp eax, 0xffffffff
jne 0x53cd77
push 0
push dword [ebp + 0xc]
push 0xe
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push eax
call dword [sym.imp.USER32.DLL_SendMessageW]
jmp 0x53cd8d
push 0
push dword [ebp + 0xc]
push 0x149
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push eax
call dword [sym.imp.USER32.DLL_SendMessageW]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
cmp eax, 0
jl 0x53ce74
push 3
push dword [ebp + 8]
call fcn.0053b10e
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
and eax, 0xff
cmp eax, 7
je 0x53cdc9
push 2
push dword [ebp - 0xc]
push dword [ebp - 0x10]
call fcn.00447454
mov eax, dword [ebp - 0xc]
cmp eax, 0
jne 0x53cde0
push dword [ebp - 0x10]
call fcn.004458d2
jmp 0x53ce74
mov eax, dword [ebp - 0xc]
inc eax
shl eax, 2
push eax
push dword [ebp - 0x10]
call fcn.00433101
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0xc]
cmp eax, 0xffffffff
jne 0x53ce15
push dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
inc eax
push eax
push 0xd
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push eax
call dword [sym.imp.USER32.DLL_SendMessageW]
jmp 0x53ce2c
push dword [ebp - 0x18]
push dword [ebp + 0xc]
push 0x148
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push eax
call dword [sym.imp.USER32.DLL_SendMessageW]
xor eax, eax
inc eax
push eax
push dword [ebp - 0x10]
push dword [ebp - 0xc]
push 0
call fcn.0043283a
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push eax
call fcn.005279dd
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
and eax, 0xff
cmp eax, 0x20
jne 0x53ce6d
push dword [0x57fcb0]
push dword [ebp - 0x14]
push dword [ebp - 0x10]
call fcn.0043915f
push 1
call fcn.0048a749
leave
ret 8

Function at 0x53d5f1
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
sub esp, 4
mov eax, dword [0x580430]
cmp eax, 0
je 0x53d60d
call dword [sym.imp.USER32.DLL_ReleaseCapture]
call fcn.0053a973
push 0xa
push dword [ebp + 8]
call dword [sym.imp.USER32.DLL_ShowWindow]
push dword [ebp + 8]
call dword [sym.imp.USER32.DLL_UpdateWindow]
mov eax, dword [0x58056c]
xor al, 1
cmp eax, 0
je 0x53d644
push 0xffffffffffffffff
push 0
push 0
push 0
push dword [ebp + 8]
call fcn.0052e828
push dword [ebp + 8]
call dword [sym.imp.USER32.DLL_SetForegroundWindow]
push dword [ebp + 8]
call fcn.0053cbaa
leave
ret 4
Function at 0x53f58b
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
sub esp, 4
mov eax, dword [ebp + 0x14]
mov edx, dword [0x57f9bc]
cmp eax, edx
jne 0x53f5c8
mov eax, dword [0x580560]
sub eax, 0xc
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.DLL_GetWindowLongW]
mov edx, eax
mov eax, 2
and eax, edx
cmp eax, 0
je 0x53f5c8
jmp 0x53f5cc
xor eax, eax
jmp 0x53f5cf
xor eax, eax
inc eax
cmp eax, 0
je 0x53f5f3
mov eax, dword [ebp + 0x10]
cmp eax, 0
je 0x53f5ed
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0053bc28
jmp 0x53f5f3
call dword [sym.imp.USER32.DLL_DestroyCaret]
mov eax, dword [ebp + 0x10]
cmp eax, 0
je 0x53f618
mov eax, dword [ebp + 0x14]
mov edx, dword [0x57f9bc]
cmp eax, edx
jne 0x53f611
mov eax, 8
jmp 0x53f616
mov eax, 5
jmp 0x53f61d
mov eax, 0
mov dword [ebp - 0xc], eax
push dword [ebp - 0xc]
push dword [ebp + 8]
call dword [sym.imp.USER32.DLL_ShowWindow]
mov eax, dword [0x58056c]
xor al, 1
cmp eax, 0
je 0x53f64a
push 0xffffffffffffffff
push 0
push 0
push 0
push dword [ebp + 8]
call fcn.0052e828
mov eax, dword [ebp + 0x14]
mov edx, dword [0x57f9e8]
cmp eax, edx
jne 0x53f67a
mov eax, dword [0x580560]
sub eax, 4
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.DLL_GetWindowLongW]
mov dword [ebp + 8], eax
push dword [ebp - 0xc]
push dword [ebp + 8]
call dword [sym.imp.USER32.DLL_ShowWindow]
mov eax, dword [ebp + 0x14]
mov edx, dword [0x57f9d8]
cmp eax, edx
jne 0x53f691
push 9
push dword [ebp + 8]
call fcn.005309d1
leave
ret 0x10
Function at 0x40e73b
Capabilities:
Hash data using sha1

Disassembly:
mov eax, dword [esp + 4]
and dword [eax + 0x18], 0
and dword [eax + 0x14], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
ret 4

Function at 0x412837
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
lea eax, [ebp - 4]
push eax
push 0x413b5c
push 1
xor ebx, ebx
push ebx
push 0x413c0c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x412908
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
lea edx, [ebp - 8]
push edx
push 0x413bfc
push eax
call dword [ecx]
test eax, eax
jl 0x4128ff
cmp byte [ebp + 8], bl
je 0x41288a
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push 2
push dword [ebp + 0x10]
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp - 4]
push dword [ebp + 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x50]
cmp dword [ebp + 0x18], ebx
je 0x4128a7
mov eax, dword [ebp - 4]
push dword [ebp + 0x18]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ebx
cmp dword [ebp + 0x1c], ebx
jne 0x4128b9
push 0x413704
jmp 0x4128bc
push dword [ebp + 0x1c]
push eax
call dword [ecx + 0x44]
cmp dword [ebp + 0x20], ebx
je 0x4128d1
mov eax, dword [ebp - 4]
push dword [ebp + 0x20]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x2c]
cmp dword [ebp + 0x14], ebx
je 0x4128e2
mov eax, dword [ebp - 4]
push dword [ebp + 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x24]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push 1
push dword [ebp + 0x10]
push eax
call dword [ecx + 0x18]
test eax, eax
jl 0x4128f6
mov bl, 1
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov al, bl
pop ebx
leave
ret 0x1c

Function at 0x412922
Capabilities:
Get common file path

Disassembly:
push dword [esp + 4]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
neg eax
sbb eax, eax
neg eax
ret 8

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x6ed820f6
Capabilities:
Enumerate network shares

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov esi, ecx
call fcn.6ed81bef
xor ebx, ebx
push ebx
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0xffffffffffffffff
lea edi, [esi + 4]
push edi
push 0x1f7
push ebx
call sub.srvcli.dll_NetShareEnum
test eax, eax
jne 0x6ed8a1a0
mov eax, dword [ebp - 4]
mov dword [esi], eax
cmp dword [esi], ebx
jbe 0x6ed8217e
push 0x10
call fcn.6ed81771
pop ecx
cmp eax, ebx
je 0x6ed82190
mov ecx, dword [esi]
lea ecx, [ecx + ecx - 1]
push ecx
mov ecx, eax
call fcn.6ed821ce
mov dword [esi + 8], eax
cmp eax, ebx
je 0x6ed82194
mov ecx, eax
call fcn.6ed821bd
test eax, eax
jl 0x6ed82194
mov edi, dword [edi]
cmp dword [esi], ebx
jbe 0x6ed8217e
push 0
push edi
call fcn.6ed817c5
test eax, eax
je 0x6ed8a1a7
inc ebx
add edi, 0x2c
cmp ebx, dword [esi]
jb 0x6ed82166
xor eax, eax
cmp dword [esi + 8], eax
pop edi
setne al
pop esi
pop ebx
mov dword [0x6edb0198], eax
leave
ret
xor eax, eax
jmp 0x6ed8214e
mov ecx, esi
call fcn.6ed81bef
jmp 0x6ed8217e
mov dword [edi], ebx
jmp 0x6ed82130
push dword [edi + 0x18]
mov ecx, dword [esi + 8]
call 0x6ed932d2
test eax, eax
jge 0x6ed82176
jmp 0x6ed82194

Function at 0x6ed8336c
Capabilities:
Compare security identifiers

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi]
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp eax, ebx
je 0x6ed8788f
mov eax, dword [eax]
mov dword [ebp + 8], eax
cmp dword [ebp + 8], ebx
jle 0x6ed833b7
push esi
push ebx
push dword [edi]
call dword [0x6ed833c0]
push dword [ebp + 0xc]
mov esi, eax
push dword [esi + 8]
call dword [sym.imp.API_MS_Win_Security_Base_L1_1_0.dll_EqualSid]
test eax, eax
jne 0x6ed8787b
inc ebx
cmp ebx, dword [ebp + 8]
jl 0x6ed83391
pop esi
mov eax, dword [ebp - 4]
pop edi
pop ebx
leave
ret 0xc
mov al, byte [esi + 1]
cmp al, byte [ebp + 0x10]
jne 0x6ed833b0
mov dword [ebp - 4], esi
jmp 0x6ed833b6
mov dword [ebp + 8], ebx
jmp 0x6ed8338b
Function at 0x6ed83dda
Capabilities:
Get hostname
Get user security identifier

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x6edb04cc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
push esi
inc ebx
xor esi, esi
test byte [0x6edb01a8], bl
je 0x6ed8636b
cmp dword [0x6edb01a0], esi
je 0x6ed86387
mov ecx, dword [ebp - 4]
mov eax, dword [0x6edb01a4]
pop esi
xor ecx, ebp
pop ebx
call fcn.6ed831ba
leave
ret
or dword [0x6edb01a8], ebx
push 0x6ed878e0
mov dword [0x6edb01a4], esi
call fcn.6ed8227b
pop ecx
jmp 0x6ed83dff
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x24]
push eax
mov dword [0x6edb01a0], ebx
mov dword [ebp - 0x34], 0x10
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
je 0x6ed83e0b
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x2c]
push eax
push esi
lea eax, [ebp - 0x28]
push eax
push esi
lea eax, [ebp - 0x24]
push eax
push esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x2c], esi
call edi
test eax, eax
jne 0x6ed8645e
cmp dword [ebp - 0x28], esi
je 0x6ed8645e
cmp dword [ebp - 0x2c], esi
je 0x6ed8645e
push dword [ebp - 0x28]
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ebx, eax
cmp ebx, esi
je 0x6ed86458
mov eax, dword [ebp - 0x2c]
xor ecx, ecx
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.6ed81771
pop ecx
mov dword [ebp - 0x38], eax
cmp eax, esi
je 0x6ed8644f
lea ecx, [ebp - 0x3c]
push ecx
lea ecx, [ebp - 0x2c]
push ecx
push eax
lea eax, [ebp - 0x28]
push eax
push ebx
lea eax, [ebp - 0x24]
push eax
push esi
call edi
test eax, eax
je 0x6ed8644f
lea eax, [ebp - 0x30]
push eax
push ebx
mov dword [ebp - 0x30], esi
call sub.API_MS_Win_Security_SDDL_L1_1_0.dll_ConvertSidToStringSidW
push esi
push dword [ebp - 0x30]
push 0x6edb01a4
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
jne 0x6ed8b338
push dword [ebp - 0x38]
call fcn.6ed81731
pop ecx
push ebx
call fcn.6ed8199d
pop edi
jmp 0x6ed83e0b
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x6ed8644f

Function at 0x6ed842aa
Capabilities:
Compare security identifiers

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
xor ebx, ebx
mov eax, dword [edi]
test eax, eax
je 0x6ed842d0
mov ecx, dword [eax]
cmp ebx, ecx
jl 0x6ed8b56b
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 0x10
xor ecx, ecx
jmp 0x6ed842bf
push ebx
push eax
call dword [0x6ed833c0]
mov esi, eax
push dword [esi + 8]
push dword [ebp + 8]
call dword [sym.imp.API_MS_Win_Security_Base_L1_1_0.dll_EqualSid]
test eax, eax
je 0x6ed8b5a6
cmp dword [ebp + 0x14], 0
jne 0x6ed8b593
mov al, byte [ebp + 0xc]
cmp al, byte [esi + 1]
jne 0x6ed8b5a6
push ebx
push dword [edi]
call dword [0x6ed8be20]
push 1
mov ecx, esi
call fcn.6ed82fc7
dec ebx
inc ebx
jmp 0x6ed842b7
Function at 0x6ed84e16
Capabilities:
Get hostname

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov ebx, 0x104
push ebx
lea eax, [edi + 0x434]
push eax
push 0
push 0
push 0x6ed8318c
call sub.SHELL32.dll_SHGetFolderPathEx
mov esi, eax
lea eax, [edi + 0x434]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [edi + 0x700], eax
test esi, esi
jl 0x6ed84f40
push ebx
lea eax, [edi + 0x24]
push eax
push 0
push 0
push 0x6ed84d30
call sub.SHELL32.dll_SHGetFolderPathEx
mov esi, eax
test esi, esi
jl 0x6ed84f40
push ebx
lea eax, [edi + 0x22c]
push eax
push 0
push 0
push 0x6ed84d40
call sub.SHELL32.dll_SHGetFolderPathEx
mov esi, eax
test esi, esi
jl 0x6ed84f40
lea eax, [ebp - 4]
push eax
lea eax, [edi + 0x6de]
push eax
mov dword [ebp - 4], 0x10
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
je 0x6ed8ad48
push 0x44
pop eax
push eax
mov ebx, 0x8007000e
push 0x40
mov esi, ebx
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [edi + 0x704], eax
test eax, eax
je 0x6ed84f40
lea ecx, [ebp - 4]
push ecx
push eax
push 0
push 3
call dword [sym.imp.API_MS_Win_Security_Base_L1_1_0.dll_CreateWellKnownSid]
test eax, eax
je 0x6ed8ad5c
lea eax, [edi + 0x20]
push eax
push 0x6ed83654
push 1
push 0
push 0x6ed82898
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test esi, esi
jl 0x6ed84f40
push 0x22c
call fcn.6ed81771
pop ecx
test eax, eax
je 0x6ed84f4f
mov ecx, eax
call fcn.6ed817a1
mov esi, eax
neg esi
sbb esi, esi
and esi, 0x7ff8fff2
add esi, ebx
mov dword [edi + 0x710], eax
js 0x6ed84f40
mov ecx, eax
call fcn.6ed84f58
mov esi, eax
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
mov esi, eax
test esi, esi
jge 0x6ed84eed
jmp 0x6ed84f40
xor eax, eax
jmp 0x6ed84f21
call fcn.6ed8518e
mov esi, eax
test esi, esi
jge 0x6ed84eb6
jmp 0x6ed84f40
call fcn.6ed8518e
jmp 0x6ed84f47
Function at 0x6ed882f7
Capabilities:
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xb4
mov eax, dword [0x6edb04cc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
mov edi, dword [ebp + 0x10]
mov eax, ecx
mov dword [ebp - 0xb4], eax
mov dword [edi], 2
mov dword [ebp - 0xb0], ebx
cmp esi, ebx
jne 0x6ed88578
lea ecx, [ebp - 0xa8]
push ecx
push 0x6ed8845c
push 0x6ed8846c
push dword [eax + 4]
mov dword [ebp - 0xa8], ebx
call dword [sym.imp.SHLWAPI.dll_IUnknown_QueryService]
cmp eax, ebx
mov dword [ebp - 0xac], eax
jl 0x6ed8837b
mov eax, dword [ebp - 0xa8]
mov ecx, dword [eax]
lea edx, [ebp - 0xb0]
push edx
push 0x6ed85edc
push eax
call dword [ecx + 0x14]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0xa8]
cmp eax, ebx
je 0x6ed8838b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [ebp - 0xac], ebx
jl 0x6ed883f1
push dword [ebp - 0xb0]
mov ecx, dword [ebp - 0xb4]
call fcn.6ed8816b
test eax, eax
jne 0x6ed883f1
cmp esi, ebx
sete al
push 0x6ed88440
push eax
push dword [ebp - 0xb0]
call fcn.6ed88481
mov esi, eax
neg esi
sbb esi, esi
inc esi
jne 0x6ed883f1
lea eax, [ebp - 0xa8]
push eax
push 8
push ebx
push 0x6ed88418
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x6ed8a5d6
cmp esi, ebx
je 0x6ed8a604
mov eax, dword [ebp - 0xb0]
pop edi
pop esi
cmp eax, ebx
pop ebx
je 0x6ed88404
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0xac]
xor ecx, ebp
call fcn.6ed831ba
leave
ret 0xc
mov eax, dword [esi]
lea ecx, [ebp - 0xb0]
push ecx
push 0x6ed85edc
push esi
call dword [eax]
mov dword [ebp - 0xac], eax
jmp 0x6ed8838b
lea eax, [ebp - 0xa8]
push eax
push 0x6ed86a3c
push 1
push ebx
push 0x6ed82878
mov dword [ebp - 0xa8], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
mov dword [ebp - 0xac], eax
jl 0x6ed88672
mov eax, dword [ebp - 0xa8]
push dword [ebp - 0xb0]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
test eax, eax
jne 0x6ed88672
mov dword [edi], ebx
mov eax, dword [ebp - 0xa8]
cmp eax, ebx
je 0x6ed883f1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x6ed883f1
push 0x50
lea eax, [ebp - 0xa4]
push eax
push ebx
push dword [ebp - 0xa8]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
jne 0x6ed8a5f3
mov dword [edi], ebx
inc esi
push dword [ebp - 0xa8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x6ed883e9
cmp dword [ebp + 0xc], ebx
jne 0x6ed88630
mov dword [ebp - 0xac], 0x8000000a
jmp 0x6ed883f1
Function at 0x6ed88be9
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x6edb04cc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
xor ebx, ebx
call fcn.6ed81755
mov edi, eax
test edi, edi
jl 0x6ed88c95
test esi, esi
je 0x6ed88c88
cmp dword [0x6edb0198], ebx
je 0x6ed88c88
lea eax, [ebp - 0x10]
push eax
push esi
call fcn.6ed83a8d
mov edi, eax
test edi, edi
jl 0x6ed88c95
mov eax, dword [esi]
lea ecx, [ebp - 0x14]
push ecx
push 0x60400000
push esi
call dword [eax + 0x18]
mov edi, eax
test edi, edi
jl 0x6ed88c7f
cmp dword [ebp - 0x14], 0x60000000
jne 0x6ed88c7f
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathGetDriveNumberW]
test eax, eax
jl 0x6ed88c7f
push eax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.SHLWAPI.dll_PathBuildRootW]
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 2
jb 0x6ed88ca8
cmp eax, 3
ja 0x6ed8a76a
xor ebx, ebx
inc ebx
push dword [ebp - 0x10]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
test edi, edi
jl 0x6ed88c95
xor eax, eax
test ebx, ebx
sete al
mov edi, eax
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.6ed831ba
leave
ret 4
xor ebx, ebx
jmp 0x6ed88c7f
cmp eax, 5
je 0x6ed88c7c
jmp 0x6ed88ca8

Function at 0x6ed8d052
Capabilities:
Get hostname

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x6edb04cc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x2c], 0x10
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
jne 0x6ed8d08f
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x6ed8d0f9
push ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [ebp - 0x24]
push eax
call edi
mov ecx, dword [ebp - 0x28]
mov ebx, eax
call fcn.6ed8fa0b
push eax
call edi
mov edi, dword [ebp + 0x10]
lea eax, [eax + ebx + 4]
cmp eax, edi
jbe 0x6ed8d0bc
mov eax, 0xea
jmp 0x6ed8d0f7
push 0x5c
pop eax
mov word [esi], ax
mov word [esi + 2], ax
add esi, 4
lea eax, [ebp - 0x24]
dec edi
push eax
dec edi
push edi
push esi
call fcn.6ed834b4
mov ecx, dword [ebp - 0x28]
push 0x5c
pop eax
lea esi, [esi + ebx*2]
mov word [esi], ax
call fcn.6ed8fa0b
push eax
sub edi, ebx
dec edi
push edi
add esi, 2
push esi
call fcn.6ed834b4
xor eax, eax
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.6ed831ba
leave
ret 0xc

Function at 0x6ed8e062
Capabilities:
Query service status

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
xor ebx, ebx
mov esi, 0xfa0
push esi
call dword [sym.imp.KERNEL32.dll_Sleep]
push edi
push dword [ebp + 8]
call dword [sym.imp.API_MS_WIN_Service_winsvc_L1_1_0.dll_QueryServiceStatus]
test eax, eax
je 0x6ed8e0a0
mov eax, dword [edi + 4]
cmp eax, 4
je 0x6ed8e0a9
cmp eax, 2
je 0x6ed8e0a9
add ebx, esi
cmp ebx, 0x15f90
jb 0x6ed8e074
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 8
xor eax, eax
inc eax
jmp 0x6ed8e0a2
Function at 0x6ed8e10a
Capabilities:
Query service status

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x28
push esi
push edi
push 1
xor edi, edi
push edi
push edi
call dword [sym.imp.API_MS_WIN_Service_Management_L1_1_0.dll_OpenSCManagerW]
mov esi, eax
mov dword [ebp - 0xc], esi
cmp esi, edi
jne 0x6ed8e12d
xor eax, eax
jmp 0x6ed8e14f
push ebx
push 4
push 0x6ed8b724
push esi
call dword [sym.imp.API_MS_WIN_Service_Management_L1_1_0.dll_OpenServiceW]
mov ebx, eax
mov dword [ebp - 8], ebx
cmp ebx, edi
jne 0x6ed8e153
push esi
call dword [sym.imp.API_MS_WIN_Service_Management_L1_1_0.dll_CloseServiceHandle]
xor eax, eax
pop ebx
pop edi
pop esi
leave
ret
lea eax, [ebp - 0x28]
push eax
push ebx
call dword [sym.imp.API_MS_WIN_Service_winsvc_L1_1_0.dll_QueryServiceStatus]
test eax, eax
jne 0x6ed8e176
push dword [ebp - 0xc]
mov esi, dword [sym.imp.API_MS_WIN_Service_Management_L1_1_0.dll_CloseServiceHandle]
call esi
push dword [ebp - 8]
call esi
mov eax, edi
jmp 0x6ed8e14e
cmp dword [ebp - 0x24], 4
jne 0x6ed8e181
xor edi, edi
inc edi
jmp 0x6ed8e162
cmp dword [ebp - 0x24], 2
je 0x6ed8e19f
push esi
call fcn.6ed8dfe6
test eax, eax
je 0x6ed8e162
lea eax, [ebp - 0x28]
push eax
push ebx
call fcn.6ed8e062
test eax, eax
je 0x6ed8e162
cmp dword [ebp - 0x24], 2
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 4], edi
jne 0x6ed8e1fe
mov edi, 0x3a98
mov esi, 0x3e8
cmp ebx, dword [ebp - 0x14]
jne 0x6ed8e1c7
inc dword [ebp - 4]
cmp dword [ebp - 4], 0x14
jbe 0x6ed8e1ce
xor edi, edi
jmp 0x6ed8e162
and dword [ebp - 4], 0
mov ebx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
shr eax, 2
cmp eax, edi
jbe 0x6ed8e1da
mov eax, edi
cmp eax, esi
jae 0x6ed8e1e0
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 8]
call dword [sym.imp.API_MS_WIN_Service_winsvc_L1_1_0.dll_QueryServiceStatus]
test eax, eax
je 0x6ed8e1c3
cmp dword [ebp - 0x24], 2
je 0x6ed8e1b5
push dword [ebp - 0xc]
mov esi, dword [sym.imp.API_MS_WIN_Service_Management_L1_1_0.dll_CloseServiceHandle]
call esi
push dword [ebp - 8]
call esi
cmp dword [ebp - 0x24], 4
jne 0x6ed8e14c
xor eax, eax
push eax
push eax
push eax
push 0x8000000
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
xor eax, eax
inc eax
jmp 0x6ed8e14e
Function at 0x6ed8f7c2
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
push esi
xor esi, esi
mov dword [eax], esi
lea eax, [ebp - 0xc]
push eax
push 0x80000000
push esi
push 0x6ed8f8a8
push 0x80000002
mov dword [ebp - 4], esi
mov dword [ebp - 8], esi
mov dword [ebp - 0x10], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x6ed8f867
push ebx
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 8]
push eax
push esi
push esi
push esi
mov ebx, 0x6ed8f878
push ebx
push dword [ebp - 0xc]
call edi
test eax, eax
jne 0x6ed8f85c
push dword [ebp - 8]
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 4], eax
cmp eax, esi
je 0x6ed8f85c
lea ecx, [ebp - 8]
push ecx
push eax
push esi
push esi
push ebx
push dword [ebp - 0xc]
call edi
test eax, eax
jne 0x6ed8f850
push dword [ebp - 4]
call dword [sym.imp.API_MS_Win_Security_Base_L1_1_0.dll_IsValidSecurityDescriptor]
test eax, eax
je 0x6ed8f850
mov dword [ebp - 0x10], 1
jmp 0x6ed8f85c
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [ebp - 4], esi
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop ebx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov eax, dword [ebp - 0x10]
pop esi
leave
ret 4

Function at 0x6eda9f6f
Capabilities:
Compare security identifiers

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi]
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp eax, ebx
je 0x6eda9f8c
mov eax, dword [eax]
mov dword [ebp + 8], eax
jmp 0x6eda9f8f
mov dword [ebp + 8], ebx
cmp dword [ebp + 8], ebx
jle 0x6eda9fbc
push esi
push ebx
push dword [edi]
call dword [0x6ed833c0]
push dword [ebp + 0xc]
mov esi, eax
push dword [esi + 8]
call dword [sym.imp.API_MS_Win_Security_Base_L1_1_0.dll_EqualSid]
test eax, eax
jne 0x6eda9fb8
inc ebx
cmp ebx, dword [ebp + 8]
jge 0x6eda9fbb
jmp 0x6eda9f95
mov dword [ebp - 4], esi
pop esi
mov eax, dword [ebp - 4]
pop edi
pop ebx
leave
ret 8

Function at 0x6eda9fca
Capabilities:
Compare security identifiers

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push edi
mov edi, dword [ebp + 0xc]
mov eax, dword [edi]
xor ebx, ebx
mov dword [ebp - 4], 8
test eax, eax
je 0x6edaa01e
push esi
mov ecx, dword [eax]
cmp ebx, ecx
jge 0x6edaa01d
push ebx
push eax
call dword [0x6ed833c0]
mov esi, eax
test esi, esi
je 0x6edaa016
cmp dword [ebp + 8], 0
je 0x6edaa00f
push dword [ebp + 8]
push dword [esi + 8]
call dword [sym.imp.API_MS_Win_Security_Base_L1_1_0.dll_EqualSid]
test eax, eax
je 0x6edaa016
movzx eax, word [esi + 2]
add dword [ebp - 4], eax
mov eax, dword [edi]
inc ebx
test eax, eax
jne 0x6eda9fe5
pop esi
mov eax, dword [ebp - 4]
pop edi
pop ebx
leave
ret 8