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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
pushal
call 0x10007c2e
pop dword [ebp - 0x1c]
mov eax, 0x9f6b57c6
sub eax, 0x8f6adb98
sub dword [ebp - 0x1c], eax
mov dword [ebp - 0x2c], 0xfa77686d
sub dword [ebp - 0x2c], 0xac252322
mov dword [ebp - 0x28], 0x884555a1
add dword [ebp - 0x28], 0xa9edf6a4
mov dword [ebp - 0x24], 0xacc9c9a9
sub dword [ebp - 0x24], 0x607d857b
mov dword [ebp - 0x20], 0xc1ae64d
add dword [ebp - 0x20], 0xf3e519b3
lea eax, [ebp - 0x2c]
push eax
mov eax, 0xf280cf2d
add eax, 0x1d7fb127
add eax, dword [ebp - 0x1c]
call dword [eax]
mov dword [ebp - 0x2c], 0x53f48814
add dword [ebp - 0x2c], 0x207de142
mov dword [ebp - 0x28], 0xfd204eb4
sub dword [ebp - 0x28], 0xbbb3ed3f
mov dword [ebp - 0x24], 0xa9b9ef9c
sub dword [ebp - 0x24], 0x464a8330
mov dword [ebp - 0x20], 0xc22de10f
sub dword [ebp - 0x20], 0xc22de10f
lea ebx, [ebp - 0x2c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x1c]
call dword [eax]
push 0x40
push 0x1000
push 0x37d92
push 0
call eax
mov ecx, 0x5bbfcdc4
add ecx, 0xa4407ef5
mov edi, eax
mov esi, 0x67b7da6f
sub esi, 0x57b6e06f
add esi, dword [ebp - 0x1c]
mov ebx, 0xe50fe411
sub ebx, 0xa3ee452f
add dword [ebp - 0xc], 0xa5d896f2
mov edx, dword [esi]
xor edx, ebx
xor dword [ebp - 0xc], 0x40f11cd6
mov dword [edi], edx
xor dword [ebp - 0x10], ecx
add edi, 4
add esi, 0xa4ce02af
sub esi, 0xa4ce02ab
loop 0x10007d4b
add eax, 0xc454ea10
sub eax, 0xc453c459
mov ebx, eax
add eax, 5
mov ecx, 0x78f508e7
add ecx, 0x970af719
add ecx, dword [ebp - 0x1c]
call ebx
leave
ret

Function at 0x432004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x432072
nop
nop
mov ebx, 0x40c7d0
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x551e55e2
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x432060
nop
nop
nop
nop
mov eax, section..tls
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x4320d2
nop
nop
mov ebx, 0x42f314
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x333a5a03
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
loop 0x4320c0
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x402060
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x434064]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ecx + 0x14]
mov eax, ecx
cmp esi, 8
jb 0x40207d
mov eax, dword [ecx]
cmp dword [edx + 0x14], 8
mov dword [ebp - 0xc], eax
jb 0x402088
mov edx, dword [edx]
mov dword [ebp - 8], edx
cmp esi, 8
jb 0x402092
mov ecx, dword [ecx]
push ecx
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov esi, eax
test esi, esi
je 0x4020ba
push 0
lea eax, [ebp - 0xc]
push eax
push 0
push 2
push 0
push 0
push 0
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0040a1f8
mov esp, ebp
pop ebp
ret
Function at 0x4020d0
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x421afd
mov eax, dword fs:[0]
push eax
sub esp, 0xdc
mov eax, dword [0x434064]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
push 0xb0
lea eax, [ebp - 0xcc]
mov dword [ebp - 0xd0], 0
push 0
push eax
call fcn.0040c170
add esp, 4
lea ecx, [ebp - 0xcc]
call fcn.00402480
mov dword [ebp - 4], 0
cmp dword [edi + 0x14], 8
mov eax, dword [edi + 0x10]
jb 0x40213e
mov edi, dword [edi]
push eax
mov edx, edi
lea ecx, [ebp - 0xbc]
call fcn.004060c0
add esp, 4
mov ecx, eax
call fcn.00405420
mov edx, eax
test edx, edx
jne 0x402160
xor ecx, ecx
jmp 0x402167
mov eax, dword [edx]
mov ecx, dword [eax + 4]
add ecx, edx
or dword [ecx + 0x14], 4
test edx, edx
jne 0x402173
xor ecx, ecx
jmp 0x40217a
mov eax, dword [edx]
mov ecx, dword [eax + 4]
add ecx, edx
mov eax, dword [ecx + 0x14]
push dword [ebp + 8]
and eax, 0xfffff9ff
or eax, 0x800
mov dword [ecx + 0x14], eax
mov ecx, edx
call fcn.00402e20
mov byte [ebp - 4], 1
xor eax, eax
mov ecx, dword [ebp - 0x78]
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0xd4], 7
mov word [ebp - 0xe8], ax
mov dword [ebp - 0xd0], 2
test cl, 2
jne 0x4021e9
mov eax, dword [ebp - 0x94]
mov edx, dword [eax]
test edx, edx
je 0x4021e9
cmp edx, dword [ebp - 0x7c]
mov eax, dword [ebp - 0xa4]
cmovb edx, dword [ebp - 0x7c]
mov ecx, dword [eax]
sub edx, ecx
sar edx, 1
push edx
jmp 0x402213
test cl, 4
jne 0x40221f
mov eax, dword [ebp - 0x98]
mov edx, dword [eax]
test edx, edx
je 0x40221f
mov eax, dword [ebp - 0xa8]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x88]
mov eax, dword [eax]
add eax, eax
sub eax, ecx
add eax, edx
sar eax, 1
push eax
push ecx
lea ecx, [ebp - 0xe8]
call fcn.00404110
mov ecx, dword [esi + 0x14]
mov eax, esi
cmp ecx, 8
jb 0x40222b
mov eax, dword [esi]
cmp dword [ebp - 0xd4], 8
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0xe8]
cmovae eax, dword [ebp - 0xe8]
mov dword [ebp - 0x18], eax
cmp ecx, 8
jb 0x40224c
mov esi, dword [esi]
push esi
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov esi, eax
test esi, esi
je 0x402274
push 0
lea eax, [ebp - 0x1c]
push eax
push 0
push 2
push 0
push 0
push 0
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
mov edx, dword [ebp - 0xd4]
cmp edx, 8
jb 0x4022b7
mov ecx, dword [ebp - 0xe8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4022ad
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4022dd
push edx
push ecx
call fcn.0040a239
add esp, 8
lea ecx, [ebp - 0xcc]
call fcn.004022f0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0040a1f8
mov esp, ebp
pop ebp
ret
call fcn.004101f6
int3
Function at 0x404ff0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
add dh, al
test dword [eax + 0x12fffffc], ebx
mov byte [ebp - 0x367], 0x30
mov byte [ebp - 0x366], 0x21
mov byte [ebp - 0x365], 6
mov byte [ebp - 0x364], 0x2c
mov byte [ebp - 0x363], 0x26
mov byte [ebp - 0x362], 0x21
mov byte [ebp - 0x361], 0x30
mov byte [ebp - 0x360], 0x38
mov byte [ebp - 0x35f], 0x11
mov byte [ebp - 0x35e], 0x3c
mov byte [ebp - 0x35d], 0x27
mov byte [ebp - 0x35c], 0x30
mov byte [ebp - 0x35b], 0x36
mov byte [ebp - 0x35a], 0x21
mov byte [ebp - 0x359], 0x3a
mov byte [ebp - 0x358], 0x27
mov byte [ebp - 0x357], 0x2c
mov byte [ebp - 0x356], 0x14
mov byte [ebp - 0x355], 0x55
lea eax, [ebp - 0x36c]
push eax
call fcn.004040bc
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00404071
add esp, 0xc
mov dword [ebp - 0x3d4], eax
call fcn.004040ac
push es
sbb al, 0x11
inc esi
push 0x104
invalid
test esp, edx
Function at 0x406e30
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x421fc0
mov eax, dword fs:[0]
push eax
push ebx
push edi
mov eax, dword [0x434064]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [0x435c8c]
mov ecx, dword [0x434880]
lea edi, [ebx + 0x1c]
mov dword [ebx + 0x20], 2
push edi
push dword [ebx + 0x38]
lea eax, [ecx + 1]
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x34], 0
mov dword [0x434880], eax
mov dword [ebx + 0x30], ecx
call dword [sym.imp.ADVAPI32.dll_SetServiceStatus]
push 0
push 0
push ebx
push 0x407160
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push edi
push dword [ebx + 0x38]
mov dword [ebx + 0x48], eax
mov dword [ebx + 0x20], 4
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x34], 0
mov dword [ebx + 0x30], 0
call dword [sym.imp.ADVAPI32.dll_SetServiceStatus]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x408fe0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x238
mov eax, dword [0x434064]
xor eax, esp
mov dword [esp + 0x234], eax
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esp + 8], esi
cmp dword [eax + 0x14], 8
push edi
mov edi, dword [ebp + 0xc]
mov dword [esp + 0xc], 0x208
jb 0x40901c
mov eax, dword [eax]
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0x34]
push ecx
push 0
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4090a5
lea ecx, [esp + 0x30]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], 7
lea edx, [ecx + 2]
mov word [esp + 0x10], ax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x409050
sub ecx, edx
lea eax, [esp + 0x30]
sar ecx, 1
push ecx
push eax
lea ecx, [esp + 0x18]
call fcn.00404110
movups xmm0, xmmword [esp + 0x10]
mov dword [esi + 0x10], 0
mov eax, esi
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
movq xmm0, qword [esp + 0x20]
movq qword [esi + 0x10], xmm0
pop edi
pop esi
mov ecx, dword [esp + 0x234]
xor ecx, esp
call fcn.0040a1f8
mov esp, ebp
pop ebp
ret
push edi
mov ecx, esi
call fcn.00408270
mov ecx, dword [esp + 0x23c]
mov eax, esi
pop edi
pop esi
xor ecx, esp
call fcn.0040a1f8
mov esp, ebp
pop ebp
ret

Function at 0x41a5ff
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041a2ad

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x10005a30
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x37c8
call fcn.10063fd0
mov eax, dword [0x1008f00c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push dword [ecx]
lea eax, [ebp - 0x108]
xor esi, esi
push str..PhysicalDrive_d
push eax
call fcn.10006300
add esp, 0xc
lea eax, [ebp - 0x108]
push esi
push esi
push 3
push esi
push 3
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x10005c53
push 0x2710
lea eax, [ebp - 0x37b8]
mov dword [ebp - 0x37bc], esi
push esi
push eax
mov dword [ebp - 0x37c0], esi
mov dword [ebp - 0x37c8], esi
mov dword [ebp - 0x37c4], esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x37bc]
push esi
push eax
push 0x2710
lea eax, [ebp - 0x37b8]
push eax
push 0xc
lea eax, [ebp - 0x37c8]
push eax
push 0x2d1400
push edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x10005c46
mov edx, dword [ebp - 0x37ac]
lea eax, [ebp - 0x8d8]
push eax
push esi
lea ecx, [ebp - 0x37b8]
call fcn.100058a0
mov edx, dword [ebp - 0x37a8]
lea eax, [ebp - 0xcc0]
push eax
push esi
lea ecx, [ebp - 0x37b8]
call fcn.100058a0
mov edx, dword [ebp - 0x37a4]
lea eax, [ebp - 0x10a8]
push eax
push esi
lea ecx, [ebp - 0x37b8]
call fcn.100058a0
mov edx, dword [ebp - 0x37a0]
lea eax, [ebp - 0x4f0]
push eax
push 1
lea ecx, [ebp - 0x37b8]
call fcn.100058a0
add esp, 0x20
cmp byte [0x10090b30], 0
jne 0x10005c09
movsx eax, byte [ebp - 0x4f0]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isalnum]
add esp, 4
test eax, eax
jne 0x10005b82
movsx eax, byte [ebp - 0x4dd]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isalnum]
add esp, 4
test eax, eax
je 0x10005c09
xor ecx, ecx
nop dword [eax]
nop dword [eax + eax]
mov al, byte [ebp + ecx - 0x8d8]
lea ecx, [ecx + 1]
mov byte [ecx + 0x1009072f], al
test al, al
jne 0x10005b90
xor ecx, ecx
nop word [eax + eax]
mov al, byte [ebp + ecx - 0xcc0]
lea ecx, [ecx + 1]
mov byte [ecx + 0x1008ff2f], al
test al, al
jne 0x10005bb0
xor ecx, ecx
nop word [eax + eax]
mov al, byte [ebp + ecx - 0x4f0]
lea ecx, [ecx + 1]
mov byte [ecx + 0x10090b2f], al
test al, al
jne 0x10005bd0
xor ecx, ecx
nop word [eax + eax]
mov al, byte [ebp + ecx - 0x10a8]
lea ecx, [ecx + 1]
mov byte [ecx + 0x1009032f], al
test al, al
jne 0x10005bf0
mov esi, 1
push 0x2710
lea eax, [ebp - 0x37b8]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x37bc]
push 0
push eax
push 0x2710
lea eax, [ebp - 0x37b8]
push eax
push 0
push 0
push 0x700a0
push edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
jmp 0x10005c4c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.10062c29
mov esp, ebp
pop ebp
ret
Function at 0x100068d0
Capabilities:
Allocate or change rwx memory
Encode data using xor
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd0
mov eax, dword [0x1008f00c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x10006951
push edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0xd0]
push eax
push 0x40
push 4
push esi
call edi
mov eax, dword [esi]
push 0
push dword [ebp - 0xd0]
mov dword [ebp - 0xcc], eax
push 4
push esi
call edi
xor eax, eax
nop word [eax + eax]
xor byte [ebp + eax - 0xcc], al
inc eax
cmp eax, 4
jb 0x10006920
lea eax, [ebp - 0xd0]
push eax
push 0x40
push 4
push esi
call edi
mov eax, dword [ebp - 0xcc]
push 0
push dword [ebp - 0xd0]
mov dword [esi], eax
push 4
push esi
call edi
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.10062c29
mov esp, ebp
pop ebp
ret 4

