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

Disassembly:
push ebp
push esi
mov esi, dword [esp + 0xc]
push edi
xor ebp, ebp
xor edi, edi
mov eax, dword [esi + 0x6af90]
mov dword [esi + 0x6af80], 2
test eax, eax
je 0x4075c7
push ebx
mov ebx, 0x7fff
cmp eax, 3
jb 0x407425
mov ecx, dword [esi + 0x6af84]
mov edx, dword [esi + 0x6af7c]
and edx, 0x3ff
movzx eax, byte [ecx + esi + 0x1af72]
and eax, ebx
shl edx, 5
xor eax, edx
and ecx, ebx
mov dword [esi + 0x6af7c], eax
mov ebp, dword [esi + eax*4 + 0x4af70]
mov dword [esi + ecx*4 + 0x2af70], ebp
mov eax, dword [esi + 0x6af7c]
mov ecx, dword [esi + 0x6af84]
mov dword [esi + eax*4 + 0x4af70], ecx
test ebp, ebp
je 0x407461
mov eax, dword [esi + 0x6af84]
sub eax, ebp
cmp eax, 0x7efa
ja 0x407461
mov ecx, dword [esi + 0x6af90]
lea eax, [esi + 0x6afa0]
cmp dword [eax], ecx
jbe 0x40744a
mov dword [eax], ecx
push ebp
push esi
call fcn.004070bf
mov edi, eax
mov eax, dword [esi + 0x6af90]
pop ecx
cmp edi, eax
pop ecx
jbe 0x407461
mov edi, eax
cmp edi, 3
jb 0x40753e
lea eax, [edi - 3]
push eax
mov eax, dword [esi + 0x6af84]
sub eax, dword [esi + 0x6af88]
push eax
push esi
call fcn.004068f7
sub dword [esi + 0x6af90], edi
add esp, 0xc
cmp edi, dword [esi + 0x6af98]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x6af90]
ja 0x4074f7
cmp eax, 3
jb 0x4074f7
dec edi
inc dword [esi + 0x6af84]
mov ecx, dword [esi + 0x6af84]
mov edx, dword [esi + 0x6af7c]
movzx eax, byte [esi + ecx + 0x1af72]
and edx, 0x3ff
and eax, ebx
shl edx, 5
xor eax, edx
and ecx, ebx
mov dword [esi + 0x6af7c], eax
dec edi
mov ebp, dword [esi + eax*4 + 0x4af70]
mov dword [esi + ecx*4 + 0x2af70], ebp
mov eax, dword [esi + 0x6af7c]
mov ecx, dword [esi + 0x6af84]
mov dword [esi + eax*4 + 0x4af70], ecx
jne 0x4074a2
jmp 0x407562
add dword [esi + 0x6af84], edi
mov eax, dword [esi + 0x6af84]
lea edx, [esi + 0x6af7c]
push str.Call_UPDATE_HASH___MIN_MATCH_3_more_times
lea ecx, [eax + esi]
push 1
push esi
xor edi, edi
movzx eax, byte [ecx + 0x1af70]
mov dword [edx], eax
and eax, 0x3ff
movzx ecx, byte [ecx + 0x1af71]
and ecx, ebx
shl eax, 5
xor ecx, eax
mov dword [edx], ecx
call fcn.00405b22
add esp, 0xc
jmp 0x407568
mov eax, dword [esi + 0x6af84]
movzx eax, byte [eax + esi + 0x1af70]
push eax
push 0
push esi
call fcn.004068f7
add esp, 0xc
dec dword [esi + 0x6af90]
mov dword [esp + 0x14], eax
inc dword [esi + 0x6af84]
cmp dword [esp + 0x14], 0
je 0x4075a5
mov eax, dword [esi + 0x6af74]
test eax, eax
jl 0x407582
lea ecx, [eax + esi + 0x1af70]
jmp 0x407584
xor ecx, ecx
mov edx, dword [esi + 0x6af84]
push 0
sub edx, eax
push edx
push ecx
push esi
call fcn.004066ef
mov eax, dword [esi + 0x6af84]
add esp, 0x10
mov dword [esi + 0x6af74], eax
cmp dword [esi + 0x6af90], 0x106
jae 0x4075b8
push esi
call fcn.00407282
pop ecx
mov eax, dword [esi + 0x6af90]
test eax, eax
jne 0x4073d6
pop ebx
mov eax, dword [esi + 0x6af74]
test eax, eax
jl 0x4075da
lea ecx, [eax + esi + 0x1af70]
jmp 0x4075dc
xor ecx, ecx
mov edx, dword [esi + 0x6af84]
push 1
sub edx, eax
push edx
push ecx
push esi
call fcn.004066ef
add esp, 0x10
pop edi
pop esi
pop ebp
ret
Function at 0x40811f
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x40812d
xor eax, eax
pop ebp
ret
mov eax, dword [ebp + 8]
cmp dword [ebp + 0x10], 8
push esi
push edi
not eax
mov ecx, 0xff
jb 0x40820e
mov edi, dword [ebp + 0x10]
push ebx
shr edi, 3
movzx ebx, byte [edx]
mov esi, eax
sub dword [ebp + 0x10], 8
and esi, ecx
xor esi, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [esi*4 + 0x40ef68]
xor eax, ebx
inc edx
mov esi, eax
movzx ebx, byte [edx]
and esi, ecx
xor esi, ebx
movzx ebx, byte [edx + 1]
mov esi, dword [esi*4 + 0x40ef68]
shr eax, 8
xor esi, eax
inc edx
mov eax, esi
and eax, ecx
xor eax, ebx
movzx ebx, byte [edx + 1]
mov eax, dword [eax*4 + 0x40ef68]
shr esi, 8
xor eax, esi
inc edx
mov esi, eax
and esi, ecx
xor esi, ebx
movzx ebx, byte [edx + 1]
mov esi, dword [esi*4 + 0x40ef68]
shr eax, 8
xor esi, eax
inc edx
mov eax, esi
and eax, ecx
xor eax, ebx
movzx ebx, byte [edx + 1]
mov eax, dword [eax*4 + 0x40ef68]
shr esi, 8
xor eax, esi
inc edx
mov esi, eax
and esi, ecx
xor esi, ebx
movzx ebx, byte [edx + 1]
mov esi, dword [esi*4 + 0x40ef68]
shr eax, 8
xor esi, eax
inc edx
mov eax, esi
and eax, ecx
xor eax, ebx
movzx ebx, byte [edx + 1]
mov eax, dword [eax*4 + 0x40ef68]
shr esi, 8
xor eax, esi
inc edx
mov esi, eax
and esi, ecx
xor esi, ebx
shr eax, 8
mov esi, dword [esi*4 + 0x40ef68]
xor eax, esi
inc edx
dec edi
jne 0x40814a
pop ebx
cmp dword [ebp + 0x10], 0
je 0x40822f
movzx edi, byte [edx]
mov esi, eax
and esi, ecx
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x40ef68]
xor eax, esi
inc edx
dec dword [ebp + 0x10]
jne 0x408214
pop edi
pop esi
not eax
pop ebp
ret

