joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10012ca0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x30
mov eax, dword [ebp + 8]
mov esi, dword [eax]
test esi, esi
je 0x10012d62
dec esi
push esi
call sub.kernel32.dll_TlsGetValue
cmp eax, 1
ja 0x10012d5a
je 0x10012d58
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x10012cee
mov ecx, dword [eax]
movups xmm0, xmmword [eax + 8]
mov dword [eax], 0
or ecx, dword [eax + 4]
mov dword [eax + 4], 0
jne 0x10012d08
xorps xmm0, xmm0
lea eax, [esp + 0x10]
movaps xmmword [esp + 0x10], xmm0
push 0x10
push eax
call dword [sym.imp.bcryptprimitives.dll_ProcessPrng]
movaps xmm0, xmmword [esp + 0x10]
mov eax, dword [0x106b6680]
movaps xmmword [esp], xmm0
movzx eax, byte [eax]
push 8
push 0x18
call fcn.1000d070
add esp, 8
test eax, eax
je 0x10012d7e
movaps xmm0, xmmword [esp]
movups xmmword [eax], xmm0
mov dword [eax + 0x10], esi
push esi
mov ebx, eax
call sub.kernel32.dll_TlsGetValue
mov edi, eax
mov dword [esp], ebx
push ebx
push esi
call sub.kernel32.dll_TlsSetValue
test edi, edi
je 0x10012d53
push 8
push 0x18
push edi
call fcn.1000d080
add esp, 0xc
mov eax, dword [esp]
jmp 0x10012d5a
xor eax, eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push eax
call fcn.100adc50
add esp, 4
mov esi, eax
push esi
call sub.kernel32.dll_TlsGetValue
cmp eax, 1
jbe 0x10012cc9
jmp 0x10012d5a
push 0x18
push 8
call fcn.100d08b0
nop word [eax + eax]

Function at 0x10012d90
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push eax
mov eax, dword [ebp + 8]
mov esi, dword [eax]
test esi, esi
je 0x10012e19
dec esi
push esi
call sub.kernel32.dll_TlsGetValue
cmp eax, 1
ja 0x10012e11
je 0x10012dc6
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x10012dca
mov edi, dword [eax]
mov dword [eax], 0
test edi, edi
je 0x10012dcc
mov edi, dword [eax + 4]
jmp 0x10012dcc
xor eax, eax
jmp 0x10012e11
xor edi, edi
mov eax, dword [0x106b6680]
movzx eax, byte [eax]
push 4
push 8
call fcn.1000d070
add esp, 8
test eax, eax
je 0x10012e35
mov dword [eax], edi
mov dword [eax + 4], esi
push esi
mov ebx, eax
call sub.kernel32.dll_TlsGetValue
mov edi, eax
mov dword [ebp - 0x10], ebx
push ebx
push esi
call sub.kernel32.dll_TlsSetValue
test edi, edi
je 0x10012e0e
push 4
push 8
push edi
call fcn.1000d080
add esp, 0xc
mov eax, dword [ebp - 0x10]
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret
push eax
call fcn.100adc50
add esp, 4
mov esi, eax
push esi
call sub.kernel32.dll_TlsGetValue
cmp eax, 1
jbe 0x10012dac
jmp 0x10012e11
push 8
push 4
call fcn.100d08b0
nop
Function at 0x10012e40
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push eax
mov eax, dword [ebp + 8]
mov esi, dword [eax]
test esi, esi
je 0x10012eff
dec esi
push esi
call sub.kernel32.dll_TlsGetValue
cmp eax, 1
ja 0x10012ef7
je 0x10012ef5
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x10012e7f
mov edi, dword [eax + 4]
cmp dword [eax], 0
mov dword [eax], 0
jne 0x10012e8f
call fcn.10052b60
push eax
call fcn.10050ce0
add esp, 4
mov edi, eax
mov eax, dword [0x106b6680]
movzx eax, byte [eax]
push 4
push 8
call fcn.1000d070
add esp, 8
test eax, eax
je 0x10012f26
mov dword [eax], edi
mov dword [eax + 4], esi
push esi
mov ebx, eax
call sub.kernel32.dll_TlsGetValue
mov edi, eax
mov dword [ebp - 0x10], ebx
push ebx
push esi
call sub.kernel32.dll_TlsSetValue
test edi, edi
je 0x10012ef0
mov eax, dword [edi]
mov ecx, dword [eax + 0x410]
lea edx, [ecx - 1]
mov dword [eax + 0x410], edx
cmp dword [eax + 0x40c], 0
jne 0x10012ee3
cmp ecx, 1
je 0x10012f1b
push 4
push 8
push edi
call fcn.1000d080
add esp, 0xc
mov eax, dword [ebp - 0x10]
jmp 0x10012ef7
xor eax, eax
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret
push eax
call fcn.100adc50
add esp, 4
mov esi, eax
push esi
call sub.kernel32.dll_TlsGetValue
cmp eax, 1
jbe 0x10012e64
jmp 0x10012ef7
push eax
call fcn.10051800
add esp, 4
jmp 0x10012ee3
push 8
push 4
call fcn.100d08b0
nop

Function at 0x10012f30
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov eax, dword [ebp + 8]
mov esi, dword [eax]
test esi, esi
je 0x10013001
dec esi
push esi
call sub.kernel32.dll_TlsGetValue
cmp eax, 1
ja 0x10012ff9
je 0x10012ff7
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x10012f86
mov ecx, dword [eax + 4]
mov edi, dword [eax + 8]
cmp dword [eax], 0
mov dword [eax], 0
je 0x10012f86
mov eax, edi
mov ebx, edi
mov dword [ebp - 0x10], ecx
shr eax, 0x10
shr ebx, 0x18
mov dword [ebp - 0x14], eax
jmp 0x10012f96
mov dword [ebp - 0x14], 0
xor edi, edi
mov dword [ebp - 0x10], 0
mov eax, dword [0x106b6680]
movzx eax, byte [eax]
push 4
push 0xc
call fcn.1000d070
add esp, 8
test eax, eax
je 0x1001301d
movzx edx, byte [ebp - 0x14]
movzx ecx, bl
shl ecx, 0x18
shl edx, 0x10
or edx, ecx
movzx ecx, di
or ecx, edx
mov edx, dword [ebp - 0x10]
mov dword [eax + 4], ecx
mov dword [eax], edx
mov dword [eax + 8], esi
push esi
mov ebx, eax
call sub.kernel32.dll_TlsGetValue
mov edi, eax
mov dword [ebp - 0x10], ebx
push ebx
push esi
call sub.kernel32.dll_TlsSetValue
test edi, edi
je 0x10012ff2
push 4
push 0xc
push edi
call fcn.1000d080
add esp, 0xc
mov eax, dword [ebp - 0x10]
jmp 0x10012ff9
xor eax, eax
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret
push eax
call fcn.100adc50
add esp, 4
mov esi, eax
push esi
call sub.kernel32.dll_TlsGetValue
cmp eax, 1
jbe 0x10012f56
jmp 0x10012ff9
push 0xc
push 4
call fcn.100d08b0
nop word cs:[eax + eax]
Function at 0x10013cf0
Capabilities:
List groups for user account

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x34
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
cmp byte [eax + 0x28], 0
je 0x10013d61
cmp dword [eax + 0x18], 0x80000000
je 0x10013d61
mov eax, dword [eax + 0x1c]
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x30], 0
lea edx, [ebp - 0x20]
lea esi, [ebp - 0x1c]
push ecx
push edx
push 0xffffffffffffffff
push esi
push 1
push 0
push eax
push 0x1069226c
call sub.netapi32.dll_NetUserGetLocalGroups
test eax, eax
je 0x10013d7a
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 4
mov dword [ebp - 0x10], 0
jmp 0x10013e7a
mov dword [ebx], 0
mov dword [ebx + 4], 4
mov dword [ebx + 8], 0
jmp 0x10013ea7
mov esi, dword [ebp - 0x20]
test esi, esi
je 0x10013db5
mov edi, esi
shl edi, 4
cmp esi, 0x7ffffff
ja 0x10013ecb
mov eax, dword [0x106b6680]
movzx eax, byte [eax]
push 4
push edi
call fcn.1000d070
add esp, 8
test eax, eax
jne 0x10013dba
mov eax, 4
push edi
push eax
call fcn.100d0890
mov eax, 4
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 0
test ecx, ecx
mov dword [ebp - 0x2c], ecx
je 0x10013e98
mov ebx, dword [ebp - 0x20]
cmp ebx, esi
ja 0x10013eb1
xor edx, edx
test ebx, ebx
je 0x10013e74
mov ecx, edx
add edx, ebx
xor edi, edi
shl ecx, 4
mov dword [ebp - 0x24], edx
lea eax, [ecx + eax + 0xc]
mov dword [ebp - 0x28], eax
jmp 0x10013e1c
mov esi, dword [ebp - 0x28]
mov dword [esi + edi*4 - 0xc], ecx
mov dword [esi + edi*4 - 8], edx
mov dword [esi + edi*4 - 4], eax
mov dword [esi + edi*4], 0
add edi, 4
dec ebx
je 0x10013e71
mov eax, dword [ebp - 0x2c]
mov edx, 1
mov ecx, 0
mov eax, dword [eax + edi]
mov dword [ebp - 0x34], eax
test eax, eax
mov eax, 0
je 0x10013e00
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.10041590
add esp, 8
mov ecx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x38]
mov edx, 0
mov esi, 1
cmp ecx, 0x80000000
cmove eax, edx
mov edx, dword [ebp - 0x3c]
cmove edx, esi
mov esi, 0
cmove ecx, esi
jmp 0x10013e00
mov edx, dword [ebp - 0x24]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
movsd xmm0, qword [ebp - 0x18]
test eax, eax
mov dword [ebx + 8], ecx
movsd qword [ebx], xmm0
je 0x10013ea7
push eax
call sub.netapi32.dll_NetApiBufferFree
jmp 0x10013ea7
mov eax, dword [ebp - 0x10]
movsd xmm0, qword [ebp - 0x18]
mov dword [ebx + 8], eax
movsd qword [ebx], xmm0
mov eax, ebx
add esp, 0x34
pop esi
pop edi
pop ebx
pop ebp
ret
lea eax, [ebp - 0x18]
push ebx
push 0
push eax
call fcn.10023b50
add esp, 0xc
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
jmp 0x10013dea
xor eax, eax
push edi
push eax
call fcn.100d0890
nop word cs:[eax + eax]
nop
Function at 0x10016210
Capabilities:
Get local ipv4 addresses

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
xor esi, esi
xor ebx, ebx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], 0x3c00
nop word [eax + eax]
push dword [ebp - 0x14]
push esi
call sub.msvcrt.dll_realloc
add esp, 8
test eax, eax
je 0x100162b3
mov edi, eax
lea eax, [ebp - 0x14]
push eax
push edi
push 0
push 0xe
push 0
call sub.iphlpapi.dll_GetAdaptersAddresses
test eax, eax
mov dword [ebp - 0x18], eax
je 0x100162fb
cmp ebx, 1
ja 0x1001626a
inc ebx
cmp eax, 0x6f
mov esi, edi
je 0x10016230
lea eax, [ebp - 0x18]
mov dword [ebp - 0x38], 0x106924a4
mov dword [ebp - 0x34], 1
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x1c], fcn.100ec7c0
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x38]
mov dword [ebp - 0x2c], 1
push eax
push dword [ebp - 0x10]
call fcn.100d19e0
add esp, 8
push edi
call sub.msvcrt.dll_free
add esp, 4
jmp 0x1001630a
mov eax, dword [0x106b6680]
movzx eax, byte [eax]
push 1
push 0x32
call fcn.1000d070
add esp, 8
test eax, eax
je 0x10016312
mov edi, eax
push 0x32
push 0x10692448
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
push esi
call sub.msvcrt.dll_free
add esp, 4
mov eax, dword [ebp - 0x10]
mov dword [eax], 0x32
mov dword [eax + 4], edi
mov dword [eax + 8], 0x32
jmp 0x1001630a
mov eax, dword [ebp - 0x10]
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov dword [eax], 0x80000000
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x32
push 1
call fcn.100d0890
nop
nop
nop
push ebp
mov ebp, esp
push esi
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [edx + 4]
cmp eax, ecx
je 0x1001633a
lea esi, [eax + 1]
mov dword [edx], esi
movzx edx, byte [eax]
jmp 0x1001633a
cmp eax, ecx
setne al
pop esi
pop ebp
ret
Function at 0x1001af20
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov esi, edx
mov edi, ecx
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
push eax
push 0x1069296c
push 1
push 0
push 0x106929fc
call sub.ole32.dll_CoCreateInstance
test eax, eax
js 0x1001af81
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x1001b01b
cmp dword [esi], 0
je 0x1001af68
push esi
call fcn.10047600
add esp, 4
mov dword [esi], ebx
movsd xmm0, qword [esi + 8]
movsd xmm1, qword [esi]
movsd qword [edi + 8], xmm0
movsd qword [edi], xmm1
jmp 0x1001b013
push eax
call fcn.10047f90
add esp, 4
mov dword [ebp - 0x14], eax
mov eax, 8
mov dword [ebp + eax - 0x18], edx
mov dword [ebp - 0x18], 1
cmp dword [ebp - 0x10], 0
je 0x1001afaf
lea eax, [ebp - 0x10]
push eax
call fcn.10047d70
add esp, 4
mov eax, dword [esi + 8]
mov byte [edi + 0xc], 2
mov dword [esi + 8], 0
test eax, eax
mov dword [ebp - 0x18], eax
je 0x1001afd0
lea eax, [ebp - 0x18]
push eax
call fcn.10047600
add esp, 4
mov eax, dword [esi + 4]
mov dword [esi + 4], 0
test eax, eax
mov dword [ebp - 0x18], eax
je 0x1001afed
lea eax, [ebp - 0x18]
push eax
call fcn.10047600
add esp, 4
mov eax, dword [esi]
mov dword [esi], 0
test eax, eax
mov dword [ebp - 0x18], eax
je 0x1001b008
lea eax, [ebp - 0x18]
push eax
call fcn.10047600
add esp, 4
cmp byte [esi + 0xc], 0
je 0x1001b013
call sub.ole32.dll_CoUninitialize
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [ebp - 0x10], 0
xor edx, edx
mov eax, 4
mov dword [ebp + eax - 0x18], edx
mov dword [ebp - 0x18], 1
cmp dword [ebp - 0x10], 0
jne 0x1001afa3
jmp 0x1001afaf
Function at 0x1001b2e0
Capabilities:
Reference wmi statements

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x30
mov ebx, dword [edx + 4]
mov esi, edx
test ebx, ebx
je 0x1001b3c4
mov dword [ebp - 0x1c], ecx
push 0x10692a1e
call sub.oleaut32.dll_SysAllocString
mov edi, eax
mov dword [ebp - 0x38], eax
push str.SELECT__FROM_MSAcpi_ThermalZoneTemperature
call sub.oleaut32.dll_SysAllocString
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x20]
mov edx, dword [ebx]
push ecx
push 0
push 0x30
mov dword [ebp - 0x24], eax
push eax
mov dword [ebp - 0x28], edi
push edi
push ebx
call dword [edx + 0x50]
test eax, eax
js 0x1001b354
mov edx, dword [ebp - 0x20]
xor eax, eax
mov ecx, 4
test edx, edx
jne 0x1001b36a
mov eax, 1
xor edx, edx
mov dword [ebp - 0x10], 0
jmp 0x1001b36a
push eax
call fcn.10047f90
add esp, 4
mov dword [ebp - 0x14], eax
mov eax, 1
mov ecx, 8
mov dword [ebp + ecx - 0x18], edx
mov dword [ebp - 0x18], eax
push dword [ebp - 0x28]
call sub.oleaut32.dll_SysFreeString
push dword [ebp - 0x24]
call sub.oleaut32.dll_SysFreeString
mov eax, dword [ebp - 0x10]
movsd xmm0, qword [ebp - 0x18]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x3c]
movsd qword [ebp - 0x34], xmm0
push eax
call fcn.10040210
add esp, 4
lea eax, [ebp - 0x38]
push eax
call fcn.10040210
add esp, 4
cmp dword [ebp - 0x34], 0
je 0x1001b427
cmp dword [ebp - 0x2c], 0
je 0x1001b3c1
lea eax, [ebp - 0x2c]
push eax
call fcn.10047d70
add esp, 4
mov ecx, dword [ebp - 0x1c]
mov eax, dword [esi + 8]
mov byte [ecx + 0xc], 2
mov dword [esi + 8], 0
test eax, eax
mov dword [ebp - 0x18], eax
je 0x1001b3e5
lea eax, [ebp - 0x18]
push eax
call fcn.10047600
add esp, 4
test ebx, ebx
mov dword [ebp - 0x18], ebx
mov dword [esi + 4], 0
je 0x1001b3ff
lea eax, [ebp - 0x18]
push eax
call fcn.10047600
add esp, 4
mov eax, dword [esi]
mov dword [esi], 0
test eax, eax
mov dword [ebp - 0x18], eax
je 0x1001b41a
lea eax, [ebp - 0x18]
push eax
call fcn.10047600
add esp, 4
cmp byte [esi + 0xc], 0
je 0x1001b454
call sub.ole32.dll_CoUninitialize
jmp 0x1001b454
mov edi, dword [ebp - 0x30]
cmp dword [esi + 8], 0
je 0x1001b43c
lea eax, [esi + 8]
push eax
call fcn.10047600
add esp, 4
mov dword [esi + 8], edi
mov eax, dword [ebp - 0x1c]
movsd xmm0, qword [esi]
movsd xmm1, qword [esi + 8]
movsd qword [eax], xmm0
movsd qword [eax + 8], xmm1
add esp, 0x30
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x100205a0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x28
mov esi, ecx
lea eax, [ebp - 0x24]
push eax
push edx
call sub.shell32.dll_CommandLineToArgvW
test eax, eax
mov dword [ebp - 0x1c], eax
je 0x10020662
mov ebx, dword [ebp - 0x24]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 4
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x10], 0
test ebx, ebx
je 0x10020646
mov edi, dword [ebp - 0x1c]
shl ebx, 2
jmp 0x10020619
mov eax, dword [ebp - 0x14]
movsd xmm0, qword [ebp - 0x34]
movsd xmm1, qword [ebp - 0x2c]
mov ecx, esi
add edi, 4
inc esi
shl ecx, 4
add ebx, 0xfffffffc
movsd qword [eax + ecx + 8], xmm1
movsd qword [eax + ecx], xmm0
mov dword [ebp - 0x10], esi
je 0x10020646
push edi
call fcn.10041570
add esp, 4
push edx
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.10091010
add esp, 0xc
mov esi, dword [ebp - 0x10]
cmp esi, dword [ebp - 0x18]
jne 0x100205f0
lea eax, [ebp - 0x18]
push eax
call fcn.100240d0
add esp, 4
jmp 0x100205f0
push dword [ebp - 0x1c]
call sub.kernel32.dll_LocalFree
movsd xmm0, qword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x10]
movsd qword [ecx], xmm0
mov dword [ecx + 8], eax
jmp 0x10020676
mov dword [esi], 0
mov dword [esi + 4], 4
mov dword [esi + 8], 0
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x100215f0
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x60
movzx ebx, byte [ebp + 0x10]
mov esi, dword [ebp + 8]
cmp byte [ebp + 0xc], 0
je 0x10021670
xorps xmm0, xmm0
lea eax, [esp + 0x10]
movaps xmmword [esp + 0x10], xmm0
movaps xmmword [esp + 0x40], xmm0
movaps xmmword [esp + 0x30], xmm0
movaps xmmword [esp + 0x20], xmm0
mov dword [esp + 0x10], 0x40
push eax
call sub.kernel32.dll_GlobalMemoryStatusEx
test eax, eax
je 0x10021641
movups xmm0, xmmword [esp + 0x18]
movups xmmword [esi + 0x40], xmm0
jmp 0x10021670
call fcn.10047dc0
movups xmm0, xmmword [esp + 0x18]
test edx, edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov dword [esp + 4], 1
movups xmmword [esi + 0x40], xmm0
je 0x10021670
lea eax, [esp + 0xc]
push eax
call fcn.10047d70
add esp, 4
test bl, bl
je 0x100216d9
xorps xmm0, xmm0
lea eax, [esp + 0x10]
movsd qword [esp + 0x40], xmm0
xorps xmm0, xmm0
movaps xmmword [esp + 0x30], xmm0
movaps xmmword [esp + 0x20], xmm0
movaps xmmword [esp + 0x10], xmm0
push 0x38
push eax
call sub.kernel32.dll_K32GetPerformanceInfo
test eax, eax
je 0x100216d9
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x38]
xor ecx, ecx
mov edx, 0
sub eax, edi
sbb edx, edx
cmovb eax, ecx
mul ebx
mov dword [esi + 0x50], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 0x54], edx
mov edx, 0
sub eax, edi
sbb edx, edx
cmovb eax, ecx
mul ebx
mov dword [esi + 0x5c], edx
mov dword [esi + 0x58], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x100226c0
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c
lea edi, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push edi
push 0
push 5
call sub.kernel32.dll_GetComputerNameExW
xor ecx, ecx
test eax, eax
jne 0x100226f3
call fcn.10047dc0
mov ecx, 1
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x1c], ecx
test ebx, ebx
je 0x10022754
lea esi, [ebx + ebx]
cmp ebx, 0x3fffffff
ja 0x10022832
push 2
push esi
call fcn.1000d0c0
add esp, 8
test eax, eax
je 0x1002283b
mov edi, eax
lea eax, [ebp - 0x10]
push eax
push edi
push 5
call sub.kernel32.dll_GetComputerNameExW
test eax, eax
je 0x1002276b
xor eax, eax
nop word cs:[eax + eax]
cmp word [edi + eax*2], 0
je 0x10022770
inc eax
add esi, 0xfffffffe
jne 0x10022740
mov esi, dword [ebp + 8]
mov eax, ebx
jmp 0x10022773
push edi
push 2
push 5
call sub.kernel32.dll_GetComputerNameExW
test eax, eax
je 0x100227d1
xor eax, eax
mov edi, 2
jmp 0x10022773
mov esi, dword [ebp + 8]
jmp 0x100227d6
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x28]
push eax
push edi
push ecx
call fcn.100d2690
add esp, 0xc
cmp dword [ebp - 0x28], 0x80000000
jne 0x10022796
mov dword [esi], 0x80000000
test ebx, ebx
jne 0x100227a9
jmp 0x100227b7
mov eax, dword [ebp - 0x20]
movsd xmm0, qword [ebp - 0x28]
mov dword [esi + 8], eax
movsd qword [esi], xmm0
test ebx, ebx
je 0x100227b7
add ebx, ebx
push 2
push ebx
push edi
call fcn.1000d080
add esp, 0xc
cmp dword [ebp - 0x1c], 0
je 0x10022828
cmp dword [ebp - 0x14], 0
je 0x10022828
lea eax, [ebp - 0x14]
push eax
call fcn.10047d70
add esp, 4
jmp 0x10022828
mov edi, 2
call fcn.10047dc0
test edx, edx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x28], 1
je 0x100227f8
lea eax, [ebp - 0x20]
push eax
call fcn.10047d70
add esp, 4
test ebx, ebx
je 0x1002280a
add ebx, ebx
push 2
push ebx
push edi
call fcn.1000d080
add esp, 0xc
cmp dword [ebp - 0x1c], 0
je 0x10022822
cmp dword [ebp - 0x14], 0
je 0x10022822
lea eax, [ebp - 0x14]
push eax
call fcn.10047d70
add esp, 4
mov dword [esi], 0x80000000
mov eax, esi
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
push esi
push eax
call fcn.100d0890
mov eax, 2
push esi
push eax
call fcn.100d0890
nop word [eax + eax]
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov edx, 0x10693020
mov ecx, esi
push 0x12
call fcn.10023060
add esp, 4
mov eax, esi
pop esi
pop ebp
ret
Function at 0x10026ba0
Capabilities:
List user account groups

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x4c
mov eax, dword [ebp + 8]
mov edi, dword [eax + 8]
mov esi, dword [eax + 4]
mov dword [eax + 8], 0
test edi, edi
je 0x10026bec
add esi, 4
jmp 0x10026bd6
add esi, 0x10
dec edi
je 0x10026bec
mov eax, dword [esi - 4]
test eax, eax
je 0x10026bd0
push 1
push eax
push dword [esi]
call fcn.1000d080
add esp, 0xc
jmp 0x10026bd0
lea ebx, [ebp - 0x14]
mov dword [ebp - 0x38], 0
nop word cs:[eax + eax]
lea eax, [ebp - 0x38]
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x3c], 0
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x24]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x10]
push eax
push 0
push 0
call sub.netapi32.dll_NetGroupEnum
test eax, eax
je 0x10026c3f
cmp eax, 0xea
jne 0x10026dc0
mov edi, dword [ebp - 0x24]
mov esi, dword [ebp - 0x10]
test edi, edi
je 0x10026da6
shl edi, 2
mov dword [ebp - 0x28], eax
jmp 0x10026c6c
add esi, 4
add edi, 0xfffffffc
je 0x10026da0
mov eax, dword [esi]
test eax, eax
je 0x10026c60
mov dword [ebp - 0x14], 0
push ebx
push 3
push eax
push 0
call sub.netapi32.dll_NetGroupGetInfo
test eax, eax
jne 0x10026d60
mov eax, dword [ebp - 0x14]
push dword [eax + 8]
lea eax, [ebp - 0x58]
push eax
call fcn.100126f0
add esp, 8
mov eax, dword [ebp - 0x58]
cmp eax, 0x80000000
je 0x10026d60
mov ecx, dword [esi]
mov edx, dword [ebp - 0x54]
mov dword [ebp - 0x34], eax
test ecx, ecx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x40], ecx
je 0x10026d76
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.10041590
add esp, 8
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x48]
mov ebx, 1
mov eax, 0
cmp ecx, 0x80000000
cmove edx, ebx
cmove ecx, eax
mov dword [ebp - 0x1c], edx
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x20], ecx
cmove edx, eax
mov dword [ebp - 0x18], edx
mov edx, dword [ebp + 8]
mov ebx, dword [edx + 8]
cmp ebx, dword [edx]
jne 0x10026d13
push edx
call fcn.100240d0
mov edx, dword [ebp + 8]
add esp, 4
mov eax, ebx
mov dword [ebp - 0x30], ebx
mov ecx, dword [edx + 4]
mov ebx, dword [ebp - 0x20]
shl eax, 4
mov dword [ecx + eax], ebx
mov ebx, dword [ebp - 0x1c]
mov dword [ecx + eax + 4], ebx
mov ebx, dword [ebp - 0x18]
mov dword [ecx + eax + 8], ebx
mov dword [ecx + eax + 0xc], 0
mov eax, dword [ebp - 0x30]
lea ebx, [ebp - 0x14]
inc eax
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x10026d60
push 1
push eax
push dword [ebp - 0x2c]
call fcn.1000d080
add esp, 0xc
nop dword [eax]
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x10026c60
push eax
call sub.netapi32.dll_NetApiBufferFree
jmp 0x10026c60
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x18], 0
mov edx, dword [ebp + 8]
mov ebx, dword [edx + 8]
cmp ebx, dword [edx]
je 0x10026d07
jmp 0x10026d13
mov esi, dword [ebp - 0x10]
mov eax, dword [ebp - 0x28]
cmp eax, 0xea
jne 0x10026dc3
test esi, esi
je 0x10026c00
push esi
call sub.netapi32.dll_NetApiBufferFree
jmp 0x10026c00
mov esi, dword [ebp - 0x10]
test esi, esi
je 0x10026dcd
push esi
call sub.netapi32.dll_NetApiBufferFree
add esp, 0x4c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1004cab0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push eax
mov eax, dword [ebp + 8]
mov esi, dword [eax]
test esi, esi
je 0x1004cb39
dec esi
push esi
call sub.kernel32.dll_TlsGetValue
cmp eax, 1
ja 0x1004cb31
je 0x1004cae6
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x1004caea
mov edi, dword [eax]
mov dword [eax], 0
test edi, edi
je 0x1004caec
mov edi, dword [eax + 4]
jmp 0x1004caec
xor eax, eax
jmp 0x1004cb31
xor edi, edi
mov eax, dword [0x106b6680]
movzx eax, byte [eax]
push 4
push 8
call fcn.1000d070
add esp, 8
test eax, eax
je 0x1004cb55
mov dword [eax], edi
mov dword [eax + 4], esi
push esi
mov ebx, eax
call sub.kernel32.dll_TlsGetValue
mov edi, eax
mov dword [ebp - 0x10], ebx
push ebx
push esi
call sub.kernel32.dll_TlsSetValue
test edi, edi
je 0x1004cb2e
push 4
push 8
push edi
call fcn.1000d080
add esp, 0xc
mov eax, dword [ebp - 0x10]
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret
push eax
call fcn.100adc50
add esp, 4
mov esi, eax
push esi
call sub.kernel32.dll_TlsGetValue
cmp eax, 1
jbe 0x1004cacc
jmp 0x1004cb31
push 8
push 4
call fcn.100d08b0
nop