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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b8468
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
mov eax, dword [0x100e41c4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x101ed094]
cmp eax, 0x927c0
jb 0x10084952
call esi
mov dword [0x101ed094], eax
cmp dword [0x101ed080], 0
je 0x100849e7
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
mov dword [ebp - 4], 0
lea eax, [ebp - 0x1c]
push dword [0x101ed084]
push eax
call fcn.10084680
mov esi, dword [ebp - 0x1c]
test al, al
je 0x100849ce
cmp esi, dword [ebp - 0x18]
je 0x100849ce
lea eax, [ebp - 0x1c]
push eax
call fcn.10084a00
mov esi, dword [ebp - 0x1c]
push dword [ebp - 0x10]
call dword [sym.imp.gdiplus.dll_GdiplusShutdown]
test esi, esi
je 0x100849e7
mov eax, dword [ebp - 0x14]
sub eax, esi
push eax
push esi
call fcn.1003b1b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b8498
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
mov eax, dword [0x100e41c4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x101ed094]
cmp eax, 0x927c0
jb 0x10084e92
call esi
mov dword [0x101ed094], eax
push 0
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], 1
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x2c], 0
push eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
call dword [sym.imp.gdiplus.dll_GdiplusStartup]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
push 0x14
lea eax, [ebp - 0x20]
mov dword [ebp - 4], 0
push eax
call fcn.10084680
test al, al
jne 0x10084ef1
mov esi, dword [ebp - 0x20]
cmp esi, dword [ebp - 0x1c]
jne 0x10084efd
lea eax, [ebp - 0x20]
push eax
call fcn.10085010
mov esi, dword [ebp - 0x20]
push dword [ebp - 0x14]
call dword [sym.imp.gdiplus.dll_GdiplusShutdown]
test esi, esi
je 0x10084f16
mov eax, dword [ebp - 0x18]
sub eax, esi
push eax
push esi
call fcn.1003b1b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x10084f30
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b8468
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
mov eax, dword [0x100e41c4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x101ed094]
cmp eax, 0x927c0
jb 0x10084f72
call esi
mov dword [0x101ed094], 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.10084680
test al, al
jne 0x10084fd1
mov esi, dword [ebp - 0x1c]
cmp esi, dword [ebp - 0x18]
jne 0x10084fdd
lea eax, [ebp - 0x1c]
push eax
call fcn.10085010
mov esi, dword [ebp - 0x1c]
push dword [ebp - 0x10]
call dword [sym.imp.gdiplus.dll_GdiplusShutdown]
test esi, esi
je 0x10084ff6
mov eax, dword [ebp - 0x14]
sub eax, esi
push eax
push esi
call fcn.1003b1b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp dword [esi + 0x108], 0
jne 0x1008524a
push 0x100
push 0
push 0x101ef430
call fcn.10090bb0
add esp, 0xc
lea eax, [ebp + 8]
push eax
push 0x40
push 0x100
push 0x101ef430
call edi
push 0x100
lea eax, [esi + 5]
push eax
push 0x101ef430
call fcn.10090630
add esp, 0xc
lea eax, [ebp + 8]
push eax
push dword [ebp + 8]
push 0x100
push 0x101ef430
call edi
push 0
push ecx
push 0
push 0x10085190
push ecx
call fcn.10087790
push 0x100
push 0
push 0x101ef430
call fcn.10090bb0
add esp, 0x20
cmp dword [esi + 0x108], 1
jne 0x100852b6
push 0x100
push 0
push 0x101ef430
call fcn.10090bb0
add esp, 0xc
lea eax, [ebp + 8]
push eax
push 0x40
push 0x100
push 0x101ef530
call edi
push 0x100
lea eax, [esi + 5]
push eax
push 0x101ef530
call fcn.10090630
add esp, 0xc
lea eax, [ebp + 8]
push eax
push dword [ebp + 8]
push 0x100
push 0x101ef530
call edi
push 0x100
push 0
push 0x101ef430
call fcn.10090bb0
add esp, 0xc
pop edi
pop esi
pop ebp
ret 4
Function at 0x10085340
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xe4
mov eax, dword [0x100e41c4]
xor eax, esp
mov dword [esp + 0xe0], eax
push esi
push 0x94
lea eax, [esp + 0x4c]
push 0
push eax
call fcn.10090bb0
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, 0x100e67d8
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.100875e0
push eax
push 0
push 0x101e8050
call fcn.10080ba0
mov ecx, dword [esp + 0x108]
add esp, 0x24
pop esi
xor ecx, esp
call fcn.1008d9f1
mov esp, ebp
pop ebp
ret
Function at 0x100858d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x8c
mov eax, dword [0x100e41c4]
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 0x10085a43
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 0x10085a34
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 0x100859c0
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 0x100859e2
lea eax, [esp + 0x14]
mov byte [esp + 0x3d], 0
push eax
push esi
call fcn.1003a9e0
mov ecx, esi
add esp, 8
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10085a12
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.1008d9f1
mov esp, ebp
pop ebp
ret 4
Function at 0x10085aa0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [0x100e41c4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x18]
push esi
push edi
mov edi, dword [0x101ef080]
mov esi, ecx
push eax
push 0xff
lea eax, [esi + 0x21]
mov byte [esi + 0x20], 1
push eax
call fcn.100a076d
mov eax, dword [ebp + 0x1c]
add esp, 0xc
mov dword [esi + 0x120], eax
mov eax, dword [ebp + 8]
test eax, eax
jne 0x10085b36
mov edx, 0xb2
xor ecx, ecx
nop dword [eax]
mov al, byte [ecx + 0x100d62f0]
xor al, dl
mov byte [ebp + ecx - 0x4c], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0x23
jb 0x10085af0
push 0x10
push 0
push 0
push 0
lea eax, [ebp - 0x4c]
mov byte [ebp - 0x29], 0
push eax
push edi
call dword [sym.imp.USER32.dll_LoadImageA]
xorps xmm0, xmm0
mov dword [ebp - 0x2c], 0
movups xmmword [ebp - 0x4c], xmm0
movups xmmword [ebp - 0x3c], xmm0
jmp 0x10085bf1
cmp eax, 1
jne 0x10085b88
mov edx, 0xd1
xor ecx, ecx
mov al, byte [ecx + 0x100d62cc]
xor al, dl
mov byte [ebp + ecx - 0x28], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0x22
jb 0x10085b42
push 0x10
push 0
push 0
push 0
lea eax, [ebp - 0x28]
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 - 0x28], xmm0
mov byte [ebp - 6], 0
movups xmmword [ebp - 0x18], xmm0
jmp 0x10085bf1
push 0x38696689
cmp eax, 2
jne 0x10085bbe
lea ecx, [ebp - 0x70]
call fcn.10085e10
push 0x10
push 0
push 0
push 0
push eax
push edi
call dword [sym.imp.USER32.dll_LoadImageA]
xorps xmm0, xmm0
mov dword [ebp - 0x50], 0
movups xmmword [ebp - 0x70], xmm0
movups xmmword [ebp - 0x60], xmm0
jmp 0x10085bf1
lea ecx, [ebp - 0x94]
call fcn.10085e10
push 0x10
push 0
push 0
push 0
push eax
push edi
call dword [sym.imp.USER32.dll_LoadImageA]
xorps xmm0, xmm0
mov dword [ebp - 0x74], 0
movups xmmword [ebp - 0x94], xmm0
movups xmmword [ebp - 0x84], xmm0
push eax
mov ecx, esi
call fcn.10085d50
mov eax, dword [esi + 4]
mov dword [esi + 0xc], 0x808080
test eax, eax
je 0x10085c3a
cmp dword [0x101ef680], 0
je 0x10085c3a
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 [0x101ef680]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1008d9f1
mov esp, ebp
pop ebp
ret 0x18