Function at 0x408235
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 4]
push esi
push edi
mov edx, 0xff
mov esi, dword [ecx]
movzx edi, byte [esp + 0x10]
mov eax, esi
and eax, edx
xor eax, edi
shr esi, 8
mov eax, dword [eax*4 + 0x40ef68]
xor eax, esi
mov esi, dword [ecx + 8]
mov dword [ecx], eax
and eax, edx
add eax, dword [ecx + 4]
mov edi, esi
and edi, edx
imul eax, eax, 0x8088405
inc eax
mov dword [ecx + 4], eax
shr eax, 0x18
xor eax, edi
pop edi
shr esi, 8
mov eax, dword [eax*4 + 0x40ef68]
xor eax, esi
pop esi
mov dword [ecx + 8], eax
ret
Function at 0x4083f0
Capabilities:
Get file size
Parse pe header
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x4c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
test eax, eax
jne 0x408413
mov eax, 0x200
jmp 0x408588
mov ecx, dword [ebp - 0x4c]
push ebx
push esi
push 1
mov edx, ecx
pop eax
xor ebx, ebx
and edx, eax
mov dword [ebp - 8], ebx
je 0x408429
mov dword [ebp - 8], eax
test cl, 2
je 0x408432
or dword [ebp - 8], 2
test cl, 4
je 0x40843b
or dword [ebp - 8], 4
mov eax, ecx
and eax, 0x10
je 0x408446
or dword [ebp - 8], 0x10
test cl, 0x20
je 0x40844f
or dword [ebp - 8], 0x20
cmp eax, ebx
je 0x408459
or byte [ebp - 5], 0x40
jmp 0x40845d
or byte [ebp - 5], 0x80
or byte [ebp - 5], 1
cmp edx, ebx
jne 0x408469
or byte [ebp - 6], 0x80
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0x28
mov dword [ebp - 0x10], eax
jbe 0x408504
mov esi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push ebx
push ebx
push ebx
push edi
call esi
lea eax, [ebp - 0xc]
push ebx
push eax
lea eax, [ebp - 2]
push 2
push eax
push edi
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
call edi
push ebx
push ebx
push 0x24
push dword [ebp + 8]
call esi
lea eax, [ebp - 0xc]
push ebx
push eax
lea eax, [ebp - 0x14]
push 4
push eax
push dword [ebp + 8]
call edi
cmp word [ebp - 2], 0x54ad
jne 0x408504
mov eax, dword [ebp - 0x14]
lea ecx, [eax + 0x34]
cmp dword [ebp - 0x10], ecx
jbe 0x408504
push ebx
push ebx
push eax
push dword [ebp + 8]
call esi
lea eax, [ebp - 0xc]
push ebx
push eax
lea eax, [ebp - 0x18]
push 4
push eax
push dword [ebp + 8]
call edi
mov eax, dword [ebp - 0x18]
cmp eax, 0x5a4d
je 0x408500
cmp eax, 0x454e
je 0x408500
cmp eax, 0x454c
je 0x408500
cmp eax, 0x4550
jne 0x408504
or byte [ebp - 6], 0x40
mov eax, dword [ebp + 0xc]
cmp eax, ebx
je 0x408510
mov ecx, dword [ebp - 8]
mov dword [eax], ecx
mov eax, dword [ebp + 0x10]
cmp eax, ebx
je 0x40851c
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
mov esi, dword [ebp + 0x14]
cmp esi, ebx
je 0x408558
push dword [ebp - 0x3c]
push dword [ebp - 0x40]
call fcn.00408371
push dword [ebp - 0x34]
mov dword [esi], eax
mov dword [esi + 4], edx
push dword [ebp - 0x38]
call fcn.00408371
push dword [ebp - 0x44]
mov dword [esi + 8], eax
mov dword [esi + 0xc], edx
push dword [ebp - 0x48]
call fcn.00408371
mov dword [esi + 0x10], eax
add esp, 0x18
mov dword [esi + 0x14], edx
mov esi, dword [ebp + 0x18]
cmp esi, ebx
je 0x408584
lea eax, [ebp + 0xe]
push eax
lea eax, [ebp + 0xa]
push eax
push dword [ebp - 0x34]
push dword [ebp - 0x38]
call fcn.00408393
movzx eax, word [ebp + 0xa]
movzx ecx, word [ebp + 0xe]
shl eax, 0x10
add esp, 0x10
or eax, ecx
mov dword [esi], eax
pop esi
xor eax, eax
pop ebx
pop edi
leave
ret
Function at 0x4086fe
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 0xc]
cmp byte [esi + 0x2d], 0
je 0x408772
mov eax, dword [esi + 0x3c]
xor ebx, ebx
cmp eax, ebx
je 0x40872a
cmp dword [esi + 0x40], edi
jae 0x40872a
push eax
call sub.MFC42.DLL_operatordelete
pop ecx
mov dword [esi + 0x3c], ebx
cmp dword [esi + 0x3c], ebx
jne 0x40873f
lea eax, [edi + edi]
push eax
call sub.MFC42.DLL_operatornew
pop ecx
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], edi
push edi
push dword [ebp + 8]
push dword [esi + 0x3c]
call sub.MSVCRT.dll_memcpy
add esp, 0xc
test edi, edi
jbe 0x40876f
mov eax, dword [esi + 0x3c]
mov al, byte [ebx + eax]
push eax
lea eax, [esi + 0x30]
push eax
call fcn.004082a3
pop ecx
pop ecx
mov ecx, dword [esi + 0x3c]
mov byte [ebx + ecx], al
inc ebx
cmp ebx, edi
jb 0x408752
mov edx, dword [esi + 0x3c]
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x4087a1
mov eax, dword [esi + 0x24]
lea ebx, [eax + edi]
cmp ebx, dword [esi + 0x28]
jb 0x40878d
mov dword [esi + 0x14], 0x30000
jmp 0x4087c3
push edi
add eax, ecx
push edx
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
add dword [esi + 0x24], edi
mov eax, edi
jmp 0x4087c5
mov eax, dword [esi + 4]
test eax, eax
je 0x4087bc
lea ecx, [ebp + 8]
push 0
push ecx
push edi
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp + 8]
jmp 0x4087c5
mov dword [esi + 0x14], 0x1000000
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x408b80
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
mov ecx, dword [esi + 0x84]
test ecx, ecx
je 0x408bd6
mov eax, dword [esi + 0x8c]
mov edi, dword [esi + 0x88]
cmp eax, edi
jae 0x408c18
sub edi, eax
cmp edi, dword [ebp + 0xc]
jbe 0x408bab
mov edi, dword [ebp + 0xc]
add eax, ecx
push edi
push eax
push dword [ebp + 8]
call sub.MSVCRT.dll_memcpy
add dword [esi + 0x8c], edi
add dword [esi + 0x74], edi
push edi
push dword [ebp + 8]
push dword [esi + 0x78]
call fcn.0040811f
mov dword [esi + 0x78], eax
add esp, 0x18
mov eax, edi
jmp 0x408c1a
mov eax, dword [esi + 0x7c]
test eax, eax
je 0x408c11
lea ecx, [ebp + 0xc]
push 0
push ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x408c18
mov eax, dword [ebp + 0xc]
add dword [esi + 0x74], eax
push eax
push dword [ebp + 8]
push dword [esi + 0x78]
call fcn.0040811f
mov dword [esi + 0x78], eax
mov eax, dword [ebp + 0xc]
add esp, 0xc
jmp 0x408c1a
mov dword [esi + 0x14], 0x1000000
xor eax, eax
pop edi
pop esi
pop ebp
ret 8
Function at 0x40ad51
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov eax, 0x40ce6c
call fcn.0040c6c0
sub esp, 0x30
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
nop
mov byte [ebp - 0x2c], 0x4b
mov byte [ebp - 0x2b], 0x45
mov byte [ebp - 0x2a], 0x52
mov byte [ebp - 0x29], 0x4e
mov byte [ebp - 0x28], 0x45
mov byte [ebp - 0x27], 0x4c
mov byte [ebp - 0x26], 0x33
mov byte [ebp - 0x25], 0x32
mov byte [ebp - 0x24], 0x2e
mov byte [ebp - 0x23], 0x64
mov byte [ebp - 0x22], 0x6c
mov byte [ebp - 0x21], 0x6c
mov byte [ebp - 0x20], 5
nop
push str.HeapFree
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
and dword [ebp - 4], 0
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x14]
push 0x410098
push eax
mov byte [ebp - 0x3c], 0x47
mov byte [ebp - 0x3b], 0x65
mov byte [ebp - 0x3a], 0x74
mov byte [ebp - 0x39], 0x50
mov byte [ebp - 0x38], 0x72
mov byte [ebp - 0x37], 0x6f
mov byte [ebp - 0x36], 0x63
mov byte [ebp - 0x35], 0x65
mov byte [ebp - 0x34], 0x73
mov byte [ebp - 0x33], 0x73
mov byte [ebp - 0x32], 0x48
mov byte [ebp - 0x31], 0x65
mov byte [ebp - 0x30], 0x61
mov byte [ebp - 0x2f], 0x70
mov byte [ebp - 0x2e], 5
mov dword [ebp - 0x14], 0x25
call sub.MSVCRT.dll__CxxThrowException
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov eax, 0x40ae24
ret
Function at 0x1971360
Capabilities:
Encode data using xor

