joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10010760
Capabilities:
Encode data using xor
Encrypt data using rc4 via winapi
Hash data using sha1
Hash data using sha1 via wincrypt
Hash data via wincrypt
Initialize hashing via wincrypt
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
movaps xmm0, xmmword [0x10062fc0]
xor ecx, ecx
movups xmmword [ebp - 0x34], xmm0
push esi
movaps xmm0, xmmword [0x10062e70]
movups xmmword [ebp - 0x24], xmm0
movaps xmm0, xmmword [0x10062bb0]
movups xmmword [ebp - 0x14], xmm0
nop word [eax + eax]
mov al, byte [ebp - 0x34]
xor byte [ebp + ecx - 0x33], al
inc ecx
cmp ecx, 0x2e
jb 0x10010790
push 0
push 1
lea eax, [ebp - 0x33]
mov byte [ebp - 5], 0
push eax
push 0
push 0x1006c340
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x1001087c
push 0x1006c33c
push 0
push 0
push 0x8004
push dword [0x1006c340]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x1001087c
movaps xmm0, xmmword [0x10063860]
xor ecx, ecx
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x10], 0x471f494e
movaps xmm0, xmmword [0x10063130]
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0xc], 0x4d1b5d6f
movaps xmm0, xmmword [str.GHJoaYbpeYMCke]
movups xmmword [ebp - 0x20], xmm0
mov dword [ebp - 8], 0xe5f557a
mov word [ebp - 4], 0x52
nop
mov al, byte [ebp - 0x40]
xor byte [ebp + ecx - 0x3f], al
inc ecx
cmp ecx, 0x3c
jb 0x10010820
push 1
push 0x3c
lea eax, [ebp - 0x3f]
mov byte [ebp - 3], 0
push eax
push dword [0x1006c33c]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x1001087c
push 0x1006c338
push 0x800000
push dword [0x1006c33c]
push 0x6801
push dword [0x1006c340]
call dword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
test eax, eax
jne 0x1001087c
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [0x1006c334], eax
call fcn.10051b30
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
call esi
push eax
call fcn.10052000
push 0x10010640
push 0x1006c330
call fcn.10051840
call fcn.10051b90
push 4
push 0x60f6e0
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100108ea
mov dword [0x1006c330], 0x60f6e0
call fcn.10051b30
call esi
push eax
call fcn.10052000
push 0x10010640
push 0x1006c330
call fcn.100513b0
call fcn.10051b90
call fcn.10051b30
call esi
push eax
call fcn.10052000
push 0x10010670
push 0x1006c32c
call fcn.10051840
call fcn.10051b90
push 4
push 0x60eab0
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10010947
mov dword [0x1006c32c], 0x60eab0
call fcn.10051b30
call esi
push eax
call fcn.10052000
push 0x10010670
push 0x1006c32c
call fcn.100513b0
call fcn.10051b90
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10013f60
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x1006a018]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, 0x6d12c0
call fcn.10012360
cmp al, 0xe9
jne 0x10013f86
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push 4
push 0x6d12c0
call esi
test eax, eax
jne 0x10013fc9
mov dword [0x1006c35c], 0x6d12c0
call fcn.10051b30
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call fcn.10052000
push 0x10012d30
push 0x1006c35c
call fcn.100513b0
call fcn.10051b90
push 4
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x6d141e
push eax
call esi
test eax, eax
jne 0x1001400d
push 4
push 0x10012cd0
call esi
test eax, eax
jne 0x1001400d
call fcn.10051b30
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call fcn.10052000
push 0x10012cd0
lea eax, [ebp - 8]
push eax
call fcn.100513b0
call fcn.10051b90
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.10052ee0
mov esp, ebp
pop ebp
ret

Function at 0x10014190
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
mov eax, dword [0x1006a018]
xor eax, esp
mov dword [esp + 0x38], eax
movaps xmm0, xmmword [0x10063540]
xor ecx, ecx
mov eax, dword [0x1006c3c4]
push ebx
push esi
push edi
mov edi, dword [0x1006c3c0]
mov dword [esp + 0xc], edi
mov dword [esp + 0x24], eax
movups xmmword [esp + 0x10], xmm0
mov byte [esp + 0x20], 0
nop dword [eax]
mov al, byte [esp + 0x10]
xor byte [esp + ecx + 0x11], al
inc ecx
cmp ecx, 0xf
jb 0x100141d0
sub esp, 0x18
mov byte [esp + 0x38], 0
mov edx, esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
mov byte [edx], 0
cmp byte [esp + 0x29], 0
jne 0x10014204
xor ecx, ecx
jmp 0x10014219
lea ecx, [esp + 0x29]
lea esi, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10014210
sub ecx, esi
push ecx
lea eax, [esp + 0x2d]
mov ecx, edx
push eax
call fcn.100052b0
lea ecx, [esp + 0x44]
call fcn.1004d7d0
mov edx, dword [esp + 0x44]
add esp, 0x18
xor ebx, ebx
test edi, edi
mov edi, dword [esp + 0x40]
jle 0x1001427e
cmp edi, 0x10
lea ecx, [esp + 0x2c]
cmovae ecx, edx
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10014250
sub ecx, esi
mov eax, ebx
cmp edi, 0x10
lea esi, [esp + 0x2c]
cmovae esi, edx
xor edx, edx
div ecx
mov ecx, dword [esp + 0x24]
mov al, byte [edx + esi]
xor byte [ecx + ebx], al
inc ebx
mov edx, dword [esp + 0x2c]
cmp ebx, dword [esp + 0xc]
jl 0x10014240
cmp edi, 0x10
jb 0x1001428d
lea eax, [edi + 1]
push eax
push edx
call fcn.10005180
mov ecx, dword [esp + 0x44]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10052ee0
mov esp, ebp
pop ebp
ret
Function at 0x10014ec0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100557b0
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x1006a018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp byte [0x1006c3a6], 0
je 0x10015092
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount64]
call esi
sub eax, dword [0x1006c3d0]
sbb edx, dword [0x1006c3d4]
mov dword [ebp - 0x48], edx
jne 0x10014f1b
cmp eax, 0xbb8
jb 0x10015092
call esi
movaps xmm0, xmmword [0x10062c80]
xor ecx, ecx
mov dword [0x1006c3d0], eax
mov dword [0x1006c3d4], edx
movups xmmword [ebp - 0x20], xmm0
mov al, byte [ebp - 0x20]
xor byte [ebp + ecx - 0x1f], al
inc ecx
cmp ecx, 0xe
jb 0x10014f35
sub esp, 0x18
mov byte [ebp - 0x11], 0
lea eax, [ebp - 0x1f]
mov ecx, esp
push eax
call fcn.100053b0
lea ecx, [ebp - 0x44]
call fcn.1004d7d0
add esp, 0x18
mov dword [ebp - 4], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x14], 0
movq qword [ebp - 0x1c], xmm0
mov byte [ebp - 0x4d], 0xa1
mov dword [ebp - 0x2c], vtable.ByteBuffer.0
mov byte [ebp - 0x28], 1
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
push 0x1000
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.1000c100
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x18]
mov edi, edx
mov ecx, dword [ebp - 0x1c]
sub edi, ecx
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x2c], vtable.Packet.0
cmp edi, 0x989680
ja 0x10014fff
lea esi, [eax + 1]
cmp edi, esi
jae 0x10014ff2
push esi
lea ecx, [ebp - 0x1c]
call fcn.1000c2a0
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
mov dl, byte [ebp - 0x4d]
mov byte [ecx + eax], dl
inc eax
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
sub edx, ecx
mov byte [ebp - 4], 3
mov byte [ebp - 0x4d], 0xa2
cmp edx, 0x989680
ja 0x10015031
lea esi, [eax + 1]
cmp edx, esi
jae 0x10015027
push esi
lea ecx, [ebp - 0x1c]
call fcn.1000c2a0
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
mov dl, byte [ebp - 0x4d]
mov byte [ecx + eax], dl
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x30], 0x10
lea eax, [ebp - 0x44]
lea ecx, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x44]
push eax
call fcn.1000bf90
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
sub ecx, eax
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x48], eax
cmp ecx, 0x4000
ja 0x10015071
mov ecx, dword ds:[0x10059ad4]
mov ecx, dword ds:[ecx]
push dword [ebp - 0x54]
push dword [ebp - 0x48]
call dword [0x10059ad0]
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x2c], vtable.ByteBuffer.0
call fcn.1000c230
mov eax, dword [ebp - 0x30]
cmp eax, 0x10
jb 0x10015092
inc eax
push eax
push dword [ebp - 0x44]
call fcn.10005180
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.10052ee0
mov esp, ebp
pop ebp
ret
Function at 0x100169e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
mov eax, dword [0x1006a018]
xor eax, esp
mov dword [esp + 0x30], eax
movaps xmm0, xmmword [0x100637e0]
push esi
mov esi, ecx
mov dword [esp + 0x14], 0x525e5413
movups xmmword [esp + 4], xmm0
mov byte [esp + 0x18], 0
xor ecx, ecx
mov al, byte [esp + 4]
xor byte [esp + ecx + 5], al
inc ecx
cmp ecx, 0x13
jb 0x10016a12
lea eax, [esp + 5]
mov byte [esp + 0x18], 0
push eax
mov edx, 0x100706c0
lea ecx, [esp + 0x20]
call fcn.10011700
mov eax, dword [esi + 0x1fc]
add esp, 4
test eax, eax
je 0x10016a4c
push eax
call dword [sym.imp.USER32.dll_DestroyIcon]
cmp dword [esp + 0x30], 0x10
lea eax, [esp + 0x1c]
push 0x8010
cmovae eax, dword [esp + 0x20]
push 0
push 0
push 1
push eax
push 0
call dword [sym.imp.USER32.dll_LoadImageA]
mov dword [esi + 0x1fc], eax
test eax, eax
je 0x10016a8d
cmp byte [esi + 0x200], 0
mov dword [esi + 0x14], eax
je 0x10016a8d
push esi
push 1
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconA]
mov eax, dword [esp + 0x30]
cmp eax, 0x10
jb 0x10016aa1
inc eax
push eax
push dword [esp + 0x20]
call fcn.10005180
mov ecx, dword [esp + 0x34]
pop esi
xor ecx, esp
call fcn.10052ee0
mov esp, ebp
pop ebp
ret
Function at 0x10016c20
Capabilities:
Allocate or change rwx memory
Create thread
Hijack thread execution
Resume thread
Spawn thread to rwx shellcode
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2f8
mov eax, dword [0x1006a018]
xor eax, ebp
mov dword [ebp - 4], eax
mov cl, 0x6f
mov dword [ebp - 0x2f8], 0x31b3d6f
mov dword [ebp - 0x2f4], 0xb0e0023
xor eax, eax
mov dword [ebp - 0x2f0], 0x61d1b3c
mov word [ebp - 0x2ec], 0x801
mov byte [ebp - 0x2ea], 0
xor byte [ebp + eax - 0x2f7], cl
inc eax
cmp eax, 0xd
jae 0x10016c7a
mov cl, byte [ebp - 0x2f8]
jmp 0x10016c65
push ebx
mov byte [ebp - 0x2e8], 0x3d
mov al, 0x53
xor al, byte [ebp - 0x2e8]
mov bl, 0x51
mov ah, bl
mov byte [ebp - 0x2e7], al
mov al, byte [ebp - 0x2e8]
mov dl, 0x59
mov bh, ah
mov byte [ebp - 0x2d9], ah
xor bl, al
mov byte [ebp - 0x2de], 0
xor ah, al
mov byte [ebp - 0x2ea], 0
xor bh, al
mov byte [ebp - 0x2e3], ah
mov dh, dl
mov byte [ebp - 0x2e4], bl
xor dl, al
mov byte [ebp - 0x2e0], bh
xor dh, al
mov byte [ebp - 0x2e5], dl
mov cl, 0x49
mov byte [ebp - 0x2e1], dh
xor cl, al
mov byte [ebp - 0x2de], 0
mov ch, 0x13
mov byte [ebp - 0x2e6], cl
xor ch, al
mov al, byte [ebp - 0x2d9]
xor al, byte [ebp - 0x2e8]
mov byte [ebp - 0x2df], al
lea eax, [ebp - 0x2f7]
push esi
push eax
lea eax, [ebp - 0x2e7]
mov byte [ebp - 0x2e2], ch
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
add esi, 0x430
jne 0x10016d41
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10052ee0
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 0x40
push 0x1000
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x10016d2f
push 0x2cc
lea eax, [ebp - 0x2d8]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
test esi, esi
je 0x10016d2f
push esi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
je 0x10016d2f
lea eax, [ebp - 0x2d8]
mov dword [ebp - 0x2d8], 0x10002
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x10016d2f
lea eax, [ebp - 0x2d8]
mov dword [ebp - 0x228], 0x10001f00
push eax
push esi
mov dword [ebp - 0x2d8], 0x10002
call dword [sym.imp.KERNEL32.dll_SetThreadContext]
test eax, eax
je 0x10016d2f
push esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
xor ecx, ecx
cmp eax, 0xffffffff
cmove esi, ecx
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
pop ebx
call fcn.10052ee0
mov esp, ebp
pop ebp
ret
Function at 0x10016e10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov byte [ebp - 0x10], 0x77
mov al, 0x19
xor al, byte [ebp - 0x10]
mov bl, 0x1b
mov ah, bl
mov byte [ebp - 0xf], al
mov al, byte [ebp - 0x10]
mov dl, 0x13
push esi
mov esi, ecx
mov byte [ebp - 1], ah
mov bh, ah
mov byte [ebp - 6], 0
mov dh, dl
mov byte [ebp - 6], 0
xor dl, al
xor bl, al
xor ah, al
mov byte [ebp - 0xd], dl
xor dh, al
mov byte [ebp - 0xb], ah
xor bh, al
mov byte [ebp - 0xc], bl
mov cl, 3
mov byte [ebp - 9], dh
xor cl, al
mov byte [ebp - 8], bh
mov ch, 0x59
mov byte [ebp - 0xe], cl
xor ch, al
mov al, byte [ebp - 1]
xor al, byte [ebp - 0x10]
mov byte [ebp - 7], al
lea eax, [ebp - 0xf]
push edi
push eax
mov byte [ebp - 0xa], ch
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov edx, eax
test edx, edx
jne 0x10016e88
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movaps xmm0, xmmword [0x100635f0]
xor eax, eax
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0x574d714b
mov dword [ebp - 0x14], 0x414440
mov cl, byte [ebp - 0x28]
xor byte [ebp + eax - 0x27], cl
inc eax
cmp eax, 0x16
jb 0x10016ea3
lea eax, [ebp - 0x27]
mov byte [ebp - 0x11], 0
push eax
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x10016e7f
test esi, esi
jne 0x10016ed1
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov esi, eax
push 0
push 0
push 0x11
push esi
call edi
pop edi
test eax, eax
pop esi
sete al
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10016ef0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0
pushal
pushfd
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov dword [ebp - 4], eax
mov esi, dword [eax + 0xc]
mov edx, dword [eax + 0x10]
lodsd eax, dword [esi]
mov esi, eax
mov ecx, dword [eax + 0x18]
cmp ecx, dword [ebp - 8]
jne 0x10016f2e
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [ecx], ebx
mov dword [ebx + 4], ecx
jmp 0x10016f32
cmp edx, esi
jne 0x10016f17
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x14]
mov edx, dword [eax + 0x18]
lodsd eax, dword [esi]
mov esi, eax
mov ecx, dword [eax + 0x10]
cmp ecx, dword [ebp - 8]
jne 0x10016f52
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [ecx], ebx
mov dword [ebx + 4], ecx
jmp 0x10016f56
cmp edx, esi
jne 0x10016f3b
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x1c]
mov edx, dword [eax + 0x20]
lodsd eax, dword [esi]
mov esi, eax
mov ecx, dword [eax + 8]
cmp ecx, dword [ebp - 8]
jne 0x10016f76
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [ecx], ebx
mov dword [ebx + 4], ecx
jmp 0x10016f7a
cmp edx, esi
jne 0x10016f5f
popfd
popal
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10017030
Capabilities:
Encode data using xor
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x1006a018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, ecx
call fcn.1000f860
test eax, eax
je 0x1001713c
push esi
push 0
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ebx, ebx
test eax, eax
setne bl
test ebx, ebx
je 0x1001713c
push eax
call esi
test ebx, ebx
je 0x1001713c
movaps xmm0, xmmword [str._a_JZBJG_JNK]
xor eax, eax
movups xmmword [ebp - 0x28], xmm0
nop dword [eax]
mov cl, byte [ebp - 0x28]
xor byte [ebp + eax - 0x27], cl
inc eax
cmp eax, 0xe
jb 0x10017090
mov byte [ebp - 0x18], 0x79
mov al, 0x17
xor al, byte [ebp - 0x18]
mov bl, 0x15
mov ah, bl
mov byte [ebp - 0x17], al
mov al, byte [ebp - 0x18]
mov dl, 0x1d
mov bh, ah
mov byte [ebp - 9], ah
xor bl, al
mov byte [ebp - 0xe], 0
xor ah, al
mov byte [ebp - 0x19], 0
xor bh, al
mov byte [ebp - 0x13], ah
mov dh, dl
mov byte [ebp - 0x14], bl
xor dl, al
mov byte [ebp - 0x10], bh
xor dh, al
mov byte [ebp - 0x15], dl
mov cl, 0xd
mov byte [ebp - 0x11], dh
xor cl, al
mov byte [ebp - 0xe], 0
mov ch, 0x57
mov byte [ebp - 0x16], cl
xor ch, al
mov al, byte [ebp - 9]
xor al, byte [ebp - 0x18]
mov byte [ebp - 0xf], al
lea eax, [ebp - 0x27]
push eax
lea eax, [ebp - 0x17]
mov byte [ebp - 0x12], ch
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, 0x116e058
mov ebx, eax
call fcn.100123d0
push eax
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov edi, eax
test edi, edi
je 0x10017155
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push edi
call ebx
test eax, eax
jns 0x10017144
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
cmp dword [ebp - 8], 0
jbe 0x10017152
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push edi
call esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10052ee0
mov esp, ebp
pop ebp
ret
Function at 0x10017fc0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov byte [ebp - 0x10], 0x3d
mov al, 0x5f
xor al, byte [ebp - 0x10]
mov dl, 0x5c
mov byte [ebp - 0xf], al
mov dh, 0x62
mov al, byte [ebp - 0x10]
mov bl, 0x4e
push esi
xor dl, al
mov byte [ebp - 7], 0
xor dh, al
mov byte [ebp - 0xe], dl
push edi
mov esi, ecx
mov byte [ebp - 0xb], dh
sub esp, 0x18
mov byte [ebp - 7], 0
mov edx, esp
mov ch, bl
mov ah, 0x58
mov bh, 0x5e
mov cl, 0x52
xor bl, al
xor ah, al
mov byte [ebp - 0xd], bl
xor bh, al
mov byte [ebp - 0xc], ah
xor cl, al
mov byte [ebp - 0xa], bh
xor ch, al
mov byte [ebp - 9], cl
mov byte [ebp - 8], ch
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
cmp dword [edx + 0x14], 0x10
jb 0x10018030
mov eax, dword [edx]
jmp 0x10018032
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0xf], 0
jne 0x1001803f
xor ecx, ecx
jmp 0x1001804e
lea ecx, [ebp - 0xf]
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10018045
sub ecx, edi
push ecx
lea eax, [ebp - 0xf]
mov ecx, edx
push eax
call fcn.100052b0
mov ecx, dword [esi]
call fcn.10011b00
mov ebx, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
add esp, 0x18
mov dword [esi + 4], eax
push 4
push eax
call ebx
test eax, eax
je 0x1001807d
mov dword [esi + 4], 0
movaps xmm0, xmmword [0x10062ad0]
xor ecx, ecx
movups xmmword [ebp - 0x14], xmm0
nop word [eax + eax]
mov al, byte [ebp - 0x14]
xor byte [ebp + ecx - 0x13], al
inc ecx
cmp ecx, 0xe
jb 0x10018090
sub esp, 0x18
mov byte [ebp - 5], 0
mov edx, esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
mov byte [edx], 0
cmp byte [ebp - 0x13], 0
jne 0x100180c1
xor ecx, ecx
jmp 0x100180d0
lea ecx, [ebp - 0x13]
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100180c7
sub ecx, edi
push ecx
lea eax, [ebp - 0x13]
mov ecx, edx
push eax
call fcn.100052b0
mov ecx, dword [esi + 4]
call fcn.10011b00
add esp, 0x18
mov dword [esi + 8], eax
push 4
push eax
call ebx
test eax, eax
je 0x100180fa
mov dword [esi + 8], 0
cmp dword [esi + 8], 0
je 0x10018114
cmp dword [0x100706f4], 0
mov ecx, 0x10b78ba
sete dl
call fcn.10012300
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1001e0e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10055c88
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x1006a018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ax, word [ebp + 8]
mov dword [ebp - 4], 0
cmp dword [ebp + 0x1c], 0
mov word [esi + 0x28], ax
jne 0x1001e1ef
mov bh, 0x4b
mov byte [ebp - 0x24], 0x2a
mov byte [ebp - 0x12], bh
mov al, 0x43
xor al, byte [ebp - 0x24]
mov cl, 0x4f
mov byte [ebp - 0x11], 0x79
mov bl, cl
mov bh, byte [ebp - 0x11]
mov dl, 0x4d
xor bh, byte [ebp - 0x24]
mov ah, 0xa
mov byte [ebp - 0x11], bh
mov ch, 0x69
mov byte [ebp - 0x22], al
mov dh, 0x46
mov al, byte [ebp - 0x24]
mov byte [ebp - 0x23], bh
xor cl, al
mov bh, byte [ebp - 0x12]
xor dl, al
xor bl, al
mov byte [ebp - 0x13], 0x44
xor ah, al
mov byte [ebp - 0x19], 0
xor ch, al
mov byte [ebp - 0x21], cl
xor dh, al
mov byte [ebp - 0x20], dl
xor bh, al
mov byte [ebp - 0x1f], bl
mov al, byte [ebp - 0x13]
xor al, byte [ebp - 0x24]
cmp byte [ebp - 0x11], 0
mov byte [ebp - 0x1e], ah
mov byte [ebp - 0x1d], ch
mov byte [ebp - 0x1c], dh
mov byte [ebp - 0x1b], bh
mov byte [ebp - 0x1a], al
mov byte [ebp - 0x19], 0
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
jne 0x1001e1aa
xor ecx, ecx
jmp 0x1001e1b9
lea ecx, [ebp - 0x23]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001e1b0
sub ecx, edx
push ecx
lea eax, [ebp - 0x23]
push eax
lea ecx, [ebp - 0x40]
call fcn.100052b0
mov byte [ebp - 4], 1
mov esi, dword [esi + 0x10]
test esi, esi
je 0x1001e297
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1001e297
lea eax, [ebp - 0x40]
push eax
jmp 0x1001e28f
cmp dword [ebp + 0x20], 0x10
lea eax, [ebp + 0xc]
movaps xmm0, xmmword [0x100633c0]
cmovae eax, dword [ebp + 0xc]
xor ecx, ecx
push eax
movups xmmword [ebp - 0x28], xmm0
mov word [ebp - 0x18], 0x16
nop
mov al, byte [ebp - 0x28]
xor byte [ebp + ecx - 0x27], al
inc ecx
cmp ecx, 0x10
jb 0x1001e210
sub esp, 0x18
mov byte [ebp - 0x17], 0
mov edx, esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
cmp dword [edx + 0x14], 0x10
jb 0x1001e23e
mov eax, dword [edx]
jmp 0x1001e240
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x27], 0
jne 0x1001e24d
xor ecx, ecx
jmp 0x1001e25c
lea ecx, [ebp - 0x27]
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001e253
sub ecx, edi
push ecx
lea eax, [ebp - 0x27]
mov ecx, edx
push eax
call fcn.100052b0
lea eax, [ebp - 0x40]
push eax
call fcn.1000be20
add esp, 0x20
mov edi, eax
mov byte [ebp - 4], 2
mov esi, dword [esi + 0x10]
test esi, esi
je 0x1001e297
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1001e297
push edi
mov ecx, esi
call dword [0x1006254c]
mov eax, dword [ebp - 0x2c]
cmp eax, 0x10
jb 0x1001e2a9
inc eax
push eax
push dword [ebp - 0x40]
call fcn.10005180
mov eax, dword [ebp + 0x20]
cmp eax, 0x10
jb 0x1001e2bb
inc eax
push eax
push dword [ebp + 0xc]
call fcn.10005180
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x1001e860
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
movaps xmm0, xmmword [0x100636c0]
push esi
mov esi, ecx
mov dword [ebp - 0x10], 0x544e6258
push edi
movups xmmword [ebp - 0x20], xmm0
mov dword [ebp - 0xc], 0x495c4849
xor ecx, ecx
mov dword [ebp - 8], 0x535254
nop dword [eax]
mov al, byte [ebp - 0x20]
xor byte [ebp + ecx - 0x1f], al
inc ecx
cmp ecx, 0x1a
jb 0x1001e890
sub esp, 0x18
mov byte [ebp - 5], 0
mov edx, esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
mov byte [edx], 0
cmp byte [ebp - 0x1f], 0
jne 0x1001e8c1
xor ecx, ecx
jmp 0x1001e8d0
lea ecx, [ebp - 0x1f]
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001e8c7
sub ecx, edi
push ecx
lea eax, [ebp - 0x1f]
mov ecx, edx
push eax
call fcn.100052b0
mov ecx, dword [esi]
call fcn.10011b00
add esp, 0x18
mov dword [esi + 4], eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret