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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1003400c]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x10038ff0], 0x10
mov eax, 0x10038fdc
push ebx
push dword [0x10038fec]
cmovae eax, dword [0x10038fdc]
mov ecx, 0x10038fc4
push eax
call fcn.10002900
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, eax
mov ecx, eax
mov dword [0x10038fb4], edx
sub ecx, dword [0x10038fb0]
mov dword [0x10038fb8], ecx
cmp ecx, 0x200
jb 0x10003fc0
cmp byte [0x10038fc0], 0
mov dword [0x10038fb0], edx
sete al
mov byte [0x10038fc0], al
jmp 0x10003fc5
mov al, byte [0x10038fc0]
test al, al
je 0x10004017
mov edx, dword [0x10038ff0]
mov eax, edx
mov ecx, dword [0x10038fec]
sub eax, ecx
cmp eax, 1
jb 0x10003ffd
lea eax, [ecx + 1]
cmp edx, 0x10
mov dword [0x10038fec], eax
mov eax, 0x10038fdc
cmovae eax, dword [0x10038fdc]
mov word [eax + ecx], 0x7c
jmp 0x10004017
push 1
push 0x1002bc5c
mov byte [ebp - 0x20], 0
mov ecx, 0x10038fdc
push dword [ebp - 0x20]
push 1
call fcn.10002b90
mov eax, dword [0x10038fec]
test eax, eax
je 0x10004095
cmp eax, 0x10
jae 0x10004098
cmp dword [0x10038ff0], 0x10
mov bl, 0x45
mov edx, 0x10038fdc
mov byte [ebp - 0x1d], 0
cmovae edx, dword [0x10038fdc]
mov al, 0x60
xor al, bl
mov byte [ebp - 0x20], bl
mov byte [ebp - 0x1f], al
mov cl, 0x36
push edx
lea eax, [ebp - 0x1f]
mov byte [ebp - 0x1d], 0
push eax
xor cl, bl
push 0x1003e5f0
mov byte [ebp - 0x1e], cl
call fcn.100013d0
mov eax, dword [0x10038ff8]
add esp, 0xc
add eax, 0xe6
push 0x1003e5f0
push 1
push dword [0x1003a88c]
push 0xffe580ff
push dword [0x10038ffc]
push eax
call fcn.10003a60
mov eax, dword [0x10038fec]
add esp, 0x18
cmp eax, 0x10
jbe 0x10004114
movaps xmm0, xmmword [0x1002ff10]
xor ecx, ecx
movups xmmword [ebp - 0x1c], xmm0
mov dword [ebp - 0xc], 0x26297562
mov byte [ebp - 8], 0
mov al, byte [ebp - 0x1c]
xor byte [ebp + ecx - 0x1b], al
inc ecx
cmp ecx, 0x13
jb 0x100040b2
lea eax, [ebp - 0x1b]
mov byte [ebp - 8], 0
push eax
push 0x1003e5b8
call fcn.100013d0
mov ecx, dword [0x10038ffc]
add esp, 8
mov eax, dword [0x10038ff8]
add eax, 0xe6
push ecx
push eax
push ecx
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov eax, dword [0x1003a88c]
lea edx, [ebp - 0x18]
push 0xffff0000
push 0x100
push edx
mov ecx, dword [eax]
push 0xffffffffffffffff
push 0x1003e5b8
push 0
push eax
call dword [ecx + 0x38]
cmp dword [0x10038fd8], 0x10
mov eax, 0x10038fc4
push dword [0x10038fd4]
cmovae eax, dword [0x10038fc4]
mov ecx, 0x10038fdc
push eax
call fcn.10002900
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.100271b9
mov esp, ebp
pop ebp
ret
Function at 0x10004210
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp byte [0x1003a73d], 0
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov ebx, ecx
je 0x100043f2
mov esi, dword [0x1003900c]
mov edi, dword [ebp + 8]
cmp dword [0x10038ff4], esi
jne 0x10004315
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov esi, eax
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, esi
jne 0x10004281
push dword [0x1003a760]
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
call esi
test al, 1
je 0x1000426c
mov eax, dword [edi]
cmp eax, dword [ebp - 4]
jge 0x10004281
inc eax
jmp 0x1000427f
push dword [0x1003df54]
call esi
test al, 1
je 0x10004281
mov eax, dword [edi]
test eax, eax
jle 0x10004281
dec eax
mov dword [edi], eax
mov esi, dword [0x1003900c]
cmp dword [0x10038ff4], esi
jne 0x10004315
push ebx
push 1
push dword [0x1003a88c]
call fcn.100039e0
push eax
mov eax, dword [0x10039000]
mov ecx, esi
shl ecx, 4
add eax, 0xffffffd8
sub ecx, esi
add eax, ecx
push eax
mov eax, dword [0x10038ff8]
add eax, 0xfffffffd
push eax
call fcn.10003a60
mov ecx, dword [edi]
add esp, 0x18
mov eax, dword [ebp + 0x10]
push dword [eax + ecx*4]
push 1
push dword [0x1003a88c]
call fcn.100039e0
mov ecx, dword [0x1003900c]
push eax
mov eax, dword [0x10039000]
shl ecx, 4
add eax, 0xffffffd8
sub ecx, dword [0x1003900c]
add eax, ecx
push eax
mov eax, dword [0x10038ff8]
add eax, 0x8c
push eax
call fcn.10003a60
add esp, 0x18
inc dword [0x1003900c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x10039000]
mov ecx, esi
shl ecx, 4
add eax, 0xffffffd8
push ebx
sub ecx, esi
push 1
push dword [0x1003a88c]
add eax, ecx
cmp dword [edi], 0
jle 0x10004390
cmp dword [ebp + 0xc], 1
jne 0x10004365
push 0xff7fff00
push eax
mov eax, dword [0x10038ff8]
add eax, 0xfffffffd
push eax
call fcn.10003a60
mov ecx, dword [edi]
mov eax, dword [ebp + 0x10]
push dword [eax + ecx*4]
push 1
push dword [0x1003a88c]
push 0xff7fff00
jmp 0x100043bf
push 0xff00ffff
push eax
mov eax, dword [0x10038ff8]
add eax, 0xfffffffd
push eax
call fcn.10003a60
mov ecx, dword [edi]
mov eax, dword [ebp + 0x10]
push dword [eax + ecx*4]
push 1
push dword [0x1003a88c]
push 0xff00ffff
jmp 0x100043bf
cmp dword [ebp + 0xc], 1
je 0x1000433a
push 0xffffff33
push eax
mov eax, dword [0x10038ff8]
add eax, 0xfffffffd
push eax
call fcn.10003a60
mov ecx, dword [edi]
mov eax, dword [ebp + 0x10]
push dword [eax + ecx*4]
push 1
push dword [0x1003a88c]
push 0xffffff33
mov ecx, dword [0x1003900c]
mov eax, dword [0x10039000]
shl ecx, 4
add eax, 0xffffffd8
sub ecx, dword [0x1003900c]
add eax, ecx
push eax
mov eax, dword [0x10038ff8]
add eax, 0x8c
push eax
call fcn.10003a60
add esp, 0x30
inc dword [0x1003900c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10004620
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x1003400c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10004688
mov esi, dword [esi]
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
jle 0x10004688
lea eax, [ebp + 0xc]
nop
mov edi, dword [eax + 4]
add eax, 4
push 4
add edi, esi
mov dword [ebp - 0xc], eax
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10004675
mov esi, dword [edi]
inc ebx
mov eax, dword [ebp - 0xc]
cmp ebx, dword [ebp + 0xc]
jl 0x10004650
jmp 0x1000468b
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100271b9
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp - 0xc]
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100271b9
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x1003400c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push edi
push 4
push 0x28a6e50
mov edi, edx
call esi
test eax, eax
jne 0x10004bec
mov eax, dword [0x28a6e50]
add edi, eax
push 4
push edi
call esi
test eax, eax
jne 0x10004bec
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push edi
call esi
mov eax, dword [ebx]
mov dword [edi], eax
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 4
push edi
call esi
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100271b9
mov esp, ebp
pop ebp
ret
Function at 0x10004c00
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x1003400c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push 4
push 0x28a6e50
mov dword [ebp - 0xc], eax
call esi
test eax, eax
jne 0x10004cb4
push edi
mov edi, dword [0x28a6e50]
push 4
add edi, 0x12c
push edi
call esi
test eax, eax
jne 0x10004ca2
push ebx
mov ebx, dword [edi]
push 4
add ebx, 0x110
push ebx
call esi
test eax, eax
jne 0x10004c8f
mov ebx, dword [ebx]
add ebx, dword [ebp + 0xc]
push 4
push ebx
call esi
test eax, eax
jne 0x10004c8f
mov edi, dword [ebp + 0x14]
lea eax, [ebp - 8]
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push eax
push 0x40
push edi
push ebx
call esi
push edi
push dword [ebp - 0xc]
push ebx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push edi
push ebx
call esi
pop ebx
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100271b9
mov esp, ebp
pop ebp
ret
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100271b9
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.100271b9
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x1003400c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push edi
push 4
push 0x28a4524
mov edi, edx
call esi
test eax, eax
jne 0x10004d27
mov eax, dword [0x28a4524]
add edi, eax
push 4
push edi
call esi
test eax, eax
jne 0x10004d27
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 8]
push eax
push 0x40
push 1
push edi
call esi
lea eax, [ebp - 8]
mov byte [edi], 5
push eax
push dword [ebp - 8]
push 1
push edi
call esi
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.100271b9
mov esp, ebp
pop ebp
ret
Function at 0x10004d40
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x1003400c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x28a727c]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push 4
mov eax, dword [eax + 0x1c]
push 0x28a6e50
mov dword [ebp - 8], eax
call esi
test eax, eax
jne 0x10004e79
push edi
mov edi, dword [0x28a6e50]
push 4
add edi, 0x12c
push edi
call esi
test eax, eax
jne 0x10004e78
mov edi, dword [edi]
push 4
add edi, 0x3c
push edi
call esi
test eax, eax
jne 0x10004e78
mov edi, dword [edi]
add edi, dword [ebp + 0xc]
push 4
push edi
call esi
test eax, eax
jne 0x10004e78
mov edi, dword [edi]
push 4
add edi, 0x36c
push edi
call esi
test eax, eax
jne 0x10004e78
mov edi, dword [edi]
push 4
add edi, 0x94
push edi
call esi
test eax, eax
jne 0x10004e78
push ebx
mov ebx, dword [edi]
push 4
add ebx, 0xaa
push ebx
call esi
test eax, eax
jne 0x10004e77
push 4
push 0x28a6e50
call esi
test eax, eax
jne 0x10004e77
mov edi, dword [0x28a6e50]
push 4
add edi, 0x12c
push edi
call esi
test eax, eax
jne 0x10004e77
mov edi, dword [edi]
push 4
add edi, 0x3c
push edi
call esi
test eax, eax
jne 0x10004e77
mov edi, dword [edi]
add edi, dword [ebp + 0xc]
push 4
push edi
call esi
test eax, eax
jne 0x10004e77
mov edi, dword [edi]
push 4
add edi, 0x2e0
push edi
call esi
test eax, eax
jne 0x10004e77
mov edi, dword [edi]
push 4
push edi
call esi
test eax, eax
jne 0x10004e77
mov ecx, dword [ebp - 8]
mov eax, dword [edi]
cmp eax, dword [ecx]
jne 0x10004e77
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push ebx
call esi
lea eax, [ebp - 8]
mov dword [ebx], 0x90909090
push eax
push dword [ebp - 8]
push 4
push ebx
call esi
pop ebx
pop edi
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.100271b9
mov esp, ebp
pop ebp
ret
Function at 0x10004e90
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x1003400c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x28a727c]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push 4
mov eax, dword [eax + 0x1c]
push 0x28a6e50
mov dword [ebp - 8], eax
call esi
test eax, eax
jne 0x100050a0
push edi
mov edi, dword [0x28a6e50]
push 4
add edi, 0x12c
push edi
call esi
test eax, eax
jne 0x1000509f
mov edi, dword [edi]
push 4
add edi, 0x3c
push edi
call esi
test eax, eax
jne 0x1000509f
mov edi, dword [edi]
add edi, dword [ebp + 0xc]
push 4
push edi
call esi
test eax, eax
jne 0x1000509f
mov edi, dword [edi]
push 4
add edi, 0x36c
push edi
call esi
test eax, eax
jne 0x1000509f
mov edi, dword [edi]
push 4
add edi, 0x94
push edi
call esi
test eax, eax
jne 0x1000509f
mov edi, dword [edi]
push 4
add edi, 0x36c
push edi
call esi
test eax, eax
jne 0x1000509f
mov edi, dword [edi]
push 4
add edi, 0x28
push edi
call esi
test eax, eax
jne 0x1000509f
mov edi, dword [edi]
push 4
add edi, 0x10a8
push edi
call esi
test eax, eax
jne 0x1000509f
push 4
push 0x28a6e50
call esi
test eax, eax
jne 0x1000509f
push ebx
mov ebx, dword [0x28a6e50]
push 4
add ebx, 0x12c
push ebx
call esi
test eax, eax
jne 0x1000509e
mov ebx, dword [ebx]
push 4
add ebx, 0x3c
push ebx
call esi
test eax, eax
jne 0x1000509e
mov ebx, dword [ebx]
add ebx, dword [ebp + 0xc]
push 4
push ebx
call esi
test eax, eax
jne 0x1000509e
mov ebx, dword [ebx]
push 4
add ebx, 0x2e0
push ebx
call esi
test eax, eax
jne 0x1000509e
mov ebx, dword [ebx]
push 4
push ebx
call esi
test eax, eax
jne 0x1000509e
mov ecx, dword [ebp - 8]
mov eax, dword [ebx]
cmp eax, dword [ecx]
jne 0x1000509e
push 4
push 0x28a6e50
call esi
test eax, eax
jne 0x1000509e
mov ebx, dword [0x28a6e50]
push 4
add ebx, 0x12c
push ebx
call esi
test eax, eax
jne 0x1000509e
mov ebx, dword [ebx]
push 4
add ebx, 0x3c
push ebx
call esi
test eax, eax
jne 0x1000509e
mov ebx, dword [ebx]
add ebx, dword [ebp + 0xc]
push 4
push ebx
call esi
test eax, eax
jne 0x1000509e
mov ebx, dword [ebx]
push 4
add ebx, 0x36c
push ebx
call esi
test eax, eax
jne 0x1000509e
mov ebx, dword [ebx]
push 4
add ebx, 0x178
push ebx
call esi
test eax, eax
jne 0x1000509e
mov eax, dword [ebx]
cmp eax, 0x1b1bb
je 0x1000507b
cmp eax, 0x18715
je 0x1000507b
cmp eax, 0x1b1ba
je 0x1000507b
cmp eax, 0x1b1bd
je 0x1000507b
cmp eax, 0x1872c
je 0x1000507b
cmp eax, 0x1b21c
jne 0x1000509e
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push edi
call esi
lea eax, [ebp - 8]
mov dword [edi], 0x69239aa8
push eax
push dword [ebp - 8]
push 4
push edi
call esi
pop ebx
pop edi
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.100271b9
mov esp, ebp
pop ebp
ret
Function at 0x100050c0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x1003400c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x28a727c]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push 4
mov eax, dword [eax + 0x1c]
push 0x28a6e50
mov dword [ebp - 8], eax
call esi
test eax, eax
jne 0x100052f4
push edi
mov edi, dword [0x28a6e50]
push 4
add edi, 0x12c
push edi
call esi
test eax, eax
jne 0x100052f3
mov edi, dword [edi]
push 4
add edi, 0x3c
push edi
call esi
test eax, eax
jne 0x100052f3
mov edi, dword [edi]
add edi, dword [ebp + 0xc]
push 4
push edi
call esi
test eax, eax
jne 0x100052f3
mov edi, dword [edi]
push 4
add edi, 0x36c
push edi
call esi
test eax, eax
jne 0x100052f3
mov edi, dword [edi]
push 4
add edi, 0x94
push edi
call esi
test eax, eax
jne 0x100052f3
mov edi, dword [edi]
push 4
add edi, 0x36c
push edi
call esi
test eax, eax
jne 0x100052f3
mov edi, dword [edi]
push 4
add edi, 0x30
push edi
call esi
test eax, eax
jne 0x100052f3
mov edi, dword [edi]
push 4
add edi, 0x10a8
push edi
call esi
test eax, eax
jne 0x100052f3
push 4
push 0x28a6e50
call esi
test eax, eax
jne 0x100052f3
push ebx
mov ebx, dword [0x28a6e50]
push 4
add ebx, 0x12c
push ebx
call esi
test eax, eax
jne 0x100052f2
mov ebx, dword [ebx]
push 4
add ebx, 0x3c
push ebx
call esi
test eax, eax
jne 0x100052f2
mov ebx, dword [ebx]
add ebx, dword [ebp + 0xc]
push 4
push ebx
call esi
test eax, eax
jne 0x100052f2
mov ebx, dword [ebx]
push 4
add ebx, 0x2e0
push ebx
call esi
test eax, eax
jne 0x100052f2
mov ebx, dword [ebx]
push 4
push ebx
call esi
test eax, eax
jne 0x100052f2
mov ecx, dword [ebp - 8]
mov eax, dword [ebx]
cmp eax, dword [ecx]
jne 0x100052f2
push 4
push 0x28a6e50
call esi
test eax, eax
jne 0x100052f2
mov ebx, dword [0x28a6e50]
push 4
add ebx, 0x12c
push ebx
call esi
test eax, eax
jne 0x100052f2
mov ebx, dword [ebx]
push 4
add ebx, 0x3c
push ebx
call esi
test eax, eax
jne 0x100052f2
mov ebx, dword [ebx]
add ebx, dword [ebp + 0xc]
push 4
push ebx
call esi
test eax, eax
jne 0x100052f2
mov ebx, dword [ebx]
push 4
add ebx, 0x36c
push ebx
call esi
test eax, eax
jne 0x100052f2
mov ebx, dword [ebx]
push 4
add ebx, 0x1b0
push ebx
call esi
test eax, eax
jne 0x100052f2
mov eax, dword [ebx]
cmp eax, 0x4bb35
je 0x100052cf
cmp eax, 0x4bef9
je 0x100052cf
cmp eax, 0x4bf44
je 0x100052cf
cmp eax, 0x4bf02
je 0x100052cf
cmp eax, 0x49455
je 0x100052cf
cmp eax, 0x4bf20
je 0x100052cf
cmp eax, 0x4bf4a
je 0x100052cf
cmp eax, 0x4bf63
je 0x100052cf
cmp eax, 0x494b4
je 0x100052cf
cmp eax, 0x4bb03
jne 0x100052f2
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push edi
call esi
lea eax, [ebp - 8]
mov dword [edi], 0xe7be1a28
push eax
push dword [ebp - 8]
push 4
push edi
call esi
pop ebx
pop edi
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.100271b9
mov esp, ebp
pop ebp
ret
Function at 0x10005310
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x1003400c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x28a727c]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push 4
mov eax, dword [eax + 0x1c]
push 0x28a6e50
mov dword [ebp - 8], eax
call esi
test eax, eax
jne 0x100054fd
push edi
mov edi, dword [0x28a6e50]
push 4
add edi, 0x12c
push edi
call esi
test eax, eax
jne 0x100054fc
mov edi, dword [edi]
push 4
add edi, 0x3c
push edi
call esi
test eax, eax
jne 0x100054fc
mov edi, dword [edi]
add edi, dword [ebp + 0xc]
push 4
push edi
call esi
test eax, eax
jne 0x100054fc
mov edi, dword [edi]
push 4
add edi, 0x36c
push edi
call esi
test eax, eax
jne 0x100054fc
mov edi, dword [edi]
push 4
add edi, 0x94
push edi
call esi
test eax, eax
jne 0x100054fc
mov edi, dword [edi]
push 4
add edi, 0x36c
push edi
call esi
test eax, eax
jne 0x100054fc
mov edi, dword [edi]
push 4
push edi
call esi
test eax, eax
jne 0x100054fc
mov edi, dword [edi]
push 4
add edi, 0x1dd0
push edi
call esi
test eax, eax
jne 0x100054fc
push 4
push 0x28a6e50
call esi
test eax, eax
jne 0x100054fc
push ebx
mov ebx, dword [0x28a6e50]
push 4
add ebx, 0x12c
push ebx
call esi
test eax, eax
jne 0x100054fb
mov ebx, dword [ebx]
push 4
add ebx, 0x3c
push ebx
call esi
test eax, eax
jne 0x100054fb
mov ebx, dword [ebx]
add ebx, dword [ebp + 0xc]
push 4
push ebx
call esi
test eax, eax
jne 0x100054fb
mov ebx, dword [ebx]
push 4
add ebx, 0x2e0
push ebx
call esi
test eax, eax
jne 0x100054fb
mov ebx, dword [ebx]
push 4
push ebx
call esi
test eax, eax
jne 0x100054fb
mov ecx, dword [ebp - 8]
mov eax, dword [ebx]
cmp eax, dword [ecx]
jne 0x100054fb
push 4
push 0x28a6e50
call esi
test eax, eax
jne 0x100054fb
mov ebx, dword [0x28a6e50]
push 4
add ebx, 0x12c
push ebx
call esi
test eax, eax
jne 0x100054fb
mov ebx, dword [ebx]
push 4
add ebx, 0x3c
push ebx
call esi
test eax, eax
jne 0x100054fb
mov ebx, dword [ebx]
add ebx, dword [ebp + 0xc]
push 4
push ebx
call esi
test eax, eax
jne 0x100054fb
mov ebx, dword [ebx]
push 4
add ebx, 0x36c
push ebx
call esi
test eax, eax
jne 0x100054fb
mov ebx, dword [ebx]
push 4
add ebx, 0x15c
push ebx
call esi
test eax, eax
jne 0x100054fb
mov eax, dword [ebx]
cmp eax, 0xaf
je 0x100054d8
cmp eax, 0x27bf
jne 0x100054fb
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push edi
call esi
lea eax, [ebp - 8]
mov dword [edi], 0xd0f33aa8
push eax
push dword [ebp - 8]
push 4
push edi
call esi
pop ebx
pop edi
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.100271b9
mov esp, ebp
pop ebp
ret
Function at 0x10005510
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x1003400c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x28a727c]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push 4
mov eax, dword [eax + 0x1c]
push 0x28a6e50
mov dword [ebp - 8], eax
call esi
test eax, eax
jne 0x100056fd
push edi
mov edi, dword [0x28a6e50]
push 4
add edi, 0x12c
push edi
call esi
test eax, eax
jne 0x100056fc
mov edi, dword [edi]
push 4
add edi, 0x3c
push edi
call esi
test eax, eax
jne 0x100056fc
mov edi, dword [edi]
add edi, dword [ebp + 0xc]
push 4
push edi
call esi
test eax, eax
jne 0x100056fc
mov edi, dword [edi]
push 4
add edi, 0x36c
push edi
call esi
test eax, eax
jne 0x100056fc
mov edi, dword [edi]
push 4
add edi, 0x94
push edi
call esi
test eax, eax
jne 0x100056fc
mov edi, dword [edi]
push 4
add edi, 0x36c
push edi
call esi
test eax, eax
jne 0x100056fc
mov edi, dword [edi]
push 4
push edi
call esi
test eax, eax
jne 0x100056fc
mov edi, dword [edi]
push 4
add edi, 0x1cb4
push edi
call esi
test eax, eax
jne 0x100056fc
push 4
push 0x28a6e50
call esi
test eax, eax
jne 0x100056fc
push ebx
mov ebx, dword [0x28a6e50]
push 4
add ebx, 0x12c
push ebx
call esi
test eax, eax
jne 0x100056fb
mov ebx, dword [ebx]
push 4
add ebx, 0x3c
push ebx
call esi
test eax, eax
jne 0x100056fb
mov ebx, dword [ebx]
add ebx, dword [ebp + 0xc]
push 4
push ebx
call esi
test eax, eax
jne 0x100056fb
mov ebx, dword [ebx]
push 4
add ebx, 0x2e0
push ebx
call esi
test eax, eax
jne 0x100056fb
mov ebx, dword [ebx]
push 4
push ebx
call esi
test eax, eax
jne 0x100056fb
mov ecx, dword [ebp - 8]
mov eax, dword [ebx]
cmp eax, dword [ecx]
jne 0x100056fb
push 4
push 0x28a6e50
call esi
test eax, eax
jne 0x100056fb
mov ebx, dword [0x28a6e50]
push 4
add ebx, 0x12c
push ebx
call esi
test eax, eax
jne 0x100056fb
mov ebx, dword [ebx]
push 4
add ebx, 0x3c
push ebx
call esi
test eax, eax
jne 0x100056fb
mov ebx, dword [ebx]
add ebx, dword [ebp + 0xc]
push 4
push ebx
call esi
test eax, eax
jne 0x100056fb
mov ebx, dword [ebx]
push 4
add ebx, 0x36c
push ebx
call esi
test eax, eax
jne 0x100056fb
mov ebx, dword [ebx]
push 4
add ebx, 0x15c
push ebx
call esi
test eax, eax
jne 0x100056fb
mov eax, dword [ebx]
cmp eax, 0x96
je 0x100056d8
cmp eax, 0x27a6
jne 0x100056fb
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push edi
call esi
lea eax, [ebp - 8]
mov dword [edi], 0x19aa15
push eax
push dword [ebp - 8]
push 4
push edi
call esi
pop ebx
pop edi
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.100271b9
mov esp, ebp
pop ebp
ret