Function at 0x10085e10
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, 0x8e
xor eax, eax
mov dl, byte [edi + eax - 0x285c036d]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
inc eax
movzx ecx, cl
cmp eax, 0x23
jb 0x10085e21
pop edi
mov byte [esi + 0x23], 0
mov eax, esi
pop esi
pop ebp
ret 4
Function at 0x10085f50
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.10090630
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 0x10085fa0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push edi
lea eax, [ebp - 4]
movss dword [ebp - 8], xmm1
push eax
push 0x40
mov edi, ecx
push 4
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push 0
push 4
lea eax, [ebp - 8]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 4
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x10085ff0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 4]
push eax
push 0x40
push 5
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov al, byte [ebp + 8]
cmp al, 0xff
je 0x10086010
mov byte [esi], al
mov eax, dword [ebp + 0x10]
sub eax, esi
sub eax, 5
mov dword [esi + 1], eax
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 5
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10086030
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 0x1008607a
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 0x10086090
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], 0xe8
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 0x10086360
Capabilities:
Create process on windows
Encode data using xor
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b84f6
mov eax, dword fs:[0]
push eax
sub esp, 0x2fc
mov eax, dword [0x100e41c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [ebp - 0x118]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov edx, 0xc8
xor ecx, ecx
nop word [eax + eax]
mov al, byte [ecx + 0x100d6378]
xor al, dl
mov byte [ebp + ecx - 0x23c], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0x10
jb 0x100863b0
lea eax, [ebp - 0x118]
mov byte [ebp - 0x22c], 0
push eax
lea eax, [ebp - 0x23c]
push eax
lea eax, [ebp - 0x118]
push eax
call fcn.1003a9e0
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
call fcn.1009e0a0
lea ecx, [ebp - 0x308]
call fcn.10079db0
sub esp, 8
mov dword [ebp - 4], 0
lea eax, [ebp - 0x118]
lea ecx, [ebp - 0x304]
push eax
call fcn.1007b4e0
test eax, eax
lea ecx, [ebp - 0x308]
mov eax, dword [ebp - 0x308]
mov eax, dword [eax + 4]
jne 0x10086448
add ecx, eax
mov eax, dword [ecx + 0xc]
or eax, 2
cmp dword [ecx + 0x38], 0
jne 0x10086457
or eax, 4
jmp 0x10086457
add ecx, eax
mov edx, 4
xor eax, eax
cmp dword [ecx + 0x38], eax
cmove eax, edx
push 0
push eax
call fcn.1003f490
mov dword [ebp - 0x228], 0x6f727245
mov dword [ebp - 0x224], 0x203a72
lea edx, [ebp - 0x228]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x308]
call fcn.1007c880
mov edx, esi
mov ecx, eax
call fcn.1007c880
push eax
call fcn.1007cb30
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x308]
call fcn.10079d40
mov edx, 0xdd
xor ecx, ecx
mov al, byte [ecx + 0x100d6350]
xor al, dl
mov byte [ebp + ecx - 0x254], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0x16
jb 0x100864b0
mov byte [ebp - 0x23e], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [ebp - 0x254]
push eax
lea eax, [ebp - 0x220]
push eax
call fcn.1003a9e0
add esp, 0xc
lea eax, [ebp - 0x220]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
push 0x104
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.10090bb0
add esp, 0xc
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call 0x10086310
lea ecx, [ebp - 0x308]
call fcn.1003f7b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1008d9f1
mov esp, ebp
pop ebp
ret
Function at 0x10086ed0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b8528
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x100e41c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x80], esi
mov dword [ebp - 0x84], 0
mov dword [ebp - 4], 0
lea eax, [ebp + 8]
cmp dword [ebp + 0x1c], 0x10
lea ecx, [ebp - 0x7c]
push dword [ebp + 0x18]
cmovae eax, dword [ebp + 8]
push eax
mov byte [ebp - 0x7c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0x67452301
mov dword [ebp - 0x2c], 0xefcdab89
mov dword [ebp - 0x28], 0x98badcfe
mov dword [ebp - 0x24], 0x10325476
call fcn.10086cb0
lea ecx, [ebp - 0x7c]
call fcn.10086d60
push esi
lea ecx, [ebp - 0x7c]
call fcn.10086e00
mov ecx, dword [ebp + 0x1c]
cmp ecx, 0x10
jb 0x10086f7a
inc ecx
push ecx
push dword [ebp + 8]
lea ecx, [ebp + 8]
call fcn.1003b1b0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1008d9f1
mov esp, ebp
pop ebp
ret
Function at 0x10086fc0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b8566
mov eax, dword fs:[0]
push eax
sub esp, 0x650
mov eax, dword [0x100e41c4]
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 [0x100d6394]
mov dword [ebp - 0x1c], eax
mov ax, word [0x100d6398]
mov word [ebp - 0x18], ax
lea eax, [ebp - 0x624]
push eax
push 0x3ff
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x10087124
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 0x10087110
xor eax, eax
mov dword [ebp - 0x628], 7
mov dword [ebp - 0x62c], 0
mov word [ebp - 0x63c], ax
cmp word [ebx], ax
je 0x1008708f
mov eax, ebx
lea edx, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10087080
sub eax, edx
sar eax, 1
push eax
push ebx
lea ecx, [ebp - 0x63c]
call fcn.1007b080
mov dword [ebp - 4], 0
cmp word [ebp - 0x224], 0
jne 0x100870b1
xor ecx, ecx
jmp 0x100870cf
lea ecx, [ebp - 0x224]
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100870c0
sub ecx, edx
sar ecx, 1
push ecx
push ecx
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x63c]
call fcn.10088e30
mov edi, eax
cmp edi, 0xffffffff
jne 0x10087142
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x628]
cmp eax, 8
jb 0x10087110
inc eax
lea ecx, [ebp - 0x63c]
push eax
push dword [ebp - 0x63c]
call fcn.1007c550
nop dword [eax + eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x10087110
cmp word [esi], ax
jne 0x10087030
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.1008d9f1
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x654]
call fcn.10079ce0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x63c]
mov eax, dword [eax + 0x10]
push esi
inc eax
push eax
push edi
call fcn.10088d60
mov eax, dword [ebp - 0x640]
cmp eax, 8
jb 0x10087188
inc eax
lea ecx, [ebp - 0x654]
push eax
push dword [ebp - 0x654]
call fcn.1007c550
cmp dword [ebp - 0x628], 8
lea eax, [ebp - 0x63c]
cmovae eax, dword [ebp - 0x63c]
push eax
push 0x104
push dword [ebp - 0x658]
call fcn.100a07c7
mov eax, dword [ebp - 0x628]
add esp, 0xc
cmp eax, 8
jb 0x100871ce
inc eax
lea ecx, [ebp - 0x63c]
push eax
push dword [ebp - 0x63c]
call fcn.1007c550
mov al, 1
jmp 0x10087126
Function at 0x10087290
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 0x10087320
cmp edx, 0x20
jb 0x1008730b
mov ecx, edx
push edi
and ecx, 0x8000001f
jns 0x100872c9
dec ecx
or ecx, 0xffffffe0
inc ecx
movaps xmm1, xmmword [0x100d6fe0]
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 0x100872e0
pop edi
cmp eax, edx
jge 0x10087320
nop
mov cl, byte [eax + esi]
add cl, bl
xor cl, 0xa0
mov byte [eax + esi], cl
inc eax
cmp eax, edx
jl 0x10087310
pop esi
pop ebx
pop ebp
ret

Function at 0x10087330
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 0x100873c0
cmp edx, 0x20
jb 0x100873ab
mov ecx, edx
push edi
and ecx, 0x8000001f
jns 0x10087369
dec ecx
or ecx, 0xffffffe0
inc ecx
movaps xmm1, xmmword [0x100d6fe0]
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 0x10087380
pop edi
cmp eax, edx
jge 0x100873c0
nop
mov cl, byte [eax + esi]
xor cl, 0xa0
sub cl, bl
mov byte [eax + esi], cl
inc eax
cmp eax, edx
jl 0x100873b0
pop esi
pop ebx
pop ebp
ret

Function at 0x100875e0
Capabilities:
Encode data using xor

Disassembly:
push esi
push 0x100
push 0
push 0x10232e28
mov esi, ecx
call fcn.10090bb0
lea eax, [esi + 0xff]
add esp, 0xc
xor ecx, ecx
cmp eax, 0x10232e28
jb 0x10087635
cmp esi, 0x10232f27
ja 0x10087635
sub esi, 0x10232e28
mov al, byte [esi + ecx + 0x10232e28]
sub al, 0x1b
xor al, 0xc
mov byte [ecx + 0x10232e28], al
inc ecx
cmp ecx, 0x100
jl 0x10087614
mov eax, 0x10232e28
pop esi
ret
movaps xmm1, xmmword [str.eeeeeeeeeeeeeeeeZ]
mov ecx, 0x10232e28
movaps xmm2, xmmword [0x100d6a30]
mov edx, 0x10232e38
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 0x10087660
mov eax, 0x10232e28
pop esi
ret