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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1013fade
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x50
mov dword [ebp - 0x1c], 0
xorps xmm0, xmm0
push esi
push edi
mov dword [ebp - 0x18], ecx
movups xmmword [ebp - 0x5c], xmm0
mov dword [ebp - 0x20], 0
movq qword [ebp - 0x4c], xmm0
call fcn.10063ca0
push 0x19
mov esi, eax
mov dword [ebp - 0x44], 0
push 0x10198338
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
call fcn.100485f0
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], 1
call fcn.1007a8b0
lea eax, [esi + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [ebp - 0x30], 0x10
lea esi, [ebp - 0x44]
mov edi, dword [ebp - 0x44]
mov edx, 0x811c9dc5
cmovae esi, edi
xor ecx, ecx
cmp dword [ebp - 0x34], ecx
jbe 0x1007eb12
nop
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, dword [ebp - 0x34]
jb 0x1007eb00
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x44]
push edx
push eax
lea eax, [ebp - 0x2c]
mov ecx, esi
push eax
call fcn.10064540
mov eax, dword [eax + 4]
test eax, eax
je 0x1007eb71
cmp eax, dword [esi + 4]
je 0x1007eb71
mov esi, dword [eax + 0x20]
mov eax, dword [ebp - 0x14]
add eax, 0x20
mov dword [ebp - 0x24], esi
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test esi, esi
je 0x1007eb7b
mov esi, dword [ebp - 0x18]
lea eax, [ebp - 0x20]
push eax
push 0x18
lea eax, [ebp - 0x5c]
add esi, 4
push eax
push 0
push dword [esi]
call dword [ebp - 0x24]
mov ecx, esi
test eax, eax
js 0x1007eb81
cmp dword [ebp + 8], 0
je 0x1007eb81
mov byte [ebp - 0xd], 1
jmp 0x1007eb87
lea eax, [esi + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 0x18]
add ecx, 4
mov byte [ebp - 0xd], 0
mov esi, ecx
mov eax, dword [ebp - 0x30]
cmp eax, 0x10
jb 0x1007ebbc
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x1007ebb2
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1007ebb2
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edi
call fcn.1013b151
add esp, 8
cmp byte [ebp - 0xd], 0
je 0x1007ebd7
push 0
push 0x388
push dword [ebp + 8]
push dword [ebp - 0x58]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0xc]
pop edi
cdq
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x1007ebf0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1013fb0e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
mov eax, ecx
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x1c], eax
cmp byte [eax + 0xd], 0
jne 0x1007ec31
xor eax, eax
xor edx, edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
push ebx
push esi
push edi
push 0x30
lea eax, [ebp - 0x6c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x18], 0
call fcn.10063ca0
push 0x18
mov esi, eax
mov dword [ebp - 0x3c], 0
push 0x101982e4
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
call fcn.100485f0
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 1
call fcn.1007a8b0
lea eax, [esi + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [ebp - 0x28], 0x10
lea esi, [ebp - 0x3c]
mov edi, dword [ebp - 0x3c]
mov edx, 0x811c9dc5
mov ebx, dword [ebp - 0x2c]
cmovae esi, edi
xor ecx, ecx
test ebx, ebx
je 0x1007ecc2
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x1007ecb1
mov ebx, dword [ebp - 0x14]
lea eax, [ebp - 0x3c]
push edx
push eax
lea eax, [ebp - 0x24]
mov ecx, ebx
push eax
call fcn.10064540
mov esi, dword [eax + 4]
test esi, esi
je 0x1007ed11
cmp esi, dword [ebx + 4]
je 0x1007ed11
mov esi, dword [esi + 0x20]
lea eax, [ebx + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test esi, esi
je 0x1007ed1b
lea eax, [ebp - 0x18]
push eax
push 0x30
lea eax, [ebp - 0x6c]
push eax
push 0
push dword [ebp + 8]
call esi
test eax, eax
js 0x1007ed1b
cmp dword [ebp + 0xc], 0
je 0x1007ed1b
mov bl, 1
jmp 0x1007ed1d
lea eax, [ebx + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor bl, bl
mov eax, dword [ebp - 0x28]
cmp eax, 0x10
jb 0x1007ed52
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x1007ed48
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1007ed48
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edi
call fcn.1013b151
add esp, 8
pop edi
pop esi
test bl, bl
pop ebx
je 0x1007ed78
mov eax, dword [ebp - 0x64]
push 0
push 0x1000
push dword [ebp + 0xc]
add eax, 0x2000
push eax
mov eax, dword [ebp - 0x1c]
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov eax, dword [ebp - 0x64]
mov edx, dword [ebp - 0x60]
add eax, 0x2000
mov ecx, dword [ebp - 0xc]
adc edx, 0
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x1007eda0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1013fb0e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
push ebx
push esi
push edi
push 0x30
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x1c], ecx
push 0
push eax
mov dword [ebp - 0x10], 0
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x18], 0
call fcn.10063ca0
push 0x18
mov esi, eax
mov dword [ebp - 0x3c], 0
push 0x10198300
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
call fcn.100485f0
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 1
call fcn.1007a8b0
lea eax, [esi + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [ebp - 0x28], 0x10
lea esi, [ebp - 0x3c]
mov edi, dword [ebp - 0x3c]
mov edx, 0x811c9dc5
mov ebx, dword [ebp - 0x2c]
cmovae esi, edi
xor ecx, ecx
test ebx, ebx
je 0x1007ee56
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x1007ee45
mov ebx, dword [ebp - 0x14]
lea eax, [ebp - 0x3c]
push edx
push eax
lea eax, [ebp - 0x24]
mov ecx, ebx
push eax
call fcn.10064540
mov eax, dword [eax + 4]
test eax, eax
je 0x1007eea5
cmp eax, dword [ebx + 4]
je 0x1007eea5
mov esi, dword [eax + 0x20]
lea eax, [ebx + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test esi, esi
je 0x1007eeaf
lea eax, [ebp - 0x18]
push eax
push 0x30
lea eax, [ebp - 0x6c]
push eax
push 0
push dword [ebp + 8]
call esi
test eax, eax
js 0x1007eeaf
cmp dword [ebp + 0xc], 0
je 0x1007eeaf
mov bl, 1
jmp 0x1007eeb1
lea eax, [ebx + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor bl, bl
mov eax, dword [ebp - 0x28]
cmp eax, 0x10
jb 0x1007eee6
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x1007eedc
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1007eedc
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edi
call fcn.1013b151
add esp, 8
pop edi
pop esi
test bl, bl
pop ebx
je 0x1007ef06
mov eax, dword [ebp - 0x1c]
push 0
push 0x1838
push dword [ebp + 0xc]
push dword [ebp - 0x64]
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov eax, dword [ebp - 0x64]
mov edx, dword [ebp - 0x60]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x10087790
Capabilities:
Encode data using xor
Hash data using fnv
Suspend thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1013fa4d
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push esi
push edi
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [esi + 4], eax
jne 0x100877ce
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi]
mov eax, dword [eax + 8]
cmp dword [eax + 8], 3
jne 0x100878e8
cmp byte [eax + 0xe], 0
jne 0x100878e8
call fcn.10063ca0
push 0x12
mov ebx, eax
mov dword [ebp - 0x30], 0
push 0x101989d4
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
call fcn.100485f0
mov dword [ebp - 4], 0
call fcn.1007a8b0
lea eax, [ebx + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [ebp - 0x1c], 0x10
lea ebx, [ebp - 0x30]
mov edi, dword [ebp - 0x30]
mov edx, 0x811c9dc5
cmovae ebx, edi
xor ecx, ecx
cmp dword [ebp - 0x20], ecx
jbe 0x10087856
movzx eax, byte [ecx + ebx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, dword [ebp - 0x20]
jb 0x10087844
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x30]
push edx
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.10064540
mov ecx, dword [ebp - 0x10]
mov ebx, dword [eax + 4]
test ebx, ebx
je 0x1008788e
cmp ebx, dword [ecx + 4]
je 0x1008788e
mov ebx, dword [ebx + 0x20]
lea eax, [ecx + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test ebx, ebx
je 0x10087898
push dword [esi + 8]
call ebx
jmp 0x1008789a
lea eax, [ecx + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
cmp eax, 0xffffffff
mov eax, dword [ebp - 0x1c]
setne bl
cmp eax, 0x10
jb 0x100878d5
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x100878cb
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100878cb
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edi
call fcn.1013b151
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_SuspendThread]
mov ecx, dword [ebp - 0xc]
cmp eax, 0xffffffff
pop edi
pop esi
setne al
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10087910
Capabilities:
Resume thread

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x958
push esi
push edi
mov edi, dword [ebx + 8]
mov esi, ecx
cmp edi, 4
ja 0x10087acb
push 0x670
lea eax, [ebp - 0x950]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x2e0]
push 0x2cc
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [esi]
add esp, 0xc
mov eax, dword [ecx + 8]
mov al, byte [eax + 0xe]
mov byte [ebp - 1], al
test al, al
jne 0x10087991
mov dword [ebp - 0x920], 0x100010
lea edx, [ebp - 0x950]
mov ecx, dword [ecx + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x2c]
jmp 0x100879a9
mov dword [ebp - 0x2e0], 0x10010
lea edx, [ebp - 0x2e0]
mov ecx, dword [ecx + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
push edx
push dword [esi + 8]
call eax
cmp byte [ebp - 1], 0
lea ecx, [ebp - 0x8e0]
lea edx, [ebp - 0x2c8]
cmovne ecx, edx
mov dword [ebp - 0xc], ecx
test eax, eax
js 0x10087acd
mov edx, dword [ecx]
test edi, edi
jne 0x100879dd
and edx, 0xfff0fffe
mov dword [ecx], edx
jmp 0x10087a46
cmp edi, 1
jne 0x100879e7
and edx, 0xfffffffb
jmp 0x100879fc
cmp edi, 2
mov dword [ebp - 8], 0xffffffbf
mov eax, 0xffffffef
cmovne eax, dword [ebp - 8]
and edx, eax
cmp edi, 1
jne 0x10087a09
and edx, 0xff3fffff
jmp 0x10087a1e
cmp edi, 2
mov dword [ebp - 8], 0x3fffffff
mov eax, 0xf3ffffff
cmovne eax, dword [ebp - 8]
and edx, eax
cmp edi, 1
jne 0x10087a2d
and edx, 0xffcfffff
mov dword [ecx], edx
jmp 0x10087a46
cmp edi, 2
mov dword [ebp - 8], 0xcfffffff
mov eax, 0xfcffffff
cmovne eax, dword [ebp - 8]
and eax, edx
mov dword [ecx], eax
mov edx, eax
mov eax, edx
shr eax, 2
mov ecx, eax
or ecx, edx
shr ecx, 4
or ecx, eax
or ecx, edx
test cl, 1
jne 0x10087a66
mov eax, dword [ebp - 0xc]
and edx, 0xfffffeff
mov dword [eax], edx
mov ecx, esi
mov edi, 0xc000071c
call fcn.10087790
cmp byte [ebp - 1], 0
jne 0x10087a8e
test al, al
je 0x10087abe
mov eax, dword [esi]
lea edx, [ebp - 0x950]
mov ecx, dword [eax + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
jmp 0x10087aa2
test al, al
je 0x10087abe
mov eax, dword [esi]
lea edx, [ebp - 0x2e0]
mov ecx, dword [eax + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
push edx
push dword [esi + 8]
call eax
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [esi + 4], eax
je 0x10087abe
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
Function at 0x10087ae0
Capabilities:
Resume thread

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x958
push esi
push edi
push 0x670
lea eax, [ebp - 0x950]
mov esi, ecx
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x2d8]
push 0x2cc
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [esi]
add esp, 0xc
mov eax, dword [ecx + 8]
mov al, byte [eax + 0xe]
mov byte [ebp - 1], al
test al, al
jne 0x10087b55
mov dword [ebp - 0x920], 0x100010
lea edx, [ebp - 0x950]
mov ecx, dword [ecx + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x2c]
jmp 0x10087b6d
mov dword [ebp - 0x2d8], 0x10010
lea edx, [ebp - 0x2d8]
mov ecx, dword [ecx + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
push edx
push dword [esi + 8]
call eax
cmp byte [ebp - 1], 0
lea edi, [ebp - 0x8e0]
lea ecx, [ebp - 0x2c0]
cmovne edi, ecx
test eax, eax
jns 0x10087b97
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
mov edx, dword [ebx + 8]
xor eax, eax
nop dword [eax]
lea ecx, [eax*4]
cmp dword [ebp + eax*8 - 0x908], edx
jne 0x10087bbf
mov edx, dword [ebx + 0xc]
cmp dword [ebp + eax*8 - 0x904], edx
mov edx, dword [ebx + 8]
je 0x10087bde
cmp dword [ebp + ecx - 0x2d4], edx
je 0x10087bde
inc eax
cmp eax, 4
jl 0x10087ba0
mov eax, 0xc0000225
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
cmp byte [ebp - 1], 0
jne 0x10087bfc
mov dword [ebp + eax*8 - 0x908], 0
mov dword [ebp + eax*8 - 0x904], 0
jmp 0x10087c07
mov dword [ebp + ecx - 0x2d4], 0
mov edx, dword [edi]
test eax, eax
jne 0x10087c15
and edx, 0xfff0fffe
jmp 0x10087c35
cmp eax, 1
jne 0x10087c22
and edx, 0xff0ffffb
jmp 0x10087c35
cmp eax, 2
jne 0x10087c2f
and edx, 0xf0ffffef
jmp 0x10087c35
and edx, 0xfffffbf
mov eax, edx
mov dword [edi], edx
shr eax, 2
mov ecx, eax
or ecx, edx
shr ecx, 4
or ecx, eax
or ecx, edx
test cl, 1
jne 0x10087c54
and edx, 0xfffffeff
mov dword [edi], edx
mov ecx, esi
mov edi, 0xc000071c
call fcn.10087790
cmp byte [ebp - 1], 0
jne 0x10087c7c
test al, al
je 0x10087cac
mov eax, dword [esi]
lea edx, [ebp - 0x950]
mov ecx, dword [eax + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
jmp 0x10087c90
test al, al
je 0x10087cac
mov eax, dword [esi]
lea edx, [ebp - 0x2d8]
mov ecx, dword [eax + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
push edx
push dword [esi + 8]
call eax
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [esi + 4], eax
je 0x10087cac
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
Function at 0x10087cc0
Capabilities:
Encode data using xor
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
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1013fa0d
push eax
mov dword fs:[0], esp
mov eax, dword fs:[0x2c]
mov ecx, dword [0x101b23b4]
push ebx
sub esp, 0x48
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x101b2bb0]
push esi
push edi
cmp eax, dword [ecx + 4]
jle 0x10087d4c
push 0x101b2bb0
call fcn.1013b04b
add esp, 4
cmp dword [0x101b2bb0], 0xffffffff
jne 0x10087d4c
push str.GetThreadId
push 0x101989b8
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x101b2bb0
mov dword [0x101b2bac], eax
call fcn.1013b001
add esp, 4
mov eax, dword [0x101b2bac]
test eax, eax
je 0x10087d5f
push dword [ebx + 8]
call eax
jmp 0x10087e83
xorps xmm0, xmm0
mov dword [ebp - 0x3c], 0
movups xmmword [ebp - 0x54], xmm0
mov dword [ebp - 0x18], 0
movq qword [ebp - 0x44], xmm0
call fcn.10063ca0
push 0x18
mov esi, eax
mov dword [ebp - 0x38], 0
push 0x101989fc
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
call fcn.100485f0
mov dword [ebp - 4], 0
call fcn.1007a8b0
lea eax, [esi + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [ebp - 0x24], 0x10
lea edi, [ebp - 0x38]
mov esi, dword [ebp - 0x38]
mov edx, 0x811c9dc5
cmovae edi, esi
xor ecx, ecx
cmp dword [ebp - 0x28], ecx
jbe 0x10087de8
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, dword [ebp - 0x28]
jb 0x10087dd6
mov edi, dword [ebp - 0x14]
lea eax, [ebp - 0x38]
push edx
push eax
lea eax, [ebp - 0x20]
mov ecx, edi
push eax
call fcn.10064540
mov eax, dword [eax + 4]
test eax, eax
je 0x10087e2e
cmp eax, dword [edi + 4]
je 0x10087e2e
mov edi, dword [eax + 0x20]
mov eax, dword [ebp - 0x14]
add eax, 0x20
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test edi, edi
je 0x10087e38
lea eax, [ebp - 0x18]
push eax
push 0x1c
lea eax, [ebp - 0x54]
push eax
push 0
push dword [ebx + 8]
call edi
jmp 0x10087e3d
lea eax, [edi + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, 0xc0000138
shr eax, 0x1f
xor al, 1
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x24]
cmp eax, 0x10
jb 0x10087e7a
lea ecx, [eax + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x10087e70
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10087e70
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push esi
call fcn.1013b151
add esp, 8
xor eax, eax
cmp byte [ebp - 0x14], al
cmovne eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
Function at 0x10089ba0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1013fa0d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push esi
push edi
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], 0
call fcn.10063ca0
push 0x20
mov esi, eax
mov dword [ebp - 0x38], 0
push 0x10199148
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
call fcn.100485f0
mov dword [ebp - 4], 0
call fcn.1007a8b0
lea eax, [esi + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [ebp - 0x24], 0x10
lea edi, [ebp - 0x38]
mov esi, dword [ebp - 0x38]
mov edx, 0x811c9dc5
mov ebx, dword [ebp - 0x28]
cmovae edi, esi
xor ecx, ecx
test ebx, ebx
je 0x10089c38
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x10089c27
mov ebx, dword [ebp - 0x10]
lea eax, [ebp - 0x38]
push edx
push eax
lea eax, [ebp - 0x20]
mov ecx, ebx
push eax
call fcn.10064540
mov eax, dword [eax + 4]
test eax, eax
je 0x10089c81
cmp eax, dword [ebx + 4]
je 0x10089c81
mov edi, dword [eax + 0x20]
lea eax, [ebx + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test edi, edi
je 0x10089c8b
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 0x10]
mov eax, dword [ebp - 0x18]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [eax + 4]
call edi
mov edi, eax
jmp 0x10089c90
lea eax, [ebx + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edi, 0xc0000138
mov eax, dword [ebp - 0x24]
cmp eax, 0x10
jb 0x10089cc5
lea ecx, [eax + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x10089cbb
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10089cbb
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push esi
call fcn.1013b151
add esp, 8
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1008a1b0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1013fe0e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
push esi
mov esi, ecx
mov dword [ebp - 0x18], 0
cmp byte [esi + 0xd], 0
jne 0x1008a1f0
xor eax, eax
xor edx, edx
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
push edi
movups xmmword [ebp - 0x58], xmm0
movq qword [ebp - 0x48], xmm0
call fcn.10063ca0
push 0x19
mov edi, eax
mov dword [ebp - 0x40], 0
push 0x10199180
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
call fcn.100485f0
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 1
call fcn.1007a8b0
lea eax, [edi + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
mov edi, dword [ebp - 0x40]
mov edx, 0x811c9dc5
cmovae eax, edi
xor ecx, ecx
cmp dword [ebp - 0x30], ecx
jbe 0x1008a285
mov edi, eax
nop word [eax + eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, dword [ebp - 0x30]
jb 0x1008a270
mov edi, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x40]
push edx
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.10064540
mov ecx, dword [ebp - 0x14]
mov eax, dword [eax + 4]
test eax, eax
je 0x1008a2e1
cmp eax, dword [ecx + 4]
je 0x1008a2e1
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x1c], eax
lea eax, [ecx + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1008a2eb
lea ecx, [ebp - 0x20]
add esi, 4
push ecx
push 0x18
lea ecx, [ebp - 0x58]
push ecx
push 0
push dword [esi]
call eax
mov ecx, esi
test eax, eax
js 0x1008a2ee
cmp dword [ebp + 8], 0
je 0x1008a2ee
mov byte [ebp - 0xd], 1
jmp 0x1008a2f4
lea eax, [ecx + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea ecx, [esi + 4]
mov byte [ebp - 0xd], 0
mov esi, ecx
mov eax, dword [ebp - 0x2c]
cmp eax, 0x10
jb 0x1008a329
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x1008a31f
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1008a31f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edi
call fcn.1013b151
add esp, 8
cmp byte [ebp - 0xd], 0
pop edi
je 0x1008a345
push 0
push 0x250
push dword [ebp + 8]
push dword [ebp - 0x54]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0xc]
cdq
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4