joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001a600
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
mov eax, 0x4058
call fcn.10028bb0
mov eax, dword [0x1005c1c4]
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 0x1001a751
nop dword [eax]
xorps xmm0, xmm0
mov word [esp + 0x2d], 0
movq qword [esp + 0x25], xmm0
mov byte [esp + 0x2f], 0
movq qword [esp + 0x30], xmm0
mov word [esp + 0x38], 0
mov byte [esp + 0x3a], 0
mov byte [esp + 0x20], 0xc2
call fcn.1003176e
and eax, 0x800000ff
jns 0x1001a67f
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 0x1001a6e0
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 0x1001a6c7
mov ecx, eax
mov byte [esp + 0x22], al
shr ecx, 8
cmp dword [0x101a3188], 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 0x1001a735
nop
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [0x101a3188], 0
jg 0x1001a720
mov eax, dword [esp + 0x10]
push eax
lea eax, [esp + 0x5c]
push eax
call fcn.10002130
mov edi, dword [esp + 0x14]
mov eax, dword [edi + 4]
sub eax, dword [edi]
cmp esi, eax
jb 0x1001a640
mov ecx, dword [esp + 0x405c]
pop edi
pop esi
xor ecx, esp
call fcn.10027a55
mov esp, ebp
pop ebp
ret 4

