joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1003ff1
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
or ecx, 0xffffffff
sub ecx, dword [ebp + 0x10]
test edx, edx
je 0x1004020
mov eax, dword [ebp + 8]
push esi
push edi
movzx esi, byte [eax]
movzx edi, cl
xor esi, edi
shr ecx, 8
xor ecx, dword [esi*4 + 0x1015020]
inc eax
dec edx
jne 0x1004008
pop edi
pop esi
or eax, 0xffffffff
sub eax, ecx
pop ebp
ret 0xc

Function at 0x100699e
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
xor ebx, ebx
mov esi, 0x1000
push esi
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [edi], ebx
call dword [sym.imp.msvcrt.dll_malloc]
cmp eax, ebx
pop ecx
mov dword [ebp + 0xc], eax
jne 0x10069e9
push dword [ebp + 8]
push 0x1001850
push 0x10023e0
push dword [ebp + 0x10]
call fcn.01008d19
add esp, 0x10
xor eax, eax
jmp 0x1006a72
lea eax, [ebp - 0xc]
push eax
push 0x8000
push dword [ebp + 8]
call dword [sym.imp.msvcrt.dll__open]
mov ebx, eax
add esp, 0xc
cmp ebx, 0xffffffff
jne 0x1006a45
push dword [ebp + 8]
push 0x1001850
push 0x10023c8
push dword [ebp + 0x10]
call fcn.01008d19
add esp, 0x10
jmp 0x1006a65
push esi
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.msvcrt.dll__read]
add esp, 0xc
cmp eax, 0xffffffff
je 0x1006a79
test eax, eax
je 0x1006a45
push dword [ebp - 4]
push eax
push dword [ebp + 0xc]
call fcn.01003ff1
mov dword [ebp - 4], eax
push ebx
call dword [sym.imp.msvcrt.dll__eof]
test eax, eax
pop ecx
je 0x1006a1f
mov eax, dword [ebp - 4]
mov dword [ebp - 8], 1
mov dword [edi], eax
push ebx
call dword [sym.imp.msvcrt.dll__close]
pop ecx
push dword [ebp + 0xc]
call dword [sym.imp.msvcrt.dll_free]
mov eax, dword [ebp - 8]
pop ecx
pop edi
pop esi
pop ebx
leave
ret 0xc
push dword [ebp + 8]
push 0x1001850
push 0x10023a4
push dword [ebp + 0x10]
call fcn.01008d19
add esp, 0x10
jmp 0x1006a5d
Function at 0x1008af7
Capabilities:
Terminate process

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x1015ab4]
push ebx
push esi
mov esi, dword [sym.imp.msvcrt.dll_setvbuf]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push edi
xor ebx, ebx
push ebx
mov dword [ebp - 0x220], eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
push 4
add eax, 0x20
push ebx
push eax
call esi
mov eax, dword [sym.imp.msvcrt.dll__iob]
push ebx
push 4
add eax, 0x40
push ebx
push eax
call esi
add esp, 0x20
lea eax, [ebp - 0x21c]
push eax
call fcn.01008d49
push 0xc10
mov dword [ebp - 0x18], ebx
call dword [sym.imp.msvcrt.dll_malloc]
mov esi, eax
cmp esi, ebx
pop ecx
jne 0x1008b88
lea eax, [ebp - 0x21c]
push 0x1002ea0
push eax
call fcn.01008d19
pop ecx
pop ecx
lea eax, [ebp - 0x21c]
push eax
push ebx
call fcn.0100624a
push 1
call dword [sym.imp.msvcrt.dll_exit]
push 0x13
mov dword [esi + 0xa0], ebx
mov dword [esi + 0xa4], ebx
mov dword [esi + 0xa8], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x70], ebx
mov dword [esi + 0x84], ebx
mov word [esi + 0x80], bx
mov byte [esi + 0xb04], bl
mov dword [esi + 0xac], ebx
mov dword [esi + 0xc0c], ebx
pop ecx
mov eax, 0x20202020
lea edi, [esi + 0x9b4]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push esi
mov byte [esi + 0xa03], bl
call fcn.01006198
push 0x1002524
push 0x1001850
push 0x1002e38
lea edi, [esi + 0x1b4]
push 0x800
push edi
call fcn.0100c6b1
push edi
mov edi, dword [sym.imp.msvcrt.dll_printf]
call edi
add esp, 0x18
lea eax, [ebp - 0x21c]
push eax
push esi
call fcn.01004a50
cmp eax, ebx
je 0x1008c89
mov dword [esi + 8], eax
lea eax, [ebp - 0x21c]
push eax
push dword [ebp - 0x220]
push dword [ebp + 8]
push esi
call fcn.01007905
test eax, eax
je 0x1008c89
cmp dword [esi], 1
jne 0x1008c66
push 0x1002bd0
call edi
xor eax, eax
jmp 0x1008d06
call dword [sym.imp.msvcrt.dll_clock]
mov dword [esi + 0x74], eax
mov eax, dword [esi]
dec eax
dec eax
je 0x1008c9b
dec eax
jne 0x1008cbb
lea eax, [ebp - 0x21c]
push eax
push esi
call fcn.01008827
test eax, eax
jne 0x1008cbb
lea eax, [ebp - 0x21c]
push eax
push esi
call fcn.0100624a
xor eax, eax
inc eax
jmp 0x1008d07
lea eax, [ebp - 0x21c]
push eax
push esi
call fcn.01006868
test eax, eax
je 0x1008c96
lea eax, [ebp - 0x21c]
push eax
push esi
call fcn.010074ed
jmp 0x1008c85
xor eax, eax
cmp dword [esi + 0x38], ebx
setg al
mov edi, eax
mov eax, dword [esi + 8]
cmp eax, ebx
je 0x1008cd9
lea ecx, [ebp - 0x21c]
push ecx
push eax
call fcn.0100cef5
mov eax, dword [esi + 0x84]
cmp eax, ebx
je 0x1008ce9
push eax
call fcn.0100a24a
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x1008cfd
lea ecx, [ebp - 0x21c]
push ecx
push eax
call fcn.01008e61
push esi
call dword [sym.imp.msvcrt.dll_free]
mov eax, edi
pop ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.0100d415
leave
ret
Function at 0x100916d
Capabilities:
Delete file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi]
test eax, eax
push edi
je 0x1009185
push eax
call dword [sym.imp.msvcrt.dll_fclose]
pop ecx
push dword [esi + 4]
call dword [sym.imp.msvcrt.dll_remove]
test eax, eax
pop ecx
je 0x10091ae
push dword [esi + 4]
push dword [esi + 8]
push 0x1001afc
push 0x1002f7c
push dword [ebp + 0xc]
call fcn.01008d19
add esp, 0x14
mov eax, dword [esi + 8]
test eax, eax
mov edi, dword [sym.imp.msvcrt.dll_free]
je 0x10091bf
push eax
call edi
pop ecx
mov eax, dword [esi + 4]
test eax, eax
je 0x10091ca
push eax
call edi
pop ecx
push esi
call edi
pop ecx
xor eax, eax
pop edi
inc eax
pop esi
pop ebp
ret 8
Function at 0x10097d8
Capabilities:
Set file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileA]
xor esi, esi
push esi
push esi
push 3
push esi
push esi
mov ebx, 0x40000000
push ebx
push dword [ebp + 8]
call edi
cmp eax, 0xffffffff
mov dword [ebp - 4], eax
jne 0x1009820
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
push esi
push 3
push esi
push esi
push ebx
push dword [ebp + 8]
call edi
cmp eax, 0xffffffff
mov dword [ebp - 4], eax
je 0x100989c
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 0xc]
push eax
xor eax, eax
mov ax, word [edi + 2]
push eax
xor eax, eax
mov ax, word [edi]
push eax
call dword [sym.imp.KERNEL32.dll_DosDateTimeToFileTime]
mov ebx, eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFileTimeToFileTime]
or ebx, eax
lea eax, [ebp - 0x14]
push eax
push esi
push esi
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push dword [ebp - 4]
or ebx, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ax, word [edi + 4]
push eax
call fcn.010092cb
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
or eax, ebx
jne 0x100989c
push dword [ebp + 8]
push 0x1001850
push 0x10030f8
push dword [ebp + 0x10]
call fcn.01008d19
add esp, 0x10
xor eax, eax
jmp 0x100989f
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x10098ab
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
and dword [ebp - 0xc], 0
and dword [ebp - 4], 0
push esi
mov esi, dword [sym.imp.msvcrt.dll__open]
push edi
mov edi, dword [ebp + 0xc]
push 0x8000
push edi
call esi
cmp eax, 0xffffffff
pop ecx
pop ecx
mov dword [ebp - 8], eax
jne 0x10098f3
push edi
push 0x1001850
push 0x1003184
push dword [ebp + 0x20]
call fcn.01008d19
add esp, 0x10
jmp 0x1009a3e
push ebx
mov ebx, dword [ebp + 0x20]
push ebx
push edi
lea eax, [ebp - 0x14]
push eax
call fcn.01009767
test eax, eax
je 0x1009a23
cmp dword [ebp + 0x18], 0
je 0x1009923
push ebx
push dword [ebp + 0x1c]
lea eax, [ebp - 0x14]
push eax
call dword [ebp + 0x18]
test eax, eax
je 0x1009a23
cmp dword [ebp + 0x10], 0
jne 0x1009935
mov dword [ebp - 0xc], 1
jmp 0x1009a23
mov ecx, dword [ebp + 0x14]
xor edx, edx
inc edx
cmp ecx, edx
ja 0x1009941
mov ecx, edx
mov eax, 0x100000
cmp ecx, eax
jae 0x1009954
cmp dword [ebp + 0x14], edx
ja 0x1009957
mov dword [ebp + 0x14], edx
jmp 0x1009957
mov dword [ebp + 0x14], eax
push dword [ebp + 0x14]
call dword [sym.imp.msvcrt.dll_malloc]
test eax, eax
pop ecx
mov dword [ebp - 4], eax
jne 0x1009984
push dword [ebp + 8]
push edi
push 0x1001afc
push 0x1003158
push ebx
call fcn.01008d19
add esp, 0x14
jmp 0x1009a23
push 0x180
push 0x8301
push dword [ebp + 8]
call esi
mov edi, eax
add esp, 0xc
cmp edi, 0xffffffff
jne 0x10099b0
push dword [ebp + 8]
push 0x1001850
push 0x1003184
push ebx
jmp 0x1009a66
mov ebx, dword [sym.imp.msvcrt.dll__eof]
jmp 0x10099e7
push dword [ebp + 0x14]
push dword [ebp - 4]
push dword [ebp - 8]
call dword [sym.imp.msvcrt.dll__read]
mov esi, eax
add esp, 0xc
cmp esi, 0xffffffff
je 0x1009a47
test esi, esi
je 0x10099e7
push esi
push dword [ebp - 4]
push edi
call dword [sym.imp.msvcrt.dll__write]
add esp, 0xc
cmp eax, esi
jne 0x1009a56
push dword [ebp - 8]
call ebx
test eax, eax
pop ecx
je 0x10099b8
push edi
call dword [sym.imp.msvcrt.dll__close]
pop ecx
push dword [ebp + 0x20]
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 8]
or edi, 0xffffffff
call fcn.010097d8
test eax, eax
je 0x1009a23
mov dword [ebp - 0xc], 1
cmp edi, 0xffffffff
je 0x1009a23
push edi
call dword [sym.imp.msvcrt.dll__close]
pop ecx
push dword [ebp - 8]
call dword [sym.imp.msvcrt.dll__close]
cmp dword [ebp - 4], 0
pop ecx
pop ebx
je 0x1009a3e
push dword [ebp - 4]
call dword [sym.imp.msvcrt.dll_free]
pop ecx
mov eax, dword [ebp - 0xc]
pop edi
pop esi
leave
ret 0x1c
push dword [ebp + 0xc]
push 0x1001850
push 0x1003140
jmp 0x1009a63
push dword [ebp + 0xc]
push 0x1001850
push 0x1003128
push dword [ebp + 0x20]
call fcn.01008d19
add esp, 0x10
jmp 0x1009a16
Function at 0x100a7c0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x238
mov eax, dword [0x1015ab4]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x234], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x22c], eax
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x238], eax
mov eax, dword [ebp + 0x18]
push esi
push edi
mov dword [ebp - 0x220], eax
lea eax, [ebp - 0x21c]
push eax
push ebx
xor edi, edi
call fcn.010090b9
mov dword [ebp - 0x230], eax
lea eax, [ebp - 0x21c]
push eax
push ebx
call fcn.010090cd
mov esi, 0x800
push esi
mov dword [ebp - 0x228], eax
call dword [sym.imp.msvcrt.dll_malloc]
test eax, eax
pop ecx
mov dword [ebp - 0x224], eax
jne 0x100a86b
push dword [ebp - 0x22c]
push dword [ebp - 0x228]
push dword [ebp - 0x230]
push 0x1001a34
push 0x1003518
push dword [ebp - 0x220]
call fcn.01008d19
add esp, 0x18
jmp 0x100a970
push dword [ebp - 0x220]
push dword [ebp - 0x238]
push ebx
call fcn.01009124
test eax, eax
je 0x100a957
push dword [ebp - 0x220]
push ebx
call fcn.010090a6
mov edi, eax
test edi, edi
je 0x100a957
jmp 0x100a8de
push edi
push esi
push 1
push dword [ebp - 0x224]
call dword [sym.imp.msvcrt.dll_fread]
add esp, 0x10
test byte [edi + 0xc], 0x20
jne 0x100a90f
test eax, eax
jle 0x100a8de
push dword [ebp - 0x234]
push eax
push 1
push dword [ebp - 0x224]
call dword [sym.imp.msvcrt.dll_fwrite]
mov eax, dword [ebp - 0x234]
add esp, 0x10
test byte [eax + 0xc], 0x20
jne 0x100a92d
test byte [edi + 0xc], 0x10
je 0x100a89d
push dword [ebp - 0x220]
push ebx
call fcn.010090e1
push dword [ebp - 0x224]
call dword [sym.imp.msvcrt.dll_free]
xor eax, eax
pop ecx
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.0100d415
leave
ret 0x14
push dword [ebp - 0x22c]
push dword [ebp - 0x228]
push dword [ebp - 0x230]
push 0x1001a34
push 0x10034f8
jmp 0x100a949
push dword [ebp - 0x22c]
push dword [ebp - 0x228]
push dword [ebp - 0x230]
push 0x1001a34
push 0x10034d4
push dword [ebp - 0x220]
call fcn.01008d19
add esp, 0x18
push dword [ebp - 0x224]
call dword [sym.imp.msvcrt.dll_free]
test edi, edi
pop ecx
je 0x100a970
push edi
call dword [sym.imp.msvcrt.dll_fclose]
pop ecx
xor eax, eax
jmp 0x100a900
Function at 0x100c821
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
mov edx, dword [ebp + 0x10]
mov eax, 0x400
cmp dword [ebp + 0x10], eax
jg 0x100c837
mov edx, eax
mov ecx, 0x4000
cmp edx, ecx
jge 0x100c84a
cmp dword [ebp + 0x10], eax
jg 0x100c84d
mov dword [ebp + 0x10], eax
jmp 0x100c84d
mov dword [ebp + 0x10], ecx
mov eax, dword [ebp + 0xc]
push ebx
xor ebx, ebx
sub eax, ebx
je 0x100c883
dec eax
je 0x100c877
push dword [ebp + 8]
push dword [ebp + 0xc]
push 0x10018b0
push 0x10039b0
push dword [ebp + 0x14]
call fcn.01008d19
add esp, 0x14
jmp 0x100c8b8
mov eax, 0x8102
mov ecx, 0x180
jmp 0x100c88a
mov eax, 0x8000
xor ecx, ecx
push ecx
push eax
push dword [ebp + 8]
call dword [sym.imp.msvcrt.dll__open]
add esp, 0xc
cmp eax, 0xffffffff
mov dword [ebp - 8], eax
jne 0x100c8bf
push dword [ebp + 8]
push 0x1001850
push 0x1003998
push dword [ebp + 0x14]
call fcn.01008d19
add esp, 0x10
xor eax, eax
jmp 0x100c9be
push esi
push edi
mov edi, dword [sym.imp.msvcrt.dll_malloc]
push 0x428
call edi
mov esi, eax
cmp esi, ebx
pop ecx
jne 0x100c8f2
push dword [ebp + 8]
push 0x1001850
push 0x1003978
push dword [ebp + 0x14]
call fcn.01008d19
add esp, 0x10
jmp 0x100c9fe
push dword [ebp + 0x10]
call edi
cmp eax, ebx
pop ecx
mov dword [esi + 0xc], eax
jne 0x100c923
push esi
call dword [sym.imp.msvcrt.dll_free]
push dword [ebp + 8]
push 0x1001850
push 0x1003978
push dword [ebp + 0x14]
call fcn.01008d19
add esp, 0x14
jmp 0x100c9fe
push dword [ebp + 8]
call dword [sym.imp.msvcrt.dll__strdup]
cmp eax, ebx
pop ecx
mov dword [esi], eax
jne 0x100c95e
push dword [esi + 0xc]
mov edi, dword [sym.imp.msvcrt.dll_free]
call edi
push esi
call edi
push dword [ebp + 8]
push 0x1001850
push 0x1003978
push dword [ebp + 0x14]
call fcn.01008d19
add esp, 0x18
jmp 0x100c9fe
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp - 8]
mov dword [esi + 8], eax
mov eax, dword [esi + 0xc]
mov dword [esi + 0x10], eax
xor eax, eax
cmp dword [ebp + 0xc], ebx
mov dword [esi + 4], edi
sete al
cmp dword [ebp + 0xc], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x20], eax
jne 0x100c9ba
push 3
lea eax, [ebp - 4]
push eax
push edi
call dword [sym.imp.msvcrt.dll__read]
add esp, 0xc
cmp eax, 3
jne 0x100c9c3
cmp byte [ebp - 4], 0xef
jne 0x100c9c3
cmp byte [ebp - 3], 0xbb
jne 0x100c9c3
cmp byte [ebp - 2], 0xbf
jne 0x100c9c3
mov dword [esi + 0x24], 1
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 0x10
push ebx
push ebx
push edi
call dword [sym.imp.msvcrt.dll__lseek]
add esp, 0xc
cmp eax, 0xffffffff
jne 0x100c9ba
push dword [esi]
mov edi, dword [sym.imp.msvcrt.dll_free]
call edi
push dword [esi + 0xc]
call edi
push esi
call edi
push dword [ebp + 8]
push 0x1001850
push 0x1003998
push dword [ebp + 0x14]
call fcn.01008d19
add esp, 0x1c
xor eax, eax
jmp 0x100c9bc
Function at 0x100ca07
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
cmp dword [esi + 0x20], 0
push edi
mov edi, dword [ebp + 0xc]
jne 0x100ca38
push dword [esi]
push 0x1001850
push 0x10039d4
push dword [ebp + 0x14]
call fcn.01008d19
add esp, 0x10
xor eax, eax
jmp 0x100caeb
cmp dword [ebp + 0x10], 0
push ebx
jle 0x100cae8
xor ebx, ebx
inc ebx
jmp 0x100ca6d
mov ecx, dword [esi + 0x10]
mov al, byte [ecx]
cmp al, 0xa
je 0x100cacf
cmp al, 0xd
je 0x100ca69
cmp al, 0x1a
je 0x100caaf
cmp dword [ebp + 0x10], ebx
jle 0x100caaa
dec dword [ebp + 0x10]
mov byte [edi], al
inc edi
inc dword [esi + 0x10]
jmp 0x100ca6d
inc ecx
mov dword [esi + 0x10], ecx
mov eax, dword [esi + 0x10]
cmp eax, dword [esi + 0x14]
jbe 0x100ca48
cmp dword [esi + 0x18], 0
jne 0x100cadd
push dword [esi + 8]
push dword [esi + 0xc]
push dword [esi + 4]
call dword [sym.imp.msvcrt.dll__read]
add esp, 0xc
cmp eax, dword [esi + 8]
je 0x100ca95
mov dword [esi + 0x18], ebx
cmp dword [ebp + 0x10], 0
mov ecx, dword [esi + 0xc]
lea eax, [ecx + eax - 1]
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], eax
jg 0x100ca6d
jmp 0x100cae8
mov byte [edi], 0
jmp 0x100cae8
mov eax, dword [esi + 0xc]
and dword [esi + 0x14], 0
cmp edi, dword [ebp + 0xc]
mov dword [esi + 0x18], ebx
mov dword [esi + 0x10], eax
mov byte [edi], 0
ja 0x100cac7
mov dword [esi + 0x1c], ebx
inc edi
mov eax, edi
sub eax, dword [ebp + 0xc]
jmp 0x100caea
inc dword [esi + 0x10]
mov byte [edi], 0
mov eax, edi
sub eax, dword [ebp + 0xc]
inc eax
jmp 0x100caea
cmp edi, dword [ebp + 0xc]
mov byte [edi], 0
ja 0x100cad5
mov dword [esi + 0x1c], ebx
xor eax, eax
pop ebx
pop edi
pop esi
pop ebp
ret 0x10
Function at 0x100fe43
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
mov eax, esi
shr eax, 2
test eax, eax
push edi
mov edi, dword [ebp + 0x10]
jle 0x100fe80
push ebx
movzx edx, byte [ecx]
xor ebx, ebx
inc ecx
mov bh, byte [ecx]
or edx, ebx
inc ecx
movzx ebx, byte [ecx]
shl ebx, 0x10
or edx, ebx
inc ecx
movzx ebx, byte [ecx]
shl ebx, 0x18
or edx, ebx
inc ecx
xor edi, edx
dec eax
jne 0x100fe5d
pop ebx
and esi, 3
xor eax, eax
dec esi
je 0x100fe9c
dec esi
je 0x100fe95
dec esi
jne 0x100fea1
movzx eax, byte [ecx]
shl eax, 0x10
inc ecx
xor edx, edx
mov dh, byte [ecx]
or eax, edx
inc ecx
movzx ecx, byte [ecx]
or eax, ecx
xor eax, edi
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x1011312
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x20]
mov ecx, dword [ebp + 0x18]
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebx + 0x18], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebx + 0x1c], eax
mov eax, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebx + 4], eax
xor eax, eax
cmp byte [ebp + 0x24], al
mov dword [ebx + 0x10], ecx
mov ecx, dword [ebp + 0x10]
push edi
mov word [ebx + 0xc], ax
mov dword [ebx + 0x14], esi
mov dword [ebx + 0x24], ecx
mov dword [ebx + 0x28], eax
jne 0x101135c
mov ecx, 0x2000
lea edi, [esi + 0x8000]
rep movsd dword es:[edi], dword [esi]
mov word [ebx + 0x2c], ax
mov dword [ebx + 0x30], eax
call fcn.01010d5f
mov eax, dword [ebx + 0x14]
and dword [ebx + 0x20], 0
mov ecx, 0x8000
push 2
mov word [ebx + 0x3c], cx
mov dword [ebx + 0x34], ecx
add eax, ecx
pop edx
movzx edi, byte [eax]
mov esi, dword [ebx + 0x20]
shl esi, 5
xor esi, edi
and esi, 0x7fff
inc eax
dec edx
mov dword [ebx + 0x20], esi
jne 0x1011380
cmp byte [ebp + 0x24], 0
je 0x10113a7
mov edi, ebx
call fcn.01010bb3
jmp 0x10113b6
xor eax, eax
mov edx, dword [ebx + 0x18]
and word [eax + edx], 0
inc eax
inc eax
dec ecx
jne 0x10113a9
push 8
pop edi
push 0x43
pop edx
mov eax, ebx
call fcn.0100ffc6
push 0x4b
pop edx
call fcn.0100ffc6
call fcn.01011091
mov ecx, dword [ebp + 0x28]
inc eax
inc eax
cmp byte [ebp + 0x24], 0
movzx eax, ax
mov dword [ecx], eax
je 0x10113f0
mov edi, dword [ebx + 0x14]
mov ecx, 0x2000
lea esi, [edi + 0x8000]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebx + 0x28]
neg eax
pop edi
sbb eax, eax
pop esi
and eax, 3
pop ebx
pop ebp
ret 0x24
Function at 0x8de4dc
Capabilities:
Encode data using xor

Disassembly:
pushal
call 0x8de4e2
pop ebp
sub ebp, 6
sub ebp, 0x4de4dc
jmp 0x8de540
add byte [edx + 0x6b], dh
sub ah, byte [edx + 0x200f4e81]
fist dword [ebp + 0x6a56d85a]
mov ebx, dword [esi + 0x486ebe51]
fisub word [edx]
mov ebp, 0x77e2a302
mov byte [esi - 0x10], bh
shl dword [edi - 0x17], 1
add al, 0
add byte [eax], al
or ch, byte [ebx]
nop
mov edi, dword [eax + 0x4de4dc]
jmp 0x8de549
mov eax, 0x4de4dc
dec ebp
add byte [ebx], al
lds eax, [ecx + 0x93c0]
add byte [ecx + 0x63e], bh
add eax, ebp
add eax, 0x93
mov ecx, 0x63e
mov edx, 0x472d7018
xor byte [eax], dl
inc eax
dec ecx
jne 0x8de560
jmp 0x8de573
jb 0x8de5cd
jo 0x8de58f
or byte [eax], bl
sbb byte [eax + 0x18], dh
aam 0x34
sbb byte [ecx + 0x234618e8], bl
jecxz 0x8de51f
call 0xe3b12ba3
sub ebx, eax
dec eax
out 0x8d, eax
and al, 0x39
lea esp, [ecx + edi]
pop esp
sbb byte [eax - 0x6d], cl
aad 0x93
xchg ecx, eax
and al, 0x18
sbb byte [eax], bl
cdq
fchs
sbb byte [eax], bl
sbb byte [ebx], bl
aad 0xa0
push ds
sbb byte [eax], bl
sbb byte [edx + 0x18181830], ah
out dx, eax
cli
sbb edx, eax
xchg ebx, eax
cdq
adc al, 0x18
sbb byte [eax], bl
sbb ebx, ebp
dec eax
jo 0x8de54c
and dword [ecx], edx
sbb byte [eax + 0x5b], dh
mov bl, 0x5c
sbb byte [ecx], bl
xor al, 0x3c
jo 0x8de5e3
sbb byte [eax], bl
sbb al, dh
sbb eax, 0xf1181818
xor bl, byte [eax]
sbb byte [eax], bl
dec ebp
xchg ebp, eax
je 0x8de618
sbb byte [ebx + 0x1818109d], dl
sbb byte [ebx + 0x1818148d], dl
sbb byte [ebx + 0x18180895], dl
sbb cl, bl
int1
xchg ebx, eax
lea edx, [eax + ebx]
sbb byte [eax], bl
xchg ebx, eax
xchg ebp, eax
or byte [eax], bl
sbb byte [eax], bl
fyl2x
sbb ch, byte [ecx]
sbb bl, byte [ebx + 0x17511cda]
pop ss
popfd
in al, dx
out 0xe7, eax
out 0x45, eax
ficom dword [eax + ebx]
xchg ebx, eax
xchg esp, eax
cmp al, 0x1c
sbb byte [eax], bl
sbb byte [eax - 0x72], dh
and dword [ecx], edx
sbb byte [eax + 0x5b], dh
mov bl, 0x5c
sbb byte [ecx], bl
xor al, 0x3c
dec ecx
invalid
sbb eax, 0xf1181818
push ebp
sbb bl, byte [eax]
sbb byte [ebp - 0x6b], cl
je 0x8de661
sbb bh, ah
insd dword es:[edi], dx
adc al, 0xe7
insd dword es:[edi], dx
adc al, dh
sbb byte [eax], bl
sbb byte [ebx + 0x181810a5], dl
sbb byte [ecx - 0x3fa77417], bl
sbb byte [ecx - 0x3fa77417], bl
sbb byte [ebx], ch
rcr dword [ecx - 0x46159e16], 1
jmp 0xeaefd0e8
sbb byte [eax], bl
sbb byte [edi], dl
nop
push eax
sbb byte [eax], bl
sbb byte [esi - 0x6d], bh
sbb byte [eax], bl
jle 0x8de5f8
xchg ebx, eax
add al, 0x21
cwde
jecxz 0x8de65a
pop ss
pushfd
add bl, byte [eax]
sbb byte [eax], bl
cwde
jecxz 0x8de664
pop ss
pushfd
or dword [eax], ebx
sbb byte [eax], bl
jle 0x8de614
jecxz 0x8de664
cmp eax, 0x180d9c17
sbb byte [eax], bl
pop ecx
int1
aam 0xe7
out 0xe7, eax
xor dword [ecx + 0x19], edx
wait
fstp dword [0xf11cf09b]
movsd dword es:[edi], dword [esi]
out 0xe7, eax
out 0x31, eax
dec esp
and dword [edx], ebx
wait
fstp dword [esi]
wait
sbb al, 0x9b
invalid