Disassembly:
mov al, byte [ecx]
mov byte [edi], al
mov al, byte [ecx]
push esi
xor esi, esi
test al, al
je 0x1971387
mov edx, edi
sub edx, ecx
push ebx
mov al, byte [ecx + 1]
mov bl, byte [edx + ecx]
inc esi
inc ecx
dec al
xor al, bl
mov byte [edx + ecx], al
cmp byte [ecx], 0
jne 0x1971372
pop ebx
mov byte [esi + edi], 0
mov eax, edi
pop esi
ret

Function at 0x1971390
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, dword [esp + 0xc]
push esi
push edi
push 0x25
call fcn.01971070
mov cl, byte [eax]
mov byte [ebx], cl
mov cl, byte [eax]
add esp, 4
xor edi, edi
test cl, cl
je 0x19713c5
mov esi, ebx
sub esi, eax
mov dl, byte [eax + 1]
mov cl, byte [esi + eax]
inc edi
inc eax
dec dl
xor dl, cl
mov byte [esi + eax], dl
cmp byte [eax], 0
jne 0x19713b1
mov eax, ebx
mov byte [edi + ebx], 0
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x19713d0
sub eax, edx
mov byte [eax + ebx], 0x3a
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x19713e2
sub eax, edx
mov byte [eax + ebx], 0x20
mov eax, dword [esp + 0x10]
mov esi, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x19713f5
mov edi, ebx
sub eax, esi
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x1971401
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
mov eax, ebx
rep movsb byte es:[edi], byte [esi]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1971420
sub eax, edx
test ebp, ebp
mov byte [eax + ebx], 0x28
je 0x1971459
mov eax, ebp
mov edx, ebp
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1971435
mov edi, ebx
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x1971441
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
mov eax, ebx
pop esi
lea edx, [eax + 1]
pop ebp
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1971461
sub eax, edx
mov byte [eax + ebx], 0x29
ret

