joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100069ec
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push edi
mov edi, ecx
mov eax, dword [edi]
call dword [eax + 0xb8]
test eax, eax
je 0x10006b5e
mov eax, edi
call fcn.10006bda
test eax, eax
je 0x10006b5e
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0xbc]
xor eax, eax
mov word [ebp - 0x20], ax
mov word [ebp - 0x3c], ax
lea eax, [ebp - 0x3c]
push eax
push dword [ebp + 0x14]
xor ebx, ebx
push dword [ebp + 0xc]
inc ebx
push dword [ebp + 8]
xor esi, esi
push edi
lea ecx, [ebp - 0x20]
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], 5
mov dword [edi + 0x14], esi
mov dword [edi + 0x18], ebx
mov dword [ebp - 4], esi
call fcn.10006c30
test eax, eax
je 0x10006b1a
push dword [ebp + 0x18]
lea eax, [ebp - 0x20]
push eax
push edi
lea eax, [ebp - 0x3c]
call fcn.10006d58
test eax, eax
je 0x10006b09
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
push dword [edi + 0x1c]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x80]
cmp eax, 2
je 0x10006aef
push dword [ebp + 0x10]
lea eax, [ebp - 0x20]
mov ecx, edi
call fcn.10006e0b
test eax, eax
je 0x10006ade
lea eax, [edi + 0x44]
push eax
push esi
push edi
push 0x10006ef8
push esi
push esi
call fcn.1001dafd
add esp, 0x18
mov dword [edi + 0x40], eax
cmp eax, esi
je 0x10006acf
push dword [edi + 4]
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
jmp 0x10006b57
push 0x65f
push str.CUdpClient::Start
push edi
push 8
jmp 0x10006b29
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.CUdpClient::Start
push edi
push 0xb
jmp 0x10006b29
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, esi
jne 0x10006afe
mov eax, 0x4c7
push eax
push str.CUdpClient::Start
push edi
push 5
jmp 0x10006b29
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.CUdpClient::Start
push edi
push 4
jmp 0x10006b29
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.CUdpClient::Start
push edi
push 3
pop esi
call fcn.10007a12
and dword [edi + 0xc], 0
and dword [edi + 0x14], 0
mov dword [edi + 0x10], 5
mov dword [edi + 0x18], ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 4]
pop esi
pop ebx
jmp 0x10006b60
xor eax, eax
pop edi
leave
ret 0x14
Function at 0x10006c30
Capabilities:
Create udp socket