Function at 0x1001aa10
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 0x101aaca8
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp + 8]
push 0x100
add eax, 5
push eax
push 0x101aaca8
call fcn.1002a600
add esp, 0xc
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 0x100
push 0x101aaca8
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push 0
push 0
push 0
push 0x1001a9f0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esp, ebp
pop ebp
ret 4
Function at 0x1001ab00
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xe4
mov eax, dword [0x1005c1c4]
xor eax, esp
mov dword [esp + 0xe0], eax
push esi
push 0x94
lea eax, [esp + 0x4c]
push 0
push eax
call fcn.1002ab80
add esp, 0xc
mov dword [esp + 0x48], 0x94
lea eax, [esp + 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
lea eax, [esp + 8]
mov dword [esp + 8], 0x40
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov esi, dword [esp + 0x10]
mov ecx, esi
mov edx, dword [esp + 0x14]
mov eax, edx
shrd ecx, eax, 0x14
shr eax, 0x14
sub esi, dword [esp + 0x18]
push ecx
sbb edx, dword [esp + 0x20]
mov ecx, 0x100a2f68
shrd esi, edx, 0x14
push esi
push dword [esp + 0x5c]
shr edx, 0x14
push dword [esp + 0x5c]
push dword [esp + 0x5c]
push str.PREMIUM
call fcn.1001d760
push eax
push 0
push 0x101a3878
call fcn.10016b60
mov ecx, dword [esp + 0x108]
add esp, 0x24
pop esi
xor ecx, esp
call fcn.10027a55
mov esp, ebp
pop ebp
ret

Function at 0x1001abc0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x42c
mov eax, dword [0x1005c1c4]
xor eax, ebp
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x404]
call fcn.10001810
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 0x1001ac26
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10027a55
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 0x1001acb8
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 0x1001ac7a
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 0x1001ac60
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.1001ba10
push eax
add eax, 0x10
push eax
push ecx
lea eax, [ebp - 0x40c]
push eax
call fcn.1001ba50
pop edi
pop ebx
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.10027a55
mov esp, ebp
pop ebp
ret
Function at 0x1001acd0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x40c
mov eax, dword [0x1005c1c4]
xor eax, esp
mov dword [esp + 0x408], eax
push ebx
push esi
push edi
lea ecx, [esp + 0x10]
call fcn.10001810
mov esi, dword [0x101ab244]
mov eax, dword [esi]
mov dword [esp + 0xc], eax
cmp eax, esi
je 0x1001ad48
mov edi, dword [eax + 0x18]
or ecx, 0xffffffff
mov ebx, dword [eax + 0x14]
test edi, edi
je 0x1001ad30
movzx edx, byte [ebx]
lea ebx, [ebx + 1]
movzx esi, cl
xor esi, edx
shr ecx, 8
xor ecx, dword [esp + esi*4 + 0x10]
sub edi, 1
jne 0x1001ad13
mov esi, dword [0x101ab244]
not ecx
cmp dword [eax + 0x1c], ecx
jne 0x1001ad5f
lea ecx, [esp + 0xc]
call fcn.10019450
mov eax, dword [esp + 0xc]
cmp eax, esi
jne 0x1001ad06
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x408]
xor ecx, esp
call fcn.10027a55
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.10027a55
mov esp, ebp
pop ebp
ret
Function at 0x1001ad80
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x10058d20
push 0x1002ad20
mov eax, dword fs:[0]
push eax
sub esp, 0x144
mov eax, dword [0x1005c1c4]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x20], 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 - 0x148], edx
mov esi, ecx
push 0x104
push 0
lea eax, [ebp - 0x12c]
push eax
call fcn.1002ab80
push esi
push str..PhysicalDrive_d
lea eax, [ebp - 0x12c]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
push 0
push 0
push 3
push 0
push 3
push 0
lea eax, [ebp - 0x12c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
mov dword [ebp - 0x14c], edi
cmp edi, 0xffffffff
je 0x1001af44
xorps xmm0, xmm0
movq qword [ebp - 0x138], xmm0
mov dword [ebp - 0x130], 0
movq qword [ebp - 0x140], xmm0
mov dword [ebp - 0x138], 0
mov dword [ebp - 0x134], 0
push 0
lea eax, [ebp - 0x144]
push eax
push 8
lea eax, [ebp - 0x140]
push eax
push 0xc
lea eax, [ebp - 0x138]
push eax
push 0x2d1400
push edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x1001ae7c
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1001af44
push dword [ebp - 0x13c]
call fcn.10027ff8
mov esi, eax
mov dword [ebp - 0x150], esi
push dword [ebp - 0x13c]
push 0
push esi
call fcn.1002ab80
add esp, 0x10
push 0
lea eax, [ebp - 0x144]
push eax
push dword [ebp - 0x13c]
push esi
push 0xc
lea eax, [ebp - 0x138]
push eax
push 0x2d1400
push edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x1001aedb
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call fcn.10027ff3
add esp, 4
jmp 0x1001af44
mov eax, dword [esi + 0x18]
test eax, eax
je 0x1001aec9
mov dword [ebp - 4], 0
add eax, esi
push eax
push 0x100
push dword [ebp - 0x148]
call fcn.10033a00
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call fcn.10027ff3
add esp, 4
mov dword [ebp - 4], 0xfffffffe
mov al, 1
jmp 0x1001af46
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 - 0x20]
xor ecx, ebp
call fcn.10027a55
mov esp, ebp
pop ebp
ret
Function at 0x1001be00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x8c
mov eax, dword [0x1005c1c4]
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 0x1001bf73
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 0x1001bf64
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 0x1001bef0
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 0x1001bf12
lea eax, [esp + 0x14]
mov byte [esp + 0x3d], 0
push eax
push esi
call fcn.100025e0
mov ecx, esi
add esp, 8
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001bf42
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.10027a55
mov esp, ebp
pop ebp
ret 4
Function at 0x1001bfd0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
mov eax, dword [0x1005c1c4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x18]
push esi
push edi
mov edi, dword [0x101aa9ec]
mov esi, ecx
push eax
push 0xff
lea eax, [esi + 0x21]
mov byte [esi + 0x20], 1
push eax
call fcn.10033a00
mov eax, dword [ebp + 0x1c]
add esp, 0xc
mov dword [esi + 0x120], eax
mov eax, dword [ebp + 8]
test eax, eax
jne 0x1001c06a
mov edx, 0x4c
xor ecx, ecx
nop word [eax + eax]
mov al, byte [ecx + 0x10055208]
xor al, dl
mov byte [ebp + ecx - 0x20], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0x1a
jb 0x1001c020
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 0x1001c12b
cmp eax, 1
jne 0x1001c0c3
mov edx, 0x82
xor ecx, ecx
nop word [eax + eax]
mov al, byte [ecx + 0x10055170]
xor al, dl
mov byte [ebp + ecx - 0x3c], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0x19
jb 0x1001c080
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 0x1001c12b
push 0x8bdb5ca4
cmp eax, 2
jne 0x1001c0fd
lea ecx, [ebp - 0x58]
call fcn.10014810
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 0x1001c12b
lea ecx, [ebp - 0x74]
call fcn.10014810
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
push eax
mov ecx, esi
call fcn.1001c290
mov eax, dword [esi + 4]
mov dword [esi + 0xc], 0x808080
test eax, eax
je 0x1001c174
cmp dword [0x101aaef8], 0
je 0x1001c174
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 [0x101aaef8]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.10027a55
mov esp, ebp
pop ebp
ret 0x18