Function at 0x19717c0
Capabilities:
Enumerate pe sections

Disassembly:
mov edx, dword [ecx + 0x3c]
movzx eax, word [edx + ecx + 0x14]
add eax, edx
lea eax, [eax + ecx + 0x18]
movzx ecx, word [edx + ecx + 6]
lea ecx, [ecx + ecx*4]
push esi
lea esi, [eax + ecx*8]
cmp eax, esi
jae 0x19717fe
mov edi, edi
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x19717ea
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp edx, edi
ja 0x19717f7
add edx, ecx
cmp edi, edx
jb 0x1971800
add eax, 0x28
cmp eax, esi
jb 0x19717e0
xor eax, eax
pop esi
ret
Function at 0x1971e60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x114
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, dword [edi]
push 0
push 0
mov ebx, eax
lea eax, [esp + 0x14]
push eax
push 0x400
push ebx
push 0
push 0x1300
call dword [esi + 0x7c]
test eax, eax
je 0x1971eba
mov ecx, dword [edi + 4]
mov edx, dword [ebp + 0xc]
mov eax, dword [ecx]
mov ecx, dword [esp + 0xc]
push 0x10
push edx
push ecx
push 0
call eax
mov edx, dword [esp + 0xc]
push edx
mov edi, eax
call dword [esi + 0x34]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov ecx, 0x40
lea edi, [esp + 0x20]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], eax
mov eax, ebx
mov esi, ecx
nop
xor edx, edx
mov edi, 0x10
div edi
cmp edx, 9
jbe 0x1971ef3
add dl, 0x57
jmp 0x1971ef6
add dl, 0x30
mov byte [ecx], dl
inc ecx
test eax, eax
ja 0x1971ee0
mov byte [ecx], 0
dec ecx
mov dl, byte [esi]
mov al, byte [ecx]
mov byte [ecx], dl
dec ecx
mov byte [esi], al
inc esi
cmp esi, ecx
jb 0x1971f01
push 0x22
call fcn.01971070
mov cl, byte [eax]
mov byte [esp + 0x24], cl
mov cl, byte [eax]
add esp, 4
xor esi, esi
test cl, cl
je 0x1971f44
lea ecx, [esp + 0x20]
sub ecx, eax
lea ecx, [ecx]
mov dl, byte [eax + 1]
mov bl, byte [ecx + eax]
inc esi
inc eax
dec dl
xor dl, bl
mov byte [ecx + eax], dl
cmp byte [eax], 0
jne 0x1971f30
lea eax, [esp + 0x20]
mov byte [esp + esi + 0x20], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1971f50
sub eax, edx
mov byte [esp + eax + 0x20], 0x28
lea eax, [esp + 0x20]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1971f65
sub eax, edx
mov byte [esp + eax + 0x20], 0x29
lea eax, [esp + 0x20]
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1971f80
sub eax, edx
mov bl, 0x20
mov byte [esp + eax + 0x20], bl
lea eax, [esp + 0x20]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1971f96
sub eax, edx
mov byte [esp + eax + 0x20], 0x3d
lea eax, [esp + 0x20]
lea edx, [eax + 1]
jmp 0x1971fb0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1971fb0
sub eax, edx
mov byte [esp + eax + 0x20], bl
lea eax, [esp + 0x20]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1971fc4
sub eax, edx
mov byte [esp + eax + 0x20], 0x30
lea eax, [esp + 0x20]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1971fe0
sub eax, edx
mov byte [esp + eax + 0x20], 0x78
lea eax, [esp + 0x10]
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1971ff4
lea edi, [esp + 0x20]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x1972002
mov ecx, eax
shr ecx, 2
mov esi, edx
mov edx, dword [ebp + 0xc]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [ebp + 8]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [eax + 4]
mov eax, dword [ecx]
push 0x10
push edx
lea ecx, [esp + 0x28]
push ecx
push 0
call eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1972040
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x114
push ebx
push esi
push edi
xor eax, eax
mov ecx, 0x3f
lea edi, [esp + 0x20]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x14
stosb byte es:[edi], al
call fcn.01971070
mov cl, byte [eax]
add esp, 4
xor edi, edi
test cl, cl
mov byte [esp + 0xc], cl
je 0x1972095
lea esi, [esp + 0xc]
sub esi, eax
jmp 0x1972080
mov cl, byte [eax + 1]
mov bl, byte [esi + eax]
inc edi
inc eax
mov dl, cl
dec dl
xor dl, bl
test cl, cl
mov byte [esi + eax], dl
jne 0x1972080
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [esp + 0x10]
push ecx
lea ebx, [esp + 0x28]
mov byte [esp + edi + 0x14], 0
call fcn.01971390
mov eax, dword [ebp + 8]
mov edx, ebx
push edx
push eax
mov eax, dword [ebp + 0xc]
call fcn.01971e60
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x19720d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x114
push ebx
push esi
push edi
xor eax, eax
mov ecx, 0x3f
lea edi, [esp + 0x20]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 7
stosb byte es:[edi], al
call fcn.01971070
mov cl, byte [eax]
xor ebx, ebx
add esp, 4
xor edi, edi
cmp cl, bl
mov byte [esp + 0xc], cl
je 0x1972124
lea esi, [esp + 0xc]
sub esi, eax
lea ecx, [ecx]
mov cl, byte [eax + 1]
inc edi
inc eax
mov dl, cl
dec dl
xor dl, byte [esi + eax - 1]
cmp cl, bl
mov byte [esi + eax], dl
jne 0x1972110
lea eax, [esp + 0xc]
mov byte [esp + edi + 0xc], bl
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x1972130
sub eax, edx
mov byte [esp + eax + 0xb], bl
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [esp + 0x10]
push ecx
lea ebx, [esp + 0x28]
call fcn.01971390
mov eax, dword [ebp + 8]
mov edx, ebx
push edx
push eax
mov eax, dword [ebp + 0xc]
call fcn.01971e60
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1972170
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x114
push ebx
push esi
push edi
xor eax, eax
mov ecx, 0x3f
lea edi, [esp + 0x20]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 8
stosb byte es:[edi], al
call fcn.01971070
mov cl, byte [eax]
add esp, 4
xor edi, edi
test cl, cl
mov byte [esp + 0xc], cl
je 0x19721c5
lea esi, [esp + 0xc]
sub esi, eax
jmp 0x19721b0
mov cl, byte [eax + 1]
mov bl, byte [esi + eax]
inc edi
inc eax
mov dl, cl
dec dl
xor dl, bl
test cl, cl
mov byte [esi + eax], dl
jne 0x19721b0
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [esp + 0x10]
push ecx
lea ebx, [esp + 0x28]
mov byte [esp + edi + 0x14], 0
call fcn.01971390
mov eax, dword [ebp + 8]
mov edx, ebx
push edx
push eax
mov eax, dword [ebp + 0xc]
call fcn.01971e60
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1972200
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x114
push ebx
push esi
push edi
xor eax, eax
mov ecx, 0x3f
lea edi, [esp + 0x20]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 9
stosb byte es:[edi], al
call fcn.01971070
mov cl, byte [eax]
add esp, 4
xor edi, edi
test cl, cl
mov byte [esp + 0xc], cl
je 0x1972255
lea esi, [esp + 0xc]
sub esi, eax
jmp 0x1972240
mov cl, byte [eax + 1]
mov bl, byte [esi + eax]
inc edi
inc eax
mov dl, cl
dec dl
xor dl, bl
test cl, cl
mov byte [esi + eax], dl
jne 0x1972240
lea eax, [esp + 0xc]
push 0
push eax
lea ebx, [esp + 0x28]
mov byte [esp + edi + 0x14], 0
call fcn.01971390
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov ecx, ebx
push ecx
push edx
call fcn.01971e60
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1972290
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x12c
push ebx
push esi
push edi
xor eax, eax
mov ecx, 0x46
lea edi, [esp + 0x20]
push 0x27
rep stosd dword es:[edi], eax
call fcn.01971070
mov cl, byte [eax]
xor ebx, ebx
add esp, 4
xor edi, edi
cmp cl, bl
mov byte [esp + 0xc], cl
je 0x19722e4
lea esi, [esp + 0xc]
sub esi, eax
lea ebx, [ebx]
mov cl, byte [eax + 1]
inc edi
inc eax
mov dl, cl
dec dl
xor dl, byte [esi + eax - 1]
cmp cl, bl
mov byte [esi + eax], dl
jne 0x19722d0
lea eax, [esp + 0xc]
mov byte [esp + edi + 0xc], bl
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x19722f0
sub eax, edx
mov byte [esp + eax + 0xb], bl
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [esp + 0x10]
push ecx
lea ebx, [esp + 0x28]
call fcn.01971390
mov eax, dword [ebp + 8]
mov edx, ebx
push edx
push eax
mov eax, dword [ebp + 0xc]
call fcn.01971e60
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1972330
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x114
push ebx
push esi
push edi
xor eax, eax
mov ecx, 0x3f
lea edi, [esp + 0x20]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x26
stosb byte es:[edi], al
call fcn.01971070
mov cl, byte [eax]
add esp, 4
xor edi, edi
test cl, cl
mov byte [esp + 0xc], cl
je 0x1972385
lea esi, [esp + 0xc]
sub esi, eax
jmp 0x1972370
mov cl, byte [eax + 1]
mov bl, byte [esi + eax]
inc edi
inc eax
mov dl, cl
dec dl
xor dl, bl
test cl, cl
mov byte [esi + eax], dl
jne 0x1972370
lea eax, [esp + 0xc]
push 0
push eax
lea ebx, [esp + 0x28]
mov byte [esp + edi + 0x14], 0
call fcn.01971390
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov ecx, ebx
push ecx
push edx
call fcn.01971e60
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret