joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1067696
Capabilities:
Hash data using murmur3

Disassembly:
neg esi
xor esi, dword [0x1075ae6]
call fcn.0102ec01
sub esi, esp
xor ebx, esi
xor edx, 0xf7570b4b
or eax, dword [0x1075bb8]
or dword [0x10755c3], 0x8f978eeb
add esi, dword [0x1075cd3]
not esi
rol ecx, 0x1b
mov dword [0x10758b4], ebx
call fcn.01010495
inc esi
invalid
invalid
invalid
pop eax

Function at 0x10676d8
Capabilities:
Hash data using murmur3

Disassembly:
pop es
add dword [esi - 0x7e5a5f69], esi
ret

Function at 0x1067962
Capabilities:
Hash data using murmur3

Disassembly:
inc edx
xor dword [0x107588a], edi
xor ecx, eax
xor edx, 0x8d24b875
call fcn.01053c37
not edi
add edx, 0xba98a253
xor ebx, 0x391eec22
sub dword [0x10755f6], ecx
or dword [0x10757e8], ebx
sub esi, 0x524c269c
dec ecx
or dword [0x1075807], 0xb7c77674
sub edi, edx
call fcn.01010495
add eax, dword [0x1075baa]
add edx, 0x89900b4f
xor edi, dword [0x1075f79]
neg esi
xor eax, ebx
ror edi, 0x1f
xor esi, edi
add ecx, ebp
xchg esi, edx
sub dword [0x1075926], ebx
sub dword [0x107577b], esi
or dword [0x10756ee], edx
and dword [0x1075936], edi
xchg esi, edx
sub ecx, ebp
xor esi, edi

Function at 0x10679e5
Capabilities:
Hash data using murmur3

Disassembly:
rol edi, 0x1f
xor eax, ebx
neg esi
sub edx, 0x89900b4f
add edi, edx
inc ecx
push esi
xor ecx, dword [0x1075b55]
xchg ebx, esi
xor ecx, 0xbcedf51b
xor dword [0x10757de], edi
or esi, dword [0x1075c3c]
neg esi
xor ecx, ebx
xor eax, dword [0x1075c47]
mov dword [0x1075878], edi
not esi
dec edi
call fcn.0102ec01
xor dword [0x10755b8], edx
mov dword [0x10756d0], edx
sub edi, ebx
add edi, ebx
sub dword [0x107599b], ebx
call fcn.0101f354
inc edi
not esi
sub dword [0x1075746], edx
xor ecx, ebx
neg esi
xor ecx, 0xbcedf51b
xchg ebx, esi
push esp
add dword [0x1075a0b], eax
add eax, 0x1075a0b
rol edx, 0x12
xor edi, dword [0x1075be5]
call fcn.01046a7f
xor ebx, 0x771b962f
not eax
xor esi, ebx
not ebx
call fcn.010413cf
ror edx, 0x13
and dword [0x107570a], edi
call fcn.0104a460
call fcn.0103085d
and dword [0x10756d8], esi
rol edx, 0x13
call fcn.0102137d
not ebx
xor esi, ebx
not eax
xor ebx, 0x771b962f
call fcn.010402cf
ror edx, 0x12
mov dword [0x10757d6], eax
push eax
xor esi, ecx
xor ecx, dword [0x1075d37]
neg esi
call fcn.0102ff21
xor edx, 0x762f91ba
Function at 0x1068080
Capabilities:
Hash data using murmur3

Disassembly:
mov bl, 0xfe
dec dword [ebx]
add eax, 0x1075ee3