Function at 0x1001c450
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 fcn.1002a600
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 0x1001c4a0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [ebp - 4]
push ebx
push esi
push eax
push 0x40
push dword [ebp + 8]
mov ebx, ecx
mov esi, edx
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esi, ebx
mov byte [ebx], 0xe9
sub esi, 5
mov dword [ebx + 1], esi
mov esi, dword [ebp + 8]
cmp esi, 5
jbe 0x1001c4ea
push edi
lea ecx, [esi - 5]
mov eax, 0x90909090
mov edx, ecx
lea edi, [ebx + 5]
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
pop edi
lea eax, [ebp - 8]
push eax
push dword [ebp - 4]
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1001c500
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x134
mov eax, dword [0x1005c1c4]
xor eax, esp
mov dword [esp + 0x130], eax
push ebx
push esi
push edi
push 0
mov esi, ecx
push 0xf
mov dword [esp + 0x14], esi
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
mov dword [esp + 0x10], 0x128
lea eax, [esp + 0x10]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32First]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x1001c5a1
nop dword [eax]
lea eax, [esp + 0x34]
push esi
push eax
call fcn.10031b9f
add esp, 8
test eax, eax
jne 0x1001c591
push dword [esp + 0x18]
push eax
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x1001c58d
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [esp + 0x18], eax
je 0x1001c58d
push 9
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call ebx
mov esi, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x1001c550
push edi
call ebx
mov ecx, dword [esp + 0x13c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10027a55
mov esp, ebp
pop ebp
ret
Function at 0x1001d1a0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10046ad6
mov eax, dword fs:[0]
push eax
sub esp, 0x650
mov eax, dword [0x1005c1c4]
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 [0x10055818]
mov dword [ebp - 0x1c], eax
mov ax, word [0x1005581c]
mov word [ebp - 0x18], ax
lea eax, [ebp - 0x624]
push eax
push 0x3ff
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x1001d304
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 0x1001d2f0
xor eax, eax
mov dword [ebp - 0x628], 7
mov dword [ebp - 0x62c], 0
mov word [ebp - 0x63c], ax
cmp word [ebx], ax
je 0x1001d26f
mov eax, ebx
lea edx, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1001d260
sub eax, edx
sar eax, 1
push eax
push ebx
lea ecx, [ebp - 0x63c]
call fcn.10010fa0
mov dword [ebp - 4], 0
cmp word [ebp - 0x224], 0
jne 0x1001d291
xor ecx, ecx
jmp 0x1001d2af
lea ecx, [ebp - 0x224]
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1001d2a0
sub ecx, edx
sar ecx, 1
push ecx
push ecx
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x63c]
call fcn.1001f670
mov edi, eax
cmp edi, 0xffffffff
jne 0x1001d322
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x628]
cmp eax, 8
jb 0x1001d2f0
inc eax
lea ecx, [ebp - 0x63c]
push eax
push dword [ebp - 0x63c]
call fcn.10011830
nop dword [eax + eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x1001d2f0
cmp word [esi], ax
jne 0x1001d210
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.10027a55
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x654]
call fcn.1000eb90
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x63c]
mov eax, dword [eax + 0x10]
push esi
inc eax
push eax
push edi
call fcn.1001f5a0
mov eax, dword [ebp - 0x640]
cmp eax, 8
jb 0x1001d368
inc eax
lea ecx, [ebp - 0x654]
push eax
push dword [ebp - 0x654]
call fcn.10011830
cmp dword [ebp - 0x628], 8
lea eax, [ebp - 0x63c]
cmovae eax, dword [ebp - 0x63c]
push eax
push 0x104
push dword [ebp - 0x658]
call fcn.10033a5a
mov eax, dword [ebp - 0x628]
add esp, 0xc
cmp eax, 8
jb 0x1001d3ae
inc eax
lea ecx, [ebp - 0x63c]
push eax
push dword [ebp - 0x63c]
call fcn.10011830
mov al, 1
jmp 0x1001d306
Function at 0x1001d420
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 0x1001d4b0
cmp edx, 0x20
jb 0x1001d49b
mov ecx, edx
push edi
and ecx, 0x8000001f
jns 0x1001d459
dec ecx
or ecx, 0xffffffe0
inc ecx
movaps xmm1, xmmword [0x10055d90]
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 0x1001d470
pop edi
cmp eax, edx
jge 0x1001d4b0
nop
mov cl, byte [eax + esi]
add cl, bl
xor cl, 0xa0
mov byte [eax + esi], cl
inc eax
cmp eax, edx
jl 0x1001d4a0
pop esi
pop ebx
pop ebp
ret

