joyce8/EMBER2024-capa huggingface dataset:
Function at 0x445d60
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x445d9a
mov eax, dword [0x53db38]
mov dword [esi + 4], 0
mov dword [esi], 0
test eax, eax
je 0x445d8d
dec dword [eax + 0xb0]
push ecx
call edi
add esp, 4
mov dword [esi + 8], 0
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x445dcb
mov eax, dword [0x53db38]
mov dword [esi + 0x10], 0
mov dword [esi + 0xc], 0
test eax, eax
je 0x445dbe
dec dword [eax + 0xb0]
push ecx
call edi
add esp, 4
mov dword [esi + 0x14], 0
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x445dfc
mov eax, dword [0x53db38]
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0
test eax, eax
je 0x445def
dec dword [eax + 0xb0]
push ecx
call edi
add esp, 4
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x445e49
mov eax, dword [0x53db38]
mov dword [esi + 0x40], 0
mov dword [esi + 0x3c], 0
test eax, eax
je 0x445e3c
dec dword [eax + 0xb0]
push ecx
call edi
add esp, 4
mov dword [esi + 0x44], 0
mov ecx, dword [esi + 0x50]
test ecx, ecx
je 0x445e7a
mov eax, dword [0x53db38]
mov dword [esi + 0x4c], 0
mov dword [esi + 0x48], 0
test eax, eax
je 0x445e6d
dec dword [eax + 0xb0]
push ecx
call edi
add esp, 4
mov dword [esi + 0x50], 0
mov ecx, dword [esi + 0x5c]
test ecx, ecx
je 0x445eab
mov eax, dword [0x53db38]
mov dword [esi + 0x58], 0
mov dword [esi + 0x54], 0
test eax, eax
je 0x445e9e
dec dword [eax + 0xb0]
push ecx
call edi
add esp, 4
mov dword [esi + 0x5c], 0
pop edi
lea ecx, [esi + 0x78]
pop esi
jmp fcn.00449e90
Function at 0x45f840
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
push esi
push edi
mov esi, edx
mov dword [ebp - 0x40], 0x51352442
mov edi, ecx
mov dword [ebp - 0x3c], 0x6054614f
mov dword [ebp - 0x38], 0x48426670
xor edx, edx
mov dword [ebp - 0x34], 0x2b6e3f6d
mov dword [ebp - 0x30], 0x3f51266b
mov dword [ebp - 0x2c], 0x4e473736
mov dword [ebp - 0x28], 0x4d264528
mov dword [ebp - 0x24], 0x673b4d2b
mov dword [ebp - 0x20], 0x52295547
mov dword [ebp - 0x1c], 0x7e5b6a53
mov dword [ebp - 0x18], 0x4c21613f
mov dword [ebp - 0x14], 0x2d3e215f
mov dword [ebp - 0x10], 0x60405465
mov dword [ebp - 0xc], 0x3f4a4350
mov dword [ebp - 8], 0x566b462b
mov byte [ebp - 4], 0x55
nop dword [eax]
xor eax, eax
test esi, esi
je 0x45f8db
mov bl, byte [ebp + edx - 0x40]
nop word [eax + eax]
xor byte [edi + eax], bl
lea ecx, [edi + eax]
inc eax
cmp eax, esi
jb 0x45f8d0
inc edx
cmp edx, 0x3d
jb 0x45f8c0
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x460510
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x464f27
mov eax, dword fs:[0]
push eax
sub esp, 0x13c
mov eax, dword [0x47b040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov esi, ecx
mov dword [ebp - 0x13c], esi
mov dword [ebp - 0x148], esi
xorps xmm0, xmm0
mov dword [ebp - 0x140], 1
movq qword [esi], xmm0
mov dword [esi + 8], 0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
push 0
mov dword [ebp - 4], 0
push 2
mov dword [ebp - 0x140], 1
mov dword [ebp - 0x138], 0x128
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x13c], eax
cmp eax, 0xffffffff
je 0x4606c2
lea ecx, [ebp - 0x138]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_Process32First]
lea edi, [ebp - 0x114]
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x4605c5
sub edi, ecx
cmp dword [ebx + 0x14], 0xf
mov ecx, ebx
jbe 0x4605d8
mov ecx, dword [ebx]
mov edx, dword [ebx + 0x10]
lea eax, [ebp - 0x114]
push edi
push eax
call fcn.004233b0
add esp, 8
test eax, eax
jne 0x46061e
mov ecx, dword [ebp - 0x130]
movzx eax, cx
mov dword [ebp - 0x144], eax
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
je 0x46060f
mov word [eax], cx
add dword [esi + 4], 2
jmp 0x46061e
lea ecx, [ebp - 0x144]
push ecx
push eax
mov ecx, esi
call fcn.00461450
mov edi, dword [ebp - 0x13c]
lea eax, [ebp - 0x138]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
je 0x4606bb
nop word [eax + eax]
lea eax, [ebp - 0x114]
lea edx, [eax + 1]
nop dword [eax]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x460650
sub eax, edx
mov ecx, ebx
cmp dword [ebx + 0x14], 0xf
jbe 0x460663
mov ecx, dword [ebx]
mov edx, dword [ebx + 0x10]
push eax
lea eax, [ebp - 0x114]
push eax
call fcn.004233b0
add esp, 8
test eax, eax
jne 0x4606a9
mov ecx, dword [ebp - 0x130]
movzx eax, cx
mov dword [ebp - 0x13c], eax
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
je 0x46069a
mov word [eax], cx
add dword [esi + 4], 2
jmp 0x4606a9
lea ecx, [ebp - 0x13c]
push ecx
push eax
mov ecx, esi
call fcn.00461450
lea eax, [ebp - 0x138]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x460640
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00461666
mov esp, ebp
pop ebp
ret
Function at 0x4623d1
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x462410
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x462410
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x462410
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x462410
cmp dword [ecx + 0x74], 0xe
jbe 0x462410
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x11b2770
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xd6f000]
push edi
or ebp, 0xffffffff
jmp 0x11b2792
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x11b2799
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x11b2788
mov eax, 1
add ebx, ebx
jne 0x11b27ab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x11b27bc
jne 0x11b27db
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x11b27db
dec eax
add ebx, ebx
jne 0x11b27c8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x11b27a0
add ebx, ebx
jne 0x11b27d7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x11b282d
xor ecx, ecx
sub eax, 3
jb 0x11b27f3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x11b2862
sar eax, 1
mov ebp, eax
jmp 0x11b27fe
add ebx, ebx
jne 0x11b27fe
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x11b27cc
inc ecx
add ebx, ebx
jne 0x11b280c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x11b27cc
add ebx, ebx
jne 0x11b2819
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x11b280e
jne 0x11b282a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x11b280e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x11b284c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x11b283e
jmp 0x11b278e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x11b284c
add edi, ecx
jmp 0x11b278e
pop esi
mov edi, esi
mov ecx, 0x302d
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x11b286a
cmp byte [edi], 0x16
jne 0x11b286a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x11b286f
lea edi, [esi + 0xdac000]
mov eax, dword [edi]
or eax, eax
je 0x11b28e7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1ac1950]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1ac1a7c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x11b289c
mov ecx, edi
jns 0x11b28cb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1ac1a80]
or eax, eax
je 0x11b28e1
mov dword [ebx], eax
add ebx, 4
jmp 0x11b28b9
call dword [esi + 0x1ac1a90]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x11b2918
cmp al, 0xef
ja 0x11b290b
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x11b28ed
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x11b28fa
mov ebp, dword [esi + 0x1ac1a84]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x11b294c
sub esp, 0xffffff80
jmp 0x43cd8d
Function at 0x100084c0
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x37c8
call fcn.10075160
mov eax, dword [0x100a700c]
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.10008d90
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 0x100086e3
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 0x100086d6
mov edx, dword [ebp - 0x37ac]
lea eax, [ebp - 0x8d8]
push eax
push esi
lea ecx, [ebp - 0x37b8]
call fcn.10008330
mov edx, dword [ebp - 0x37a8]
lea eax, [ebp - 0xcc0]
push eax
push esi
lea ecx, [ebp - 0x37b8]
call fcn.10008330
mov edx, dword [ebp - 0x37a4]
lea eax, [ebp - 0x10a8]
push eax
push esi
lea ecx, [ebp - 0x37b8]
call fcn.10008330
mov edx, dword [ebp - 0x37a0]
lea eax, [ebp - 0x4f0]
push eax
push 1
lea ecx, [ebp - 0x37b8]
call fcn.10008330
add esp, 0x20
cmp byte [0x100a9e88], 0
jne 0x10008699
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 0x10008612
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 0x10008699
xor ecx, ecx
nop dword [eax]
nop dword [eax + eax]
mov al, byte [ebp + ecx - 0x8d8]
lea ecx, [ecx + 1]
mov byte [ecx + 0x100a9a87], al
test al, al
jne 0x10008620
xor ecx, ecx
nop word [eax + eax]
mov al, byte [ebp + ecx - 0xcc0]
lea ecx, [ecx + 1]
mov byte [ecx + 0x100a9287], al
test al, al
jne 0x10008640
xor ecx, ecx
nop word [eax + eax]
mov al, byte [ebp + ecx - 0x4f0]
lea ecx, [ecx + 1]
mov byte [ecx + 0x100a9e87], al
test al, al
jne 0x10008660
xor ecx, ecx
nop word [eax + eax]
mov al, byte [ebp + ecx - 0x10a8]
lea ecx, [ecx + 1]
mov byte [ecx + 0x100a9687], al
test al, al
jne 0x10008680
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 0x100086dc
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.10073dc9
mov esp, ebp
pop ebp
ret
Function at 0x10009880
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 [0x100a700c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x10009901
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 0x100098d0
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.10073dc9
mov esp, ebp
pop ebp
ret 4

Function at 0x10009920
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xcc
mov eax, dword [0x100a700c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
test eax, eax
je 0x10009967
mov eax, dword [eax]
mov dword [ebp - 0xcc], eax
xor eax, eax
xor byte [ebp + eax - 0xcc], al
inc eax
cmp eax, 4
jb 0x10009944
mov eax, dword [ebp - 0xcc]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10073dc9
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.10073dc9
mov esp, ebp
pop ebp
ret 4

Function at 0x10009980
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007520d
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
mov eax, dword [0x100a700c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
cmp dword [0x100a8894], 0x10
mov eax, 0x100a8880
cmovae eax, dword [0x100a8880]
cmp byte [eax], 0
je 0x10009a9a
mov ecx, dword [ebp + 8]
cmp byte [ecx], 0
je 0x10009a9a
cmp dword [0x100a84f0], 0x10
mov eax, 0x100a84dc
cmovae eax, dword [0x100a84dc]
cmp byte [eax], 0
je 0x10009a9a
mov esi, 0x100aac70
mov edx, ecx
sub esi, ecx
mov al, byte [edx]
lea edx, [edx + 1]
mov byte [esi + edx - 1], al
test al, al
jne 0x100099f6
mov edx, 0x100af750
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 0x10009a10
mov ecx, dword [0x100ab51c]
mov edx, 0x100a8880
cmp dword [0x100a8894], 0x10
push 0x100aac70
cmovae edx, dword [0x100a8880]
mov eax, dword [ecx]
push edx
call dword [eax + 8]
test eax, eax
jne 0x10009a9a
mov ecx, 0x98
xor edx, edx
nop dword [eax]
mov al, byte [edx + 0x10096bd8]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x28], al
and ecx, 0x800000ff
jns 0x10009a6d
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0x14
jl 0x10009a50
mov byte [ebp - 0x14], 0
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 4], 0
mov eax, dword [0x100af16c]
mov esi, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0x4c]
mov ecx, dword [0x100af16c]
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 0x10009ab0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007523d
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x100a700c]
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 0x10009af0
sub esi, ecx
push esi
call fcn.100746fd
add esp, 4
xor edx, edx
mov edi, eax
test esi, esi
js 0x10009b1b
nop word [eax + eax]
xor byte [edx + edi], dl
lea ecx, [edx + edi]
inc edx
cmp edx, esi
jle 0x10009b10
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x10009b51
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10009b47
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10009b47
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100746ef
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 0x1000af50
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x100a700c]
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 0x1000af87
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 0x1000af70
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10073dc9
mov esp, ebp
pop ebp
ret 8

