joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001eb70
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], edi
mov eax, dword [edi]
cmp eax, 0x270
jne 0x1001ebce
lea edx, [edi + 8]
mov esi, eax
nop dword [eax]
mov ecx, dword [edx - 4]
lea edx, [edx + 4]
xor ecx, dword [edx - 4]
and ecx, 0x7fffffff
xor ecx, dword [edx - 8]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx + 0x62c]
xor eax, ecx
mov dword [edx + 0x9b8], eax
sub esi, 1
jne 0x1001eb90
mov eax, dword [edi]
jmp 0x1001ecb9
cmp eax, 0x4e0
jb 0x1001ecb9
mov eax, dword [edi + 0x9c4]
push ebx
lea ebx, [edi + 0x9c4]
mov edi, 0xe3
nop dword [eax + eax]
mov ecx, dword [ebx + 4]
lea edx, [ebx + 4]
xor ecx, eax
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [ebx + 0x634]
xor eax, ecx
mov dword [ebx - 0x9c0], eax
lea ebx, [edx]
mov eax, dword [edx]
sub edi, 1
jne 0x1001ebf0
mov ebx, dword [ebp - 4]
mov edi, 0x18c
add ebx, 0xd50
mov eax, dword [ebx]
nop dword [eax]
mov ecx, eax
lea edx, [ebx + 4]
xor ecx, dword [edx]
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [ebx - 0xd4c]
xor eax, ecx
mov dword [ebx - 0x9c0], eax
lea ebx, [edx]
mov eax, dword [edx]
sub edi, 1
jne 0x1001ec40
mov edi, dword [ebp - 4]
pop ebx
mov ecx, dword [edi + 0x1380]
xor ecx, dword [edi + 4]
and ecx, 0x7fffffff
xor ecx, dword [edi + 0x1380]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edi + 0x634]
xor eax, ecx
mov dword [edi + 0x9c0], eax
xor eax, eax
mov dword [edi], 0
mov edx, dword [edi + eax*4 + 4]
inc eax
mov dword [edi], eax
mov ecx, edx
mov eax, dword [edi + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
pop edi
xor eax, edx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x1003a3d9
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1003a24f

Function at 0x1003d2ab
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1003cf28
Function at 0x1004da90
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
or eax, 2
mov dword [ebp + 8], eax
pop ebp
jmp fcn.1004c670
Function at 0x10067f30
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c63e5
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x102a000c]
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 eax, ecx
mov dword [ebp - 0x2c], eax
mov esi, dword [0x102a0b70]
mov dword [esi + 0x28d4], 0
test eax, eax
je 0x10068044
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
movq qword [ebp - 0x28], xmm0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1c]
mov dword [esi + 0x28d4], 0
call fcn.10003f90
xor ebx, ebx
mov byte [ebp - 4], 1
cmp dword [esi + 0x28e4], ebx
jle 0x10067fe5
xor edi, edi
mov eax, dword [esi + 0x28ec]
lea ecx, [ebp - 0x1c]
push ecx
push esi
mov eax, dword [edi + eax + 0x10]
call eax
inc ebx
lea edi, [edi + 0x14]
add esp, 8
cmp ebx, dword [esi + 0x28e4]
jl 0x10067fc5
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
dec ebx
mov esi, dword [ebp - 0x14]
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], esi
mov ecx, dword [ebp - 0x2c]
mov edx, 0x100d8ba8
mov byte [ebp - 4], 0
call fcn.1006bf00
mov edi, eax
test edi, edi
je 0x10068022
push edi
push ebx
push 1
push esi
call fcn.100288f3
push edi
call fcn.10025ddd
add esp, 0x14
mov dword [ebp - 4], 4
test esi, esi
je 0x10068044
mov eax, dword [0x102a0b70]
push esi
dec dword [eax + 0x310]
mov eax, dword [eax + 0xc0]
call eax
add esp, 4
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.1001ed23
mov esp, ebp
pop ebp
ret
Function at 0x1006be30
Capabilities:
Read file on windows