Disassembly:
push 0xc
mov eax, 0x10037a13
call fcn.10020675
mov edi, ecx
mov ebx, dword [ebp + 8]
push dword [ebp + 0xc]
lea esi, [ebp - 0x18]
call fcn.10004c99
push dword [ebp + 0x10]
xor esi, esi
mov dword [ebp - 4], esi
push dword [ebp - 0x18]
call fcn.100045b4
pop ecx
pop ecx
test eax, eax
jne 0x10006c77
cmp dword [ebp - 0x10], esi
je 0x10006c70
push dword [ebp - 0x18]
call fcn.1001d3d4
pop ecx
xor eax, eax
jmp 0x10006d50
mov eax, dword [ebp + 0x14]
cmp eax, esi
je 0x10006cbd
cmp word [eax], si
je 0x10006cbd
mov esi, eax
call fcn.100044de
mov esi, dword [ebp + 0x18]
push 0
push dword [ebp + 0x14]
mov word [esi], ax
call fcn.1000455d
pop ecx
pop ecx
test eax, eax
jne 0x10006ca6
cmp dword [ebp - 0x10], 0
jmp 0x10006c65
mov ax, word [edi]
cmp ax, word [esi]
je 0x10006cbb
push 0x273f
call dword [sym.imp.WS2_32.dll_WSASetLastError]
jmp 0x10006ca0
xor esi, esi
movzx eax, word [edi]
push 0x11
push 2
push eax
call dword [sym.imp.WS2_32.dll_socket]
mov dword [ebx + 0x1c], eax
cmp eax, 0xffffffff
je 0x10006c62
push esi
push esi
lea ecx, [ebp + 8]
push ecx
push esi
push esi
push 4
lea ecx, [ebp + 0x14]
push ecx
push 0x9800000c
push eax
mov dword [ebp + 0x14], esi
call dword [sym.imp.WS2_32.dll_WSAIoctl]
cmp eax, 0xffffffff
jne 0x10006d12
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x10006d04
xor eax, eax
cmp eax, esi
je 0x10006d12
push 0x80004005
call fcn.10001257
push dword [ebx + 0x28]
push dword [ebx + 0x1c]
call fcn.1000485c
pop ecx
pop ecx
test eax, eax
jne 0x10006d08
call dword [sym.imp.WS2_32.dll_WSACreateEvent]
push dword [ebp - 0x14]
mov dword [ebx + 0x20], eax
lea eax, [ebx + 0x68]
call fcn.10005c32
mov ax, word [ebp + 0x10]
mov word [ebx + 0x6c], ax
cmp dword [ebp - 0x10], esi
je 0x10006d4d
push dword [ebp - 0x18]
call fcn.1001d3d4
pop ecx
xor eax, eax
inc eax
call fcn.10020714
ret 0x14
Function at 0x10006e0b
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
xor ebx, ebx
push edi
mov edi, eax
mov esi, ecx
cmp dword [ebp + 8], ebx
je 0x10006e70
push 0x30
push dword [esi + 0x20]
push dword [esi + 0x1c]
call dword [sym.imp.WS2_32.dll_WSAEventSelect]
cmp eax, 0xffffffff
je 0x10006eef
xor eax, eax
cmp word [edi], 2
setne al
dec eax
and eax, 0xfffffff4
add eax, 0x1c
push eax
push edi
push dword [esi + 0x1c]
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
je 0x10006e6b
cmp eax, 0xffffffff
jne 0x10006e64
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x10006e6b
xor ebx, ebx
jmp 0x10006eef
xor ebx, ebx
inc ebx
jmp 0x10006eef
xor eax, eax
cmp word [edi], 2
setne al
dec eax
and eax, 0xfffffff4
add eax, 0x1c
push eax
push edi
push dword [esi + 0x1c]
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x10006eef
push 0x23
push dword [esi + 0x20]
push dword [esi + 0x1c]
call dword [sym.imp.WS2_32.dll_WSAEventSelect]
cmp eax, 0xffffffff
je 0x10006eef
xor edi, edi
inc edi
mov dword [esi + 0x4c], edi
push ebx
mov dword [esi + 0x50], edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x84]
cmp eax, 2
jne 0x10006eda
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x10006ed1
mov eax, 0x4c7
push eax
call dword [sym.imp.WS2_32.dll_WSASetLastError]
jmp 0x10006eef
call fcn.10007178
test eax, eax
je 0x10006eed
push 0x80004005
call fcn.10001257
mov ebx, edi
pop edi
pop esi
mov eax, ebx
pop ebx
pop ebp
ret 4