Function at 0x1001d4c0
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 0x1001d550
cmp edx, 0x20
jb 0x1001d53b
mov ecx, edx
push edi
and ecx, 0x8000001f
jns 0x1001d4f9
dec ecx
or ecx, 0xffffffe0
inc ecx
movaps xmm1, xmmword [0x10055d90]
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 0x1001d510
pop edi
cmp eax, edx
jge 0x1001d550
nop
mov cl, byte [eax + esi]
xor cl, 0xa0
sub cl, bl
mov byte [eax + esi], cl
inc eax
cmp eax, edx
jl 0x1001d540
pop esi
pop ebx
pop ebp
ret

Function at 0x1001d760
Capabilities:
Encode data using xor

Disassembly:
push esi
push 0x100
push 0
push 0x10accc58
mov esi, ecx
call fcn.1002ab80
lea eax, [esi + 0xff]
add esp, 0xc
xor ecx, ecx
cmp eax, 0x10accc58
jb 0x1001d7b5
cmp esi, 0x10accd57
ja 0x1001d7b5
sub esi, 0x10accc58
mov al, byte [esi + ecx + 0x10accc58]
sub al, 0x1b
xor al, 0xc
mov byte [ecx + 0x10accc58], al
inc ecx
cmp ecx, 0x100
jl 0x1001d794
mov eax, 0x10accc58
pop esi
ret
movaps xmm1, xmmword [str.eeeeeeeeeeeeeeee]
mov ecx, 0x10accc58
movaps xmm2, xmmword [str._f_f_f_f_f_f_f_f_f_f_f_f_f_f_f_f]
mov edx, 0x10accc68
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 0x1001d7e0
mov eax, 0x10accc58
pop esi
ret
Function at 0x1001d890
Capabilities:
Encode data using xor
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 0
push 0x20
push 3
push 0
push 1
push connect
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x1001d8c9
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0x100
je 0x1001d8d0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
push 0
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0x100
push 0x101aaf80
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1001d8c2
movaps xmm1, xmmword [0x10055d50]
xor eax, eax
movaps xmm2, xmmword [0x10055d80]
movups xmm0, xmmword [eax + 0x101aaf80]
psubb xmm0, xmm1
movups xmmword [eax + 0x101aaf80], xmm0
movups xmm0, xmmword [eax + 0x101aaf80]
pxor xmm0, xmm2
movups xmmword [eax + 0x101aaf80], xmm0
movups xmm0, xmmword [eax + 0x101aaf90]
psubb xmm0, xmm1
movups xmmword [eax + 0x101aaf90], xmm0
movups xmm0, xmmword [eax + 0x101aaf90]
pxor xmm0, xmm2
movups xmmword [eax + 0x101aaf90], xmm0
add eax, 0x20
cmp eax, 0x100
jb 0x1001d902
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret