joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10086660
Capabilities:
Hash data using sha224

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax], 0xc1059ed8
mov dword [eax + 4], 0x367cd507
mov dword [eax + 8], 0x3070dd17
mov dword [eax + 0xc], 0xf70e5939
mov dword [eax + 0x10], 0xffc00b31
mov dword [eax + 0x14], 0x68581511
mov dword [eax + 0x18], 0x64f98fa7
mov dword [eax + 0x1c], 0xbefa4fa4
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], ecx
mov dword [eax + 0x68], ecx
mov dword [eax + 0x6c], 0x1c
mov eax, 1
ret

Function at 0x100866c0
Capabilities:
Hash data using sha256

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax], 0x6a09e667
mov dword [eax + 4], 0xbb67ae85
mov dword [eax + 8], 0x3c6ef372
mov dword [eax + 0xc], 0xa54ff53a
mov dword [eax + 0x10], 0x510e527f
mov dword [eax + 0x14], 0x9b05688c
mov dword [eax + 0x18], 0x1f83d9ab
mov dword [eax + 0x1c], 0x5be0cd19
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], ecx
mov dword [eax + 0x68], ecx
mov dword [eax + 0x6c], 0x20
mov eax, 1
ret
Function at 0x10087e00
Capabilities:
Hash data using sha224

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax], 0xc1059ed8
mov dword [eax + 8], 0x367cd507
mov dword [eax + 0x10], 0x3070dd17
mov dword [eax + 0x18], 0xf70e5939
mov dword [eax + 0x20], 0xffc00b31
mov dword [eax + 0x28], 0x68581511
mov dword [eax + 0x30], 0x64f98fa7
mov dword [eax + 0x38], 0xbefa4fa4
mov dword [eax + 0x40], ecx
mov dword [eax + 0x48], ecx
mov dword [eax + 4], 0xcbbb9d5d
mov dword [eax + 0xc], 0x629a292a
mov dword [eax + 0x14], 0x9159015a
mov dword [eax + 0x1c], 0x152fecd8
mov dword [eax + 0x24], 0x67332667
mov dword [eax + 0x2c], 0x8eb44a87
mov dword [eax + 0x34], 0xdb0c2e0d
mov dword [eax + 0x3c], 0x47b5481d
mov dword [eax + 0x44], ecx
mov dword [eax + 0x4c], ecx
mov dword [eax + 0xd0], ecx
mov dword [eax + 0xd4], 0x30
mov eax, 1
ret

Function at 0x10087ea0
Capabilities:
Hash data using sha256

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax], 0xf3bcc908
mov dword [eax + 8], 0x84caa73b
mov dword [eax + 0x10], 0xfe94f82b
mov dword [eax + 0x18], 0x5f1d36f1
mov dword [eax + 0x20], 0xade682d1
mov dword [eax + 0x28], 0x2b3e6c1f
mov dword [eax + 0x30], 0xfb41bd6b
mov dword [eax + 0x38], 0x137e2179
mov dword [eax + 0x40], ecx
mov dword [eax + 0x48], ecx
mov dword [eax + 4], 0x6a09e667
mov dword [eax + 0xc], 0xbb67ae85
mov dword [eax + 0x14], 0x3c6ef372
mov dword [eax + 0x1c], 0xa54ff53a
mov dword [eax + 0x24], 0x510e527f
mov dword [eax + 0x2c], 0x9b05688c
mov dword [eax + 0x34], 0x1f83d9ab
mov dword [eax + 0x3c], 0x5be0cd19
mov dword [eax + 0x44], ecx
mov dword [eax + 0x4c], ecx
mov dword [eax + 0xd0], ecx
mov dword [eax + 0xd4], 0x40
mov eax, 1
ret
Function at 0x1008d390
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x1008d39b
xor eax, eax
ret
mov eax, dword [esp + 4]
push ebx
push esi
push edi
mov edi, dword [esp + 0x18]
cmp edi, 8
mov esi, edi
not eax
jb 0x1008d49d
shr edi, 3
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [edx*4 + 0x100b4604]
sub esi, 8
xor eax, ebx
inc ecx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x100b4604]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x100b4604]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x100b4604]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x100b4604]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x100b4604]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x100b4604]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x100b4604]
xor eax, edx
inc ecx
dec edi
jne 0x1008d3b6
test esi, esi
je 0x1008d4bf
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x100b4604]
xor eax, edx
inc ecx
dec esi
jne 0x1008d4a1
pop edi
pop esi
not eax
pop ebx
ret