Function at 0x10006970
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xcc
mov eax, dword [0x1008f00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
test eax, eax
je 0x100069b7
mov eax, dword [eax]
mov dword [ebp - 0xcc], eax
xor eax, eax
xor byte [ebp + eax - 0xcc], al
inc eax
cmp eax, 4
jb 0x10006994
mov eax, dword [ebp - 0xcc]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10062c29
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.10062c29
mov esp, ebp
pop ebp
ret 4

Function at 0x100069d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006440d
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
mov eax, dword [0x1008f00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
cmp dword [0x1008f540], 0x10
mov eax, 0x1008f52c
cmovae eax, dword [0x1008f52c]
cmp byte [eax], 0
je 0x10006aea
mov ecx, dword [ebp + 8]
cmp byte [ecx], 0
je 0x10006aea
cmp dword [0x1008f1b0], 0x10
mov eax, 0x1008f19c
cmovae eax, dword [0x1008f19c]
cmp byte [eax], 0
je 0x10006aea
mov esi, 0x10095158
mov edx, ecx
sub esi, ecx
mov al, byte [edx]
lea edx, [edx + 1]
mov byte [esi + edx - 1], al
test al, al
jne 0x10006a46
mov edx, 0x10091930
sub edx, ecx
nop word [eax + eax]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x10006a60
mov ecx, dword [0x100959f0]
mov edx, 0x1008f52c
cmp dword [0x1008f540], 0x10
push 0x10095158
cmovae edx, dword [0x1008f52c]
mov eax, dword [ecx]
push edx
call dword [eax + 8]
test eax, eax
jne 0x10006aea
mov ecx, 0x98
xor edx, edx
nop dword [eax]
mov al, byte [edx + 0x10080838]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x28], al
and ecx, 0x800000ff
jns 0x10006abd
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0x14
jl 0x10006aa0
mov byte [ebp - 0x14], 0
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 4], 0
mov eax, dword [0x1009115c]
mov esi, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0x4c]
mov ecx, dword [0x1009115c]
push eax
lea eax, [ebp - 0x28]
push eax
call dword [esi]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x10006b00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006443d
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x1008f00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
lea esi, [ebp + 8]
cmp dword [ebp + 0x1c], 0x10
cmovae esi, dword [ebp + 8]
lea ecx, [esi + 1]
nop dword [eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x10006b40
sub esi, ecx
push esi
call fcn.1006355e
add esp, 4
xor edx, edx
mov edi, eax
test esi, esi
js 0x10006b6b
nop word [eax + eax]
xor byte [edx + edi], dl
lea ecx, [edx + edi]
inc edx
cmp edx, esi
jle 0x10006b60
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x10006ba1
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10006b97
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10006b97
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10063550
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x18

Function at 0x10007f70
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x1008f00c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
xor esi, esi
test edi, edi
js 0x10007fa7
nop
lea eax, [ebp - 8]
push eax
push 0x40
push 4
lea eax, [ebx + esi]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
inc esi
cmp esi, edi
jle 0x10007f90
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10062c29
mov esp, ebp
pop ebp
ret 8

Function at 0x100082b0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x1008f00c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 8]
push eax
push 0x40
push 4
mov ebx, dword [edi]
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
mov dword [edi], ecx
push 4
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
xor ecx, ebp
pop ebx
call fcn.10062c29
mov esp, ebp
pop ebp
ret 8
Function at 0x10008300
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x10088800
push 0x10062eb9
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x1008f00c]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov esi, dword [ebp + 8]
mov dword [ebp - 4], 0
lea eax, [ebp - 0x20]
push eax
push 0x40
mov edi, dword [ebp + 0x10]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp + 0xc]
sub eax, esi
sub eax, 5
mov byte [esi], 0xe8
mov dword [esi + 1], eax
mov eax, 5
mov dword [ebp - 0x28], eax
cmp eax, edi
jae 0x10008372
mov byte [esi + eax], 0x90
inc eax
jmp 0x10008364
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x20]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
jmp 0x1000838c
mov dword [ebp - 4], 0xfffffffe
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.10062c29
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10013080
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x1008f00c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
mov eax, edx
mov dword [ebp - 0xc], eax
cmp ebx, 0x1000
jbe 0x100130d7
test eax, eax
je 0x100130d7
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x100130d6
lea eax, [ebp - 8]
push eax
push 0x40
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push edi
push dword [ebp - 0xc]
push ebx
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.10062c29
mov esp, ebp
pop ebp
ret

