joyce8/EMBER2024-capa huggingface dataset:
Function at 0x60694a
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x472754
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4a2008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
xorps xmm0, xmm0
push 1
movups xmmword [esi], xmm0
push 0x48f868
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.00639e3a
mov dword [ebp - 4], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov byte [ebp - 4], 1
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov byte [ebp - 4], 2
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov byte [ebp - 4], 3
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov byte [ebp - 4], 4
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
mov byte [ebp - 4], 5
mov ecx, dword [0x4a2a48]
mov eax, dword [0x4a2a4c]
add ecx, 1
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0
adc eax, 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 0
mov dword [0x4a2a4c], eax
mov dword [esi + 0x6c], eax
mov dword [esi + 0x68], ecx
mov eax, dword [esi + 0x20]
sub eax, dword [esi + 0x18]
sar eax, 3
mov dword [0x4a2a48], ecx
cmp eax, 0x64
jae 0x606a6d
push ecx
lea ecx, [esi + 0x18]
call fcn.0062616a
mov eax, dword [esi + 0x2c]
sub eax, dword [esi + 0x24]
sar eax, 3
cmp eax, 0x14
jae 0x606a84
push ecx
lea ecx, [esi + 0x24]
call fcn.0062607a
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x64da0d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x6563a8
cmp edx, dword [eax]
je 0x64da2f
add eax, 8
inc ecx
cmp eax, 0x656438
jl 0x64da20
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x6563a8]
jne 0x64db5d
mov eax, dword [0xa59d00]
cmp eax, 1
je 0x64db37
test eax, eax
jne 0x64da60
cmp dword [0x6562d4], 1
je 0x64db37
cmp edx, 0xfc
je 0x64db5d
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x64da97
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0064e3f0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0064e880
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x64dada
lea eax, [ebp - 0x1a4]
push eax
call fcn.0064e880
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x652b4c
push edi
call fcn.00650750
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0064e3f0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0064e400
lea eax, [ebp - 0xa0]
push 0x652b2c
push eax
call fcn.0064e400
push dword [esi + 0x6563ac]
lea eax, [ebp - 0xa0]
push eax
call fcn.0064e400
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.006506c4
add esp, 0x2c
pop edi
jmp 0x64db5d
lea eax, [ebp + 8]
lea esi, [esi + 0x6563ac]
push 0
push eax
push dword [esi]
call fcn.0064e880
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x1001a6e4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
pushal
call 0x1001a6f3
pop dword [ebp - 0x28]
mov eax, 0x2f0a1ab2
add eax, 0xe0f78c41
sub dword [ebp - 0x28], eax
push 0x40
push 0x1000
push 0x43527
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x28]
call dword [eax]
mov ecx, 0x537f
mov esi, eax
mov edi, 0xac6a8010
sub edi, 0x9c66c210
add edi, dword [ebp - 0x28]
mov ebx, 0x3e6deaef
add ebx, 0x7694086d
mov dword [ebp - 0x14], 0x97f5b0a5
mov edx, dword [edi]
sub dword [ebp - 0xc], edx
sub edx, ebx
xor dword [ebp - 0x14], ecx
mov dword [esi], edx
add esi, 0x6691e1b0
add esi, 0x996e1e54
add edi, 0xee5f94a4
add edi, 0x11a06b60
loop 0x1001a747
add eax, 0xca23ecc4
add eax, 0x35dd540b
xor ebx, ebx
add ebx, eax
add eax, 0x1d9d2214
sub eax, 0x1d9d220f
mov ecx, 0xdf14abd0
add ecx, 0x30eb5430
add ecx, dword [ebp - 0x28]
call ebx
leave
ret

Function at 0x100289d0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
mov eax, dword [0x100330b4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x10035b0c]
test dword [ebp + 8], eax
je 0x10028a7a
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x808]
push eax
call fcn.1001a6e4
xor eax, eax
add esp, 0xc
mov word [ebp - 8], ax
mov eax, dword [0x10035b08]
test eax, eax
je 0x10028a6d
lea ecx, [ebp - 0x808]
push ecx
push eax
call fcn.1001a6e4
mov eax, dword [0x100330ac]
pop ecx
pop ecx
test eax, eax
jle 0x10028a7a
push esi
mov esi, dword [0x10035b10]
push edi
mov edi, dword [0x10035b14]
cdq
push edx
push eax
push edi
push esi
call fcn.10029420
add esi, 1
mov dword [0x10035b10], esi
adc edi, 0
or eax, edx
mov dword [0x10035b14], edi
pop edi
pop esi
jne 0x10028a7a
push dword [0x10035b08]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
pop ecx
jmp 0x10028a7a
lea eax, [ebp - 0x808]
push eax
call dword [sym.imp.kernel32.dll_OutputDebugStringW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10028d50
leave
ret
Function at 0x10001bd0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov dword [ebp - 0x10], ecx
mov ecx, 0x10045248
push 0
call fcn.1000f775
mov edi, eax
mov dword [ebp - 4], 1
test edi, edi
je 0x10001d60
mov eax, dword [ebp + 8]
shr eax, 4
mov dword [ebp - 0xc], eax
lea ecx, [eax + 1]
movzx eax, cx
mov dword [ebp - 8], eax
nop dword [eax + eax]
push 0
push eax
push 6
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
mov ebx, eax
test ebx, ebx
je 0x10001c6c
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x10001c6c
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x10001c6c
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, dword [ebp + 8]
mov ecx, ebx
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x10001c62
cmp esi, edx
jae 0x10001c6c
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x10001c50
cmp esi, edx
jae 0x10001c6c
cmp word [esi], 0
jne 0x10001c8d
mov ecx, dword [ebp - 4]
push ecx
inc ecx
mov dword [ebp - 4], ecx
mov ecx, 0x10045248
call fcn.1000f775
mov edi, eax
test edi, edi
je 0x10001d60
mov eax, dword [ebp - 8]
jmp 0x10001c10
test edi, edi
je 0x10001d60
mov eax, dword [ebp - 0xc]
inc eax
push 6
movzx eax, ax
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x10001d60
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x10001d60
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x10001d60
push dword [ebp - 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
lea ecx, [esi + eax]
and ebx, 0xf
jbe 0x10001cf6
cmp esi, ecx
jae 0x10001d60
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ebx, 1
jne 0x10001ce4
cmp esi, ecx
jae 0x10001d60
movzx eax, word [esi]
test ax, ax
je 0x10001d60
mov ebx, dword [ebp - 0x10]
mov edi, eax
lfence
mov ecx, 1
mov edx, dword [ebx]
mov eax, dword [edx - 8]
sub ecx, dword [edx - 4]
sub eax, edi
or ecx, eax
jge 0x10001d2a
push edi
mov ecx, ebx
lfence
call fcn.100013a0
mov edx, dword [ebx]
movzx ecx, word [esi]
lea eax, [esi + 2]
push ecx
push eax
push edi
push edx
call fcn.10015b67
push eax
call fcn.10001ee0
mov eax, dword [ebx]
add esp, 0x14
cmp edi, dword [eax - 8]
jg 0x10001d6b
mov dword [eax - 0xc], edi
xor ecx, ecx
mov eax, dword [ebx]
mov word [eax + edi*2], cx
lea eax, [ecx + 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x80070057
call fcn.10001510
int3
Function at 0x100052c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
cmp dword [ecx + 0x38], 0
push ebx
push esi
push edi
mov dword [esp + 0xc], ecx
je 0x100053b4
mov esi, dword [ebp + 0x10]
mov ebx, esi
mov edx, dword [ebp + 0xc]
mov edi, edx
mov eax, dword [ebp + 8]
mov dword [esp + 0x10], eax
test esi, esi
jl 0x100053a3
jg 0x10005300
test edx, edx
je 0x100053a3
nop dword [eax]
call fcn.100070f0
mov esi, eax
mov eax, edx
mov dword [esp + 0x14], eax
test eax, eax
jl 0x10005354
jg 0x10005317
test esi, esi
je 0x10005354
cmp ebx, eax
jg 0x10005327
jl 0x10005321
cmp edi, esi
jae 0x10005327
mov esi, edi
mov dword [esp + 0x14], ebx
mov eax, dword [esp + 0x10]
push esi
push eax
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x20]
push dword [eax]
call fcn.10012a40
mov ecx, dword [esp + 0x18]
add esp, 0xc
sub edi, esi
sbb ebx, dword [esp + 0x14]
mov eax, dword [ecx + 0x30]
sub dword [eax], esi
mov eax, dword [ecx + 0x20]
add dword [eax], esi
jmp 0x10005387
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
mov esi, dword [eax + 0xc]
mov ecx, esi
mov eax, dword [esp + 0x10]
movzx eax, byte [eax]
push eax
call dword [0x10033234]
mov ecx, dword [esp + 0x10]
call esi
cmp eax, 0xffffffff
je 0x1000539d
mov ecx, dword [esp + 0xc]
add edi, 0xffffffff
mov esi, 1
adc ebx, 0xffffffff
add dword [esp + 0x10], esi
test ebx, ebx
jg 0x10005300
jl 0x1000539d
test edi, edi
jne 0x10005300
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
sub edx, edi
mov eax, edx
sbb esi, ebx
mov edx, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ecx + 0x20]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x18], esi
mov eax, dword [eax]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x10], eax
test eax, eax
je 0x100053d6
mov eax, dword [ecx + 0x30]
mov eax, dword [eax]
jmp 0x100053d8
xor eax, eax
cdq
mov ebx, eax
mov eax, edx
mov dword [esp + 0x14], eax
test edi, edi
jl 0x10005456
jg 0x100053eb
test esi, esi
je 0x10005456
test eax, eax
jl 0x1000543a
jg 0x100053f5
test ebx, ebx
je 0x1000543a
cmp edi, eax
jg 0x10005405
jl 0x100053ff
cmp esi, ebx
jae 0x10005405
mov ebx, esi
mov dword [esp + 0x14], edi
push ebx
push dword [ebp + 8]
push dword [esp + 0x18]
call fcn.10012a40
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov edx, dword [ebp + 8]
sub esi, ebx
sbb edi, dword [esp + 0x14]
add edx, ebx
mov eax, dword [ecx + 0x30]
sub dword [eax], ebx
mov eax, dword [ecx + 0x20]
add dword [eax], ebx
test edi, edi
jl 0x10005456
jg 0x1000543d
test esi, esi
je 0x10005456
jmp 0x1000543d
mov edx, dword [ebp + 8]
mov eax, dword [ecx + 0x4c]
test eax, eax
je 0x10005456
push eax
push esi
push 1
push edx
call fcn.1001a20b
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x100059e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x10044054]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, ecx
cmp ebx, 0xffffffff
jne 0x10005a10
pop edi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10010e7f
mov esp, ebp
pop ebp
ret 4
mov eax, dword [edi + 0x20]
push esi
mov ecx, dword [eax]
test ecx, ecx
je 0x10005a4c
mov edx, dword [edi + 0x30]
mov esi, dword [edx]
lea eax, [esi + ecx]
cmp ecx, eax
jae 0x10005a4c
lea ecx, [esi - 1]
mov dword [edx], ecx
mov edx, dword [edi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], bl
pop esi
pop edi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10010e7f
mov esp, ebp
pop ebp
ret 4
cmp dword [edi + 0x4c], 0
je 0x10005b47
mov esi, dword [edi + 0xc]
lea eax, [edi + 0x3c]
cmp dword [esi], eax
jne 0x10005a74
mov edx, dword [edi + 0x54]
mov ecx, dword [edi + 0x50]
sub edx, ecx
mov dword [esi], ecx
mov eax, dword [edi + 0x1c]
mov dword [eax], ecx
mov eax, dword [edi + 0x2c]
mov dword [eax], edx
mov eax, dword [edi + 0x38]
mov dword [ebp - 0x34], eax
test eax, eax
jne 0x10005aaa
push dword [edi + 0x4c]
movsx eax, bl
push eax
call fcn.100194f8
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, ebx
pop esi
pop edi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10010e7f
mov esp, ebp
pop ebp
ret 4
mov byte [ebp - 0x25], bl
mov eax, dword [eax]
mov esi, dword [eax + 0x1c]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 4]
mov ecx, esi
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x25]
push eax
lea eax, [edi + 0x40]
push eax
call dword [0x10033234]
mov ecx, dword [ebp - 0x34]
call esi
sub eax, 0
je 0x10005b17
sub eax, 1
je 0x10005b17
sub eax, 2
jne 0x10005b47
push dword [edi + 0x4c]
movsx eax, byte [ebp - 0x25]
push eax
call fcn.100194f8
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, ebx
pop esi
pop edi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10010e7f
mov esp, ebp
pop ebp
ret 4
mov esi, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub esi, eax
je 0x10005b37
lfence
push dword [edi + 0x4c]
push esi
push 1
push eax
call fcn.1001a20b
add esp, 0x10
cmp esi, eax
jne 0x10005b47
lea eax, [ebp - 0x25]
mov byte [edi + 0x3d], 1
cmp dword [ebp - 0x30], eax
jne 0x10005a37
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop esi
pop edi
xor ecx, ebp
pop ebx
call fcn.10010e7f
mov esp, ebp
pop ebp
ret 4
Function at 0x10006ef0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x10044054]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x10006fcb
cmp byte [ebx + 0x3d], 0
je 0x10006fcb
mov eax, dword [ebx]
push esi
push 0xffffffffffffffff
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x10033234]
mov ecx, ebx
call esi
cmp eax, 0xffffffff
je 0x10006fb9
push edi
mov edi, dword [ebx + 0x38]
mov eax, dword [edi]
mov esi, dword [eax + 0x20]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
mov ecx, esi
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebx + 0x40]
push eax
call dword [0x10033234]
mov ecx, edi
call esi
pop edi
sub eax, 0
je 0x10006f7e
sub eax, 1
je 0x10006f82
sub eax, 2
jne 0x10006fb9
mov byte [ebx + 0x3d], al
mov al, 1
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10010e7f
mov esp, ebp
pop ebp
ret
mov byte [ebx + 0x3d], 0
mov esi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub esi, eax
je 0x10006fa2
lfence
push dword [ebx + 0x4c]
push esi
push 1
push eax
call fcn.1001a20b
add esp, 0x10
cmp esi, eax
jne 0x10006fb9
cmp byte [ebx + 0x3d], 0
pop esi
sete al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10010e7f
mov esp, ebp
pop ebp
ret
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10010e7f
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop ebx
call fcn.10010e7f
mov esp, ebp
pop ebp
ret
Function at 0x100072b0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003188c
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x10044054]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ecx + 0x30]
mov edi, dword [eax + 4]
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x28], edi
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x10033234]
mov ecx, edi
call esi
push 0
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0
call fcn.1000f984
mov byte [ebp - 4], 1
mov ecx, dword [0x10045368]
mov eax, dword [0x10046234]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], ecx
test ecx, ecx
jne 0x10007354
push ecx
lea ecx, [ebp - 0x14]
call fcn.1000f984
cmp dword [0x10045368], 0
jne 0x10007343
mov eax, dword [0x10045350]
inc eax
mov dword [0x10045350], eax
mov dword [0x10045368], eax
lea ecx, [ebp - 0x14]
call fcn.1000f9dc
mov ecx, dword [0x10045368]
mov dword [ebp - 0x14], ecx
cmp ecx, dword [edi + 0xc]
jae 0x1000737f
lfence
mov eax, dword [edi + 8]
mov edi, dword [eax + ecx*4]
test edi, edi
je 0x10007381
mov esi, dword [ebp - 0x24]
test edi, edi
jne 0x10007417
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x100073a2
mov edi, eax
jmp 0x10007417
xor edi, edi
mov esi, dword [ebp - 0x24]
cmp byte [esi + 0x14], 0
je 0x10007369
call fcn.1000fb7e
mov edi, dword [ebp - 0x14]
cmp edi, dword [eax + 0xc]
jae 0x10007371
lfence
mov eax, dword [eax + 8]
mov edi, dword [eax + edi*4]
jmp 0x10007369
push 0x18
call fcn.100113cb
mov edi, eax
add esp, 4
mov dword [ebp - 0x18], edi
mov byte [ebp - 4], 2
mov eax, dword [esi + 0x18]
test eax, eax
jne 0x100073bf
lea eax, [esi + 0x1c]
push eax
lea ecx, [ebp - 0x70]
call fcn.10003510
lea eax, [ebp - 0x3c]
mov dword [edi + 4], 0
push eax
mov dword [edi], vtable.std::ctype_char_.0
call fcn.1000fd9a
add esp, 4
lea ecx, [ebp - 0x70]
movups xmm0, xmmword [eax]
movups xmmword [edi + 8], xmm0
call fcn.100035c0
mov dword [ebp - 0x18], edi
push edi
mov byte [ebp - 4], 3
call fcn.1000fb52
mov eax, dword [edi]
add esp, 4
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x10033234]
mov ecx, edi
call esi
mov dword [0x10046234], edi
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0
call fcn.1000f9dc
mov eax, dword [edi]
push 0x20
mov esi, dword [eax + 0x20]
mov ecx, esi
call dword [0x10033234]
mov ecx, edi
call esi
mov edi, dword [ebp - 0x24]
mov byte [ebp - 0x1d], al
mov edx, dword [edi]
mov esi, dword [edx + 8]
mov ecx, esi
call dword [0x10033234]
mov ecx, edi
call esi
mov edi, eax
test edi, edi
je 0x10007465
mov ecx, dword [edi]
push 1
mov esi, dword [ecx]
mov ecx, esi
call dword [0x10033234]
mov ecx, edi
call esi
mov al, byte [ebp - 0x1d]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10010e7f
mov esp, ebp
pop ebp
ret 4
Function at 0x10009ea0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10031bbd
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x10044054]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
test edi, edi
jne 0x10009ed8
xor al, al
jmp 0x10009ffe
mov eax, dword [edi]
push 0x1003fbf4
push 0xca
mov esi, dword [eax + 0x18]
mov ecx, esi
call dword [0x10033234]
mov ecx, edi
call esi
mov edx, eax
mov dword [ebp - 0x30], 0
mov ecx, edx
mov dword [ebp - 0x20], 0
xor eax, eax
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10009f15
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x30]
call fcn.10002190
push str._error_not_found_
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], 0
call fcn.1000ae70
test al, al
je 0x10009f4a
xor bl, bl
jmp 0x10009fba
push 0xd
push str.Subscription
lea ecx, [ebp - 0x30]
call fcn.100068c0
cmp dword [ebp - 0x1c], 8
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push ecx
push 0
push 0x10
lea eax, [ebp - 0x30]
mov dword [ebp - 0x18], 4
cmovae eax, dword [ebp - 0x30]
push str.status
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov ecx, eax
test ecx, ecx
je 0x10009f9c
mov eax, 0x10044aa8
jmp 0x10009fa3
xor ecx, ecx
mov eax, 0x10044a90
mov eax, dword [eax + 4]
cmp eax, dword [0x10044a94]
jne 0x10009fe8
test ecx, ecx
jne 0x10009fe8
mov eax, dword [ebp - 0x14]
test eax, eax
sete bl
mov edx, dword [ebp - 0x1c]
cmp edx, 8
jb 0x10009ffc
mov ecx, dword [ebp - 0x30]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10009ff2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000a01a
jmp 0x10009ff2
xor eax, eax
test ecx, ecx
je 0x10009fb5
mov bl, 1
jmp 0x10009fba
push edx
push ecx
call fcn.100113bd
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10010e7f
mov esp, ebp
pop ebp
ret
call fcn.1001582f
int3
Function at 0x1000f310
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
mov ebx, ecx
mov eax, 0x1fffffff
bsr ecx, eax
push esi
mov esi, 1
mov dword [ebp - 0x18], ebx
mov eax, esi
shl eax, cl
mov ecx, dword [ebp + 8]
push edi
cmp ecx, eax
ja 0x1000f4a0
lea eax, [ecx - 1]
or eax, esi
bsr ecx, eax
mov eax, dword [ebx + 4]
push eax
mov dword [ebp - 0xc], eax
lea ecx, [ecx + 1]
shl esi, cl
lea ecx, [ebx + 0xc]
lea eax, [esi + esi]
push eax
call fcn.1000edb0
mov ecx, dword [ebp - 0xc]
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 0x1000f478
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 - 0x14], esi
mov dword [ebp - 0x10], ebx
jb 0x1000f391
mov edx, dword [ebx]
mov dword [ebp - 0x10], edx
xor edx, edx
mov dword [ebp - 4], 0x811c9dc5
test esi, esi
je 0x1000f3c4
mov ecx, dword [ebp - 4]
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
movzx esi, byte [edx + ebx]
inc edx
xor esi, ecx
imul ecx, esi, 0x1000193
cmp edx, eax
jb 0x1000f3a7
mov eax, dword [ebp - 8]
lea ebx, [edi + 8]
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x18]
mov esi, dword [edx + 0x18]
and esi, dword [ebp - 4]
mov edx, dword [edx + 0xc]
lea edx, [edx + esi*8]
mov esi, dword [edx]
mov dword [ebp - 4], edx
mov dword [ebp - 0x10], esi
cmp esi, ecx
jne 0x1000f3e9
mov dword [edx], edi
mov dword [edx + 4], edi
jmp 0x1000f46e
mov esi, dword [edx + 4]
lea eax, [esi + 8]
push eax
push ebx
call fcn.10008960
test al, al
jne 0x1000f423
mov ebx, dword [esi]
mov eax, dword [ebp - 8]
cmp ebx, edi
je 0x1000f41b
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 - 4]
mov dword [ecx + 4], edi
jmp 0x1000f46b
mov ebx, esi
cmp dword [ebp - 0x10], esi
je 0x1000f44b
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.10008960
test al, al
je 0x1000f481
cmp dword [ebp - 0x10], esi
jne 0x1000f430
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 - 4]
mov dword [ecx], edi
mov ecx, dword [ebp - 0xc]
mov edi, eax
cmp eax, ecx
jne 0x1000f375
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 0x1000f46b
push str.invalid_hash_bucket_count
call fcn.1000f87d
int3