joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10014060
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x100a2078]
xor eax, ebp
mov dword [ebp - 4], eax
movaps xmm0, xmmword [0x100990d0]
xor eax, eax
push esi
mov esi, ecx
mov dword [ebp - 0x34], 0x9333234
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x30], 0x3c382f35
mov word [ebp - 0x2c], 0x39
mov cl, byte [ebp - 0x44]
xor byte [ebp + eax - 0x43], cl
inc eax
cmp eax, 0x18
jb 0x10014094
push ebx
mov byte [ebp - 0x28], 0xd
mov al, 0x63
xor al, byte [ebp - 0x28]
mov bl, 0x61
mov ah, bl
mov byte [ebp - 0x27], al
mov al, byte [ebp - 0x28]
mov dl, 0x69
mov bh, ah
mov byte [ebp - 0x19], ah
xor bl, al
mov byte [ebp - 0x1e], 0
xor ah, al
mov byte [ebp - 0x2b], 0
xor bh, al
mov byte [ebp - 0x23], ah
mov dh, dl
mov byte [ebp - 0x24], bl
xor dl, al
mov byte [ebp - 0x20], bh
xor dh, al
mov byte [ebp - 0x25], dl
mov cl, 0x79
mov byte [ebp - 0x21], dh
xor cl, al
mov byte [ebp - 0x1e], 0
mov ch, 0x23
mov byte [ebp - 0x26], cl
xor ch, al
mov al, byte [ebp - 0x19]
xor al, byte [ebp - 0x28]
mov byte [ebp - 0x1f], al
lea eax, [ebp - 0x43]
push eax
lea eax, [ebp - 0x27]
mov byte [ebp - 0x22], ch
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
pop ebx
test eax, eax
jne 0x10014123
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10066135
mov esp, ebp
pop ebp
ret
push 0
push 0x14
lea ecx, [ebp - 0x18]
push ecx
push 0
push esi
call eax
mov ecx, dword [ebp - 0xc]
xor edx, edx
test eax, eax
pop esi
cmovne ecx, edx
mov eax, ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10066135
mov esp, ebp
pop ebp
ret
Function at 0x10014150
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x100a2078]
xor eax, ebp
mov dword [ebp - 4], eax
movaps xmm0, xmmword [0x10099100]
xor eax, eax
push esi
mov esi, ecx
mov dword [ebp - 0x24], 0xa303137
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x20], 0x3f3b2c36
mov word [ebp - 0x1c], 0x3a
mov cl, byte [ebp - 0x34]
xor byte [ebp + eax - 0x33], cl
inc eax
cmp eax, 0x18
jb 0x10014184
push ebx
mov byte [ebp - 0x18], 0x53
mov al, 0x3d
xor al, byte [ebp - 0x18]
mov bl, 0x3f
mov ah, bl
mov byte [ebp - 0x17], al
mov al, byte [ebp - 0x18]
mov dl, 0x37
mov bh, ah
mov byte [ebp - 9], ah
xor bl, al
mov byte [ebp - 0xe], 0
xor ah, al
mov byte [ebp - 0x1b], 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, 0x27
mov byte [ebp - 0x11], dh
xor cl, al
mov byte [ebp - 0xe], 0
mov ch, 0x7d
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 - 0x33]
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]
pop ebx
test eax, eax
jne 0x10014213
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10066135
mov esp, ebp
pop ebp
ret
push 0
push 4
lea ecx, [ebp - 8]
mov dword [ebp - 8], 0
push ecx
push 9
push esi
call eax
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 8]
xor ecx, ebp
pop esi
call fcn.10066135
mov esp, ebp
pop ebp
ret

Function at 0x10014510
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
mov eax, 1
mov dword [0x100a28dc], edx
mov ecx, edx
shr ecx, 0x1e
xor ecx, edx
imul edx, ecx, 0x6c078965
add edx, eax
mov dword [eax*4 + 0x100a28dc], edx
inc eax
cmp eax, 0x270
jl 0x10014521
mov dword [0x100a28d8], 0x270
pop ebp
ret 8

Function at 0x100146b0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push esi
lea eax, [ecx + 8]
mov esi, 0x270
nop dword [eax]
mov edx, dword [eax - 4]
lea eax, [eax + 4]
xor edx, dword [eax - 4]
and edx, 0x7fffffff
xor edx, dword [eax - 8]
mov ecx, edx
and cl, 1
movzx ecx, cl
neg ecx
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [eax + 0x62c]
xor ecx, edx
mov dword [eax + 0x9b8], ecx
sub esi, 1
jne 0x100146c0
pop esi
ret
Function at 0x10014700
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebx
mov ebx, ecx
mov ecx, 0xe3
push esi
push edi
lea edi, [ebx + 0x9c4]
mov edx, dword [edi + 4]
lea edi, [edi + 4]
xor edx, dword [edi - 4]
and edx, 0x7fffffff
xor edx, dword [edi - 4]
mov eax, edx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr edx, 1
and eax, 0x9908b0df
xor eax, dword [edi + 0x630]
xor eax, edx
mov dword [edi - 0x9c4], eax
sub ecx, 1
jne 0x10014710
lea esi, [ebx + 0xd50]
mov edi, 0x18c
mov ecx, dword [esi + 4]
lea esi, [esi + 4]
xor ecx, dword [esi - 4]
and ecx, 0x7fffffff
xor ecx, dword [esi - 4]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [esi - 0xd50]
xor eax, ecx
mov dword [esi - 0x9c4], eax
sub edi, 1
jne 0x10014752
mov ecx, dword [ebx + 0x1380]
xor ecx, dword [ebx + 4]
and ecx, 0x7fffffff
xor ecx, dword [ebx + 0x1380]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [ebx + 0x634]
xor eax, ecx
mov dword [ebx + 0x9c0], eax
mov dword [ebx], edi
pop edi
pop esi
pop ebx
ret
Function at 0x10015060
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10082428
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x100a2078]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov ebx, ecx
mov dword [ebp - 0x18], ebx
cmp dword [0x100a55ec], 0
je 0x100151e2
cmp byte [0x100a5655], 0
je 0x100151e2
mov eax, dword [edi]
cmp dword [eax + 0x18], 0x10
lea esi, [eax + 4]
jb 0x100150ba
mov esi, dword [eax + 4]
movaps xmm0, xmmword [0x10099820]
xor ecx, ecx
movups xmmword [ebp - 0x38], xmm0
mov word [ebp - 0x28], 0x68
nop dword [eax]
mov al, byte [ebp - 0x38]
xor byte [ebp + ecx - 0x37], al
inc ecx
cmp ecx, 0x10
jb 0x100150d0
sub esp, 0x18
mov byte [ebp - 0x27], 0
lea eax, [ebp - 0x37]
mov dword [ebp - 0x14], esp
mov ecx, esp
push eax
call fcn.10002810
sub esp, 0x18
mov dword [ebp - 4], 0
mov ecx, esp
push esi
call fcn.10002810
mov dword [ebp - 4], 0xffffffff
call fcn.10014870
add esp, 0x30
test al, al
je 0x100151e2
mov ecx, dword [0x100a55ec]
mov eax, dword [ecx + 0x5c]
test eax, eax
je 0x100151d2
push edi
push ebx
mov ecx, eax
call fcn.10033570
mov ecx, dword [0x100a55ec]
cmp dword [ecx + 0x60], 0
je 0x1001518b
xor bl, bl
xor esi, esi
mov byte [ebp - 0x14], bl
cmp bl, 4
jae 0x1001517e
mov eax, dword [ecx + 0x5c]
movq xmm0, qword [eax + esi + 4]
mov eax, dword [eax + esi + 0xc]
movq qword [ebp - 0x24], xmm0
mov dword [ebp - 0x1c], eax
test al, al
je 0x1001517e
push dword [ebp - 0x20]
mov ecx, dword [ecx + 0x60]
push dword [ebp - 0x14]
push edi
push dword [ebp - 0x18]
call fcn.10034e50
mov ecx, dword [0x100a55ec]
inc bl
add esi, 0xc
mov byte [ebp - 0x14], bl
cmp bl, 4
jb 0x1001514d
cmp dword [ecx + 0x64], 0
je 0x100151d2
xor bl, bl
mov byte [ebp - 0x14], bl
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x24]
mov ecx, dword [ecx + 0x5c]
push esi
push eax
call fcn.10033940
cmp byte [ebp - 0x1c], 0
je 0x100151c2
push dword [ebp - 0x20]
mov ecx, dword [0x100a55ec]
push esi
push edi
push dword [ebp - 0x18]
mov ecx, dword [ecx + 0x64]
call fcn.10035390
mov ecx, dword [0x100a55ec]
inc bl
mov byte [ebp - 0x14], bl
cmp bl, 8
jb 0x10015196
mov ecx, dword [ecx + 0x58]
test ecx, ecx
je 0x100151e2
push edi
push dword [ebp - 0x18]
call fcn.10032f70
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10066135
mov esp, ebp
pop ebp
ret
Function at 0x10015840
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, 0x40
push 0
push 1
push str.Microsoft_Enhanced_Cryptographic_Provider_v1.0
push 0
push 0x100a564c
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x10015920
push 0x100a5648
push 0
push 0
push 0x8004
push dword [0x100a564c]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x10015920
movaps xmm0, xmmword [str.eM]
xor ecx, ecx
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x10], 0xd550304
movaps xmm0, xmmword [0x100995d0]
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0xc], 0x7511725
movaps xmm0, xmmword [0x100994d0]
movups xmmword [ebp - 0x20], xmm0
mov dword [ebp - 8], 0x44151f30
mov word [ebp - 4], 0x18
mov al, byte [ebp - 0x40]
xor byte [ebp + ecx - 0x3f], al
inc ecx
cmp ecx, 0x3c
jb 0x100158c4
push 1
push 0x3c
lea eax, [ebp - 0x3f]
mov byte [ebp - 3], 0
push eax
push dword [0x100a5648]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x10015920
push 0x100a5644
push 0x800000
push dword [0x100a5648]
push 0x6801
push dword [0x100a564c]
call dword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
test eax, eax
jne 0x10015920
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [0x100a5640], eax
call fcn.10064d80
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
call esi
push eax
call fcn.10065250
push 0x100156a0
push 0x100a563c
call fcn.10064a90
call fcn.10064de0
push 4
push 0x450890
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1001598f
mov dword [0x100a563c], 0x450890
call fcn.10064d80
call esi
push eax
call fcn.10065250
push 0x100156a0
push 0x100a563c
call fcn.10064600
call fcn.10064de0
call fcn.10064d80
call esi
push eax
call fcn.10065250
push 0x10015740
push 0x100a5638
call fcn.10064a90
call fcn.10064de0
push 4
push 0x4504c0
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100159ec
mov dword [0x100a5638], 0x4504c0
call fcn.10064d80
call esi
push eax
call fcn.10065250
push 0x10015740
push 0x100a5638
call fcn.10064600
call fcn.10064de0
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10015ed0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
mov eax, dword [0x100a2078]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x104
lea eax, [ebp - 0x110]
push 0
push eax
call fcn.10068b00
add esp, 0xc
mov eax, 0x100a5ac8
cmp dword [0x100a5adc], 0x10
cmovae eax, dword [0x100a5ac8]
push eax
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push str.Option.Ini
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
cmp byte [ebp - 0x110], 0
mov dword [ebp - 0x114], 0xf
mov dword [ebp - 0x118], 0
mov byte [ebp - 0x128], 0
jne 0x10015f56
xor eax, eax
jmp 0x10015f69
lea eax, [ebp - 0x110]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10015f60
sub eax, edx
push eax
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x128]
call fcn.10002710
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
lea eax, [ebp - 0x110]
push eax
push 1
push str.LootWeapon
push str.PetLooting
call esi
movzx ecx, al
cmp al, 1
lea eax, [ebp - 0x110]
mov edi, 1
push eax
push edi
push str.LootArmor
cmova ecx, edi
push str.PetLooting
mov byte [0x100a5b50], cl
call esi
movzx ecx, al
cmp al, 1
lea eax, [ebp - 0x110]
push eax
push edi
push str.LootAccessory
cmova ecx, edi
push str.PetLooting
mov byte [0x100a5b51], cl
call esi
movzx ecx, al
cmp al, 1
lea eax, [ebp - 0x110]
push eax
push edi
push str.LootNormal
cmova ecx, edi
push str.PetLooting
mov byte [0x100a5b52], cl
call esi
movzx ecx, al
cmp al, 1
lea eax, [ebp - 0x110]
push eax
push edi
push str.LootMagic
cmova ecx, edi
push str.PetLooting
mov byte [0x100a5b53], cl
call esi
movzx ecx, al
cmp al, 1
lea eax, [ebp - 0x110]
push eax
push edi
push str.LootRare
cmova ecx, edi
push str.PetLooting
mov byte [0x100a5b54], cl
call esi
movzx ecx, al
cmp al, 1
lea eax, [ebp - 0x110]
push eax
push edi
push str.LootUpgrade
cmova ecx, edi
push str.PetLooting
mov byte [0x100a5b55], cl
call esi
movzx ecx, al
cmp al, 1
lea eax, [ebp - 0x110]
push eax
cmova ecx, edi
push edi
mov byte [0x100a5b56], cl
push str.LootUnique
push str.PetLooting
call esi
movzx ecx, al
cmp al, 1
lea eax, [ebp - 0x110]
push eax
push edi
push str.LootCraft
cmova ecx, edi
push str.PetLooting
mov byte [0x100a5b57], cl
call esi
cmp al, 1
movzx ecx, al
mov eax, dword [ebp - 0x114]
cmova ecx, edi
mov byte [0x100a5b58], cl
cmp eax, 0x10
jb 0x100160d8
inc eax
lea ecx, [ebp - 0x128]
push eax
push dword [ebp - 0x128]
call fcn.100025f0
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.10066135
mov esp, ebp
pop ebp
ret
Function at 0x10016220
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp byte [0x100a5cc1], 0
jne 0x10016268
push 0x100a5cd8
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
cmp eax, 1
jne 0x10016258
push 0x100a5ce0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
mov al, 1
mov byte [0x100a5cc0], al
mov byte [0x100a5cc1], al
jmp 0x1001626d
xor al, al
mov byte [0x100a5cc1], 1
mov byte [0x100a5cc0], al
jmp 0x1001626d
mov al, byte [0x100a5cc0]
test al, al
je 0x100162b4
push 0x100a5cd8
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov edx, dword [0x100a5cdc]
mov ecx, dword [0x100a5cd8]
call fcn.10080730
mov edx, dword [0x100a5ce4]
mov ecx, dword [0x100a5ce0]
movsd qword [ebp - 8], xmm0
call fcn.10080730
movsd xmm1, qword [ebp - 8]
divsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
mov esp, ebp
pop ebp
ret
call dword [sym.imp.WINMM.dll_timeGetTime]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100993c0]
cvtpd2ps xmm0, xmm0
mov esp, ebp
pop ebp
ret
Function at 0x10016740
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x200
mov eax, dword [0x100a2078]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x1fc
lea eax, [ebp - 0x200]
mov esi, ecx
push 0
push eax
call fcn.10068b00
add esp, 0xc
mov dword [ebp - 0x200], 0x1fc
lea eax, [ebp - 0x200]
mov dword [ebp - 0x1fc], esi
mov dword [ebp - 0x1f8], 1
push eax
push 2
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconA]
push 5
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov byte [0x100a5654], 0
mov byte [0x100a55f7], 0
pop esi
call fcn.10066135
mov esp, ebp
pop ebp
ret
Function at 0x10018010
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10082600
mov eax, dword fs:[0]
push eax
sub esp, 0x78
push ebx
push esi
mov eax, dword [0x100a2078]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov bl, byte [0x100a5686]
cmp bl, 0x41
je 0x10018167
mov ecx, 0xd78dd4
xor bh, bh
call fcn.10017d30
mov ecx, eax
call fcn.10001de0
cmp ecx, eax
jne 0x10018073
mov ecx, 0xd78dd4
call fcn.10017d30
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp esi, eax
je 0x10018075
mov bh, 1
call fcn.10001df0
cmp dword [0x100a56cc], eax
mov edx, 1
movzx ecx, bh
cmovne ecx, edx
mov dword [ebp - 0x14], ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov ecx, eax
call fcn.10014060
mov ecx, 0xd78dd4
mov esi, eax
call fcn.10017d30
cmp esi, eax
jne 0x100180d3
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov ecx, eax
call fcn.10014060
mov ecx, dword [0x100a5668]
mov esi, eax
call fcn.10014060
cmp eax, esi
jne 0x100180d3
cmp byte [ebp - 0x14], 0
je 0x10018167
movaps xmm0, xmmword [0x100995c0]
xor ecx, ecx
movups xmmword [ebp - 0x80], xmm0
movzx eax, bl
movaps xmm0, xmmword [0x10099680]
push eax
movups xmmword [ebp - 0x70], xmm0
mov dword [ebp - 0x60], 0x627f7963
mov word [ebp - 0x5c], 0x61
nop dword [eax]
mov al, byte [ebp - 0x80]
xor byte [ebp + ecx - 0x7f], al
inc ecx
cmp ecx, 0x24
jb 0x10018100
sub esp, 0x18
mov byte [ebp - 0x5b], 0
lea eax, [ebp - 0x7f]
mov ecx, esp
push eax
call fcn.10002810
lea eax, [ebp - 0x58]
push eax
call fcn.1000bf20
add esp, 0x20
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.1001b780
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x44]
cmp eax, 0x10
jb 0x10018155
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.100025f0
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x58], 0
call fcn.10020f20
test eax, eax
je 0x100181fa
movaps xmm0, xmmword [0x10099140]
xor ecx, ecx
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0x393c38
mov al, byte [ebp - 0x28]
xor byte [ebp + ecx - 0x27], al
inc ecx
cmp ecx, 0x12
jb 0x10018188
cmp byte [ebp - 0x27], 0
mov byte [ebp - 0x15], 0
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
jne 0x100181b5
xor ecx, ecx
jmp 0x100181c9
lea ecx, [ebp - 0x27]
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100181c0
sub ecx, edx
push ecx
lea eax, [ebp - 0x27]
push eax
lea ecx, [ebp - 0x40]
call fcn.10002710
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 1
call fcn.1001b780
mov eax, dword [ebp - 0x2c]
cmp eax, 0x10
jb 0x100181fa
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.100025f0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10019bb0
Capabilities:
Execute anti-debugging instructions
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10082686
mov eax, dword fs:[0]
push eax
sub esp, 0x134
mov eax, dword [0x100a2078]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x104
lea eax, [ebp - 0x118]
push 0
push eax
call fcn.10068b00
add esp, 0xc
lea eax, [ebp - 0x118]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
cmp byte [ebp - 0x118], 0
jne 0x10019c13
xor ecx, ecx
jmp 0x10019c29
lea ecx, [ebp - 0x118]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10019c20
sub ecx, edx
push ecx
lea eax, [ebp - 0x118]
mov ecx, 0x100a5b88
push eax
call fcn.10002710
mov cl, 0x75
mov byte [ebp - 0x11a], 0
mov al, 0x29
mov byte [ebp - 0x11c], cl
xor al, cl
mov byte [ebp - 0x11a], 0
mov byte [ebp - 0x11b], al
jne 0x10019c61
xor ecx, ecx
jmp 0x10019c79
lea ecx, [ebp - 0x11b]
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10019c70
sub ecx, edx
push ecx
push ecx
lea eax, [ebp - 0x11b]
push eax
call fcn.1001bee0
push 0xffffffffffffffff
inc eax
mov ecx, 0x100a5b88
push eax
lea eax, [ebp - 0x140]
push eax
call fcn.100144d0
mov esi, eax
cmp esi, 0x100a5b88
je 0x10019ce9
mov ecx, dword [0x100a5b9c]
cmp ecx, 0x10
jb 0x10019cc3
inc ecx
push ecx
push dword [0x100a5b88]
mov ecx, 0x100a5b88
call fcn.100025f0
push esi
mov ecx, 0x100a5b88
mov dword [0x100a5b9c], 0xf
mov dword [0x100a5b98], 0
mov byte [0x100a5b88], 0
call fcn.10007980
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x12c]
cmp eax, 0x10
jb 0x10019d0e
inc eax
lea ecx, [ebp - 0x140]
push eax
push dword [ebp - 0x140]
call fcn.100025f0
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov dword [0x100a5668], eax
call fcn.10001df0
mov dword [0x100a56cc], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
call fcn.1000acb0
call fcn.1000ad90
call fcn.10002d20
sidt [ebp - 0x124]
mov eax, dword [ebp - 0x122]
and eax, 0xff000000
cmp eax, 0xff000000
jne 0x10019d6a
push 9
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
call fcn.10002d90
call fcn.10002e40
test al, al
jne 0x10019d53
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x128], 0
rdtsc
mov dword [ebp - 0x124], eax
rdtsc
mov dword [ebp - 0x128], eax
mov eax, dword [ebp - 0x128]
sub eax, dword [ebp - 0x124]
cmp eax, 0x1f4
ja 0x10019d53
call fcn.10002ef0
call fcn.10020940
mov dword [0x100a56f0], eax
test eax, eax
je 0x10019dc9
mov ecx, eax
call fcn.10020b30
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10066135
mov esp, ebp
pop ebp
ret
Function at 0x1001b300
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x100a2078]
xor eax, ebp
mov dword [ebp - 4], eax
movaps xmm0, xmmword [0x10099510]
xor ecx, ecx
mov eax, dword [0x100a56c8]
push ebx
push esi
push edi
mov dword [ebp - 0x3c], eax
movups xmmword [ebp - 0x38], xmm0
mov byte [ebp - 0x28], 0
nop dword [eax]
mov al, byte [ebp - 0x38]
xor byte [ebp + ecx - 0x37], al
inc ecx
cmp ecx, 0xf
jb 0x1001b330
sub esp, 0x18
mov byte [ebp - 0x28], 0
mov edx, esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
mov byte [edx], 0
cmp byte [ebp - 0x37], 0
jne 0x1001b361
xor ecx, ecx
jmp 0x1001b370
lea ecx, [ebp - 0x37]
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001b367
sub ecx, esi
push ecx
lea eax, [ebp - 0x37]
mov ecx, edx
push eax
call fcn.10002710
lea ecx, [ebp - 0x1c]
call fcn.10061f70
mov edi, dword [ebp - 8]
add esp, 0x18
cmp dword [0x100a56c4], 0
mov ebx, dword [ebp - 0x1c]
mov dword [ebp - 0x24], 0
jbe 0x1001b3e9
xor edx, edx
mov dword [ebp - 0x20], edx
cmp edi, 0x10
lea ecx, [ebp - 0x1c]
cmovae ecx, ebx
lea esi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001b3b0
sub ecx, esi
mov eax, edx
cmp edi, 0x10
lea esi, [ebp - 0x1c]
cmovae esi, ebx
xor edx, edx
div ecx
mov ecx, dword [ebp - 0x20]
mov al, byte [edx + esi]
mov edx, dword [ebp - 0x3c]
xor byte [ecx + edx], al
mov eax, dword [ebp - 0x24]
inc eax
movzx edx, ax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], edx
cmp edx, dword [0x100a56c4]
jb 0x1001b3a2
cmp edi, 0x10
jb 0x1001b3fb
lea eax, [edi + 1]
push eax
push ebx
lea ecx, [ebp - 0x1c]
call fcn.100025f0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10066135
mov esp, ebp
pop ebp
ret