joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43c600
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x46bf03
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0045fd20
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.004653b6
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.004668d2
test eax, eax
je 0x43c71c
mov ecx, dword [esp + 0x3c]
call fcn.004653e3
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x43c6e0
push edi
mov ecx, esi
call fcn.00462a4b
mov ecx, esi
call fcn.0043c880
cmp dword [esp + 0x38], 1
jne 0x43c715
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.00462b86
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x43f160
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x43f193
push esi
call fcn.00442260
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x43f18c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x43f219
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x43f202
mov eax, dword [esi + 8]
test eax, eax
je 0x43f1b7
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x43f1fe
cmp eax, 2
je 0x43f202
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x43f1aa
cmp eax, 3
je 0x43f1dd
cmp eax, 1
jne 0x43f1aa
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x43f1aa
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x43f1aa
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0043f240
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x43f228
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0043f240
add esp, 4
pop esi
ret

Function at 0x44b660
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0xf4
xor ecx, ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x104]
push edi
xor eax, eax
mov al, byte [ecx + str.80_]
mov edx, eax
and eax, 7
sar edx, 3
mov bl, byte [eax*2 + 0x70c284]
mov dl, byte [edx + esi]
test bl, dl
setne al
mov byte [esp + ecx + 0x4c], al
inc ecx
cmp ecx, 0x38
jl 0x44b673
mov eax, 0x1e
xor edx, edx
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10c], 1
je 0x44b6b4
lea eax, [edx + edx]
lea edi, [esp + eax*4 + 0x88]
lea ebp, [esp + eax*4 + 0x84]
xor eax, eax
xor ecx, ecx
mov cl, byte [edx + 0x70c32c]
mov dword [edi], 0
mov dword [ebp], 0
mov esi, ecx
cmp ecx, 0x1c
jge 0x44b6e6
mov bl, byte [esp + ecx + 0x4c]
jmp 0x44b6ea
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x1c
jl 0x44b6db
mov eax, 0x1c
lea ecx, [esi + 0x1c]
cmp ecx, 0x38
jge 0x44b708
mov bl, byte [esp + ecx + 0x4c]
jmp 0x44b70c
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x38
jl 0x44b6fd
xor ecx, ecx
mov eax, 0x70c294
xor ebx, ebx
mov bl, byte [ecx + 0x70c33c]
cmp byte [esp + ebx + 0x14], 0
je 0x44b737
mov esi, dword [eax]
mov ebx, dword [ebp]
or ebx, esi
mov dword [ebp], ebx
xor ebx, ebx
mov bl, byte [ecx + 0x70c354]
cmp byte [esp + ebx + 0x14], 0
je 0x44b74e
mov esi, dword [eax]
mov ebx, dword [edi]
or ebx, esi
mov dword [edi], ebx
add eax, 4
inc ecx
cmp eax, str.80_
jl 0x44b71e
mov eax, dword [esp + 0x10]
inc edx
sub eax, 2
cmp eax, 0xfffffffe
mov dword [esp + 0x10], eax
jg 0x44b6a7
lea edx, [esp + 0x84]
push edx
call fcn.0044b790
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf4
ret
Function at 0x460b16
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x460b4e
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0045ebca
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0045eba2
jmp 0x460b5a
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x462208
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x46224a
call fcn.00467cbd
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x46224a
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x462241
xor eax, eax
jmp 0x462252
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00462258
pop edi
pop esi
pop ebx
ret 4

Function at 0x4681ed
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x46821b
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x468239
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00468153
jmp 0x468239
mov eax, dword [esi + 0x14]
test eax, eax
je 0x468239
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00468153
test edi, edi
mov eax, edi
jne 0x468223
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x6d54273c
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x6d55095c], 0
push esi
push edi
jne 0x6d5426b2
call fcn.6d54261e
test eax, eax
je 0x6d5426f7
mov eax, dword [0x6d55095c]
cmp eax, 1
jne 0x6d5426d3
push 0xd
push 0
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
test eax, eax
je 0x6d5426f7
jmp 0x6d542739
mov edi, dword [sym.imp.kernel32.dll_InterlockedPopEntrySList]
push eax
call edi
test eax, eax
jne 0x6d542739
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.kernel32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x6d5426fb
xor eax, eax
jmp 0x6d542739
mov eax, dword [esi]
push dword [0x6d55095c]
call edi
mov edi, eax
test edi, edi
je 0x6d54271d
push 0x8000
push 0
push esi
call dword [sym.imp.kernel32.dll_VirtualFree]
mov eax, edi
jmp 0x6d542739
lea edi, [esi + 0xff0]
push esi
push dword [0x6d55095c]
call dword [sym.imp.kernel32.dll_InterlockedPushEntrySList]
add esi, 0x10
cmp esi, edi
jb 0x6d542723
mov eax, esi
pop edi
pop esi
ret
jmp 0x6d54269e

Function at 0x433004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
mov ecx, 0x57713a8d
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43304e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x433024
nop
nop
nop
nop
mov eax, section..text_1
nop
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x56b819f9
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x433084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x913058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x9131a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x91307e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x91306a
add dl, dl
jne 0x913089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x9130dc
xor eax, eax
add dl, dl
jne 0x913096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x91317d
add dl, dl
jne 0x9130a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9130b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9130bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9130c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x9130d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x913075
mov eax, 1
add dl, dl
jne 0x9130ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9130f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x9130e1
sub eax, ebx
mov ebx, 1
jne 0x913128
mov ecx, 1
add dl, dl
jne 0x91310e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x913119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x913105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x913075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x91313f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x91314a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x913136
cmp eax, 0x7d00
jae 0x91316d
cmp eax, 0x500
jb 0x913168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x913075
cmp eax, 0x7f
ja 0x913170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x913075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x91319e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x913075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x1000abf0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
lea eax, [ebp + 0xc]
push eax
push ecx
push dword [ebp + 8]
mov ecx, 0x10096060
call fcn.1000a040
push 0x10096060
push 0x100658f4
push 1
push 0x1006db98
call fcn.10015fa0
add esp, 0x1c
push 0xfffffffffffffff0
push dword [0x1c9055c]
call dword [sym.imp.USER32.dll_GetWindowLongA]
test eax, 0xc00000
je 0x1000ac88
push 0
push 0xf020
push 0x112
push 0
call dword [sym.imp.USER32.dll_PostMessageA]
push 6
push 0
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x41010
push str.CLEO_error
push 0x10096060
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
push 0xf120
push 0x112
push 0
call dword [sym.imp.USER32.dll_PostMessageA]
push 9
push 0
call dword [sym.imp.USER32.dll_ShowWindow]
pop ebp
ret
push 0x41010
push str.CLEO_error
push 0x10096060
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
pop ebp
ret

Function at 0x1000bbd0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x1006d0c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
cmp byte [eax], 0
jne 0x1000bcf3
push ebx
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esi, eax
mov ecx, dword [esi + 0x3c]
add ecx, esi
movzx ebx, word [ecx + 0x14]
movzx eax, word [ecx + 6]
add ebx, 0x18
add ebx, ecx
mov dword [ebp - 0xc], eax
test eax, eax
je 0x1000bceb
push edi
nop dword [eax + eax]
mov ecx, str..text
mov eax, ebx
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1000bc47
test dl, dl
je 0x1000bc43
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1000bc47
add eax, 2
add ecx, 2
test dl, dl
jne 0x1000bc27
xor eax, eax
jmp 0x1000bc4c
sbb eax, eax
or eax, 1
test eax, eax
je 0x1000bc80
mov eax, 0x10064540
mov ecx, ebx
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x1000bc77
test dl, dl
je 0x1000bc73
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x1000bc77
add ecx, 2
add eax, 2
test dl, dl
jne 0x1000bc57
xor eax, eax
jmp 0x1000bc7c
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1000bcd8
mov edi, dword [ebx + 8]
add edi, 0xfff
and edi, 0xfffff000
push edi
push dword [ebx + 0xc]
push ebx
push str.Unprotecting_memory_region__s:_0x_08X__size:_0x_08X_
push 3
call fcn.1000abb0
mov eax, dword [ebx + 0x24]
lea ecx, [ebp - 8]
and eax, 0x20000000
add esp, 0x14
neg eax
sbb eax, eax
and eax, 0x3c
add eax, 4
push ecx
push eax
mov eax, dword [ebx + 0xc]
push edi
add eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1000bcd8
push str.Virtual_protect_error
call fcn.1000abf0
add esp, 4
mov edx, dword [ebp - 0xc]
add ebx, 0x28
dec edx
mov dword [ebp - 0xc], edx
test edx, edx
jne 0x1000bc20
pop edi
mov eax, dword [ebp - 0x10]
pop esi
pop ebx
mov byte [eax], 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10031dbd
mov esp, ebp
pop ebp
ret
Function at 0x1000c090
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x1006d0c0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
call fcn.1000bd40
mov ecx, dword [0x1006f8f0]
mov esi, eax
test cl, 1
jne 0x1000c0df
or ecx, 1
mov dword [0x1006f8f4], 0x100645c4
mov dword [0x1006f8f0], ecx
mov dword [0x1006f8fc], 0
mov dword [0x1006f8f8], 0
call fcn.1000be50
lea eax, [ebp - 0x10]
mov dword [ebp - 0x14], 4
push eax
push 0x40
push 4
push esi
mov dword [ebp - 0x18], esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
setne byte [ebp - 0xc]
mov esi, dword [esi]
test eax, eax
je 0x1000c11b
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 8]
push eax
push ecx
push dword [ebp - 0x14]
mov dword [ebp - 8], ecx
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.10031dbd
mov esp, ebp
pop ebp
ret

Function at 0x1000c130
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x1006d0c0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
push 0x40
push 1
push esi
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x18], esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
setne byte [ebp - 0xc]
mov bl, byte [esi]
test eax, eax
je 0x1000c181
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 8]
push eax
push ecx
push dword [ebp - 0x14]
mov dword [ebp - 8], ecx
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [ebp - 4]
mov al, bl
pop esi
xor ecx, ebp
pop ebx
call fcn.10031dbd
mov esp, ebp
pop ebp
ret

Function at 0x1000c6c0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp + 0xc]
push eax
push ecx
push dword [ebp + 8]
mov ecx, 0x10096a70
call fcn.1000a040
add esp, 0xc
push 0x10096a70
push 0x100658f4
push 1
push 0x1006db98
call fcn.10015fa0
add esp, 0x10
push 0xfffffffffffffff0
push dword [0x1c9055c]
call dword [sym.imp.USER32.dll_GetWindowLongA]
test eax, 0xc00000
je 0x1000c75d
push 0
push 0xf020
push 0x112
push 0
call dword [sym.imp.USER32.dll_PostMessageA]
push 6
push 0
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x41010
push str.CLEO_error
push 0x10096a70
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
push 0xf120
push 0x112
push 0
call dword [sym.imp.USER32.dll_PostMessageA]
push 9
push 0
call dword [sym.imp.USER32.dll_ShowWindow]
pop ecx
pop ebp
ret
push 0x41010
push str.CLEO_error
push 0x10096a70
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
pop ecx
pop ebp
ret
Function at 0x1000d840
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x1006d0c0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push str.Injecting_CustomOpcodeSystem...
push 3
call fcn.1000c620
mov eax, dword [0x10095bfc]
add esp, 8
mov edx, dword [eax*4 + 0x1006e114]
xor eax, eax
nop
mov ecx, dword [edx + eax]
mov dword [eax + 0x1008fe60], ecx
mov dword [edx + eax], 0x1000d420
add eax, 4
cmp eax, 0x6c
jb 0x1000d870
mov eax, 0x1000d420
mov ecx, 0x148
mov edi, 0x1008f930
rep stosd dword es:[edi], eax
mov eax, dword [0x10095bfc]
mov eax, dword [eax*4 + 0x1006e128]
mov dword [eax], 0x1008f930
mov dword [0x469ef0], 0x1008f930
mov ecx, dword [0x10095bfc]
mov eax, dword [ecx*4 + 0x1006e178]
mov dword [0x1008f928], eax
mov eax, dword [ecx*4 + 0x1006e1b4]
mov dword [0x1008f91c], eax
mov eax, dword [ecx*4 + 0x1006e1f0]
mov dword [0x1008f924], eax
mov eax, dword [ecx*4 + 0x1006e204]
mov dword [0x1008fecc], eax
test ecx, ecx
jne 0x1000d976
mov eax, dword [0x1006f8f0]
test al, 1
jne 0x1000d91f
or eax, 1
mov dword [0x1006f8f4], 0x100645c4
mov dword [0x1006f8f0], eax
mov dword [0x1006f8fc], ecx
mov dword [0x1006f8f8], ecx
call fcn.1000be50
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0x10]
push eax
push 0x40
mov esi, 0x583a07
mov dword [ebp - 0x14], 4
push 4
push esi
mov dword [ebp - 0x18], esi
call edi
test eax, eax
setne byte [ebp - 0xc]
mov esi, dword [esi]
test eax, eax
je 0x1000d95e
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 8]
push ecx
push eax
push dword [ebp - 0x14]
mov dword [ebp - 8], eax
push dword [ebp - 0x18]
call edi
mov dword [0x1008fe50], esi
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10031dbd
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ecx*4 + 0x1006e1c8]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov dword [0x1008fe50], eax
pop esi
call fcn.10031dbd
mov esp, ebp
pop ebp
ret 4
Function at 0x10017b50
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10054240
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x1006d0c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
call fcn.10031dcb
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.10030fc3
add esp, 8
mov dword [esi + 4], eax
mov ecx, edi
mov dword [edi + 0x34], esi
call fcn.100179b0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10018710
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
lea eax, [ebp + 0xc]
push eax
push ecx
push dword [ebp + 8]
mov ecx, 0x10097390
call fcn.1000a040
push 0x10097390
push 0x100658f4
push 1
push 0x1006db98
call fcn.10015fa0
add esp, 0x1c
push 0xfffffffffffffff0
push dword [0x1c9055c]
call dword [sym.imp.USER32.dll_GetWindowLongA]
test eax, 0xc00000
je 0x100187a8
push 0
push 0xf020
push 0x112
push 0
call dword [sym.imp.USER32.dll_PostMessageA]
push 6
push 0
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x41010
push str.CLEO_error
push 0x10097390
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
push 0xf120
push 0x112
push 0
call dword [sym.imp.USER32.dll_PostMessageA]
push 9
push 0
call dword [sym.imp.USER32.dll_ShowWindow]
pop ebp
ret
push 0x41010
push str.CLEO_error
push 0x10097390
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
pop ebp
ret

Function at 0x10019030
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x1006d0c0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push str.Injecting_MenuStatusNotifier...
push 3
call fcn.100189a0
mov esi, dword [0x10095bfc]
add esp, 8
mov eax, dword [esi*4 + 0x1006dca0]
mov esi, dword [esi*4 + 0x1006dd68]
mov dword [0x1008fed0], eax
inc esi
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [esi]
add esi, 4
add eax, esi
mov dword [0x1008fed4], eax
mov eax, dword [0x10095bfc]
mov esi, dword [eax*4 + 0x1006dd68]
push esi
push str.Replacing_call:_0x_08X
push 3
call fcn.100189a0
mov ecx, dword [ebp - 4]
mov eax, esi
inc esi
add esp, 0xc
xor ecx, ebp
mov byte [eax], 0xe8
mov eax, 0x100189e0
sub eax, esi
sub eax, 4
mov dword [esi], eax
pop esi
call fcn.10031dbd
mov esp, ebp
pop ebp
ret 4
Function at 0x10021040
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag
Create thread
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10054de3
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x1006d0c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
mov eax, dword [ebp + 8]
mov dword [ebp - 0x20], esi
mov dword [esi], eax
mov dword [esi + 4], 0
mov dword [ebp - 4], 0
push 0xa0
mov dword [esi + 4], 0
call fcn.10031dcb
add esp, 4
mov dword [esi + 4], eax
lea esi, [eax + 0x10]
mov dword [ebp - 4], 1
mov eax, dword [ebp + 0x14]
mov ecx, esi
mov dword [ebp - 0x18], esi
push dword [eax]
call fcn.1000d200
lea edi, [esi + 0x18]
xorps xmm0, xmm0
mov dword [ebp - 0x24], edi
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov byte [ebp - 4], 4
lea esi, [edi + 0x24]
mov dword [ebp - 0x14], esi
push 0x44
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.10031dcb
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov byte [ebp - 4], 5
xorps xmm0, xmm0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov word [edi + 0x38], 1
movups xmmword [edi + 0x48], xmm0
push 8
movq qword [edi + 0x58], xmm0
mov dword [edi + 0x60], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x64], 0xffffffff
mov dword [edi + 0x3c], 2
mov dword [edi + 0x68], 0
call fcn.10031dcb
mov dword [ebp - 0x14], eax
mov dword [eax], edi
mov dword [eax + 4], 0x1001f1e0
lea esi, [edi + 0x70]
mov byte [ebp - 4], 6
push esi
push 0
push eax
push 0x100213d0
push 0
push 0
call fcn.1003b355
add esp, 0x20
mov dword [edi + 0x6c], eax
test eax, eax
je 0x100211f3
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp + 0xc]
mov ecx, dword [eax + 4]
mov dword [ecx], edx
mov ecx, dword [eax + 4]
mov dword [ecx + 4], edx
mov ecx, dword [eax + 4]
mov dword [ecx + 8], edx
mov ecx, dword [eax + 4]
mov byte [ecx + 0xc], 0
mov ecx, dword [eax + 4]
mov byte [ecx + 0xd], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10031dbd
mov esp, ebp
pop ebp
ret 0x14
push 6
mov dword [esi], 0
call fcn.10030e22
int3