joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10001cd0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x10044020]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0
push esi
push edi
mov edi, ecx
jne 0x10001d68
mov eax, dword [0x10044a34]
mov dword [edi + 0x424], 0
mov byte [eax], 0
mov eax, dword [0x10044a28]
mov dword [eax], 0
cmp byte [edi + 0x428], 0
je 0x10001e3b
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 8]
push eax
push 0x40
push 7
push 0x53f424
call esi
mov eax, dword [edi + 0x428]
mov ecx, 0x53f424
mov dword [ecx], eax
mov ax, word [edi + 0x42c]
mov word [ecx + 4], ax
mov al, byte [edi + 0x42e]
mov byte [ecx + 6], al
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 7
push ecx
call esi
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001365b
mov esp, ebp
pop ebp
ret 4
cmp byte [edi + 0x428], 0
jne 0x10001dc3
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 8]
push eax
push 0x40
push 7
push 0x53f424
call esi
mov ecx, 0x53f424
mov eax, dword [ecx]
mov dword [edi + 0x428], eax
mov ax, word [ecx + 4]
mov word [edi + 0x42c], ax
mov al, byte [ecx + 6]
mov ecx, 0x90909090
mov byte [edi + 0x42e], al
mov eax, 0x53f424
mov dword [eax], ecx
mov word [eax + 4], cx
mov byte [eax + 6], cl
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
jmp 0x10001dfb
cmp byte [0x53f424], 0x90
je 0x10001e04
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0xc]
push eax
push 0x40
push 7
push 0x53f424
call esi
mov eax, 0x53f424
mov ecx, 0x90909090
mov dword [eax], ecx
mov word [eax + 4], cx
mov byte [eax + 6], cl
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0xc]
push 7
push 0x53f424
call esi
cmp dword [ebp + 8], 2
mov eax, dword [0x10044a34]
jne 0x10001e2e
mov dword [edi + 0x424], 2
pop edi
mov byte [eax], 2
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001365b
mov esp, ebp
pop ebp
ret 4
mov dword [edi + 0x424], 1
mov byte [eax], 1
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1001365b
mov esp, ebp
pop ebp
ret 4
Function at 0x10002800
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003034f
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x28
mov eax, dword [0x10044020]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x34], ecx
mov eax, dword [ebx + 0xc]
mov edi, dword [ebx + 8]
mov dword [ebp - 0x20], eax
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0
cmp eax, 0xffffffff
jne 0x10002884
mov ecx, edi
call fcn.10001290
mov ecx, eax
mov dword [ebp - 0x1c], ecx
cmp ecx, 5
jge 0x10002884
add ecx, edi
call fcn.10001290
mov ecx, dword [ebp - 0x1c]
add ecx, eax
mov dword [ebp - 0x1c], ecx
cmp ecx, 5
jl 0x10002870
push 0x18
call fcn.10013669
add esp, 4
mov dword [ebp - 0x2c], eax
mov esi, dword [ebp - 0x1c]
xorps xmm0, xmm0
mov byte [ebp - 4], 1
movups xmmword [eax], xmm0
push 1
movq qword [eax + 0x10], xmm0
mov dword [eax + 0x10], esi
call fcn.10013669
mov edx, dword [ebp - 0x2c]
mov ecx, eax
mov eax, esi
mov dword [ebp - 0x28], ecx
mov esi, dword [ebp - 0x20]
add esp, 4
mov byte [ecx], al
mov dword [edx + 4], esi
mov esi, dword [ebx + 0x10]
mov dword [edx + 8], edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [edx], ecx
mov dword [edx + 0x14], esi
lea edx, [ebp - 0x18]
push edx
push 0x40
push eax
push ecx
call edi
mov esi, dword [ebp - 0x1c]
push esi
push dword [ebp - 0x24]
push dword [ebp - 0x28]
call fcn.10014fd0
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x18]
push esi
push dword [ebp - 0x28]
call edi
mov esi, dword [ebp - 0x2c]
mov eax, dword [esi + 0x14]
sub eax, 0
je 0x10002920
sub eax, 1
je 0x10002920
sub eax, 1
jne 0x1000292d
push dword [ebp - 0x20]
mov ecx, esi
push dword [ebp - 0x24]
call fcn.1000dcb0
jmp 0x1000292d
push dword [ebp - 0x20]
mov ecx, esi
push dword [ebp - 0x24]
call fcn.1000def0
mov ecx, dword [ebp - 0x34]
lea eax, [ebx + 0x18]
push eax
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 0
push eax
call fcn.10003510
mov eax, dword [eax]
mov dword [eax + 0x20], esi
mov eax, dword [ebx + 0x10]
mov dword [esi + 0x14], eax
mov ecx, dword [ebx + 0x2c]
cmp ecx, 0x10
jb 0x1000297c
mov edx, dword [ebx + 0x18]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10002972
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000299e
push ecx
push edx
call fcn.1001369e
add esp, 8
mov eax, esi
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.1001365b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x28
call fcn.100186a9
int3
Function at 0x100029b0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10030395
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x10044020]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x24], edi
movzx eax, byte [edx]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edx + 1]
xor ecx, eax
movzx eax, byte [edx + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, ebx
push eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x18]
push edx
push eax
call fcn.10003410
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x10002a3a
mov dword [edi], eax
mov byte [edi + 4], 0
jmp 0x10002b84
cmp dword [ebx + 8], 0x4924924
je 0x10002b9a
lea eax, [ebx + 4]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 4], 0
push 0x38
mov dword [ebp - 0x28], 0
call fcn.10013669
mov esi, eax
add esp, 4
mov dword [ebp - 0x28], esi
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 4], 1
mov ecx, dword [ecx]
mov dword [esi + 8], ecx
mov dword [esi + 0x34], 0
mov eax, dword [ebx + 8]
inc eax
movss xmm3, dword [ebx]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x1003e760]
mov eax, dword [ebx + 0x1c]
cvtpd2ps xmm2, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x1003e760]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
jbe 0x10002b37
divss xmm2, xmm3
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x18], xmm0
fld qword [ebp - 0x18]
fstp qword [esp]
call fcn.1002c410
fstp qword [ebp - 0x18]
movsd xmm0, qword [ebp - 0x18]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.1002db60
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [ebx + 0x1c]
cmp eax, ecx
jae 0x10002b19
cmp eax, 0x200
jae 0x10002b17
shl eax, 3
cmp eax, ecx
jae 0x10002b19
mov eax, ecx
push eax
mov ecx, ebx
call fcn.100030c0
push dword [ebp - 0x1c]
lea eax, [esi + 8]
mov ecx, ebx
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.10003410
mov edx, dword [eax]
jmp 0x10002b3a
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 4]
inc dword [ebx + 8]
mov edi, dword [ebp - 0x20]
mov dword [esi + 4], eax
mov dword [esi], edx
mov dword [eax], esi
mov dword [edx + 4], esi
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x18]
and eax, dword [ebp - 0x1c]
mov ebx, dword [ecx + eax*8]
cmp ebx, dword [edi]
jne 0x10002b65
mov dword [ecx + eax*8], esi
jmp 0x10002b77
cmp ebx, edx
jne 0x10002b6e
mov dword [ecx + eax*8], esi
jmp 0x10002b7b
mov edx, dword [ebp - 0x10]
cmp dword [ecx + eax*8 + 4], edx
jne 0x10002b7b
mov dword [ecx + eax*8 + 4], esi
mov edi, dword [ebp - 0x24]
mov dword [edi], esi
mov byte [edi + 4], 1
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push str.unordered_map_set_too_long
call fcn.10012857
int3
Function at 0x100030c0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, ecx
mov eax, 0x1fffffff
bsr ecx, eax
push esi
push edi
mov edi, 1
mov dword [ebp - 0x10], ebx
mov eax, edi
shl eax, cl
mov ecx, dword [ebp + 8]
cmp ecx, eax
ja 0x1000321b
lea eax, [ecx - 1]
mov esi, dword [ebx + 4]
or eax, edi
mov dword [ebp - 8], esi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
lea ecx, [ebx + 0xc]
lea eax, [edi + edi]
push eax
call fcn.10002700
lea eax, [edi - 1]
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x18], eax
mov eax, dword [ebx + 4]
mov eax, dword [eax]
mov ecx, eax
cmp eax, esi
je 0x100031ee
movzx edx, byte [eax + 8]
xor edx, 0x811c9dc5
mov ecx, dword [ecx]
imul edi, edx, 0x1000193
movzx edx, byte [eax + 9]
xor edi, edx
movzx edx, byte [eax + 0xa]
imul edi, edi, 0x1000193
xor edi, edx
movzx edx, byte [eax + 0xb]
imul edi, edi, 0x1000193
xor edi, edx
imul edx, edi, 0x1000193
mov edi, dword [ebx + 0x18]
and edi, edx
mov edx, dword [ebx + 0xc]
mov ebx, dword [edx + edi*8]
lea edx, [edx + edi*8]
mov dword [ebp - 0xc], edx
cmp ebx, esi
jne 0x10003174
mov dword [edx], eax
mov dword [edx + 4], eax
jmp 0x100031e1
mov edx, dword [edx + 4]
mov edi, dword [eax + 8]
cmp edi, dword [edx + 8]
jne 0x100031ae
mov edx, dword [edx]
mov dword [ebp - 4], edx
cmp edx, eax
je 0x100031a6
mov ebx, dword [eax + 4]
mov esi, dword [ebp - 4]
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov esi, dword [ebp - 8]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
mov edx, dword [ebp - 0xc]
mov dword [edx + 4], eax
jmp 0x100031e1
cmp ebx, edx
je 0x100031be
mov edx, dword [edx + 4]
cmp edi, dword [edx + 8]
je 0x100031f7
cmp ebx, edx
jne 0x100031b2
mov ebx, dword [eax + 4]
mov dword [ebp - 4], ebx
mov dword [ebx], ecx
mov ebx, dword [ecx + 4]
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov dword [edx + 4], ebx
mov edx, dword [ebp - 4]
mov dword [ecx + 4], edx
mov edx, dword [ebp - 0xc]
mov dword [eax + 4], edi
mov dword [edx], eax
mov ebx, dword [ebp - 0x10]
mov eax, ecx
cmp ecx, esi
jne 0x10003122
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [eax + 4]
mov edx, dword [edx]
mov dword [ebp - 4], edx
mov esi, edx
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov esi, dword [ebp - 8]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
jmp 0x100031e1
push str.invalid_hash_bucket_count
call fcn.10012857
int3
Function at 0x10003a20
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x10044020]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push edi
mov edi, dword [ecx + 4]
cmp dword [eax], 0
jne 0x10003ac8
cmp dword [edi + 0x424], 2
jne 0x10003ad1
mov eax, dword [0x10044a34]
mov dword [edi + 0x424], 0
mov byte [eax], 0
mov eax, dword [0x10044a28]
mov dword [eax], 0
cmp byte [edi + 0x428], 0
je 0x10003ad1
lea eax, [ebp - 8]
push eax
push 0x40
push 7
push 0x53f424
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [edi + 0x428]
mov ecx, 0x53f424
mov dword [ecx], eax
mov ax, word [edi + 0x42c]
mov word [ecx + 4], ax
mov al, byte [edi + 0x42e]
mov byte [ecx + 6], al
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 7
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001365b
mov esp, ebp
pop ebp
ret 4
push 2
mov ecx, edi
call fcn.10001cd0
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.1001365b
mov esp, ebp
pop ebp
ret 4

Function at 0x10003b20
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x10044020]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push edi
mov edi, dword [ecx + 4]
cmp dword [eax], 0
jne 0x10003bc8
cmp dword [edi + 0x424], 1
jne 0x10003bd1
mov eax, dword [0x10044a34]
mov dword [edi + 0x424], 0
mov byte [eax], 0
mov eax, dword [0x10044a28]
mov dword [eax], 0
cmp byte [edi + 0x428], 0
je 0x10003bd1
lea eax, [ebp - 8]
push eax
push 0x40
push 7
push 0x53f424
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [edi + 0x428]
mov ecx, 0x53f424
mov dword [ecx], eax
mov ax, word [edi + 0x42c]
mov word [ecx + 4], ax
mov al, byte [edi + 0x42e]
mov byte [ecx + 6], al
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 7
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001365b
mov esp, ebp
pop ebp
ret 4
push 1
mov ecx, edi
call fcn.10001cd0
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.1001365b
mov esp, ebp
pop ebp
ret 4
Function at 0x10007330
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10030a9d
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x10044020]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x14], ebx
mov eax, dword [ebx]
push 0
push 0
mov eax, dword [eax + 4]
mov dword [ebx + eax], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov eax, dword [ebx]
mov edx, dword [eax + 4]
lea eax, [edx - 0x18]
mov dword [edx + ebx - 4], eax
mov eax, dword [ebx]
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov edi, dword [eax + 4]
add edi, ebx
mov ecx, edi
mov dword [edi + 0x30], 0
mov dword [edi + 8], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0x201
mov dword [edi + 0x18], 6
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
call fcn.10004720
push 8
call fcn.10013669
mov esi, eax
xorps xmm0, xmm0
add esp, 4
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 1
call fcn.10012aea
mov dword [esi + 4], eax
add esp, 4
mov eax, dword [ebp + 8]
mov dword [edi + 0x30], esi
mov dword [edi + 0x38], eax
mov dword [edi + 0x3c], 0
mov ecx, dword [esi + 4]
mov dword [ebp - 0x1c], ecx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x20]
mov dword [ebp - 4], 2
push eax
call fcn.10007990
add esp, 4
mov ecx, dword [eax]
push 0x20
mov edx, dword [ecx + 0x20]
mov ecx, eax
call edx
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x1c]
mov byte [ebp + 0xb], al
test ecx, ecx
je 0x1000745a
mov edx, dword [ecx]
call dword [edx + 8]
test eax, eax
je 0x1000745a
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
cmp dword [edi + 0x38], 0
mov al, byte [ebp + 0xb]
mov byte [edi + 0x40], al
jne 0x10007476
mov eax, dword [edi + 0xc]
mov ecx, edi
push 0
or eax, 4
push eax
call fcn.10004720
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10007590
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10030ae0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x10044020]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
push 8
mov dword [eax], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.10013669
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.10012aea
mov dword [esi + 4], eax
add esp, 8
mov eax, dword [ebp - 0x10]
lea edi, [eax + 0x14]
lea ecx, [eax + 0x18]
lea edx, [eax + 0x24]
mov dword [eax + 0x34], esi
lea ebx, [eax + 4]
mov dword [eax + 0xc], ebx
lea esi, [eax + 8]
mov dword [eax + 0x10], esi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], ecx
mov dword [eax + 0x2c], edx
add eax, 0x28
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x14]
mov dword [esi], 0
mov dword [ecx], 0
mov dword [eax], 0
mov eax, dword [ebp - 0x10]
mov dword [ebx], 0
mov dword [edi], 0
mov dword [edx], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000a1c0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10030df5
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x10044020]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
sub eax, 0
je 0x1000a261
sub eax, 1
jne 0x1000a26a
cmp dword [0x10046f50], eax
jne 0x1000a26a
push ecx
mov dword [0x10046f50], ecx
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
push 4
call fcn.10013669
mov dword [ebp - 0x14], eax
mov dword [eax], 0x1000a100
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0
push ecx
push 0
push eax
push 0x1000a2d0
push 0
push 0
call fcn.10018a21
add esp, 0x1c
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x1000a297
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x1000a28a
push ecx
push eax
call fcn.1001320e
add esp, 8
test eax, eax
jne 0x1000a291
jmp 0x1000a26a
mov eax, dword [0x10046f54]
mov byte [eax + 0x54], 1
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001365b
mov esp, ebp
pop ebp
ret 0xc
push 1
call fcn.10013129
push eax
call fcn.100130fc
push 6
mov dword [ebp - 0x18], 0
call fcn.10013129
int3

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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x21c
mov eax, dword [0x10044020]
xor eax, esp
mov dword [esp + 0x218], eax
push ebx
mov bl, byte [ebp + 8]
xorps xmm0, xmm0
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
xor bh, bh
push edi
xor edi, edi
movq qword [esp + 0x10], xmm0
test bl, bl
je 0x1000abd6
lea eax, [esp + 0x1c]
push eax
push 0x40
push 0xd
push 0x538672
call esi
mov eax, 0x538672
movq xmm0, qword [eax]
mov edi, dword [eax + 8]
mov bh, byte [eax + 0xc]
mov dword [eax], 0x90909090
mov dword [eax + 4], 0x90909090
mov dword [eax + 8], 0x90909090
mov byte [eax + 0xc], 0x90
lea eax, [esp + 0x1c]
push eax
push dword [esp + 0x20]
movq qword [esp + 0x18], xmm0
push 0xd
push 0x538672
call esi
lea eax, [ebp + 0x10]
push eax
push 0
push dword [ebp + 0xc]
lea eax, [esp + 0x2c]
push 0x1ff
push eax
call fcn.1000a330
mov ecx, dword [eax]
push dword [eax + 4]
or ecx, 2
push ecx
call fcn.1001ac00
lea eax, [esp + 0x3c]
push eax
push dword [0x7f94cc]
call dword [0x10044a7c]
add esp, 0x24
test bl, bl
je 0x1000ac4b
lea eax, [esp + 0x1c]
push eax
push 0x40
push 0xd
push 0x538672
call esi
movq xmm0, qword [esp + 0x10]
mov eax, 0x538672
movq qword [eax], xmm0
mov dword [eax + 8], edi
mov byte [eax + 0xc], bh
lea eax, [esp + 0x1c]
push eax
push dword [esp + 0x20]
push 0xd
push 0x538672
call esi
mov ecx, dword [esp + 0x224]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1001365b
mov esp, ebp
pop ebp
ret
Function at 0x1000def0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x10044020]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov al, byte [edi]
cmp al, 0xe9
je 0x1000df15
cmp al, 0xe8
jne 0x1000df58
mov ecx, edi
mov dword [esi + 4], ebx
mov dword [esi + 8], edi
call fcn.1000f5b0
mov dword [esi + 0xc], eax
lea eax, [ebp - 8]
push eax
push 0x40
push 5
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [esi]
mov eax, dword [edi]
push 0
mov dword [ecx], eax
mov al, byte [edi + 4]
mov byte [ecx + 4], al
mov eax, ebx
push dword [ebp - 8]
sub eax, edi
push 5
sub eax, 5
push edi
mov dword [edi + 1], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 8]
push eax
push 0x40
push 5
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebx]
mov dword [esi], eax
mov al, byte [ebx + 4]
mov byte [esi + 4], al
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 5
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1001365b
mov esp, ebp
pop ebp
ret 8
Function at 0x1000ef20
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100314a4
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x40
mov eax, dword [0x10044020]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], ecx
mov eax, dword [ebx + 8]
mov dword [ebp - 0x4c], ecx
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x48]
mov eax, dword [eax + 0xc]
xorps xmm0, xmm0
push 9
push str.main_loop
mov dword [ebp - 0x20], eax
movups xmmword [ebp - 0x48], xmm0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
call fcn.10002e20
mov ecx, 0x5473c3
mov byte [ebp - 4], 1
call fcn.10001290
mov ecx, eax
mov dword [ebp - 0x1c], ecx
cmp ecx, 5
jge 0x1000efe8
nop word [eax + eax]
add ecx, 0x5473c3
call fcn.10001290
mov ecx, dword [ebp - 0x1c]
add ecx, eax
mov dword [ebp - 0x1c], ecx
cmp ecx, 5
jl 0x1000efd0
push 0x18
call fcn.10013669
mov esi, eax
add esp, 4
mov dword [ebp - 0x28], esi
mov eax, dword [ebp - 0x1c]
xorps xmm0, xmm0
mov byte [ebp - 4], 2
movups xmmword [esi], xmm0
push 1
movq qword [esi + 0x10], xmm0
mov dword [esi + 0x10], eax
call fcn.10013669
add esp, 4
lea ecx, [ebp - 0x18]
mov edi, eax
mov eax, dword [ebp - 0x1c]
push ecx
push 0x40
mov byte [edi], al
push eax
mov dword [esi], edi
mov dword [esi + 8], 0x5473c3
mov dword [esi + 4], 0x1000ed80
mov dword [esi + 0x14], 2
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push edi
call esi
mov eax, dword [ebp - 0x1c]
push eax
push 0x5473c3
push edi
call fcn.10014fd0
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push edi
call esi
mov esi, dword [ebp - 0x28]
mov eax, dword [esi + 0x14]
sub eax, 0
je 0x1000f08b
sub eax, 1
je 0x1000f08b
sub eax, 1
jne 0x1000f09c
push 0x1000ed80
push 0x5473c3
mov ecx, esi
call fcn.1000dcb0
jmp 0x1000f09c
push 0x1000ed80
push 0x5473c3
mov ecx, esi
call fcn.1000def0
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 1
push eax
call fcn.10003510
mov eax, dword [eax]
mov dword [eax + 0x20], esi
mov dword [esi + 0x14], 2
mov ecx, dword [ebp - 0x34]
cmp ecx, 0x10
jb 0x1000f0ec
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000f0e2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000f10f
push ecx
push edx
call fcn.1001369e
add esp, 8
mov eax, dword [ebp - 0x24]
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.1001365b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
call fcn.100186a9
int3