joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10042c80
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2d0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x6c]
mov edx, dword [ecx + 0x3a8]
and edx, 0x40
test edx, edx
jne 0x10042caa
xor eax, eax
jmp 0x10042e82
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3fc]
and ecx, 0x80
test ecx, ecx
jne 0x10042d1a
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x3fc]
or al, 0x80
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x3fc], eax
push str.BUG_B
push 0x45
push 0x44
push str.FLEXLM__c_c_sADDATE
lea edx, [ebp - 0x2cc]
push edx
call fcn.100f0f37
add esp, 0x14
lea eax, [ebp - 0x2cc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.10039130
add esp, 8
test eax, eax
je 0x10042d1a
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x3fc]
or ah, 1
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x3fc], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x3fc]
and eax, 0x100
test eax, eax
je 0x10042d87
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x14], 0
je 0x10042d49
xor edx, edx
test edx, edx
je 0x10042d49
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0x2d0], ecx
jmp 0x10042d53
mov dword [ebp - 0x2d0], 0xffffffa8
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x2d0]
mov dword [edx + 0x14], eax
push 0
push 0xff
push 0
push 0
push 0x138
push 0xffffffffffffffa8
mov ecx, dword [ebp + 8]
push ecx
call fcn.10032260
add esp, 0x1c
mov eax, 0xffffffa8
jmp 0x10042e82
mov byte [ebp - 0x204], 0x5c
mov byte [ebp - 0x203], 0
push 0
lea edx, [ebp - 0x204]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.10042e86
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x10042dbb
mov eax, dword [ebp - 4]
jmp 0x10042e82
push 0x200
lea ecx, [ebp - 0x204]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0
lea edx, [ebp - 0x204]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.10042e86
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x10042df3
mov eax, dword [ebp - 4]
jmp 0x10042e82
mov byte [ebp - 0x204], 0x2f
mov byte [ebp - 0x202], 0x61
mov byte [ebp - 0x201], 0x72
mov byte [ebp - 0x203], 0x76
mov byte [ebp - 0x200], 0
push 0
lea ecx, [ebp - 0x204]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.10042e86
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x10042e39
mov eax, dword [ebp - 4]
jmp 0x10042e82
mov byte [ebp - 0x204], 0x2f
mov byte [ebp - 0x200], 0
mov byte [ebp - 0x202], 0x6d
mov byte [ebp - 0x203], 0x74
mov byte [ebp - 0x201], 0x70
push 0
lea eax, [ebp - 0x204]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.10042e86
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x10042e7f
mov eax, dword [ebp - 4]
jmp 0x10042e82
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x10043ed4
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp dword [ebp + 0x10], 0
je 0x10043eea
mov eax, dword [ebp + 0x10]
mov dword [0x102f4020], eax
jmp 0x10043ef4
mov dword [0x102f4020], 0xffffffff
mov ecx, dword [ebp + 0x14]
mov dword [0x102f401c], ecx
cmp dword [0x102e2250], 0
je 0x10043f15
mov edx, dword [0x102f4028]
push edx
call dword [sym.imp.KERNEL32.dll_SetEvent]
jmp 0x10043f86
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [0x102f4028], eax
cmp dword [0x102f4028], 0
jne 0x10043f35
xor eax, eax
jmp 0x10043f8b
push 4
push 1
call fcn.100f26ee
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x10043f4e
xor eax, eax
jmp 0x10043f8b
mov eax, dword [ebp - 4]
mov ecx, dword [0x102f4028]
mov dword [eax], ecx
mov edx, dword [ebp - 4]
push edx
push 0
push 0x10043e41
call fcn.100f339d
add esp, 0xc
mov dword [0x102e2250], eax
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [0x102e2250], 0
jne 0x10043f86
xor eax, eax
jmp 0x10043f8b
mov eax, dword [0x102e2250]
mov esp, ebp
pop ebp
ret

