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

Disassembly:
push ecx
mov eax, dword [esp + 0xc]
sub eax, dword [esp + 8]
sar eax, 2
push esi
test eax, eax
je 0x4035ac
xor esi, esi
mov al, byte [esi + 0x4e63c0]
mov edx, str.Own_head
xor al, 0x73
sub al, 0x6c
xor al, 0x74
mov byte [esi + 0x4e63c0], al
call fcn.00405124
push eax
call fcn.004052e4
mov al, byte [esi + 0x4e63c0]
mov edx, str.Earth
add al, 0x4e
xor al, 0xdc
pop ecx
mov byte [esi + 0x4e63c0], al
call fcn.00405124
push eax
call fcn.004052e4
mov al, byte [esi + 0x4e63c0]
xor al, 0xac
mov dword [esp], 0x491e2c
sub al, 0x65
xor al, 0x22
sub al, 0x73
mov byte [esi + 0x4e63c0], al
call fcn.00457b1b
xor byte [esi + 0x4e63c0], al
inc esi
pop ecx
cmp esi, 0x4ac
jb 0x403539
lea ecx, [esp + 0xc]
call fcn.004047f2
pop esi
pop ecx
ret 0x14

Function at 0x403c02
Capabilities:
Set console window title

Disassembly:
push 0x14
mov eax, 0x48417c
call fcn.0042db87
and dword [ebp - 4], 0
push str.FreeConsole
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
call eax
push 1
call fcn.0042d44f
pop ecx
mov ecx, eax
call fcn.00403b90
mov dword [ebp - 0x14], eax
imul bx
shr eax, 0xb4
shl ax, 0xe4
rol esi, 0xf1
sub eax, edi
mov edx, 0xfd
dec esi
inc cx
mov cx, si
mul ecx
dec edi
mul bx
rcr ax, 0xa0
ror edi, 0x38
imul di
or ebx, 0x2e0
inc si
or ecx, 0x3dd
shl esi, 0x1b
shr eax, 0x4b
rcr eax, 0x25
mul edi
xor eax, 0x378
dec ax
add edi, 0xc7
jb 0x403ca5
test eax, 0x49
jne 0x403ce1
rcl ecx, 0x56
mul eax
dec cx
jmp 0x403cbd
sub bx, 0x264
shl ebx, 0xe7
movzx edx, di
or esi, 0x2e2
rcl edx, 0xc0
shr dx, 0x32
shr edi, 0xbd
imul di
ja 0x403ce1
and eax, 0xc8
rol si, 0x9e
mov di, 0x142
inc ebx
rol bx, 0xd6
rcr di, 0xe9
shr ax, 4
jmp 0x403cf9
dec ebx
sub eax, esi
rcl esi, 0xda
sub ax, 0x18
imul edx
dec ax
inc esi
and esi, 0x2fa
ror eax, 0x31
mov eax, 0x301
mul esi
push str.Mouse_Adapter
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleW]
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x403d28
push ecx
mov ecx, eax
call fcn.00403d4e
or dword [ebp - 4], 0xffffffff
xor eax, eax
call fcn.0042daec
ret 0x10
push 0
call dword [sym.imp.KERNEL32.dll_SwitchToFiber]
jmp 0x403d1a
Function at 0x46f025
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0046ec0c

