joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000dd10
Capabilities:
Allocate or change rwx memory
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x48
push esi
mov esi, dword [ebx + 8]
push edi
mov edi, ecx
test esi, esi
je 0x1000df4c
movups xmm0, xmmword [str._WN_f]
mov dword [ebp - 0x30], 0xb8909090
mov byte [ebp - 0x28], 0xba
movups xmmword [ebp - 0x40], xmm0
mov word [ebp - 0x23], 0xd2ff
psrldq xmm0, 0xf
movd eax, xmm0
mov byte [ebp - 0x21], 0xc3
test al, al
je 0x1000dece
xor edx, edx
cmp dword [0x100abbc4], 2
mov dword [ebp - 4], edx
jl 0x1000dea0
movaps xmm0, xmmword [str.7777777777777777]
xor ecx, ecx
movaps xmm4, xmmword [0x100607b0]
movaps xmm3, xmmword [0x100607f0]
movaps xmm5, xmmword [str.1111]
movaps xmmword [ebp - 0x20], xmm0
mov edx, dword [ebp - 0x20]
movd xmm0, ecx
lea eax, [ecx + 4]
pshufd xmm2, xmm0, 0
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x100607d0]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [ebp + ecx - 0x40]
xorps xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [ebp + ecx - 0x40], xmm1
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x100607d0]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [ebp + ecx - 0x3c]
xorps xmm1, xmm0
movd dword [ebp + ecx - 0x3c], xmm1
add ecx, 8
cmp ecx, 0x10
jl 0x1000dda0
jmp 0x1000dece
mov eax, 0x5397829d
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 4]
movsx eax, al
mov cl, dl
imul eax, eax, 0x31
sub cl, al
add cl, 0x37
xor byte [ebp + edx - 0x40], cl
inc edx
mov dword [ebp - 4], edx
cmp edx, 0x10
jl 0x1000dea0
mov ax, word [0x10060754]
movq xmm0, qword [0x1006074c]
movq qword [ebp - 0x1c], xmm0
mov word [ebp - 0x14], ax
test ah, ah
je 0x1000df11
xor ecx, ecx
nop dword [eax + eax]
mov eax, 0x5397829d
mul ecx
shr edx, 4
movsx eax, dl
mov dl, cl
imul eax, eax, 0x31
sub dl, al
add dl, 0x37
xor byte [ebp + ecx - 0x1c], dl
inc ecx
cmp ecx, 0xa
jl 0x1000def0
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x40
push 0x3000
push 0x10
mov eax, dword [eax]
push 0
mov dword [ebp - 0x27], eax
mov dword [ebp - 0x2c], esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [edi], eax
test eax, eax
je 0x1000df4c
movups xmm0, xmmword [ebp - 0x30]
movups xmmword [eax], xmm0
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
Function at 0x10011ee0
Capabilities:
Create thread

