joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10004610
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp byte [0x1004099b], 0
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov ebx, ecx
je 0x100047f2
mov esi, dword [0x1003c14c]
mov edi, dword [ebp + 8]
cmp dword [0x1003c134], esi
jne 0x10004715
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov esi, eax
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, esi
jne 0x10004681
push dword [0x10041230]
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
call esi
test al, 1
je 0x1000466c
mov eax, dword [edi]
cmp eax, dword [ebp - 4]
jge 0x10004681
inc eax
jmp 0x1000467f
push dword [0x10040dc0]
call esi
test al, 1
je 0x10004681
mov eax, dword [edi]
test eax, eax
jle 0x10004681
dec eax
mov dword [edi], eax
mov esi, dword [0x1003c14c]
cmp dword [0x1003c134], esi
jne 0x10004715
push ebx
push 1
push dword [0x1004135c]
call fcn.10003af0
push eax
mov eax, dword [0x1003c140]
mov ecx, esi
shl ecx, 4
add eax, 0xffffffd8
sub ecx, esi
add eax, ecx
push eax
mov eax, dword [0x1003c138]
add eax, 0xfffffffd
push eax
call fcn.10003b70
mov ecx, dword [edi]
add esp, 0x18
mov eax, dword [ebp + 0x10]
push dword [eax + ecx*4]
push 1
push dword [0x1004135c]
call fcn.10003af0
mov ecx, dword [0x1003c14c]
push eax
mov eax, dword [0x1003c140]
shl ecx, 4
add eax, 0xffffffd8
sub ecx, dword [0x1003c14c]
add eax, ecx
push eax
mov eax, dword [0x1003c138]
add eax, 0x8c
push eax
call fcn.10003b70
add esp, 0x18
inc dword [0x1003c14c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x1003c140]
mov ecx, esi
shl ecx, 4
add eax, 0xffffffd8
push ebx
sub ecx, esi
push 1
push dword [0x1004135c]
add eax, ecx
cmp dword [edi], 0
jle 0x10004790
cmp dword [ebp + 0xc], 1
jne 0x10004765
push 0xff7fff00
push eax
mov eax, dword [0x1003c138]
add eax, 0xfffffffd
push eax
call fcn.10003b70
mov ecx, dword [edi]
mov eax, dword [ebp + 0x10]
push dword [eax + ecx*4]
push 1
push dword [0x1004135c]
push 0xff7fff00
jmp 0x100047bf
push 0xff00ffff
push eax
mov eax, dword [0x1003c138]
add eax, 0xfffffffd
push eax
call fcn.10003b70
mov ecx, dword [edi]
mov eax, dword [ebp + 0x10]
push dword [eax + ecx*4]
push 1
push dword [0x1004135c]
push 0xff00ffff
jmp 0x100047bf
cmp dword [ebp + 0xc], 1
je 0x1000473a
push 0xffffff33
push eax
mov eax, dword [0x1003c138]
add eax, 0xfffffffd
push eax
call fcn.10003b70
mov ecx, dword [edi]
mov eax, dword [ebp + 0x10]
push dword [eax + ecx*4]
push 1
push dword [0x1004135c]
push 0xffffff33
mov ecx, dword [0x1003c14c]
mov eax, dword [0x1003c140]
shl ecx, 4
add eax, 0xffffffd8
sub ecx, dword [0x1003c14c]
add eax, ecx
push eax
mov eax, dword [0x1003c138]
add eax, 0x8c
push eax
call fcn.10003b70
add esp, 0x30
inc dword [0x1003c14c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10004b10
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x10037040]
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 0x10004b78
mov esi, dword [esi]
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
jle 0x10004b78
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 0x10004b65
mov esi, dword [edi]
inc ebx
mov eax, dword [ebp - 0xc]
cmp ebx, dword [ebp + 0xc]
jl 0x10004b40
jmp 0x10004b7b
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10029901
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.10029901
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 [0x10037040]
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 0x28d70d8
mov edi, edx
call esi
test eax, eax
jne 0x1000511c
mov eax, dword [0x28d70d8]
add edi, eax
push 4
push edi
call esi
test eax, eax
jne 0x1000511c
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.10029901
mov esp, ebp
pop ebp
ret
Function at 0x10005130
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x10037040]
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 0x28d70d8
mov dword [ebp - 0xc], eax
call esi
test eax, eax
jne 0x100051e4
push edi
mov edi, dword [0x28d70d8]
push 4
add edi, 0x12c
push edi
call esi
test eax, eax
jne 0x100051d2
push ebx
mov ebx, dword [edi]
push 4
add ebx, 0x110
push ebx
call esi
test eax, eax
jne 0x100051bf
mov ebx, dword [ebx]
add ebx, dword [ebp + 0xc]
push 4
push ebx
call esi
test eax, eax
jne 0x100051bf
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.10029901
mov esp, ebp
pop ebp
ret
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10029901
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.10029901
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x10037040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push edi
push 4
push 0x28d47ac
mov edi, edx
call esi
test eax, eax
jne 0x10005257
mov eax, dword [0x28d47ac]
add edi, eax
push 4
push edi
call esi
test eax, eax
jne 0x10005257
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.10029901
mov esp, ebp
pop ebp
ret
Function at 0x10005270
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x10037040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x28d7504]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push 4
mov eax, dword [eax + 0x1c]
push 0x28d70d8
mov dword [ebp - 8], eax
call esi
test eax, eax
jne 0x100053a9
push edi
mov edi, dword [0x28d70d8]
push 4
add edi, 0x12c
push edi
call esi
test eax, eax
jne 0x100053a8
mov edi, dword [edi]
push 4
add edi, 0x3c
push edi
call esi
test eax, eax
jne 0x100053a8
mov edi, dword [edi]
add edi, dword [ebp + 0xc]
push 4
push edi
call esi
test eax, eax
jne 0x100053a8
mov edi, dword [edi]
push 4
add edi, 0x370
push edi
call esi
test eax, eax
jne 0x100053a8
mov edi, dword [edi]
push 4
add edi, 0x94
push edi
call esi
test eax, eax
jne 0x100053a8
push ebx
mov ebx, dword [edi]
push 4
add ebx, 0xaa
push ebx
call esi
test eax, eax
jne 0x100053a7
push 4
push 0x28d70d8
call esi
test eax, eax
jne 0x100053a7
mov edi, dword [0x28d70d8]
push 4
add edi, 0x12c
push edi
call esi
test eax, eax
jne 0x100053a7
mov edi, dword [edi]
push 4
add edi, 0x3c
push edi
call esi
test eax, eax
jne 0x100053a7
mov edi, dword [edi]
add edi, dword [ebp + 0xc]
push 4
push edi
call esi
test eax, eax
jne 0x100053a7
mov edi, dword [edi]
push 4
add edi, 0x2e4
push edi
call esi
test eax, eax
jne 0x100053a7
mov edi, dword [edi]
push 4
push edi
call esi
test eax, eax
jne 0x100053a7
mov ecx, dword [ebp - 8]
mov eax, dword [edi]
cmp eax, dword [ecx]
jne 0x100053a7
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.10029901
mov esp, ebp
pop ebp
ret
Function at 0x100053c0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x10037040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x28d7504]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push 4
mov eax, dword [eax + 0x1c]
push 0x28d70d8
mov dword [ebp - 8], eax
call esi
test eax, eax
jne 0x100055d0
push edi
mov edi, dword [0x28d70d8]
push 4
add edi, 0x12c
push edi
call esi
test eax, eax
jne 0x100055cf
mov edi, dword [edi]
push 4
add edi, 0x3c
push edi
call esi
test eax, eax
jne 0x100055cf
mov edi, dword [edi]
add edi, dword [ebp + 0xc]
push 4
push edi
call esi
test eax, eax
jne 0x100055cf
mov edi, dword [edi]
push 4
add edi, 0x370
push edi
call esi
test eax, eax
jne 0x100055cf
mov edi, dword [edi]
push 4
add edi, 0x94
push edi
call esi
test eax, eax
jne 0x100055cf
mov edi, dword [edi]
push 4
add edi, 0x370
push edi
call esi
test eax, eax
jne 0x100055cf
mov edi, dword [edi]
push 4
add edi, 0x28
push edi
call esi
test eax, eax
jne 0x100055cf
mov edi, dword [edi]
push 4
add edi, 0x10ac
push edi
call esi
test eax, eax
jne 0x100055cf
push 4
push 0x28d70d8
call esi
test eax, eax
jne 0x100055cf
push ebx
mov ebx, dword [0x28d70d8]
push 4
add ebx, 0x12c
push ebx
call esi
test eax, eax
jne 0x100055ce
mov ebx, dword [ebx]
push 4
add ebx, 0x3c
push ebx
call esi
test eax, eax
jne 0x100055ce
mov ebx, dword [ebx]
add ebx, dword [ebp + 0xc]
push 4
push ebx
call esi
test eax, eax
jne 0x100055ce
mov ebx, dword [ebx]
push 4
add ebx, 0x2e4
push ebx
call esi
test eax, eax
jne 0x100055ce
mov ebx, dword [ebx]
push 4
push ebx
call esi
test eax, eax
jne 0x100055ce
mov ecx, dword [ebp - 8]
mov eax, dword [ebx]
cmp eax, dword [ecx]
jne 0x100055ce
push 4
push 0x28d70d8
call esi
test eax, eax
jne 0x100055ce
mov ebx, dword [0x28d70d8]
push 4
add ebx, 0x12c
push ebx
call esi
test eax, eax
jne 0x100055ce
mov ebx, dword [ebx]
push 4
add ebx, 0x3c
push ebx
call esi
test eax, eax
jne 0x100055ce
mov ebx, dword [ebx]
add ebx, dword [ebp + 0xc]
push 4
push ebx
call esi
test eax, eax
jne 0x100055ce
mov ebx, dword [ebx]
push 4
add ebx, 0x370
push ebx
call esi
test eax, eax
jne 0x100055ce
mov ebx, dword [ebx]
push 4
add ebx, 0x178
push ebx
call esi
test eax, eax
jne 0x100055ce
mov eax, dword [ebx]
cmp eax, 0x1b1bb
je 0x100055ab
cmp eax, 0x18715
je 0x100055ab
cmp eax, 0x1b1ba
je 0x100055ab
cmp eax, 0x1b1bd
je 0x100055ab
cmp eax, 0x1872c
je 0x100055ab
cmp eax, 0x1b21c
jne 0x100055ce
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.10029901
mov esp, ebp
pop ebp
ret
Function at 0x100055f0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x10037040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x28d7504]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push 4
mov eax, dword [eax + 0x1c]
push 0x28d70d8
mov dword [ebp - 8], eax
call esi
test eax, eax
jne 0x10005824
push edi
mov edi, dword [0x28d70d8]
push 4
add edi, 0x12c
push edi
call esi
test eax, eax
jne 0x10005823
mov edi, dword [edi]
push 4
add edi, 0x3c
push edi
call esi
test eax, eax
jne 0x10005823
mov edi, dword [edi]
add edi, dword [ebp + 0xc]
push 4
push edi
call esi
test eax, eax
jne 0x10005823
mov edi, dword [edi]
push 4
add edi, 0x370
push edi
call esi
test eax, eax
jne 0x10005823
mov edi, dword [edi]
push 4
add edi, 0x94
push edi
call esi
test eax, eax
jne 0x10005823
mov edi, dword [edi]
push 4
add edi, 0x370
push edi
call esi
test eax, eax
jne 0x10005823
mov edi, dword [edi]
push 4
add edi, 0x30
push edi
call esi
test eax, eax
jne 0x10005823
mov edi, dword [edi]
push 4
add edi, 0x10ac
push edi
call esi
test eax, eax
jne 0x10005823
push 4
push 0x28d70d8
call esi
test eax, eax
jne 0x10005823
push ebx
mov ebx, dword [0x28d70d8]
push 4
add ebx, 0x12c
push ebx
call esi
test eax, eax
jne 0x10005822
mov ebx, dword [ebx]
push 4
add ebx, 0x3c
push ebx
call esi
test eax, eax
jne 0x10005822
mov ebx, dword [ebx]
add ebx, dword [ebp + 0xc]
push 4
push ebx
call esi
test eax, eax
jne 0x10005822
mov ebx, dword [ebx]
push 4
add ebx, 0x2e4
push ebx
call esi
test eax, eax
jne 0x10005822
mov ebx, dword [ebx]
push 4
push ebx
call esi
test eax, eax
jne 0x10005822
mov ecx, dword [ebp - 8]
mov eax, dword [ebx]
cmp eax, dword [ecx]
jne 0x10005822
push 4
push 0x28d70d8
call esi
test eax, eax
jne 0x10005822
mov ebx, dword [0x28d70d8]
push 4
add ebx, 0x12c
push ebx
call esi
test eax, eax
jne 0x10005822
mov ebx, dword [ebx]
push 4
add ebx, 0x3c
push ebx
call esi
test eax, eax
jne 0x10005822
mov ebx, dword [ebx]
add ebx, dword [ebp + 0xc]
push 4
push ebx
call esi
test eax, eax
jne 0x10005822
mov ebx, dword [ebx]
push 4
add ebx, 0x370
push ebx
call esi
test eax, eax
jne 0x10005822
mov ebx, dword [ebx]
push 4
add ebx, 0x1b0
push ebx
call esi
test eax, eax
jne 0x10005822
mov eax, dword [ebx]
cmp eax, 0x4bb35
je 0x100057ff
cmp eax, 0x4bef9
je 0x100057ff
cmp eax, 0x4bf44
je 0x100057ff
cmp eax, 0x4bf02
je 0x100057ff
cmp eax, 0x49455
je 0x100057ff
cmp eax, 0x4bf20
je 0x100057ff
cmp eax, 0x4bf4a
je 0x100057ff
cmp eax, 0x4bf63
je 0x100057ff
cmp eax, 0x494b4
je 0x100057ff
cmp eax, 0x4bb03
jne 0x10005822
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], 0x271e1a28
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.10029901
mov esp, ebp
pop ebp
ret
Function at 0x10005840
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x10037040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x28d7504]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push 4
mov eax, dword [eax + 0x1c]
push 0x28d70d8
mov dword [ebp - 8], eax
call esi
test eax, eax
jne 0x10005a2d
push edi
mov edi, dword [0x28d70d8]
push 4
add edi, 0x12c
push edi
call esi
test eax, eax
jne 0x10005a2c
mov edi, dword [edi]
push 4
add edi, 0x3c
push edi
call esi
test eax, eax
jne 0x10005a2c
mov edi, dword [edi]
add edi, dword [ebp + 0xc]
push 4
push edi
call esi
test eax, eax
jne 0x10005a2c
mov edi, dword [edi]
push 4
add edi, 0x370
push edi
call esi
test eax, eax
jne 0x10005a2c
mov edi, dword [edi]
push 4
add edi, 0x94
push edi
call esi
test eax, eax
jne 0x10005a2c
mov edi, dword [edi]
push 4
add edi, 0x370
push edi
call esi
test eax, eax
jne 0x10005a2c
mov edi, dword [edi]
push 4
push edi
call esi
test eax, eax
jne 0x10005a2c
mov edi, dword [edi]
push 4
add edi, 0x1dd0
push edi
call esi
test eax, eax
jne 0x10005a2c
push 4
push 0x28d70d8
call esi
test eax, eax
jne 0x10005a2c
push ebx
mov ebx, dword [0x28d70d8]
push 4
add ebx, 0x12c
push ebx
call esi
test eax, eax
jne 0x10005a2b
mov ebx, dword [ebx]
push 4
add ebx, 0x3c
push ebx
call esi
test eax, eax
jne 0x10005a2b
mov ebx, dword [ebx]
add ebx, dword [ebp + 0xc]
push 4
push ebx
call esi
test eax, eax
jne 0x10005a2b
mov ebx, dword [ebx]
push 4
add ebx, 0x2e4
push ebx
call esi
test eax, eax
jne 0x10005a2b
mov ebx, dword [ebx]
push 4
push ebx
call esi
test eax, eax
jne 0x10005a2b
mov ecx, dword [ebp - 8]
mov eax, dword [ebx]
cmp eax, dword [ecx]
jne 0x10005a2b
push 4
push 0x28d70d8
call esi
test eax, eax
jne 0x10005a2b
mov ebx, dword [0x28d70d8]
push 4
add ebx, 0x12c
push ebx
call esi
test eax, eax
jne 0x10005a2b
mov ebx, dword [ebx]
push 4
add ebx, 0x3c
push ebx
call esi
test eax, eax
jne 0x10005a2b
mov ebx, dword [ebx]
add ebx, dword [ebp + 0xc]
push 4
push ebx
call esi
test eax, eax
jne 0x10005a2b
mov ebx, dword [ebx]
push 4
add ebx, 0x370
push ebx
call esi
test eax, eax
jne 0x10005a2b
mov ebx, dword [ebx]
push 4
add ebx, 0x15c
push ebx
call esi
test eax, eax
jne 0x10005a2b
mov eax, dword [ebx]
cmp eax, 0xaf
je 0x10005a08
cmp eax, 0x27bf
jne 0x10005a2b
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.10029901
mov esp, ebp
pop ebp
ret
Function at 0x10005a40
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x10037040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x28d7504]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push 4
mov eax, dword [eax + 0x1c]
push 0x28d70d8
mov dword [ebp - 8], eax
call esi
test eax, eax
jne 0x10005c2d
push edi
mov edi, dword [0x28d70d8]
push 4
add edi, 0x12c
push edi
call esi
test eax, eax
jne 0x10005c2c
mov edi, dword [edi]
push 4
add edi, 0x3c
push edi
call esi
test eax, eax
jne 0x10005c2c
mov edi, dword [edi]
add edi, dword [ebp + 0xc]
push 4
push edi
call esi
test eax, eax
jne 0x10005c2c
mov edi, dword [edi]
push 4
add edi, 0x370
push edi
call esi
test eax, eax
jne 0x10005c2c
mov edi, dword [edi]
push 4
add edi, 0x94
push edi
call esi
test eax, eax
jne 0x10005c2c
mov edi, dword [edi]
push 4
add edi, 0x370
push edi
call esi
test eax, eax
jne 0x10005c2c
mov edi, dword [edi]
push 4
push edi
call esi
test eax, eax
jne 0x10005c2c
mov edi, dword [edi]
push 4
add edi, 0x1cb4
push edi
call esi
test eax, eax
jne 0x10005c2c
push 4
push 0x28d70d8
call esi
test eax, eax
jne 0x10005c2c
push ebx
mov ebx, dword [0x28d70d8]
push 4
add ebx, 0x12c
push ebx
call esi
test eax, eax
jne 0x10005c2b
mov ebx, dword [ebx]
push 4
add ebx, 0x3c
push ebx
call esi
test eax, eax
jne 0x10005c2b
mov ebx, dword [ebx]
add ebx, dword [ebp + 0xc]
push 4
push ebx
call esi
test eax, eax
jne 0x10005c2b
mov ebx, dword [ebx]
push 4
add ebx, 0x2e4
push ebx
call esi
test eax, eax
jne 0x10005c2b
mov ebx, dword [ebx]
push 4
push ebx
call esi
test eax, eax
jne 0x10005c2b
mov ecx, dword [ebp - 8]
mov eax, dword [ebx]
cmp eax, dword [ecx]
jne 0x10005c2b
push 4
push 0x28d70d8
call esi
test eax, eax
jne 0x10005c2b
mov ebx, dword [0x28d70d8]
push 4
add ebx, 0x12c
push ebx
call esi
test eax, eax
jne 0x10005c2b
mov ebx, dword [ebx]
push 4
add ebx, 0x3c
push ebx
call esi
test eax, eax
jne 0x10005c2b
mov ebx, dword [ebx]
add ebx, dword [ebp + 0xc]
push 4
push ebx
call esi
test eax, eax
jne 0x10005c2b
mov ebx, dword [ebx]
push 4
add ebx, 0x370
push ebx
call esi
test eax, eax
jne 0x10005c2b
mov ebx, dword [ebx]
push 4
add ebx, 0x15c
push ebx
call esi
test eax, eax
jne 0x10005c2b
mov eax, dword [ebx]
cmp eax, 0x96
je 0x10005c08
cmp eax, 0x27a6
jne 0x10005c2b
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.10029901
mov esp, ebp
pop ebp
ret
Function at 0x10005c40
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x10037040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x28d7504]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push 4
mov eax, dword [eax + 0x1c]
push 0x28d70d8
mov dword [ebp - 8], eax
call esi
test eax, eax
jne 0x10005e2d
push edi
mov edi, dword [0x28d70d8]
push 4
add edi, 0x12c
push edi
call esi
test eax, eax
jne 0x10005e2c
mov edi, dword [edi]
push 4
add edi, 0x3c
push edi
call esi
test eax, eax
jne 0x10005e2c
mov edi, dword [edi]
add edi, dword [ebp + 0xc]
push 4
push edi
call esi
test eax, eax
jne 0x10005e2c
mov edi, dword [edi]
push 4
add edi, 0x370
push edi
call esi
test eax, eax
jne 0x10005e2c
mov edi, dword [edi]
push 4
add edi, 0x94
push edi
call esi
test eax, eax
jne 0x10005e2c
mov edi, dword [edi]
push 4
add edi, 0x370
push edi
call esi
test eax, eax
jne 0x10005e2c
mov edi, dword [edi]
push 4
push edi
call esi
test eax, eax
jne 0x10005e2c
mov edi, dword [edi]
push 4
add edi, 0x18c8
push edi
call esi
test eax, eax
jne 0x10005e2c
push 4
push 0x28d70d8
call esi
test eax, eax
jne 0x10005e2c
push ebx
mov ebx, dword [0x28d70d8]
push 4
add ebx, 0x12c
push ebx
call esi
test eax, eax
jne 0x10005e2b
mov ebx, dword [ebx]
push 4
add ebx, 0x3c
push ebx
call esi
test eax, eax
jne 0x10005e2b
mov ebx, dword [ebx]
add ebx, dword [ebp + 0xc]
push 4
push ebx
call esi
test eax, eax
jne 0x10005e2b
mov ebx, dword [ebx]
push 4
add ebx, 0x2e4
push ebx
call esi
test eax, eax
jne 0x10005e2b
mov ebx, dword [ebx]
push 4
push ebx
call esi
test eax, eax
jne 0x10005e2b
mov ecx, dword [ebp - 8]
mov eax, dword [ebx]
cmp eax, dword [ecx]
jne 0x10005e2b
push 4
push 0x28d70d8
call esi
test eax, eax
jne 0x10005e2b
mov ebx, dword [0x28d70d8]
push 4
add ebx, 0x12c
push ebx
call esi
test eax, eax
jne 0x10005e2b
mov ebx, dword [ebx]
push 4
add ebx, 0x3c
push ebx
call esi
test eax, eax
jne 0x10005e2b
mov ebx, dword [ebx]
add ebx, dword [ebp + 0xc]
push 4
push ebx
call esi
test eax, eax
jne 0x10005e2b
mov ebx, dword [ebx]
push 4
add ebx, 0x370
push ebx
call esi
test eax, eax
jne 0x10005e2b
mov ebx, dword [ebx]
push 4
add ebx, 0x15c
push ebx
call esi
test eax, eax
jne 0x10005e2b
mov eax, dword [ebx]
cmp eax, 0xbb
je 0x10005e08
cmp eax, 0x27cb
jne 0x10005e2b
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], 0xf7a76aa9
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.10029901
mov esp, ebp
pop ebp
ret