Function at 0x10043fb0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
push eax
call fcn.100f162f
add esp, 4
mov dword [0x102e2248], eax
cmp dword [0x102e2248], 0
je 0x10043fd7
mov eax, dword [0x102e2248]
jmp 0x10044050
lea ecx, [ebp - 0x10]
push ecx
push 1
push 0
push str.SOFTWAREFLEXlm_License_Manager
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x1004404e
mov dword [ebp - 0xc], 0xc7
lea edx, [ebp - 0xc]
push edx
push 0x102e2180
lea eax, [ebp - 4]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x10044040
mov dword [0x102e2248], 0x102e2180
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [0x102e2248]
jmp 0x10044050
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x10044050
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x10047384
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp dword [ebp + 0x10], 0xffffff9d
jne 0x100473d9
mov dword [0x10113800], 0xffffffff
mov dword [ebp - 8], 0
jmp 0x100473ac
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 4
jae 0x100473d4
mov ecx, dword [ebp - 8]
shl ecx, 4
mov dword [ecx + 0x101137c8], 0
mov edx, dword [ebp - 8]
shl edx, 4
mov dword [edx + 0x101137cc], 0
jmp 0x100473a3
jmp 0x10047587
cmp dword [ebp + 0x10], 4
jb 0x100473f5
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x34]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_EndDialog]
jmp 0x10047587
cmp dword [ebp + 0x10], 0
jl 0x10047401
cmp dword [ebp + 0x10], 4
jb 0x10047406
jmp 0x10047587
cmp dword [0x10113800], 0
jge 0x10047418
cmp dword [0x10113800], 4
jae 0x1004742f
push 0
mov eax, dword [0x10113800]
shl eax, 4
mov ecx, dword [eax + 0x101137c8]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [ebp + 0x10]
mov dword [0x10113800], edx
mov eax, dword [0x10113800]
shl eax, 4
cmp dword [eax + 0x101137cc], 0
jne 0x10047478
mov ecx, dword [0x10113800]
shl ecx, 4
mov edx, dword [ecx + 0x101137c8]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.1004758b
add esp, 8
mov ecx, dword [0x10113800]
shl ecx, 4
mov dword [ecx + 0x101137cc], 1
push 0
push 0
push 0xaec
mov edx, dword [0x10113800]
shl edx, 4
mov eax, dword [edx + 0x101137c8]
push eax
mov ecx, dword [0x10113800]
shl ecx, 4
call dword [ecx + 0x101137c0]
push 5
mov edx, dword [0x10113800]
shl edx, 4
mov eax, dword [edx + 0x101137c8]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [ebp - 8], 0
jmp 0x100474ca
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 3
jae 0x10047587
mov edx, dword [ebp - 8]
mov eax, dword [edx*8 + 0x10113808]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x10047582
mov edx, dword [ebp - 8]
mov eax, dword [edx*8 + 0x1011380c]
mov ecx, dword [ebp + 0xc]
movsx edx, byte [ecx + eax + 0x13c]
and edx, 1
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx*8 + 0x1011380c]
mov eax, dword [ebp + 0xc]
movsx ecx, byte [eax + edx + 0x13c]
and ecx, 2
test ecx, ecx
je 0x10047582
mov edx, dword [ebp - 8]
mov eax, dword [edx*8 + 0x1011380c]
imul eax, eax, 0x32
mov ecx, dword [ebp + 0xc]
lea edx, [ecx + eax + 0x13f]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx*8 + 0x1011380c]
mov eax, dword [ebp + 0xc]
mov cl, byte [eax + edx + 0x13c]
and cl, 0xfd
mov edx, dword [ebp - 8]
mov eax, dword [edx*8 + 0x1011380c]
mov edx, dword [ebp + 0xc]
mov byte [edx + eax + 0x13c], cl
jmp 0x100474c1
mov esp, ebp
pop ebp
ret
Function at 0x10048cc0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
and eax, 0xff
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 8]
and ecx, 0xffff
sar ecx, 8
and ecx, 0xff
and ecx, 0xff
mov dword [ebp - 4], ecx
cmp dword [ebp - 8], 0x80000000
jae 0x10048d15
mov edx, dword [ebp - 8]
shr edx, 0x10
and edx, 0xffff
and edx, 0xffff
mov dword [ebp - 0x14], edx
jmp 0x10048d3a
cmp dword [ebp - 0x10], 4
jae 0x10048d33
mov eax, dword [ebp - 8]
shr eax, 0x10
and eax, 0xffff
and eax, 0xffff
and ah, 0x7f
mov dword [ebp - 0x14], eax
jmp 0x10048d3a
mov dword [ebp - 0x14], 0
cmp dword [ebp - 0x10], 5
jne 0x10048d4d
cmp dword [ebp - 4], 2
jne 0x10048d4d
mov dword [ebp - 0xc], 8
cmp dword [ebp - 0x10], 5
jne 0x10048d60
cmp dword [ebp - 4], 1
jne 0x10048d60
mov dword [ebp - 0xc], 7
cmp dword [ebp - 0x10], 5
jne 0x10048d73
cmp dword [ebp - 4], 0
jne 0x10048d73
mov dword [ebp - 0xc], 6
cmp dword [ebp - 0x10], 4
jne 0x10048d86
cmp dword [ebp - 4], 0
jne 0x10048d86
mov dword [ebp - 0xc], 4
cmp dword [ebp - 0x10], 3
jne 0x10048d99
cmp dword [ebp - 4], 0
jne 0x10048d99
mov dword [ebp - 0xc], 5
cmp dword [ebp - 0x10], 4
jne 0x10048dac
cmp dword [ebp - 4], 1
jne 0x10048dac
mov dword [ebp - 0xc], 3
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x10048db3
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
push edi
mov dword [ebp - 0x114], 0
mov dword [ebp - 0x10c], 0
mov dword [ebp - 0x108], 0
mov dword [ebp - 0x120], 0
mov byte [ebp - 0x104], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x103]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x118], 0
push str.FLEXLM_TS_GATE
call fcn.100f162f
add esp, 4
mov dword [ebp - 0x120], eax
cmp dword [ebp - 0x120], 0
je 0x10048e4d
push str.bypass
mov eax, dword [ebp - 0x120]
push eax
call fcn.100f2920
add esp, 8
test eax, eax
jne 0x10048e4d
xor eax, eax
jmp 0x1004902d
cmp dword [0x102e27c0], 0
jne 0x10049021
call sub.KERNEL32.dll_GetCurrentProcessId
push eax
push str.TerminalServerFlexlmMutex
push 0x10113de4
lea ecx, [ebp - 0x104]
push ecx
call fcn.100f0f37
add esp, 0x10
lea edx, [ebp - 0x104]
push edx
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [ebp - 0x11c], eax
cmp dword [ebp - 0x11c], 0
jne 0x10048ea0
xor eax, eax
jmp 0x1004902d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x10048ebc
push 0xffffffffffffffff
mov eax, dword [ebp - 0x11c]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [0x102e27c0], 0
jne 0x10049007
call fcn.10048cc0
mov dword [ebp - 0x110], eax
mov ecx, dword [ebp - 0x110]
mov dword [ebp - 0x124], ecx
mov edx, dword [ebp - 0x124]
sub edx, 1
mov dword [ebp - 0x124], edx
cmp dword [ebp - 0x124], 7
ja case.0x10048f02.1
mov eax, dword [ebp - 0x124]
jmp dword [eax*4 + 0x10049032]
jmp case.0x10048f02.1
push 0x10113dec
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x102e27d0], eax
cmp dword [0x102e27d0], 0
je 0x10048fc0
push str.WTSEnumerateSessionsA
mov ecx, dword [0x102e27d0]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x102e27c8], eax
cmp dword [0x102e27c8], 0
je 0x10048fc0
push str.WTSFreeMemory
mov edx, dword [0x102e27d0]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x102e27cc], eax
cmp dword [0x102e27cc], 0
je 0x10048fc0
lea eax, [ebp - 0x10c]
push eax
lea ecx, [ebp - 0x114]
push ecx
push 1
push 0
push 0
call dword [0x102e27c8]
cmp dword [ebp - 0x114], 0
je 0x10048f9a
mov edx, dword [ebp - 0x114]
cmp dword [edx + 8], 0
jne 0x10048fa9
mov eax, dword [ebp - 0x114]
push eax
call dword [0x102e27cc]
jmp 0x10048fc0
mov ecx, dword [ebp - 0x114]
push ecx
call dword [0x102e27cc]
mov dword [0x102e27c4], 1
mov edx, dword [0x102e27d0]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x102e27d0], 0
jmp case.0x10048f02.1
push 0x1000
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [ebp - 0x118], eax
cmp dword [ebp - 0x118], 0
je case.0x10048f02.1
mov dword [0x102e27c4], 1
mov dword [0x102e27c0], 1
mov eax, dword [ebp - 0x11c]
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov ecx, dword [ebp - 0x11c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
cmp dword [0x102e27c4], 0
setne al
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x10052c80
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x10]
and ecx, 0xff
mov byte [ebp - 0xc], cl
mov edx, dword [ebp + 0x10]
sar edx, 8
and edx, 0xff
mov byte [ebp - 0xb], dl
mov eax, dword [ebp + 0x10]
sar eax, 0x10
and eax, 0xff
mov byte [ebp - 0xa], al
mov ecx, dword [ebp + 0x10]
sar ecx, 0x18
and ecx, 0xff
mov byte [ebp - 9], cl
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 0xc]
sub eax, 1
mov dword [ebp + 0xc], eax
test edx, edx
je 0x10052d0d
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 8]
mov al, byte [ecx]
xor al, byte [ebp + edx - 0xc]
mov ecx, dword [ebp + 8]
mov byte [ecx], al
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
cmp dword [ebp - 8], 3
jle 0x10052d02
mov dword [ebp - 8], 0
mov eax, dword [ebp + 8]
add eax, 1
mov dword [ebp + 8], eax
jmp 0x10052ccb
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x10060ac0
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], 0x14
cmp dword [ebp + 0xc], 0
je 0x10060aef
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x6c]
movsx edx, byte [ecx + 0x48]
test edx, edx
je 0x10060aef
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x6c]
add ecx, 0x48
mov dword [ebp - 4], ecx
jmp 0x10060b2b
lea edx, [ebp - 8]
push edx
push 0x102e2ba0
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
je 0x10060b0b
mov dword [ebp - 4], 0x102e2ba0
jmp 0x10060b2b
push 0x13
push 0x102e2ba0
call fcn.1004bb90
test eax, eax
jne 0x10060b24
mov dword [ebp - 4], 0x102e2ba0
jmp 0x10060b2b
mov dword [ebp - 4], str.Unknown
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x6c]
movsx edx, byte [ecx + 0x48]
test edx, edx
jne 0x10060b5b
push 0x14
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x6c]
add edx, 0x48
push edx
call fcn.100f1710
add esp, 0xc
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x6c]
mov byte [ecx + 0x5c], 0
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x10060b70
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push 0x10115650
lea eax, [ebp - 0x14]
push eax
call fcn.100f2830
add esp, 8
mov dword [ebp - 0x24], 0
jmp 0x10060b99
mov ecx, dword [ebp - 0x24]
add ecx, 1
mov dword [ebp - 0x24], ecx
cmp dword [ebp - 0x24], 3
jge 0x10060bba
lea edx, [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 3
jne 0x10060bb0
jmp 0x10060bba
mov al, byte [ebp - 0x14]
add al, 1
mov byte [ebp - 0x14], al
jmp 0x10060b90
push 0
push 0
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x1c]
push eax
push 0
push 0
lea ecx, [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov eax, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret
Function at 0x10061809
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], 0x1010c560
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.100687a0
add esp, 0xc
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.100689a9
add esp, 8
push 0x40
push 0x1000
mov edx, dword [ebp - 8]
add edx, 0xa
push edx
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x1006185d
xor eax, eax
jmp 0x10061892
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.100f1850
add esp, 0xc
mov eax, dword [ebp - 8]
push eax
push 0
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.100f1b90
add esp, 0xc
mov edx, dword [ebp - 0xc]
push edx
call fcn.1003d4b7
add esp, 4
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x10067c40
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x11c]
push eax
push 0x20019
push 0
push str.SoftwareMicrosoftWindows_NTCurrentVersionNetworkCards
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x10067da7
mov dword [ebp - 0x120], 0x104
mov dword [ebp - 0x10], 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x120]
push ecx
lea edx, [ebp - 0x118]
push edx
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x124], eax
mov ecx, dword [ebp - 0x124]
push ecx
mov edx, dword [ebp - 0x11c]
push edx
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x10067d98
lea ecx, [ebp - 4]
push ecx
push 0x20019
push 0
lea edx, [ebp - 0x118]
push edx
mov eax, dword [ebp - 0x11c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x10067d7f
mov dword [ebp - 0x120], 0
lea ecx, [ebp - 0x120]
push ecx
push 0
lea edx, [ebp - 8]
push edx
push 0
push 0x10115de0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x120]
add ecx, 1
push ecx
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0x14], eax
lea edx, [ebp - 0x120]
push edx
mov eax, dword [ebp - 0x14]
push eax
lea ecx, [ebp - 8]
push ecx
push 0
push str.ServiceName
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0x14], 0
je 0x10067d75
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.100f2830
add esp, 8
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x120], 0x104
jmp 0x10067c8c
mov ecx, dword [ebp - 0x11c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x10067dae
mov eax, 0xffffff01
jmp 0x10067db0
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x10068121
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push edi
mov byte [ebp - 0x104], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x103]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x10c], 0
mov dword [ebp - 0x108], 0
cmp dword [0x102e2be0], 0
jne 0x1006824f
call sub.KERNEL32.dll_GetCurrentProcessId
push eax
push str.IPHelperMutex
push str._s__d
lea eax, [ebp - 0x104]
push eax
call fcn.100f0f37
add esp, 0x10
lea ecx, [ebp - 0x104]
push ecx
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [ebp - 0x10c], eax
cmp dword [ebp - 0x10c], 0
jne 0x100681ab
xor eax, eax
jmp 0x10068255
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x100681c7
push 0xffffffffffffffff
mov edx, dword [ebp - 0x10c]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [0x102e2be0], 0
jne 0x10068235
push str.iphlpapi.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x102e2be4], eax
cmp dword [0x102e2be4], 0
jne 0x100681f5
mov dword [ebp - 0x108], 0xfffffffe
jmp 0x1006822b
push str.GetNetworkParams
mov eax, dword [0x102e2be4]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x102e2bd8], eax
cmp dword [0x102e2bd8], 0
je 0x1006822b
push str.GetAdaptersInfo
mov ecx, dword [0x102e2be4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x102e2bdc], eax
mov dword [0x102e2be0], 1
mov edx, dword [ebp - 0x10c]
push edx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, dword [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x108]
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x10068b3c
Capabilities:
Create service
Persist via windows service
Start service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x10115eac]
mov dword [ebp - 8], eax
mov ecx, dword [0x10115eb0]
mov dword [ebp - 4], ecx
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x10068c06
push 0xf01ff
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x10068bb1
push 0
push 0
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_StartServiceA]
test eax, eax
je 0x10068ba4
mov eax, 1
jmp 0x10068c08
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x10], eax
xor eax, eax
jmp 0x10068c08
push 0
push 0
push 0
push 0
push str.Extended_Base
push str.SYSTEM32driversDS1410D.SYS
push 1
push 2
push 1
push 0xf01ff
lea edx, [ebp - 8]
push edx
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_CreateServiceA]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x10068c06
push 0
push 0
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_StartServiceA]
test eax, eax
je 0x10068c02
mov eax, 1
jmp 0x10068c08
xor eax, eax
jmp 0x10068c08
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x10069ae9
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov byte [ebp - 4], 1
cmp dword [0x102e2c2c], 0
je 0x10069b0a
mov al, byte [ebp + 8]
push eax
push 2
call fcn.10069b7d
add esp, 8
jmp 0x10069b79
cmp dword [0x102e2c28], 0
je 0x10069b77
cmp dword [0x102e2c10], 0
je 0x10069b72
mov byte [0x102f33e4], 1
mov cl, byte [ebp + 8]
mov byte [0x102f33e5], cl
push 0
push 0x102f33f0
push 2
push 0x102f33e4
mov edx, dword [0x102f33fc]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x10069b72
push 0
push 0x102f33f0
push 1
push 0x102f33e4
mov eax, dword [0x102f33fc]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10069b72
mov cl, byte [0x102f33e4]
mov byte [ebp - 4], cl
mov al, byte [ebp - 4]
jmp 0x10069b79
xor al, al
mov esp, ebp
pop ebp
ret