Disassembly:
push esi
mov edx, 0x100d8ba4
call fcn.1006bf00
mov esi, eax
test esi, esi
jne 0x1006be43
pop esi
ret
push ebx
push edi
push 2
push 0
push esi
call fcn.10026138
add esp, 0xc
test eax, eax
jne 0x1006bee2
push esi
call fcn.10025456
mov edi, eax
add esp, 4
cmp edi, 0xffffffff
je 0x1006bee2
push 0
push 0
push esi
call fcn.10026138
add esp, 0xc
test eax, eax
jne 0x1006bee2
mov ecx, dword [0x102a0b70]
lea eax, [edi + 1]
push eax
mov eax, dword [ecx + 0xbc]
inc dword [ecx + 0x310]
call eax
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x1006bee2
push esi
push edi
push 1
push ebx
call fcn.10028ce6
add esp, 0x10
push esi
cmp eax, edi
je 0x1006bed0
call fcn.10025ddd
mov eax, dword [0x102a0b70]
push ebx
dec dword [eax + 0x310]
mov eax, dword [eax + 0xc0]
call eax
add esp, 8
xor eax, eax
pop edi
pop ebx
pop esi
ret
mov byte [ebx + edi], 0
call fcn.10025ddd
add esp, 4
mov eax, ebx
pop edi
pop ebx
pop esi
ret
push esi
call fcn.10025ddd
add esp, 4
xor eax, eax
pop edi
pop ebx
pop esi
ret