Function at 0x100130f0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x1008f00c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
mov edi, dword [0x10096770]
mov ebx, edx
cmp edi, 0x1000
jbe 0x10013139
test ebx, ebx
je 0x10013139
lea eax, [ebp - 8]
push eax
push 0x40
push 1
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov al, byte [ebx]
mov byte [edi], al
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 1
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.10062c29
mov esp, ebp
pop ebp
ret

Function at 0x100132e0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x1008f00c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
cmp ebx, 0x1000
jbe 0x1001333e
test edi, edi
je 0x1001333e
push esi
push edi
call fcn.1006355e
add esp, 4
mov esi, eax
lea eax, [ebp - 8]
push eax
push 0x40
push edi
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push edi
push ebx
push esi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov eax, esi
pop esi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10062c29
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop ebx
call fcn.10062c29
mov esp, ebp
pop ebp
ret 8

Function at 0x10013360
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x1008f00c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push edi
call fcn.1006355e
add esp, 4
mov ebx, eax
lea eax, [ebp - 8]
mov dword [ebp - 0xc], ebx
push eax
push 0x40
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test edi, edi
jle 0x100133ce
sub ebx, esi
nop dword [eax + eax]
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100133b2
mov al, byte [esi]
mov byte [ebx + esi], al
inc esi
sub edi, 1
jne 0x100133a0
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10062c29
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10062c29
mov esp, ebp
pop ebp
ret 8