Function at 0x10069bee
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov al, byte [ebp + 8]
mov byte [ebp - 4], al
cmp dword [0x102e2c2c], 0
je 0x10069c11
mov cl, byte [ebp + 8]
push ecx
push 3
call fcn.10069b7d
add esp, 8
jmp 0x10069c80
cmp dword [0x102e2c28], 0
je 0x10069c7e
cmp dword [0x102e2c10], 0
je 0x10069c79
mov byte [0x102f33e4], 2
mov dl, byte [ebp + 8]
mov byte [0x102f33e5], dl
push 0
push 0x102f33f0
push 2
push 0x102f33e4
mov eax, dword [0x102f33fc]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x10069c79
push 0
push 0x102f33f0
push 1
push 0x102f33e4
mov ecx, dword [0x102f33fc]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10069c79
mov dl, byte [0x102f33e4]
mov byte [ebp - 4], dl
mov al, byte [ebp - 4]
jmp 0x10069c80
xor al, al
mov esp, ebp
pop ebp
ret

Function at 0x10069c84
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov byte [ebp - 4], 0
cmp dword [0x102e2c2c], 0
je 0x10069ca3
push 0
push 1
call fcn.10069b7d
add esp, 8
jmp 0x10069d1b
cmp dword [0x102e2c28], 0
je 0x10069d19
cmp dword [0x102e2c10], 0
je 0x10069d14
mov byte [0x102f33e4], 0
mov al, byte [0x10115e98]
mov byte [0x102f33e5], al
push 0
push 0x102f33f0
push 2
push 0x102f33e4
mov ecx, dword [0x102f33fc]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x10069d0c
push 0
push 0x102f33f0
push 1
push 0x102f33e4
mov edx, dword [0x102f33fc]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10069d0c
mov al, byte [0x102f33e4]
mov byte [ebp - 4], al
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
mov al, byte [ebp - 4]
jmp 0x10069d1b
xor al, al
mov esp, ebp
pop ebp
ret