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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov edx, ecx
mov dword [ebp - 8], edx
cmp byte [edx], 0
je 0x1008600f
cmp dword [edx + 0x24], 0
je 0x1008600f
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], eax
cmp ecx, eax
je 0x1008600f
push ebx
push esi
push edi
lea esi, [ecx + 4]
nop word [eax + eax]
cmp dword [esi + 0x14], 8
mov edi, esi
mov ebx, dword [esi + 0x10]
jb 0x10085ead
mov edi, dword [esi]
xor eax, eax
mov edx, 0x811c9dc5
add ebx, ebx
je 0x10085ec9
movzx ecx, byte [eax + edi]
inc eax
xor ecx, edx
imul edx, ecx, 0x1000193
cmp eax, ebx
jb 0x10085eb8
mov ebx, dword [ebp - 8]
lea eax, [ebp - 0x14]
push edx
push esi
push eax
lea ecx, [ebx + 4]
call fcn.1009ee80
mov edi, dword [eax + 4]
test edi, edi
jne 0x10085ee4
mov edi, dword [ebx + 8]
mov eax, ebx
cmp edi, dword [eax + 8]
je 0x10085ff7
mov ebx, dword [edi + 0x20]
test ebx, ebx
je 0x10085ff7
push ebx
call fcn.100b7367
mov edx, dword [ebp - 4]
add esp, 4
add edi, 0x28
mov dword [ebp + 8], edi
movzx eax, byte [edx]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [esi - 3]
xor ecx, eax
movzx eax, byte [esi - 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [esi - 1]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, edi
push eax
push edx
lea eax, [ebp - 0x1c]
push eax
call fcn.10069370
mov eax, dword [eax + 4]
test eax, eax
je 0x10085fee
mov edi, dword [edi + 4]
cmp eax, edi
je 0x10085fee
movzx ecx, byte [eax + 8]
xor ecx, 0x811c9dc5
imul edx, ecx, 0x1000193
movzx ecx, byte [eax + 9]
xor edx, ecx
movzx ecx, byte [eax + 0xa]
imul edx, edx, 0x1000193
xor edx, ecx
movzx ecx, byte [eax + 0xb]
imul edx, edx, 0x1000193
xor edx, ecx
imul ecx, edx, 0x1000193
mov edx, dword [ebp + 8]
mov edx, dword [edx + 0x18]
and edx, ecx
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0xc]
lea edx, [ecx + edx*8]
mov ecx, dword [edx]
cmp dword [edx + 4], eax
jne 0x10085fc0
cmp ecx, eax
jne 0x10085fb8
mov dword [edx], edi
mov dword [edx + 4], edi
jmp 0x10085fc8
mov edi, dword [eax + 4]
mov dword [edx + 4], edi
jmp 0x10085fc8
cmp ecx, eax
jne 0x10085fc8
mov ecx, dword [eax]
mov dword [edx], ecx
mov ecx, dword [ebp + 8]
mov edx, dword [eax]
push 0xc
push eax
dec dword [ecx + 8]
mov ecx, dword [eax + 4]
mov dword [ecx], edx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
call fcn.100b88b0
push ebx
call fcn.100b7383
add esp, 0xc
jmp 0x10085ff7
push ebx
call fcn.100b7383
add esp, 4
mov ecx, dword [ebp - 4]
add esi, 0x1c
add ecx, 0x1c
mov dword [ebp - 4], ecx
cmp ecx, dword [ebp - 0xc]
jne 0x10085ea0
pop edi
pop esi
pop ebx
mov al, 1
mov esp, ebp
pop ebp
ret 4
Function at 0x10087970
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10114168
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
mov dword [edi], 0
lea esi, [edi + 0xc]
mov byte [edi + 4], 0
mov dword [edi + 8], 0
mov dword [ebp - 0x14], esi
mov dword [esi], 0
push 0x24
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call fcn.100b887b
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 4], eax
lea ecx, [esi + 0xc]
mov dword [ebp - 4], 0
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov byte [ebp - 4], 1
mov dword [esi + 0x18], 7
mov dword [esi + 0x1c], 8
mov dword [esi], 0x3f800000
push dword [esi + 4]
push 0x10
call fcn.100241e0
mov dword [ebp - 4], 2
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov byte [ebp - 4], 3
lea esi, [edi + 0x38]
mov dword [ebp - 0x14], esi
push 0x34
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.100b887b
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov byte [ebp - 4], 4
lea esi, [edi + 0x40]
mov dword [ebp - 0x14], esi
push 0x34
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.100b887b
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
lea ecx, [edi + 0x48]
mov byte [ebp - 4], 5
call fcn.10065000
mov byte [ebp - 4], 6
lea esi, [edi + 0x68]
mov dword [ebp - 0x14], esi
push 0x34
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.100b887b
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov byte [ebp - 4], 7
lea esi, [edi + 0x70]
mov dword [ebp - 0x14], esi
push 0x34
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.100b887b
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov byte [ebp - 4], 8
lea ecx, [edi + 0x7c]
mov dword [edi + 0x78], 0
call fcn.1006eaf0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10092f70
Capabilities:
Query service status
Start service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10114d2d
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x10163164]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [ebp + 8]
mov eax, dword [0x10163ae0]
test bl, bl
je 0x10092fb0
add eax, 0x18c
jmp 0x10092fb5
add eax, 0x174
push eax
lea ecx, [ebp - 0x28]
call fcn.10006f40
push dword [ebp + 0xc]
mov ecx, edi
mov dword [ebp - 4], 0
push ebx
push 0
call fcn.10093720
push 0xf003f
push 0
xor bl, bl
push 0
mov dword [ebp - 0x50], ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov dword [ebp - 0x4c], eax
test eax, eax
je 0x100930f2
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
push 0xf01ff
cmovae ecx, dword [ebp - 0x28]
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov esi, eax
test esi, esi
jne 0x10093053
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x424
jne 0x100930e7
push dword [ebp + 0xc]
mov ecx, edi
push dword [ebp + 8]
push 1
call fcn.10093720
test al, al
je 0x100930e7
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push 0xf01ff
cmovae eax, dword [ebp - 0x28]
push eax
push dword [ebp - 0x4c]
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov esi, eax
lea eax, [ebp - 0x44]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x100930d8
mov eax, dword [ebp - 0x40]
cmp eax, 4
jne 0x1009306e
mov bl, 1
jmp 0x100930d8
cmp eax, 3
jne 0x100930c0
call fcn.100b2ca0
mov edi, dword [sym.imp.WINMM.dll_timeGetTime]
call edi
mov dword [ebp - 0x48], eax
call edi
sub eax, dword [ebp - 0x48]
cmp eax, 0xbb8
jae 0x100930c0
mov ebx, dword [ebp - 0x48]
lea eax, [ebp - 0x44]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x100930bd
cmp dword [ebp - 0x40], 1
je 0x100930bd
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
call edi
sub eax, ebx
cmp eax, 0xbb8
jb 0x10093092
mov ebx, dword [ebp - 0x50]
push 0
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
movzx ebx, bl
mov ecx, 1
cmovne ebx, ecx
test esi, esi
je 0x100930e7
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
jmp 0x100930ed
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push dword [ebp - 0x4c]
call esi
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x10093122
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10093118
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10093142
push ecx
push edx
call fcn.100b88b0
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100b8868
mov esp, ebp
pop ebp
ret 8
call fcn.100c9aa4
int3
Function at 0x10094d00
Capabilities:
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x10163164]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov bl, 1
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov esi, eax
test esi, esi
jne 0x10094d42
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100b8868
mov esp, ebp
pop ebp
ret 4
push 0xf01ff
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov edi, eax
test edi, edi
jne 0x10094d59
xor bl, bl
jmp 0x10094d6d
lea eax, [ebp - 0x20]
push eax
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_ControlService]
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100b8868
mov esp, ebp
pop ebp
ret 4
Function at 0x1009b790
Capabilities:
Hash data using fnv

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 0x10115695
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x18
push esi
push edi
mov eax, dword [0x10163164]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebx + 0xc]
movzx eax, byte [edi]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor ecx, eax
movzx eax, byte [edi + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edi + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edi + 4]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edi + 5]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edi + 6]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edi + 7]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
push eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x1c]
push edi
push eax
call fcn.1009d910
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x1009b853
mov eax, dword [ebx + 8]
mov dword [eax], ecx
mov byte [eax + 4], 0
jmp 0x1009b997
cmp dword [0x10175b28], 0x7ffffff
je 0x1009b9ad
mov dword [ebp - 0x24], 0x10175b24
mov dword [ebp - 4], 0
push 0x20
mov dword [ebp - 0x20], 0
call fcn.100b887b
mov ecx, dword [edi]
mov esi, eax
mov edx, dword [edi + 4]
xorps xmm0, xmm0
add esp, 4
mov dword [ebp - 0x20], esi
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
movups xmmword [esi + 0x10], xmm0
mov dword [ebp - 4], 1
mov ecx, dword [0x10175b28]
mov edi, dword [0x10175b3c]
lea eax, [ecx + 1]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
movd xmm1, edi
addsd xmm0, qword [eax*8 + 0x1014b760]
cvtdq2pd xmm1, xmm1
mov eax, edi
shr eax, 0x1f
cvtpd2ps xmm0, xmm0
addsd xmm1, qword [eax*8 + 0x1014b760]
movaps xmm2, xmm0
cvtpd2ps xmm1, xmm1
divss xmm2, xmm1
movss xmm1, dword [0x10175b20]
comiss xmm2, xmm1
jbe 0x1009b942
divss xmm0, xmm1
call fcn.100209c0
call fcn.1010c0b0
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
cmp edi, ecx
jae 0x1009b922
cmp edi, 0x200
jae 0x1009b920
shl edi, 3
cmp edi, ecx
jae 0x1009b922
mov edi, ecx
push edi
call fcn.1009d020
push dword [ebp - 0x14]
lea eax, [esi + 8]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.1009d910
mov ecx, dword [0x10175b28]
mov edx, dword [eax]
jmp 0x1009b945
mov edx, dword [ebp - 0x1c]
mov edi, dword [edx + 4]
inc ecx
mov dword [0x10175b28], ecx
mov dword [esi], edx
mov dword [esi + 4], edi
mov dword [edi], esi
mov dword [edx + 4], esi
mov eax, dword [0x10175b38]
and eax, dword [ebp - 0x14]
mov ecx, dword [0x10175b2c]
mov esi, dword [ecx + eax*8]
cmp esi, dword [0x10175b24]
mov esi, dword [ebp - 0x20]
jne 0x1009b97a
mov dword [ecx + eax*8], esi
jmp 0x1009b98a
cmp dword [ecx + eax*8], edx
jne 0x1009b984
mov dword [ecx + eax*8], esi
jmp 0x1009b98e
cmp dword [ecx + eax*8 + 4], edi
jne 0x1009b98e
mov dword [ecx + eax*8 + 4], esi
mov eax, dword [ebx + 8]
mov dword [eax], esi
mov byte [eax + 4], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
push str.unordered_map_set_too_long
call fcn.100b62ed
int3
Function at 0x1009bc00
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101156d5
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
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 ebx, dword [ebp + 0xc]
movzx eax, byte [ebx]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [ebx + 1]
xor edx, eax
movzx eax, byte [ebx + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [ebx + 3]
imul ecx, edx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, edi
push eax
mov dword [ebp + 0xc], eax
lea eax, [ebp - 0x1c]
push ebx
push eax
call fcn.10069370
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x1009bc93
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
cmp dword [edi + 8], 0xccccccc
je 0x1009bdd0
lea eax, [edi + 4]
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
push 0x14
mov dword [ebp - 0x10], 0
call fcn.100b887b
mov ecx, dword [ebx]
mov esi, eax
xorps xmm0, xmm0
mov dword [ebp - 0x10], esi
add esp, 4
mov dword [esi + 8], ecx
movq qword [esi + 0xc], xmm0
mov dword [esi + 0x10], 0
mov dword [ebp - 4], 1
mov eax, dword [edi + 8]
mov ebx, dword [edi + 0x1c]
inc eax
movss xmm3, dword [edi]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
movd xmm1, ebx
addsd xmm0, qword [eax*8 + 0x1014b760]
cvtdq2pd xmm1, xmm1
mov eax, ebx
shr eax, 0x1f
cvtpd2ps xmm0, xmm0
addsd xmm1, qword [eax*8 + 0x1014b760]
movaps xmm2, xmm0
cvtpd2ps xmm1, xmm1
divss xmm2, xmm1
comiss xmm2, xmm3
jbe 0x1009bd72
divss xmm0, xmm3
call fcn.100209c0
call fcn.1010c0b0
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
cmp ebx, ecx
jae 0x1009bd54
cmp ebx, 0x200
jae 0x1009bd52
shl ebx, 3
cmp ebx, ecx
jae 0x1009bd54
mov ebx, ecx
push ebx
mov ecx, edi
call fcn.10068150
push dword [ebp + 0xc]
lea eax, [esi + 8]
mov ecx, edi
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.10069370
mov edx, dword [eax]
jmp 0x1009bd75
mov edx, dword [ebp - 0x1c]
mov ebx, dword [edx + 4]
inc dword [edi + 8]
mov dword [esi], edx
mov dword [esi + 4], ebx
mov dword [ebx], esi
mov dword [edx + 4], esi
mov eax, dword [edi + 0x18]
and eax, dword [ebp + 0xc]
mov ecx, dword [edi + 0xc]
mov esi, dword [ebp - 0x14]
mov edi, dword [ecx + eax*8]
cmp edi, dword [esi]
mov esi, dword [ebp - 0x10]
jne 0x1009bda0
mov dword [ecx + eax*8], esi
jmp 0x1009bdaf
cmp edi, edx
jne 0x1009bda9
mov dword [ecx + eax*8], esi
jmp 0x1009bdb3
cmp dword [ecx + eax*8 + 4], ebx
jne 0x1009bdb3
mov dword [ecx + eax*8 + 4], esi
mov eax, dword [ebp + 8]
mov dword [eax], esi
mov byte [eax + 4], 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
push str.unordered_map_set_too_long
call fcn.100b62ed
int3
Function at 0x1009f6c0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101157dd
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
mov eax, dword [0x10163164]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0xb6c]
xor edx, edx
add eax, 0x1c
xchg dword [eax], edx
push 0x10
call fcn.100b887b
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [eax], 0x1009f8d0
mov dword [eax + 4], 0
mov dword [eax + 8], esi
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0
push ecx
push 0
push eax
push 0x100a06f0
push 0
push 0
call fcn.100cba9a
mov ecx, eax
add esp, 0x18
mov dword [ebp - 0x18], ecx
test ecx, ecx
je 0x1009f762
cmp dword [esi + 0xb74], 0
jne 0x1009f770
mov eax, dword [ebp - 0x14]
mov dword [esi + 0xb70], ecx
mov dword [esi + 0xb74], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
push 6
mov dword [ebp - 0x14], 0
call fcn.100b6fbf
call fcn.100cbb2d
int3

