joyce8/EMBER2024-capa huggingface dataset:
Function at 0x412710
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 8]
lea ebx, [edi + 8]
test eax, eax
je 0x412732
jle 0x41272c
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov dword [ebx], 0
mov eax, dword [edi + 4]
mov ecx, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x412751
jle 0x41274a
push eax
call ecx
mov ecx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 4], 0
mov eax, dword [edi]
test eax, eax
je 0x412762
jle 0x41275c
push eax
call ecx
mov dword [edi], 0
mov eax, dword [edi + 0x34]
test eax, eax
je 0x412779
jle 0x412772
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseActCtx]
mov dword [edi + 0x34], 0
mov esi, dword [ebp + 8]
lea ecx, [edi + 0x94]
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
cmp ecx, esi
je 0x4127a7
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x41279e
mov eax, dword [esi]
push dword [esi + 0x10]
push eax
call fcn.00409830
mov byte [edi + 0x10], 0
cmp dword [esi + 0x14], 8
jb 0x4127b3
mov esi, dword [esi]
push 0
push 0
push 3
push 0
push 7
push 0x120089
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ecx, dword [edi]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp + 8], eax
cmp eax, ecx
je 0x4127e6
test ecx, ecx
jle 0x4127e2
push ecx
call esi
mov eax, dword [ebp + 8]
mov dword [edi], eax
mov ecx, eax
test ecx, ecx
jle 0x4128cb
push 0
push 0
push 0
push 0x1000002
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov ecx, dword [edi + 4]
mov dword [ebp + 8], eax
cmp eax, ecx
je 0x41281b
test ecx, ecx
jle 0x412816
push ecx
call esi
mov eax, dword [ebp + 8]
mov dword [edi + 4], eax
mov ecx, eax
push 0
push 0
push 0
test ecx, ecx
jle 0x41282b
mov byte [edi + 0xc], 0
jmp 0x41285e
push 2
push 0
push dword [edi]
mov byte [edi + 0xc], 1
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov ecx, dword [edi + 4]
mov dword [ebp + 8], eax
cmp eax, ecx
je 0x412854
test ecx, ecx
jle 0x41284f
push ecx
call esi
mov eax, dword [ebp + 8]
mov dword [edi + 4], eax
mov ecx, eax
test ecx, ecx
jle 0x412892
push 0
push 0
push 0
push 4
push ecx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
lea eax, [ebp + 8]
cmp eax, ebx
je 0x412886
mov eax, dword [ebx]
cmp esi, eax
je 0x412892
test eax, eax
jle 0x412882
push eax
mov eax, dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
call eax
mov dword [ebx], esi
jmp 0x412892
test esi, esi
jle 0x412892
mov eax, dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push esi
call eax
cmp dword [ebx], 0
je 0x4128cb
push 0
mov ecx, edi
call fcn.00412a70
test eax, eax
js 0x4128d7
cmp byte [ebp + 0xc], 0
jne 0x4128d7
cmp dword [edi + 0xa8], 8
lea eax, [edi + 0x94]
jb 0x4128bb
mov eax, dword [eax]
push eax
mov ecx, edi
call fcn.00413730
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 8
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0xbf4]
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 8
Function at 0x413730
Capabilities:
Get common file path
Write file on windows

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 0x4fc1ed
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x430
push esi
push edi
push 0x200
lea eax, [ebp - 0x240]
mov edi, ecx
push 0
push eax
call fcn.004cebf0
add esp, 0xc
mov dword [ebp - 0x14], 0
lea esi, [edi + 0x38]
xorps xmm0, xmm0
lea eax, [ebp - 0x14]
mov ecx, edi
movups xmmword [ebp - 0x3c], xmm0
push esi
push eax
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x3c], 0x20
call fcn.00413920
mov dword [ebp - 0x18], eax
test eax, eax
je 0x413905
mov ecx, dword [ebx + 8]
test ecx, ecx
jne 0x413893
push 0x200
push ecx
lea eax, [ebp - 0x440]
push eax
call fcn.004cebf0
add esp, 0xc
lea eax, [ebp - 0x440]
push eax
push 0x100
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x240]
push eax
push 0
push str.ImageManifest
lea eax, [ebp - 0x440]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x41380a
mov eax, 0xc0150002
jmp 0x413907
push 0
push 0
push 4
push 0
push 0
push 0x120116
lea eax, [ebp - 0x240]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 4], 0
test esi, esi
jle 0x413885
push 0
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
push eax
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x240]
xor esi, esi
mov ecx, eax
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x34], eax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x413867
sub ecx, edx
lea eax, [ebp - 0x240]
sar ecx, 1
push ecx
lea ecx, [edi + 0xac]
jmp 0x4138bf
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0xbf4]
jmp 0x413907
movzx eax, word [esi]
mov dword [ebp - 0x28], eax
lea eax, [edi + 0x94]
mov dword [ebp - 0x34], ecx
lea ecx, [edi + 0xac]
mov dword [ebp - 0x38], 8
cmp ecx, eax
je 0x4138c5
cmp dword [eax + 0x14], 8
mov edx, dword [eax + 0x10]
jb 0x4138be
mov eax, dword [eax]
push edx
push eax
call fcn.00409830
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateActCtxW]
mov ecx, dword [edi + 0x34]
mov esi, eax
cmp esi, ecx
je 0x4138e8
test ecx, ecx
jle 0x4138e3
push ecx
call dword [sym.imp.KERNEL32.dll_ReleaseActCtx]
mov dword [edi + 0x34], esi
mov ecx, esi
test ecx, ecx
jg 0x413905
mov eax, dword fs:[0x18]
cmp dword [eax + 0xbf4], 0xc0000022
jne 0x413885
mov dword [edi + 0x38], 0
xor eax, eax
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 0x414060
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
mov edx, dword [ebp + 0xc]
push 0xffffffffffffffff
push 0x4fc255
push eax
mov dword fs:[0], esp
sub esp, 0x10
cmp dword [edx + 0x14], 8
mov eax, dword [edx + 0x10]
push ebx
push esi
push edi
mov ebx, ecx
mov edi, edx
jb 0x414090
mov edi, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
add eax, eax
je 0x4140b4
mov edx, eax
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x4140a0
mov edx, dword [ebp + 0xc]
push esi
push edx
lea eax, [ebp - 0x14]
mov ecx, ebx
push eax
call fcn.0040b070
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x4140e4
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 edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp dword [ebx + 8], 0x5d1745d
je 0x41423f
lea eax, [ebx + 4]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0
push 0x2c
mov dword [ebp - 0x18], 0
call fcn.004b57fb
add esp, 4
mov edi, eax
mov dword [ebp - 0x18], edi
push dword [ebp + 0xc]
lea ecx, [edi + 8]
call fcn.00409600
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [ebp - 4], 1
mov eax, dword [ebx + 8]
inc eax
movss xmm3, dword [ebx]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x5370d0]
mov eax, dword [ebx + 0x1c]
cvtpd2ps xmm2, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x5370d0]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
jbe 0x4141de
divss xmm2, xmm3
push ecx
movss dword [esp], xmm2
call fcn.004037c0
add esp, 4
fstp dword [ebp + 0xc]
movss xmm0, dword [ebp + 0xc]
call fcn.004b5020
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [ebx + 0x1c]
cmp eax, ecx
jae 0x4141c2
cmp eax, 0x200
jae 0x4141c0
shl eax, 3
cmp eax, ecx
jae 0x4141c2
mov eax, ecx
push eax
mov ecx, ebx
call fcn.0040ae20
push esi
lea eax, [edi + 8]
mov ecx, ebx
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0040b070
mov edx, dword [eax]
jmp 0x4141e1
mov edx, dword [ebp - 0x14]
mov eax, dword [ebx + 8]
mov ecx, dword [edx + 4]
inc eax
mov dword [ebx + 8], eax
mov dword [edi], edx
mov dword [edi + 4], ecx
mov dword [ecx], edi
mov dword [edx + 4], edi
mov eax, dword [ebx + 0x18]
mov dword [ebp + 0xc], ecx
and eax, esi
mov ecx, dword [ebx + 0xc]
mov esi, dword [ecx + eax*8]
cmp esi, dword [ebx + 4]
jne 0x41420d
mov dword [ecx + eax*8], edi
jmp 0x41421f
cmp esi, edx
jne 0x414216
mov dword [ecx + eax*8], edi
jmp 0x414223
mov edx, dword [ebp + 0xc]
cmp dword [ecx + eax*8 + 4], edx
jne 0x414223
mov dword [ecx + eax*8 + 4], edi
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword [eax], edi
pop edi
pop esi
mov byte [eax + 4], 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
push str.unordered_map_set_too_long
call fcn.004b3e6b
int3
Function at 0x419c30
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 0x419d1f
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 0x419d1f
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 0x419d1f
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 0x419ce2
push eax
call esi
mov edx, dword [edi + 0x34]
xorps xmm0, xmm0
movlpd qword [esp + 0x20], xmm0
test edx, edx
je 0x419d1f
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 0x419d30
push eax
call esi
mov dword [edi + 0x20], 0
mov esi, dword [edi + 0x10]
test esi, esi
je 0x419e06
mov eax, dword [esi + 8]
mov dword [esp + 0xc], eax
test eax, eax
jg 0x419d62
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp dword [esp + 0xc], eax
je 0x419d62
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp dword [esp + 0xc], eax
jne 0x419e06
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 0x419e06
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 0x419dbc
jle 0x419db5
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 0x419df9
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x419df9
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x419df9
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [edi + 0x24]
test ecx, ecx
je 0x419e06
push ecx
call fcn.004179e0
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4214a0
Capabilities:
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fcced
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x34], 0
mov edi, ecx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x2c], ebx
push ebx
push 4
mov dword [ebp - 4], ebx
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
mov dword [ebp - 0x1c], esi
mov byte [ebp - 4], 1
test esi, esi
jg 0x421508
mov eax, dword [ebp + 8]
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
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 - 0x50]
mov dword [ebp - 0x50], 0x1c
xorps xmm0, xmm0
push eax
push esi
movlpd qword [ebp - 0x4c], xmm0
movlpd qword [ebp - 0x44], xmm0
movlpd qword [ebp - 0x3c], xmm0
call dword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x42160d
mov ecx, dword [edi]
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x18], ecx
cmp eax, dword [ecx + 4]
jne 0x4215fa
push 0x18
call fcn.004b57fb
mov edx, dword [ebp - 0x18]
mov edi, eax
add esp, 4
mov dword [ebp - 0x20], edi
xorps xmm0, xmm0
movq qword [edi], xmm0
mov dword [edi + 8], 0
mov dword [edi + 4], 1
mov dword [edi + 8], 1
mov dword [edi], vtable.std::_Ref_count_obj2_class_blackbone::Thread_.0
mov eax, dword [ebp - 0x48]
push eax
push 0
push 0x10005b
mov dword [edi + 0xc], edx
mov dword [edi + 0x10], eax
call dword [sym.imp.KERNEL32.dll_OpenThread]
lea ecx, [edi + 0xc]
mov dword [ebp - 0x24], edi
mov dword [ecx + 8], eax
mov dword [ebp - 0x28], ecx
mov byte [ebp - 4], 2
cmp ebx, dword [ebp - 0x2c]
je 0x4215bb
mov dword [ebx + 4], edi
xor edi, edi
mov dword [ebx], ecx
add ebx, 8
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x30], ebx
jmp 0x4215ce
lea eax, [ebp - 0x28]
push eax
push ebx
lea ecx, [ebp - 0x34]
call fcn.004217f0
mov ebx, dword [ebp - 0x30]
mov edi, dword [ebp - 0x24]
mov byte [ebp - 4], 1
test edi, edi
je 0x4215f7
or eax, 0xffffffff
lock xadd dword [edi + 4], eax
jne 0x4215f7
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
jne 0x4215f7
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov edi, dword [ebp - 0x14]
lea eax, [ebp - 0x50]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x421534
mov edi, dword [ebp + 8]
mov eax, dword [ebp - 0x34]
mov dword [edi], eax
mov eax, dword [ebp - 0x2c]
mov dword [edi + 4], ebx
mov dword [edi + 8], eax
test esi, esi
jle 0x421629
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x423800
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov edx, dword [ebp + 8]
mov eax, 0x1fffffff
push ebx
mov ebx, ecx
bsr ecx, eax
push esi
mov esi, 1
mov dword [ebp - 0x14], ebx
mov eax, esi
shl eax, cl
push edi
cmp edx, eax
ja 0x423990
lea eax, [edx - 1]
or eax, esi
bsr ecx, eax
mov eax, dword [ebx + 4]
push eax
mov dword [ebp - 4], eax
lea ecx, [ecx + 1]
shl esi, cl
lea ecx, [ebx + 0xc]
lea eax, [esi + esi]
push eax
call fcn.0040a590
mov ecx, dword [ebp - 4]
lea eax, [esi - 1]
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], esi
mov edi, dword [ebx + 4]
mov edi, dword [edi]
mov eax, edi
cmp edi, ecx
je 0x423968
cmp dword [edi + 0x1c], 0x10
lea ebx, [edi + 8]
mov eax, dword [eax]
mov esi, dword [ebx + 0x10]
mov dword [ebp + 8], eax
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], ebx
jb 0x423881
mov edx, dword [ebx]
mov dword [ebp - 0xc], edx
xor edx, edx
mov dword [ebp - 8], 0x811c9dc5
test esi, esi
je 0x4238b4
mov ecx, dword [ebp - 8]
mov ebx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
movzx esi, byte [edx + ebx]
inc edx
xor esi, ecx
imul ecx, esi, 0x1000193
cmp edx, eax
jb 0x423897
mov eax, dword [ebp + 8]
lea ebx, [edi + 8]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x14]
mov esi, dword [edx + 0x18]
and esi, dword [ebp - 8]
mov edx, dword [edx + 0xc]
lea edx, [edx + esi*8]
mov esi, dword [edx]
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], esi
cmp esi, ecx
jne 0x4238d9
mov dword [edx], edi
mov dword [edx + 4], edi
jmp 0x42395e
mov esi, dword [edx + 4]
lea eax, [esi + 8]
push eax
push ebx
call fcn.0040be60
test al, al
jne 0x423913
mov ebx, dword [esi]
mov eax, dword [ebp + 8]
cmp ebx, edi
je 0x42390b
mov esi, dword [edi + 4]
mov dword [esi], eax
mov edx, dword [eax + 4]
mov dword [edx], ebx
mov ecx, dword [ebx + 4]
mov dword [ecx], edi
mov dword [ebx + 4], edx
mov dword [eax + 4], esi
mov dword [edi + 4], ecx
mov ecx, dword [ebp - 8]
mov dword [ecx + 4], edi
jmp 0x42395b
mov ebx, esi
cmp dword [ebp - 0xc], esi
je 0x42393b
nop word [eax + eax]
mov esi, dword [esi + 4]
mov ebx, esi
lea eax, [ebx + 8]
push eax
lea eax, [edi + 8]
push eax
call fcn.0040be60
test al, al
je 0x423971
cmp dword [ebp - 0xc], esi
jne 0x423920
mov esi, dword [edi + 4]
mov eax, dword [ebp + 8]
mov dword [esi], eax
mov edx, dword [eax + 4]
mov dword [edx], ebx
mov ecx, dword [ebx + 4]
mov dword [ecx], edi
mov dword [ebx + 4], edx
mov dword [eax + 4], esi
mov dword [edi + 4], ecx
mov ecx, dword [ebp - 8]
mov dword [ecx], edi
mov ecx, dword [ebp - 4]
mov edi, eax
cmp eax, ecx
jne 0x423865
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [esi]
mov esi, dword [edi + 4]
mov eax, dword [ebp + 8]
mov dword [esi], eax
mov edx, dword [eax + 4]
mov dword [edx], ebx
mov ecx, dword [ebx + 4]
mov dword [ecx], edi
mov dword [ebx + 4], edx
mov dword [eax + 4], esi
mov dword [edi + 4], ecx
jmp 0x42395b
push str.invalid_hash_bucket_count
call fcn.004b3e6b
int3
Function at 0x4243c0
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 0x4243e4
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 0x4243fb
jle 0x4243f4
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.004241a0
inc edi
cmp edi, 4
jl 0x424400
cmp dword [esi + 8], 0
pop edi
je 0x42447a
call fcn.00403970
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 0x424456
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 0x424456
mov eax, dword fs:[0x18]
lea ecx, [esi + 4]
call fcn.00424550
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 0x425110
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 0x425175
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 0x4251d2
cmp edx, ecx
jne 0x4251ea
mov dword [edi + 8], 0
mov eax, edi
pop edi
mov esp, ebp
pop ebp
ret 8
test ecx, ecx
jne 0x4251ea
test edx, edx
jne 0x4251ea
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 0x425680
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fd05d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
push edi
mov ebx, ecx
call fcn.0040b390
push 0x10
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x28]
push 0x5313c0
mov esi, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.00403120
mov dword [ebp - 4], 0
call fcn.00421e00
lea edi, [esi + 0x20]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0040bdf0
mov eax, dword [ebp - 0x10]
push edi
cmp eax, dword [esi + 4]
je 0x425708
mov esi, dword [eax + 0x20]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x425710
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x42574b
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x425741
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4257eb
push edx
push ecx
call fcn.004b4fdc
add esp, 8
push 0
test esi, esi
je 0x425791
mov edi, dword [ebp + 8]
push 0x100000
push 0x1000
push 0
push dword [ebp + 0x1c]
push dword [ebp + 0x14]
push dword [ebp + 0xc]
push dword [ebx + 4]
push 0
push dword [ebp + 0x20]
push edi
call esi
test eax, eax
jns 0x4257d8
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 dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
test eax, eax
je 0x4257cc
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
call fcn.004e34cc
int3
Function at 0x42e9c0
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4fd05d
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
push edi
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [edi + 4], eax
jne 0x42e9fe
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 [edi]
mov eax, dword [eax + 8]
cmp dword [eax + 8], 3
jne 0x42ead9
cmp byte [eax + 0xe], 0
jne 0x42ead9
call fcn.0040b390
push 0x12
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x28]
push 0x531808
mov esi, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.00403120
mov dword [ebp - 4], 0
call fcn.00421e00
lea ebx, [esi + 0x20]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0040bdf0
mov eax, dword [ebp - 0x10]
push ebx
cmp eax, dword [esi + 4]
je 0x42ea88
mov esi, dword [eax + 0x20]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test esi, esi
je 0x42ea8e
push dword [edi + 8]
call esi
jmp 0x42ea90
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
mov edx, dword [ebp - 0x14]
cmp eax, 0xffffffff
setne bl
cmp edx, 0x10
jb 0x42eac6
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42eabc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42eaf9
push edx
push ecx
call fcn.004b4fdc
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 [edi + 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
call fcn.004e34cc
int3