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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov edx, dword [ebp + 0xc]
mov eax, ecx
push ebx
push esi
push edi
cmp dword [edx + 0x14], 0x10
mov edi, edx
mov ebx, dword [edx + 0x10]
mov dword [ebp - 4], eax
jb 0x10012aae
mov edi, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
test ebx, ebx
je 0x10012ad4
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, ebx
jb 0x10012ac0
mov eax, dword [ebp - 4]
push esi
push edx
lea ecx, [ebp - 0xc]
push ecx
mov ecx, eax
call fcn.100143f0
pop edi
pop esi
pop ebx
mov ecx, dword [eax + 4]
mov eax, dword [ebp + 8]
test ecx, ecx
jne 0x10012af4
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 4]
mov dword [eax], ecx
mov esp, ebp
pop ebp
ret 8

Function at 0x10012b00
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
movzx eax, byte [edi]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor edx, eax
movzx eax, byte [edi + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [edi + 3]
imul ecx, edx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [esi + 0x18]
and ecx, eax
mov eax, dword [esi + 0xc]
lea edx, [eax + ecx*8]
mov eax, dword [edx + 4]
cmp eax, dword [esi + 4]
je 0x10012b73
mov ecx, dword [edi]
mov edx, dword [edx]
cmp ecx, dword [eax + 8]
je 0x10012b75
cmp eax, edx
je 0x10012b73
mov eax, dword [eax + 4]
cmp ecx, dword [eax + 8]
jne 0x10012b58
xor ecx, ecx
test eax, eax
setne cl
mov eax, ecx
pop edi
pop esi
pop ebp
ret 4
xor eax, eax
xor ecx, ecx
test eax, eax
pop edi
setne cl
mov eax, ecx
pop esi
pop ebp
ret 4

Function at 0x10012b90
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, ecx
movzx eax, byte [edi]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor edx, eax
movzx eax, byte [edi + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [edi + 3]
imul ecx, edx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [esi + 0x18]
and ecx, eax
mov eax, dword [esi + 0xc]
mov esi, dword [esi + 4]
lea edx, [eax + ecx*8]
mov eax, dword [edx + 4]
cmp eax, esi
je 0x10012c0e
mov ecx, dword [edi]
mov edx, dword [edx]
cmp ecx, dword [eax + 8]
je 0x10012c10
nop word [eax + eax]
cmp eax, edx
je 0x10012c0e
mov eax, dword [eax + 4]
cmp ecx, dword [eax + 8]
jne 0x10012bf0
mov ecx, dword [ebp + 8]
test eax, eax
pop edi
cmove eax, esi
pop esi
mov dword [ecx], eax
mov eax, ecx
pop ebp
ret 8
xor eax, eax
mov ecx, dword [ebp + 8]
test eax, eax
pop edi
cmove eax, esi
pop esi
mov dword [ecx], eax
mov eax, ecx
pop ebp
ret 8
Function at 0x10012c30
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005cfbd
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x10186004]
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 dword [ebp - 0x20], ecx
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x24], eax
mov ebx, dword [edi + 0x10]
lea esi, [ebx + 1]
push esi
call fcn.100200ad
push esi
push 0
push eax
mov dword [ebp - 0x1c], eax
call fcn.10037db0
mov eax, dword [ebp - 0x1c]
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov esi, dword [ebp - 0x20]
mov dword [ebp - 4], 0
mov ecx, dword [esi + 0x54]
cmp ecx, dword [esi + 0x58]
je 0x10012ca2
mov dword [ecx], eax
add dword [esi + 0x54], 4
jmp 0x10012cbf
lea eax, [ebp - 0x1c]
push eax
push ecx
lea ecx, [esi + 0x50]
call fcn.10013af0
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10012cbf
push eax
call fcn.100200a8
add esp, 4
cmp dword [edi + 0x14], 0x10
mov eax, dword [esi + 0x54]
mov esi, dword [eax - 4]
jb 0x10012ccd
mov edi, dword [edi]
test ebx, ebx
je 0x10012cdc
push ebx
push edi
push esi
call fcn.10037f10
add esp, 0xc
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0x14]
push eax
push 0x40
mov byte [esi + ebx], 0
mov ebx, dword [ebp - 0x24]
push 4
push ebx
call edi
test eax, eax
je 0x10012d0a
lea eax, [ebp - 0x18]
mov dword [ebx], esi
push eax
push dword [ebp - 0x14]
push 4
push ebx
call edi
mov al, 1
jmp 0x10012d0c
xor al, al
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.1002009a
mov esp, ebp
pop ebp
ret 8

Function at 0x10012d30
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov edx, dword [ebp + 8]
mov eax, ecx
push ebx
push esi
push edi
cmp dword [edx + 0x14], 0x10
mov edi, edx
mov ebx, dword [edx + 0x10]
mov dword [ebp - 4], eax
jb 0x10012d4e
mov edi, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
test ebx, ebx
je 0x10012d74
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, ebx
jb 0x10012d60
mov eax, dword [ebp - 4]
push esi
push edx
lea ecx, [ebp - 8]
push ecx
mov ecx, eax
call fcn.100143f0
xor ecx, ecx
pop edi
pop esi
cmp dword [eax + 4], ecx
pop ebx
setne cl
mov eax, ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x10014280
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 0x100143e3
lea eax, [ecx - 1]
mov esi, dword [ebx + 4]
or eax, edi
mov dword [ebp - 0xc], 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.1000d840
lea eax, [edi - 1]
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x18], eax
mov ecx, dword [ebx + 4]
mov ecx, dword [ecx]
mov edx, ecx
cmp ecx, esi
je 0x100143b6
movzx eax, byte [ecx + 8]
xor eax, 0x811c9dc5
mov edx, dword [edx]
imul edi, eax, 0x1000193
movzx eax, byte [ecx + 9]
xor edi, eax
movzx eax, byte [ecx + 0xa]
imul edi, edi, 0x1000193
xor edi, eax
movzx eax, byte [ecx + 0xb]
imul edi, edi, 0x1000193
xor edi, eax
imul eax, edi, 0x1000193
mov edi, dword [ebx + 0x18]
and edi, eax
mov eax, dword [ebx + 0xc]
mov ebx, dword [eax + edi*8]
mov dword [ebp - 4], ebx
lea eax, [eax + edi*8]
mov dword [ebp - 8], eax
cmp ebx, esi
jne 0x10014336
mov dword [eax], ecx
mov dword [eax + 4], ecx
jmp 0x100143a9
mov eax, dword [eax + 4]
mov ebx, dword [ecx + 8]
cmp ebx, dword [eax + 8]
jne 0x10014370
mov eax, dword [eax]
mov dword [ebp - 4], eax
cmp eax, ecx
je 0x10014368
mov ebx, dword [ecx + 4]
mov esi, dword [ebp - 4]
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov eax, dword [eax + 4]
mov dword [eax], ecx
mov dword [esi + 4], edi
mov esi, dword [ebp - 0xc]
mov dword [edx + 4], ebx
mov dword [ecx + 4], eax
mov eax, dword [ebp - 8]
mov dword [eax + 4], ecx
jmp 0x100143a9
mov edi, eax
cmp dword [ebp - 4], eax
je 0x10014386
mov eax, dword [eax + 4]
mov edi, eax
cmp ebx, dword [eax + 8]
je 0x100143bf
cmp dword [ebp - 4], eax
jne 0x10014377
mov eax, dword [ecx + 4]
mov dword [ebp - 4], eax
mov dword [eax], edx
mov ebx, dword [edx + 4]
mov dword [ebx], edi
mov eax, dword [edi + 4]
mov dword [eax], ecx
mov dword [edi + 4], ebx
mov edi, dword [ebp - 4]
mov dword [edx + 4], edi
mov dword [ecx + 4], eax
mov eax, dword [ebp - 8]
mov dword [eax], ecx
mov ebx, dword [ebp - 0x10]
mov ecx, edx
cmp edx, esi
jne 0x100142e2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ebp - 8], eax
mov esi, eax
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov eax, dword [eax + 4]
mov dword [eax], ecx
mov dword [esi + 4], edi
mov esi, dword [ebp - 0xc]
mov dword [edx + 4], ebx
mov dword [ecx + 4], eax
jmp 0x100143a9
push str.invalid_hash_bucket_count
call fcn.10020fd2
int3
Function at 0x10014730
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x10186004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ecx]
push esi
call dword [eax + 4]
mov eax, dword [eax + 4]
mov esi, dword [eax - 4]
mov eax, dword [esi + 3]
inc esi
add eax, 6
add eax, esi
mov dword [0x10189618], eax
lea eax, [esi + 6]
mov dword [0x10189614], eax
lea eax, [ebp - 8]
push eax
push 0x40
push 6
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x100147a4
mov eax, 0x90909090
mov dword [esi], eax
mov word [esi + 4], ax
mov eax, 0x100010e0
sub eax, esi
mov byte [esi], 0xe9
sub eax, 5
mov dword [esi + 1], eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
push 6
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov al, 1
jmp 0x100147a6
xor al, al
xor ecx, ecx
cmp byte [esi + 9], 0x46
pop esi
setne cl
add ecx, 2
mov dword [0x101895f0], ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002009a
mov esp, ebp
pop ebp
ret
Function at 0x10014900
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x10186004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x18], esi
mov eax, dword [esi]
call dword [eax + 4]
mov edx, dword [esi + 0x70]
mov ebx, dword [esi + 0x74]
sub ebx, edx
mov byte [ebp - 0xd], 0
mov eax, dword [eax]
sar ebx, 3
mov dword [ebp - 0x14], 5
mov dword [ebp - 0xc], edx
mov edi, dword [eax]
mov dword [ebp - 8], ebx
add edi, 0xfffffffb
xor eax, eax
test ebx, ebx
je 0x10014962
nop word [eax + eax]
movzx ecx, byte [edi + eax]
xor ecx, dword [edx + eax*8]
test dword [edx + eax*8 + 4], ecx
jne 0x100149b7
inc eax
cmp eax, ebx
jb 0x10014950
mov eax, dword [edi + 1]
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
add eax, 5
add eax, edi
mov dword [0x10189620], eax
lea eax, [ebp - 8]
push eax
push 0x40
push 5
push edi
call esi
test eax, eax
je 0x10014a39
mov eax, 0x10001110
mov byte [edi], 0xe9
sub eax, edi
sub eax, 5
mov dword [edi + 1], eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
push 5
push edi
call esi
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002009a
mov esp, ebp
pop ebp
ret
mov ebx, dword [esi + 0x98]
xor ecx, ecx
mov esi, dword [esi + 0x9c]
mov edx, edi
sub esi, ebx
sar esi, 3
test esi, esi
je 0x100149e2
movzx eax, byte [edx]
xor eax, dword [ebx + ecx*8]
test dword [ebx + ecx*8 + 4], eax
jne 0x10014a0b
inc ecx
inc edx
cmp ecx, esi
jb 0x100149d0
mov ecx, dword [ebp - 0x18]
push 0x10189620
push 0x10001110
push 6
mov ecx, dword [ecx + 0x38]
push edi
call fcn.1000fdd0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002009a
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x14]
dec edi
mov edx, dword [ebp - 0xc]
inc ecx
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x18]
mov dword [ebp - 0x14], ecx
cmp ecx, 0x20
jle 0x10014940
mov al, byte [ebp - 0xd]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002009a
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1002009a
mov esp, ebp
pop ebp
ret
Function at 0x10014ad0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x10186004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi]
call dword [eax + 4]
mov eax, dword [eax]
mov ebx, dword [eax]
cmp byte [ebx - 5], 0x83
lea esi, [ebx - 5]
jne 0x10014b1d
mov ecx, dword [edi + 0x38]
push 0x10189624
push 0x10001130
push 5
push esi
call fcn.1000fdd0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002009a
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 1]
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
add eax, ebx
mov dword [0x10189624], eax
lea eax, [ebp - 8]
push eax
push 0x40
push 5
push esi
call edi
test eax, eax
je 0x10014b72
mov eax, 0x10001130
mov dword [ebx - 4], 0x90909090
sub eax, esi
mov byte [esi], 0xe9
sub eax, 5
mov dword [esi + 1], eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
push 5
push esi
call edi
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002009a
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1002009a
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x10186004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ecx]
push ebx
push esi
push edi
call dword [eax + 4]
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [eax]
mov edi, dword [eax]
mov eax, dword [edi + 9]
add eax, 5
lea esi, [edi + 8]
add eax, esi
mov dword [0x10189634], eax
lea eax, [esi + 5]
mov dword [0x10189630], eax
lea eax, [ebp - 8]
push eax
push 0x40
push 5
push esi
call ebx
test eax, eax
je 0x10014dff
mov eax, 0x10001170
mov dword [edi + 9], 0x90909090
sub eax, esi
mov byte [esi], 0xe8
sub eax, 5
mov dword [esi + 1], eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
push 5
push esi
call ebx
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002009a
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1002009a
mov esp, ebp
pop ebp
ret
Function at 0x10017650
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x10186004]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
mov eax, dword [esi]
call dword [eax + 4]
mov edx, dword [eax]
cmp edx, dword [eax + 4]
je 0x100176d6
mov eax, dword [esi]
mov ecx, esi
push ebx
push edi
call dword [eax + 4]
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [eax]
mov edi, dword [eax]
mov eax, dword [edi + 0x25]
add eax, 5
lea esi, [edi + 0x24]
add eax, esi
mov dword [0x10189638], eax
lea eax, [esi + 5]
mov dword [0x1018963c], eax
lea eax, [ebp - 8]
push eax
push 0x40
push 5
push esi
call ebx
test eax, eax
je 0x100176cc
mov eax, 0x100011a0
mov dword [edi + 0x25], 0x90909090
sub eax, esi
mov byte [esi], 0xe9
sub eax, 5
mov dword [esi + 1], eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
push 5
push esi
call ebx
mov eax, dword [esi + 0xc]
pop edi
mov dword [0x10189640], eax
pop ebx
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.1002009a
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x10186004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ecx]
push esi
call dword [eax + 4]
mov eax, dword [eax]
mov esi, dword [eax]
mov eax, dword [esi + 5]
add esi, 3
add eax, 6
add eax, esi
mov dword [0x10189618], eax
lea eax, [esi + 6]
mov dword [0x10189614], eax
lea eax, [ebp - 8]
push eax
push 0x40
push 6
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x10017794
mov eax, 0x90909090
mov dword [esi], eax
mov word [esi + 4], ax
mov eax, 0x100011f0
sub eax, esi
mov byte [esi], 0xe9
sub eax, 5
mov dword [esi + 1], eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
push 6
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov al, 1
jmp 0x10017796
xor al, al
xor ecx, ecx
cmp byte [esi + 9], 0x43
pop esi
setne cl
add ecx, 2
mov dword [0x101895f0], ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002009a
mov esp, ebp
pop ebp
ret
Function at 0x10017890
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x10186004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi]
call dword [eax + 4]
mov eax, dword [eax]
mov ebx, dword [eax]
cmp byte [ebx - 0x19], 0x81
lea esi, [ebx - 0x19]
jne 0x100178dd
mov ecx, dword [edi + 0x38]
push 0x10189620
push 0x10001220
push 6
push esi
call fcn.1000fdd0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002009a
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 1]
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
add eax, 5
add eax, esi
mov dword [0x10189620], eax
lea eax, [ebp - 8]
push eax
push 0x40
push 5
push esi
call edi
test eax, eax
je 0x10017935
mov eax, 0x10001220
mov dword [ebx - 0x18], 0x90909090
sub eax, esi
mov byte [esi], 0xe9
sub eax, 5
mov dword [esi + 1], eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
push 5
push esi
call edi
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002009a
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1002009a
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x10186004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi]
call dword [eax + 4]
mov eax, dword [eax]
mov ebx, dword [eax]
cmp byte [ebx - 5], 0x83
lea esi, [ebx - 5]
jne 0x1001799d
mov ecx, dword [edi + 0x38]
push 0x10189624
push 0x10001230
push 5
push esi
call fcn.1000fdd0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002009a
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 1]
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
add eax, ebx
mov dword [0x10189624], eax
lea eax, [ebp - 8]
push eax
push 0x40
push 5
push esi
call edi
test eax, eax
je 0x100179f2
mov eax, 0x10001230
mov dword [ebx - 4], 0x90909090
sub eax, esi
mov byte [esi], 0xe9
sub eax, 5
mov dword [esi + 1], eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
push 5
push esi
call edi
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002009a
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1002009a
mov esp, ebp
pop ebp
ret
Function at 0x10019ec0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x10186004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ecx]
push esi
call dword [eax + 4]
mov eax, dword [eax]
mov esi, dword [eax]
mov eax, dword [esi + 5]
add esi, 3
add eax, 6
add eax, esi
mov dword [0x10189618], eax
lea eax, [esi + 6]
mov dword [0x10189614], eax
lea eax, [ebp - 8]
push eax
push 0x40
push 6
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x10019f41
mov eax, 0x90909090
mov dword [esi], eax
mov word [esi + 4], ax
mov eax, 0x10001290
sub eax, esi
mov byte [esi], 0xe9
sub eax, 5
mov dword [esi + 1], eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
push 6
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002009a
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
xor ecx, ebp
pop esi
call fcn.1002009a
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x10186004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ecx]
push ebx
push esi
push edi
call dword [eax + 4]
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [eax]
mov edi, dword [eax]
mov eax, dword [edi + 0xa]
add eax, 5
lea esi, [edi + 9]
add eax, esi
mov dword [0x10189644], eax
lea eax, [ebp - 8]
push eax
push 0x40
push 5
push esi
call ebx
test eax, eax
je 0x1001a067
mov eax, 0x100012b0
mov dword [edi + 0xa], 0x90909090
sub eax, esi
mov byte [esi], 0xe8
sub eax, 5
mov dword [esi + 1], eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
push 5
push esi
call ebx
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002009a
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1002009a
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x10186004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ecx]
push ebx
push esi
push edi
call dword [eax + 4]
xor edx, edx
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [eax]
mov ecx, dword [ecx]
cmp byte [ecx + 3], 0xd
setne dl
add edx, 4
mov dword [0x101895f0], edx
mov eax, dword [eax]
mov edi, dword [eax]
mov eax, dword [edi + 0xf]
add eax, 5
lea esi, [edi + 0xe]
add eax, esi
mov dword [0x1018962c], eax
lea eax, [ebp - 8]
push eax
push 0x40
push 5
push esi
call ebx
test eax, eax
je 0x1001a13d
mov eax, 0x100012c0
mov dword [edi + 0xf], 0x90909090
sub eax, esi
mov byte [esi], 0xe8
sub eax, 5
mov dword [esi + 1], eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
push 5
push esi
call ebx
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002009a
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1002009a
mov esp, ebp
pop ebp
ret
Function at 0x1001a150
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x10186004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ecx]
push ebx
push esi
push edi
call dword [eax + 4]
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [eax]
mov edi, dword [eax]
mov eax, dword [edi + 0xf]
add eax, 5
lea esi, [edi + 0xe]
add eax, esi
mov dword [0x10189634], eax
lea eax, [ebp - 8]
push eax
push 0x40
push 5
push esi
call ebx
test eax, eax
je 0x1001a1c7
mov eax, 0x100012e0
mov dword [edi + 0xf], 0x90909090
sub eax, esi
mov byte [esi], 0xe8
sub eax, 5
mov dword [esi + 1], eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
push 5
push esi
call ebx
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002009a
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1002009a
mov esp, ebp
pop ebp
ret
Function at 0x1001d020
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005dbfb
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x10186004]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov edi, dword [ebp + 8]
push 0x24
mov dword [ebp - 0x14], esi
mov eax, dword [edi]
mov dword [esi], eax
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call fcn.100200b6
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 4], eax
mov dword [ebp - 4], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov eax, esi
mov byte [ebp - 4], 1
lea ecx, [esi + 0xc]
push dword [eax + 4]
push 0x10
call fcn.1000d840
mov eax, dword [edi + 4]
mov edx, esi
mov ecx, dword [edx + 4]
mov dword [edx + 4], eax
mov eax, dword [edi + 8]
mov dword [edi + 4], ecx
mov ecx, dword [edx + 8]
mov dword [edx + 8], eax
mov eax, dword [edi + 0xc]
mov dword [edi + 8], ecx
mov ecx, dword [esi + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [edi + 0x10]
mov dword [edi + 0xc], ecx
mov ecx, dword [esi + 0x10]
mov dword [esi + 0x10], eax
mov eax, dword [edi + 0x14]
mov dword [edi + 0x10], ecx
mov ecx, dword [esi + 0x14]
mov dword [esi + 0x14], eax
mov eax, dword [edi + 0x18]
mov dword [edi + 0x14], ecx
mov dword [edi + 0x18], 7
mov dword [edx + 0x18], eax
mov eax, dword [edi + 0x1c]
mov dword [edi + 0x1c], 8
mov dword [edx + 0x1c], eax
mov dword [edx + 0x20], 0
mov dword [edx + 0x30], 0
mov dword [edx + 0x34], 0
movups xmm0, xmmword [edi + 0x20]
movups xmmword [edx + 0x20], xmm0
movq xmm0, qword [edi + 0x30]
movq qword [edx + 0x30], xmm0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0xf
mov byte [edi + 0x20], 0
mov eax, dword [edi + 0x38]
mov dword [edx + 0x38], eax
mov eax, edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4