Function at 0x1008d650
Capabilities:
Get user security identifier

Disassembly:
sub esp, 8
push ebx
push ebp
mov ebp, dword [esp + 0x14]
lea eax, [esp + 0x18]
push edi
mov edi, dword [esp + 0x1c]
lea ecx, [esp + 0xc]
xor ebx, ebx
push eax
push ecx
lea edx, [esp + 0x18]
push ebx
push edx
push ebx
push ebp
push ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], ebx
mov dword [edi], ebx
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
test eax, eax
jne 0x1008d69b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x1008d69b
pop edi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
mov eax, dword [esp + 0x10]
push esi
push eax
call fcn.100353b9
mov ecx, dword [esp + 0x14]
mov dword [edi], eax
lea edx, [ecx + ecx]
push edx
call fcn.100353b9
mov esi, eax
mov eax, dword [edi]
add esp, 8
test eax, eax
je 0x1008d6e0
test esi, esi
je 0x1008d6f1
lea ecx, [esp + 0x20]
lea edx, [esp + 0x10]
push ecx
push edx
lea ecx, [esp + 0x1c]
push esi
push ecx
push eax
push ebp
push 0
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
mov ebx, eax
test esi, esi
je 0x1008d6ed
push esi
call fcn.100353ae
add esp, 4
test ebx, ebx
jne 0x1008d700
mov edi, dword [edi]
test edi, edi
je 0x1008d700
push edi
call fcn.100353ae
add esp, 4
pop esi
pop edi
mov eax, ebx
pop ebp
pop ebx
add esp, 8
ret
Function at 0x10090920
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100ab450
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebp
push esi
push edi
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], 0
call fcn.1002c3a0
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], 0
call fcn.10026080
mov esi, dword [esp + 0x44]
mov byte [esp + 0x38], 1
cmp esi, 0xffffffff
jne 0x10090970
mov esi, 0xfffffffe
mov edi, dword [esp + 0x40]
push 0x5c
push edi
call fcn.10035b00
mov ebp, eax
lea eax, [esp + 0x18]
push esi
lea ecx, [esp + 0x2c]
push eax
push ecx
call fcn.10092430
mov eax, dword [esp + 0x28]
add esp, 0x14
xor esi, esi
test eax, eax
jle 0x100909fd
test ebp, ebp
je 0x100909b6
mov edx, dword [esp + 0x10]
push edi
mov eax, dword [edx + esi*4]
push eax
call fcn.100356a9
add esp, 8
test eax, eax
je 0x100909dc
jmp 0x100909d1
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + esi*4]
push eax
call fcn.10053940
push eax
push edi
call fcn.100356a9
add esp, 0xc
test eax, eax
je 0x100909e5
mov eax, dword [esp + 0x14]
inc esi
cmp esi, eax
jl 0x1009099b
jmp 0x100909fd
mov edx, dword [esp + 0x20]
mov esi, dword [edx + esi*4]
jmp 0x100909ec
mov eax, dword [esp + 0x20]
mov esi, dword [eax + esi*4]
test esi, esi
je 0x100909fd
push esi
call fcn.10090820
add esp, 4
mov dword [esp + 0xc], eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x38], 0
call fcn.10026090
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], 0xffffffff
call fcn.1002c3b0
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0xc]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x30
ret
Function at 0x1009c780
Capabilities:
Get disk information

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x100abb90
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
mov esi, dword [esp + 0x34]
push edi
push 0xffffffffffffffff
push 0
mov ecx, esi
call fcn.100260f0
mov edi, dword [esp + 0x3c]
push 0xffffffffffffffff
push 0
mov ecx, edi
call fcn.100260f0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov ebp, eax
mov eax, dword [0x100d9050]
test eax, eax
je 0x1009c838
cmp ebp, eax
jne 0x1009c838
mov eax, dword [0x100d9054]
test eax, eax
je 0x1009c838
cmp ebx, eax
jb 0x1009c838
add eax, 0x493e0
cmp eax, ebx
jb 0x1009c838
mov ebp, dword [0x100d9058]
push 1
inc ebp
push 0x100d8f70
lea ecx, [esp + 0x18]
mov dword [0x100d9058], ebp
call fcn.1002d6d0
push 0x100d8fa0
mov ecx, esi
mov dword [esp + 0x34], 0
call fcn.100262d0
push 0x100d8f90
mov ecx, edi
call fcn.100262d0
mov dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0x10]
jmp 0x1009c8ae
push edi
push esi
mov dword [0x100d9058], 0
call fcn.1009cbb0
add esp, 8
lea ecx, [esp + 0x1c]
push 1
push 0x100d8f70
call fcn.1002d6d0
push 0xffffffffffffffff
push 0
mov ecx, 0x100d8fa0
mov dword [esp + 0x38], 1
mov dword [0x100d9050], ebp
mov dword [0x100d9054], ebx
call fcn.100260f0
push esi
mov ecx, 0x100d8fa0
call fcn.100262d0
push 0xffffffffffffffff
push 0
mov ecx, 0x100d8f90
call fcn.100260f0
push edi
mov ecx, 0x100d8f90
call fcn.100262d0
mov dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0x1c]
call fcn.1002d730
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret
Function at 0x1009cbb0
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x100abbf6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x224
push ebx
push ebp
push esi
mov esi, dword [esp + 0x240]
push edi
xor ebx, ebx
push 0xffffffffffffffff
push ebx
mov ecx, esi
call fcn.100260f0
mov ebp, dword [esp + 0x248]
push 0xffffffffffffffff
push ebx
mov ecx, ebp
call fcn.100260f0
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov dword [esp + 0x28], eax
xor eax, eax
mov dword [esp + 0x10], 1
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x10]
test ecx, edx
je 0x1009cce9
mov edx, dword [0x100c13b8]
mov cx, word [0x100c13bc]
mov dword [esp + 0x18], edx
add word [esp + 0x18], ax
lea edx, [esp + 0x18]
mov word [esp + 0x1c], cx
push edx
lea ecx, [esp + 0x28]
mov word [esp + 0x22], bx
call fcn.1001ffc0
mov eax, dword [esi + 4]
lea ecx, [esp + 0x24]
push ecx
push eax
mov ecx, esi
mov dword [esp + 0x244], ebx
call fcn.10026690
mov edx, dword [0x100ac914]
mov dword [esp + 0x14], edx
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x2e]
mov word [esp + 0x2c], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x2c]
push 0x104
lea ecx, [esp + 0x1c]
push eax
push ecx
mov byte [esp + 0x248], 1
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
lea edx, [esp + 0x2c]
lea ecx, [esp + 0x14]
push edx
mov word [esp + 0x236], bx
call fcn.100209e0
mov eax, dword [ebp + 4]
lea ecx, [esp + 0x14]
push ecx
push eax
mov ecx, ebp
call fcn.10026690
lea ecx, [esp + 0x14]
mov byte [esp + 0x23c], bl
call fcn.10020760
lea ecx, [esp + 0x24]
mov dword [esp + 0x23c], 0xffffffff
call fcn.10020760
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x10]
inc eax
shl edx, 1
cmp eax, 0x1a
mov dword [esp + 0x20], eax
mov dword [esp + 0x10], edx
jb 0x1009cc0b
mov ecx, dword [esp + 0x234]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x230
ret
Function at 0x100a2730
Capabilities:
Encode data using base64

