joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10072490
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
xorps xmm0, xmm0
push edi
mov edi, ecx
movlpd qword [esp + 0x18], xmm0
mov dword [esp + 0x14], edi
mov eax, dword [edi + 0x34]
test eax, eax
je 0x1007257f
mov ecx, dword [eax + 0x14]
mov edx, dword [eax]
add edx, 0x18
mov dword [esp + 0xc], ecx
mov ecx, dword [eax + 4]
mov eax, edx
adc ecx, 0
movlpd qword [esp + 0x20], xmm0
or eax, ecx
mov dword [esp + 0x10], ecx
je 0x1007257f
mov eax, dword [esp + 0xc]
lea edi, [esp + 0x20]
push edi
push 8
lea edi, [esp + 0x20]
mov eax, dword [eax + 0x4c]
push edi
push dword [esp + 0x1c]
mov ecx, dword [eax + 8]
push edx
mov eax, dword [ecx]
call dword [eax + 0xc]
mov eax, dword [esp + 0x18]
or eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x14]
je 0x1007257f
mov dword [esp + 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 3
push 0
push 0
lea ecx, [esp + 0x18]
push ecx
push eax
mov eax, dword [edi]
push dword [esp + 0x2c]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov eax, dword [esp + 0xc]
test eax, eax
je 0x10072542
push eax
call esi
mov edx, dword [edi + 0x34]
xorps xmm0, xmm0
movlpd qword [esp + 0x20], xmm0
test edx, edx
je 0x1007257f
mov eax, dword [edx + 0x14]
mov edx, dword [edx]
push 0
push 8
mov eax, dword [eax + 0x4c]
add edx, 0x18
mov ecx, dword [eax + 8]
lea eax, [esp + 0x28]
push eax
mov eax, dword [edi + 0x34]
mov esi, dword [ecx]
mov eax, dword [eax + 4]
adc eax, 0
push eax
push edx
call dword [esi + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [edi + 0x20]
test eax, eax
je 0x10072590
push eax
call esi
mov dword [edi + 0x20], 0
mov esi, dword [edi + 0x10]
test esi, esi
je 0x10072666
mov eax, dword [esi + 8]
mov dword [esp + 0xc], eax
test eax, eax
jg 0x100725c2
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp dword [esp + 0xc], eax
je 0x100725c2
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp dword [esp + 0xc], eax
jne 0x10072666
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0xffffffff
push eax
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [esp + 0xc], 0x103
jne 0x10072666
mov eax, dword [edi + 0x10]
push 0
push dword [eax + 8]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [edi + 0x10]
push 0xffffffffffffffff
push dword [eax + 8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esi, dword [edi + 0x10]
mov eax, dword [esi + 8]
test eax, eax
je 0x1007261c
jle 0x10072615
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 8], 0
mov dword [esi + 4], 0
mov esi, dword [edi + 0x14]
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
test esi, esi
je 0x10072659
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x10072659
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x10072659
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [edi + 0x24]
test ecx, ecx
je 0x10072666
push ecx
call fcn.10070100
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10079f40
Capabilities:
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1013f6bd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 0x38], 0
mov ebx, ecx
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x30], edi
push edi
push 4
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
mov dword [ebp - 0x20], esi
mov byte [ebp - 4], 1
test esi, esi
jg 0x10079fa9
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x54]
mov dword [ebp - 0x54], 0x1c
xorps xmm0, xmm0
push eax
push esi
movlpd qword [ebp - 0x50], xmm0
movlpd qword [ebp - 0x48], xmm0
movlpd qword [ebp - 0x40], xmm0
call dword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x1007a0bf
mov ecx, dword [ebx]
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x18], ecx
cmp eax, dword [ecx + 4]
jne 0x1007a0a2
push 0x18
call fcn.1013b121
mov edx, dword [ebp - 0x18]
mov ebx, eax
add esp, 4
mov dword [ebp - 0x24], ebx
xorps xmm0, xmm0
movq qword [ebx], xmm0
mov dword [ebx + 8], 0
mov dword [ebx + 4], 1
mov dword [ebx + 8], 1
mov dword [ebx], vtable.std::_Ref_count_obj2_class_blackbone::Thread_.0
mov eax, dword [ebp - 0x4c]
push eax
push 0
push 0x10005b
mov dword [ebx + 0xc], edx
mov dword [ebx + 0x10], eax
call dword [sym.imp.KERNEL32.dll_OpenThread]
lea ecx, [ebx + 0xc]
mov dword [ebp - 0x28], ebx
mov dword [ecx + 8], eax
mov dword [ebp - 0x2c], ecx
mov byte [ebp - 4], 2
cmp edi, dword [ebp - 0x30]
je 0x1007a063
mov dword [edi + 4], 0
mov dword [edi + 4], ebx
xor ebx, ebx
mov dword [edi], ecx
add edi, 8
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x34], edi
jmp 0x1007a076
lea eax, [ebp - 0x2c]
push eax
push edi
lea ecx, [ebp - 0x38]
call fcn.1007a2f0
mov edi, dword [ebp - 0x34]
mov ebx, dword [ebp - 0x28]
mov byte [ebp - 4], 1
test ebx, ebx
je 0x1007a09f
or eax, 0xffffffff
lock xadd dword [ebx + 4], eax
jne 0x1007a09f
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
or eax, 0xffffffff
lock xadd dword [ebx + 8], eax
jne 0x1007a09f
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
mov ebx, dword [ebp - 0x14]
lea eax, [ebp - 0x54]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x10079fd5
mov ebx, dword [ebp + 8]
mov eax, dword [ebp - 0x38]
mov dword [ebx], eax
jmp 0x1007a0c8
mov ebx, dword [ebp + 8]
mov dword [ebx], 0
mov eax, dword [ebp - 0x30]
push esi
mov dword [ebx + 8], eax
mov dword [ebx + 4], edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xc]
mov eax, ebx
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x1007ce40
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, ecx
mov eax, dword [esi + 0x2c]
mov byte [esi + 0x40], 0
test eax, eax
je 0x1007ce64
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov dword [esi + 0x2c], 0
mov eax, dword [esi + 0x24]
test eax, eax
je 0x1007ce7b
jle 0x1007ce74
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x24], 0
push edi
xor edi, edi
nop
push edi
mov ecx, esi
call fcn.1007cc20
inc edi
cmp edi, 4
jl 0x1007ce80
cmp dword [esi + 8], 0
pop edi
je 0x1007cefa
call fcn.1005c390
mov ecx, dword [esi]
mov dword [ebp - 4], 0
mov eax, dword [eax]
mov ecx, dword [ecx + 4]
mov dword [ebp - 8], ecx
cmp eax, 0xffffffff
je 0x1007ced6
push 0
lea ecx, [ebp - 4]
push ecx
push 0
push 0
push 4
lea ecx, [ebp - 8]
push ecx
push 0x8005e020
push eax
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x1007ced6
mov eax, dword fs:[0x18]
lea ecx, [esi + 4]
call fcn.1007cfe0
mov dword [esi + 0x28], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x30], 0
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1007dbd0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
push edi
mov edi, ecx
mov dword [ebp - 4], 0
movups xmmword [ebp - 0x24], xmm0
movups xmmword [ebp - 0x14], xmm0
mov dword [edi + 4], eax
lea eax, [ebp - 0x24]
push eax
mov dword [edi], vtable.blackbone::Native.0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
cmp byte [ebp + 0xc], 0
mov eax, dword [ebp - 0x20]
mov dword [edi + 0x10], eax
je 0x1007dc35
mov word [edi + 0xc], 0x101
mov eax, edi
mov dword [edi + 8], 0
mov byte [edi + 0xe], 1
pop edi
mov esp, ebp
pop ebp
ret 8
lea eax, [ebp + 0xc]
mov dword [ebp + 0xc], 0
push eax
mov dword [ebp + 8], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_IsWow64Process]
lea eax, [ebp + 8]
push eax
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_IsWow64Process]
mov ecx, dword [ebp + 0xc]
cmp ecx, 1
mov edx, dword [ebp + 8]
sete al
cmp edx, 1
mov byte [edi + 0xc], al
sete al
mov byte [edi + 0xd], al
cmp ecx, 1
jne 0x1007dc92
cmp edx, ecx
jne 0x1007dcaa
mov dword [edi + 8], 0
mov eax, edi
pop edi
mov esp, ebp
pop ebp
ret 8
test ecx, ecx
jne 0x1007dcaa
test edx, edx
jne 0x1007dcaa
mov dword [edi + 8], 1
mov eax, edi
pop edi
mov esp, ebp
pop ebp
ret 8
xor eax, eax
mov byte [edi + 0xf], 1
cmp ecx, 1
setne al
add eax, 2
mov dword [edi + 8], eax
mov eax, edi
pop edi
mov esp, ebp
pop ebp
ret 8
Function at 0x1007dd70
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 0x14
mov esi, eax
mov dword [ebp - 0x38], 0
push 0x10198254
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 0x1007de08
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x1007ddf7
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 0x1007de54
cmp eax, dword [ebx + 4]
je 0x1007de54
mov edi, dword [eax + 0x20]
lea eax, [ebx + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test edi, edi
je 0x1007de5e
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 0x18]
mov eax, dword [ebp - 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 8]
push dword [eax + 4]
call edi
mov edi, eax
jmp 0x1007de63
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 0x1007de98
lea ecx, [eax + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x1007de8e
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1007de8e
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 0x14
Function at 0x1007df80
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 0x19
mov esi, eax
mov dword [ebp - 0x38], 0
push 0x1019826c
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 0x1007e018
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x1007e007
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 0x1007e061
cmp eax, dword [ebx + 4]
je 0x1007e061
mov edi, dword [eax + 0x20]
lea eax, [ebx + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test edi, edi
je 0x1007e06b
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 0x1007e070
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 0x1007e0a5
lea ecx, [eax + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x1007e09b
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1007e09b
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 0x1007e0c0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1013fa2d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push esi
push edi
mov dword [ebp - 0x14], ecx
call fcn.10063ca0
push 0x17
mov esi, eax
mov dword [ebp - 0x34], 0
push 0x10198228
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 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 - 0x20], 0x10
lea edi, [ebp - 0x34]
mov esi, dword [ebp - 0x34]
mov edx, 0x811c9dc5
mov ebx, dword [ebp - 0x24]
cmovae edi, esi
xor ecx, ecx
test ebx, ebx
je 0x1007e151
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x1007e140
mov ebx, dword [ebp - 0x10]
lea eax, [ebp - 0x34]
push edx
push eax
lea eax, [ebp - 0x1c]
mov ecx, ebx
push eax
call fcn.10064540
mov eax, dword [eax + 4]
test eax, eax
je 0x1007e196
cmp eax, dword [ebx + 4]
je 0x1007e196
mov edi, dword [eax + 0x20]
lea eax, [ebx + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test edi, edi
je 0x1007e1a0
push dword [ebp + 0x10]
mov eax, dword [ebp - 0x14]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [eax + 4]
call edi
mov edi, eax
jmp 0x1007e1a5
lea eax, [ebx + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edi, 0xc0000138
mov eax, dword [ebp - 0x20]
cmp eax, 0x10
jb 0x1007e1da
lea ecx, [eax + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x1007e1d0
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1007e1d0
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 0x1007e1f0
Capabilities:
Create thread
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1013fa2d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push esi
push edi
mov dword [ebp - 0x14], ecx
call fcn.10063ca0
push 0x10
mov esi, eax
mov dword [ebp - 0x34], 0
push 0x10198240
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 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 - 0x20], 0x10
lea esi, [ebp - 0x34]
mov edi, dword [ebp - 0x34]
mov edx, 0x811c9dc5
mov ebx, dword [ebp - 0x24]
cmovae esi, edi
xor ecx, ecx
test ebx, ebx
je 0x1007e281
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x1007e270
mov ebx, dword [ebp - 0x10]
lea eax, [ebp - 0x34]
push edx
push eax
lea eax, [ebp - 0x1c]
mov ecx, ebx
push eax
call fcn.10064540
mov esi, dword [eax + 4]
test esi, esi
je 0x1007e2af
cmp esi, dword [ebx + 4]
je 0x1007e2af
mov esi, dword [esi + 0x20]
lea eax, [ebx + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x1007e2bb
lea eax, [ebx + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x20]
cmp eax, 0x10
jb 0x1007e2f7
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x1007e2ed
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1007e2ed
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 ecx, dword [ebp - 0x14]
push 0
mov ecx, dword [ecx + 4]
test esi, esi
je 0x1007e341
mov edi, dword [ebp + 8]
push 0x100000
push 0x1000
push 0
push dword [ebp + 0x1c]
push dword [ebp + 0x14]
push dword [ebp + 0xc]
push ecx
push 0
push dword [ebp + 0x20]
push edi
call esi
test eax, eax
jns 0x1007e386
mov dword [edi], 0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x1c
mov eax, dword [ebp + 0x1c]
and eax, 1
shl eax, 2
push eax
push dword [ebp + 0x14]
push dword [ebp + 0xc]
push 0
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
test eax, eax
je 0x1007e37a
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x1c
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0xbf4]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x1007e3d0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1013fa4d
push eax
mov dword fs:[0], esp
sub esp, 0x24
cmp byte [ecx + 0xd], 0
jne 0x1007e403
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
push ebx
push esi
push edi
call fcn.10063ca0
push 0x15
mov esi, eax
mov dword [ebp - 0x30], 0
push 0x101982b4
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 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 - 0x1c], 0x10
lea edi, [ebp - 0x30]
mov esi, dword [ebp - 0x30]
mov edx, 0x811c9dc5
mov ebx, dword [ebp - 0x20]
cmovae edi, esi
xor ecx, ecx
test ebx, ebx
je 0x1007e476
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x1007e465
mov ebx, dword [ebp - 0x10]
lea eax, [ebp - 0x30]
push edx
push eax
lea eax, [ebp - 0x18]
mov ecx, ebx
push eax
call fcn.10064540
mov edi, dword [eax + 4]
test edi, edi
je 0x1007e4b2
cmp edi, dword [ebx + 4]
je 0x1007e4b2
mov edi, dword [edi + 0x20]
lea eax, [ebx + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test edi, edi
je 0x1007e4bc
push dword [ebp + 0xc]
push dword [ebp + 8]
call edi
mov edi, eax
jmp 0x1007e4be
lea eax, [ebx + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor edi, edi
mov eax, dword [ebp - 0x1c]
cmp eax, 0x10
jb 0x1007e4f3
lea ecx, [eax + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x1007e4e9
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1007e4e9
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
test edi, edi
pop edi
pop esi
pop ebx
jne 0x1007e3f1
mov eax, dword fs:[0x18]
mov ecx, dword [ebp - 0xc]
mov eax, dword [eax + 0xbf4]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x1007e550
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1013fa4d
push eax
mov dword fs:[0], esp
sub esp, 0x24
cmp byte [ecx + 0xd], 0
jne 0x1007e583
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
push ebx
push esi
push edi
call fcn.10063ca0
push 0x15
mov esi, eax
mov dword [ebp - 0x30], 0
push 0x101982cc
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 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 - 0x1c], 0x10
lea edi, [ebp - 0x30]
mov esi, dword [ebp - 0x30]
mov edx, 0x811c9dc5
mov ebx, dword [ebp - 0x20]
cmovae edi, esi
xor ecx, ecx
test ebx, ebx
je 0x1007e5f6
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x1007e5e5
mov ebx, dword [ebp - 0x10]
lea eax, [ebp - 0x30]
push edx
push eax
lea eax, [ebp - 0x18]
mov ecx, ebx
push eax
call fcn.10064540
mov edi, dword [eax + 4]
test edi, edi
je 0x1007e632
cmp edi, dword [ebx + 4]
je 0x1007e632
mov edi, dword [edi + 0x20]
lea eax, [ebx + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test edi, edi
je 0x1007e63c
push dword [ebp + 0xc]
push dword [ebp + 8]
call edi
mov edi, eax
jmp 0x1007e63e
lea eax, [ebx + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor edi, edi
mov eax, dword [ebp - 0x1c]
cmp eax, 0x10
jb 0x1007e673
lea ecx, [eax + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x1007e669
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1007e669
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
test edi, edi
pop edi
pop esi
pop ebx
jne 0x1007e571
mov eax, dword fs:[0x18]
mov ecx, dword [ebp - 0xc]
mov eax, dword [eax + 0xbf4]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x1007e8d0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1013faae
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push esi
mov esi, ecx
mov dword [ebp - 0x14], 0
cmp byte [esi + 0xd], 0
jne 0x1007e910
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
push ebx
xorps xmm0, xmm0
push edi
movlpd qword [ebp - 0x1c], xmm0
call fcn.10063ca0
push 0x19
mov ebx, eax
mov dword [ebp - 0x3c], 0
push 0x1019831c
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
call fcn.100485f0
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 1
call fcn.1007a8b0
lea eax, [ebx + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [ebp - 0x28], 0x10
lea ebx, [ebp - 0x3c]
mov edi, dword [ebp - 0x3c]
mov edx, 0x811c9dc5
cmovae ebx, edi
xor ecx, ecx
cmp dword [ebp - 0x2c], ecx
jbe 0x1007e992
nop
movzx eax, byte [ecx + ebx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, dword [ebp - 0x2c]
jb 0x1007e980
mov ebx, dword [ebp - 0x10]
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 0x1007e9e6
cmp eax, dword [ebx + 4]
je 0x1007e9e6
mov ebx, dword [eax + 0x20]
mov eax, dword [ebp - 0x10]
add eax, 0x20
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test ebx, ebx
je 0x1007e9f0
push 0
push 8
lea eax, [ebp - 0x1c]
add esi, 4
push eax
push 0x1a
push dword [esi]
call ebx
mov ecx, esi
test eax, eax
js 0x1007e9f3
cmp dword [ebp + 8], 0
je 0x1007e9f3
mov bl, 1
jmp 0x1007e9f7
lea eax, [ebx + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea ecx, [esi + 4]
xor bl, bl
mov esi, ecx
mov eax, dword [ebp - 0x28]
cmp eax, 0x10
jb 0x1007ea2c
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x1007ea22
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1007ea22
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
test bl, bl
pop ebx
je 0x1007ea47
push 0
push 0x250
push dword [ebp + 8]
push dword [ebp - 0x1c]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4