Function at 0x46f553
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.0042e8b0
mov eax, dword [0x49b100]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.0046d3c1
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x46f595
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x46f6f1
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.004838b0
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x4e9760]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.00470ae7
mov ecx, dword [esi*4 + 0x4e9760]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x46f6ea
cmp eax, dword [edi + ecx + 0x24]
jne 0x46f6ea
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x46f6ea
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00470ae7
add esp, 0x14
test edx, edx
jl 0x46f6ea
jg 0x46f660
test eax, eax
jb 0x46f6ea
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x46f6ea
jl 0x46f67a
cmp dword [ebp - 0x1008], eax
ja 0x46f6ea
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x46f698
test ebx, ebx
je 0x46f6d1
cmp ecx, edi
jae 0x46f6d1
mov al, byte [ecx]
cmp al, 0xd
jne 0x46f6b2
lea eax, [edi - 1]
cmp ecx, eax
jae 0x46f6be
cmp byte [ecx + 1], 0xa
jne 0x46f6be
inc ecx
jmp 0x46f6be
movzx eax, al
movsx eax, byte [eax + 0x49b3c8]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x46f698
cmp edx, ebx
jne 0x46f698
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x46f6ef
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0042d338
leave
ret
Function at 0x46fc6f
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x4e9760]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x46fcaf
cmp byte [ebx], 0xa
jne 0x46fcaf
or byte [eax + edi + 0x28], 4
jmp 0x46fcb4
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x46fdb2
mov al, byte [edx]
cmp al, 0x1a
je 0x46fd94
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x46fce3
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x46fd08
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x46fd12
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x46fcc5
jmp 0x46fdb2
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x46fd8f
cmp dword [ebp - 0xc], 0
je 0x46fd8f
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x4e9760]
test byte [eax + edi + 0x28], 0x48
je 0x46fd69
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x46fd54
mov byte [esi], dl
jmp 0x46fd65
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x4e9760]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x46fdb2
cmp byte [ebp - 1], 0xa
jne 0x46fd78
cmp esi, ebx
jne 0x46fd78
mov byte [esi], 0xa
jmp 0x46fdb1
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.00470b05
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x46fdb2
mov byte [esi], 0xd
jmp 0x46fdb1
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x4e9760]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x46fdae
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x46fdb2
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x46fdbb
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x4e9760]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x46fdfe
cmp word [esi], dx
jne 0x46fdfe
or byte [edi + eax + 0x28], 4
jmp 0x46fe03
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x46ff56
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x46ff36
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x46fe45
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x46fe7b
cmp eax, edx
jae 0x46fe87
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x46fe1d
jmp 0x46ff56
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x46ff32
cmp dword [ebp - 0x14], 0
je 0x46ff32
mov eax, dword [ebx*4 + 0x4e9760]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x46ff0a
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x46fed3
mov word [esi], cx
jmp 0x46ff06
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x4e9760]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x4e9760]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x4e9760]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x46ff56
pop ebx
cmp word [ebp - 4], bx
jne 0x46ff1b
cmp esi, dword [ebp + 0xc]
jne 0x46ff1b
mov word [esi], bx
jmp 0x46ff53
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.00470b05
add esp, 0x10
cmp word [ebp - 4], bx
je 0x46ff56
push 0xd
jmp 0x46ff4f
mov ecx, dword [ebx*4 + 0x4e9760]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x46ff4d
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x46ff56
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x100090e0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, edx
not ebx
mov esi, ecx
mov eax, ebx
test edi, edi
je 0x1000912c
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x1000910f
cmp edi, 2
jb 0x1000910f
cmp byte [esi], cl
jne 0x1000910f
cmp byte [esi + 1], cl
cmove eax, ebx
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x101497c0]
test edi, edi
jne 0x100090f5
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x1000915b
cmp cl, 0x23
jne 0x10009142
cmp byte [esi], cl
jne 0x10009142
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 + 0x101497c0]
test cl, cl
jne 0x10009133
pop edi
pop esi
not eax
pop ebx
pop ebp
ret

