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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100da53b
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x1010f16c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov edi, dword [ebp + 0xc]
mov esi, edi
cmp dword [edi + 0x14], 0x10
mov ebx, dword [edi + 0x10]
jb 0x1003531b
mov esi, dword [edi]
xor ecx, ecx
mov edx, 0x811c9dc5
test ebx, ebx
je 0x10035337
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x10035326
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebx + 0x18]
and eax, edx
mov edx, dword [ebx + 0xc]
mov ebx, dword [ebx + 4]
mov dword [ebp - 0x18], edx
mov ecx, dword [edx + eax*8]
lea eax, [eax*8 + 4]
mov dword [ebp - 0x14], ecx
mov esi, ecx
mov dword [ebp - 0x1c], eax
nop word [eax + eax]
cmp ecx, ebx
jne 0x10035368
mov eax, ebx
jmp 0x1003536d
mov eax, dword [eax + edx]
mov eax, dword [eax]
cmp esi, eax
je 0x100353de
cmp dword [edi + 0x14], 0x10
lea ecx, [esi + 8]
mov eax, edi
jb 0x1003537e
mov eax, dword [edi]
mov edx, dword [ecx + 0x10]
mov dword [ebp + 0xc], edx
mov edx, dword [ecx + 0x14]
mov dword [ebp - 0x20], edx
cmp edx, 0x10
jb 0x10035391
mov ecx, dword [ecx]
push dword [edi + 0x10]
mov edx, dword [ebp + 0xc]
push eax
call fcn.1001a630
add esp, 8
test al, al
jne 0x100353b1
mov esi, dword [esi]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
jmp 0x10035360
cmp dword [ebp - 0x20], 0x10
lea eax, [esi + 8]
jb 0x100353bc
mov eax, dword [eax]
cmp dword [edi + 0x14], 0x10
mov ecx, edi
jb 0x100353c6
mov ecx, dword [edi]
push dword [ebp + 0xc]
mov edx, dword [edi + 0x10]
push eax
call fcn.1001a630
add esp, 8
mov ecx, ebx
test al, al
cmovne ecx, esi
jmp 0x100353e0
mov ecx, ebx
cmp ecx, ebx
jne 0x10035486
mov esi, dword [ebx]
push 0x2c
mov dword [ebp - 0x20], esi
mov eax, dword [esi + 4]
mov dword [ebp + 0xc], eax
call fcn.10090929
mov ebx, eax
add esp, 4
mov eax, dword [ebp + 0xc]
mov dword [ebx], esi
lea esi, [ebx + 8]
push edi
mov ecx, esi
mov dword [ebx + 4], eax
mov dword [ebp - 0x1c], esi
call fcn.100180e0
mov dword [ebp - 4], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [ebp - 4], 0xffffffff
mov eax, 0x5d1745c
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx + 8]
sub eax, ecx
cmp eax, 1
jb 0x100354a3
mov esi, dword [ebp + 8]
lea eax, [ecx + 1]
mov dword [edx + 8], eax
mov ecx, edx
mov eax, dword [ebp - 0x20]
mov dword [eax + 4], ebx
mov eax, dword [ebp + 0xc]
mov dword [eax], ebx
mov eax, dword [edx + 4]
mov eax, dword [eax]
push eax
add eax, 8
push eax
push esi
call fcn.100360d0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov byte [eax + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push str.list_T__too_long
call fcn.100796fe
int3
Function at 0x100362b0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, ecx
movzx eax, byte [edi]
xor eax, 0x811c9dc5
mov esi, dword [ebx + 4]
imul edx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor edx, eax
movzx eax, byte [edi + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [edi + 3]
imul ecx, edx, 0x1000193
mov edx, dword [ebx + 0x18]
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [ebx + 0xc]
and edx, eax
mov dword [ebp + 0xc], edx
mov eax, dword [ecx + edx*8]
cmp esi, eax
je 0x1003631d
mov esi, dword [ecx + edx*8 + 4]
mov esi, dword [esi]
cmp esi, eax
je 0x1003631d
mov ecx, dword [edi]
mov esi, dword [esi + 4]
cmp ecx, dword [esi + 8]
je 0x10036364
cmp esi, eax
jne 0x10036311
mov edi, dword [ebp + 0x10]
mov dword [ebp - 4], edi
mov eax, dword [edi]
cmp esi, eax
je 0x1003634d
mov ecx, dword [edi + 4]
mov dword [ecx], eax
mov ecx, dword [eax + 4]
mov dword [ecx], esi
mov ecx, dword [esi + 4]
mov dword [ecx], edi
mov edx, dword [esi + 4]
mov ecx, dword [eax + 4]
mov dword [esi + 4], ecx
mov ecx, dword [edi + 4]
mov dword [eax + 4], ecx
mov dword [edi + 4], edx
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebx + 0xc]
mov eax, dword [ecx + edx*8]
cmp eax, dword [ebx + 4]
jne 0x10036396
mov dword [ecx + edx*8], edi
mov eax, dword [ebx + 0xc]
mov dword [eax + edx*8 + 4], edi
jmp 0x100363bb
mov edx, dword [ebp + 0x10]
push 0x10
push edx
mov ecx, dword [edx + 4]
mov eax, dword [edx]
mov dword [ecx], eax
mov ecx, dword [edx]
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
dec dword [ebx + 8]
call fcn.1009091b
mov eax, dword [ebp + 8]
add esp, 8
pop edi
mov dword [eax], esi
pop esi
mov byte [eax + 4], 0
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp eax, esi
jne 0x1003639f
mov dword [ecx + edx*8], edi
jmp 0x100363bb
mov eax, dword [ecx + edx*8 + 4]
mov eax, dword [eax]
mov dword [ecx + edx*8 + 4], eax
cmp eax, edi
je 0x100363bb
mov ecx, dword [ebx + 0xc]
mov eax, dword [ecx + edx*8 + 4]
mov eax, dword [eax + 4]
mov dword [ecx + edx*8 + 4], eax
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 0x1c]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100f83f0]
mov eax, ecx
shr eax, 0x1f
cvtpd2ps xmm1, xmm0
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
addsd xmm0, qword [eax*8 + 0x100f83f0]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, dword [ebx]
jbe 0x10036443
cmp ecx, 0x200
jae 0x10036409
shl ecx, 3
jmp 0x10036413
cmp ecx, 0x1fffffff
jae 0x10036413
add ecx, ecx
push ecx
mov ecx, ebx
call fcn.10019f20
mov eax, dword [ebx + 4]
cmp dword [eax], eax
je 0x10036443
mov eax, dword [eax + 4]
mov edi, eax
mov esi, dword [ebx + 4]
mov ecx, ebx
mov esi, dword [esi]
push esi
lea eax, [esi + 8]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.100362b0
cmp esi, edi
jne 0x10036427
mov edi, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov dword [eax], edi
pop edi
pop esi
mov byte [eax + 4], 1
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10036460
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, ecx
movzx eax, byte [edi]
xor eax, 0x811c9dc5
mov esi, dword [ebx + 4]
imul edx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor edx, eax
movzx eax, byte [edi + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [edi + 3]
imul ecx, edx, 0x1000193
mov edx, dword [ebx + 0x18]
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [ebx + 0xc]
and edx, eax
mov dword [ebp + 0xc], edx
mov eax, dword [ecx + edx*8]
cmp esi, eax
je 0x100364cd
mov esi, dword [ecx + edx*8 + 4]
mov esi, dword [esi]
cmp esi, eax
je 0x100364cd
mov ecx, dword [edi]
mov esi, dword [esi + 4]
cmp ecx, dword [esi + 8]
je 0x10036514
cmp esi, eax
jne 0x100364c1
mov edi, dword [ebp + 0x10]
mov dword [ebp - 4], edi
mov eax, dword [edi]
cmp esi, eax
je 0x100364fd
mov ecx, dword [edi + 4]
mov dword [ecx], eax
mov ecx, dword [eax + 4]
mov dword [ecx], esi
mov ecx, dword [esi + 4]
mov dword [ecx], edi
mov edx, dword [esi + 4]
mov ecx, dword [eax + 4]
mov dword [esi + 4], ecx
mov ecx, dword [edi + 4]
mov dword [eax + 4], ecx
mov dword [edi + 4], edx
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebx + 0xc]
mov eax, dword [ecx + edx*8]
cmp eax, dword [ebx + 4]
jne 0x10036530
mov dword [ecx + edx*8], edi
mov eax, dword [ebx + 0xc]
mov dword [eax + edx*8 + 4], edi
jmp 0x10036555
push dword [ebp + 0x10]
mov ecx, ebx
call fcn.100365f0
mov eax, dword [ebp + 8]
pop edi
mov dword [eax], esi
pop esi
mov byte [eax + 4], 0
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp eax, esi
jne 0x10036539
mov dword [ecx + edx*8], edi
jmp 0x10036555
mov eax, dword [ecx + edx*8 + 4]
mov eax, dword [eax]
mov dword [ecx + edx*8 + 4], eax
cmp eax, edi
je 0x10036555
mov ecx, dword [ebx + 0xc]
mov eax, dword [ecx + edx*8 + 4]
mov eax, dword [eax + 4]
mov dword [ecx + edx*8 + 4], eax
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 0x1c]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100f83f0]
mov eax, ecx
shr eax, 0x1f
cvtpd2ps xmm1, xmm0
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
addsd xmm0, qword [eax*8 + 0x100f83f0]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, dword [ebx]
jbe 0x100365dd
cmp ecx, 0x200
jae 0x100365a3
shl ecx, 3
jmp 0x100365ad
cmp ecx, 0x1fffffff
jae 0x100365ad
add ecx, ecx
push ecx
mov ecx, ebx
call fcn.10019f20
mov eax, dword [ebx + 4]
cmp dword [eax], eax
je 0x100365dd
mov eax, dword [eax + 4]
mov edi, eax
mov esi, dword [ebx + 4]
mov ecx, ebx
mov esi, dword [esi]
push esi
lea eax, [esi + 8]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.10036460
cmp esi, edi
jne 0x100365c1
mov edi, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov dword [eax], edi
pop edi
pop esi
mov byte [eax + 4], 1
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10036e60
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
lea esi, [ecx + 0x28]
mov edi, 2
mov ecx, esi
call fcn.100370e0
add esi, 0x54
sub edi, 1
jne 0x10036e74
mov esi, dword [ebp - 4]
lea edx, [esi + 0x14]
mov dword [ebp - 8], edx
mov ebx, dword [sym.imp.KERNEL32.dll_ResetEvent]
push 0xffffffffffffffff
push 0
push edx
push 5
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov ecx, eax
test ecx, ecx
jne 0x10036f37
cmp byte [esi + 0x11], al
jne 0x10036fbd
mov ecx, dword [esi]
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0x58
mov edi, 2
cmp byte [esi - 0x24], 0
jne 0x10036f24
mov ecx, dword [esi - 0x1c]
test ecx, ecx
je 0x10036f1f
cmp byte [esi - 0x23], 0
je 0x10036f1f
add ecx, 4
mov dword [esi - 8], 0
lea eax, [esi - 8]
mov dword [esi - 4], 0
push eax
mov dword [esi], 0
mov dword [esi + 4], 0
mov eax, dword [ecx]
push 0
add eax, 4
push eax
push ecx
push dword [esi - 0x28]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x10036f19
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x10036f24
mov byte [esi - 0x24], 1
jmp 0x10036f24
push dword [esi + 8]
call ebx
add esi, 0x54
sub edi, 1
jne 0x10036ec1
mov esi, dword [ebp - 4]
mov edx, dword [ebp - 8]
jmp 0x10036e92
lea eax, [ecx - 1]
lea edx, [esi + 0x14]
cmp eax, 3
ja 0x10036e92
shr eax, 1
imul eax, eax, 0x54
add esi, eax
test cl, 1
jne 0x10036faa
lea ebx, [esi + 0x78]
mov byte [esi + 0x34], 0
push ebx
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
mov eax, dword [esi + 0x3c]
lea edi, [esi + 0x3c]
mov dword [ebp - 0xc], eax
mov eax, dword [eax]
mov dword [edi], eax
test eax, eax
jne 0x10036f74
mov dword [esi + 0x40], edi
push ebx
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
push dword [ebp - 0xc]
call fcn.100abd36
add esp, 4
cmp dword [edi], 0
jne 0x10036f91
cmp byte [esi + 0x36], 5
je 0x10036fa4
lea ecx, [esi + 0x28]
call fcn.10037070
mov esi, dword [ebp - 4]
mov edx, dword [ebp - 8]
jmp 0x10036e8c
mov ebx, dword [sym.imp.KERNEL32.dll_ResetEvent]
lea ecx, [esi + 0x28]
call fcn.100370e0
mov esi, dword [ebp - 4]
mov edx, dword [ebp - 8]
jmp 0x10036e92
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10037070
Capabilities:
Write file on windows

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0xc], 0
jne 0x100370da
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x100370d1
cmp byte [esi + 0xd], 0
je 0x100370d1
lea eax, [esi + 0x28]
add ecx, 4
mov dword [eax], 0
push eax
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov eax, dword [ecx]
push 0
add eax, 4
push eax
push ecx
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x100370cb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x100370da
mov byte [esi + 0xc], 1
pop esi
ret
push dword [esi + 0x38]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
pop esi
ret
Function at 0x10037490
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x1010f16c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 4
push ecx
push str._s_failed_w_err_0x_08lx
lea eax, [ebp - 0x110]
push 0x104
push eax
call fcn.100379c0
add esp, 0x14
push 0x100f5a54
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov esi, eax
test esi, esi
je 0x1003750c
push 0
lea eax, [ebp - 0x110]
mov dword [ebp - 0x118], str.TunSafeService
mov dword [ebp - 0x114], eax
lea eax, [ebp - 0x118]
push eax
push 0
push 2
push 0
push 0
push 0
push 4
push esi
call dword [sym.imp.ADVAPI32.dll_ReportEventA]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.100908e7
mov esp, ebp
pop ebp
ret

Function at 0x10037910
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push edi
lea eax, [ebp - 8]
mov dword [ebp - 4], 0
push eax
mov esi, ecx
mov dword [ebp - 8], 4
lea eax, [ebp - 4]
push eax
push 0
mov eax, dword [esi + 8]
push 0
push str.AllowPrePost
push dword [eax + 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edi, dword [ebp + 8]
mov eax, edi
cmp dword [ebp - 4], 0
setne byte [0x1011582c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10037958
sub eax, edx
lea ecx, [esi + 0x20]
push eax
push edi
call fcn.100057f0
mov ecx, dword [esi + 0xc]
push edi
mov eax, dword [ecx]
call dword [eax + 0x10]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x10038290
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
mov eax, dword [0x1010f16c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x40]
mov dword [ebp - 0x44], 0
push eax
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x40], 0x1c
mov esi, ecx
xorps xmm0, xmm0
push eax
push esi
movups xmmword [ebp - 0x5c], xmm0
movq qword [ebp - 0x4c], xmm0
call dword [sym.imp.WS2_32.dll_getsockname]
movups xmm0, xmmword [ebp - 0x5c]
mov eax, dword [ebp - 0x44]
mov dword [ebp - 8], eax
lea eax, [ebp - 0x40]
push eax
movups xmmword [ebp - 0x20], xmm0
lea eax, [ebp - 0x78]
mov dword [ebp - 0x60], 0
movq xmm0, qword [ebp - 0x4c]
movq qword [ebp - 0x10], xmm0
xorps xmm0, xmm0
push eax
push esi
movups xmmword [ebp - 0x78], xmm0
mov dword [ebp - 0x40], 0x1c
movq qword [ebp - 0x68], xmm0
call dword [sym.imp.WS2_32.dll_getpeername]
movups xmm0, xmmword [ebp - 0x78]
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x5c]
movups xmmword [ebp - 0x3c], xmm0
movq xmm0, qword [ebp - 0x68]
movq qword [ebp - 0x2c], xmm0
cmp ax, 2
jne 0x10038353
mov eax, dword [ebp - 0x78]
shr eax, 0x10
cmp word [ebp - 0x5a], ax
jne 0x10038392
mov eax, dword [ebp - 0x58]
cmp eax, dword [ebp - 0x74]
jne 0x10038392
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100908e7
mov esp, ebp
pop ebp
ret
cmp ax, 0x17
jne 0x10038392
mov eax, dword [ebp - 0x78]
shr eax, 0x10
cmp word [ebp - 0x5a], ax
jne 0x10038392
lea edx, [ebp - 0x18]
mov esi, 0xc
lea eax, [ebp - 0x34]
mov ecx, dword [edx]
cmp ecx, dword [eax]
jne 0x10038392
add edx, 4
add eax, 4
sub esi, 4
jae 0x10038370
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100908e7
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
xor ecx, ebp
pop esi
call fcn.100908e7
mov esp, ebp
pop ebp
ret
Function at 0x100397c0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100daca9
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x1010f16c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], 0
mov ebx, dword [ebp + 0xc]
movzx eax, bl
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
mov eax, ebx
shr eax, 8
movzx eax, al
xor edx, eax
mov eax, ebx
shr eax, 0x10
imul ecx, edx, 0x1000193
mov edx, dword [esi + 0x94]
movzx eax, al
xor ecx, eax
mov eax, ebx
imul ecx, ecx, 0x1000193
shr eax, 0x18
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [esi + 0xa8]
and ecx, eax
mov eax, dword [esi + 0x9c]
mov esi, dword [esi + 0x9c]
mov edi, dword [eax + ecx*8]
lea ecx, [ecx*8 + 4]
mov eax, edi
mov dword [ebp - 0x14], ecx
cmp edi, edx
jne 0x10039860
mov ecx, edx
jmp 0x10039865
mov ecx, dword [ecx + esi]
mov ecx, dword [ecx]
cmp eax, ecx
je 0x100398c3
cmp dword [eax + 8], ebx
je 0x10039875
mov eax, dword [eax]
mov ecx, dword [ebp - 0x14]
jmp 0x10039858
cmp eax, edx
je 0x100398c3
mov edx, dword [ebp + 8]
mov dword [edx], 0
mov dword [edx + 4], 0
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x10039894
lock inc dword [ecx + 4]
mov ecx, dword [eax + 0xc]
mov dword [edx], ecx
mov ecx, dword [eax + 0x10]
mov dword [edx + 4], ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 1
mov eax, edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 8]
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x10039900
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100dacf3
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x1010f16c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
lea edx, [ecx + 0x90]
mov ebx, dword [ebp + 8]
movzx eax, bl
xor eax, 0x811c9dc5
mov edi, dword [edx + 0xc]
imul ecx, eax, 0x1000193
mov eax, ebx
shr eax, 8
movzx eax, al
mov dword [ebp - 0x14], edx
xor ecx, eax
mov eax, ebx
imul ecx, ecx, 0x1000193
shr eax, 0x10
movzx eax, al
xor ecx, eax
mov eax, ebx
imul ecx, ecx, 0x1000193
shr eax, 0x18
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [edx + 0x18]
mov edx, dword [edx + 4]
and ecx, eax
mov esi, dword [edi + ecx*8]
lea ecx, [ecx*8 + 4]
mov eax, esi
mov dword [ebp - 0x10], ecx
cmp esi, edx
jne 0x10039998
mov ecx, edx
jmp 0x1003999d
mov ecx, dword [ecx + edi]
mov ecx, dword [ecx]
cmp eax, ecx
je 0x100399b1
cmp dword [eax + 8], ebx
je 0x100399ad
mov eax, dword [eax]
mov ecx, dword [ebp - 0x10]
jmp 0x10039990
cmp eax, edx
jne 0x10039a1b
mov edi, dword [edx]
push 0x14
mov ebx, dword [edi + 4]
call fcn.10090929
mov esi, eax
add esp, 4
lea edx, [esi + 8]
mov dword [ebp - 0x10], edx
mov dword [esi], edi
mov dword [esi + 4], ebx
mov ecx, dword [ebp + 8]
mov dword [edx], ecx
mov dword [edx + 4], 0
mov dword [edx + 8], 0
mov byte [ebp - 4], 0
mov eax, 0xccccccb
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 8]
sub eax, edx
cmp eax, 1
jb 0x10039ac3
lea eax, [edx + 1]
mov dword [ecx + 8], eax
mov dword [edi + 4], esi
mov dword [ebx], esi
mov eax, dword [ecx + 4]
mov eax, dword [eax]
push eax
lea edx, [eax + 8]
push edx
lea eax, [ebp - 0x18]
push eax
call fcn.10050440
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], esi
mov dword [ebp + 0xc], 0
mov dword [ebp + 0x10], 0
mov byte [ebp - 4], 3
mov ecx, dword [eax + 0xc]
mov dword [eax + 0xc], edx
mov edi, dword [eax + 0x10]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], edi
mov dword [eax + 0x10], esi
mov byte [ebp - 4], 0
or ebx, 0xffffffff
test edi, edi
je 0x10039a83
mov eax, ebx
lock xadd dword [edi + 4], eax
jne 0x10039a83
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, ebx
lock xadd dword [edi + 8], eax
jne 0x10039a83
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x10039aaf
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x10039aaf
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x10039aaf
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push str.list_T__too_long
call fcn.100796fe
int3
Function at 0x1003de10
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, ecx
mov bl, 1
cmp byte [esi + 0x3c], 0
je 0x1003de2a
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x58]
push 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov ecx, dword [eax + 4]
lea eax, [esi + 0xc]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push 1
push 0x1010fc94
push ecx
call dword [sym.imp.WS2_32.dll_WSARecv]
cmp eax, 0xffffffff
jne 0x1003de6f
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x3e5
sete bl
jne 0x1003de73
mov byte [esi + 0x3c], 1
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1003f350
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, dword [ecx + 0x28]
push ebx
push esi
push edi
cmp byte [eax], 0
mov dword [esp + 0x14], ecx
je 0x1003f45e
mov edx, dword [0x10113a4c]
add ecx, 0x30
mov eax, dword fs:[0x2c]
mov eax, dword [eax + edx*4]
mov dword [esp + 0x10], eax
mov ebx, dword [ecx]
mov esi, 0x64
mov ecx, ebx
xor edi, edi
call fcn.10039ad0
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 0xc]
test eax, eax
jne 0x1003f3b0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [esp + 0x10]
mov dword [ecx + 0xc], eax
cmp dword [ebx + 0x84], eax
jne 0x1003f465
mov eax, dword [ebx + 0x88]
mov ecx, dword [eax]
cmp ecx, dword [eax + 4]
je 0x1003f432
mov esi, dword [ecx]
lea ecx, [esp + 0x20]
call fcn.10051580
lea eax, [esi + 0x30]
push eax
lea edx, [esp + 0x24]
lea ecx, [esp + 0x2c]
call fcn.10047980
mov ecx, dword [esi + 0x38]
add esp, 4
mov edx, dword [esi + 0x3c]
sub ecx, dword [eax]
sbb edx, dword [eax + 4]
test edx, edx
jg 0x1003f40e
jl 0x1003f3fd
test ecx, ecx
jae 0x1003f40e
xorps xmm0, xmm0
movlpd qword [esp + 0x18], xmm0
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push 0
push 0xf4240
push edx
push ecx
call fcn.100d2870
mov edi, edx
mov esi, eax
test edi, edi
jg 0x1003f42b
jl 0x1003f432
cmp esi, 0x64
jb 0x1003f432
mov esi, 0x64
xor edi, edi
push edi
push esi
mov ecx, ebx
call fcn.10039050
mov ebx, dword [esp + 0x14]
mov ecx, dword [ebx + 0x24]
test ecx, ecx
je 0x1003f44f
mov eax, dword [ecx]
lea edx, [ebx + 0x30]
push edx
call dword [eax + 8]
mov eax, dword [ebx + 0x28]
lea ecx, [ebx + 0x30]
cmp byte [eax], 0
jne 0x1003f382
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.only_loop_in_IO_thread
lea ecx, [esp + 0x24]
call fcn.10037f70
push 0x1010c660
lea eax, [esp + 0x24]
push eax
call fcn.100a824e
int3
Function at 0x10041ac0
Capabilities:
Generate random numbers via rtlgenrandom
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
mov dword [esi + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [0x101160c8]
mov dword [esi], 0
mov dword [esi + 4], 0
test eax, eax
jne 0x10041b08
push str.SystemFunction036
push str.ADVAPI32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x101160c8], eax
test eax, eax
je 0x10041b11
push 4
push esi
call eax
test al, al
jne 0x10041b19
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, dword [esi]
and eax, 0xfefefefe
mov dword [esi + 4], eax
mov eax, esi
pop esi
pop ebp
ret 8