joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10003a50
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100622fe
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x50
push esi
mov esi, ecx
xorps xmm0, xmm0
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x10], 0
mov eax, dword [str.UNKNOWN]
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x44], eax
mov ax, word [0x1008da7c]
mov word [ebp - 0x40], ax
mov al, byte [0x1008da7e]
push edi
mov dword [ebp - 0x34], 0
mov edi, edx
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x3e], al
mov byte [ebp - 0x3d], 0
mov dword [ebp - 4], 1
push 0x10
push 1
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
jne 0x10003b25
lea eax, [ebp - 0x44]
mov ecx, esi
push eax
call fcn.100032f0
mov dword [ebp - 0x10], 1
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x30]
cmp ecx, 0xf
jbe 0x10003c42
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10003b16
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10003c66
push ecx
push edx
call fcn.10044149
add esp, 8
jmp 0x10003c42
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x10003b3e
lea eax, [ebp - 0x44]
mov ecx, esi
push eax
call fcn.100032f0
jmp 0x10003add
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x14], 0
push ecx
lea ecx, [ebp - 0x14]
push ecx
push 0x10090aec
push eax
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
jne 0x10003ba6
lea eax, [ebp - 0x44]
mov ecx, esi
push eax
call fcn.100032f0
mov dword [ebp - 0x10], 1
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x30]
cmp ecx, 0xf
jbe 0x10003c42
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10003b16
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10003c66
jmp 0x10003b16
mov ecx, dword [ebp - 0x14]
lea edx, [ebp - 0x24]
movzx eax, word [ecx + 0xc]
mov dword [ebp - 0x18], eax
movzx eax, word [ecx + 0xe]
mov dword [ebp - 0x1c], eax
movzx eax, word [ecx + 8]
mov dword [ebp - 0x20], eax
movzx eax, word [ecx + 0xa]
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
push 0xb
push str....
call fcn.10004020
add esp, 0x14
mov byte [ebp - 4], 2
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
movups xmm0, xmmword [ebp - 0x5c]
mov dword [esi + 0x14], 0
mov byte [ebp - 0x5c], 0
movups xmmword [esi], xmm0
mov dword [ebp - 0x10], 1
movq xmm0, qword [ebp - 0x4c]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 4], 1
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], 0
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
mov byte [ebp - 0x44], 0
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], 0
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
call fcn.10048dff
int3
Function at 0x10011c70
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10062a85
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x18], 0x75007074
lea eax, [ebp - 0x12]
mov word [ebp - 0x14], 0x71
lea ecx, [ebp - 0x18]
push eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.10011e60
mov dword [ebp - 4], 0
lea eax, [ebp - 0x12]
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], 0x85018084
push eax
push ecx
lea ecx, [ebp - 0x20]
mov word [ebp - 0x14], 0x181
call fcn.10011e60
mov byte [ebp - 4], 1
mov cl, byte [esi]
mov al, cl
cmp cl, 0xf
jne 0x10011ce0
mov cl, byte [esi + 1]
mov edx, dword [ebp - 0x20]
cmp al, 0xf
cmovne edx, dword [ebp - 0x28]
mov ebx, edx
mov eax, dword [edx + 4]
cmp byte [eax + 0xd], 0
jne 0x10011d08
cmp byte [eax + 0xe], cl
jae 0x10011cfe
mov eax, dword [eax + 8]
jmp 0x10011d02
mov ebx, eax
mov eax, dword [eax]
cmp byte [eax + 0xd], 0
je 0x10011cf4
cmp byte [ebx + 0xd], 0
jne 0x10011d45
cmp cl, byte [ebx + 0xe]
jb 0x10011d45
cmp ebx, edx
je 0x10011d45
push edi
movzx edi, byte [ebx + 0x10]
lea eax, [ebp - 0x10]
push eax
push 0x40
add edi, esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push 1
push edi
call esi
mov al, byte [ebx + 0xf]
mov byte [edi], al
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x10]
push 1
push edi
call esi
mov bl, 1
pop edi
jmp 0x10011d47
xor bl, bl
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x20]
mov esi, dword [eax + 4]
cmp byte [esi + 0xd], 0
jne 0x10011d7d
push dword [esi + 8]
lea eax, [ebp - 0x20]
push eax
mov ecx, eax
call fcn.10012000
mov eax, esi
mov esi, dword [esi]
push 0x14
push eax
call fcn.10044149
add esp, 8
cmp byte [esi + 0xd], 0
je 0x10011d57
mov eax, dword [ebp - 0x20]
push 0x14
push eax
call fcn.10044149
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x28]
mov esi, dword [eax + 4]
cmp byte [esi + 0xd], 0
jne 0x10011dc6
nop dword [eax + eax]
push dword [esi + 8]
lea eax, [ebp - 0x28]
push eax
mov ecx, eax
call fcn.10012000
mov eax, esi
mov esi, dword [esi]
push 0x14
push eax
call fcn.10044149
add esp, 8
cmp byte [esi + 0xd], 0
je 0x10011da0
mov eax, dword [ebp - 0x28]
push 0x14
push eax
call fcn.10044149
mov ecx, dword [ebp - 0xc]
add esp, 8
mov al, bl
mov dword fs:[0], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10024550
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov edx, dword [ebp + 0xc]
mov eax, ecx
push ebx
push esi
push edi
cmp dword [edx + 0x14], 0xf
mov edi, edx
mov ebx, dword [edx + 0x10]
mov dword [ebp - 4], eax
jbe 0x1002456e
mov edi, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
test ebx, ebx
je 0x10024594
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, ebx
jb 0x10024580
mov eax, dword [ebp - 4]
push esi
push edx
lea ecx, [ebp - 0xc]
push ecx
mov ecx, eax
call fcn.100245c0
pop edi
pop esi
pop ebx
mov ecx, dword [eax + 4]
mov eax, dword [ebp + 8]
test ecx, ecx
jne 0x100245b4
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 4]
mov dword [eax], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x100249a0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10064a1d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
mov ebx, ecx
push esi
push edi
mov dword [ebp - 0x14], ebx
mov eax, dword [ebx + 8]
lea esi, [ebx + 0x2c]
push esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x2c], esi
mov eax, dword [eax + 8]
mov cl, byte [eax + 0xd]
xor eax, eax
test cl, cl
mov byte [ebp - 0xd], cl
sete al
mov dword [ebp - 0x28], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 0
mov eax, dword [ebx + 0x10]
mov edi, dword [eax]
cmp edi, eax
je 0x10024aec
mov esi, ebx
nop
mov eax, dword [edi + 0x24]
mov ecx, dword [edi]
mov dword [ebp - 0x1c], ecx
cmp byte [eax + 0x48], 0
jne 0x10024adb
cmp dword [edi + 0x1c], 7
lea edx, [edi + 8]
mov ecx, dword [edx + 0x10]
mov dword [ebp - 0x18], edx
jbe 0x10024a26
mov eax, dword [edx]
mov dword [ebp - 0x18], eax
lea eax, [ecx + ecx]
mov ebx, 0x811c9dc5
xor ecx, ecx
mov dword [ebp - 0x20], eax
test eax, eax
je 0x10024a57
mov edx, dword [ebp - 0x18]
mov esi, eax
nop dword [eax]
movzx eax, byte [ecx + edx]
inc ecx
xor eax, ebx
imul ebx, eax, 0x1000193
cmp ecx, esi
jb 0x10024a40
mov esi, dword [ebp - 0x14]
lea edx, [edi + 8]
mov ecx, dword [edx + 0x18]
mov eax, dword [esi + 0x18]
xor ecx, ebx
and ecx, dword [esi + 0x24]
lea ecx, [eax + ecx*8]
mov eax, dword [ecx]
cmp dword [ecx + 4], edi
jne 0x10024a82
cmp eax, edi
jne 0x10024a7a
mov eax, dword [esi + 0x10]
mov dword [ecx], eax
mov dword [ecx + 4], eax
jmp 0x10024a8b
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
jmp 0x10024a8b
cmp eax, edi
jne 0x10024a8b
mov eax, dword [ebp - 0x1c]
mov dword [ecx], eax
mov ecx, dword [edi]
dec dword [esi + 0x14]
mov eax, dword [edi + 4]
mov dword [eax], ecx
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
mov ebx, dword [edx + 0x20]
test ebx, ebx
je 0x10024ac6
or eax, 0xffffffff
lock xadd dword [ebx + 4], eax
jne 0x10024ac6
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
or eax, 0xffffffff
lock xadd dword [ebx + 8], eax
jne 0x10024ac3
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
lea edx, [edi + 8]
mov ecx, edx
call fcn.10010e70
push 0x2c
push edi
call fcn.10044149
mov ecx, dword [ebp - 0x1c]
add esp, 8
mov edi, ecx
cmp ecx, dword [esi + 0x10]
jne 0x10024a00
mov esi, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x14]
push dword [ebp - 0x28]
push ecx
mov ecx, ebx
call fcn.10025870
cmp byte [ebp - 0xd], 0
je 0x10024b07
push 1
push ecx
mov ecx, ebx
call fcn.10025870
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 0xc]
lea eax, [ebx + 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x10025760
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x148
push esi
push edi
push 0x40
lea eax, [esp + 0x1c]
mov esi, ecx
push 0
push eax
call fcn.10045a70
add esp, 0xc
lea eax, [esp + 0x58]
push 0xf8
push 0
push eax
call fcn.10045a70
mov eax, dword [ebp + 8]
add esp, 0xc
mov edx, dword [ebp + 0xc]
xorps xmm0, xmm0
or eax, edx
mov ecx, dword [esi + 4]
movlpd qword [esp + 8], xmm0
je 0x10025838
mov eax, dword [ecx + 0x4c]
lea edi, [esp + 8]
push edi
push 0x40
lea edi, [esp + 0x20]
mov ecx, dword [eax + 8]
push edi
mov edi, dword [ebp + 8]
push edx
mov eax, dword [ecx]
push edi
mov eax, dword [eax + 0xc]
call eax
test eax, eax
jne 0x10025838
mov eax, 0x5a4d
cmp word [esp + 0x18], ax
jne 0x10025838
mov eax, dword [esi + 4]
xorps xmm0, xmm0
mov dword [esp + 8], eax
mov eax, dword [esp + 0x54]
cdq
mov esi, eax
movlpd qword [esp + 0x10], xmm0
add esi, edi
mov ecx, esi
adc edx, dword [ebp + 0xc]
or ecx, edx
je 0x10025838
mov eax, dword [esp + 8]
lea edi, [esp + 0x10]
push edi
push 0xf8
lea edi, [esp + 0x60]
mov eax, dword [eax + 0x4c]
push edi
push edx
push esi
mov ecx, dword [eax + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
test eax, eax
jne 0x10025838
cmp dword [esp + 0x58], 0x4550
sete al
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
pop edi
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x10026020
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x10064b85
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, ecx
mov esi, ebx
cmp dword [ebx + 0x14], 7
mov eax, dword [ebx + 0x10]
jbe 0x10026050
mov esi, dword [ebx]
xor ecx, ecx
mov edx, 0x811c9dc5
add eax, eax
je 0x10026074
mov ebx, eax
nop dword [eax]
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x10026060
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx + 0x18]
mov ecx, edi
xor eax, edx
push eax
mov dword [ebp + 0xc], eax
lea eax, [ebp - 0x14]
push ebx
push eax
call fcn.10026610
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x100260ac
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 [edi + 8], 0x5d1745d
je 0x10026201
lea eax, [edi + 4]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0
push 0x2c
mov dword [ebp - 0x18], 0
call fcn.10044157
mov esi, eax
add esp, 4
mov dword [ebp - 0x18], esi
push ebx
lea ecx, [esi + 8]
call fcn.10023290
xorps xmm0, xmm0
movq qword [esi + 0x24], xmm0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 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
addsd xmm0, qword [eax*8 + 0x1009ceb0]
mov eax, ebx
shr eax, 0x1f
cvtpd2ps xmm2, xmm0
movd xmm0, ebx
cvtdq2pd xmm0, xmm0
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x1009ceb0]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
seta al
test al, al
je 0x1002619f
divss xmm2, xmm3
movaps xmm0, xmm2
call fcn.10003590
call fcn.10061c70
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
cmp ebx, ecx
jae 0x10026180
cmp ebx, 0x200
jae 0x1002617e
shl ebx, 3
cmp ebx, ecx
jae 0x10026180
mov ebx, ecx
push ebx
mov ecx, edi
call fcn.100263c0
mov ebx, dword [ebp + 0xc]
lea eax, [esi + 8]
push ebx
push eax
lea eax, [ebp - 0x14]
mov ecx, edi
push eax
call fcn.10026610
mov edx, dword [eax]
jmp 0x100261a5
mov edx, dword [ebp - 0x14]
mov ebx, dword [ebp + 0xc]
mov eax, dword [edx + 4]
inc dword [edi + 8]
mov dword [esi + 4], eax
mov dword [esi], edx
mov dword [eax], esi
mov dword [edx + 4], esi
mov ecx, dword [edi + 0xc]
mov dword [ebp + 0xc], eax
mov eax, dword [edi + 0x18]
and eax, ebx
mov ebx, dword [ebp - 0x1c]
mov edi, dword [ecx + eax*8]
cmp edi, dword [ebx]
jne 0x100261cf
mov dword [ecx + eax*8], esi
jmp 0x100261e1
cmp edi, edx
jne 0x100261d8
mov dword [ecx + eax*8], esi
jmp 0x100261e5
mov edx, dword [ebp + 0xc]
cmp dword [ecx + eax*8 + 4], edx
jne 0x100261e5
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]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
push str.unordered_map_set_too_long
call fcn.10043523
int3
Function at 0x10026a20
Capabilities:
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10064bce
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push ebx
mov dword [ebp - 0x14], 1
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x18], edi
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
push 0
push 4
mov dword [ebp - 0x14], 1
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
mov dword [ebp - 0x20], esi
mov dword [ebp - 4], 1
test esi, esi
jg 0x10026a95
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 2
jmp 0x10026bb0
lea eax, [ebp - 0x48]
mov dword [ebp - 0x48], 0x1c
xorps xmm0, xmm0
push eax
push esi
movlpd qword [ebp - 0x44], xmm0
movlpd qword [ebp - 0x3c], xmm0
movlpd qword [ebp - 0x34], xmm0
call dword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x10026b9b
mov ecx, dword [edi]
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x1c], ecx
cmp eax, dword [ecx + 4]
jne 0x10026b88
push 0x18
call fcn.10044157
mov ecx, dword [ebp - 0x1c]
mov edi, eax
add esp, 4
mov dword [ebp - 0x24], 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 - 0x40]
push eax
push 0
push 0x10005b
mov dword [edi + 0xc], ecx
mov dword [edi + 0x10], eax
call dword [sym.imp.KERNEL32.dll_OpenThread]
or dword [ebp - 0x14], 2
lea ecx, [edi + 0xc]
mov dword [ecx + 8], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], edi
mov byte [ebp - 4], 3
mov eax, dword [ebx + 4]
cmp eax, dword [ebx + 8]
je 0x10026b4d
mov dword [eax + 4], edi
xor edi, edi
mov dword [eax], ecx
add dword [ebx + 4], 8
mov dword [ebp - 0x2c], 0
jmp 0x10026b5c
lea ecx, [ebp - 0x2c]
push ecx
push eax
mov ecx, ebx
call fcn.10026c70
mov edi, dword [ebp - 0x28]
mov byte [ebp - 4], 1
test edi, edi
je 0x10026b85
or eax, 0xffffffff
lock xadd dword [edi + 4], eax
jne 0x10026b85
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
jne 0x10026b85
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov edi, dword [ebp - 0x18]
lea eax, [ebp - 0x48]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x10026ac1
mov dword [ebp - 0x14], 0
push esi
mov dword [ebp - 4], 4
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 0x10026eb0
Capabilities:
Query or enumerate registry value

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 0x10064bed
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x248
push esi
push edi
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push 1
push 0
push str.SOFTWAREMicrosoftWindows_NTCurrentVersion
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100270af
push 0x208
push eax
lea eax, [ebp - 0x258]
push eax
call fcn.10045a70
add esp, 0xc
mov dword [ebp - 0x1c], 0x208
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x20], 1
push eax
lea eax, [ebp - 0x258]
push eax
lea eax, [ebp - 0x20]
push eax
push 0
push str.BuildLabEx
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100270a6
lea eax, [ebp - 0x258]
push eax
lea ecx, [ebp - 0x50]
call fcn.10011010
mov dword [ebp - 4], 0
lea edx, [ebp - 0x50]
cmp dword [ebp - 0x3c], 7
mov eax, dword [ebp - 0x40]
cmova edx, dword [ebp - 0x50]
test eax, eax
je 0x10026fab
xor esi, esi
mov ecx, edx
test eax, eax
je 0x10026fa1
cmp word [edx], 0x2e
je 0x10026f9f
nop dword [eax + eax]
cmp eax, 1
je 0x10026fa1
add ecx, 2
dec eax
cmp word [ecx], 0x2e
jne 0x10026f90
mov esi, ecx
test esi, esi
je 0x10026fab
sub esi, edx
sar esi, 1
jmp 0x10026fae
or esi, 0xffffffff
lea edi, [esi + 1]
push edi
push ecx
lea ecx, [ebp - 0x50]
call fcn.10027d40
mov dword [ebp - 0x18], eax
cmp eax, esi
jbe 0x1002709e
cmp esi, 0xffffffff
je 0x1002709e
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x40]
xorps xmm0, xmm0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
movups xmmword [ebp - 0x38], xmm0
cmp edx, edi
jb 0x100270c4
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x50]
sub ecx, esi
sub edx, edi
dec ecx
cmp edx, ecx
cmovb ecx, edx
cmp dword [ebp - 0x3c], 7
push ecx
cmova eax, dword [ebp - 0x50]
lea ecx, [ebp - 0x38]
lea eax, [eax + edi*2]
push eax
call fcn.10010f70
cmp dword [ebp - 0x24], 7
lea eax, [ebp - 0x38]
push 0xa
cmova eax, dword [ebp - 0x38]
push 0
push eax
call fcn.1004d620
mov ecx, dword [ebp - 0x24]
add esp, 0xc
mov esi, eax
cmp ecx, 7
jbe 0x1002706d
mov edx, dword [ebp - 0x38]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10027063
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100270c9
push ecx
push edx
call fcn.10044149
add esp, 8
xor eax, eax
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x24], 7
mov word [ebp - 0x38], ax
call fcn.10010e70
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
lea ecx, [ebp - 0x50]
call fcn.10010e70
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
xor eax, eax
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.100107b0
call fcn.10048dff
int3
Function at 0x10028050
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov edx, dword [ebp + 8]
mov eax, 0x1fffffff
push ebx
mov ebx, ecx
bsr ecx, eax
push esi
mov esi, 1
mov dword [ebp - 0x10], ebx
mov eax, esi
shl eax, cl
push edi
cmp edx, eax
ja 0x100281ca
lea eax, [edx - 1]
or eax, esi
bsr ecx, eax
mov eax, dword [ebx + 4]
push eax
mov dword [ebp + 8], eax
lea ecx, [ecx + 1]
shl esi, cl
lea ecx, [ebx + 0xc]
lea eax, [esi + esi]
push eax
call fcn.10002260
lea eax, [esi - 1]
mov dword [ebx + 0x1c], esi
mov dword [ebx + 0x18], eax
mov esi, dword [ebx + 4]
mov eax, dword [ebp + 8]
mov esi, dword [esi]
mov edi, esi
cmp esi, eax
je 0x100281a5
cmp dword [esi + 0x1c], 0xf
lea ecx, [esi + 8]
mov edi, dword [edi]
mov edx, dword [ecx + 0x10]
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], ecx
jbe 0x100280d1
mov edx, dword [ecx]
mov dword [ebp - 4], edx
xor edx, edx
mov ebx, 0x811c9dc5
cmp dword [ecx + 0x10], edx
jbe 0x100280fa
mov eax, dword [ebp - 4]
mov edi, dword [ebp - 8]
movzx ecx, byte [edx + eax]
inc edx
xor ecx, ebx
imul ebx, ecx, 0x1000193
cmp edx, edi
jb 0x100280e3
mov edi, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x18]
mov ecx, dword [ecx + 0xc]
and edx, ebx
lea ecx, [ecx + edx*8]
mov dword [ebp - 4], ecx
cmp dword [ecx], eax
jne 0x10028119
mov dword [ecx], esi
mov dword [ecx + 4], esi
jmp 0x1002819b
mov ebx, dword [ecx + 4]
lea eax, [ebx + 8]
push eax
lea eax, [esi + 8]
push eax
call fcn.10024640
test al, al
jne 0x10028153
mov ebx, dword [ebx]
cmp ebx, esi
je 0x1002814b
mov edx, dword [esi + 4]
mov dword [edx], edi
mov ecx, dword [edi + 4]
mov dword [ecx], ebx
mov eax, dword [ebx + 4]
mov dword [eax], esi
mov dword [ebx + 4], ecx
mov dword [edi + 4], edx
mov dword [esi + 4], eax
mov eax, dword [ebp - 4]
mov dword [eax + 4], esi
jmp 0x10028198
mov eax, dword [ebp - 4]
cmp dword [eax], ebx
je 0x1002817b
nop word [eax + eax]
mov ebx, dword [ebx + 4]
lea eax, [ebx + 8]
push eax
lea eax, [esi + 8]
push eax
call fcn.10024640
test al, al
je 0x100281ae
mov eax, dword [ebp - 4]
cmp dword [eax], ebx
jne 0x10028160
mov edx, dword [esi + 4]
mov dword [edx], edi
mov ecx, dword [edi + 4]
mov dword [ecx], ebx
mov eax, dword [ebx + 4]
mov dword [eax], esi
mov dword [ebx + 4], ecx
mov dword [edi + 4], edx
mov dword [esi + 4], eax
mov eax, dword [ebp - 4]
mov dword [eax], esi
mov eax, dword [ebp + 8]
mov esi, edi
cmp edi, eax
jne 0x100280b5
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edx, dword [esi + 4]
mov ebx, dword [ebx]
mov dword [edx], edi
mov ecx, dword [edi + 4]
mov dword [ecx], ebx
mov eax, dword [ebx + 4]
mov dword [eax], esi
mov dword [ebx + 4], ecx
mov dword [edi + 4], edx
mov dword [esi + 4], eax
jmp 0x10028198
push str.invalid_hash_bucket_count
call fcn.10043523
int3
Function at 0x100282e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10064e3f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb0
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], edi
lea esi, [edi + 4]
push 0x28
mov dword [ebp + 8], esi
mov dword [edi], eax
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.10044157
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 dword [ebp - 4], 0
xorps xmm0, xmm0
movups xmmword [edi + 0xc], xmm0
xor ecx, ecx
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 7
mov word [edi + 0xc], cx
mov dword [edi + 0x24], ecx
mov byte [ebp - 4], 2
mov dword [edi + 0x28], ecx
mov dword [edi + 0x2c], ecx
mov dword [edi + 0x30], ecx
mov dword [edi + 0x38], ecx
mov dword [edi + 0x3c], ecx
mov byte [edi + 0x40], cl
mov dword [edi + 0x41], ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edx, eax
lea ecx, [ebp - 0xbc]
call fcn.100281e0
mov edi, eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xa4]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx]
mov edx, dword [edx + 4]
call fcn.100281e0
mov esi, eax
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 4
call fcn.1002a620
push 0x10094544
mov edx, eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x74]
call fcn.10028d30
add esp, 4
push esi
push eax
push dword [ebp + 8]
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 6
call fcn.10028ef0
push 0x10094540
lea edx, [ebp - 0x44]
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x5c]
call fcn.10028d30
add esp, 4
push edi
push eax
push dword [ebp + 8]
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x28]
call fcn.10028ef0
mov edi, dword [ebp - 0x10]
lea eax, [ebp - 0x28]
lea esi, [edi + 0xc]
cmp esi, eax
je 0x1002843a
mov ecx, esi
call fcn.10010e70
movups xmm0, xmmword [ebp - 0x28]
xor eax, eax
mov word [ebp - 0x28], ax
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x18]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
lea ecx, [ebp - 0x28]
call fcn.10010e70
lea ecx, [ebp - 0x5c]
call fcn.10010e70
lea ecx, [ebp - 0x44]
call fcn.10010e70
lea ecx, [ebp - 0x74]
call fcn.10010e70
lea ecx, [ebp - 0x8c]
call fcn.10010e70
lea ecx, [ebp - 0xa4]
call fcn.10010e70
lea ecx, [ebp - 0xbc]
call fcn.10010e70
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4