Function at 0x10684f7
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
and dword [ebp - 4], 0
push ebx
push esi
mov esi, ecx
lea ecx, [ebp - 0x10]
call fcn.0106d6aa
push 0x1010a98
mov ecx, esi
call fcn.01067664
test al, al
je 0x10685c2
push dword [esi + 0x28]
call fcn.0106e700
test al, al
je 0x106853b
mov dword [ebp - 4], 4
jmp 0x10685d9
mov eax, dword [esi + 0x28]
xor bl, bl
xor ecx, ecx
test eax, eax
je 0x106854c
cmp word [eax], cx
setne cl
test cl, cl
je 0x1068572
movzx cx, byte [eax]
cmp cx, word [eax]
jne 0x1068572
mov bl, byte [eax]
movzx eax, bl
mov al, byte [eax + 0x1074cf0]
test al, al
jbe 0x1068572
movzx eax, al
mov dword [ebp - 4], eax
test eax, eax
jne 0x10685d9
mov eax, dword [esi + 0x28]
push 3
push eax
lea ecx, [ebp - 0x10]
call fcn.0106de7c
test eax, eax
jl 0x10685d9
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov dword [ebp - 4], eax
cmp eax, 2
jne 0x10685b4
push dword [ebp - 0x10]
mov ecx, esi
call fcn.01068080
cmp eax, 0x15e
je 0x10685ad
cmp eax, 0x20d
jne 0x10685b4
mov dword [ebp - 4], 0x80
mov cl, byte [ebp - 4]
movzx eax, bl
mov byte [eax + 0x1074cf0], cl
jmp 0x10685d9
push 0x1010ad0
mov ecx, esi
call fcn.01067664
test al, al
je 0x10685d9
mov dword [ebp - 4], 5
lea ecx, [ebp - 0x10]
call fcn.0106de2a
mov eax, dword [ebp - 4]
pop esi
pop ebx
leave
ret
Function at 0x1004cc0
Capabilities:
Create thread

Disassembly:
push 8
mov eax, 0x101441b
call fcn.01008389
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ebx, [esi + 4]
xor edi, edi
mov ecx, ebx
mov dword [esi], edi
call fcn.01002ff5
push 0x101746c
mov dword [ebp - 4], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
push edi
push 0xa
mov ecx, ebx
call fcn.010030ba
cmp eax, edi
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
jl 0x1004d64
mov ebx, dword [sym.imp.KERNEL32.dll_CreateSemaphoreA]
push edi
push 0x64
push edi
push edi
call ebx
cmp eax, edi
mov dword [esi], eax
jne 0x1004d37
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
jle 0x1004d30
and eax, 0xffff
or eax, 0x80070000
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
jmp 0x1004d64
push edi
push 1
push edi
push edi
call ebx
cmp eax, edi
mov dword [esi + 0x48], eax
je 0x1004d1c
lea eax, [ebp - 0x14]
push eax
push edi
push esi
push 0x1004caa
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, edi
mov dword [esi + 0x4c], eax
je 0x1004d1c
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov eax, esi
call fcn.010083fc
ret 4

Function at 0x1004e8e
Capabilities:
Get system information on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x1017068]
xor eax, ebp
mov dword [ebp - 4], eax
test byte [0x10174e4], 1
push ebx
push esi
push edi
jne 0x1004ebd
or dword [0x10174e4], 1
call fcn.01004e2d
mov dword [0x10174e0], eax
push 4
pop eax
call fcn.01008450
mov esi, esp
push 0x1c
lea eax, [ebp - 0x2c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x1004edf
xor eax, eax
jmp 0x1004f9b
mov ebx, dword [ebp - 0x28]
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x4c]
lea edi, [eax - 1]
not edi
and edi, esi
sub edi, eax
mov dword [ebp - 0xc], eax
mov eax, dword [0x1017420]
mov esi, eax
dec esi
neg esi
sbb esi, esi
and esi, 0xffff1000
add esi, 0x11000
add esi, ebx
cmp edi, esi
jb 0x1004ed8
cmp eax, 1
je 0x1004f7c
mov dword [ebp - 8], ebx
mov ebx, 0x1000
push 0x1c
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x1004ed8
mov eax, dword [ebp - 0x20]
add dword [ebp - 8], eax
test dword [ebp - 0x1c], ebx
je 0x1004f26
test word [ebp - 0x18], 0x100
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 8], eax
je 0x1004f57
xor eax, eax
inc eax
jmp 0x1004f9b
cmp edi, eax
jb 0x1004ed8
cmp eax, esi
jae 0x1004f66
mov dword [ebp - 8], esi
push 4
push ebx
push dword [ebp - 0xc]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov eax, dword [0x1017420]
jmp 0x1004f7f
mov dword [ebp - 8], edi
dec eax
neg eax
sbb eax, eax
and eax, 0x103
lea ecx, [ebp - 0x10]
push ecx
inc eax
push eax
push dword [ebp - 0xc]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea esp, [ebp - 0x5c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0100836d
leave
ret
Function at 0x1007a12
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x14
mov eax, 0x1014628
call fcn.010083c1
xor edi, edi
mov dword [ebp - 0x14], edi
cmp dword [ebp + 8], edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], edi
je 0x1007a72
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea esi, [eax + eax + 2]
cmp esi, 0x400
jg 0x1007a5b
push esi
call fcn.01004fb2
test al, al
je 0x1007a5b
mov eax, esi
call fcn.010085b0
mov eax, esp
jmp 0x1007a64
push esi
lea ecx, [ebp - 0x14]
call fcn.0100629e
push esi
push dword [ebp + 8]
push eax
call fcn.010050e1
cmp eax, edi
jne 0x1007a8c
mov esi, 0x8007000e
lea ecx, [ebp - 0x14]
call fcn.01005e3c
mov eax, esi
lea esp, [ebp - 0x30]
call fcn.01008415
ret 0x10
push 2
push edi
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov ebx, eax
cmp ebx, edi
mov dword [ebp - 0x18], ebx
jne 0x1007ab9
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
jg 0x1007aad
mov esi, eax
jmp 0x1007a77
and eax, 0xffff
or eax, 0x80070000
jmp 0x1007aa9
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
cmp esi, edi
jne 0x1007ae6
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
jle 0x1007b60
and eax, 0xffff
or eax, 0x80070000
jmp 0x1007b60
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
cmp ebx, edi
je 0x1007acc
push esi
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
cmp byte [esi + ebx], 0
mov edi, ebx
je 0x1007b50
lea edi, [esi + 1]
cmp edi, 0x400
ja 0x1007b28
push edi
call fcn.01004fb2
test al, al
je 0x1007b28
mov eax, edi
call fcn.010085b0
mov edi, esp
jmp 0x1007b33
push edi
lea ecx, [ebp - 0x14]
call fcn.0100629e
mov edi, eax
test edi, edi
jne 0x1007b3e
mov esi, 0x8007000e
jmp 0x1007b62
lea eax, [esi + 1]
push eax
push ebx
push edi
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov byte [edi + esi], 0
test edi, edi
je 0x1007b37
push dword [ebp + 0x14]
lea ecx, [ebp - 0x20]
push edi
call fcn.010076da
mov esi, eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x1007a77

Function at 0x1008950
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
cmp word [ecx], 0x5a4d
je 0x1008963
xor eax, eax
pop ebp
ret
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x100895f
xor ecx, ecx
cmp word [eax + 0x18], 0x10b
sete cl
mov eax, ecx
pop ebp
ret

Function at 0x1008990
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
push ebx
push esi
movzx esi, word [ecx + 6]
xor edx, edx
test esi, esi
push edi
lea eax, [eax + ecx + 0x18]
jbe 0x10089cf
mov edi, dword [ebp + 0xc]
mov ecx, dword [eax + 0xc]
cmp edi, ecx
jb 0x10089c5
mov ebx, dword [eax + 8]
add ebx, ecx
cmp edi, ebx
jb 0x10089d1
add edx, 1
add eax, 0x28
cmp edx, esi
jb 0x10089b5
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x100ad7a
Capabilities:
Check os version
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x128
mov eax, dword [0x1017068]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
lea eax, [ebp - 0x120]
push eax
push 0x20019
xor ebx, ebx
push ebx
push 0x1001e00
push bind
mov dword [ebp - 0x11c], ebx
mov dword [ebp - 0x120], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
je 0x100add3
jle 0x100adcc
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
jmp 0x100ae69
lea eax, [ebp - 0x124]
push eax
lea eax, [ebp - 0x11c]
push eax
lea eax, [ebp - 0x128]
push eax
push ebx
push 0x1001de0
push dword [ebp - 0x120]
mov dword [ebp - 0x124], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, ebx
je 0x100ae56
jle 0x100ae14
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
lea eax, [ebp - 0x118]
push eax
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x108], 2
jne 0x100ae69
xor eax, eax
inc eax
cmp dword [ebp - 0x114], 5
ja 0x100ae4c
jne 0x100ae69
cmp dword [ebp - 0x110], eax
jb 0x100ae69
mov dword [ebp - 0x11c], eax
xor esi, esi
jmp 0x100ae69
mov esi, dword [ebp - 0x128]
sub esi, 4
neg esi
sbb esi, esi
and esi, 0x8000ffff
cmp dword [ebp - 0x120], ebx
je 0x100ae7d
push dword [ebp - 0x120]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, ebx
jge 0x100ae87
mov dword [ebp - 0x11c], ebx
mov ecx, dword [ebp - 4]
xor eax, eax
cmp dword [ebp - 0x11c], ebx
pop esi
setne al
xor ecx, ebp
pop ebx
call fcn.0100836d
leave
ret

Function at 0x100c0ed
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ecx]
push ebx
xor ebx, ebx
cmp eax, ebx
mov dword [ebp - 8], ecx
jne 0x100c10a
mov eax, 0x80004005
jmp 0x100c18d
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov edi, dword [ebp + 0x10]
push edi
push ebx
lea ecx, [ebp - 4]
push ecx
push ebx
push dword [ebp + 8]
mov dword [ebp - 4], ebx
push eax
call esi
cmp eax, ebx
jle 0x100c135
and eax, 0xffff
or eax, 0x80070000
cmp eax, ebx
jl 0x100c18b
cmp dword [ebp - 4], 3
je 0x100c144
mov eax, 0xc00d002f
jmp 0x100c18b
mov ebx, dword [ebp + 0xc]
push dword [edi]
mov ecx, ebx
call fcn.01003033
mov eax, dword [ebx]
test eax, eax
jne 0x100c15d
mov eax, 0x8007000e
jmp 0x100c18b
push dword [edi]
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
push edi
push dword [ebx]
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 8]
push 0
push dword [ebp + 8]
push dword [eax]
call esi
test eax, eax
jle 0x100c18b
and eax, 0xffff
or eax, 0x80070000
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x100c600
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x1017068]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov eax, ecx
mov ecx, dword [ebp + 8]
push edi
mov dword [ebp - 0x120], eax
mov eax, dword [eax]
xor edi, edi
cmp eax, edi
mov dword [ebp - 0x118], ecx
mov dword [ebp - 0x11c], edx
jne 0x100c642
mov eax, 0x80004005
jmp 0x100c736
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea edx, [ebp - 0x110]
push edx
push edi
lea edx, [ebp - 0x114]
push edx
push edi
push ecx
push eax
mov dword [ebp - 0x110], edi
mov dword [ebp - 0x114], edi
call esi
cmp eax, edi
jle 0x100c678
and eax, 0xffff
or eax, 0x80070000
mov ebx, eax
cmp ebx, edi
jl 0x100c732
cmp dword [ebp - 0x114], 1
je 0x100c695
mov ebx, 0xc00d002f
jmp 0x100c732
mov eax, dword [ebp - 0x110]
add eax, 2
push eax
lea ecx, [ebp - 0x10c]
call fcn.01003495
cmp dword [ebp - 0x10c], edi
jne 0x100c6b9
mov ebx, 0x8007000e
jmp 0x100c727
mov eax, dword [ebp - 0x110]
add eax, 2
push eax
push edi
push dword [ebp - 0x10c]
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x110]
push eax
push dword [ebp - 0x10c]
lea eax, [ebp - 0x114]
push eax
mov eax, dword [ebp - 0x120]
push edi
push dword [ebp - 0x118]
push dword [eax]
call esi
cmp eax, edi
jle 0x100c705
and eax, 0xffff
or eax, 0x80070000
mov ebx, eax
cmp ebx, edi
jl 0x100c727
mov esi, dword [ebp - 0x11c]
push 0xffffffffffffffff
push dword [ebp - 0x10c]
mov ecx, esi
mov dword [esi + 4], edi
mov dword [esi], edi
call fcn.010034eb
mov ebx, dword [esi]
lea ecx, [ebp - 0x10c]
call fcn.010029e3
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.0100836d
leave
ret 8
Function at 0x100d6c4
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
xor esi, esi
push 0x1017888
mov dword [ebp - 0x10], esi
mov dword [0x1017888], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 4]
push eax
push esi
push 1
push esi
push esi
push esi
push 0x100211c
push bind
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x100d752
push 4
pop edi
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push esi
push 0x1002104
push dword [ebp - 4]
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], edi
mov dword [ebp - 0x14], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov ebx, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp ebx, esi
jne 0x100d752
cmp dword [ebp - 8], edi
jne 0x100d752
cmp dword [ebp - 0xc], esi
je 0x100d752
mov ebx, esi
jmp 0x100d7a7
call fcn.0100d598
test eax, eax
jne 0x100d760
push 3
pop edi
jmp 0x100d7c5
push 0x10020f8
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, eax
cmp ebx, esi
je 0x100d7a7
push 0x10020e0
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, esi
mov dword [0x10179ac], eax
je 0x100d7a7
lea eax, [ebp - 0x10]
push eax
call fcn.0100d661
test eax, eax
jl 0x100d7a1
mov eax, dword [ebp - 0x10]
cmp eax, esi
je 0x100d7a1
call fcn.0100d6ac
jmp 0x100d7b2
mov dword [0x10179ac], esi
xor edi, edi
cmp dword [0x1017898], 1
jne 0x100d7b5
xor edi, edi
inc edi
cmp ebx, esi
je 0x100d7c5
cmp edi, 1
je 0x100d7c5
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x1017394], edi
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x100e566
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
lea eax, [ebp - 8]
push eax
xor esi, esi
lea eax, [ebp - 4]
push eax
push esi
push 0x20006
push esi
push 0x100156c
push esi
push dword [ebp + 0xc]
mov dword [ebp - 8], esi
push dword [ebp + 8]
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov edi, eax
cmp edi, esi
jne 0x100e5bc
push dword [ebp + 0x14]
call dword [sym.imp.ADVAPI32.dll_GetSecurityDescriptorLength]
push eax
push dword [ebp + 0x14]
push 3
push esi
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, eax
cmp dword [ebp - 4], esi
je 0x100e5ca
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
leave
ret 0x10
Function at 0x100e5d7
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
xor ebx, ebx
push esi
mov esi, dword [ebp + 0x14]
cmp esi, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ebx
jne 0x100e5fb
push 0x57
pop eax
jmp 0x100e6be
mov eax, dword [ebp + 0x18]
cmp eax, ebx
je 0x100e5f3
push edi
mov dword [eax], ebx
lea eax, [ebp - 4]
push eax
push 0xf003f
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
cmp edi, ebx
je 0x100e63c
cmp edi, 2
jne 0x100e6ad
push esi
mov dword [esi], ebx
call fcn.0100e2b6
mov edi, eax
cmp edi, ebx
jne 0x100e6ad
xor edi, edi
jmp 0x100e6a4
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 8]
push eax
push ebx
lea eax, [ebp - 0xc]
push eax
push ebx
push dword [ebp + 0x10]
push dword [ebp - 4]
call edi
cmp eax, ebx
je 0x100e65d
cmp eax, 0x7a
jne 0x100e696
push dword [ebp - 8]
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
cmp eax, ebx
pop ecx
mov dword [esi], eax
jne 0x100e671
push 0xe
pop edi
jmp 0x100e6ad
lea ecx, [ebp - 8]
push ecx
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
push dword [ebp + 0x10]
push dword [ebp - 4]
call edi
mov edi, eax
cmp edi, ebx
je 0x100e6ad
mov eax, dword [esi]
cmp eax, ebx
je 0x100e696
push eax
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
push esi
mov dword [esi], ebx
call fcn.0100e2b6
mov edi, eax
cmp edi, ebx
jne 0x100e6ad
mov eax, dword [ebp + 0x18]
mov dword [eax], 1
cmp dword [ebp - 4], ebx
je 0x100e6bb
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 0x14

Function at 0x100ebba
Capabilities:
Compare security identifiers

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
push esi
xor esi, esi
cmp dword [ebp + 8], esi
mov dword [ebp - 8], esi
mov dword [ebp - 4], esi
jne 0x100ebd8
push 0x57
pop eax
jmp 0x100ec5b
cmp dword [ebp + 0xc], esi
je 0x100ebd0
push 2
push 0xc
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_GetAclInformation]
mov eax, dword [ebp - 0x18]
cmp eax, esi
jbe 0x100ec58
mov esi, dword [sym.imp.ADVAPI32.dll_DeleteAce]
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_EqualSid]
push edi
lea edi, [eax - 1]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
push eax
push edi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_GetAce]
test eax, eax
jne 0x100ec26
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
jmp 0x100ec50
mov eax, dword [ebp - 8]
mov cl, byte [eax]
test cl, cl
je 0x100ec39
cmp cl, 1
je 0x100ec39
cmp cl, 2
jne 0x100ec50
add eax, 8
push eax
push dword [ebp + 0xc]
call ebx
test eax, eax
je 0x100ec50
push edi
push dword [ebp + 8]
call esi
and dword [ebp - 4], 0
dec edi
dec dword [ebp - 0xc]
jne 0x100ec09
pop edi
pop ebx
mov eax, dword [ebp - 4]
pop esi
leave
ret 8
Function at 0x101026c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, 0x1017b5c
push esi
mov ecx, ebx
call fcn.01010106
xor esi, esi
cmp dword [0x1017b4c], esi
mov dword [ebp - 4], esi
jne 0x10102a7
call fcn.010101cd
cmp eax, esi
mov dword [ebp - 4], eax
jl 0x101036b
mov dword [0x1017b4c], 1
cmp dword [0x1017b50], esi
jne 0x101036b
push edi
push 0x1017a00
mov dword [0x1017a00], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
push 0x1002354
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, esi
je 0x1010379
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x1002340
push edi
call esi
push 0x1002334
push edi
mov dword [0x1017b18], eax
call esi
push 0x100232c
push edi
mov dword [0x1017b1c], eax
call esi
push 0x1002320
push edi
mov dword [0x1017b20], eax
call esi
push 0x1002314
push edi
mov dword [0x1017b24], eax
call esi
push 0x1002308
push edi
mov dword [0x1017b28], eax
call esi
push 0x1002300
push edi
mov dword [0x1017b2c], eax
call esi
push 0x10022f4
push edi
mov dword [0x1017b30], eax
call esi
push 0x10022e8
push edi
mov dword [0x1017b34], eax
call esi
push edi
mov dword [0x1017b38], eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x1017b50], 1
pop edi
mov ecx, ebx
call fcn.0101015e
mov eax, dword [ebp - 4]
pop esi
pop ebx
leave
ret
cmp dword [0x1017a10], 2
jne 0x1010360
cmp dword [0x1017a04], 4
jb 0x1010360
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, esi
jle 0x101039f
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 4], eax
jmp 0x101036a
Function at 0x10103a9
Capabilities:
Obtain transmitpackets callback function via wsaioctl
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x1017068]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ecx, 0x1017b5c
call fcn.01010106
xor eax, eax
inc eax
xor ebx, ebx
cmp dword [0x1017b1c], ebx
mov dword [0x1017b48], eax
je 0x1010522
push esi
push edi
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x30]
push eax
push 0x20019
push ebx
push 0x1002388
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
push 4
mov esi, 0xc8000006
pop edi
jne 0x1010445
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x38]
push eax
push ebx
push 0x100235c
push dword [ebp - 0x30]
mov dword [ebp - 0x3c], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1010437
cmp dword [ebp - 0x38], edi
jne 0x1010437
cmp dword [ebp - 0x28], ebx
setne al
mov dword [ebp - 0x34], eax
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x34], ebx
je 0x1010475
push ebx
push ebx
lea eax, [ebp - 0x2c]
push eax
push edi
push 0x1017b44
push 0x10
push 0x1017400
push esi
push dword [ebp + 8]
call dword [0x1017b1c]
cmp eax, 0xffffffff
mov dword [ebp - 0x28], eax
jne 0x101047b
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
mov dword [ebp - 0x28], eax
jmp 0x101047b
mov dword [0x1017b44], ebx
push ebx
push ebx
lea eax, [ebp - 0x2c]
push eax
push edi
push 0x1017b3c
push 0x10
lea eax, [ebp - 0x14]
push eax
push esi
push dword [ebp + 8]
mov dword [ebp - 0x14], 0xb5367df1
mov word [ebp - 0x10], 0xcbac
mov word [ebp - 0xe], 0x11cf
mov byte [ebp - 0xc], 0x95
mov byte [ebp - 0xb], 0xca
mov byte [ebp - 0xa], bl
mov byte [ebp - 9], 0x80
mov byte [ebp - 8], 0x5f
mov byte [ebp - 7], 0x48
mov byte [ebp - 6], 0xa1
mov byte [ebp - 5], 0x92
call dword [0x1017b1c]
push ebx
push ebx
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x2c]
push eax
push edi
push 0x1017b40
push 0x10
lea eax, [ebp - 0x24]
push eax
push esi
push dword [ebp + 8]
mov dword [ebp - 0x24], 0xb5367df2
mov word [ebp - 0x20], 0xcbac
mov word [ebp - 0x1e], 0x11cf
mov byte [ebp - 0x1c], 0x95
mov byte [ebp - 0x1b], 0xca
mov byte [ebp - 0x1a], bl
mov byte [ebp - 0x19], 0x80
mov byte [ebp - 0x18], 0x5f
mov byte [ebp - 0x17], 0x48
mov byte [ebp - 0x16], 0xa1
mov byte [ebp - 0x15], 0x92
call dword [0x1017b1c]
pop edi
mov dword [0x10179f8], ebx
pop esi
mov ecx, 0x1017b5c
call fcn.0101015e
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0100836d
leave
ret 4