Disassembly:
call fcn.10001b77
push 0x100ab594
push 0x10011ff0
push dword [0x100ab3b4]
call fcn.10001bab
push 0x100ab440
push 0x1001a820
push dword [sym.imp.USER32.dll_DefWindowProcW]
call fcn.10001bab
push 0
call fcn.10001d97
push 0
push 0
push 0
push 0x10011f30
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
ret
Function at 0x1001f580
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov ecx, dword [ebp + 8]
mov dword [ebp - 0xc], 0
push ebx
push esi
push edi
mov edi, dword [0x100ab72c]
mov esi, dword [edi + 0x1a6c]
mov dword [ebp - 8], esi
test cl, 0x10
jne 0x1001f6dc
mov ebx, dword [esi + 0x114]
lea eax, [edi + 0x1aa4]
test ebx, ebx
je 0x1001f5c3
cmp dword [eax], ebx
jne 0x1001f6d3
cmp byte [edi + 0xec], 0
je 0x1001f6d3
test ebx, ebx
jne 0x1001f660
test cl, 8
je 0x1001f6d3
test byte [esi + 0x118], 1
jne 0x1001f5fe
cmp dword [eax], ebx
je 0x1001f6d3
cmp dword [edi + 0x1ad0], esi
jne 0x1001f6d3
mov ecx, dword [ebp - 8]
add esi, 0x11c
push esi
call fcn.10022ff0
mov ebx, eax
mov eax, dword [ebp - 8]
push ebx
push esi
mov dword [eax + 0x114], ebx
call fcn.10025120
mov esi, dword [ebp - 8]
mov cl, al
add esp, 8
mov byte [ebp - 1], cl
test cl, cl
je 0x1001f64a
cmp byte [edi + 0x3d8], 0
je 0x1001f64a
push esi
push ebx
call fcn.1002c840
push esi
call fcn.100228a0
mov cl, byte [ebp - 1]
add esp, 0xc
cmp dword [edi + 0x1aa4], ebx
lea eax, [edi + 0x1aa4]
jne 0x1001f6d3
mov byte [edi + 0x1ab1], cl
jmp 0x1001f667
mov byte [edi + 0x1ab1], 0
cmp dword [eax], ebx
jne 0x1001f6d3
mov ecx, dword [esi + 0xc4]
mov eax, dword [esi + 0xcc]
mov eax, dword [eax + ecx*4 - 4]
mov dword [ebp - 0xc], eax
mov eax, dword [0x100ab72c]
cmp byte [eax + 0xec], 0
jne 0x1001f690
xor al, al
jmp 0x1001f6a7
movss xmm1, dword [eax + 0x30]
movss xmm0, dword [eax + 0x444]
mulss xmm1, xmm1
comiss xmm0, xmm1
setae al
mov dword [edi + 0x1ab8], 0xffffffff
mov dword [edi + 0x1abc], 0xffffffff
mov dword [edi + 0x1ac0], 0xffffffff
mov dword [edi + 0x1ac4], 0xffffffff
test al, al
jne 0x1001f71c
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
xor esi, esi
or ebx, 0xffffffff
mov dword [ebp - 8], esi
mov al, 0x23
mov edx, 0x100a2775
or esi, 0xffffffff
nop
cmp al, 0x23
jne 0x1001f6fe
cmp byte [edx], al
jne 0x1001f6fe
cmp byte [edx + 1], al
cmove ebx, esi
movzx ecx, bl
movzx eax, al
xor ecx, eax
shr ebx, 8
mov al, byte [edx]
inc edx
xor ebx, dword [ecx*4 + 0x100a21b0]
test al, al
jne 0x1001f6f0
mov esi, dword [ebp - 8]
not ebx
cmp byte [edi + 0x1e64], 0
jne 0x1001f762
call fcn.10020a40
mov eax, dword [ebp - 0xc]
mov dword [edi + 0x1e80], eax
mov eax, dword [ebp + 8]
mov dword [edi + 0x1e7c], ebx
mov byte [edi + 0x1e64], 1
mov dword [edi + 0x1e68], eax
mov dword [edi + 0x1e70], 0
cmp ebx, dword [edi + 0x1aa4]
jne 0x1001f762
mov byte [edi + 0x1ab2], 1
mov ebx, dword [ebp + 8]
mov eax, dword [edi + 0x1a10]
mov dword [edi + 0x1e6c], eax
mov byte [edi + 0x1e65], 1
test bl, 1
jne 0x1001f7b5
push 0
push 0
call fcn.1001fab0
add esp, 8
cmp dword [edi + 0x1ecc], 0
je 0x1001f7b5
test dword [edi + 0x1ec0], 0x1000
je 0x1001f7b5
mov eax, dword [edi + 0x1a6c]
mov byte [eax + 0x87], 1
mov dword [eax + 0xa0], 1
test bl, 0x12
jne 0x1001f7c1
and dword [esi + 0x118], 0xfffffffe
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10022f20
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ecx + 0xc4]
mov eax, dword [ecx + 0xcc]
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 + 0x100a21b0]
sub edi, 1
jne 0x10022f40
mov ecx, dword [0x100ab72c]
not eax
pop edi
pop esi
cmp dword [ecx + 0x1aa4], eax
jne 0x10022f72
mov dword [ecx + 0x1aa8], eax
cmp dword [ecx + 0x1adc], eax
jne 0x10022f81
mov byte [ecx + 0x1ae0], 1
pop ebp
ret 4

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x100ab000]
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 + 0xc4]
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 + 0xcc]
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 + 0x100a21b0]
sub edi, 1
jne 0x10023064
mov eax, dword [0x100ab72c]
not edx
pop edi
pop esi
cmp dword [eax + 0x1aa4], edx
jne 0x10023095
mov dword [eax + 0x1aa8], edx
cmp dword [eax + 0x1adc], edx
jne 0x100230a4
mov byte [eax + 0x1ae0], 1
mov ecx, dword [ebp - 4]
mov eax, edx
xor ecx, ebp
call fcn.1005c7f7
mov esp, ebp
pop ebp
ret 4
Function at 0x100238a0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 0x10]
test edi, edi
je 0x100238b2
mov dword [edi], 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.100239e0
mov esi, eax
add esp, 8
test esi, esi
jne 0x100238ca
pop edi
pop esi
pop ebp
ret
push ebx
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 + 0x10], eax
cmp eax, 0xffffffff
je 0x100239c1
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 0x100239c1
push esi
call ebx
mov ebx, eax
add esp, 4
cmp ebx, 0xffffffff
je 0x100239c1
push 0
push dword [ebp + 0x10]
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x100239c1
mov eax, dword [0x100ab72c]
test eax, eax
je 0x10023930
inc dword [eax + 0x370]
push dword [0x100ab734]
mov eax, dword [ebp + 0x14]
add eax, ebx
push eax
call dword [0x100aa3a0]
add esp, 8
mov dword [ebp + 0x10], eax
test eax, eax
je 0x100239c1
push esi
push ebx
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
cmp eax, ebx
je 0x10023991
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov eax, dword [0x100ab72c]
add esp, 4
test eax, eax
je 0x10023977
dec dword [eax + 0x370]
push dword [0x100ab734]
mov eax, dword [ebp + 0x10]
push eax
call dword [0x100aa3a4]
add esp, 8
xor eax, eax
pop ebx
pop edi
pop esi
pop ebp
ret
mov eax, dword [ebp + 0x14]
test eax, eax
jle 0x100239a9
push eax
mov eax, dword [ebp + 0x10]
add eax, ebx
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
test edi, edi
je 0x100239b9
mov dword [edi], ebx
mov eax, dword [ebp + 0x10]
pop ebx
pop edi
pop esi
pop ebp
ret
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
xor eax, eax
pop ebx
pop edi
pop esi
pop ebp
ret

