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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100df185
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x10122064]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 4], 0
push esi
mov dword [ebp - 0x10], esi
call fcn.10088320
add esp, 4
test eax, eax
jne 0x1001be38
mov byte [ebp - 4], 1
mov edx, dword [esi + 0xec]
test edx, edx
je 0x1001bd51
add edx, 8
lea eax, [esi + 0x90]
mov edi, edx
cmp dword [edx + 0x14], 0x10
jb 0x1001bcba
mov edi, dword [edx]
xor ecx, ecx
mov ebx, 0x811c9dc5
cmp dword [edx + 0x10], ecx
jbe 0x1001bcde
movzx eax, byte [ecx + edi]
inc ecx
xor eax, ebx
imul ebx, eax, 0x1000193
cmp ecx, dword [edx + 0x10]
jb 0x1001bcc6
lea eax, [esi + 0x90]
push ebx
push edx
lea ecx, [ebp - 0x18]
push ecx
mov ecx, eax
call fcn.100213c0
mov edi, dword [eax + 4]
test edi, edi
je 0x1001bd51
mov ecx, dword [esi + 0xa8]
mov eax, dword [esi + 0x9c]
and ecx, ebx
lea ecx, [eax + ecx*8]
mov eax, dword [ecx]
cmp dword [ecx + 4], edi
jne 0x1001bd23
cmp eax, edi
jne 0x1001bd1b
mov eax, dword [esi + 0x94]
mov dword [ecx], eax
mov dword [ecx + 4], eax
jmp 0x1001bd2b
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
jmp 0x1001bd2b
cmp eax, edi
jne 0x1001bd2b
mov eax, dword [edi]
mov dword [ecx], eax
mov ecx, dword [edi]
dec dword [esi + 0x98]
mov eax, dword [edi + 4]
mov dword [eax], ecx
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
lea ecx, [edi + 8]
call fcn.10026d60
push 0x28
push edi
call fcn.1008ab90
add esp, 8
mov ecx, dword [ebp + 8]
or edi, 0xffffffff
test ecx, ecx
je 0x1001bdb0
lea eax, [ecx + 8]
push eax
lea eax, [ebp - 0x18]
lea ecx, [esi + 0x90]
push eax
call fcn.10020fc0
mov ecx, dword [ebp + 0xc]
mov edx, dword [eax]
test ecx, ecx
je 0x1001bd7e
lock inc dword [ecx + 4]
mov ecx, dword [ebp + 0xc]
mov ebx, dword [edx + 0x24]
mov eax, dword [ebp + 8]
mov dword [edx + 0x20], eax
mov dword [edx + 0x24], ecx
test ebx, ebx
je 0x1001bdad
mov eax, edi
lock xadd dword [ebx + 4], eax
jne 0x1001bdad
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
mov eax, edi
lock xadd dword [ebx + 8], eax
jne 0x1001bdad
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
mov ecx, dword [ebp + 8]
mov ebx, dword [esi + 0xf0]
mov eax, dword [ebp + 0xc]
mov dword [ebp + 8], 0
mov dword [ebp + 0xc], 0
mov dword [esi + 0xec], ecx
mov dword [esi + 0xf0], eax
test ebx, ebx
je 0x1001bdf6
mov eax, edi
lock xadd dword [ebx + 4], eax
jne 0x1001bdf6
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
mov eax, edi
lock xadd dword [ebx + 8], eax
jne 0x1001bdf6
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
push esi
call fcn.10088340
mov esi, dword [ebp + 0xc]
add esp, 4
test esi, esi
je 0x1001be24
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x1001be24
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x1001be24
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push eax
call fcn.10087020
int3
Function at 0x10020960
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], 0x10
mov edi, edx
mov ebx, dword [edx + 0x10]
mov dword [ebp - 4], eax
jb 0x1002097e
mov edi, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
test ebx, ebx
je 0x100209a4
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, ebx
jb 0x10020990
mov eax, dword [ebp - 4]
push esi
push edx
lea ecx, [ebp - 0xc]
push ecx
mov ecx, eax
call fcn.100213c0
pop edi
pop esi
pop ebx
mov ecx, dword [eax + 4]
mov eax, dword [ebp + 8]
test ecx, ecx
jne 0x100209c4
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 4]
mov dword [eax], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x10020fc0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100df705
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x10122064]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edx, dword [ebp + 0xc]
mov edi, edx
cmp dword [edx + 0x14], 0x10
jb 0x10020ff7
mov edi, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
cmp dword [edx + 0x10], ecx
jbe 0x10021015
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, dword [edx + 0x10]
jb 0x10021003
push esi
push edx
lea eax, [ebp - 0x14]
mov ecx, ebx
push eax
call fcn.100213c0
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x10021046
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 ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp dword [ebx + 8], 0x6666666
je 0x10021150
lea eax, [ebx + 4]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0
push 0x28
mov dword [ebp - 0x18], 0
call fcn.1008a330
add esp, 4
mov edi, eax
mov dword [ebp - 0x18], edi
push dword [ebp + 0xc]
lea ecx, [edi + 8]
call fcn.1001db50
xorps xmm0, xmm0
movq qword [edi + 0x20], xmm0
mov dword [edi + 0x24], 0
mov dword [ebp - 4], 1
mov eax, dword [ebx + 8]
inc eax
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x101136f0]
mov eax, dword [ebx + 0x1c]
cvtpd2ps xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x101136f0]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, dword [ebx]
jbe 0x100210f2
mov ecx, ebx
call fcn.10024c00
push esi
lea eax, [edi + 8]
mov ecx, ebx
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.100213c0
mov edx, dword [eax]
jmp 0x100210f5
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 4]
inc dword [ebx + 8]
mov dword [edi + 4], eax
mov dword [edi], edx
mov dword [eax], edi
mov dword [edx + 4], edi
mov ecx, dword [ebx + 0xc]
mov dword [ebp + 0xc], eax
mov eax, dword [ebx + 0x18]
and eax, esi
mov esi, dword [ecx + eax*8]
cmp esi, dword [ebx + 4]
jne 0x1002111d
mov dword [ecx + eax*8], edi
jmp 0x1002112f
cmp esi, edx
jne 0x10021126
mov dword [ecx + eax*8], edi
jmp 0x10021133
mov edx, dword [ebp + 0xc]
cmp dword [ecx + eax*8 + 4], edx
jne 0x10021133
mov dword [ecx + eax*8 + 4], edi
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov byte [eax + 4], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push str.unordered_map_set_too_long
call fcn.100873d0
int3
Function at 0x10021160
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100df745
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x18
push esi
push edi
mov eax, dword [0x10122064]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov edx, dword [ebx + 0xc]
mov dword [ebp - 0x18], edx
cmp dword [edx + 0x14], 0x10
jb 0x100211b1
mov eax, dword [edx]
mov dword [ebp - 0x18], eax
xor ecx, ecx
mov esi, 0x811c9dc5
cmp dword [edx + 0x10], ecx
jbe 0x100211d5
mov edi, dword [ebp - 0x18]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, dword [edx + 0x10]
jb 0x100211c0
mov edi, dword [ebp - 0x14]
push esi
push edx
lea eax, [ebp - 0x20]
mov ecx, edi
push eax
call fcn.100213c0
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x100211f7
mov eax, dword [ebx + 8]
mov dword [eax], ecx
mov byte [eax + 4], 0
jmp 0x10021327
cmp dword [edi + 8], 0x6666666
je 0x1002133d
lea eax, [edi + 4]
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], 0
push 0x28
mov dword [ebp - 0x24], 0
call fcn.1008a330
mov edi, eax
add esp, 4
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x24], edi
mov dword [edi + 8], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
movups xmm0, xmmword [eax]
movups xmmword [edi + 8], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [edi + 0x18], xmm0
xorps xmm0, xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
movq qword [edi + 0x20], xmm0
mov dword [edi + 0x24], 0
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 4], 1
mov eax, dword [ecx + 8]
inc eax
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x101136f0]
mov eax, dword [ecx + 0x1c]
cvtpd2ps xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x101136f0]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, dword [ecx]
jbe 0x100212d7
call fcn.10024c00
mov ecx, dword [ebp - 0x14]
lea eax, [edi + 8]
push esi
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.100213c0
mov ecx, dword [ebp - 0x14]
mov edx, dword [eax]
jmp 0x100212da
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 4]
inc dword [ecx + 8]
mov dword [edi + 4], eax
mov dword [edi], edx
mov dword [eax], edi
mov dword [edx + 4], edi
mov dword [ebp - 0x14], eax
mov eax, dword [ecx + 0x18]
and eax, esi
mov dword [ebp - 0x18], edx
mov edx, dword [ecx + 0xc]
mov esi, dword [ebp - 0x28]
mov ecx, dword [edx + eax*8]
cmp ecx, dword [esi]
jne 0x10021307
mov dword [edx + eax*8], edi
jmp 0x1002131a
cmp ecx, dword [ebp - 0x18]
jne 0x10021311
mov dword [edx + eax*8], edi
jmp 0x1002131e
mov ecx, dword [ebp - 0x14]
cmp dword [edx + eax*8 + 4], ecx
jne 0x1002131e
mov dword [edx + eax*8 + 4], edi
mov eax, dword [ebx + 8]
mov dword [eax], edi
mov byte [eax + 4], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
push str.unordered_map_set_too_long
call fcn.100873d0
int3
Function at 0x100251b0
Capabilities:
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
push edi
mov edi, 1
mov dword [ebp - 8], ebx
mov eax, edi
shl eax, cl
cmp edx, eax
ja 0x100252ea
mov esi, dword [ebx + 4]
lea eax, [edx - 1]
or eax, edi
mov dword [ebp + 8], esi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
lea ecx, [ebx + 0xc]
mov dword [ebp - 0xc], ecx
lea eax, [edi + edi]
push eax
call fcn.1001e2c0
lea eax, [edi - 1]
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x18], eax
mov eax, dword [ebx + 4]
mov eax, dword [eax]
mov ecx, eax
cmp eax, esi
je 0x100252bd
mov bl, byte [eax + 8]
mov edi, dword [ebp - 8]
mov ecx, dword [ecx]
movzx edx, bl
xor edx, 0x811c9dc5
mov edi, dword [edi + 0x18]
imul edx, edx, 0x1000193
and edi, edx
mov edx, dword [ebp - 0xc]
mov edx, dword [edx]
lea edx, [edx + edi*8]
mov edi, dword [edx]
mov dword [ebp - 4], edx
cmp edi, esi
jne 0x10025249
mov dword [edx], eax
mov dword [edx + 4], eax
jmp 0x100252b3
mov edx, dword [edx + 4]
cmp bl, byte [edx + 8]
jne 0x10025280
mov edx, dword [edx]
mov dword [ebp - 0x10], edx
cmp edx, eax
je 0x10025278
mov ebx, dword [eax + 4]
mov esi, dword [ebp - 0x10]
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov esi, dword [ebp + 8]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
mov edx, dword [ebp - 4]
mov dword [edx + 4], eax
jmp 0x100252b3
cmp edi, edx
je 0x10025290
mov edx, dword [edx + 4]
cmp bl, byte [edx + 8]
je 0x100252c6
cmp edi, edx
jne 0x10025284
mov ebx, dword [eax + 4]
mov dword [ebp - 0x10], ebx
mov dword [ebx], ecx
mov ebx, dword [ecx + 4]
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov dword [edx + 4], ebx
mov edx, dword [ebp - 0x10]
mov dword [ecx + 4], edx
mov edx, dword [ebp - 4]
mov dword [eax + 4], edi
mov dword [edx], eax
mov eax, ecx
cmp ecx, esi
jne 0x10025215
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [eax + 4]
mov edx, dword [edx]
mov dword [ebp - 0x10], edx
mov esi, edx
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov esi, dword [ebp + 8]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
jmp 0x100252b3
push str.invalid_hash_bucket_count
call fcn.100873d0
int3
Function at 0x10025300
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 0x1002547a
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.1001e2c0
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 0x10025455
cmp dword [esi + 0x1c], 0x10
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
jb 0x10025381
mov edx, dword [ecx]
mov dword [ebp - 4], edx
xor edx, edx
mov ebx, 0x811c9dc5
cmp dword [ecx + 0x10], edx
jbe 0x100253aa
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 0x10025393
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 0x100253c9
mov dword [ecx], esi
mov dword [ecx + 4], esi
jmp 0x1002544b
mov ebx, dword [ecx + 4]
lea eax, [ebx + 8]
push eax
lea eax, [esi + 8]
push eax
call fcn.10025670
test al, al
jne 0x10025403
mov ebx, dword [ebx]
cmp ebx, esi
je 0x100253fb
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 0x10025448
mov eax, dword [ebp - 4]
cmp dword [eax], ebx
je 0x1002542b
nop word [eax + eax]
mov ebx, dword [ebx + 4]
lea eax, [ebx + 8]
push eax
lea eax, [esi + 8]
push eax
call fcn.10025670
test al, al
je 0x1002545e
mov eax, dword [ebp - 4]
cmp dword [eax], ebx
jne 0x10025410
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 0x10025365
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 0x10025448
push str.invalid_hash_bucket_count
call fcn.100873d0
int3
Function at 0x10027430
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100dfb27
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x10122064]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ecx, dword [0x101263f8]
mov ebx, eax
mov eax, dword fs:[0x2c]
mov dword [edi + 4], 0
mov dword [edi], vtable.spdlog::sinks::wincolor_sink_struct_spdlog::details::console_mutex_.0
mov dword [edi + 8], 0x40008
mov ecx, dword [eax + ecx*4]
mov dword [edi + 0xc], 0x30002
mov dword [edi + 0x10], 0x60007
mov dword [edi + 0x14], ebx
mov eax, dword [0x10127218]
cmp eax, dword [ecx + 4]
jle 0x100274e1
push 0x10127218
call fcn.1008a1c0
add esp, 4
cmp dword [0x10127218], 0xffffffff
jne 0x100274e1
push 2
push 0x10127360
call fcn.100882e0
push 0x100e6de0
call fcn.1008ab60
push 0x10127218
call fcn.1008a170
add esp, 0x10
push 0x98
mov dword [edi + 0x18], 0x10127360
call fcn.1008a330
mov esi, eax
mov dword [ebp - 0x10], esi
sub esp, 0x14
mov dword [ebp - 4], 0
mov ecx, esp
push 2
push 0x101040e4
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
call fcn.1001de90
push ecx
mov ecx, esi
call fcn.1001a1e0
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x10], 0
mov dword [edi + 0x20], eax
call fcn.1001d060
lea eax, [ebp - 0x18]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetConsoleMode]
movzx esi, word [edi + 0x10]
test eax, eax
mov byte [edi + 0x1d], 1
setne al
mov byte [edi + 0x1c], al
mov word [edi + 0x24], si
movzx eax, word [edi + 0xe]
mov word [edi + 0x26], ax
movzx eax, word [edi + 0xc]
mov word [edi + 0x28], ax
movzx ecx, word [edi + 8]
movzx eax, word [edi + 0x12]
mov edx, ecx
or ax, cx
or esi, edx
mov word [edi + 0x2a], ax
or esi, 0x40
movzx eax, word [edi + 0xa]
or ax, dx
mov word [edi + 0x2c], ax
xor eax, eax
mov word [edi + 0x2e], si
mov word [edi + 0x30], ax
mov eax, edi
mov dword [edi], vtable.spdlog::sinks::wincolor_stdout_sink_struct_spdlog::details::console_mutex_.0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x100275c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100dfb76
mov eax, dword fs:[0]
push eax
sub esp, 0x148
mov eax, dword [0x10122064]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov edx, dword [ebp + 8]
lea eax, [ebp - 0x10c]
mov dword [ebp - 0x114], 0
mov dword [ebp - fcn.1001e390], vtable.fmt::v7::basic_memory_buffer_char__250__class_std::allocator_char__.0
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x110], 0xfa
mov dword [ebp - 4], 0
lea esi, [ebp - 0x11c]
mov ecx, dword [edi + 8]
push esi
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [edi + 0x44]
mov esi, dword [ebp - 0x114]
push esi
push 1
push dword [ebp - 0x118]
call fcn.100a0be0
add esp, 0x10
cmp eax, esi
jne 0x100276ce
mov eax, dword [ebp - 0x118]
lea ecx, [ebp - 0x10c]
mov dword [ebp - fcn.1001e390], vtable.fmt::v7::basic_memory_buffer_char__250__class_std::allocator_char__.0
cmp eax, ecx
je 0x100276b1
mov ecx, dword [ebp - 0x110]
mov dword [ebp - 0x150], ecx
mov dword [ebp - 0x154], eax
cmp ecx, 0x1000
jb 0x100276a7
lea eax, [ebp - 0x150]
push eax
lea eax, [ebp - 0x154]
push eax
call fcn.10017080
mov ecx, dword [ebp - 0x150]
add esp, 8
mov eax, dword [ebp - 0x154]
push ecx
push eax
call fcn.1008ab90
add esp, 8
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.1008a020
mov esp, ebp
pop ebp
ret 4
call fcn.100a0d80
lea edx, [edi + 0x48]
lea ecx, [ebp - 0x134]
mov esi, dword [eax]
call fcn.10018f00
push eax
mov edx, str.Failed_writing_to_file
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14c]
call fcn.10020aa0
add esp, 4
mov edx, esi
mov byte [ebp - 4], 2
mov ecx, eax
call fcn.10018cf0
int3