Function at 0x100073a6
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
jmp 0x10007475
mov eax, dword [ebx + 0x5c]
xor esi, esi
push esi
push dword [ebx + 0x2c]
push eax
push dword [ebx + 0x1c]
call dword [sym.imp.WS2_32.dll_recv]
mov dword [ebp + 8], eax
cmp eax, esi
jle 0x10007440
mov dword [ebx + 0x190], esi
cmp eax, 0x10
jne 0x100073ee
mov esi, dword [ebx + 0x5c]
push 4
pop ecx
mov edi, 0x1003ca6c
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
je 0x10007488
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
push dword [ebp + 8]
mov eax, dword [ebx + 0x5c]
mov edx, dword [ebx]
push eax
mov ecx, ebx
call dword [edx + 0x94]
cmp eax, 2
jne 0x10007475
push dword [ebx + 0x24]
call fcn.10004be3
pop ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x10007424
mov eax, 0x4c7
xor ecx, ecx
inc ecx
mov dword [ebx + 0x18], ecx
mov dword [ebx + 0x14], eax
mov dword [ebx + 0x10], 4
mov dword [ebx + 0xc], ecx
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 4
cmp eax, 0xffffffff
jne 0x10007462
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x10007483
cmp eax, 0x2744
je 0x10007475
cmp eax, 0x2746
jne 0x10007424
jmp 0x10007475
cmp eax, esi
jne 0x10007475
push dword [ebx + 0x24]
mov dword [ebx + 0x190], esi
call fcn.10004be3
pop ecx
mov eax, dword [ebx + 0x18c]
test eax, eax
je 0x100073b4
xor eax, eax
inc eax
jmp 0x10007439
and dword [ebx + 0x14], eax
and dword [ebx + 0x18], eax
mov dword [ebx + 0xc], 1
mov dword [ebx + 0x10], 5
jmp 0x10007437
Function at 0x1000750b
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100379b9
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push edi
mov eax, dword [0x10045390]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov ebx, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [esi + 0x70]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x188]
xor edi, edi
test eax, eax
jle 0x10007572
lea eax, [esi + 0x154]
push eax
call ebx
lea ecx, [esi + 0x16c]
call fcn.100013dc
mov edi, eax
lea eax, [esi + 0x154]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [esp + 0x18], edi
and dword [esp + 0x28], 0
test edi, edi
je 0x1000762f
mov eax, dword [edi + 0x18]
sub eax, dword [edi + 0x14]
mov ecx, dword [edi + 0x14]
push 0
push eax
push ecx
push dword [esi + 0x1c]
call dword [sym.imp.WS2_32.dll_send]
mov dword [esp + 0x10], eax
test eax, eax
jle 0x100075eb
lea eax, [esi + 0x154]
push eax
call ebx
mov eax, dword [esp + 0x10]
sub dword [esi + 0x188], eax
lea eax, [esi + 0x154]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
push dword [esp + 0x10]
mov eax, dword [edi + 0x14]
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x8c]
cmp eax, 2
jne 0x100075f0
push dword [esi + 0x24]
call fcn.10004be3
pop ecx
jmp 0x100075f0
cmp eax, 0xffffffff
je 0x100075fe
mov eax, dword [esp + 0x14]
call fcn.1000142b
jmp 0x10007543
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x10007644
lea eax, [esi + 0x154]
push eax
mov dword [esp + 0x14], eax
call ebx
lea ecx, [esi + 0x16c]
mov eax, edi
call fcn.10005cde
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
inc eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
xor ecx, ecx
inc ecx
mov dword [esi + 0x14], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 0xc], ecx
mov dword [esi + 0x10], 3
mov dword [esi + 0x18], ecx
call fcn.1000142b
xor eax, eax
jmp 0x10007632
Function at 0x10007664
Capabilities:
Send data
Send data on socket