Function at 0x1006ce40
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x102a7124], 0
push ebx
push esi
push edi
mov edi, edx
mov esi, ecx
jne 0x1006cefa
xor ebx, ebx
nop dword [eax]
mov edx, ebx
mov eax, ebx
shr eax, 1
and edx, 1
neg edx
and edx, 0xedb88320
xor edx, eax
mov eax, edx
shr edx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, edx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov dword [ebx*4 + 0x102a7120], eax
inc ebx
cmp ebx, 0x100
jb 0x1006ce60
mov ebx, dword [ebp + 8]
not ebx
mov eax, ebx
test edi, edi
jle 0x1006cf26
movzx ecx, byte [esi]
lea esi, [esi + 1]
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x102a7120]
sub edi, 1
jne 0x1006cf05
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x1006cf58
nop dword [eax]
cmp cl, 0x23
jne 0x1006cf3f
cmp byte [esi], cl
jne 0x1006cf3f
cmp byte [esi + 1], cl
cmove eax, ebx
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
mov cl, byte [esi]
inc esi
xor eax, dword [edx*4 + 0x102a7120]
test cl, cl
jne 0x1006cf30
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
Function at 0x1007ece0
Capabilities:
Encrypt data using rc4 prga

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
sub esp, 0x28
push esi
push edi
mov edi, edx
mov dword [ebp - 0x10], ecx
xor edx, edx
mov dword [ebp - 8], edi
mov dword [ebp - 4], edx
cmp dword [ebx + 0xc], edx
jle 0x1007eecd
mov esi, dword [ebx + 8]
mov eax, 0x100
add esi, 0x14
xorps xmm0, xmm0
mov dword [ebp - 0x14], esi
movss xmm1, dword [esi - 0x14]
comiss xmm1, xmm0
jbe 0x1007ed73
mov esi, dword [ebp - 8]
mov edi, dword [edi + 0x1c]
cwde
mov esi, dword [esi + 4]
movzx ecx, byte [edi + esi + 6]
movsx ecx, cx
imul ecx, eax
movzx eax, byte [edi + esi + 7]
add cx, ax
mov eax, 0x100
movsx edx, cx
movzx ecx, byte [edi + esi + 4]
cwde
movsx ecx, cx
imul ecx, eax
movzx eax, byte [edi + esi + 5]
mov esi, dword [ebp - 0x14]
add cx, ax
movsx eax, cx
sub eax, edx
movd xmm0, eax
jmp 0x1007ed93
mov edx, dword [edi + 0x14]
mov eax, dword [edi + 4]
xorps xmm1, xmmword [0x102954e0]
movzx ecx, byte [edx + eax + 0x12]
movzx eax, byte [edx + eax + 0x13]
shl ecx, 8
add ecx, eax
movd xmm0, ecx
mov ecx, dword [ebp - 0x10]
xor edi, edi
cvtdq2ps xmm0, xmm0
movzx eax, byte [ecx + 0x18]
mov byte [esi], al
movzx eax, byte [ecx + 0x1c]
divss xmm1, xmm0
mov byte [esi + 1], al
movss dword [ebp - 0x18], xmm1
cmp dword [esi - 8], edi
jle 0x1007eeaf
mov eax, dword [ebp - 4]
mov edx, dword [ebx + 0x10]
shl eax, 4
add edx, 6
add eax, edx
mov dword [ebp - 0xc], eax
nop dword [eax + eax]
mov edx, dword [esi - 0xc]
test edx, edx
jne 0x1007edde
mov edx, dword [esi - 0x10]
add edx, edi
jmp 0x1007ede1
mov edx, dword [edx + edi*4]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ecx + 0x1c]
sub esp, 8
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
mov dword [esp + 4], 0
mov dword [esp], 0
addsd xmm0, qword [eax*8 + 0x10295410]
mov eax, dword [ecx + 0x18]
mov ecx, dword [ebp - 8]
cvtpd2ps xmm3, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
mulss xmm3, xmm1
addsd xmm0, qword [eax*8 + 0x10295410]
cvtpd2ps xmm2, xmm0
mulss xmm2, xmm1
call fcn.10084f00
mov ecx, dword [ebp - 8]
mov edx, eax
call fcn.10082330
mov edx, dword [ebp - 0x10]
inc edi
mov esi, dword [ebp - 0xc]
add esp, 0x18
movss xmm1, dword [ebp - 0x18]
movzx eax, word [edx + 0x18]
sub ax, word [ebp - 0x1c]
movzx ecx, word [edx + 0x14]
dec ax
add ax, cx
dec cx
add ax, word [ebp - 0x20]
mov word [esi - 2], ax
movzx eax, word [edx + 0x1c]
sub ax, word [ebp - 0x24]
mov edx, dword [ebp - 4]
add ax, cx
add ax, word [ebp - 0x28]
mov ecx, esi
mov esi, dword [ebp - 0x14]
inc edx
mov dword [ebp - 4], edx
mov word [ecx], ax
add ecx, 0x10
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp - 0x10]
cmp edi, dword [esi - 8]
jl 0x1007edd0
jmp 0x1007eeb2
mov edx, dword [ebp - 4]
mov edi, dword [ebp - 8]
add esi, 0x18
sub dword [ebx + 0xc], 1
xorps xmm0, xmm0
mov dword [ebp - 0x14], esi
mov eax, 0x100
jne 0x1007ed22
pop edi
mov eax, edx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x10087680
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c67b1
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x102a000c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 8], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x18], 0
mov dword [ebp - 4], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x30], 0
mov byte [ebp - 4], 2
mov eax, 0x3f
mov dword [esi + 4], 0x3f800000
mov word [esi + 0x3c], ax
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0x3f800000
call fcn.1007abd0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1008aac0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x28
mov eax, dword [0x102a000c]
xor eax, esp
mov dword [esp + 0x24], eax
cmp dword [0x102b3514], 0
push esi
push edi
jne 0x1008aae4
call fcn.1008aca0
mov edi, dword [0x102a0b70]
lea eax, [esp + 8]
push eax
push dword [0x102b3524]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x10]
sub eax, dword [esp + 8]
movd xmm1, eax
mov eax, dword [esp + 0x14]
sub eax, dword [esp + 0xc]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
lea eax, [esp + 0x20]
cvtdq2ps xmm0, xmm0
push eax
movss dword [edi + 4], xmm1
movss dword [edi + 8], xmm0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [esp + 0x20]
sub ecx, dword [0x102b3528]
mov edx, dword [esp + 0x24]
sbb edx, dword [0x102b352c]
call fcn.100c2070
mov edx, dword [0x102b3534]
mov ecx, dword [0x102b3530]
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x18], xmm0
call fcn.100c2070
movss xmm1, dword [esp + 0x18]
cvtsd2ss xmm0, xmm0
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
divss xmm1, xmm0
movss dword [edi + 0xc], xmm1
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov dword [0x102b3528], eax
mov dword [0x102b352c], ecx
call esi
shr eax, 0xf
and al, 1
push 0x10
mov byte [edi + 0xe1], al
call esi
shr eax, 0xf
and al, 1
push 0x12
mov byte [edi + 0xe2], al
call esi
shr eax, 0xf
and al, 1
mov byte [edi + 0xe4], 0
cmp byte [edi + 0x30b], 0
mov byte [edi + 0xe3], al
je 0x1008ac02
cvttss2si eax, dword [edi + 0xcc]
mov dword [esp + 0x18], eax
cvttss2si eax, dword [edi + 0xd0]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x18]
push eax
push dword [0x102b3524]
call dword [sym.imp.USER32.dll_ClientToScreen]
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_SetCursorPos]
cmp byte [edi + 0xe0], 0
je 0x1008ac13
push 0
call dword [sym.imp.USER32.dll_SetCursor]
call fcn.10068fc0
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
xor ecx, esp
call fcn.1001ed23
mov esp, ebp
pop ebp
ret
Function at 0x1008d000
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c6a32
mov eax, dword fs:[0]
push eax
sub esp, 0xd4
mov eax, dword [0x102a000c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0x18]
push 0
push str.slots
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 8
mov dword [ebp - 0x2c], 0
lea ecx, [ebp - 0x2c]
push str.._slots_
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
call fcn.10007eb0
mov ecx, esi
mov byte [ebp - 4], 1
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1008d075
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x2c]
call fcn.1000bc50
push 9
push str..playback
lea ecx, [ebp - 0x2c]
call fcn.1000bc50
push 0xb0
lea eax, [ebp - 0xdc]
push 0
push eax
call fcn.10022330
add esp, 4
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0xdc]
push 2
push eax
call fcn.1000afd0
mov dl, byte [ebp + 0x14]
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 2
call fcn.1000c6e0
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
cmp esi, edi
je 0x1008d0f2
nop word [eax + eax]
mov dl, byte [esi]
lea ecx, [ebp - 0xdc]
call fcn.1000c6e0
inc esi
cmp esi, edi
jne 0x1008d0e0
lea ecx, [ebp - 0xd8]
call fcn.1000b950
test eax, eax
jne 0x1008d12c
mov eax, dword [ebp - 0xdc]
lea ecx, [ebp - 0xdc]
push 0
mov eax, dword [eax + 4]
add ecx, eax
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.100099b0
mov eax, dword [ebp - 0xdc]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xdc], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xdc]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0xe0], eax
lea ecx, [ebp - 0xd8]
call fcn.1000ac30
mov eax, dword [ebp - 0xdc]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xdc], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xdc]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0xe0], eax
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 3
push eax
mov dword [ebp - 0x74], vtable.std::ios_base.0
call fcn.10020609
mov edx, dword [ebp - 0x18]
add esp, 4
cmp edx, 0x10
jb 0x1008d1cc
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1008d1c2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008d22b
push edx
push ecx
call fcn.1001f369
add esp, 8
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
test ecx, ecx
je 0x1008d20e
mov edx, dword [ebp + 0x10]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x1008d204
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008d22b
push edx
push ecx
call fcn.1001f369
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1001ed23
mov esp, ebp
pop ebp
ret 0x14
call fcn.1002d924
int3
Function at 0x1008e400
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x102a000c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, ecx
call fcn.1008e210
mov edx, dword [edi + 0xc]
mov eax, dword [edi]
shl edx, 4
add edx, dword [edi + 0xc]
mov eax, dword [eax + edx*4 + 0x34]
call eax
mov esi, dword [edi + 0xc]
mov eax, dword [edi]
shl esi, 4
add esi, dword [edi + 0xc]
mov ecx, dword [eax + esi*4 + 0x3c]
mov esi, dword [eax + esi*4 + 0x38]
mov dword [ebp - 0x18], ecx
cmp esi, ecx
je 0x1008e4ea
push ebx
nop dword [eax]
cmp dword [esi + 0x14], 0x10
mov ecx, esi
jb 0x1008e45a
mov ecx, dword [esi]
call fcn.100b9ce0
cmp eax, 0xffffffff
je 0x1008e4dd
imul edx, eax, 0x7c
mov eax, dword [0x102b34c4]
mov dword [ebp - 0x14], edx
cmp byte [edx + eax + 0x78], 0
jne 0x1008e4dd
mov ecx, dword [edx + eax + 0x48]
mov ebx, dword [edx + eax + 0x54]
mov edi, dword [edx + eax + 0x4c]
mov dword [ebp - 0x10], ecx
lea eax, [ecx - 5]
cmp eax, 0x1b
ja 0x1008e4dd
lea eax, [ebp - 8]
push eax
push 0x40
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x1008e4dd
push dword [ebp - 0x10]
push 0x90
push edi
call fcn.10022330
add esp, 0xc
mov byte [edi], 0xe9
lea eax, [ebp - 0xc]
sub ebx, edi
sub ebx, 5
mov dword [edi + 1], ebx
push eax
push dword [ebp - 8]
push dword [ebp - 0x10]
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x1008e4dd
mov eax, dword [0x102b34c4]
mov ecx, dword [ebp - 0x14]
mov byte [ecx + eax + 0x78], 1
add esi, 0x18
cmp esi, dword [ebp - 0x18]
jne 0x1008e450
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1001ed23
mov esp, ebp
pop ebp
ret
Function at 0x1009a190
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x102a000c]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
call fcn.100c1a30
lea edi, [eax + 0x4aa66c]
lea eax, [ebp - 8]
push eax
push 0x40
push 0x1f
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
movups xmm0, xmmword [str.replay_02d.dat]
push 0
push dword [ebp - 8]
movups xmmword [edi], xmm0
push 0x1f
movq xmm0, qword [str.replay_list.dat]
movq qword [edi + 0x10], xmm0
mov eax, dword [0x10246c40]
mov dword [edi + 0x18], eax
mov ax, word [0x10246c44]
mov word [edi + 0x1c], ax
mov al, byte [0x10246c46]
push edi
mov byte [edi + 0x1e], al
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.1001ed23
mov esp, ebp
pop ebp
ret

Function at 0x1009a210
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x102a000c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
mov edi, ecx
call fcn.100c1a30
lea ebx, [eax + 0x4aa66c]
lea eax, [ebp - 8]
push eax
push 0x40
push 0x1f
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
movups xmm0, xmmword [edi]
push 0
push dword [ebp - 8]
movups xmmword [ebx], xmm0
push 0x1f
movq xmm0, qword [edi + 0x10]
movq qword [ebx + 0x10], xmm0
mov eax, dword [edi + 0x18]
mov dword [ebx + 0x18], eax
mov ax, word [edi + 0x1c]
mov word [ebx + 0x1c], ax
mov al, byte [edi + 0x1e]
push ebx
mov byte [ebx + 0x1e], al
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.1001ed23
mov esp, ebp
pop ebp
ret
Function at 0x100b14d0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c8d53
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push esi
push edi
mov eax, dword [0x102a000c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 7
mov dword [ebp - 0x24], 0
lea ecx, [ebp - 0x24]
push str.Discord
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0xf
mov byte [ebp - 0x24], 0
call fcn.10007eb0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x24]
cmp dword [ebp - 0x10], 0x10
push 0
cmovae ecx, dword [ebp - 0x24]
add edi, 0x28
mov edx, edi
call fcn.1005cc50
mov esi, dword [sym.imp.SHELL32.dll_ShellExecuteW]
add esp, 4
test al, al
je 0x100b1560
push 1
push 0
push 0
push str.https:__discord.gg_j2mCX9s
push str.open
push 0
call esi
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x10]
cmp edx, 0x10
jb 0x100b159b
mov ecx, dword [ebp - 0x24]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100b1591
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100b16f3
push edx
push ecx
call fcn.1001f369
add esp, 8
movss xmm1, dword [0x10293f64]
xorps xmm0, xmm0
call fcn.10049930
push 5
mov dword [ebp - 0x24], 0
lea ecx, [ebp - 0x24]
push str.Forum
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0xf
mov byte [ebp - 0x24], 0
call fcn.10007eb0
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x24]
cmp dword [ebp - 0x10], 0x10
mov edx, edi
push 0
cmovae ecx, dword [ebp - 0x24]
call fcn.1005cc50
add esp, 4
test al, al
je 0x100b1609
push 1
push 0
push 0
push str.https:__steamcommunity.com_app_586140_discussions_0_3195868146163014015_
push str.open
push 0
call esi
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x10]
cmp edx, 0x10
jb 0x100b1644
mov ecx, dword [ebp - 0x24]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100b163a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100b16f8
push edx
push ecx
call fcn.1001f369
add esp, 8
movss xmm1, dword [0x10293f64]
xorps xmm0, xmm0
call fcn.10049930
push 6
mov dword [ebp - 0x3c], 0
lea ecx, [ebp - 0x3c]
push str.GitHub
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0xf
mov byte [ebp - 0x3c], 0
call fcn.10007eb0
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x3c]
cmp dword [ebp - 0x28], 0x10
mov edx, edi
push 0
cmovae ecx, dword [ebp - 0x3c]
call fcn.1005cc50
add esp, 4
test al, al
je 0x100b16b2
push 1
push 0
push 0
push str.https:__github.com_libreofficecalc_BBCF_Improvement_Mod_releases
push str.open
push 0
call esi
mov edx, dword [ebp - 0x28]
cmp edx, 0x10
jb 0x100b16e2
mov ecx, dword [ebp - 0x3c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100b16d8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100b16fd
push edx
push ecx
call fcn.1001f369
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
call fcn.1002d924
call fcn.1002d924
call fcn.1002d924
int3
Function at 0x100b9bb0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x102a000c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, edx
mov esi, ecx
lea eax, [ebx - 5]
cmp eax, 0x1b
ja 0x100b9c24
lea eax, [ebp - 8]
push eax
push 0x40
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x100b9c24
push ebx
push 0x90
push esi
call fcn.10022330
add esp, 0xc
mov byte [esi], 0xe9
lea eax, [ebp - 0xc]
sub edi, esi
sub edi, 5
mov dword [esi + 1], edi
push eax
push dword [ebp - 8]
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x100b9c24
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001ed23
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1001ed23
mov esp, ebp
pop ebp
ret

Function at 0x100b9d80
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x102a000c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 8]
push edi
push eax
push 0x40
mov edi, edx
mov ebx, ecx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x100b9def
xor eax, eax
test esi, esi
jle 0x100b9dc9
imul ebx, ebx, 0x7c
mov edx, dword [0x102b34c4]
mov cl, byte [edi + eax]
add edx, ebx
mov byte [edx + eax + 0x58], cl
inc eax
cmp eax, esi
jl 0x100b9db5
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x100b9def
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001ed23
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1001ed23
mov esp, ebp
pop ebp
ret