Function at 0x100320b0
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x10122064]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
lea eax, [ebp - 0x10c]
push 0x105
mov dword [ebp - 0x110], esi
push eax
mov dword [ebp - 0x110], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_K32GetProcessImageFileNameA]
mov dword [esi + 0x10], 0
lea ecx, [ebp - 0x10c]
mov dword [esi + 0x14], 0
lea edx, [ecx + 1]
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10032120
sub ecx, edx
lea eax, [ebp - 0x10c]
push ecx
push eax
mov ecx, esi
call fcn.1001de90
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.1008a020
mov esp, ebp
pop ebp
ret
Function at 0x100398e0
Capabilities:
Get number of processors
Get process heap force flags

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 0x100e067b
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x18
push esi
push edi
mov eax, dword [0x10122064]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
push 0x30
push 0
push esi
mov dword [ebp - 4], 0
call fcn.1008d070
movups xmm0, xmmword [ebx + 8]
lea edi, [esi + 0x34]
mov dword [esi + 0x30], 0
mov dword [edi], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
movups xmmword [edi], xmm0
mov byte [ebx + 8], 0
movq xmm0, qword [ebx + 0x18]
movq qword [edi + 0x10], xmm0
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0xf
push 0x30
push 0
push esi
mov byte [ebp - 4], 1
call fcn.1008d070
mov eax, dword [sym.imp.USER32.dll_DefWindowProcA]
add esp, 0x18
mov dword [esi], 0x30
mov dword [esi + 4], 3
mov dword [esi + 8], eax
cmp dword [edi + 0x14], 0x10
jb 0x100399a3
mov edi, dword [edi]
push 0
mov dword [esi + 0x28], edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [esi + 0x14], eax
test eax, eax
je 0x10039a54
push esi
call dword [sym.imp.USER32.dll_RegisterClassExA]
test ax, ax
jne 0x100399cf
push str.Could_not_get_register_the_window_class
jmp 0x10039a59
push 0
push dword [esi + 0x14]
push 0
push 0
push 0x64
push 0x64
push 0
push 0
push 0xcf0000
push str.Temporary_DirectX_Overlay_Window
push dword [esi + 0x28]
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [esi + 0x30], eax
test eax, eax
jne 0x10039a03
push str.Could_not_get_create_the_temporary_window
jmp 0x10039a59
mov eax, dword [ebx + 0x1c]
cmp eax, 0x10
jb 0x10039a3c
mov ecx, dword [ebx + 8]
inc eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
cmp eax, 0x1000
jb 0x10039a32
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.10017080
mov eax, dword [ebp - 0x14]
add esp, 8
mov ecx, dword [ebp - 0x18]
push eax
push ecx
call fcn.1008ab90
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x18
push str.Could_not_get_the_instance_handle
lea ecx, [ebp - 0x28]
call fcn.100387b0
push 0x10120cfc
lea eax, [ebp - 0x28]
push eax
call fcn.1008d420
int3