Function at 0x1000b240
Capabilities:
Allocate or change rwx memory

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

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x1009fe18
push 0x10074058
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x100a700c]
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 0x1000b302
mov byte [esi + eax], 0x90
inc eax
jmp 0x1000b2f4
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x20]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
jmp 0x1000b31c
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.10073dc9
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10018b40
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x100a700c]
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 0x10018b97
test eax, eax
je 0x10018b97
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x10018b96
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.10073dc9
mov esp, ebp
pop ebp
ret

Function at 0x10018d40
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x100a700c]
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 0x10018d9e
test edi, edi
je 0x10018d9e
push esi
push edi
call fcn.100746fd
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.10073dc9
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop ebx
call fcn.10073dc9
mov esp, ebp
pop ebp
ret 8

Function at 0x10018dc0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x100a700c]
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.100746fd
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 0x10018e2e
sub ebx, esi
nop dword [eax + eax]
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10018e12
mov al, byte [esi]
mov byte [ebx + esi], al
inc esi
sub edi, 1
jne 0x10018e00
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10073dc9
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.10073dc9
mov esp, ebp
pop ebp
ret 8
Function at 0x10018e50
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x100a700c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
push esi
call fcn.100746fd
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 0x10018ee1
test ebx, ebx
je 0x10018ee1
test esi, esi
je 0x10018ee1
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 0x10018e90
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x30]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.10073dc9
mov esp, ebp
pop ebp
ret 8

Function at 0x10018f10
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x100a700c]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp + 8]
cmp edi, 0x1000
jbe 0x10018f4e
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.10073dc9
mov esp, ebp
pop ebp
ret 4