Function at 0x10009300
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x10009314
mov dword [edi], 0
mov edx, 0x10149638
call fcn.10009170
mov esi, eax
test esi, esi
je 0x10009410
mov ebx, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
push esi
call ebx
add esp, 4
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
je 0x10009406
push 2
push 0
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x10009406
push esi
call ebx
mov ebx, eax
add esp, 4
mov dword [ebp + 8], ebx
cmp ebx, 0xffffffff
je 0x10009406
push 0
push dword [ebp - 4]
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x10009406
mov eax, dword [0x101cbe10]
test eax, eax
je 0x10009390
inc dword [eax + 0x374]
push dword [0x101cbe08]
push ebx
call fcn.10008860
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x10009406
push esi
push dword [ebp + 8]
push 1
push ebx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
push esi
cmp eax, dword [ebp + 8]
je 0x100093eb
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov eax, dword [0x101cbe10]
add esp, 4
test eax, eax
je 0x100093d3
dec dword [eax + 0x374]
push dword [0x101cbe08]
push ebx
call fcn.10008880
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
test edi, edi
je 0x100093fd
mov eax, dword [ebp + 8]
mov dword [edi], eax
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000b8f0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ecx + 0xcc]
mov eax, dword [ecx + 0xd4]
push esi
push edi
lea esi, [ebp + 8]
mov edi, 4
mov eax, dword [eax + edx*4 - 4]
not eax
nop
movzx ecx, byte [esi]
lea esi, [esi + 1]
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x101497c0]
sub edi, 1
jne 0x1000b910
mov ecx, dword [0x101cbe10]
not eax
pop edi
pop esi
cmp dword [ecx + 0x19ec], eax
jne 0x1000b942
mov dword [ecx + 0x19f0], eax
cmp dword [ecx + 0x1a20], eax
jne 0x1000b951
mov byte [ecx + 0x1a24], 1
pop ebp
ret 4

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x10155368]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
push esi
mov esi, ecx
push edi
movss xmm0, dword [edx]
mov edi, 0x10
subss xmm0, dword [esi + 0xc]
mov ecx, dword [esi + 0xcc]
cvttss2si eax, xmm0
movss xmm0, dword [edx + 4]
subss xmm0, dword [esi + 0x10]
mov dword [ebp - 0x14], eax
cvttss2si eax, xmm0
movss xmm0, dword [edx + 8]
subss xmm0, dword [esi + 0xc]
mov dword [ebp - 0x10], eax
cvttss2si eax, xmm0
movss xmm0, dword [edx + 0xc]
subss xmm0, dword [esi + 0x10]
mov dword [ebp - 0xc], eax
cvttss2si eax, xmm0
mov dword [ebp - 8], eax
mov eax, dword [esi + 0xd4]
lea esi, [ebp - 0x14]
mov edx, dword [eax + ecx*4 - 4]
not edx
movzx eax, byte [esi]
lea esi, [esi + 1]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x101497c0]
sub edi, 1
jne 0x1000b9d4
mov eax, dword [0x101cbe10]
not edx
pop edi
pop esi
cmp dword [eax + 0x19ec], edx
jne 0x1000ba05
mov dword [eax + 0x19f0], edx
cmp dword [eax + 0x1a20], edx
jne 0x1000ba14
mov byte [eax + 0x1a24], 1
mov ecx, dword [ebp - 4]
mov eax, edx
xor ecx, ebp
call fcn.100d1418
mov esp, ebp
pop ebp
ret 4
Function at 0x1000c3e0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x101cbe10]
sub esp, 0x1c
push ebx
push esi
push edi
test eax, eax
je 0x1000c3f8
inc dword [eax + 0x374]
push dword [0x101cbe08]
push 0x3b90
call fcn.10008860
add esp, 8
test eax, eax
je 0x1000c41b
push ecx
mov ecx, eax
call fcn.10007740
mov edi, eax
jmp 0x1000c41d
xor edi, edi
mov ebx, dword [0x101cbe10]
mov esi, 0x10149571
test ebx, ebx
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], str.Window
mov al, 0x57
cmove ebx, edi
or edx, 0xffffffff
mov dword [0x101cbe10], ebx
or ebx, 0xffffffff
nop dword [eax]
cmp al, 0x23
jne 0x1000c45e
cmp byte [esi], al
jne 0x1000c45e
cmp byte [esi + 1], al
cmove edx, ebx
movzx ecx, dl
movzx eax, al
xor ecx, eax
shr edx, 8
mov al, byte [esi]
inc esi
xor edx, dword [ecx*4 + 0x101497c0]
test al, al
jne 0x1000c450
mov esi, dword [edi + 0x2d48]
not edx
mov ecx, dword [edi + 0x2d4c]
mov ebx, dword [0x101cbe10]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], 0x10018d40
mov dword [ebp - 0xc], 0x10018da0
mov dword [ebp - 8], 0x10018e50
cmp esi, ecx
jne 0x1000c53f
inc esi
test ecx, ecx
je 0x1000c4bb
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1000c4c0
mov eax, 8
cmp eax, esi
cmovg esi, eax
cmp esi, ecx
jle 0x1000c53f
test ebx, ebx
je 0x1000c4d3
inc dword [ebx + 0x374]
push dword [0x101cbe08]
lea eax, [esi + esi*2]
shl eax, 3
push eax
call fcn.10008860
mov ebx, eax
add esp, 8
mov eax, dword [edi + 0x2d50]
test eax, eax
je 0x1000c533
mov ecx, dword [edi + 0x2d48]
lea ecx, [ecx + ecx*2]
shl ecx, 3
push ecx
push eax
push ebx
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [edi + 0x2d50]
add esp, 0xc
test ecx, ecx
je 0x1000c524
mov eax, dword [0x101cbe10]
test eax, eax
je 0x1000c524
dec dword [eax + 0x374]
push dword [0x101cbe08]
push ecx
call fcn.10008880
add esp, 8
mov dword [edi + 0x2d50], ebx
mov dword [edi + 0x2d4c], esi
mov eax, dword [edi + 0x2d48]
movups xmm0, xmmword [ebp - 0x18]
lea ecx, [eax + eax*2]
mov eax, dword [edi + 0x2d50]
movups xmmword [eax + ecx*8], xmm0
movq xmm0, qword [ebp - 8]
movq qword [eax + ecx*8 + 0x10], xmm0
mov eax, edi
inc dword [edi + 0x2d48]
mov byte [edi], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000eca0
Capabilities:
Hash data with crc32

Disassembly:
push ebx
mov bl, byte [ecx]
or eax, 0xffffffff
push esi
lea esi, [ecx + 1]
or ecx, 0xffffffff
push edi
test bl, bl
je 0x1000ecdf
cmp bl, 0x23
jne 0x1000ecc1
cmp byte [esi], bl
jne 0x1000ecc1
cmp byte [esi + 1], bl
cmove eax, ecx
movzx edx, al
movzx ecx, bl
mov bl, byte [esi]
xor edx, ecx
shr eax, 8
inc esi
mov ecx, 0xffffffff
xor eax, dword [edx*4 + 0x101497c0]
test bl, bl
jne 0x1000ecb2
mov ebx, dword [0x101cbe10]
not eax
mov esi, dword [ebx + 0x19a0]
mov edi, dword [ebx + 0x19a8]
mov ecx, edi
test esi, esi
je 0x1000ed24
nop dword [eax]
mov edx, esi
shr edx, 1
cmp dword [edi + edx*8], eax
lea ecx, [edi + edx*8]
jae 0x1000ed18
lea edi, [ecx + 8]
or ecx, 0xffffffff
sub ecx, edx
add esi, ecx
jmp 0x1000ed1a
mov esi, edx
test esi, esi
jne 0x1000ed00
mov ecx, dword [ebx + 0x19a8]
mov edx, dword [ebx + 0x19a0]
lea ecx, [ecx + edx*8]
cmp edi, ecx
je 0x1000ed3c
cmp dword [edi], eax
jne 0x1000ed3c
mov eax, dword [edi + 4]
pop edi
pop esi
pop ebx
ret
pop edi
pop esi
xor eax, eax
pop ebx
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x101cbe10]
lea edx, [ebp - 8]
push ebx
push esi
push edi
mov eax, dword [eax + 0x19b0]
mov esi, 4
mov ebx, dword [eax + 0xd4]
lea edi, [eax + 0xcc]
mov dword [ebp - 4], eax
mov eax, dword [edi]
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], eax
mov ebx, dword [ebx + eax*4 - 4]
not ebx
nop dword [eax]
movzx eax, byte [edx]
lea edx, [edx + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x101497c0]
sub esi, 1
jne 0x10014150
mov eax, dword [ebp - 4]
not ebx
mov ecx, dword [ebp - 0xc]
mov esi, dword [eax + 0xd0]
cmp ecx, esi
jne 0x100141a3
inc ecx
test esi, esi
je 0x1001418c
mov eax, esi
cdq
sub eax, edx
sar eax, 1
add eax, esi
jmp 0x10014191
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.10019750
mov ecx, dword [edi]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xd4]
mov dword [eax + ecx*4], ebx
inc dword [edi]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100186f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push esi
mov esi, dword [0x101cbe10]
push edi
cmp byte [esi + 0x2d60], 0
je 0x1001878f
cmp dword [esi + 0x2d68], 0
lea edi, [esi + 0x2d6c]
je 0x10018781
mov ecx, dword [edi + 4]
test ecx, ecx
jns 0x10018739
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.10019a40
lea eax, [ebp + 0xc]
mov dword [edi], 0
push eax
push dword [ebp + 8]
mov ecx, edi
call fcn.100098e0
mov edx, dword [edi]
mov ecx, 0x101cbe0c
push dword [esi + 0x2d68]
lea eax, [edx - 1]
neg edx
sbb edx, edx
and edx, eax
mov eax, dword [esi + 0x2d74]
test eax, eax
push edx
cmovne ecx, eax
push 1
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea eax, [ebp + 0xc]
mov ecx, edi
push eax
push dword [ebp + 8]
call fcn.100098e0
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10018a30
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
mov esi, edx
mov edx, dword [0x101cbe10]
mov dword [ebp - 0xc], edx
push edi
mov edi, ecx
test esi, esi
jne 0x10018a59
mov esi, edi
lea ecx, [esi + 1]
nop
mov al, byte [esi]
inc esi
test al, al
jne 0x10018a50
sub esi, ecx
test edx, edx
je 0x10018a63
inc dword [edx + 0x374]
push ebx
push dword [0x101cbe08]
lea eax, [esi + 1]
push eax
call fcn.10008860
push esi
push edi
push eax
lea ebx, [eax + esi]
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], ebx
call sub.VCRUNTIME140.dll_memcpy
mov esi, dword [ebp - 0x10]
xor edx, edx
add esp, 0x14
mov byte [ebx], 0
xor edi, edi
mov dword [ebp - 4], edx
mov ecx, esi
cmp esi, ebx
jae 0x10018bfc
nop
mov al, byte [ecx]
cmp al, 0xa
je 0x10018c2f
cmp al, 0xd
je 0x10018c2f
mov esi, ecx
cmp ecx, ebx
jae 0x10018ac7
mov al, byte [esi]
cmp al, 0xa
je 0x10018ac7
cmp al, 0xd
je 0x10018ac7
inc esi
cmp esi, ebx
jb 0x10018ab8
mov byte [esi], 0
mov al, byte [ecx]
cmp al, 0x3b
je 0x10018bee
cmp al, 0x5b
jne 0x10018bcd
cmp esi, ecx
jbe 0x10018bcd
cmp byte [esi - 1], 0x5d
lea ebx, [esi - 1]
jne 0x10018bca
inc ecx
mov byte [ebx], 0
mov eax, ebx
mov dword [ebp - 0x18], ecx
sub eax, ecx
push eax
push 0x5d
push ecx
call sub.VCRUNTIME140.dll_memchr
add esp, 0xc
mov dword [ebp - 0x14], eax
test eax, eax
je 0x10018be8
lea ecx, [eax + 1]
sub ebx, ecx
push ebx
push 0x5b
push ecx
call sub.VCRUNTIME140.dll_memchr
mov ecx, eax
add esp, 0xc
test ecx, ecx
je 0x10018be8
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x18]
mov ebx, dword [0x101cbe10]
mov byte [eax], 0
lea eax, [ecx + 1]
mov cl, byte [edi]
inc edi
mov dword [ebp - 0x14], eax
or eax, 0xffffffff
test cl, cl
je 0x10018b7e
or ebx, 0xffffffff
cmp cl, 0x23
jne 0x10018b5f
cmp byte [edi], cl
jne 0x10018b5f
cmp byte [edi + 1], cl
cmove eax, ebx
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
mov cl, byte [edi]
inc edi
xor eax, dword [edx*4 + 0x101497c0]
test cl, cl
jne 0x10018b50
mov ebx, dword [0x101cbe10]
mov edi, dword [ebx + 0x2d48]
xor ecx, ecx
not eax
test edi, edi
jle 0x10018ba1
mov ebx, dword [ebx + 0x2d50]
lea edx, [ebx + 4]
cmp dword [edx], eax
je 0x10018baa
inc ecx
add edx, 0x18
cmp ecx, edi
jl 0x10018b95
xor edi, edi
xor edx, edx
mov dword [ebp - 4], edx
jmp 0x10018beb
lea eax, [ecx + ecx*2]
lea edi, [ebx + eax*8]
test edi, edi
je 0x10018ba3
push dword [ebp - 0x14]
mov eax, dword [edi + 8]
push edi
push dword [ebp - 0xc]
call eax
mov edx, eax
add esp, 0xc
mov dword [ebp - 4], edx
jmp 0x10018beb
mov ebx, dword [ebp - 8]
test edi, edi
je 0x10018bee
test edx, edx
je 0x10018bee
mov eax, dword [edi + 0xc]
push ecx
push edx
push edi
push dword [ebp - 0xc]
call eax
mov edx, dword [ebp - 4]
add esp, 0x10
jmp 0x10018bee
mov edx, dword [ebp - 4]
mov ebx, dword [ebp - 8]
lea ecx, [esi + 1]
cmp ecx, ebx
jb 0x10018aa0
mov esi, dword [ebp - 0x10]
pop ebx
test esi, esi
je 0x10018c10
mov eax, dword [0x101cbe10]
test eax, eax
je 0x10018c10
dec dword [eax + 0x374]
push dword [0x101cbe08]
push esi
call fcn.10008880
mov eax, dword [ebp - 0xc]
add esp, 8
pop edi
mov byte [eax + 0x2d34], 1
pop esi
mov esp, ebp
pop ebp
ret
inc ecx
jmp 0x10018aa0
Function at 0x10018c40
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, dword [0x101cbe10]
mov eax, ecx
mov dword [ebp - 8], eax
push edi
mov dword [esi + 0x2d38], 0
test eax, eax
je 0x10018d38
lea edi, [esi + 0x2d3c]
mov dword [esi + 0x2d38], 0
mov ecx, dword [edi + 4]
test ecx, ecx
jns 0x10018c95
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.10019a40
xor ecx, ecx
mov dword [edi], 0
cmp dword [edi + 4], ecx
jne 0x10018cad
push 8
mov ecx, edi
call fcn.10019a40
mov ecx, dword [edi]
mov eax, dword [edi + 8]
mov dword [ebp - 4], 0
mov byte [ecx + eax], 0
inc dword [edi]
cmp dword [esi + 0x2d48], 0
mov ebx, dword [edi]
jle 0x10018cf7
xor ebx, ebx
nop word [eax + eax]
mov eax, dword [esi + 0x2d50]
add eax, ebx
push edi
push eax
push esi
mov eax, dword [eax + 0x10]
call eax
mov eax, dword [ebp - 4]
add esp, 0xc
inc eax
add ebx, 0x18
mov dword [ebp - 4], eax
cmp eax, dword [esi + 0x2d48]
jl 0x10018cd0
mov ebx, dword [edi]
mov ecx, dword [ebp - 8]
lea eax, [ebx - 1]
neg ebx
mov edi, 0x101cbe0c
mov edx, 0x1014963c
sbb ebx, ebx
and ebx, eax
mov eax, dword [esi + 0x2d44]
test eax, eax
cmovne edi, eax
call fcn.10009170
mov esi, eax
test esi, esi
je 0x10018d38
push esi
push ebx
push 1
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 0x14
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret