joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10340ab
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x1066c80]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.01033fea
mov eax, 0x1000000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.01035620
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x10340fa
cmp dword [ebp - 0x1c], 5
jb 0x1034112
jmp 0x103410e
cmp dword [ebp - 0x10], 1
jne 0x1034112
cmp dword [ebp - 0x1c], 4
ja 0x103410e
jne 0x1034112
cmp dword [ebp - 0x18], 0
jbe 0x1034112
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x10047d8
call fcn.0100cfd7
test eax, eax
jge 0x1034133
mov byte [0x1068dc4], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.01034b54
add ebp, 0x78
leave
ret

Function at 0x10342e5
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x10690e4], 0
push esi
jne 0x1034258
call fcn.01034183
test eax, eax
je 0x103429b
mov eax, dword [0x10690e4]
cmp eax, 1
jne 0x1034279
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x103429b
pop esi
ret
push eax
call dword [0x10690ec]
test eax, eax
jne 0x10342e3
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x103429f
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x10690e4]
call dword [0x10690ec]
mov edi, eax
test edi, edi
je 0x10342c6
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, edi
jmp 0x10342e2
lea edi, [esi + 0xff0]
push esi
push dword [0x10690e4]
call dword [0x10690e8]
add esi, 0x10
cmp esi, edi
jb 0x10342cc
mov eax, esi
pop edi
pop esi
ret
jmp 0x1034245

Function at 0x1034b54
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1066c80]
jne 0x1034b5e
repz ret
jmp fcn.01039d9c
Function at 0x1037cac
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x1066d38]
je 0x1037cc7
inc edi
cmp edi, 0x17
jb 0x1037cb8
cmp edi, 0x17
jae 0x1037e47
push ebp
push 3
call fcn.0103f083
cmp eax, 1
pop ecx
je 0x1037e13
push 3
call fcn.0103f083
test eax, eax
pop ecx
jne 0x1037cfb
cmp dword [0x1066c60], 1
je 0x1037e13
cmp ebx, 0xfc
je 0x1037e46
push 0x1004ee8
mov ebx, 0x314
push ebx
mov ebp, 0x1069188
push ebp
call fcn.0103d315
add esp, 0xc
test eax, eax
je 0x1037d31
push esi
push esi
push esi
push esi
push esi
call fcn.01036409
add esp, 0x14
push 0x104
mov esi, 0x10691a1
push esi
push 0
mov byte [0x10692a5], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x1037d75
push 0x1004ed0
push 0x2fb
push esi
call fcn.0103d315
add esp, 0xc
test eax, eax
je 0x1037d75
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.01036409
add esp, 0x14
push esi
call fcn.0103d380
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x1037dba
push esi
call fcn.0103d380
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x106949c
push 0x1004ecc
sub ecx, eax
push ecx
push eax
call fcn.0103efd0
add esp, 0x14
test eax, eax
je 0x1037dba
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.01036409
add esp, 0x14
jmp 0x1037dbc
xor esi, esi
push 0x1004ec8
push ebx
push ebp
call fcn.0103ef5f
add esp, 0xc
test eax, eax
je 0x1037ddc
push esi
push esi
push esi
push esi
push esi
call fcn.01036409
add esp, 0x14
push dword [edi*8 + 0x1066d3c]
push ebx
push ebp
call fcn.0103ef5f
add esp, 0xc
test eax, eax
je 0x1037dfe
push esi
push esi
push esi
push esi
push esi
call fcn.01036409
add esp, 0x14
push 0x12010
push 0x1004ea0
push ebp
call fcn.0103eda2
add esp, 0xc
jmp 0x1037e46
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x1037e46
cmp ebp, 0xffffffff
je 0x1037e46
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x1066d3c]
push dword [esi]
call fcn.0103d380
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x103eda2
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0103885c
xor ebx, ebx
cmp dword [0x1069bcc], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x103ee78
push 0x10050e4
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x103ef58
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x10050d8
push edi
call esi
cmp eax, ebx
je 0x103ef58
push eax
call fcn.010387ee
mov dword [esp], 0x10050c8
push edi
mov dword [0x1069bcc], eax
call esi
push eax
call fcn.010387ee
mov dword [esp], 0x10050b4
push edi
mov dword [0x1069bd0], eax
call esi
push eax
call fcn.010387ee
mov dword [0x1069bd4], eax
lea eax, [ebp - 0xc]
push eax
call fcn.01037a39
test eax, eax
pop ecx
pop ecx
je 0x103ee46
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.01036409
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x103ee78
push 0x1005098
push edi
call esi
push eax
call fcn.010387ee
cmp eax, ebx
pop ecx
mov dword [0x1069bdc], eax
je 0x103ee78
push 0x1005080
push edi
call esi
push eax
call fcn.010387ee
pop ecx
mov dword [0x1069bd8], eax
mov eax, dword [0x1069bd8]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x103eefd
cmp dword [0x1069bdc], ecx
je 0x103eefd
push eax
call fcn.01038865
push dword [0x1069bdc]
mov esi, eax
call fcn.01038865
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x103eefd
cmp edi, ebx
je 0x103eefd
call esi
cmp eax, ebx
je 0x103eeca
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x103eeca
test byte [ebp - 0x18], 1
jne 0x103eefd
lea eax, [ebp - 0x10]
push eax
call fcn.01037a70
test eax, eax
pop ecx
je 0x103eee5
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.01036409
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x103eef4
or dword [ebp + 0x10], 0x200000
jmp 0x103ef38
or dword [ebp + 0x10], 0x40000
jmp 0x103ef38
mov eax, dword [0x1069bd0]
cmp eax, dword [ebp - 8]
je 0x103ef38
push eax
call fcn.01038865
cmp eax, ebx
pop ecx
je 0x103ef38
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x103ef38
mov eax, dword [0x1069bd4]
cmp eax, dword [ebp - 8]
je 0x103ef38
push eax
call fcn.01038865
cmp eax, ebx
pop ecx
je 0x103ef38
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x1069bcc]
call fcn.01038865
cmp eax, ebx
pop ecx
je 0x103ef58
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x103ef5a
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100015a0
Capabilities:
Encode data using xor
Write file on windows

