joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10077700
Capabilities:
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1015963d
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x101c6474]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x101d2bc0], 0
je 0x10077875
push 0
push 0
push 0x10184f18
call fcn.10017820
add esp, 4
push eax
push str.https:__github.com_user_grinch_Cheat_Menu_raw_master_resource_addon_text.ttf
push 0
call sub.urlmon.dll_URLDownloadToFileA
cmp eax, 0x8007000e
je 0x10077777
cmp eax, 0x800c0008
je 0x10077777
mov byte [0x101d2bc4], 1
mov dword [0x101d2bc0], 0
jmp 0x10077875
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
mov eax, dword [0x10187910]
movq xmm0, qword [str.Updater.Failed]
mov dword [ebp - 0x20], eax
mov ax, word [0x10187914]
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0xe
mov dword [ebp - 0x14], 0xf
movq qword [ebp - 0x28], xmm0
mov word [ebp - 0x1c], ax
mov byte [ebp - 0x1a], 0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.10079f00
add esp, 0xc
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 2
jb 0x100777ec
mov eax, dword [eax]
push 0
push 0
push 0
push eax
call fcn.10084f70
add esp, 0x10
lea ecx, [ebp - 0x58]
call fcn.100178b0
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x10077833
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10077829
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1007788e
push ecx
push edx
call fcn.10128206
add esp, 8
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp ecx, 0x10
jb 0x10077875
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1007786b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1007788e
push ecx
push edx
call fcn.10128206
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10128533
mov esp, ebp
pop ebp
ret
call fcn.1012e26f
int3
Function at 0x1007f150
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101568cd
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x101c6474]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
sub esp, 0x28
mov dword [ebp - 4], 0
mov esi, esp
mov dword [esi + 0x24], 0
mov ecx, dword [ebp + 0x30]
test ecx, ecx
je 0x1007f1c7
lea eax, [ebp + 0xc]
cmp ecx, eax
jne 0x1007f1bd
mov eax, dword [ecx]
push esi
call dword [eax + 4]
mov dword [esi + 0x24], eax
mov ecx, dword [ebp + 0x30]
test ecx, ecx
je 0x1007f1c7
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
lea eax, [ebp + 0xc]
cmp ecx, eax
setne al
push eax
call edx
jmp 0x1007f1c0
mov dword [esi + 0x24], ecx
mov dword [ebp + 0x30], 0
push dword [ebp + 8]
mov ecx, edi
call fcn.1004c680
cmp byte [edi + 0x24], 0
jne 0x1007f296
mov esi, dword [ebp + 0x34]
push 0x474bc0
call fcn.100173c0
mov ecx, dword fs:[0x2c]
add esp, 4
mov edx, dword [0x101d86e4]
mov ebx, eax
mov edx, dword [ecx + edx*4]
mov ecx, dword [0x101d95e4]
cmp ecx, dword [edx + 4]
jg 0x1007f2c2
mov eax, dword [edi]
push 1
push 5
push ecx
mov edx, dword [eax + 8]
mov ecx, edi
mov eax, esp
mov dword [eax], ebx
call edx
push 1
push ecx
mov eax, esp
mov dword [eax], ebx
lea eax, [ebp - 0x10]
push eax
call fcn.10018850
add esp, 0xc
mov dword [ebp - 0x20], 1
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x24], ebx
push eax
push 0x40
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
setne byte [ebp - 0x18]
mov byte [ebx], 0xe8
cmp byte [ebp - 0x18], 0
je 0x1007f273
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x14]
push ecx
push eax
push dword [ebp - 0x20]
mov dword [ebp - 0x14], eax
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push 1
push 4
push ecx
mov eax, esp
push ecx
mov ecx, esp
mov dword [eax], esi
lea eax, [ebx + 1]
mov dword [ecx], eax
call fcn.100186f0
mov eax, dword [ebp - 0x10]
add esp, 0x10
mov dword [edi + 0x18], eax
mov byte [edi + 0x24], 1
mov ecx, dword [ebp + 0x30]
test ecx, ecx
je 0x1007f2ae
mov edx, dword [ecx]
lea eax, [ebp + 0xc]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x30
push 0x101d95e4
call fcn.10128100
add esp, 4
cmp dword [0x101d95e4], 0xffffffff
jne 0x1007f20f
mov ecx, 0x101d95d8
mov dword [0x101d95d8], 0x101b2fcc
mov dword [0x101d95e0], 0
mov dword [0x101d95dc], 0
call fcn.100189c0
push 0x101d95e4
call fcn.101280b6
add esp, 4
jmp 0x1007f20f
Function at 0x100850a0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push dword [ebp + 8]
call fcn.100173c0
add esp, 4
lea ecx, [ebp - 4]
push eax
call fcn.100186c0
movzx eax, byte [ebp + 0xc]
xor edx, edx
mov esi, dword [ebp - 4]
mov dword [ebp - 0x14], edx
test eax, eax
jne 0x100850d0
xor al, al
jmp 0x100850ec
lea ecx, [ebp - 0xc]
mov dword [ebp - 0x10], eax
push ecx
push 0x40
push eax
push esi
mov dword [ebp - 0x14], esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edx, dword [ebp - 0x14]
test eax, eax
setne al
mov byte [ebp - 8], al
mov bl, byte [esi]
test al, al
je 0x1008510a
mov ecx, dword [ebp - 0xc]
lea eax, [ebp + 0xc]
push eax
push ecx
push dword [ebp - 0x10]
mov dword [ebp + 0xc], ecx
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10085120
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
push dword [ebp + 8]
call fcn.100173c0
add esp, 4
lea ecx, [ebp - 4]
push eax
call fcn.100186c0
movzx eax, byte [ebp + 0x10]
mov esi, dword [ebp - 4]
mov dword [ebp - 0x14], 0
test eax, eax
jne 0x10085153
mov byte [ebp - 8], 0
jmp 0x1008516d
lea ecx, [ebp - 0xc]
mov dword [ebp - 0x10], eax
push ecx
push 0x40
push eax
push esi
mov dword [ebp - 0x14], esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
setne byte [ebp - 8]
mov al, byte [ebp + 0xc]
mov byte [esi], al
cmp byte [ebp - 8], 0
je 0x1008518f
mov eax, dword [ebp - 0xc]
lea ecx, [ebp + 0x10]
push ecx
push eax
push dword [ebp - 0x10]
mov dword [ebp + 0x10], eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1008b1e0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1015b600
mov eax, dword fs:[0]
push eax
sub esp, 0xcc
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x18]
mov ecx, 3
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov eax, dword [0x101c6474]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov ecx, 0x101f801c
call fcn.1012921f
mov ecx, dword [ebp - 0x14]
call fcn.1008b160
mov ecx, dword [ebp - 0x14]
add ecx, 0x38
call fcn.10088b00
mov ecx, dword [ebp - 0x14]
add ecx, 0x64
call fcn.10088b70
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x14]
add ecx, 0x7c
call fcn.1008bb70
mov ecx, dword [ebp - 0x14]
add ecx, 0x84
call fcn.1008bb70
mov ecx, dword [ebp - 0x14]
add ecx, 0x8c
call fcn.1008bb70
mov ecx, dword [ebp - 0x14]
add ecx, 0x94
call fcn.1008bb70
mov eax, 4
shl eax, 0
mov ecx, dword [ebp - 0x14]
mov dword [ecx + eax + 0x28], 0xffffffff
mov edx, 4
imul eax, edx, 0
mov ecx, dword [ebp - 0x14]
mov dword [ecx + eax + 0x28], 0xffffffff
mov eax, 4
shl eax, 0
mov ecx, dword [ebp - 0x14]
mov dword [ecx + eax + 0x30], 0
mov edx, 4
imul eax, edx, 0
mov ecx, dword [ebp - 0x14]
mov dword [ecx + eax + 0x30], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0xd8
cmp ebp, esp
call fcn.101291fc
mov esp, ebp
pop ebp
ret
Function at 0x1008b820
Capabilities:
Get number of processors
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1015b6b1
mov eax, dword fs:[0]
push eax
sub esp, 0xcc
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x18]
mov ecx, 3
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov eax, dword [0x101c6474]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x14]
call fcn.1008bb70
mov ecx, dword [ebp - 0x14]
add ecx, 8
call fcn.1008bb70
mov ecx, dword [ebp - 0x14]
add ecx, 0x10
call fcn.1008bb70
mov ecx, dword [ebp - 0x14]
add ecx, 0x18
call fcn.1008bb70
mov ecx, dword [ebp - 0x14]
add ecx, 0x20
call fcn.1008bb70
mov ecx, dword [ebp - 0x14]
add ecx, 0x28
call fcn.1008bb70
mov ecx, dword [ebp - 0x14]
add ecx, 0x30
call fcn.1008bb70
mov ecx, dword [ebp - 0x14]
add ecx, 0x44
call fcn.1008bb00
mov ecx, dword [ebp - 0x14]
add ecx, 0x48
call fcn.1008bb00
mov ecx, dword [ebp - 0x14]
add ecx, 0x4c
call fcn.1008bb00
mov ecx, dword [ebp - 0x14]
add ecx, 0x50
call fcn.1008bb70
mov ecx, dword [ebp - 0x14]
add ecx, 0x64
call fcn.1008bb70
mov ecx, dword [ebp - 0x14]
add ecx, 0x6c
call fcn.1008a420
mov ecx, dword [ebp - 0x14]
add ecx, 0x90
call fcn.10088a60
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x14]
add ecx, 0xb8
call fcn.10088a60
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x14]
add ecx, 0xc4
call fcn.10088a60
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0xd8
cmp ebp, esp
call fcn.101291fc
mov esp, ebp
pop ebp
ret
Function at 0x1009eb90
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc0
push ebx
push esi
push edi
mov edi, ebp
xor ecx, ecx
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov ecx, 0x101f8071
call fcn.1012921f
mov eax, dword [ebp + 0x1c]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.1012efce
add esp, 0x10
xor edx, edx
pop edi
pop esi
pop ebx
add esp, 0xc0
cmp ebp, esp
call fcn.101291fc
mov esp, ebp
pop ebp
ret

Function at 0x1009ebe0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc0
push ebx
push esi
push edi
mov edi, ebp
xor ecx, ecx
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov ecx, 0x101f8071
call fcn.1012921f
mov eax, dword [ebp + 0x1c]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.1012f655
add esp, 0x10
xor edx, edx
pop edi
pop esi
pop ebx
add esp, 0xc0
cmp ebp, esp
call fcn.101291fc
mov esp, ebp
pop ebp
ret

Function at 0x100a0010
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xec
push ebx
push esi
push edi
lea edi, [ebp - 0x2c]
mov ecx, 0xb
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov ecx, 0x101f8071
call fcn.1012921f
mov eax, dword [ebp + 0x10]
not eax
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x20], 0x1018f960
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xe8], eax
mov ecx, dword [ebp + 0xc]
sub ecx, 1
mov dword [ebp + 0xc], ecx
cmp dword [ebp - 0xe8], 0
je 0x100a0071
mov dword [ebp - 0xec], 1
jmp 0x100a007b
mov dword [ebp - 0xec], 0
cmp dword [ebp - 0xec], 0
je 0x100a00bb
mov eax, dword [ebp - 8]
shr eax, 8
mov ecx, dword [ebp - 8]
and ecx, 0xff
mov edx, dword [ebp - 0x14]
movzx edx, byte [edx]
xor ecx, edx
mov edx, dword [ebp - 0x20]
xor eax, dword [edx + ecx*4]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0xe8]
mov dword [ebp - 8], ecx
jmp 0x100a004a
mov eax, dword [ebp - 8]
not eax
pop edi
pop esi
pop ebx
add esp, 0xec
cmp ebp, esp
call fcn.101291fc
mov esp, ebp
pop ebp
ret
Function at 0x100a00e0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push ebx
push esi
push edi
lea edi, [ebp - 0x44]
mov ecx, 0x11
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov ecx, 0x101f8071
call fcn.1012921f
mov eax, dword [ebp + 0x10]
not eax
mov dword [ebp + 0x10], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x20], 0x1018f960
cmp dword [ebp + 0xc], 0
je 0x100a01e3
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x100], eax
mov ecx, dword [ebp + 0xc]
sub ecx, 1
mov dword [ebp + 0xc], ecx
cmp dword [ebp - 0x100], 0
je 0x100a0151
mov dword [ebp - 0x104], 1
jmp 0x100a015b
mov dword [ebp - 0x104], 0
cmp dword [ebp - 0x104], 0
je 0x100a01e1
mov eax, dword [ebp - 0x14]
mov cl, byte [eax]
mov byte [ebp - 0xfd], cl
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
mov al, byte [ebp - 0xfd]
mov byte [ebp - 0x29], al
movzx eax, byte [ebp - 0x29]
cmp eax, 0x23
jne 0x100a01be
cmp dword [ebp + 0xc], 2
jb 0x100a01be
mov eax, 1
imul ecx, eax, 0
mov edx, dword [ebp - 0x14]
movzx eax, byte [edx + ecx]
cmp eax, 0x23
jne 0x100a01be
mov eax, 1
shl eax, 0
mov ecx, dword [ebp - 0x14]
movzx edx, byte [ecx + eax]
cmp edx, 0x23
jne 0x100a01be
mov eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
shr eax, 8
mov ecx, dword [ebp - 8]
and ecx, 0xff
movzx edx, byte [ebp - 0x29]
xor ecx, edx
mov edx, dword [ebp - 0x20]
xor eax, dword [edx + ecx*4]
mov dword [ebp - 8], eax
jmp 0x100a012a
jmp 0x100a025f
mov eax, dword [ebp - 0x14]
mov cl, byte [eax]
mov byte [ebp - 0xfd], cl
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
mov al, byte [ebp - 0xfd]
mov byte [ebp - 0x35], al
movzx eax, byte [ebp - 0x35]
test eax, eax
je 0x100a025f
movzx eax, byte [ebp - 0x35]
cmp eax, 0x23
jne 0x100a023f
mov eax, 1
imul ecx, eax, 0
mov edx, dword [ebp - 0x14]
movzx eax, byte [edx + ecx]
cmp eax, 0x23
jne 0x100a023f
mov eax, 1
shl eax, 0
mov ecx, dword [ebp - 0x14]
movzx edx, byte [ecx + eax]
cmp edx, 0x23
jne 0x100a023f
mov eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
shr eax, 8
mov ecx, dword [ebp - 8]
and ecx, 0xff
movzx edx, byte [ebp - 0x35]
xor ecx, edx
mov edx, dword [ebp - 0x20]
xor eax, dword [edx + ecx*4]
mov dword [ebp - 8], eax
jmp 0x100a01e3
mov eax, dword [ebp - 8]
not eax
pop edi
pop esi
pop ebx
add esp, 0x104
cmp ebp, esp
call fcn.101291fc
mov esp, ebp
pop ebp
ret
Function at 0x100bd950
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1015b938
mov eax, dword fs:[0]
push eax
sub esp, 0xcc
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x18]
mov ecx, 3
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov eax, dword [0x101c6474]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov ecx, 0x101f8091
call fcn.1012921f
mov ecx, dword [ebp - 0x14]
call fcn.10088a60
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x14]
add ecx, 0x14
call fcn.10088a60
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x14]
add ecx, 0x20
call fcn.100bd610
mov eax, dword [ebp - 0x14]
xorps xmm0, xmm0
movss dword [eax + 0x10], xmm0
mov eax, dword [ebp - 0x14]
xorps xmm0, xmm0
movss dword [eax + 0xc], xmm0
mov eax, 0xffff
mov ecx, dword [ebp - 0x14]
mov word [ecx + 0x3a], ax
mov eax, 0xffff
mov ecx, dword [ebp - 0x14]
mov word [ecx + 0x3c], ax
mov eax, 0xffff
mov ecx, dword [ebp - 0x14]
mov word [ecx + 0x3e], ax
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x2c], 0
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x30], 0
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x34], 0
xor eax, eax
mov ecx, dword [ebp - 0x14]
mov word [ecx + 0x38], ax
mov eax, dword [ebp - 0x14]
mov byte [eax + 0x40], 0
mov eax, dword [ebp - 0x14]
movss xmm0, dword [0x10181dc4]
movss dword [eax + 0x44], xmm0
mov eax, dword [ebp - 0x14]
xorps xmm0, xmm0
movss dword [eax + 0x4c], xmm0
mov ecx, dword [ebp - 0x14]
xorps xmm0, xmm0
movss dword [ecx + 0x48], xmm0
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x50], 0
push 2
push 0
mov eax, dword [ebp - 0x14]
add eax, 0x54
push eax
call fcn.1012b0a0
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0xd8
cmp ebp, esp
call fcn.101291fc
mov esp, ebp
pop ebp
ret
Function at 0x10123e80
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc4
push ebx
push esi
push edi
lea edi, [ebp - 4]
mov ecx, 1
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov ecx, 0x101f8408
call fcn.1012921f
mov esi, esp
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetKeyState]
cmp esi, esp
call fcn.101291fc
movsx ecx, ax
and ecx, 0x8000
je 0x10123ecf
mov dword [ebp - 0xc4], 1
jmp 0x10123ed9
mov dword [ebp - 0xc4], 0
mov al, byte [ebp - 0xc4]
pop edi
pop esi
pop ebx
add esp, 0xc4
cmp ebp, esp
call fcn.101291fc
mov esp, ebp
pop ebp
ret
Function at 0x10124470
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
push ebx
push esi
push edi
lea edi, [ebp - 0x48]
mov ecx, 0x12
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov ecx, 0x101f85f3
call fcn.1012921f
imul eax, dword [ebp + 8], 0x2c
add eax, dword [0x101f7be0]
mov dword [ebp - 8], eax
mov dword [ebp - 0x20], 5
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp - 8]
mov cl, byte [eax + 0x14]
and cl, 1
movzx edx, cl
test edx, edx
je 0x101244d3
mov eax, dword [ebp - 0x2c]
sub eax, 5
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x20]
add eax, 2
mov dword [ebp - 0x20], eax
mov esi, esp
lea eax, [ebp - 0x14]
push eax
push 0x40
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp esi, esp
call fcn.101291fc
test eax, eax
jne 0x101244fe
mov eax, 0xa
jmp 0x10124600
cmp dword [ebp + 0xc], 0
je 0x1012454b
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov byte [eax], 0xe9
mov eax, dword [ebp - 0x2c]
add eax, 5
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 4]
sub edx, eax
mov eax, dword [ebp - 0x38]
mov dword [eax + 1], edx
mov eax, dword [ebp - 8]
mov cl, byte [eax + 0x14]
and cl, 1
movzx edx, cl
test edx, edx
je 0x10124549
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov dword [ebp - 0x44], ecx
mov eax, dword [ebp - 0x44]
mov byte [eax], 0xeb
mov eax, dword [ebp - 0x44]
mov byte [eax + 1], 0xf9
jmp 0x10124587
mov eax, dword [ebp - 8]
mov cl, byte [eax + 0x14]
and cl, 1
movzx edx, cl
test edx, edx
je 0x10124572
push 7
mov eax, dword [ebp - 8]
add eax, 0xc
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.1012ab20
add esp, 0xc
jmp 0x10124587
push 5
mov eax, dword [ebp - 8]
add eax, 0xc
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.1012ab20
add esp, 0xc
mov esi, esp
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp esi, esp
call fcn.101291fc
mov esi, esp
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
mov edi, esp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp edi, esp
call fcn.101291fc
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
cmp esi, esp
call fcn.101291fc
mov al, byte [ebp + 0xc]
and al, 1
shl al, 1
mov ecx, dword [ebp - 8]
mov dl, byte [ecx + 0x14]
and dl, 0xfd
or dl, al
mov eax, dword [ebp - 8]
mov byte [eax + 0x14], dl
mov al, byte [ebp + 0xc]
and al, 1
shl al, 2
mov ecx, dword [ebp - 8]
mov dl, byte [ecx + 0x14]
and dl, 0xfb
or dl, al
mov eax, dword [ebp - 8]
mov byte [eax + 0x14], dl
xor eax, eax
push edx
mov ecx, ebp
push eax
lea edx, [0x10124628]
call fcn.101291a8
pop eax
pop edx
pop edi
pop esi
pop ebx
add esp, 0x108
cmp ebp, esp
call fcn.101291fc
mov esp, ebp
pop ebp
ret
Function at 0x101246e0
Capabilities:
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x100
push ebx
push esi
push edi
lea edi, [ebp - 0x40]
mov ecx, 0x10
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x101c6474]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, 0x101f85f3
call fcn.1012921f
push 0
push 4
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x1012486b
mov dword [ebp - 0x30], 0x1c
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x10124858
cmp dword [ebp - 0x30], 0x10
jb 0x1012483c
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp esi, esp
call fcn.101291fc
cmp dword [ebp - 0x24], eax
jne 0x1012483c
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp esi, esp
call fcn.101291fc
cmp dword [ebp - 0x28], eax
je 0x1012483c
mov eax, dword [ebp + 8]
cmp dword [eax], 0
jne 0x101247c3
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0x80
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
shl ecx, 2
mov esi, esp
push ecx
push 0
mov edx, dword [0x101d8488]
push edx
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
cmp esi, esp
call fcn.101291fc
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov eax, dword [ebp + 8]
cmp dword [eax], 0
jne 0x101247c1
jmp 0x10124858
jmp 0x1012481c
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 8]
cmp edx, dword [ecx + 4]
jb 0x1012481c
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
shl ecx, 1
shl ecx, 2
mov esi, esp
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
push 0
mov ecx, dword [0x101d8488]
push ecx
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
cmp esi, esp
call fcn.101291fc
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
jne 0x10124806
jmp 0x10124858
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
shl ecx, 1
mov edx, dword [ebp + 8]
mov dword [edx + 4], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x3c]
mov dword [eax], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov edx, dword [ebp - 0x28]
mov dword [eax + ecx*4], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
add ecx, 1
mov edx, dword [ebp + 8]
mov dword [edx + 8], ecx
mov dword [ebp - 0x30], 0x1c
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x10124741
mov esi, esp
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.101291fc
push edx
mov ecx, ebp
push eax
lea edx, [0x1012489c]
call fcn.101291a8
pop eax
pop edx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10128533
add esp, 0x100
cmp ebp, esp
call fcn.101291fc
mov esp, ebp
pop ebp
ret