Disassembly:
push ebp
push edi
mov edi, dword [esp + 0x14]
xor ebp, ebp
test edi, edi
jle 0x100a2816
mov ecx, dword [esp + 0xc]
push ebx
push esi
mov esi, dword [esp + 0x18]
cmp edi, 3
jl 0x100a27a3
xor edx, edx
xor eax, eax
mov dh, byte [esi]
mov al, byte [esi + 2]
mov dl, byte [esi + 1]
shl edx, 8
or edx, eax
mov eax, edx
shr eax, 0x12
and eax, 0x3f
inc ecx
mov al, byte [eax + 0x100d20c0]
mov byte [ecx - 1], al
mov eax, edx
shr eax, 0xc
and eax, 0x3f
inc ecx
mov al, byte [eax + 0x100d20c0]
mov byte [ecx - 1], al
mov eax, edx
shr eax, 6
and eax, 0x3f
inc ecx
and edx, 0x3f
mov al, byte [eax + 0x100d20c0]
mov byte [ecx - 1], al
mov dl, byte [edx + 0x100d20c0]
mov byte [ecx], dl
jmp 0x100a27fa
xor edx, edx
mov dl, byte [esi]
shl edx, 0x10
cmp edi, 2
jne 0x100a27b6
xor eax, eax
mov ah, byte [esi + 1]
or edx, eax
mov eax, edx
shr eax, 0x12
and eax, 0x3f
inc ecx
mov al, byte [eax + 0x100d20c0]
mov byte [ecx - 1], al
mov eax, edx
shr eax, 0xc
and eax, 0x3f
inc ecx
cmp edi, 1
mov al, byte [eax + 0x100d20c0]
mov byte [ecx - 1], al
jne 0x100a27e6
mov ebx, 0x3d
jmp 0x100a27f4
shr edx, 6
and edx, 0x3f
xor ebx, ebx
mov bl, byte [edx + 0x100d20c0]
mov byte [ecx], bl
inc ecx
mov byte [ecx], 0x3d
sub edi, 3
inc ecx
add ebp, 4
add esi, 3
test edi, edi
jg 0x100a274a
pop esi
pop ebx
mov eax, ebp
pop edi
mov byte [ecx], 0
pop ebp
ret
mov ecx, dword [esp + 0xc]
mov eax, ebp
pop edi
pop ebp
mov byte [ecx], 0
ret
Function at 0x100a2f90
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x20
call fcn.100360d0
push ebx
mov ebx, dword [esp + 0x30]
push ebp
push esi
test ebx, ebx
push edi
jle 0x100a30e4
cmp ebx, 0x80
jg 0x100a30e4
mov edi, dword [esp + 0x44]
mov eax, edi
mov ecx, dword [eax]
mov dword [esp + 0x10], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x14], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x18], ecx
mov edx, dword [eax + 0xc]
mov eax, dword [esp + 0x40]
push eax
push edi
push edi
mov dword [esp + 0x28], edx
call fcn.100a38a0
lea eax, [ebx + 7]
add esp, 0xc
cdq
and edx, 7
add eax, edx
mov ebp, eax
mov eax, dword [esp + 0x48]
sar ebp, 3
test eax, eax
je 0x100a3027
test ebp, ebp
jle 0x100a3075
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x38]
lea esi, [esp + 0x20]
sub edx, edi
sub esi, edi
mov ecx, edi
sub ebx, edi
mov al, byte [edx + ecx]
xor al, byte [ecx]
inc ecx
dec ebp
mov byte [esi + ecx - 1], al
mov byte [ebx + ecx - 1], al
jne 0x100a3014
jmp 0x100a3071
xor esi, esi
test ebp, ebp
jle 0x100a3075
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x20]
mov ebx, edi
lea edx, [esp + 0x20]
sub eax, ecx
mov ecx, dword [esp + 0x38]
sub ebx, edx
lea edx, [esp + 0x20]
sub ecx, edx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ecx
jmp 0x100a3057
mov ebx, dword [esp + 0x34]
lea ecx, [esp + esi + 0x20]
mov dl, byte [eax + ecx]
mov bl, byte [ebx + ecx]
mov byte [ecx], dl
xor bl, dl
mov edx, dword [esp + 0x38]
inc esi
cmp esi, ebp
mov byte [edx + ecx], bl
jl 0x100a3053
mov ebx, dword [esp + 0x3c]
mov ebp, ebx
and ebp, reloc.WS2_32.dll_getsockopt
jns 0x100a3084
dec ebp
or ebp, 0xfffffff8
inc ebp
mov eax, ebx
cdq
and edx, 7
add eax, edx
sar eax, 3
test ebp, ebp
jne 0x100a30b5
lea eax, [esp + eax + 0x10]
mov ecx, dword [eax]
mov dword [edi], ecx
mov edx, dword [eax + 4]
mov dword [edi + 4], edx
mov ecx, dword [eax + 8]
mov dword [edi + 8], ecx
mov edx, dword [eax + 0xc]
mov dword [edi + 0xc], edx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
mov ecx, 8
xor esi, esi
sub ecx, ebp
lea eax, [esp + eax + 0x10]
mov dword [esp + 0x3c], ecx
jmp 0x100a30cc
mov ecx, dword [esp + 0x3c]
mov dl, byte [eax + esi + 1]
mov bl, byte [eax + esi]
shr dl, cl
mov ecx, ebp
shl bl, cl
or dl, bl
mov byte [esi + edi], dl
inc esi
cmp esi, 0x10
jl 0x100a30c8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
Function at 0x401868
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov al, byte [ebp + 8]
cmp al, 7
jb 0x4018bd
sub al, 7
je 0x401931
dec al
je 0x40188b
sub al, 2
je 0x4018b5
sub al, 3
je 0x4018a7
jmp 0x4018bd
mov eax, dword [0x407210]
cmp eax, dword [0x407190]
jle 0x401931
dec dword [0x407210]
jmp 0x401931
mov edi, dword [0x407190]
mov dword [0x407210], edi
jmp 0x401931
inc dword [0x407200]
jmp 0x401931
mov word [ebp - 8], 1
mov word [ebp - 6], 1
mov word [ebp - 0xc], 0
mov word [ebp - 0xa], 0
movzx ax, byte [ebp + 8]
mov word [ebp - 4], ax
movzx ax, byte [0x407150]
mov word [ebp - 2], ax
mov eax, dword [0x407210]
dec eax
mov word [ebp - 0x14], ax
mov eax, dword [0x407200]
dec eax
mov word [ebp - 0x12], ax
mov eax, dword [0x407210]
dec eax
mov word [ebp - 0x10], ax
mov eax, dword [0x407200]
dec eax
mov word [ebp - 0xe], ax
lea edi, [ebp - 0x14]
push edi
push dword [ebp - 0xc]
push dword [ebp - 8]
lea eax, [ebp - 4]
push eax
push dword [0x4070c0]
call sub.kernel32.dll_WriteConsoleOutputA
inc dword [0x407210]
mov eax, dword [0x407210]
cmp eax, dword [0x4071b0]
jle 0x40195f
mov edi, dword [0x407190]
mov dword [0x407210], edi
inc dword [0x407200]
jmp 0x40195f
push 1
call fcn.00401a58
dec dword [0x407200]
mov eax, dword [0x407200]
cmp eax, dword [0x4071c0]
jg 0x401952
leave
ret 4
Function at 0x1000aa90
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
lea eax, [ebp + 0xc]
push eax
push ecx
push dword [ebp + 8]
mov ecx, 0x10093e88
call fcn.10009d70
push 0x10093e88
push 0x100637c8
push 1
push 0x100937f0
call fcn.10016f40
add esp, 0x1c
push 0xfffffffffffffff0
push dword [0x1c9055c]
call dword [sym.imp.USER32.dll_GetWindowLongA]
test eax, 0xc00000
je 0x1000ab28
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 0x10093e88
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 0x10093e88
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
pop ebp
ret

Function at 0x1000bc00
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x1006b048]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
cmp byte [eax], 0
jne 0x1000bd23
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 0x1000bd1b
push edi
nop dword [eax + eax]
mov ecx, str..text
mov eax, ebx
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1000bc77
test dl, dl
je 0x1000bc73
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1000bc77
add eax, 2
add ecx, 2
test dl, dl
jne 0x1000bc57
xor eax, eax
jmp 0x1000bc7c
sbb eax, eax
or eax, 1
test eax, eax
je 0x1000bcb0
mov eax, 0x10062410
mov ecx, ebx
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x1000bca7
test dl, dl
je 0x1000bca3
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x1000bca7
add ecx, 2
add eax, 2
test dl, dl
jne 0x1000bc87
xor eax, eax
jmp 0x1000bcac
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1000bd08
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.1000aa50
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 0x1000bd08
push str.Virtual_protect_error
call fcn.1000aa90
add esp, 4
mov edx, dword [ebp - 0xc]
add ebx, 0x28
dec edx
mov dword [ebp - 0xc], edx
test edx, edx
jne 0x1000bc50
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.10031b80
mov esp, ebp
pop ebp
ret
Function at 0x1000c0b0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x1006b048]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
call fcn.1000bd70
mov ecx, dword [0x1006d6c0]
mov esi, eax
test cl, 1
jne 0x1000c0ff
or ecx, 1
mov dword [0x1006d6c4], 0x10062468
mov dword [0x1006d6c0], ecx
mov dword [0x1006d6cc], 0
mov dword [0x1006d6c8], 0
call fcn.1000be70
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 0x1000c13b
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.10031b80
mov esp, ebp
pop ebp
ret

Function at 0x1000c150
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x1006b048]
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 0x1000c1a1
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.10031b80
mov esp, ebp
pop ebp
ret

Function at 0x1000c860
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, 0x100948a0
call fcn.10009d70
add esp, 0xc
push 0x100948a0
push 0x100637c8
push 1
push 0x100937f0
call fcn.10016f40
add esp, 0x10
push 0xfffffffffffffff0
push dword [0x1c9055c]
call dword [sym.imp.USER32.dll_GetWindowLongA]
test eax, 0xc00000
je 0x1000c8fd
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 0x100948a0
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 0x100948a0
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
pop ecx
pop ebp
ret
Function at 0x1000dfb0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x1006b048]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push str.Injecting_CustomOpcodeSystem...
push 3
call fcn.1000c7c0
mov eax, dword [0x10093a84]
mov esi, 0x1008dc20
add esp, 8
mov edx, 0x1b
mov eax, dword [eax*4 + 0x1006be74]
sub esi, eax
nop dword [eax]
mov ecx, dword [eax]
lea eax, [eax + 4]
mov dword [esi + eax - 4], ecx
mov dword [eax - 4], 0x1000d3b0
sub edx, 1
jne 0x1000dff0
mov eax, 0x1000d3b0
mov ecx, 0x148
mov edi, 0x1008d700
rep stosd dword es:[edi], eax
mov eax, dword [0x10093a84]
mov eax, dword [eax*4 + 0x1006be88]
mov dword [eax], 0x1008d700
mov dword [0x469ef0], 0x1008d700
mov ecx, dword [0x10093a84]
mov eax, dword [ecx*4 + 0x1006bed8]
mov dword [0x1008d6f4], eax
mov eax, dword [ecx*4 + 0x1006bf14]
mov dword [0x1008d6e8], eax
mov eax, dword [ecx*4 + 0x1006bf50]
mov dword [0x1008d6f0], eax
mov eax, dword [ecx*4 + 0x1006bf64]
mov dword [0x1008dc8c], eax
test ecx, ecx
jne 0x1000e0f3
mov eax, dword [0x1006d6c0]
test al, 1
jne 0x1000e09c
or eax, 1
mov dword [0x1006d6c4], 0x10062468
mov dword [0x1006d6c0], eax
mov dword [0x1006d6cc], ecx
mov dword [0x1006d6c8], ecx
call fcn.1000be70
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 0x1000e0db
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 [0x1008d6f8], esi
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10031b80
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ecx*4 + 0x1006bf28]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov dword [0x1008d6f8], eax
pop esi
call fcn.10031b80
mov esp, ebp
pop ebp
ret 4