Disassembly:
push esi
mov esi, dword [esp + 0x10]
xor eax, eax
test esi, esi
jle 0x100015e0
mov cl, byte [0x102e6260]
push edi
mov edi, dword [esp + 0xc]
sub edi, 0x102e6280
lea esp, [esp]
mov dl, byte [edi + eax + 0x102e6280]
xor dl, cl
mov byte [eax + 0x102e6280], dl
add cl, 1
add eax, 1
cmp eax, esi
mov byte [0x102e6260], cl
jl 0x100015c0
pop edi
mov eax, dword [esp + 0x14]
push eax
push esi
push 1
push 0x102e6280
call fcn.10024e59
add esp, 0x10
pop esi
ret

Function at 0x10001f10
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x204
mov eax, dword [0x10056b88]
xor eax, esp
mov dword [esp + 0x200], eax
push esi
push edi
mov edi, dword [esp + 0x214]
push 0x1ff
lea eax, [esp + 0xd]
push 0
push eax
mov byte [esp + 0x14], 0
call fcn.10024c80
add esp, 0xc
push 0
push 0
push 0x200
lea ecx, [esp + 0x14]
push ecx
push 0xffffffffffffffff
push 0x102e5a40
push 0
push 1
call dword [0x100440c8]
lea eax, [esp + 8]
add eax, 0xffffffff
lea esp, [esp]
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x10001f70
mov edx, dword [0x100443c4]
mov ecx, dword [0x100443c8]
mov dword [eax], edx
lea edx, [esp + 8]
push 0x100443c0
push edx
mov dword [eax + 4], ecx
call fcn.100255d7
mov esi, eax
add esp, 8
test esi, esi
je 0x10001ff1
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10001fa8
push esi
sub eax, edx
push eax
push 1
push edi
call fcn.10024e59
push esi
push 1
push 1
push 0x1004437c
call fcn.10024e59
push esi
call fcn.10025497
add esp, 0x24
pop edi
mov eax, 1
pop esi
mov ecx, dword [esp + 0x200]
xor ecx, esp
call fcn.10024c3b
add esp, 0x204
ret
mov ecx, dword [esp + 0x208]
pop edi
pop esi
xor ecx, esp
or eax, 0xffffffff
call fcn.10024c3b
add esp, 0x204
ret

Function at 0x100027e0
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
mov al, byte [edx]
push esi
mov esi, dword [esp + 0xc]
mov ecx, 1
cmp esi, ecx
jle 0x100027fe
xor al, byte [ecx + edx]
add ecx, 1
cmp ecx, esi
jl 0x100027f4
pop esi
ret

Function at 0x10002d60
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 4]
cmp byte [ecx + 2], 0
push esi
lea esi, [ecx + 2]
jne 0x10002d72
mov al, 1
pop esi
ret
mov al, byte [esi]
add al, 4
movzx edx, al
lea ecx, [edx + ecx - 1]
mov byte [ecx], 0
mov dl, byte [esi]
add dl, 1
je 0x10002d9d
push edi
movzx edi, dl
jmp 0x10002d90
mov dl, byte [esi]
xor byte [ecx], dl
add esi, 1
sub edi, 1
jne 0x10002d90
pop edi
pop esi
ret
Function at 0x10002e50
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
sub esp, 0x400
push esi
or esi, 0xffffffff
xor edx, edx
lea esp, [esp]
mov ecx, edx
shr ecx, 1
test dl, 1
je 0x10002e6f
xor ecx, 0xedb88320
test cl, 1
je 0x10002e7e
shr ecx, 1
xor ecx, 0xedb88320
jmp 0x10002e80
shr ecx, 1
test cl, 1
je 0x10002e8f
shr ecx, 1
xor ecx, 0xedb88320
jmp 0x10002e91
shr ecx, 1
test cl, 1
je 0x10002ea0
shr ecx, 1
xor ecx, 0xedb88320
jmp 0x10002ea2
shr ecx, 1
test cl, 1
je 0x10002eb1
shr ecx, 1
xor ecx, 0xedb88320
jmp 0x10002eb3
shr ecx, 1
test cl, 1
je 0x10002ec2
shr ecx, 1
xor ecx, 0xedb88320
jmp 0x10002ec4
shr ecx, 1
test cl, 1
je 0x10002ed3
shr ecx, 1
xor ecx, 0xedb88320
jmp 0x10002ed5
shr ecx, 1
test cl, 1
je 0x10002ee4
shr ecx, 1
xor ecx, 0xedb88320
jmp 0x10002ee6
shr ecx, 1
mov dword [esp + edx*4 + 4], ecx
add edx, 1
cmp edx, 0x100
jl 0x10002e60
mov ecx, dword [esp + 0x40c]
test ecx, ecx
je 0x10002f2b
mov edx, dword [esp + 0x408]
jmp 0x10002f10
movzx eax, byte [edx]
xor eax, esi
and eax, 0xff
shr esi, 8
xor esi, dword [esp + eax*4 + 4]
sub ecx, 1
add edx, 1
test ecx, ecx
jne 0x10002f10
mov eax, esi
not eax
pop esi
add esp, 0x400
ret

Function at 0x10002f40
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
push esi
push 0x10044548
push eax
call fcn.100255d7
mov esi, eax
add esp, 8
test esi, esi
jne 0x10002f5e
or eax, 0xffffffff
pop esi
ret
push ebx
push edi
push 2
push 0
push esi
call fcn.10026035
push esi
call fcn.10025f40
mov ebx, eax
lea ecx, [ebx + 0x400]
push ecx
call fcn.10025639
add esp, 0x14
mov edi, eax
test edi, edi
push esi
jne 0x10002f97
call fcn.10025497
add esp, 4
pop edi
pop ebx
or eax, 0xffffffff
pop esi
ret
call fcn.10025ce3
push esi
push ebx
push 1
push edi
call fcn.10025cc8
push ebx
push edi
call fcn.10002e50
mov edx, dword [esp + 0x30]
push esi
mov dword [edx], eax
call fcn.10025497
push edi
call fcn.100256fc
add esp, 0x24
pop edi
pop ebx
mov eax, 1
pop esi
ret
Function at 0x10007920
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
sub esp, 0xa4
mov eax, dword [0x10056b88]
xor eax, esp
mov dword [esp + 0xa0], eax
push ebx
push esi
mov esi, dword [esp + 0xb4]
xor ebx, ebx
push 0x48
lea eax, [esp + 0x14]
push ebx
push eax
mov byte [esp + 0x14], 0x55
mov byte [esp + 0x15], 0xaa
mov byte [esp + 0x16], bl
mov byte [esp + 0x17], 0x60
mov byte [esp + 0x18], 1
mov byte [esp + 0x19], bl
mov byte [esp + 0x1a], bl
mov byte [esp + 0x1b], bl
call fcn.10024c80
add esp, 0xc
cmp esi, ebx
je 0x10007a66
mov al, byte [esi]
cmp al, 4
ja 0x10007a66
cmp dword [esp + 0xb0], ebx
je 0x10007999
add al, 1
mov byte [esp + 0xd], 0xff
add al, al
jmp 0x1000799f
mov byte [esp + 0xd], bl
add al, 2
add al, al
mov cl, al
movzx edx, cl
mov eax, 6
add edx, 3
cmp edx, eax
mov byte [esp + 0xa], cl
jle 0x100079da
lea ecx, [esp + 0xe]
sub esi, ecx
lea esp, [esp]
lea ecx, [esp + eax + 8]
mov dl, byte [esi + ecx]
mov byte [ecx], dl
mov cl, byte [esp + 0xa]
movzx edx, cl
add eax, 1
add edx, 3
cmp eax, edx
jl 0x100079c0
movzx eax, cl
mov byte [esp + eax + 0xb], bl
mov dl, byte [esp + 0xa]
movzx eax, dl
mov ecx, 2
lea esi, [eax + 3]
cmp esi, ecx
jle 0x10007a1e
jmp 0x10007a00
movzx edx, byte [esp + ecx + 8]
xor byte [esp + eax + 0xb], dl
mov dl, byte [esp + 0xa]
lea eax, [esp + eax + 0xb]
movzx eax, dl
add ecx, 1
lea esi, [eax + 3]
cmp ecx, esi
jl 0x10007a00
push 4
push 2
push ebx
movzx ecx, dl
lea eax, [esp + 0x14]
push eax
add ecx, 4
push ecx
push 1
push 0x50
lea edx, [esp + 0x74]
push edx
push 0xff
call fcn.10006ac0
add esp, 0x24
xor ecx, ecx
test ax, ax
setg cl
pop esi
pop ebx
mov eax, ecx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.10024c3b
add esp, 0xa4
ret
mov ecx, dword [esp + 0xa8]
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.10024c3b
add esp, 0xa4
ret
Function at 0x100083c0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x40
mov eax, dword [0x10056b88]
xor eax, esp
mov dword [esp + 0x3c], eax
push ebx
mov ebx, dword [0x100440d0]
xor eax, eax
push ebp
push esi
mov esi, dword [esp + 0x50]
push edi
mov edi, dword [esp + 0x5c]
mov byte [esp + 0x2c], 0x55
mov byte [esp + 0x2d], 0xaa
mov byte [esp + 0x2e], 0xb
mov dword [esp + 0x2f], eax
mov dword [esp + 0x33], eax
mov dword [esp + 0x37], eax
mov dword [esp + 0x3b], eax
mov dword [esp + 0x3f], eax
mov dword [esp + 0x43], eax
mov word [esp + 0x47], ax
mov byte [esp + 0x49], al
mov byte [esp + 0x14], 0xcc
call ebx
mov ebp, eax
call ebx
sub eax, ebp
cmp eax, dword [esp + 0x64]
ja 0x10008441
lea eax, [esp + 0x14]
push esi
push eax
call fcn.10007f00
add esp, 8
test eax, eax
jg 0x10008456
call ebx
sub eax, ebp
cmp eax, dword [esp + 0x64]
jbe 0x10008425
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.10024c3b
add esp, 0x40
ret
mov al, byte [esi]
test al, al
jns 0x100084f0
push 1
and al, 0xf
lea ecx, [esi + 1]
add al, 5
push 1
push ecx
mov byte [esp + 0x64], 4
mov bl, al
call fcn.10002930
movzx edx, byte [esi + 5]
lea eax, [esi + 5]
mov byte [edi], dl
movzx ecx, byte [esi + 6]
mov byte [edi + 1], cl
movzx edx, byte [esi + 8]
mov byte [edi + 2], dl
movzx ecx, byte [esi + 7]
add esp, 0xc
mov byte [edi + 3], cl
movzx ecx, byte [esp + 0x60]
sub ecx, 1
je 0x1000855e
sub ecx, 1
jne 0x100085a9
cmp byte [esp + 0x58], 4
je 0x10008528
add bl, 0xfd
movzx edi, bl
push edi
lea edx, [esi + 3]
push edx
lea eax, [esp + 0x34]
push eax
call fcn.100250c0
push edi
lea ecx, [esp + 0x3c]
push ecx
push esi
call fcn.100250c0
add esp, 0x18
pop edi
pop esi
pop ebp
mov al, bl
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.10024c3b
add esp, 0x40
ret
push 0
and al, 0xf
lea edx, [esi + 1]
add al, 3
push 1
push edx
mov byte [esp + 0x64], 2
mov bl, al
call fcn.10002930
mov al, byte [esi + 3]
mov byte [edi], al
movzx ecx, byte [esi + 4]
mov byte [edi + 1], cl
mov dl, byte [esi + 6]
lea eax, [esi + 5]
mov byte [edi + 2], dl
movzx ecx, byte [eax]
add esp, 0xc
jmp 0x10008496
add bl, 0xfb
movzx edi, bl
push edi
push eax
lea edx, [esp + 0x34]
push edx
call fcn.100250c0
push edi
lea eax, [esp + 0x3c]
push eax
push esi
call fcn.100250c0
add esp, 0x18
pop edi
pop esi
pop ebp
mov al, bl
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.10024c3b
add esp, 0x40
ret
movzx edi, bl
push edi
lea ecx, [esp + 0x33]
push esi
push ecx
mov byte [esp + 0x1f], bl
call fcn.100250c0
lea edx, [edi + 4]
push edx
lea eax, [esp + 0x3c]
push eax
push esi
mov byte [esp + 0x46], bl
call fcn.100250c0
add esp, 0x18
test bl, bl
jbe 0x1000859e
lea eax, [esi + 3]
mov ebp, edi
mov cl, byte [eax]
xor byte [esp + 0x13], cl
add eax, 1
sub ebp, 1
jne 0x10008590
mov dl, byte [esp + 0x13]
mov byte [edi + esi + 3], dl
add bl, 4
mov ecx, dword [esp + 0x4c]
pop edi
pop esi
pop ebp
mov al, bl
pop ebx
xor ecx, esp
call fcn.10024c3b
add esp, 0x40
ret
Function at 0x1000b8e0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
sub esp, 0xa4
mov eax, dword [0x10056b88]
xor eax, esp
mov dword [esp + 0xa0], eax
push ebx
xor ebx, ebx
push 0x48
lea eax, [esp + 0x10]
push ebx
push eax
mov byte [esp + 0x10], 0x55
mov byte [esp + 0x11], 0xaa
mov byte [esp + 0x12], 0xa
mov byte [esp + 0x13], 0x60
mov byte [esp + 0x14], 6
mov byte [esp + 0x15], bl
mov byte [esp + 0x16], bl
mov byte [esp + 0x17], bl
call fcn.10024c80
mov eax, dword [esp + 0xb8]
add esp, 0xc
cmp eax, ebx
jne 0x1000b94f
xor eax, eax
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.10024c3b
add esp, 0xa4
ret
mov ecx, dword [eax]
mov edx, dword [eax + 4]
movzx eax, byte [esp + 6]
mov dword [esp + 9], ecx
mov dword [esp + 0xd], edx
mov byte [esp + eax + 7], bl
mov dl, byte [esp + 6]
movzx eax, dl
push esi
mov ecx, 2
lea esi, [eax + 3]
cmp esi, ecx
jle 0x1000b99e
lea esp, [esp]
movzx edx, byte [esp + ecx + 8]
xor byte [esp + eax + 0xb], dl
mov dl, byte [esp + 0xa]
lea eax, [esp + eax + 0xb]
movzx eax, dl
add ecx, 1
lea esi, [eax + 3]
cmp ecx, esi
jl 0x1000b980
push 4
push 2
push ebx
movzx ecx, dl
lea eax, [esp + 0x14]
push eax
add ecx, 4
push ecx
push 1
push 0x50
lea edx, [esp + 0x74]
push edx
push 0xff
call fcn.10006ac0
xor ecx, ecx
add esp, 0x24
test ax, ax
setg cl
pop esi
pop ebx
mov eax, ecx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.10024c3b
add esp, 0xa4
ret
Function at 0x1000d4b0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x1b78
call fcn.10024c50
mov eax, dword [0x10056b88]
xor eax, esp
mov dword [esp + 0x1b74], eax
push edi
push 0x3ff
lea eax, [esp + 0xd]
push 0
push eax
mov byte [esp + 0x14], 0
call fcn.10024c80
lea ecx, [esp + 0x414]
push 0x1770
push ecx
call fcn.1001ab50
mov edi, eax
add esp, 0x14
test edi, edi
mov dword [esp + 4], edi
jle 0x1000d64b
xor eax, eax
test edi, edi
jle 0x1000d51e
mov cl, byte [0x10060f21]
mov edi, edi
xor byte [esp + eax + 0x408], cl
add eax, 1
cmp eax, edi
jl 0x1000d510
push ebp
xor ebp, ebp
test edi, edi
jle 0x1000d648
push ebx
push esi
jmp 0x1000d530
cmp byte [esp + ebp + 0x414], 0xac
lea esi, [esp + ebp + 0x414]
jne 0x1000d63b
cmp byte [esp + ebp + 0x415], 0xca
jne 0x1000d63b
mov dl, byte [esp + ebp + 0x418]
mov al, byte [esp + ebp + 0x416]
lea ebx, [esp + ebp + 0x416]
not dl
cmp al, dl
jne 0x1000d63b
movzx ecx, byte [esp + ebp + 0x417]
movzx eax, al
shl eax, 8
add eax, ecx
push eax
push ebx
call fcn.100027e0
add esp, 8
test al, al
jne 0x1000d63b
cmp byte [esp + ebp + 0x41a], 0xf1
jne 0x1000d604
mov eax, dword [0x100454e4]
mov edx, dword [0x100454e0]
mov cl, byte [0x100454e8]
mov dword [esp + 0x18], eax
lea eax, [esp + ebp + 0x41b]
mov dword [esp + 0x14], edx
mov byte [esp + 0x1c], cl
mov edx, eax
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1000d5c4
lea edi, [esp + 0x14]
sub eax, edx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x1000d5d6
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
push 1
lea edx, [esp + 0x18]
mov ecx, eax
push edx
and ecx, 3
push 1
rep movsb byte es:[edi], byte [esi]
call fcn.10001d80
mov edi, dword [esp + 0x1c]
jmp 0x1000d622
movzx eax, byte [ebx]
movzx ecx, byte [esp + ebp + 0x417]
push 0x100454d4
shl eax, 8
lea edx, [eax + ecx + 2]
push esi
push edx
call fcn.10001600
movzx eax, byte [ebx]
movzx ecx, byte [esp + ebp + 0x423]
shl eax, 8
add esp, 0xc
add ecx, ebp
lea ebp, [ecx + eax + 2]
jmp 0x1000d63e
add ebp, 1
cmp ebp, edi
jl 0x1000d530
pop esi
pop ebx
mov eax, edi
pop ebp
mov ecx, dword [esp + 0x1b78]
pop edi
xor ecx, esp
call fcn.10024c3b
add esp, 0x1b78
ret
Function at 0x1000d670
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x1774
call fcn.10024c50
mov eax, dword [0x10056b88]
xor eax, esp
mov dword [esp + 0x1770], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1788]
push 0
mov ebp, 0xffffffb7
lea ebx, [esi + 5]
call fcn.1000d4b0
push 3
call fcn.1001ad50
add esp, 8
cmp ebx, 0xffff
jle 0x1000d6ce
pop esi
lea eax, [ebp + 0x3f]
pop ebp
pop ebx
mov ecx, dword [esp + 0x1770]
xor ecx, esp
call fcn.10024c3b
add esp, 0x1774
ret
mov eax, ebx
sar eax, 8
mov cl, bl
xor cl, al
mov byte [esp + 0xe], al
not al
xor cl, al
mov byte [esp + 0xf], bl
not bl
mov byte [esp + 0x10], al
xor cl, bl
xor eax, eax
test esi, esi
mov byte [esp + 0xc], 0xac
mov byte [esp + 0xd], 0xca
mov byte [esp + 0x11], bl
jle 0x1000d725
push edi
mov edi, dword [esp + 0x1788]
lea edx, [esp + 0x16]
sub edi, edx
lea ecx, [ecx]
lea edx, [edi + eax]
mov dl, byte [esp + edx + 0x16]
mov byte [esp + eax + 0x16], dl
add eax, 1
xor cl, dl
cmp eax, esi
jl 0x1000d710
pop edi
mov byte [esp + eax + 0x12], cl
lea esi, [eax + 7]
xor ecx, ecx
test esi, esi
mov byte [esp + eax + 0x13], 0
jle 0x1000d74b
mov al, byte [esp + 0x178c]
mov edi, edi
xor byte [esp + ecx + 0xc], al
add ecx, 1
cmp ecx, esi
jl 0x1000d740
lea eax, [esp + 0xc]
push esi
push eax
call fcn.1001bb00
add esp, 8
cmp eax, esi
jne 0x1000d75f
xor ebp, ebp
mov ecx, dword [esp + 0x177c]
pop esi
mov eax, ebp
pop ebp
pop ebx
xor ecx, esp
call fcn.10024c3b
add esp, 0x1774
ret

Function at 0x1000da40
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push esi
mov esi, edx
test esi, esi
jle 0x1000da5d
sub ecx, eax
lea esp, [esp]
mov dl, byte [ecx + eax]
xor byte [eax], dl
add eax, 1
sub esi, 1
jne 0x1000da50
pop esi
ret
Function at 0x1000ebe0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0xc
mov eax, dword [0x10056b88]
xor eax, esp
mov dword [esp + 8], eax
push edi
xor eax, eax
push 0x10044548
push ecx
mov byte [esp + 0xc], 0
mov dword [esp + 0xd], eax
mov word [esp + 0x11], ax
mov byte [esp + 0x13], al
call fcn.100255d7
mov edi, eax
add esp, 8
test edi, edi
jne 0x1000ec2a
lea eax, [edi + 1]
pop edi
mov ecx, dword [esp + 8]
xor ecx, esp
call fcn.10024c3b
add esp, 0xc
ret
push ebx
push 2
push 0
push edi
call fcn.10026035
push edi
call fcn.10025f40
mov ebx, eax
add esp, 0x10
cmp ebx, 8
jge 0x1000ec64
push edi
call fcn.10025497
add esp, 4
pop ebx
mov eax, 2
pop edi
mov ecx, dword [esp + 8]
xor ecx, esp
call fcn.10024c3b
add esp, 0xc
ret
lea eax, [ebx - 8]
push 0
push eax
push edi
call fcn.10026035
push edi
push 8
lea eax, [esp + 0x1c]
push 1
push eax
call fcn.10025cc8
add esp, 0x1c
push ebp
mov eax, 4
mov ecx, 0x100458c4
lea edx, [esp + 0xc]
push esi
mov esi, dword [edx]
cmp esi, dword [ecx]
jne 0x1000ecaa
sub eax, 4
add ecx, 4
add edx, 4
cmp eax, 4
jae 0x1000ec92
test eax, eax
je 0x1000ed07
movzx esi, byte [edx]
movzx ebp, byte [ecx]
sub esi, ebp
jne 0x1000ecf9
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x1000ed07
movzx esi, byte [edx]
movzx ebp, byte [ecx]
sub esi, ebp
jne 0x1000ecf9
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x1000ed07
movzx esi, byte [edx]
movzx ebp, byte [ecx]
sub esi, ebp
jne 0x1000ecf9
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x1000ed07
movzx esi, byte [edx]
movzx ecx, byte [ecx]
sub esi, ecx
je 0x1000ed07
test esi, esi
mov eax, 1
jg 0x1000ed09
or eax, 0xffffffff
jmp 0x1000ed09
xor eax, eax
test eax, eax
jne 0x1000ed85
mov dl, byte [esp + 0x16]
mov al, byte [esp + 0x14]
not dl
cmp al, dl
jne 0x1000ed85
mov dl, byte [esp + 0x17]
mov cl, byte [esp + 0x15]
not dl
cmp cl, dl
jne 0x1000ed85
movzx eax, al
movzx ecx, cl
shl eax, 8
add eax, ecx
lea ecx, [ebx - 8]
cmp eax, ecx
jge 0x1000ed85
sub ebx, eax
push 0
sub ebx, 8
push ebx
push edi
call fcn.10026035
push edi
push 2
lea edx, [esp + 0x24]
push 1
push edx
call fcn.10025cc8
movzx esi, byte [esp + 0x2c]
movzx eax, byte [esp + 0x2d]
shl esi, 8
push edi
add esi, eax
call fcn.10025497
add esp, 0x20
mov eax, esi
pop esi
pop ebp
pop ebx
pop edi
mov ecx, dword [esp + 8]
xor ecx, esp
call fcn.10024c3b
add esp, 0xc
ret
push edi
call fcn.10025497
mov ecx, dword [esp + 0x1c]
add esp, 4
pop esi
pop ebp
pop ebx
pop edi
xor ecx, esp
mov eax, 3
call fcn.10024c3b
add esp, 0xc
ret