Disassembly:
push 4
mov eax, 0x10037996
call fcn.10020675
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebx, eax
mov eax, dword [esi + 0x50]
cmp eax, 3
je 0x10007740
lea eax, [ebp - 0x10]
lea edi, [esi + 0x150]
push eax
call fcn.10004376
xor edi, edi
mov dword [ebp - 4], edi
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x24]
test eax, eax
je 0x1000773b
mov dword [esi + 0x50], 2
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov dword [eax], edi
mov eax, ebx
call fcn.100077de
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x48]
test eax, eax
je 0x100076e4
cmp dword [esi + 0x18], edi
je 0x100076e1
push edi
push 0x10
push 0x1003ca6c
push dword [esi + 0x1c]
call dword [sym.imp.WS2_32.dll_send]
mov dword [esi + 0x4c], edi
cmp dword [esi + 0xc], edi
je 0x100076f9
push dword [esi + 0x14]
mov eax, dword [esi]
push dword [esi + 0x10]
mov ecx, esi
call dword [eax + 0x98]
mov eax, dword [esi + 0x20]
cmp eax, edi
je 0x1000770a
push eax
call dword [sym.imp.WS2_32.dll_WSACloseEvent]
mov dword [esi + 0x20], edi
mov eax, dword [esi + 0x1c]
cmp eax, 0xffffffff
je 0x10007728
push 1
push eax
call dword [sym.imp.WS2_32.dll_shutdown]
push dword [esi + 0x1c]
call dword [sym.imp.WS2_32.dll_closesocket]
or dword [esi + 0x1c], 0xffffffff
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc0]
xor eax, eax
inc eax
call fcn.10020714
ret
mov eax, dword [ebp - 0x10]
mov dword [eax], edi
push 0x139f
push str.CUdpClient::CheckStoping
push esi
xor esi, esi
inc esi
call fcn.10007a12
xor eax, eax
jmp 0x10007735

Function at 0x10007d6d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
mov esi, eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x10007dc4
push edi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x10007db6
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, edi
and esi, 0xf
jbe 0x10007db2
cmp edi, eax
jae 0x10007db6
dec esi
movzx ecx, word [edi]
lea edi, [edi + ecx*2 + 2]
jne 0x10007da4
cmp edi, eax
jb 0x10007dba
xor eax, eax
jmp 0x10007dc3
movzx eax, word [edi]
neg eax
sbb eax, eax
and eax, edi
pop edi
pop esi
pop ebp
ret
Function at 0x10008838
Capabilities:
Get hostname

Disassembly:
push 0x18
mov eax, 0x10038571
call fcn.10020675
mov esi, 0x1d4
push esi
call fcn.1001cd81
push esi
mov ebx, eax
push 0
push ebx
call fcn.100207d0
lea eax, [ebx + 0x22]
push 0
push eax
mov byte [ebx], 0x80
call fcn.1000956e
add esp, 0x18
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebx + 0x40]
push eax
mov dword [ebp - 0x1c], 0x10
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x100088d9
push str.RtlGetNtVersionNumbers
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x100088d2
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x24]
push ecx
call eax
and dword [ebp - 0x10], 0xffff
push dword [ebp - 0x10]
lea eax, [ebx + 0x60]
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push str._d._d._d
push 0xf
push eax
call fcn.1001dbc4
add esp, 0x18
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp + 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edi, [ebx + 0x7e]
add eax, 0x200
push edi
mov dword [ebp - 0x14], eax
call esi
add eax, eax
push eax
push edi
push 1
push 0x1003d51c
push dword [ebp - 0x14]
mov edi, SysReAllocString
push edi
call fcn.10009ddb
add esp, 0x18
cmp eax, 1
jge 0x10008928
mov eax, dword [ebp + 0xc]
add eax, 0x23c
push eax
lea eax, [ebx + 0x7e]
push 0x1e
push eax
call fcn.1001f0c3
add esp, 0xc
lea eax, [ebx + 0xba]
push eax
call esi
add eax, eax
push eax
lea eax, [ebx + 0xba]
push eax
push 1
push str.REMARK
push dword [ebp - 0x14]
push edi
call fcn.10009ddb
add esp, 0x18
cmp eax, 1
jge 0x10008969
push 0x1003d50c
lea eax, [ebx + 0xba]
push 0x1e
push eax
call fcn.1001f0c3
add esp, 0xc
call fcn.1000a1bf
mov byte [ebx + 0xf6], al
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [ebx + 0xfa]
push 0x1003d510
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [ebx + 0xf8]
push eax
call fcn.10009b0f
call fcn.10009a43
test eax, eax
setne al
mov byte [ebx + 0x10e], al
lea eax, [ebx + 0x110]
push eax
call fcn.1000924d
add esp, 0x14
lea eax, [ebx + 0x174]
push eax
call esi
add eax, eax
push eax
lea eax, [ebx + 0x174]
push eax
push 1
push str.HWID
push dword [ebp - 0x14]
push edi
call fcn.10009ddb
lea eax, [ebp - 0x18]
push eax
call fcn.100099ec
add esp, 0x1c
and dword [ebp - 4], 0
mov esi, dword [ebp - 0x18]
mov ecx, dword [ebp + 8]
lea edi, [ebx + 0x1c2]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0x1d4
movsd dword es:[edi], dword [esi]
mov eax, dword [ecx]
push ebx
call dword [eax + 8]
push ebx
mov esi, eax
call fcn.1001c63a
mov eax, dword [ebp - 0x18]
pop ecx
add eax, 0xfffffff0
call fcn.1000160d
mov eax, esi
call fcn.10020714
ret
Function at 0x1000956e
Capabilities:
Check for time delay via gettickcount

Disassembly:
push 0xc
mov eax, 0x100384ce
call fcn.10020675
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x18], 8
call dword [sym.imp.USER32.dll_GetLastInputInfo]
mov eax, dword [0x10045344]
mov ecx, 0x10045344
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
and dword [ebp - 4], 0
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
sub eax, dword [ebp - 0x14]
xor edx, edx
mov ebx, 0x3e8
mov ecx, ebx
div ecx
push 0x3c
xor edx, edx
pop ecx
div ecx
cmp byte [ebp + 0xc], 0
je 0x100095e9
call edi
sub eax, dword [ebp - 0x14]
xor edx, edx
div ebx
cmp eax, 3
jle 0x100095e5
mov bl, 1
lea eax, [esi - 0x10]
call fcn.1000160d
mov al, bl
call fcn.10020714
ret
xor bl, bl
jmp 0x100095d5
push eax
push 0x1003d510
lea eax, [ebp - 0x10]
call fcn.10001796
mov esi, dword [ebp - 0x10]
mov eax, dword [esi - 0xc]
pop ecx
pop ecx
cmp eax, 0xe
jle 0x10009609
push 0x1c
pop edi
jmp 0x1000960c
lea edi, [eax + eax]
cmp dword [esi - 4], 1
jle 0x1000961f
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.10001706
mov esi, dword [ebp - 0x10]
push edi
push esi
push dword [ebp + 8]
call fcn.1001ff30
add esp, 0xc
jmp 0x100095e5
Function at 0x10009a43
Capabilities:
Enumerate devices by category

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push esi
push edi
xor esi, esi
push esi
xor edi, edi
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [ebp - 0x10]
push eax
push 0x1003c5f0
push 1
push esi
push 0x1003eaa8
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
je 0x10009a78
xor eax, eax
jmp 0x10009b0b
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push esi
lea edx, [ebp - 4]
push edx
push 0x1003eab8
push eax
call dword [ecx + 0xc]
test eax, eax
jne 0x10009a71
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
jmp 0x10009aec
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
lea edx, [ebp - 0xc]
push edx
push 0x10039510
push esi
push esi
push eax
call dword [ecx + 0x24]
test eax, eax
js 0x10009ae3
push 8
pop eax
push esi
lea edx, [ebp - 0x24]
push edx
mov word [ebp - 0x24], ax
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
push str.FriendlyName
push eax
call dword [ecx + 0xc]
test eax, eax
jne 0x10009ada
push dword [ebp - 0x1c]
inc edi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
lea edx, [ebp - 0x14]
push edx
lea edx, [ebp - 8]
push edx
push 1
push eax
call dword [ecx + 0xc]
test eax, eax
je 0x10009a9a
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, edi
pop edi
pop esi
leave
ret
Function at 0x10009b0f
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [0x10045390]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov esi, 0x11c
xor edi, edi
push esi
lea eax, [ebp - 0x120]
push edi
push eax
mov dword [ebp - 0x124], edi
call fcn.100207d0
add esp, 0xc
lea eax, [ebp - 0x120]
push eax
mov dword [ebp - 0x120], esi
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x10009c6b
cmp dword [ebp - 0x110], 2
jne 0x10009c6b
cmp dword [ebp - 0x11c], 5
jbe 0x10009c6b
lea eax, [ebp - 0x128]
push eax
push 8
mov dword [ebp - 0x128], edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x10009c6b
lea eax, [ebp - 0x12c]
push eax
push edi
push edi
push 0x19
push dword [ebp - 0x128]
mov dword [ebp - 0x12c], edi
mov edi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
call edi
test eax, eax
jne 0x10009c21
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x10009c21
push dword [ebp - 0x12c]
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
test esi, esi
je 0x10009c21
lea eax, [ebp - 0x12c]
push eax
push dword [ebp - 0x12c]
push esi
push 0x19
push dword [ebp - 0x128]
call edi
test eax, eax
je 0x10009c1a
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_GetSidSubAuthorityCount]
movzx eax, byte [eax]
dec eax
push eax
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_GetSidSubAuthority]
mov eax, dword [eax]
mov dword [ebp - 0x124], eax
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
push dword [ebp - 0x128]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x124]
test eax, eax
je 0x10009c6b
cmp eax, 0x1000
je 0x10009c67
cmp eax, 0x2000
je 0x10009c5f
cmp eax, 0x3000
je 0x10009c5b
cmp eax, 0x4000
jne 0x10009c71
push 3
pop eax
mov word [ebx], ax
jmp 0x10009c77
push 2
jmp 0x10009c55
xor eax, eax
inc eax
mov word [ebx], ax
jmp 0x10009cb9
xor eax, eax
jmp 0x10009c62
push 4
pop eax
mov word [ebx], ax
cmp word [ebx], 1
jle 0x10009cb9
and dword [ebp - 0x124], 0
push 4
lea eax, [ebp - 0x124]
push eax
push str.ConsentPromptBehaviorAdmin
push 4
mov edi, str.SOFTWAREMicrosoftWindowsCurrentVersionPoliciesSystem
push edi
mov esi, reloc.OLEAUT32.dll_SysReAllocString
push esi
call fcn.10009fcd
push 4
lea eax, [ebp - 0x124]
push eax
push str.PromptOnSecureDesktop
push 4
push edi
push esi
call fcn.10009fcd
add esp, 0x30
mov ecx, dword [ebp - 4]
pop edi
xor eax, eax
pop esi
xor ecx, ebp
inc eax
pop ebx
call fcn.1001c645
leave
ret
Function at 0x10009ccb
Capabilities:
Get disk information
Get disk size
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x74
mov eax, dword [0x10045390]
xor eax, esp
mov dword [esp + 0x70], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [esp + 0xc], eax
xor esi, esi
push 0x3a
lea eax, [esi + 0x42]
mov word [esp + 0x6c], ax
pop eax
mov word [esp + 0x6a], ax
push 0x5c
pop eax
mov word [esp + 0x6c], ax
xor eax, eax
mov word [esp + 0x6e], ax
lea eax, [esp + 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x10009d4a
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x74]
push eax
inc edi
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
shrd eax, ecx, 0x1e
shr ecx, 0x1e
add ebx, eax
inc esi
cmp esi, 0x1a
jl 0x10009cef
push 0x40
pop esi
push esi
lea eax, [esp + 0x2c]
push 0
push eax
call fcn.100207d0
add esp, 0xc
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x2c], esi
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
shrd eax, ecx, 0x1e
shr ecx, 0x1e
add eax, 1
adc ecx, 0
push ecx
push eax
push ebx
push edi
push str.d:_d__dG_m:_dG
push 0xc8
push dword [esp + 0x24]
call fcn.1001dbc4
mov ecx, dword [esp + 0x98]
add esp, 0x1c
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1001c645
mov esp, ebp
pop ebp
ret