Function at 0x1009f780
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1011580d
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x10163164]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], ecx
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0xd964b800
mov dword [ebp - 0x14], 0x45
mov edi, dword [esi]
call fcn.1003e360
lea eax, [ebp - 0x18]
push eax
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x38]
call fcn.10041590
add esp, 4
mov ecx, eax
cmp byte [esi + 0x10], 0
mov dword [ebp - 0x14], ecx
je 0x1009f7fc
mov ecx, dword [edi + 0x2c]
lea edx, [esi + 0x14]
push 0xffffffffffffffff
push edx
lea eax, [edi + 0x14]
push eax
call fcn.100418b0
mov ecx, dword [ebp - 0x14]
mov byte [esi + 0x10], 0
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
mov dword [esi + 0xc], ecx
mov ebx, dword [esi]
push eax
mov dword [ebp - 0x1c], esi
add esi, 0x28
push 0x50
mov dword [ebp - 0x14], 0x10163ad8
mov dword [ebp - 0x38], eax
call fcn.10027780
mov edi, eax
add esp, 8
mov dword [ebp - 0x34], edi
mov dword [ebp - 4], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0x10163ad8
push esi
mov dword [edi + 0x14], 0
sub esp, 8
mov dword [edi + 0x18], 0x100a0ca0
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x28], 0
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
mov dword [edi + 0x30], ecx
lea ecx, [edi + 0x34]
mov dword [edi + 0x2c], eax
call fcn.1002af60
mov ecx, dword [ebp + 8]
add ecx, 8
mov dword [ebp - 0x30], edi
push edi
lea eax, [ecx + 0xc]
mov byte [ecx + 8], 1
push eax
push ecx
mov ecx, dword [ebx + 0x2c]
lea eax, [ebx + 0x14]
push eax
call fcn.10042900
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x100a0f20
Capabilities:
Get thread local storage value

Disassembly:
push esi
push edi
mov edi, ecx
cmp dword [edi + 8], 0
je 0x100a0f31
mov dword [edi + 8], 0
mov esi, dword [edi + 4]
test esi, esi
je 0x100a0f73
push dword [0x1017537c]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x100a0f63
mov edx, dword [eax + 4]
test edx, edx
je 0x100a0f63
mov eax, 4
cmp dword [edx + eax*4], 0
lea ecx, [edx + eax*4]
je 0x100a0f76
inc eax
cmp eax, 6
jl 0x100a0f54
push esi
call fcn.100b88ab
add esp, 4
mov dword [edi + 4], 0
pop edi
pop esi
ret
mov al, byte [esi + 0x18]
mov byte [esi], al
mov dword [ecx], esi
mov dword [edi + 4], 0
pop edi
pop esi
ret
Function at 0x100a1120
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10115b1e
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 esi, ecx
mov dword [ebp - 0x10], esi
mov edi, dword [ebp + 0x2c]
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov dword [esi], 1
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
movups xmmword [esi + 0x14], xmm0
movq qword [esi + 0x24], xmm0
mov dword [esi + 0x2c], 0
movups xmmword [esi + 0x30], xmm0
movq qword [esi + 0x40], xmm0
mov dword [esi + 0x48], 0
movups xmmword [esi + 0x4c], xmm0
mov dword [esi + 0x5c], 0
mov dword [esi + 0x60], 0xf
mov byte [esi + 0x4c], 0
lea edx, [esi + 0x64]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0xf
mov byte [edx], 0
movups xmmword [esi + 0x7c], xmm0
mov dword [esi + 0x8c], 0
mov dword [esi + 0x90], 0xf
mov byte [esi + 0x7c], 0
mov byte [ebp - 4], 3
mov dword [esi + 0x94], 0
mov dword [esi + 0x98], 0
lock inc dword [0x10174584]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov dword [esi + 8], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 0xc], ecx
lea ecx, [esi + 0x4c]
mov dword [esi + 0x10], eax
lea eax, [ebp + 0x14]
cmp ecx, eax
je 0x100a1236
cmp dword [ebp + 0x28], 0x10
push dword [ebp + 0x24]
cmovae eax, dword [ebp + 0x14]
push eax
call fcn.10024080
lea edx, [esi + 0x64]
cmp edx, edi
je 0x100a124e
cmp dword [edi + 0x14], 0x10
mov eax, dword [edi + 0x10]
jb 0x100a1245
mov edi, dword [edi]
push eax
push edi
mov ecx, edx
call fcn.10024080
mov eax, dword [ebp + 0x30]
mov ecx, dword [ebp + 0x28]
movups xmm0, xmmword [eax]
movups xmmword [esi + 0x14], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esi + 0x24], xmm0
mov eax, dword [eax + 0x18]
mov dword [esi + 0x2c], eax
mov eax, dword [ebp + 0x34]
movups xmm0, xmmword [eax]
movups xmmword [esi + 0x30], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esi + 0x40], xmm0
mov eax, dword [eax + 0x18]
mov dword [esi + 0x48], eax
cmp ecx, 0x10
jb 0x100a12b2
mov edx, dword [ebp + 0x14]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100a12a8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a12c7
push ecx
push edx
call fcn.100b88b0
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x30
call fcn.100c9aa4
int3
Function at 0x100a1fd0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10115c15
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x10163164]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp byte [esi], 0
mov edx, dword [ebp + 0xc]
je 0x100a21c5
cmp dword [esi + 0x24], 0
je 0x100a21c5
lea ecx, [ebp - 0x28]
call fcn.1007b520
mov dword [ebp - 4], 0
lea edi, [ebp - 0x28]
mov eax, dword [ebp - 0x18]
mov edx, 0x811c9dc5
cmp dword [ebp - 0x14], 8
cmovae edi, dword [ebp - 0x28]
xor ecx, ecx
lea ebx, [eax + eax]
test ebx, ebx
je 0x100a2051
nop
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x100a2040
push edx
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x48]
push eax
lea ecx, [esi + 4]
call fcn.1009ee80
mov edi, dword [eax + 4]
test edi, edi
jne 0x100a206c
mov edi, dword [esi + 8]
cmp edi, dword [esi + 8]
je 0x100a21b7
mov eax, dword [edi + 0x20]
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x100a21b7
push eax
call fcn.100b7375
mov edx, dword [ebp + 8]
lea ebx, [edi + 0x28]
movzx eax, dl
add esp, 4
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, dh
xor ecx, eax
movzx eax, byte [ebp + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [ebp + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, ebx
push eax
mov dword [ebp - 0x38], eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.10069370
mov ecx, dword [eax + 4]
lea eax, [ebx + 4]
mov dword [ebp - 0x30], eax
test ecx, ecx
je 0x100a2103
cmp ecx, dword [eax]
je 0x100a2106
push dword [ebp - 0x2c]
mov bl, 1
call fcn.100b7391
add esp, 4
lea ecx, [ebp - 0x28]
call fcn.10037f60
mov al, bl
jmp 0x100a21c7
mov dword [ebp - 0x30], eax
mov eax, dword [ebx + 8]
cmp eax, dword [esi + 0x24]
jb 0x100a212a
push dword [ebp - 0x2c]
xor bl, bl
call fcn.100b7391
add esp, 4
lea ecx, [ebp - 0x28]
call fcn.10037f60
mov al, bl
jmp 0x100a21c7
push dword [ebp - 0x2c]
call fcn.100b7391
mov edi, dword [edi + 0x20]
push edi
mov dword [ebp - 0x40], edi
call fcn.100b7367
add esp, 8
mov byte [ebp - 0x3c], 1
push dword [ebp - 0x38]
lea eax, [ebp + 8]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x50]
mov ecx, ebx
push eax
call fcn.10069370
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x100a2180
mov eax, dword [ebp - 0x30]
cmp ecx, dword [eax]
je 0x100a2180
push edi
mov bl, 1
call fcn.100b7383
add esp, 4
lea ecx, [ebp - 0x28]
call fcn.10037f60
mov al, bl
jmp 0x100a21c7
mov eax, dword [ebx + 8]
cmp eax, dword [esi + 0x24]
jb 0x100a219f
push edi
xor bl, bl
call fcn.100b7383
add esp, 4
lea ecx, [ebp - 0x28]
call fcn.10037f60
mov al, bl
jmp 0x100a21c7
lea eax, [ebp + 8]
mov ecx, ebx
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.100a5e30
push edi
call fcn.100b7383
add esp, 4
lea ecx, [ebp - 0x28]
mov bl, 1
call fcn.10037f60
mov al, bl
jmp 0x100a21c7
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100b8868
mov esp, ebp
pop ebp
ret 8