Function at 0x10023bf0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
not ebx
push edi
mov edi, dword [ebp + 0xc]
mov eax, ebx
test edi, edi
je 0x10023c53
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x10023c36
cmp edi, 2
jb 0x10023c36
cmp byte [esi], cl
jne 0x10023c36
cmp byte [esi + 1], cl
jne 0x10023c36
mov eax, ebx
movzx ecx, cl
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x100a21b0]
jmp 0x10023c07
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x100a21b0]
test edi, edi
jne 0x10023c07
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x10023c88
nop word [eax + eax]
cmp cl, 0x23
jne 0x10023c6f
cmp byte [esi], cl
jne 0x10023c6f
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 + 0x100a21b0]
test cl, cl
jne 0x10023c60
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
Function at 0x10023ec0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x14
xor edx, edx
push ebx
push esi
push edi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x10], edx
test esi, esi
je 0x10023ee0
cmp eax, esi
jae 0x10024058
mov cl, byte [eax]
mov byte [ebp - 3], cl
test cl, cl
je 0x10024058
movzx ecx, cl
xor ebx, ebx
shr ecx, 3
mov edx, esi
movsx ecx, byte [ecx + 0x100a25f0]
test ecx, ecx
mov dword [ebp - 0xc], ecx
sete bl
add ebx, ecx
mov dword [ebp - 0x14], ebx
test esi, esi
jne 0x10023f12
lea edx, [ebx + eax]
cmp eax, edx
lea esi, [eax + 1]
sbb cl, cl
and cl, byte [ebp - 3]
mov byte [ebp - 4], cl
cmp esi, edx
jae 0x10023f2a
mov bl, byte [esi]
mov byte [ebp - 1], bl
jmp 0x10023f2e
mov byte [ebp - 1], 0
lea esi, [eax + 2]
cmp esi, edx
jae 0x10023f39
mov ch, byte [esi]
jmp 0x10023f3b
xor ch, ch
lea ebx, [eax + 3]
mov byte [ebp - 3], ch
cmp ebx, edx
jae 0x10023f49
mov bl, byte [ebx]
jmp 0x10023f4b
xor bl, bl
movzx esi, byte [ebp - 1]
movzx edx, ch
movzx ecx, cl
movzx edi, bl
mov byte [ebp - 2], bl
mov ebx, dword [ebp - 0xc]
mov ebx, dword [ebx*4 + 0x100a2610]
and ebx, ecx
mov ecx, esi
and ecx, 0x3f
mov dword [ebp - 8], ebx
shl dword [ebp - 8], 6
and esi, 0xc0
or dword [ebp - 8], ecx
mov ecx, edx
shl dword [ebp - 8], 6
and ecx, 0x3f
or dword [ebp - 8], ecx
and edx, 0xc0
shl dword [ebp - 8], 6
mov ecx, edi
mov ebx, dword [ebp - 8]
and ecx, 0x3f
or ebx, ecx
shr edi, 2
mov ecx, dword [ebp - 0xc]
or edi, edx
shr edi, 2
or edi, esi
shr edi, 2
mov ecx, dword [ecx*4 + 0x100a2638]
shr ebx, cl
mov esi, ebx
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 0xc]
cmp esi, dword [ebx*4 + 0x100a2624]
sbb ecx, ecx
xor edx, edx
and ecx, 0x40
or edi, ecx
mov ecx, esi
and ecx, 0xfffff800
cmp ecx, 0xd800
mov ecx, 0x80
cmove edx, ecx
mov ecx, 0xffff
or edi, edx
cmp ecx, esi
sbb ecx, ecx
and ecx, 0x100
or edi, ecx
mov ecx, dword [ebx*4 + 0x100a264c]
mov ebx, dword [ebp - 0x14]
xor edi, 0x2a
sar edi, cl
test edi, edi
je 0x1002403f
xor edx, edx
cmp byte [ebp - 4], dl
setne dl
xor ecx, ecx
cmp byte [ebp - 2], cl
setne cl
add edx, ecx
xor ecx, ecx
cmp byte [ebp - 3], cl
setne cl
add edx, ecx
xor ecx, ecx
cmp byte [ebp - 1], cl
setne cl
add edx, ecx
cmp ebx, edx
cmovl edx, ebx
add eax, edx
mov edx, dword [ebp - 0x10]
inc edx
jmp 0x10023ece
add eax, ebx
test esi, esi
je 0x1002404e
mov edx, dword [ebp - 0x10]
inc edx
jmp 0x10023ece
mov eax, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, edx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100240d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 0xc]
dec eax
push ebx
mov ebx, dword [ebp + 8]
mov ecx, ebx
mov dword [ebp - 0x10], ecx
lea eax, [ebx + eax*2]
mov dword [ebp - 0x18], eax
cmp ebx, eax
mov eax, dword [ebp + 0x10]
jae 0x1002428e
push esi
mov esi, dword [ebp + 0x14]
push edi
nop dword [eax]
test esi, esi
je 0x1002410c
cmp eax, esi
jae 0x10024289
mov bl, byte [eax]
mov byte [ebp + 0xf], bl
test bl, bl
je 0x10024289
movzx ecx, bl
mov edx, esi
shr ecx, 3
xor ebx, ebx
movsx ecx, byte [ecx + 0x100a25f0]
test ecx, ecx
mov dword [ebp - 0xc], ecx
sete bl
add ebx, ecx
mov dword [ebp - 0x14], ebx
test esi, esi
jne 0x1002413e
lea edx, [ebx + eax]
cmp eax, edx
lea esi, [eax + 1]
sbb cl, cl
and cl, byte [ebp + 0xf]
mov byte [ebp - 3], cl
cmp esi, edx
jae 0x10024153
mov bh, byte [esi]
jmp 0x10024155
xor bh, bh
lea esi, [eax + 2]
mov byte [ebp - 2], bh
cmp esi, edx
jae 0x10024163
mov ch, byte [esi]
jmp 0x10024165
xor ch, ch
lea esi, [eax + 3]
mov byte [ebp - 1], ch
cmp esi, edx
jae 0x10024173
mov bl, byte [esi]
jmp 0x10024175
xor bl, bl
movzx edx, ch
movzx ecx, cl
movzx esi, bh
movzx edi, bl
mov byte [ebp + 0xf], bl
mov ebx, dword [ebp - 0xc]
mov ebx, dword [ebx*4 + 0x100a2610]
and ebx, ecx
mov ecx, esi
and ecx, 0x3f
mov dword [ebp - 8], ebx
shl dword [ebp - 8], 6
and esi, 0xc0
or dword [ebp - 8], ecx
mov ecx, edx
shl dword [ebp - 8], 6
and ecx, 0x3f
or dword [ebp - 8], ecx
and edx, 0xc0
shl dword [ebp - 8], 6
mov ecx, edi
mov ebx, dword [ebp - 8]
and ecx, 0x3f
or ebx, ecx
shr edi, 2
mov ecx, dword [ebp - 0xc]
or edi, edx
shr edi, 2
or edi, esi
shr edi, 2
mov ecx, dword [ecx*4 + 0x100a2638]
shr ebx, cl
mov esi, ebx
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 0xc]
cmp esi, dword [ebx*4 + 0x100a2624]
sbb ecx, ecx
xor edx, edx
and ecx, 0x40
or edi, ecx
mov ecx, esi
and ecx, 0xfffff800
cmp ecx, 0xd800
mov ecx, 0x80
cmove edx, ecx
mov ecx, 0xffff
or edi, edx
cmp ecx, esi
sbb ecx, ecx
and ecx, 0x100
or edi, ecx
mov ecx, dword [ebx*4 + 0x100a264c]
mov ebx, dword [ebp - 0x14]
xor edi, 0x2a
sar edi, cl
test edi, edi
je 0x10024266
xor edx, edx
mov esi, 0xfffd
cmp byte [ebp + 0xf], dl
setne dl
xor ecx, ecx
cmp byte [ebp - 1], cl
setne cl
add edx, ecx
xor ecx, ecx
cmp byte [ebp - 2], cl
setne cl
add edx, ecx
xor ecx, ecx
cmp byte [ebp - 3], cl
setne cl
add edx, ecx
cmp ebx, edx
cmovl edx, ebx
add eax, edx
jmp 0x1002426c
add eax, ebx
test esi, esi
je 0x10024286
mov ecx, dword [ebp - 0x10]
mov word [ecx], si
add ecx, 2
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0x10], ecx
cmp ecx, dword [ebp - 0x18]
jb 0x10024100
jmp 0x10024289
mov ecx, dword [ebp - 0x10]
mov ebx, dword [ebp + 8]
pop edi
pop esi
xor edx, edx
mov word [ecx], dx
mov edx, dword [ebp + 0x18]
test edx, edx
je 0x1002429c
mov dword [edx], eax
sub ecx, ebx
sar ecx, 1
mov eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10024860
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push esi
push edi
or eax, 0xffffffff
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x24], str.Window
mov cl, 0x57
mov esi, 0x100a26c5
or edi, 0xffffffff
cmp cl, 0x23
jne 0x10024892
cmp byte [esi], cl
jne 0x10024892
cmp byte [esi + 1], cl
cmove eax, edi
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
mov cl, byte [esi]
inc esi
xor eax, dword [edx*4 + 0x100a21b0]
test cl, cl
jne 0x10024883
mov esi, dword [ebp + 8]
not eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 0x1002edd0
mov dword [ebp - 0x14], 0x1002ef20
mov edi, dword [esi + 0x2ecc]
mov ecx, dword [esi + 0x2ed0]
mov dword [ebp - 0x10], 0x1002ee50
mov dword [ebp - 0xc], 0x1002ed00
mov dword [ebp - 8], 0x1002ef60
cmp edi, ecx
jne 0x10024987
inc edi
test ecx, ecx
je 0x100248fa
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x100248ff
mov eax, 8
cmp eax, edi
cmovg edi, eax
cmp edi, ecx
jle 0x10024987
mov eax, dword [0x100ab72c]
test eax, eax
je 0x10024917
inc dword [eax + 0x370]
push ebx
push dword [0x100ab734]
lea eax, [edi + edi*8]
shl eax, 2
push eax
call dword [0x100aa3a0]
mov ebx, eax
add esp, 8
mov eax, dword [esi + 0x2ed4]
test eax, eax
je 0x1002497a
mov ecx, dword [esi + 0x2ecc]
lea ecx, [ecx + ecx*8]
shl ecx, 2
push ecx
push eax
push ebx
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [esi + 0x2ed4]
add esp, 0xc
test ecx, ecx
je 0x1002496a
mov eax, dword [0x100ab72c]
test eax, eax
je 0x1002496a
dec dword [eax + 0x370]
push dword [0x100ab734]
push ecx
call dword [0x100aa3a4]
add esp, 8
mov dword [esi + 0x2ed4], ebx
mov dword [esi + 0x2ed0], edi
pop ebx
mov eax, dword [esi + 0x2ecc]
movups xmm0, xmmword [ebp - 0x24]
push esi
lea ecx, [eax + eax*8]
mov eax, dword [esi + 0x2ed4]
movups xmmword [eax + ecx*4], xmm0
movups xmm0, xmmword [ebp - 0x14]
movups xmmword [eax + ecx*4 + 0x10], xmm0
mov dword [eax + ecx*4 + 0x20], 0
inc dword [esi + 0x2ecc]
call fcn.10041eb0
add esp, 4
mov byte [esi], 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10025840
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [0x100ab72c]
cmp byte [esi + 0x2efc], 0
je 0x100258db
cmp dword [esi + 0x2f04], 0
push edi
lea edi, [esi + 0x2f08]
je 0x100258cc
mov ecx, dword [edi + 4]
test ecx, ecx
jns 0x10025886
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.1002f660
lea eax, [ebp + 0xc]
mov dword [edi], 0
push eax
push dword [ebp + 8]
mov ecx, edi
call fcn.1002f210
mov edx, dword [edi]
mov ecx, 0x100ab730
push dword [esi + 0x2f04]
lea eax, [edx - 1]
neg edx
sbb edx, edx
and edx, eax
mov eax, dword [esi + 0x2f10]
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
pop ebp
ret
lea eax, [ebp + 0xc]
mov ecx, edi
push eax
push dword [ebp + 8]
call fcn.1002f210
pop edi
pop esi
pop ebp
ret
Function at 0x10028770
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x100ab72c]
movss xmm0, dword [0x100a281c]
push ebx
mov ebx, eax
mov dword [ebp - 4], ebx
comiss xmm0, dword [ebx + 0x1cd8]
ja 0x100289d9
cmp dword [ebx + 0x1cd4], 0
push esi
push edi
jne 0x100287ed
or edx, 0xffffffff
mov al, 0x23
mov esi, 0x100a2761
or edi, 0xffffffff
nop
cmp al, 0x23
jne 0x100287be
cmp byte [esi], al
jne 0x100287be
cmp byte [esi + 1], al
cmove edx, edi
movzx ecx, dl
movzx eax, al
xor ecx, eax
shr edx, 8
mov al, byte [esi]
inc esi
xor edx, dword [ecx*4 + 0x100a21b0]
test al, al
jne 0x100287b0
not edx
push edx
call fcn.100226a0
mov dword [ebx + 0x1cd4], eax
add esp, 4
mov eax, dword [0x100ab72c]
movss xmm2, dword [ebx + 0x10]
movss xmm1, dword [ebx + 0x14]
or dword [eax + 0x1af0], 0x10
mulss xmm2, dword [0x100a2824]
mulss xmm1, dword [0x100a2824]
movss xmm3, dword [0x100a2884]
movss dword [eax + 0x1b2c], xmm2
movss dword [eax + 0x1b30], xmm1
movss dword [eax + 0x1b34], xmm3
movss dword [eax + 0x1b38], xmm3
mov dword [eax + 0x1b3c], 0
mov dword [eax + 0x1b40], 0
movss xmm2, dword [ebx + 0x10]
movss xmm1, dword [ebx + 0x14]
mov eax, dword [0x100ab72c]
mulss xmm2, dword [0x1005f334]
mulss xmm1, dword [0x1005f334]
or dword [eax + 0x1af0], 1
movss dword [eax + 0x1b00], xmm2
mov dword [eax + 0x1b08], 0x3f000000
movss dword [eax + 0x1b04], xmm1
mov dword [eax + 0x1b0c], 0x3f000000
mov dword [eax + 0x1af4], 1
lea eax, [ebp - 0xc]
movss xmm0, dword [ebx + 0x151c]
addss xmm0, xmm0
push eax
push 1
movss dword [ebp - 0xc], xmm0
movss xmm0, dword [ebx + 0x1520]
addss xmm0, xmm0
movss dword [ebp - 8], xmm0
call fcn.1002a0e0
push 0xc1347
push 0
push str.NavWindowingList
call fcn.1001d2e0
mov edi, dword [ebx + 0x1a38]
add esp, 0x14
sub edi, 1
js 0x100289c8
nop
mov eax, dword [ebx + 0x1a40]
mov esi, dword [eax + edi*4]
cmp byte [esi + 0x83], 0
je 0x100289bf
cmp esi, dword [esi + 0x318]
jne 0x100289bf
test dword [esi + 8], 0x80000
jne 0x100289bf
mov ecx, dword [esi]
mov edx, ecx
cmp ecx, 0xffffffff
jae 0x10028945
mov bl, byte [edx]
test bl, bl
je 0x1002893e
cmp bl, 0x23
jne 0x10028938
cmp byte [edx + 1], bl
je 0x1002893e
inc edx
cmp edx, 0xffffffff
jb 0x10028928
mov ebx, dword [ebp - 4]
cmp ecx, edx
jne 0x10028995
mov eax, dword [esi + 8]
test eax, 0x4000000
je 0x10028956
mov ecx, str._Popup_
jmp 0x10028995
test eax, 0x400
je 0x10028990
mov eax, str.MainMenuBar
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x10028982
test dl, dl
je 0x1002897e
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x10028982
add ecx, 2
add eax, 2
test dl, dl
jne 0x10028962
xor eax, eax
jmp 0x10028987
sbb eax, eax
or eax, 1
mov ecx, str._Main_menu_bar_
test eax, eax
je 0x10028995
mov ecx, str._Untitled_
cmp dword [ebx + 0x1ccc], esi
lea eax, [ebp - 0xc]
push eax
sete al
mov dword [ebp - 0xc], 0
push 0
movzx eax, al
push eax
push ecx
mov dword [ebp - 8], 0
call fcn.10054590
add esp, 0x10
sub edi, 1
jns 0x100288f0
call fcn.100214a0
push 1
call fcn.10029be0
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret