joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4271f2
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [esp + 0x10]
test edi, edi
jle 0x427227
cmp edi, dword [esi + 0xc]
jge 0x427227
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x427227
cmp edi, dword [eax + 8]
jge 0x427227
mov eax, dword [eax + 0xc]
mov edi, dword [eax + edi*4]
jmp 0x427229
xor edi, edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
pop edi
pop esi
pop ebx
ret 4

Function at 0x42732d
Capabilities:
Allocate thread local storage

Disassembly:
xor eax, eax
push esi
mov esi, ecx
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x18], 4
mov dword [esi + 4], eax
mov dword [esi + 8], 1
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
mov dword [esi], eax
jne 0x427361
jmp fcn.00418c8d
lea eax, [esi + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov eax, esi
pop esi
ret

Function at 0x4273d2
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
lea esi, [edi + 0x1c]
push esi
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp + 8]
xor ebx, ebx
cmp eax, ebx
jle 0x4274cb
cmp eax, dword [edi + 0xc]
jge 0x4274cb
push dword [edi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
cmp esi, ebx
je 0x427423
mov ecx, dword [ebp + 8]
cmp ecx, dword [esi + 8]
jl 0x4274b4
cmp dword [ebp + 0xc], ebx
je 0x4274b4
jmp 0x42744d
push 0x10
call fcn.004270be
cmp eax, ebx
je 0x427439
mov ecx, eax
call fcn.00427324
mov esi, eax
jmp 0x42743b
xor esi, esi
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov ecx, dword [edi + 0x14]
mov eax, dword [edi + 0x18]
mov dword [esi + eax], ecx
mov dword [edi + 0x14], esi
mov eax, dword [esi + 0xc]
cmp eax, ebx
jne 0x427464
mov eax, dword [edi + 0xc]
shl eax, 2
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
jmp 0x427474
mov ecx, dword [edi + 0xc]
push 2
shl ecx, 2
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_LocalReAlloc]
cmp eax, ebx
jne 0x427486
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.00418c8d
mov ecx, dword [esi + 8]
mov dword [esi + 0xc], eax
mov edx, dword [edi + 0xc]
sub edx, ecx
shl edx, 2
push edx
lea eax, [eax + ecx*4]
push ebx
push eax
call fcn.0040e700
mov eax, dword [edi + 0xc]
add esp, 0xc
push esi
mov dword [esi + 8], eax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ecx, dword [ebp + 8]
mov eax, dword [esi + 0xc]
cmp eax, ebx
je 0x4274c6
cmp ecx, dword [esi + 8]
jge 0x4274c6
mov edx, dword [ebp + 0xc]
mov dword [eax + ecx*4], edx
push dword [ebp - 4]
jmp 0x4274cc
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x42758a
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 0x4275b8
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4275d6
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004274f4
jmp 0x4275d6
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4275d6
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.004274f4
test edi, edi
mov eax, edi
jne 0x4275c0
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x436794]
test ecx, ecx
je 0x427689
jmp 0x427589
ret 8
Function at 0x405180
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [ecx + 4], 0
push esi
jne 0x4051a8
push 0x421a64
lea ecx, [ebp - 0xc]
call fcn.0040e28c
lea eax, [ebp - 0xc]
push 0x41fbd0
push eax
call fcn.0040e336
xor esi, esi
cmp dword [ecx + 0x3cc], esi
jle 0x4051c9
mov eax, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
mov dl, byte [edi]
xor byte [eax], dl
inc edi
inc eax
inc esi
cmp esi, dword [ecx + 0x3cc]
jl 0x4051b9
pop edi
pop esi
leave
ret 8

Function at 0x405332
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
cmp word [eax], 0x5a4d
jne 0x405447
mov esi, dword [eax + 0x3c]
add esi, eax
cmp dword [esi], 0x4550
jne 0x405447
mov edi, 0x2000
mov ebx, dword [0x4180b4]
push 4
push edi
push dword [esi + 0x50]
push dword [esi + 0x34]
call ebx
test eax, eax
mov dword [ebp - 4], eax
jne 0x40538a
push 4
push edi
push dword [esi + 0x50]
push eax
call ebx
test eax, eax
mov dword [ebp - 4], eax
je 0x405447
push 0x14
push 0
call dword [0x4180b0]
push eax
call dword [0x4180ac]
mov edi, eax
mov eax, dword [ebp - 4]
xor ecx, ecx
push 4
push 0x1000
mov dword [edi + 4], eax
mov dword [edi + 0xc], ecx
mov dword [edi + 8], ecx
mov dword [edi + 0x10], ecx
push dword [esi + 0x50]
push eax
call ebx
push 4
push 0x1000
push dword [esi + 0x54]
push dword [ebp - 4]
call ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 8], eax
mov ecx, dword [ebx + 0x3c]
add ecx, dword [esi + 0x54]
push ecx
push ebx
push eax
call fcn.0040d4c0
mov eax, dword [ebx + 0x3c]
mov ecx, dword [ebp - 8]
add eax, ecx
mov ecx, dword [ebp - 4]
push edi
push esi
mov dword [edi], eax
push ebx
mov dword [eax + 0x34], ecx
call fcn.00405455
mov ebx, dword [ebp - 4]
add esp, 0x18
mov eax, ebx
sub eax, dword [esi + 0x34]
je 0x40540c
push eax
push edi
call fcn.004055bf
pop ecx
pop ecx
push edi
call fcn.00405639
test eax, eax
pop ecx
je 0x405440
push edi
call fcn.00405502
mov eax, dword [edi]
pop ecx
mov eax, dword [eax + 0x28]
test eax, eax
je 0x40544e
add eax, ebx
test eax, eax
je 0x405440
cmp byte [ebp + 0xc], 0
push 1
pop esi
je 0x40544b
push 0
push esi
push ebx
call eax
test eax, eax
jne 0x40544b
push edi
call fcn.004057bf
pop ecx
xor eax, eax
jmp 0x405450
mov dword [edi + 0x10], esi
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x405455
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0x10]
and dword [ebp - 4], 0
push esi
mov ecx, dword [eax + 4]
mov eax, dword [eax]
mov dword [ebp - 8], ecx
movzx ecx, word [eax + 0x14]
cmp word [eax + 6], 0
lea esi, [ecx + eax + 0x18]
jbe 0x4054ff
push ebx
push edi
mov edi, dword [0x4180b4]
add esi, 0x10
mov ebx, 0x1000
cmp dword [esi], 0
jne 0x4054c0
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x38]
test eax, eax
mov dword [ebp - 0xc], eax
jle 0x4054e9
push 4
push ebx
push eax
mov eax, dword [esi - 4]
add eax, dword [ebp - 8]
push eax
call edi
push dword [ebp - 0xc]
mov dword [esi - 8], eax
push 0
push eax
call fcn.0040d070
add esp, 0xc
jmp 0x4054e9
mov eax, dword [esi - 4]
push 4
add eax, dword [ebp - 8]
push ebx
push dword [esi]
push eax
call edi
mov ecx, dword [esi + 4]
push dword [esi]
add ecx, dword [ebp + 8]
mov dword [ebp - 0xc], eax
push ecx
push eax
call fcn.0040d4c0
mov eax, dword [ebp - 0xc]
add esp, 0xc
mov dword [esi - 8], eax
mov eax, dword [ebp + 0x10]
inc dword [ebp - 4]
add esi, 0x28
mov eax, dword [eax]
movzx eax, word [eax + 6]
cmp dword [ebp - 4], eax
jl 0x40548e
pop edi
pop ebx
pop esi
leave
ret

Function at 0x405837
Capabilities:
Hash data with crc32

Disassembly:
push esi
xor edx, edx
mov ecx, 0x4269fc
push 8
mov eax, edx
pop esi
test al, 1
je 0x405851
shr eax, 1
xor eax, 0xedb88320
jmp 0x405853
shr eax, 1
dec esi
jne 0x405844
mov dword [ecx], eax
add ecx, 4
inc edx
cmp ecx, 0x426dfc
jl 0x40583f
mov dword [0x426dfc], 1
pop esi
ret

Function at 0x405870
Capabilities:
Encode data using xor

Disassembly:
cmp dword [0x426dfc], 0
push esi
mov esi, dword [esp + 8]
jne 0x405883
call fcn.00405837
xor eax, eax
cmp dword [esp + 0x10], eax
jle 0x4058b0
mov ecx, dword [esp + 0xc]
mov edx, esi
and edx, 0xff
movzx ecx, byte [eax + ecx]
xor ecx, edx
shr esi, 8
mov ecx, dword [ecx*4 + 0x4269fc]
xor esi, ecx
inc eax
cmp eax, dword [esp + 0x10]
jl 0x40588b
mov eax, esi
pop esi
ret
Function at 0x405eca
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2dc
push ebx
push esi
xor esi, esi
mov byte [ebp - 0xf], 0x65
cmp dword [ebp + 8], esi
mov dword [ebp - 0x14], esi
mov byte [ebp - 0x10], 0x25
mov byte [ebp - 0xe], 0x52
mov byte [ebp - 0xc], 0x74
mov byte [ebp - 0xd], 0x40
mov byte [ebp - 0xb], 0x6f
mov byte [ebp - 0xa], 0x50
mov byte [ebp - 9], 0x6d
mov byte [ebp - 7], 0x3c
mov byte [ebp - 8], 0x7c
mov byte [ebp - 6], 0x23
mov byte [ebp - 5], 0x59
mov byte [ebp - 3], 0x73
mov byte [ebp - 4], 0x4b
mov byte [ebp - 2], 0x24
mov byte [ebp - 1], 0x5e
je 0x405f34
push 0x421b20
push dword [ebp + 8]
call fcn.0040e0f4
mov ebx, eax
pop ecx
cmp ebx, esi
pop ecx
jne 0x405f3c
or eax, 0xffffffff
jmp 0x405ff2
push 2
push esi
push ebx
call fcn.0040e77b
add esp, 0xc
mov esi, 0x2c8
push 1
push 0xfffffd38
push ebx
call fcn.0040e77b
add esp, 0xc
test eax, eax
jne 0x405fe8
push esi
push eax
lea eax, [ebp - 0x2dc]
push eax
call fcn.0040d070
push ebx
push esi
lea eax, [ebp - 0x2dc]
push 1
push eax
call fcn.0040e834
add esp, 0x1c
cmp eax, esi
jne 0x405fe8
lea eax, [ebp - 0x2dc]
push esi
push eax
call fcn.00405d1a
lea eax, [ebp - 0x10]
push 0x10
push eax
lea eax, [ebp - 0x2dc]
push esi
push eax
call fcn.00405cc2
lea eax, [ebp - 0x2dc]
push eax
call fcn.00405e08
add esp, 0x1c
test al, al
je 0x405fe8
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x405fcc
test dword [ebp - 0x2d8], eax
je 0x405fcf
inc dword [ebp - 0x14]
mov eax, 0xfffffd38
push 1
sub eax, dword [ebp - 0x18]
push eax
push ebx
call fcn.0040e77b
add esp, 0xc
jmp 0x405f4d
push ebx
call fcn.0040df0d
mov eax, dword [ebp - 0x14]
pop ecx
pop esi
pop ebx
leave
ret
Function at 0x4062a3
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2dc
push ebx
push esi
xor esi, esi
push esi
mov dword [ebp - 0x14], esi
push dword [ebp + 8]
call fcn.00405eca
pop ecx
cmp eax, esi
pop ecx
jle 0x406323
cmp dword [ebp + 0xc], eax
jge 0x406323
sub eax, dword [ebp + 0xc]
push 0x421b20
push dword [ebp + 8]
mov byte [ebp - 0xf], 0x65
dec eax
mov byte [ebp - 0x10], 0x25
mov dword [ebp + 0xc], eax
mov byte [ebp - 0xe], 0x52
mov byte [ebp - 0xc], 0x74
mov byte [ebp - 0xd], 0x40
mov byte [ebp - 0xb], 0x6f
mov byte [ebp - 0xa], 0x50
mov byte [ebp - 9], 0x6d
mov byte [ebp - 7], 0x3c
mov byte [ebp - 8], 0x7c
mov byte [ebp - 6], 0x23
mov byte [ebp - 5], 0x59
mov byte [ebp - 3], 0x73
mov byte [ebp - 4], 0x4b
mov byte [ebp - 2], 0x24
mov byte [ebp - 1], 0x5e
call fcn.0040e0f4
mov ebx, eax
pop ecx
cmp ebx, esi
pop ecx
jne 0x40632a
xor al, al
jmp 0x4063ef
push 2
push esi
push ebx
call fcn.0040e77b
add esp, 0xc
mov esi, 0x2c8
push 1
push 0xfffffd38
push ebx
call fcn.0040e77b
add esp, 0xc
test eax, eax
jne 0x4063e1
push esi
push eax
lea eax, [ebp - 0x2dc]
push eax
call fcn.0040d070
push ebx
push esi
lea eax, [ebp - 0x2dc]
push 1
push eax
call fcn.0040e834
lea eax, [ebp - 0x2dc]
push esi
push eax
call fcn.00405d1a
lea eax, [ebp - 0x10]
push 0x10
push eax
lea eax, [ebp - 0x2dc]
push esi
push eax
call fcn.00405cc2
lea eax, [ebp - 0x2dc]
push eax
call fcn.00405e08
add esp, 0x38
test al, al
je 0x4063e1
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp + 0xc]
je 0x4063c8
inc dword [ebp - 0x14]
mov eax, 0xfffffd38
sub eax, dword [ebp - 0x18]
push 1
push eax
push ebx
call fcn.0040e77b
add esp, 0xc
jmp 0x40633b
lea eax, [ebp - 0x2dc]
push esi
push eax
push dword [ebp + 0x10]
call fcn.0040d4c0
add esp, 0xc
mov byte [ebp + 0xf], 1
jmp 0x4063e5
and byte [ebp + 0xf], 0
push ebx
call fcn.0040df0d
mov al, byte [ebp + 0xf]
pop ecx
pop esi
pop ebx
leave
ret
Function at 0x407c12
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [esi + 0x2c]
mov ebx, dword [esi + 0x3c]
mov ecx, dword [esi + 0x2c]
sub ebx, dword [esi + 0x74]
mov eax, dword [esi + 0x6c]
lea ecx, [edi + ecx - 0x106]
sub ebx, eax
cmp eax, ecx
jb 0x407c9a
mov eax, dword [esi + 0x38]
push edi
lea ecx, [eax + edi]
push ecx
push eax
call fcn.0040d4c0
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x44]
sub dword [esi + 0x70], edi
sub dword [esi + 0x6c], edi
add esp, 0xc
sub dword [esi + 0x5c], edi
mov dword [ebp + 8], eax
lea eax, [ecx + eax*2]
dec eax
dec eax
movzx ecx, word [eax]
mov edx, ecx
sub edx, edi
cmp ecx, edi
sbb ecx, ecx
not ecx
and ecx, edx
dec dword [ebp + 8]
mov word [eax], cx
jne 0x407c5d
mov eax, dword [esi + 0x40]
mov dword [ebp + 8], edi
lea eax, [eax + edi*2]
dec eax
dec eax
movzx ecx, word [eax]
mov edx, ecx
sub edx, edi
cmp ecx, edi
sbb ecx, ecx
not ecx
and ecx, edx
dec dword [ebp + 8]
mov word [eax], cx
jne 0x407c7f
add ebx, edi
mov eax, dword [esi]
cmp dword [eax + 4], 0
je 0x407d6a
mov ecx, dword [esi + 0x74]
push ebx
add ecx, dword [esi + 0x6c]
add ecx, dword [esi + 0x38]
push ecx
push eax
call fcn.00407d6f
add dword [esi + 0x74], eax
mov ebx, dword [esi + 0x74]
add esp, 0xc
cmp ebx, 3
jb 0x407ce5
mov eax, dword [esi + 0x6c]
mov ecx, dword [esi + 0x38]
lea edx, [eax + ecx]
mov ecx, dword [esi + 0x58]
movzx eax, byte [edx]
mov dword [esi + 0x48], eax
shl eax, cl
movzx ecx, byte [edx + 1]
xor eax, ecx
and eax, dword [esi + 0x54]
mov dword [esi + 0x48], eax
cmp ebx, 0x106
jae 0x407cf9
mov eax, dword [esi]
cmp dword [eax + 4], 0
jne 0x407c1e
mov ecx, dword [esi + 0x16c0]
mov eax, dword [esi + 0x3c]
cmp ecx, eax
jae 0x407d6a
mov edi, dword [esi + 0x6c]
add edi, ebx
cmp ecx, edi
jae 0x407d39
sub eax, edi
mov ebx, eax
mov eax, 0x102
cmp ebx, eax
jbe 0x407d1e
mov ebx, eax
mov eax, dword [esi + 0x38]
push ebx
add eax, edi
push 0
push eax
call fcn.0040d070
add esp, 0xc
add ebx, edi
mov dword [esi + 0x16c0], ebx
jmp 0x407d6a
lea edx, [edi + 0x102]
cmp ecx, edx
jae 0x407d6a
sub edi, ecx
sub eax, ecx
add edi, 0x102
cmp edi, eax
jbe 0x407d53
mov edi, eax
mov eax, dword [esi + 0x38]
push edi
add eax, ecx
push 0
push eax
call fcn.0040d070
add esp, 0xc
add dword [esi + 0x16c0], edi
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x6eb84d
Capabilities:
Execute anti-debugging instructions

Disassembly:
xor dx, 0xbc34
stc
mov ax, word [esp + 7]
lea esp, [esp + 3]
jmp 0x6eb898
pop word [esp + 1]
pop esi
mov cl, ch
cmc
xchg ah, bl
jmp 0x6eb837
rcl bx, cl
lea ebx, [esp + ebp]
not esi
mov dword [esp], eax
xchg bh, cl
lea ebx, [edx*4]
jmp 0x6eb8ad
not dx
bsr bx, cx
lea edx, [edx*4]
cmc
xchg edi, ebp
not edi
jmp 0x6eb879
bswap edx
stc
xchg cx, bx
rdtsc
not eax
mov dword [esp], ecx
jmp 0x6ebbee
pop dx
push word [esp + 3]
add esp, 3
bsr bp, cx
stc
bswap ebp
jmp 0x6eb9a4
add al, dh
push word [esp + 1]
rdtsc
xchg bh, cl
mov eax, dword [esp + 5]
bswap esi
jmp 0x6eb8df
pop ebx
xchg ch, dl
mov bp, word [esp + 2]
setle dh
mov bl, bh
pop dword [esp]
jmp 0x6eb8f8
lea esi, [esi - 0x15]
xchg byte [esp + 1], dl
rdtsc
neg si
pop dword [esp]
xchg bh, cl
jmp 0x6eb913
btr edx, edx
ror ch, 5
mov dl, 0xf4
lea ebx, [ecx*4]
btc edi, edi
mov ax, 0x6701
jmp 0x6eb930
ror eax, 0x19
call fcn.006ebad7
mov cl, byte [ecx]
cdq
clc
or ebp, ebx
sub al, 0xaa
cmp byte [edi - 0x56], bl
inc ebx
dec ebx
loop 0x6eb996
rdtsc
pop dword [esp]
push word [esp]
xor dword [edi - 0x99dbfc], ecx
xor al, 0x24
neg edx
push dword [esp + 1]
sub esp, 0x14
jmp 0x6eb970
in al, dx
adc al, 0xeb
salc
sbb byte [ebp + 0x45a7540d], bl
insb byte es:[edi], dx
jg 0x6eb9e9
int1
push word [esp + 1]
mov al, ah
mov dword [esp], ebp
mov byte [esp + 3], ah
mov cl, ch
push dword [esp + 3]
jmp 0x6eb986
push dword [esp + 2]
setle dh
cpuid
push dword [esp + 2]
btr edx, edx
mov dh, byte [esp + 0xf]
jmp 0x6eb958
rdtsc
xchg di, ax
push esp
mov dx, 0x30c9
sub esp, 2
xchg ch, dl
jmp 0x6eba25
shl byte ds:[edi + 0x310f59ce], 1
neg ax
rdtsc
cld
cpuid
inc cl
jmp 0x6eb9d4
rdtsc
xchg byte [esp + 2], bl
not ecx
mov dword [esp], esi
rdtsc
push word [esp + 1]
jmp 0x6eba71
not si
cld
xchg word [esp + 3], si
pop word [esp + 1]
mov eax, dword [esp + 3]
mov word [esp], dx
jmp 0x6eb9fc
mov edi, 0x8b87688d
invalid
lea ebp, [eax - 0x79]
mov esi, eax
inc bl
mov ax, sp
pop word [esp + 9]
mov edx, ecx
jmp 0x6ebabf
pop dx
inc dl
push word [esp + 7]
xchg byte [esp + 0xa], bl
pop dword [esp + 8]
jmp 0x6eba3d
lea esp, [esp + 3]
mov di, word [esp]
setp dh
bsr si, cx
add ecx, ebp
sub esp, 0x12
jmp 0x6eba5a
mov cl, ch
mov cl, ch
pop word [esp + 3]
call fcn.006ebaf7
out 0x6f, eax
call [edx - 0x7ff06697]
push ss
jno 0x6eba3c
bound edi, qword [ebp - 0x3a66f074]
setns ch
add esp, 0
mov ecx, 0x8ce0ce9e
mov bl, bh
inc ecx
mov bl, 0xd0
jmp 0x6ebaa3
pop dword [esp]
mov ecx, dword [esp + 1]
rol dx, cl
mov ax, word [esp + 2]
lea ecx, [edx*4]
cmc
jmp 0x6eb9be
lea esi, [ebp - 7]
not ax
push esp
mov bx, word [esp + 8]
push word [esp + 3]
mov dh, byte [esp + 7]
jmp 0x6ebba7

Function at 0x6eba8e
Capabilities:
Execute anti-debugging instructions

Disassembly:
rdtsc
pushal
lea esp, [esp + 0x47]
mov dl, byte [esp]
mov al, ah
lea edx, [esi + 0x306899ed]
jmp 0x6eb9ee

Function at 0x6ebaf7
Capabilities:
Execute anti-debugging instructions

Disassembly:
xchg edx, eax
push word [esp + 0x10]
neg ch
jmp 0x6ebadc
Function at 0x6ebe68
Capabilities:
Execute anti-debugging instructions

Disassembly:
pop word [esp]
sub esp, 0x14
bswap eax
lea eax, [esp + esi]
btr ecx, edx
cpuid
jmp 0x6ebdb0
lea eax, [esi*4]
pop word [esp + 5]
add esp, 0xb
xchg dword [esp], edi
jmp 0x6ebd8e
lea ebx, [esi*4]
neg bh
rdtsc
mov word [esp], bx
inc cl
jmp 0x6ebd30
bsf ax, ax
mov dh, byte [esp + 3]
bsf bp, si
lea esi, [edi*4]
cmc
mov byte [esp + 2], dh
jmp 0x6ebd5b
lea esp, [esp + 2]
lea esp, [esp]
mov cl, ch
mov si, bx
cld
mov ebp, dword [esp]
jmp 0x6ebe2a
mov byte [esp + 0x10], dh
mov byte [esp + 5], dh
mov dword [esp + 3], esi
neg cx
pop dword [esp + 2]
mov bp, sp
jmp 0x6ebd43
rdtsc
lea ecx, [edi*4]
bswap esi
mov cx, dx
lea esp, [esp + 1]
xchg dx, cx
jmp 0x6ebe51
mov cx, 0xb121
mov al, ah
mov si, 0x32f1
bswap ecx
btr ebx, esp
not cx
jmp 0x6ebdcb
btc edx, ebx
mov bx, word [esp]
sub dx, 0x28d0
bswap esi
lea ebp, [eax - 0xb9]
lea esp, [esp + 1]
jmp 0x6ebdf4
xchg byte [esp], dl
xchg bh, cl
cpuid
btr ebp, esp
mov edx, dword [esp]
mov eax, esi
jmp 0x6ebe0c
xchg si, cx
mov eax, 0x2c473186
mov cl, ch
rdtsc
jmp 0x6ebf1a
mov ecx, 0x6aed3b10
xchg edi, ebp
xchg si, dx
mov edx, 0x1909cd1a
jmp 0x6ebe3b
stc
sub eax, eax
xchg word [esp + 1], bx
jmp 0x6ebd74
lea esp, [esp + 0x42]
sub esp, 0x10
lea esp, [esp + 0xd]
lea esp, [esp + 2]
lea esp, [esp + 1]
popfd
jmp 0x6ebefc
push esp
push word [esp + 3]
push dword [esp + 4]
pushal
pop word [esp + 0x23]
sub esp, 0x1a
jmp 0x6ebe75
lea eax, [ecx + 0xd3]
mov ax, word [esp]
shr bh, 3
mov dh, byte [esp]
lea esp, [esp + 1]
popal
jmp 0x6ebe93
push 0x2195e1a8
add dword [esp], 0xdecaed04
call int.006ec1b2
jl 0x6ebf07
fsubp st(0)
movsd dword es:[edi], dword [esi]
add al, byte [eax]
add byte [eax + edi*8 + 0x6e], bh
outsb dx, byte [esi]
or eax, edi
push ss
push edx
aad 0x45
sub al, 0xdf
xor al, 0xc4
lea edi, [esi*4]
mov bp, sp
lea ebp, [edi*4]
bswap eax
add esp, 0
mov ax, 0xc85f
jmp 0x6ebeb3
Function at 0x6b1011f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x10
mov esi, dword [ebp + 8]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strlen]
mov ebx, eax
xor eax, eax
test ebx, ebx
je 0x6b10124b
cmp byte [esi + ebx - 1], 0xa
je 0x6b10121f
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x6b10e0a4], eax
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_fwrite]
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
Function at 0x10002708
Capabilities:
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10026014]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor edi, edi
mov esi, ecx
push edi
push 4
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
mov dword [ebp - 0x24], ebx
cmp ebx, 0xffffffff
je 0x10002813
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x1000280c
inc edi
cmp dword [ebp - 0x20], 0x10
jb 0x100027d0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 0x14], eax
jne 0x100027d0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp - 0x18], eax
je 0x100027d0
mov edx, dword [esi]
test edx, edx
jne 0x10002799
push 0x200
push edx
push dword [0x100276c4]
mov dword [esi + 4], 0x80
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, eax
mov dword [esi], edx
test edx, edx
je 0x100027f5
lea ebx, [esi + 8]
jmp 0x100027c3
mov eax, dword [esi + 4]
lea ebx, [esi + 8]
cmp dword [ebx], eax
jb 0x100027c3
add eax, eax
mov dword [esi + 4], eax
shl eax, 2
push eax
push edx
push 0
push dword [0x100276c4]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov edx, eax
test edx, edx
je 0x10002824
mov dword [esi], edx
mov ecx, dword [ebx]
mov eax, dword [ebp - 0x18]
mov dword [edx + ecx*4], eax
inc dword [ebx]
mov ebx, dword [ebp - 0x24]
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x10002751
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x1000280c
xor edi, edi
cmp dword [esi], edi
je 0x1000280c
push dword [esi]
push edi
push dword [0x100276c4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
and dword [esi], edi
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10003d12
leave
ret
mov ebx, dword [ebp - 0x24]
jmp 0x100027f5

Function at 0x10002829
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
mov edi, ecx
mov dword [ebp - 8], edx
xor esi, esi
mov dword [edi], esi
mov dword [edi + 4], esi
mov dword [edi + 8], esi
call fcn.10002708
test eax, eax
jne 0x1000284d
push 9
pop esi
jmp 0x10002894
cmp dword [edi], esi
je 0x10002894
push ebx
mov ebx, esi
cmp dword [edi + 8], esi
jbe 0x10002893
mov eax, dword [edi]
push dword [eax + ebx*4]
push esi
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov dword [ebp - 4], eax
test eax, eax
je 0x1000288d
push eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push dword [ebp + 8]
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 4]
call fcn.100025b5
pop ecx
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
cmp ebx, dword [edi + 8]
jb 0x10002859
pop ebx
pop edi
mov eax, esi
pop esi
leave
ret