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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x18], edx
mov ecx, dword [ebp + 8]
mov dword [ebp - 0xc], edi
movzx esi, word [ecx]
mov eax, esi
shr esi, 4
xor eax, 0x7f0
shr eax, 4
mov eax, dword [ebx + eax*4]
mov dword [ebp + 0xc], eax
mov eax, dword [ebx + esi*4]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
movzx eax, word [ecx + 0x10]
shr eax, 4
mov eax, dword [ebx + eax*4]
add eax, esi
mov dword [ebp - 0x14], eax
test edx, edx
je 0x1000a3fc
lea eax, [edi + 4]
mov dword [ebp - 4], edx
mov esi, ecx
mov edi, eax
mov edx, dword [ebp - 0x10]
mov ecx, esi
push ebx
push edi
call fcn.1000bf4e
mov edx, dword [ebp - 0x14]
lea eax, [edi + 0x20]
push ebx
push eax
lea ecx, [esi + 0x10]
call fcn.1000bf4e
add edi, 0x440
add esi, 0x20
sub dword [ebp - 4], 1
jne 0x1000a3c8
mov edi, dword [ebp - 0xc]
mov ecx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov edx, dword [edi]
cmp edx, 0x10
jbe 0x1000a4da
lea eax, [edi + 0x44]
add edx, 0xfffffff1
mov edi, dword [ebp + 8]
mov dword [ebp - 4], eax
movzx eax, word [ecx + 0x10]
xor eax, 0x7f0
shr edx, 1
shr eax, 4
add esi, dword [ebx + eax*4]
lea eax, [edx + 0x180]
mov dword [ebp + 0xc], esi
lea eax, [ecx + eax*2]
dec edx
sub eax, 2
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x14], edx
lea esi, [edx + 0x80]
mov dword [ebp + 8], eax
mov edx, eax
mov ecx, esi
shr esi, 1
and ecx, 1
neg ecx
shr ecx, 4
movzx eax, word [edi + esi*2 + 0x200]
and ecx, 0x7f
shr eax, 4
xor eax, ecx
add edx, dword [ebx + eax*4]
cmp esi, 2
jae 0x1000a448
mov eax, dword [ebp - 8]
mov esi, dword [ebp - 4]
mov dword [ebp + 8], edx
movzx ecx, word [eax]
mov eax, ecx
xor ecx, 0x7f0
shr eax, 4
shr ecx, 4
mov eax, dword [ebx + eax*4]
add eax, edx
mov edx, dword [ebp - 0x14]
mov dword [esi + edx*8], eax
mov eax, dword [ebx + ecx*4]
mov ecx, esi
add eax, dword [ebp + 8]
mov dword [ecx + edx*8 + 4], eax
mov eax, dword [ebp - 8]
test edx, edx
jne 0x1000a430
mov edi, dword [ebp - 0xc]
mov eax, dword [edi]
lea ebx, [eax*4 - 0x40]
mov eax, dword [ebp - 0x18]
cmp eax, 1
jbe 0x1000a4da
lea esi, [edi + 0x484]
lea edi, [eax - 1]
push ebx
push ecx
push esi
call fcn.10041e90
mov ecx, dword [ebp - 4]
add esp, 0xc
add esi, 0x440
sub edi, 1
jne 0x1000a4c1
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x1000a666
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
xor eax, eax
push esi
push edi
mov edi, ecx
or edx, 0x100
mov esi, edx
shr edx, 1
and esi, 1
neg esi
shr esi, 4
movzx ecx, word [edi + edx*2]
and esi, 0x7f
shr ecx, 4
xor ecx, esi
add eax, dword [ebx + ecx*4]
cmp edx, 2
jae 0x1000a679
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x1000a6a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov esi, 0x100
mov dword [ebp - 4], ecx
xor edi, edi
or edx, esi
add ebx, ebx
mov ecx, esi
and ecx, ebx
mov eax, edx
add ecx, esi
shr eax, 8
add eax, ecx
mov ecx, dword [ebp - 4]
movzx ecx, word [ecx + eax*2]
mov eax, edx
shr eax, 7
add edx, edx
and eax, 1
shr ecx, 4
neg eax
shr eax, 4
and eax, 0x7f
xor ecx, eax
mov eax, dword [ebp + 0xc]
add edi, dword [eax + ecx*4]
mov ecx, edx
xor ecx, ebx
not ecx
and esi, ecx
cmp edx, 0x10000
jb 0x1000a6b6
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x1000bf4e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov dword [ebp - 8], edx
xor ebx, ebx
push esi
mov edx, ecx
push edi
mov dword [ebp - 4], edx
mov edi, ebx
mov esi, ebx
shr esi, 2
shr edi, 1
mov eax, edi
and eax, 1
movzx ecx, word [edx + esi*2 + 4]
neg eax
shr eax, 4
neg esi
and eax, 0x7f
shr ecx, 4
xor ecx, eax
and esi, 0x7f0
movzx eax, word [edx + 2]
xor esi, eax
mov eax, dword [ebp + 0xc]
shr esi, 4
mov edx, dword [eax + ecx*4]
add edx, dword [eax + esi*4]
mov eax, dword [ebp - 4]
mov esi, dword [ebp + 0xc]
add edx, dword [ebp - 8]
movzx ecx, word [eax + edi*2 + 8]
mov edi, dword [ebp + 8]
mov eax, ecx
shr eax, 4
xor ecx, 0x7f0
shr ecx, 4
mov eax, dword [esi + eax*4]
add eax, edx
mov dword [edi + ebx*4], eax
mov eax, dword [esi + ecx*4]
add eax, edx
mov edx, dword [ebp - 4]
mov dword [edi + ebx*4 + 4], eax
add ebx, 2
cmp ebx, 8
jb 0x1000bf60
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x1000ca15
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ecx
xor edx, edx
xor eax, eax
push ebx
push esi
mov esi, ecx
inc eax
push edi
push 0x20
pop ecx
or dword [esi + 0x90], 0xffffffff
or dword [esi + 0x94], 0xffffffff
mov dword [esi + 0x30], eax
mov dword [esi + 0x44], eax
mov eax, dword [esi + 4]
cmp eax, ecx
mov dword [ebp - 4], esi
cmova eax, ecx
mov dword [esi + 0x78], edx
mov dword [esi + 0x54], eax
mov eax, dword [esi]
mov dword [esi + 0x7c], edx
mov dword [esi + 0x34], edx
mov dword [esi + 0x38], edx
mov dword [esi + 0x3c], edx
mov dword [esi + 0x40], edx
mov dword [esi + 0x70], edx
mov dword [esi + 0x88], edx
mov dword [esi + 0x68], edx
mov dword [esi + 0x6c], edx
mov dword [esi + 0x48], edx
mov dword [esi + 0x4c], edx
mov dword [esi + 0x50], edx
mov dword [esi + 0x60], edx
mov dword [esi + 0x64], edx
mov dword [esi + 0x80], edx
mov dword [esi + 0x84], edx
mov dword [esi + 0x58], edx
cmp eax, dword [esi + 0x20]
je 0x1000cac9
lea edi, [esi + 0xc8]
mov ebx, ecx
cmp dword [edi + 8], edx
je 0x1000caa4
mov ecx, edi
call fcn.1000c9f1
xor edx, edx
add edi, 0x28
sub ebx, 1
jne 0x1000ca96
mov edx, dword [esi + 0x5c]
test edx, edx
je 0x1000cac2
mov eax, dword [esi + 0x14]
mov ecx, eax
call dword [eax + 4]
xor edx, edx
mov dword [esi + 0x5c], edx
jmp 0x1000cac4
xor edx, edx
mov eax, dword [esi]
mov dword [esi + 0x20], eax
mov eax, dword [esi + 0x10]
mov dword [esi + 0x98], eax
mov dword [esi + 0x9c], edx
mov dword [esi + 0xa0], edx
mov dword [esi + 0xa4], edx
mov dword [esi + 0xa8], edx
mov dword [esi + 0xac], edx
mov ecx, dword [esi + 0x58]
mov dword [esi + 0x24], edx
mov dword [esi + 0x28], edx
lea eax, [ecx + 5]
imul ebx, eax, 0x28
lea eax, [ecx + 1]
mov dword [esi + 0x58], eax
add ebx, esi
mov ecx, ebx
call fcn.1000c9bd
mov edi, eax
test edi, edi
jne 0x1000cb5b
lea ecx, [ebx + 0x20]
call fcn.1000e86e
mov edi, eax
test edi, edi
jne 0x1000cb5b
lea ecx, [ebx + 0x1c]
call fcn.1000e86e
mov edi, eax
test edi, edi
jne 0x1000cb5b
push ebx
call fcn.1000d98a
mov edi, eax
test edi, edi
invalid
je 0x1000cb5b
and dword [esi + 0x44], 0
lea ebx, [esi + 0xc8]
push 0x20
pop esi
invalid

Function at 0x1000da8b
Capabilities:
Hash data using sha256

Disassembly:
and dword [ecx + 0x20], 0
and dword [ecx + 0x24], 0
mov dword [ecx], 0x6a09e667
mov dword [ecx + 4], 0xbb67ae85
mov dword [ecx + 8], 0x3c6ef372
mov dword [ecx + 0xc], 0xa54ff53a
mov dword [ecx + 0x10], 0x510e527f
mov dword [ecx + 0x14], 0x9b05688c
mov dword [ecx + 0x18], 0x1f83d9ab
mov dword [ecx + 0x1c], 0x5be0cd19
ret

Function at 0x1000e9b4
Capabilities:
Hash data using sha256

Disassembly:
mov dword [ecx], edx
sub edx, 1
je 0x1000e9d6
sub edx, 3
je 0x1000e9cd
sub edx, 6
jne 0x1000e9da
add ecx, 0x10
jmp fcn.1000da8b
or dword [ecx + 8], 0xffffffff
or dword [ecx + 0xc], 0xffffffff
ret
or dword [ecx + 4], 0xffffffff
ret
Function at 0x10006610
Capabilities:
Hash data using crc32b

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
xor ecx, ecx
mov dword [ebp - 4], ecx
nop
xor eax, eax
test cl, 1
je 0x1000662b
bts eax, 7
shr ecx, 1
test cl, 1
je 0x10006636
bts eax, 6
shr ecx, 1
test cl, 1
je 0x10006641
bts eax, 5
shr ecx, 1
test cl, 1
je 0x1000664c
bts eax, 4
shr ecx, 1
test cl, 1
je 0x10006657
bts eax, 3
shr ecx, 1
test cl, 1
je 0x10006662
bts eax, 2
shr ecx, 1
test cl, 1
je 0x1000666d
bts eax, 1
test cl, 2
je 0x10006676
bts eax, 0
shl eax, 0x18
mov ecx, eax
add eax, eax
sar ecx, 0x1f
and ecx, 0x4c11db7
xor ecx, eax
mov edx, ecx
sar edx, 0x1f
and edx, 0x4c11db7
lea eax, [ecx + ecx]
xor edx, eax
mov ecx, edx
sar ecx, 0x1f
and ecx, 0x4c11db7
lea eax, [edx + edx]
xor ecx, eax
mov edx, ecx
sar edx, 0x1f
and edx, 0x4c11db7
lea eax, [ecx + ecx]
xor edx, eax
mov ecx, edx
sar ecx, 0x1f
and ecx, 0x4c11db7
lea eax, [edx + edx]
xor ecx, eax
mov edx, ecx
sar edx, 0x1f
and edx, 0x4c11db7
lea eax, [ecx + ecx]
xor edx, eax
mov ecx, edx
sar ecx, 0x1f
and ecx, 0x4c11db7
lea eax, [edx + edx]
xor ecx, eax
mov ebx, ecx
sar ebx, 0x1f
and ebx, 0x4c11db7
lea eax, [ecx + ecx]
xor ebx, eax
mov eax, dword [ebp - 4]
xor edx, edx
lea esi, [edi + eax*4]
lea ecx, [edx + 1]
test bl, 1
je 0x10006712
mov eax, 0x20
sub eax, ecx
bts edx, eax
inc ecx
shr ebx, 1
cmp ecx, 0x21
jl 0x10006703
mov ecx, dword [ebp - 4]
inc ecx
mov dword [esi], edx
mov dword [ebp - 4], ecx
cmp ecx, 0xff
jle 0x10006620
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10006740
Capabilities:
Encode data using xor
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x1012e010]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push 0x1012080c
push eax
lea eax, [ebp - 8]
mov dword [ebp - 0xc], ecx
push eax
mov dword [edi], 0xffffffff
mov dword [ebp - 8], 0
call fcn.100d7e3d
add esp, 0xc
test eax, eax
je 0x10006790
xor al, al
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100819bc
mov esp, ebp
pop ebp
ret 0xc
push ebx
push 0x400
call fcn.100d81b3
add esp, 4
mov ebx, eax
mov dword [ebp - 0x10], ebx
push dword [ebp - 8]
test ebx, ebx
jne 0x100067c6
call fcn.100d7d3f
add esp, 4
xor al, al
pop ebx
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100819bc
mov esp, ebp
pop ebp
ret 0xc
push 0x400
push 1
push ebx
call fcn.100d8078
add esp, 0x10
test eax, eax
je 0x1000681b
push esi
nop dword [eax + eax]
mov esi, ebx
mov ebx, dword [edi]
lea esi, [esi + 1]
movzx ecx, byte [esi - 1]
movzx edx, bl
xor edx, ecx
shr ebx, 8
mov ecx, dword [ebp - 0xc]
xor ebx, dword [ecx + edx*4]
mov dword [edi], ebx
sub eax, 1
jne 0x100067e2
push dword [ebp - 8]
mov ebx, dword [ebp - 0x10]
push 0x400
push 1
push ebx
call fcn.100d8078
add esp, 0x10
test eax, eax
jne 0x100067e0
pop esi
push ebx
call fcn.100d7e84
push dword [ebp - 8]
call fcn.100d7d3f
mov ecx, dword [ebp - 4]
add esp, 8
not dword [edi]
xor ecx, ebp
mov al, 1
pop ebx
pop edi
call fcn.100819bc
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10008f50
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x1012e010]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [0x1031ed80]
push esi
push eax
mov dword [edi + 0x154], 1
lea eax, [edi + 0x15c]
lea ebx, [edi + 0x154]
push eax
call fcn.100cf470
add esp, 0xc
mov dword [edi + 0x158], esi
add esi, 8
je 0x10009022
mov eax, dword [edi]
test eax, eax
je 0x10008fd1
mov eax, dword [eax + 4]
cmp eax, 0xffffffff
je 0x10008fd1
test ebx, ebx
je 0x10008fd1
push 0
lea ecx, [ebp - 8]
mov dword [ebp - 8], 0
push ecx
push esi
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp eax, 1
jne 0x10008fd1
cmp dword [ebp - 8], esi
je 0x10009022
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x10008ff1
mov eax, dword [edi + 4]
cmp eax, 3
je 0x10008fe5
cmp eax, 1
jne 0x10008ff1
lea eax, [edi + 0x54]
push eax
push dword [edi + 0x50]
call ecx
add esp, 8
mov esi, dword [edi]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 4], 0xffffffff
xor al, al
mov byte [esi], 0
mov dword [edi + 4], 0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100819bc
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100819bc
mov esp, ebp
pop ebp
ret 8
Function at 0x1000bff0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov eax, dword [esi + 0x60]
mov dword [esi], vtable.CAntiHack.0
test eax, eax
je 0x1000c01c
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi + 0x60]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x60], 0
test byte [ebp + 8], 1
je 0x1000c02d
push 0x64
push esi
call fcn.10081d69
add esp, 8
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x1000c100
Capabilities:
Get disk information
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
mov eax, dword [0x1012e010]
xor eax, esp
mov dword [esp + 0x38], eax
push esi
push 0
push 0
push 0
push 0
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0x5045454
push eax
push 0
push 0
push 0x101218a0
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
lea eax, [esp + 8]
push eax
call dword [sym.imp.RPCRT4.dll_UuidCreateSequential]
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
movzx ecx, word [esp + 0x3a]
movzx eax, word [esp + 0x38]
shl ecx, 0x10
or ecx, eax
movzx eax, word [esp + 0x16]
xor ecx, 0xb542d8e1
push ecx
movzx ecx, word [esp + 0x1c]
shl ecx, 0x10
or ecx, eax
mov eax, dword [esp + 0x16]
xor eax, 0x5d78a569
xor ecx, 0xf45bc123
push ecx
push eax
mov eax, dword [esp + 0x10]
xor eax, 0x12b586fe
push eax
lea eax, [esi + 4]
push str._08X__08X__08X__08X
push eax
call fcn.1000c240
mov ecx, dword [esp + 0x54]
add esp, 0x18
pop esi
xor ecx, esp
call fcn.100819bc
mov esp, ebp
pop ebp
ret
Function at 0x1000c920
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
sub esp, 0x14
mov eax, dword [0x1012e010]
xor eax, ebp
mov dword [ebp - 4], eax
movsd xmm0, qword [0xd255a0]
lea eax, [ebp - 8]
subsd xmm0, qword [0x101252b8]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push eax
push 0x40
andps xmm0, xmmword [0x101258d0]
push 8
push 0xd2c848
movsd qword [ebp - 0x10], xmm0
call esi
movsd xmm0, qword [ebp - 0x10]
lea eax, [ebp - 8]
mulsd xmm0, qword [0x10125218]
push eax
addsd xmm0, qword [0x10125328]
movsd qword [0xd2c848], xmm0
push dword [ebp - 8]
push 8
push 0xd2c848
call esi
movsd xmm0, qword [0xd255a0]
lea eax, [ebp - 8]
subsd xmm0, qword [0x101252b8]
push eax
push 0x40
push 8
push 0xd2c898
andps xmm0, xmmword [0x101258d0]
movsd qword [ebp - 0x10], xmm0
call esi
movsd xmm0, qword [ebp - 0x10]
lea eax, [ebp - 8]
mulsd xmm0, qword [0x10125218]
push eax
addsd xmm0, qword [0x10125328]
movsd qword [0xd2c898], xmm0
push dword [ebp - 8]
push 8
push 0xd2c898
call esi
movsd xmm0, qword [0xd255a0]
lea eax, [ebp - 8]
subsd xmm0, qword [0x101252b8]
push eax
push 0x40
push 4
push 0xd2c894
andps xmm0, xmmword [0x101258d0]
movsd qword [ebp - 0x10], xmm0
call esi
movsd xmm0, qword [ebp - 0x10]
lea eax, [ebp - 8]
cvtpd2ps xmm0, xmm0
push eax
mulss xmm0, dword [0x10125278]
addss xmm0, dword [0x10125720]
movss dword [0xd2c894], xmm0
push dword [ebp - 8]
push 4
push 0xd2c894
call esi
movsd xmm0, qword [0xd255a0]
lea eax, [ebp - 8]
subsd xmm0, qword [0x101252b8]
push eax
push 0x40
push 4
push 0xd2c8a8
andps xmm0, xmmword [0x101258d0]
movsd qword [ebp - 0x10], xmm0
call esi
movsd xmm0, qword [ebp - 0x10]
lea eax, [ebp - 8]
cvtpd2ps xmm0, xmm0
push eax
mulss xmm0, dword [0x10125278]
addss xmm0, dword [0x10125720]
movss dword [0xd2c8a8], xmm0
push dword [ebp - 8]
push 4
push 0xd2c8a8
call esi
movsd xmm0, qword [0xd255a0]
lea eax, [ebp - 8]
subsd xmm0, qword [0x101252b8]
push eax
push 0x40
push 4
push 0xd2570c
andps xmm0, xmmword [0x101258d0]
movsd qword [ebp - 0x10], xmm0
call esi
movsd xmm0, qword [ebp - 0x10]
lea eax, [ebp - 8]
cvtpd2ps xmm0, xmm0
push eax
mulss xmm0, dword [0x10125278]
addss xmm0, dword [0x10125718]
movss dword [0xd2570c], xmm0
push dword [ebp - 8]
push 4
push 0xd2570c
call esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.100819bc
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x1000cb20
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10
mov eax, dword [0x1012e010]
xor eax, esp
mov dword [esp + 0xc], eax
cmp dword [0x10130328], 0
push esi
push edi
je 0x1000cd35
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [esp + 0x10]
push eax
push 0x40
push 4
push 0xd27bfc
call edi
lea eax, [esp + 0x10]
mov dword [0xd27bfc], 0x42180000
push eax
push dword [esp + 0x14]
push 4
push 0xd27bfc
call edi
movss xmm0, dword [0x10130330]
lea eax, [esp + 0x10]
mov esi, dword [0x10130304]
push eax
push 0x40
push 4
push esi
movss dword [esp + 0x18], xmm0
call edi
movss xmm0, dword [esp + 8]
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x14]
movss dword [esi], xmm0
push 4
push esi
call edi
movss xmm0, dword [0x10130334]
lea eax, [esp + 0x10]
mov esi, dword [0x10130308]
push eax
push 0x40
push 4
push esi
movss dword [esp + 0x18], xmm0
call edi
movss xmm0, dword [esp + 8]
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x14]
movss dword [esi], xmm0
push 4
push esi
call edi
movsd xmm0, qword [0x10130338]
lea eax, [esp + 0x10]
mov esi, dword [0x1013030c]
push eax
push 0x40
push 8
push esi
movsd qword [esp + 0x18], xmm0
call edi
movsd xmm0, qword [esp + 8]
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x14]
movsd qword [esi], xmm0
push 8
push esi
call edi
movsd xmm0, qword [0x10130340]
lea eax, [esp + 0x10]
mov esi, dword [0x10130310]
push eax
push 0x40
push 8
push esi
movsd qword [esp + 0x18], xmm0
call edi
movsd xmm0, qword [esp + 8]
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x14]
movsd qword [esi], xmm0
push 8
push esi
call edi
movsd xmm0, qword [0x10130348]
lea eax, [esp + 0x10]
mov esi, dword [0x10130314]
push eax
push 0x40
push 8
push esi
movsd qword [esp + 0x18], xmm0
call edi
movsd xmm0, qword [esp + 8]
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x14]
movsd qword [esi], xmm0
push 8
push esi
call edi
movss xmm0, dword [0x10130350]
lea eax, [esp + 0x10]
mov esi, dword [0x10130318]
push eax
push 0x40
push 4
push esi
movss dword [esp + 0x18], xmm0
call edi
movss xmm0, dword [esp + 8]
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x14]
movss dword [esi], xmm0
push 4
push esi
call edi
movss xmm0, dword [0x10130354]
lea eax, [esp + 0x10]
mov esi, dword [0x1013031c]
push eax
push 0x40
push 4
push esi
movss dword [esp + 0x18], xmm0
call edi
movss xmm0, dword [esp + 8]
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x14]
movss dword [esi], xmm0
push 4
push esi
call edi
movss xmm0, dword [0x10130358]
lea eax, [esp + 0x10]
mov esi, dword [0x10130320]
push eax
push 0x40
push 4
push esi
movss dword [esp + 0x18], xmm0
call edi
movss xmm0, dword [esp + 8]
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x14]
movss dword [esi], xmm0
push 4
push esi
call edi
mov ecx, dword [esp + 0x14]
pop edi
pop esi
xor ecx, esp
call fcn.100819bc
mov esp, ebp
pop ebp
ret
Function at 0x10012ac0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x1012e010]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x10012d20
push 0x4d7602
push 0xe8
call fcn.1007da80
push 0x10012e40
push 0x4d7d13
push 0xe8
call fcn.1007da80
push 0x10012da0
push 0x40b1ef
push 0xe8
call fcn.1007da80
push 0x10012df0
push 0x40b210
push 0xe8
call fcn.1007da80
push 0x10013650
push 0x4d76fb
push 0xe8
call fcn.1007da80
push 0x10013650
push 0x4d79c3
push 0xe8
call fcn.1007da80
add esp, 0x48
push 0x10013770
push 0x5edda9
push 0xe8
call fcn.1007da80
push 0x10013c00
push 0x4d7eb1
push 0xe8
call fcn.1007da80
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 8]
add esp, 0x18
push eax
push 0x40
push 5
push 0x40b7a2
call esi
mov eax, 0x40b7a2
mov dword [eax], 0x90909090
mov byte [eax + 4], 0x90
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 5
push 0x40b7a2
call esi
lea eax, [ebp - 8]
push eax
push 0x40
push 5
push 0x40b2e2
call esi
mov eax, 0x40b2e2
mov dword [eax], 0x90909090
mov byte [eax + 4], 0x90
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 5
push 0x40b2e2
call esi
lea eax, [ebp - 8]
push eax
push 0x40
push 5
push 0x40b306
call esi
mov eax, 0x40b306
mov dword [eax], 0x90909090
mov byte [eax + 4], 0x90
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 5
push 0x40b306
call esi
lea eax, [ebp - 8]
push eax
push 0x40
push 5
push 0x40b380
call esi
mov eax, 0x40b380
mov dword [eax], 0x90909090
mov byte [eax + 4], 0x90
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 5
push 0x40b380
call esi
lea eax, [ebp - 8]
push eax
push 0x40
push 5
push 0x40b6a7
call esi
mov eax, 0x40b6a7
mov dword [eax], 0x90909090
mov byte [eax + 4], 0x90
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 5
push 0x40b6a7
call esi
lea eax, [ebp - 8]
push eax
push 0x40
push 5
push 0x40b635
call esi
mov eax, 0x40b635
mov dword [eax], 0x90909090
mov byte [eax + 4], 0x90
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 5
push 0x40b635
call esi
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push 0x4d75f0
call esi
lea eax, [ebp - 8]
mov dword [0x4d75f0], 0x5e
push eax
push dword [ebp - 8]
push 4
push 0x4d75f0
call esi
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push 0x4d7a0e
call esi
lea eax, [ebp - 8]
mov dword [0x4d7a0e], 0x1e0
push eax
push dword [ebp - 8]
push 4
push 0x4d7a0e
call esi
lea eax, [ebp - 8]
push eax
push 0x40
push 1
push 0x4d7a18
call esi
lea eax, [ebp - 8]
mov byte [0x4d7a18], 0
push eax
push dword [ebp - 8]
push 1
push 0x4d7a18
call esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.100819bc
mov esp, ebp
pop ebp
ret
Function at 0x10021820
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1010f2e5
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x1012e010]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 2
mov dword [ebp - 0x2c], 0
lea ecx, [ebp - 0x2c]
push 0x101219f8
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
call fcn.1000faa0
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 0
push eax
push dword [0x10131178]
lea ecx, [ebp - 0x48]
call fcn.1000cfb0
push 0x10021740
push str.SetJewelStack
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.10012650
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x30]
cmp edx, 0x10
jb 0x100218d7
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100218cd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100219f6
push edx
push ecx
call fcn.10081d69
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
cmp edx, 0x10
jb 0x10021924
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1002191a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100219f6
push edx
push ecx
call fcn.10081d69
add esp, 8
push str.Data__Local__General__Lua__Configs__CustomJewelStack.lua
mov ecx, 0x10131174
call fcn.1003e0e0
push 0x10120a20
push str.StartLoadJewelStack
push 0x10131174
call fcn.1003e2a0
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0x14]
add esp, 0xc
push eax
push 0x40
push 6
push 0x7dc964
call esi
mov eax, 0x7dc964
mov ecx, 0x90909090
mov dword [eax], ecx
mov word [eax + 4], cx
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x14]
push 6
push 0x7dc964
call esi
push 0x100215f0
push 0x7dc964
push 0xe9
call fcn.1007da80
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
push 0x40
push 6
push 0x7dd634
call esi
mov eax, 0x7dd634
mov ecx, 0x90909090
mov dword [eax], ecx
mov word [eax + 4], cx
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x14]
push 6
push 0x7dd634
call esi
push 0x10021710
push 0x7dd634
push 0xe9
call fcn.1007da80
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100819bc
mov esp, ebp
pop ebp
ret
call fcn.100e3cde
int3