joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100a6240
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov edx, dword [ebp + 8]
mov eax, 0x1fffffff
push ebx
push esi
push edi
mov edi, ecx
mov esi, 1
bsr ecx, eax
mov eax, esi
mov dword [ebp - 4], edi
shl eax, cl
cmp edx, eax
ja 0x100a638c
mov ebx, dword [edi + 4]
lea eax, [edx - 1]
or eax, esi
mov dword [ebp - 8], ebx
bsr ecx, eax
push ebx
lea ecx, [ecx + 1]
shl esi, cl
lea ecx, [edi + 0xc]
lea eax, [esi + esi]
push eax
call fcn.1009aa60
lea eax, [esi - 1]
mov dword [edi + 0x1c], esi
mov dword [edi + 0x18], eax
mov ecx, dword [edi + 4]
mov ecx, dword [ecx]
cmp ecx, ebx
je 0x100a6367
mov eax, ecx
movzx edx, byte [eax + 8]
xor edx, 0x811c9dc5
mov ecx, dword [ecx]
imul esi, edx, 0x1000193
movzx edx, byte [eax + 9]
xor esi, edx
movzx edx, byte [eax + 0xa]
imul esi, esi, 0x1000193
xor esi, edx
movzx edx, byte [eax + 0xb]
imul esi, esi, 0x1000193
xor esi, edx
imul edx, esi, 0x1000193
mov esi, dword [edi + 0x18]
and esi, edx
mov edx, dword [edi + 0xc]
lea ebx, [edx + esi*8]
mov esi, dword [ebx]
mov dword [ebp + 8], ebx
cmp esi, dword [ebp - 8]
jne 0x100a62f4
mov dword [ebx], eax
mov dword [ebx + 4], eax
jmp 0x100a635c
mov edx, dword [ebx + 4]
mov edi, dword [eax + 8]
cmp edi, dword [edx + 8]
jne 0x100a632b
mov edx, dword [edx]
mov dword [ebp - 0xc], edx
cmp edx, eax
je 0x100a6326
mov edi, dword [eax + 4]
mov ebx, dword [ebp - 0xc]
mov dword [edi], ecx
mov esi, dword [ecx + 4]
mov dword [esi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [ebx + 4], esi
mov ebx, dword [ebp + 8]
mov dword [ecx + 4], edi
mov dword [eax + 4], edx
mov dword [ebx + 4], eax
jmp 0x100a6359
cmp esi, edx
je 0x100a633c
nop
mov edx, dword [edx + 4]
cmp edi, dword [edx + 8]
je 0x100a6370
cmp esi, edx
jne 0x100a6330
mov ebx, dword [eax + 4]
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov esi, dword [edx + 4]
mov dword [esi], eax
mov dword [edx + 4], edi
mov edx, dword [ebp + 8]
mov dword [ecx + 4], ebx
mov dword [eax + 4], esi
mov dword [edx], eax
mov edi, dword [ebp - 4]
mov eax, ecx
cmp ecx, dword [ebp - 8]
jne 0x100a62a2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edi, dword [eax + 4]
mov ebx, dword [edx]
mov dword [edi], ecx
mov esi, dword [ecx + 4]
mov dword [esi], ebx
mov edx, dword [ebx + 4]
mov dword [edx], eax
mov dword [ebx + 4], esi
mov dword [ecx + 4], edi
mov dword [eax + 4], edx
jmp 0x100a6359
push str.invalid_hash_bucket_count
call fcn.100b62ed
int3
Function at 0x100a7bd0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, ecx
movzx eax, byte [esi]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [esi + 1]
xor edx, eax
movzx eax, byte [esi + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [esi + 3]
imul ecx, edx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 4]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 5]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 6]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 7]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, edi
push eax
push esi
lea eax, [ebp - 8]
push eax
call fcn.1005c0f0
mov ecx, dword [eax + 4]
mov eax, dword [ebp + 8]
test ecx, ecx
jne 0x100a7c59
mov ecx, dword [edi + 4]
pop edi
mov dword [eax], ecx
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x100acfb0
Capabilities:
Create tcp socket
Create thread
Create udp socket
Initialize winsock library

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1011686d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x1b4
mov eax, dword [0x10163164]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp byte [esi + 0x144], 0
jne 0x100ad0e4
lea eax, [ebp - 0x1a8]
push eax
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x100ad036
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100b8868
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc
push 0
push 2
push 2
call dword [sym.imp.WS2_32.dll_socket]
push dword [ebx + 0xc]
mov dword [esi + 0x148], eax
xorps xmm0, xmm0
mov al, byte [ebx + 0x10]
mov byte [esi + 0x15c], al
mov eax, 2
movups xmmword [esi + 0x14c], xmm0
mov word [esi + 0x14c], ax
mov eax, dword [ebx + 8]
movups xmmword [ebp - 0x1c4], xmm0
mov dword [esi + 0x150], eax
call dword [sym.imp.WS2_32.dll_htons]
mov word [esi + 0x14e], ax
push 8
mov byte [esi + 0x144], 1
call fcn.100b887b
add esp, 4
mov dword [ebp - 0x18], eax
mov dword [eax], 0x100ad340
mov dword [eax + 4], esi
lea ecx, [ebp - 0x1ac]
mov dword [ebp - 4], 0
push ecx
push 0
push eax
push 0x10020960
push 0
push 0
call fcn.100cba9a
mov ecx, eax
add esp, 0x18
mov dword [ebp - 0x1b0], ecx
test ecx, ecx
je 0x100ad0eb
cmp dword [esi + 8], 0
jne 0x100ad0fc
mov eax, dword [ebp - 0x1ac]
mov dword [esi + 4], ecx
mov dword [esi + 8], eax
mov al, 1
jmp 0x100ad017
push 6
mov dword [ebp - 0x1ac], 0
call fcn.100b6fbf
call fcn.100cbb2d
int3
Function at 0x100ad5d0
Capabilities:
Encode data using xor
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push ecx
mov edx, dword [0x10175b6c]
mov dword [ebp - 4], ecx
push ebx
push esi
push edi
cmp edx, 0xa
jb 0x100ad608
cmp dword [0x10175b70], 0x10
mov eax, 0x10175b5c
mov dword [0x10175b6c], 0xa
cmovae eax, dword [0x10175b5c]
mov byte [eax + 0xa], 0
jmp 0x100ad65b
mov ecx, dword [0x10175b70]
mov edi, 0xa
mov eax, ecx
sub edi, edx
sub eax, edx
cmp edi, eax
ja 0x100ad64a
cmp ecx, 0x10
mov dword [0x10175b6c], 0xa
mov esi, 0x10175b5c
cmovae esi, dword [0x10175b5c]
push edi
add esi, edx
push 0
push esi
call fcn.100c2fd0
add esp, 0xc
mov byte [esi + edi], 0
jmp 0x100ad65b
push 0
push edi
push dword [ebp + 0xc]
mov ecx, 0x10175b5c
push edi
call fcn.10008400
cmp dword [0x10175b70], 0x10
mov ebx, 0x10175b5c
mov al, byte [ebp + 0xc]
cmovae ebx, dword [0x10175b5c]
mov byte [ebx + 1], al
mov al, byte [ebp + 0x10]
mov byte [ebx + 2], al
mov eax, dword [ebp - 4]
mov byte [ebx], 0x59
movzx eax, byte [eax + 0x15c]
mov byte [ebx + 3], al
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
mov eax, dword [eax]
mov dword [ebp + 0x10], ecx
mov dword [ebp + 0xc], eax
cmp eax, ecx
je 0x100ad75b
mov ecx, dword [eax]
push 0x10175b5c
push 0xa
mov eax, dword [ecx]
call dword [eax]
test eax, eax
je 0x100ad749
cmp byte [ebx + 3], 1
jne 0x100ad6f1
push 0
mov ecx, 0x10175b5c
call fcn.10006c30
mov esi, dword [0x10175b6c]
mov ecx, 0xa
cmp esi, ecx
jbe 0x100ad6f7
nop word [eax + eax]
xor byte [ecx + eax], 0x40
inc ecx
mov esi, dword [0x10175b6c]
cmp ecx, esi
jb 0x100ad6e0
jmp 0x100ad6f7
mov esi, dword [0x10175b6c]
lea eax, [esi - 0xa]
mov dword [ebx + 4], 0
or edx, 0xffffffff
mov word [ebx + 8], ax
xor edi, edi
test esi, esi
je 0x100ad72a
nop
movzx ecx, byte [edi + ebx]
mov eax, edx
shr eax, 0x18
inc edi
xor ecx, eax
shl edx, 8
xor edx, dword [ecx*4 + 0x10143d28]
cmp edi, esi
jb 0x100ad710
mov ecx, dword [ebp - 4]
push 0x10
mov dword [ebx + 4], edx
lea eax, [ecx + 0x14c]
push eax
push 0
push esi
push ebx
push dword [ecx + 0x148]
call dword [sym.imp.WS2_32.dll_sendto]
mov eax, dword [ebp + 0xc]
add eax, 4
mov dword [ebp + 0xc], eax
cmp eax, dword [ebp + 0x10]
jne 0x100ad6a0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x100afa00
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10116a1c
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x10163164]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
lea esi, [edi + 4]
mov dword [edi], vtable.nfapi::EventQueue_class_nfapi::NFEvent_.0
push 0
push 0
mov ecx, esi
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.100b06b0
mov dword [esi], eax
lea esi, [edi + 0xc]
mov dword [ebp - 4], 0
mov ecx, esi
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.100b0650
mov dword [esi], eax
lea esi, [edi + 0x14]
mov byte [ebp - 4], 1
mov ecx, esi
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.100b0650
mov dword [esi], eax
lea esi, [edi + 0x1c]
mov byte [ebp - 4], 2
mov ecx, esi
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.100b0680
mov dword [esi], eax
lea esi, [edi + 0x24]
mov byte [ebp - 4], 3
mov ecx, esi
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.100b0680
push 0
push 0
push 0
mov dword [esi], eax
mov esi, dword [sym.imp.KERNEL32.dll_CreateEventA]
push 0
mov dword [edi + 0x2c], 0xffffffff
call esi
push 0
push 0
mov dword [edi + 0x2c], eax
push 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
push 0
mov dword [edi + 0x44], 0xffffffff
call esi
push 0
push 0
push 1
mov dword [edi + 0x44], eax
push 0
mov dword [edi + 0x48], 0xffffffff
call esi
lea ecx, [edi + 0x50]
mov dword [edi + 0x48], eax
xorps xmm0, xmm0
mov dword [edi + 0x34], 0
movups xmmword [ecx], xmm0
movq qword [ecx + 0x10], xmm0
call fcn.100b0560
mov dword [edi + 0x4c], 1
mov eax, edi
mov byte [edi + 0x30], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100afb70
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10116a1c
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x10163164]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
lea esi, [edi + 4]
mov dword [edi], vtable.nfapi::EventQueue_class_nfapi::NFEventOut_.0
push 0
push 0
mov ecx, esi
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.100b06b0
mov dword [esi], eax
lea esi, [edi + 0xc]
mov dword [ebp - 4], 0
mov ecx, esi
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.100b0650
mov dword [esi], eax
lea esi, [edi + 0x14]
mov byte [ebp - 4], 1
mov ecx, esi
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.100b0650
mov dword [esi], eax
lea esi, [edi + 0x1c]
mov byte [ebp - 4], 2
mov ecx, esi
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.100b0680
mov dword [esi], eax
lea esi, [edi + 0x24]
mov byte [ebp - 4], 3
mov ecx, esi
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.100b0680
push 0
push 0
push 0
mov dword [esi], eax
mov esi, dword [sym.imp.KERNEL32.dll_CreateEventA]
push 0
mov dword [edi + 0x2c], 0xffffffff
call esi
push 0
push 0
mov dword [edi + 0x2c], eax
push 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
push 0
mov dword [edi + 0x44], 0xffffffff
call esi
push 0
push 0
push 1
mov dword [edi + 0x44], eax
push 0
mov dword [edi + 0x48], 0xffffffff
call esi
lea ecx, [edi + 0x50]
mov dword [edi + 0x48], eax
xorps xmm0, xmm0
mov dword [edi + 0x34], 0
movups xmmword [ecx], xmm0
movq qword [ecx + 0x10], xmm0
call fcn.100b0560
mov dword [edi + 0x4c], 1
mov eax, edi
mov byte [edi + 0x30], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100b2520
Capabilities:
Create thread
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
mov esi, ecx
mov dword [ebp - 4], esi
push dword [esi + 0x14]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov ebx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [esi], eax
test ebx, ebx
jg 0x100b2561
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ebx, dword [ebp - 0x18]
mov eax, 1
test ebx, ebx
cmove ebx, eax
test ebx, ebx
jle 0x100b25ec
push edi
lea eax, [ebp - 8]
push eax
push 0
push esi
push 0x100b0c40
push 0
push 0
call fcn.100cba9a
mov edi, eax
add esp, 0x18
mov dword [ebp + 0xc], edi
test edi, edi
je 0x100b25e2
cmp edi, 0xffffffff
je 0x100b25e2
mov eax, dword [esi + 8]
lea ecx, [ebp + 0xc]
cmp ecx, eax
jae 0x100b25c3
mov ecx, dword [esi + 4]
lea edx, [ebp + 0xc]
cmp ecx, edx
ja 0x100b25c3
mov edi, edx
sub edi, ecx
sar edi, 2
cmp eax, dword [esi + 0xc]
jne 0x100b25b2
push 1
lea ecx, [esi + 4]
call fcn.100b0ad0
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x100b25db
mov eax, dword [esi + 4]
mov eax, dword [eax + edi*4]
mov dword [ecx], eax
jmp 0x100b25db
cmp eax, dword [esi + 0xc]
jne 0x100b25d2
push 1
lea ecx, [esi + 4]
call fcn.100b0ad0
mov eax, dword [esi + 8]
test eax, eax
je 0x100b25db
mov dword [eax], edi
add dword [esi + 8], 4
mov esi, dword [ebp - 4]
sub ebx, 1
jne 0x100b2562
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x100b2970
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x10163164]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x100b2a0a
push esi
lea eax, [ebp - 0x18]
push eax
push 0x20
push edi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x100b2a06
lea eax, [ebp - 0x20]
push eax
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
je 0x100b29fb
mov eax, dword [ebp - 0x20]
push 0
push 0
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x1c]
push 0x10
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x14]
push eax
push 0
push dword [ebp - 0x18]
mov dword [ebp - 0x14], 1
mov dword [ebp - 8], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
jne 0x100b2a01
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x18]
call esi
push edi
call esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.100b8868
mov esp, ebp
pop ebp
ret
Function at 0x100b35e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x1016300c]
push esi
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0x14], eax
mov eax, dword [0x10163008]
mov dword [ebp - 4], 0
test byte [esi + 0x12], 1
mov dword [ebp - 0x10], eax
je 0x100b360e
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push ebx
push edi
mov edi, dword [ebp + 0x10]
xor ecx, ecx
mov dword [ebp - 8], ecx
lea ebx, [edi + 0x16]
lea eax, [ebx + 0x10]
mov dword [ebp - 0xc], eax
cmp ecx, dword [0x10173514]
jb 0x100b363f
ja 0x100b3633
cmp eax, dword [0x10173510]
jbe 0x100b363f
pop edi
pop ebx
mov eax, 0xfffffffc
pop esi
mov esp, ebp
pop ebp
ret
cmp byte [0x101734ac], cl
je 0x100b378d
cmp dword [0x10163014], 0xffffffff
je 0x100b378d
mov eax, dword [0x10173508]
or eax, dword [0x1017350c]
je 0x100b378d
push 0x10173390
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [0x10173508]
mov eax, dword [ebp + 8]
push edi
push dword [ebp + 0xc]
mov dword [ecx], eax
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], ebx
movups xmm0, xmmword [esi]
movups xmmword [ecx + 0x10], xmm0
mov eax, dword [esi + 0x10]
mov dword [ecx + 0x20], eax
mov ax, word [esi + 0x14]
mov word [ecx + 0x24], ax
lea eax, [ecx + 0x26]
push eax
call fcn.100c29f0
mov eax, dword [0x1016300c]
add esp, 0xc
mov dword [ebp - 0x18], 0
xorps xmm0, xmm0
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x28]
movups xmmword [ebp - 0x28], xmm0
push eax
push 0
push 8
lea eax, [ebp - 0xc]
push eax
push dword [0x10163014]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x100b370d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x100b370d
push 0x10173390
mov esi, 0xfffffffc
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop ebx
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x14]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
test eax, eax
jne 0x100b3732
push eax
push dword [0x10163008]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x100b3755
push dword [0x10163014]
call dword [sym.imp.KERNEL32.dll_CancelIo]
push 0x10173390
or esi, 0xffffffff
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop ebx
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
push 0
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x28]
push eax
push dword [0x10163014]
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
test eax, eax
je 0x100b373e
mov esi, dword [ebp - 4]
neg esi
push 0x10173390
sbb esi, esi
neg esi
dec esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop ebx
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
pop edi
pop ebx
mov eax, 0xfffffffd
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100b37e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x1016300c]
xor ecx, ecx
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x14], eax
mov eax, dword [0x10163008]
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 0xc]
add eax, 0x10
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], ecx
cmp ecx, dword [0x10173514]
jb 0x100b382b
ja 0x100b3821
cmp eax, dword [0x10173510]
jbe 0x100b382b
mov eax, 0xfffffffc
pop esi
mov esp, ebp
pop ebp
ret
cmp byte [0x101734ac], cl
je 0x100b3944
cmp dword [0x10163014], 0xffffffff
je 0x100b3944
mov eax, dword [0x10173508]
or eax, dword [0x1017350c]
je 0x100b3944
push 0x10173390
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push dword [ebp - 0xc]
push esi
push dword [0x10173508]
call fcn.100c29f0
mov eax, dword [0x1016300c]
add esp, 0xc
mov dword [ebp - 0x18], 0
xorps xmm0, xmm0
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x28]
movups xmmword [ebp - 0x28], xmm0
push eax
push 0
push 8
lea eax, [ebp - 0xc]
push eax
push dword [0x10163014]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x100b38c8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x100b38c8
push 0x10173390
mov esi, 0xfffffffc
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x14]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
test eax, eax
jne 0x100b38ed
push eax
push dword [0x10163008]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x100b390e
push dword [0x10163014]
call dword [sym.imp.KERNEL32.dll_CancelIo]
push 0x10173390
or esi, 0xffffffff
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
push 0
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x28]
push eax
push dword [0x10163014]
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
test eax, eax
je 0x100b38f9
mov esi, dword [ebp - 4]
neg esi
push 0x10173390
sbb esi, esi
neg esi
dec esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, 0xfffffffd
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100b3a40
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 0x10173378
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x10163014], 0xffffffff
je 0x100b3abf
cmp dword [0x10163018], 0xffffffff
jne 0x100b3abf
mov eax, dword [ebp + 8]
test eax, eax
je 0x100b3abf
push dword [0x10163008]
mov esi, dword [sym.imp.KERNEL32.dll_ResetEvent]
mov dword [0x10173268], eax
call esi
push dword [0x10163004]
call esi
push dword [section..data]
call esi
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x100b4400
push 0
push 0
call fcn.100cba9a
add esp, 0x18
test eax, eax
jne 0x100b3ad4
push dword [0x10163004]
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov dword [0x10163018], 0xffffffff
push 0x10173378
or esi, 0xffffffff
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
push 0xffffffffffffffff
push dword [section..data]
mov dword [0x10163018], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x10173378
xor esi, esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100b4ff0
Capabilities:
Persist via windows service
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x10163164]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x10]
push eax
push str.SYSTEMCurrentControlSetServices_s
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.100b5e40
add esp, 0x10
lea eax, [ebp - 0x10c]
push eax
push 3
push 0
lea eax, [ebp - 0x108]
push eax
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x100b5056
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100b8868
mov esp, ebp
pop ebp
ret
cmp byte [ebp + 8], 0
je 0x100b508a
lea eax, [ebp - 0x110]
mov dword [ebp - 0x110], 4
push eax
push esi
lea eax, [ebp - 0x114]
push eax
push 0
push 0x1011db14
push dword [ebp - 0x10c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
jmp 0x100b50a2
push 4
push esi
push 4
push 0
push 0x1011db14
push dword [ebp - 0x10c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 0x10c]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
test esi, esi
pop esi
sete al
xor ecx, ebp
call fcn.100b8868
mov esp, ebp
pop ebp
ret

Function at 0x100b50d0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [ebp - 4]
push eax
push 3
push 0
push str.SYSTEMCurrentControlSetControlGroupOrderList
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x100b50f8
xor al, al
mov esp, ebp
pop ebp
ret
cmp byte [ebp + 8], 0
push esi
push edi
je 0x100b5187
mov edi, dword [ebp + 0x10]
lea eax, [ebp - 8]
push edi
push 0
push eax
push 0
push str.PNP_TDI
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x100b5139
mov eax, dword [edi]
add eax, 4
push eax
call fcn.100cb4af
mov esi, dword [ebp + 0xc]
add esp, 4
mov dword [esi], eax
test eax, eax
jne 0x100b514a
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
push edi
push eax
lea eax, [ebp - 8]
push eax
push 0
push str.PNP_TDI
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edi, eax
test edi, edi
je 0x100b51b8
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [esi]
call fcn.100ca1b9
add esp, 4
mov dword [esi], 0
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 0x10]
mov edx, dword [esi]
cmp edx, 4
jbe 0x100b5197
shr edx, 2
dec edx
jmp 0x100b5199
xor edx, edx
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
mov dword [eax], edx
push dword [esi]
push dword [ecx]
push 3
push 0
push str.PNP_TDI
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edi, eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
pop edi
sete al
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100b51d0
Capabilities:
Persist via windows service
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [ebp - 4]
push eax
push 2
push 0
push str.SYSTEMCurrentControlSetServicesTcpipParameters
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x100b5216
push 4
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push 4
push 0
push str.DisableTaskOffload
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
mov esp, ebp
pop ebp
ret