joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10018c10
Capabilities:
Create thread
Encode data using xor
Inject dll
Inject thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x100571b8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
push 4
push 0x1000
push ebx
push 0
push esi
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov edi, eax
test edi, edi
je 0x10018c66
push 0
push ebx
push dword [ebp - 0x18]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x10018c7b
push 0x8000
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10026898
mov esp, ebp
pop ebp
ret 0xc
mov edx, 0xf3
xor ecx, ecx
mov al, byte [ecx + 0x1004f92c]
xor al, dl
mov byte [ebp + ecx - 0x14], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0xc
jb 0x10018c82
push 0x1004f94c
lea eax, [ebp - 0x14]
mov byte [ebp - 8], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov dword [ebp - 0xc], 0
xorps xmm0, xmm0
mov byte [ebp - 8], 0
sete cl
movq qword [ebp - 0x14], xmm0
test cl, cl
jne 0x10018c58
push 0
push 0
push edi
push eax
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
test eax, eax
je 0x10018c58
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x8000
push ebx
push edi
push esi
test eax, eax
jne 0x10018c60
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10026898
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1001ad30
Capabilities:
Check for time delay via gettickcount
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10042338
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x100571b8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x10163b2c]
cmp eax, 0x927c0
jb 0x1001ad76
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x10163b2c], eax
cmp dword [0x10161b6c], 0
je 0x1001ae48
push 0
lea eax, [ebp - 0x40]
mov dword [ebp - 0x40], 1
push eax
lea eax, [ebp - 0x30]
mov dword [ebp - 0x3c], 0
push eax
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
call dword [sym.imp.gdiplus.dll_GdiplusStartup]
mov eax, dword [0x10161b7c]
push 0
mov dword [0x10161b80], eax
mov dword [0x10163848], 0xffffffff
call dword [sym.imp.USER32.dll_GetDC]
push 0
push 0x1001aa20
push 0
push eax
call dword [sym.imp.USER32.dll_EnumDisplayMonitors]
test eax, eax
je 0x1001adfd
mov eax, dword [0x10161b7c]
cmp eax, dword [0x10161b80]
sete al
test al, al
jne 0x1001adfd
mov ecx, 0x10161b7c
call fcn.1001afd0
jmp 0x1001ae3f
mov edx, 0x5b
xor ecx, ecx
mov al, byte [ecx + 0x1004fa4c]
xor al, dl
mov byte [ebp + ecx - 0x2c], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0x18
jb 0x1001ae04
mov byte [ebp - 0x14], 0
push ecx
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 0
push eax
push ecx
mov edx, 2
mov ecx, 0x10161dd8
call fcn.1001f420
add esp, 0xc
push dword [ebp - 0x30]
call dword [sym.imp.gdiplus.dll_GdiplusShutdown]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10026898
mov esp, ebp
pop ebp
ret
Function at 0x1001ae70
Capabilities:
Check for time delay via gettickcount
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10042368
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x100571b8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x10161b6c], 0
jne 0x1001afb4
cmp dword [0x105645bc], 0
jne 0x1001aebe
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x105645bc], eax
jmp 0x1001afb4
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x105645bc]
cmp eax, 0x927c0
jb 0x1001afb4
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x105645bc]
cmp eax, 0x96258
jb 0x1001aef7
mov dword [0x105645bc], 0
jmp 0x1001afb4
push 0
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x4c], 1
push eax
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x48], 0
push eax
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
call dword [sym.imp.gdiplus.dll_GdiplusStartup]
mov eax, dword [0x10161b7c]
push 0
mov dword [0x10161b80], eax
mov dword [0x10163848], 0xffffffff
call dword [sym.imp.USER32.dll_GetDC]
push 0
push 0x1001aa20
push 0
push eax
call dword [sym.imp.USER32.dll_EnumDisplayMonitors]
test eax, eax
je 0x1001af65
mov eax, dword [0x10161b7c]
cmp eax, dword [0x10161b80]
sete al
test al, al
je 0x1001afab
mov edx, 0x92
xor ecx, ecx
nop dword [eax]
mov al, byte [ecx + 0x1004fa68]
xor al, dl
mov byte [ebp + ecx - 0x38], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0x27
jb 0x1001af70
mov byte [ebp - 0x11], 0
push ecx
lea eax, [ebp - 0x38]
mov dword [ebp - 4], 0
push eax
push ecx
mov edx, 2
mov ecx, 0x10161dd8
call fcn.1001f420
add esp, 0xc
push dword [ebp - 0x3c]
call dword [sym.imp.gdiplus.dll_GdiplusShutdown]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10026898
mov esp, ebp
pop ebp
ret
Function at 0x1001b890
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xe4
mov eax, dword [0x100571b8]
xor eax, esp
mov dword [esp + 0xe0], eax
push esi
push str.____________________________________________________________________________________________________
push 0
push 0x10157d08
call fcn.10015910
add esp, 0xc
lea eax, [esp + 0x48]
push 0x94
push 0
push eax
call fcn.10029de0
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]
xor ecx, ecx
shrd esi, edx, 0x14
push esi
push dword [esp + 0x5c]
shr edx, 0x14
push dword [esp + 0x5c]
push dword [esp + 0x5c]
push str.1.7.0
call fcn.10020850
push eax
push 0
push 0x10157d08
call fcn.10015910
mov ecx, dword [esp + 0x108]
add esp, 0x24
pop esi
xor ecx, esp
call fcn.10026898
mov esp, ebp
pop ebp
ret
Function at 0x1001c540
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x100571b8]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, 0xcd
xor ecx, ecx
nop word [eax + eax]
mov al, byte [ecx + 0x1004fcb8]
xor al, dl
mov byte [ebp + ecx - 0x24], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0x1e
jb 0x1001c560
lea eax, [ebp - 0x24]
mov byte [ebp - 6], 0
push eax
push 0x1810
push 0
push 4
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
test eax, eax
mov dword [0x10163864], eax
sete al
test al, al
je 0x1001c5b1
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10026898
mov esp, ebp
pop ebp
ret
push ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x1810
push 0
push 0
push 0xf001f
push dword [0x10163864]
cmp eax, 0xb7
setne bl
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [0x10163860], eax
test eax, eax
jne 0x1001c5f4
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10026898
mov esp, ebp
pop ebp
ret
test bl, bl
je 0x1001c619
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 0xc08], 0
mov dword [eax + 0xc0c], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 4]
mov dword [0x1016385c], eax
xor ecx, ebp
mov al, 1
pop ebx
call fcn.10026898
mov esp, ebp
pop ebp
ret

Function at 0x1001c9a0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x100571b8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, str.xQDWX
lea ecx, [ebp - 0x10]
push edi
sub eax, 0x405bdd07
push eax
call fcn.1001d670
push eax
push 0x540f1c8b
lea ecx, [ebp - 0x1c]
call fcn.1001d5f0
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
mov word [ebp - 0x14], 0
mov word [ebp - 8], 0
xorps xmm0, xmm0
movq qword [ebp - 0x1c], xmm0
movq qword [ebp - 0x10], xmm0
mov byte [ebp - 6], 0
test edi, edi
jne 0x1001ca14
xor al, al
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10026898
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x20]
push eax
push 0x40
push 6
push 0x1016384c
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [edi]
mov dword [0x1016384c], eax
mov ax, word [edi + 4]
mov word [0x10163850], ax
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x20]
push 6
push 0x1016384c
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop edi
call fcn.10026898
mov esp, ebp
pop ebp
ret
Function at 0x1001db80
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x8c
mov eax, dword [0x100571b8]
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 0x1001dcf3
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 0x1001dce4
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 0x1001dc70
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 0x1001dc92
lea eax, [esp + 0x14]
mov byte [esp + 0x3d], 0
push eax
push esi
call fcn.10015270
mov ecx, esi
add esp, 8
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001dcc2
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.10026898
mov esp, ebp
pop ebp
ret 4
Function at 0x1001dd10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x100571b8]
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 + 0x1004fd30]
xor al, dl
mov byte [ebp + ecx - 0x20], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0x1a
jb 0x1001dd40
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.1001e160
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 [0x1016396c], eax
call fcn.10026898
mov esp, ebp
pop ebp
ret
Function at 0x1001dde0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
mov eax, dword [0x100571b8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x18]
push esi
push edi
mov edi, dword [0x1016383c]
mov esi, ecx
push eax
push 0xff
lea eax, [esi + 0x21]
mov byte [esi + 0x20], 1
push eax
call fcn.1002e5db
mov eax, dword [ebp + 0x1c]
add esp, 0xc
mov dword [esi + 0x120], eax
mov eax, dword [ebp + 8]
test eax, eax
jne 0x1001de7a
mov edx, 0x4c
xor ecx, ecx
nop word [eax + eax]
mov al, byte [ecx + 0x1004f464]
xor al, dl
mov byte [ebp + ecx - 0x20], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0x1a
jb 0x1001de30
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 0x1001df3b
cmp eax, 1
jne 0x1001ded3
mov edx, 0x82
xor ecx, ecx
nop word [eax + eax]
mov al, byte [ecx + 0x1004f3cc]
xor al, dl
mov byte [ebp + ecx - 0x3c], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0x19
jb 0x1001de90
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 0x1001df3b
push 0x8bdaff00
cmp eax, 2
jne 0x1001df0d
lea ecx, [ebp - 0x58]
call fcn.10011cd0
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 0x1001df3b
lea ecx, [ebp - 0x74]
call fcn.10011cd0
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.1001e0a0
mov eax, dword [esi + 4]
mov dword [esi + 0xc], 0x808080
test eax, eax
je 0x1001df84
cmp dword [0x1016396c], 0
je 0x1001df84
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 [0x1016396c]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.10026898
mov esp, ebp
pop ebp
ret 0x18
Function at 0x1001e400
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10042488
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x100571b8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp byte [0x10163b40], 0
je 0x1001e4a7
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x10163b44]
cmp eax, 0x1388
jb 0x1001e4a7
push 0x10163b78
call dword [sym.imp.KERNEL32.dll_TryEnterCriticalSection]
test eax, eax
je 0x1001e4a7
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x10163b44], eax
test eax, eax
je 0x1001e49c
call fcn.1001e340
test al, al
jne 0x1001e49c
mov eax, 0x1004f314
lea ecx, [ebp - 0x30]
sub eax, 0x79ddc0fb
push eax
call fcn.10011c90
push ecx
push eax
push ecx
mov edx, 2
mov dword [ebp - 4], 0
mov ecx, 0x10161dd8
call fcn.1001f420
add esp, 0xc
jmp 0x1001e4a7
push 0x10163b78
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.10026898
mov esp, ebp
pop ebp
ret

Function at 0x1001ef40
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 0x1001ef60
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 0x1001ef80
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.10029de0
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 0x1001efd0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100424f6
mov eax, dword fs:[0]
push eax
sub esp, 0x650
mov eax, dword [0x100571b8]
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 [0x10050fec]
mov dword [ebp - 0x1c], eax
mov ax, word [0x10050ff0]
mov word [ebp - 0x18], ax
lea eax, [ebp - 0x624]
push eax
push 0x3ff
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x1001f134
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 0x1001f120
xor eax, eax
mov dword [ebp - 0x628], 7
mov dword [ebp - 0x62c], 0
mov word [ebp - 0x63c], ax
cmp word [ebx], ax
je 0x1001f09f
mov eax, ebx
lea edx, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1001f090
sub eax, edx
sar eax, 1
push eax
push ebx
lea ecx, [ebp - 0x63c]
call fcn.10021820
mov dword [ebp - 4], 0
cmp word [ebp - 0x224], 0
jne 0x1001f0c1
xor ecx, ecx
jmp 0x1001f0df
lea ecx, [ebp - 0x224]
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1001f0d0
sub ecx, edx
sar ecx, 1
push ecx
push ecx
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x63c]
call fcn.10020d80
mov edi, eax
cmp edi, 0xffffffff
jne 0x1001f152
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x628]
cmp eax, 8
jb 0x1001f120
inc eax
lea ecx, [ebp - 0x63c]
push eax
push dword [ebp - 0x63c]
call fcn.10021b20
nop dword [eax + eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x1001f120
cmp word [esi], ax
jne 0x1001f040
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.10026898
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x654]
call fcn.10020d20
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x63c]
mov eax, dword [eax + 0x10]
push esi
inc eax
push eax
push edi
call fcn.10020cc0
mov eax, dword [ebp - 0x640]
cmp eax, 8
jb 0x1001f198
inc eax
lea ecx, [ebp - 0x654]
push eax
push dword [ebp - 0x654]
call fcn.10021b20
cmp dword [ebp - 0x628], 8
lea eax, [ebp - 0x63c]
cmovae eax, dword [ebp - 0x63c]
push eax
push 0x104
push dword [ebp - 0x658]
call fcn.1002e8db
mov eax, dword [ebp - 0x628]
add esp, 0xc
cmp eax, 8
jb 0x1001f1de
inc eax
lea ecx, [ebp - 0x63c]
push eax
push dword [ebp - 0x63c]
call fcn.10021b20
mov al, 1
jmp 0x1001f136
Function at 0x1001f250
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 0x1001f2e0
cmp edx, 0x20
jb 0x1001f2cb
mov ecx, edx
push edi
and ecx, 0x8000001f
jns 0x1001f289
dec ecx
or ecx, 0xffffffe0
inc ecx
movaps xmm1, xmmword [0x10051270]
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 0x1001f2a0
pop edi
cmp eax, edx
jge 0x1001f2e0
nop
mov cl, byte [eax + esi]
add cl, bl
xor cl, 0xa0
mov byte [eax + esi], cl
inc eax
cmp eax, edx
jl 0x1001f2d0
pop esi
pop ebx
pop ebp
ret

Function at 0x1001f2f0
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 0x1001f380
cmp edx, 0x20
jb 0x1001f36b
mov ecx, edx
push edi
and ecx, 0x8000001f
jns 0x1001f329
dec ecx
or ecx, 0xffffffe0
inc ecx
movaps xmm1, xmmword [0x10051270]
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 0x1001f340
pop edi
cmp eax, edx
jge 0x1001f380
nop
mov cl, byte [eax + esi]
xor cl, 0xa0
sub cl, bl
mov byte [eax + esi], cl
inc eax
cmp eax, edx
jl 0x1001f370
pop esi
pop ebx
pop ebp
ret
Function at 0x1001f420
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
push dword [ebp + 0xc]
mov esi, edx
mov edi, ecx
push 1
push esi
mov ecx, 0x2a
call fcn.10020850
push eax
push 0
push 0x10157d08
call fcn.10015910
mov ecx, dword [0x10161b8c]
add esp, 0x18
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
test ecx, ecx
je 0x1001f482
push 0
push 0
push 0x10
push ecx
call ebx
push dword [0x1016383c]
mov dword [0x10161b8c], 0
push dword [0x10161ba4]
call dword [sym.imp.USER32.dll_UnregisterClassA]
mov eax, dword [0x10161cb4]
test eax, eax
je 0x1001f4b0
push 0
push 0
push 0x10
push eax
call ebx
push dword [0x1016383c]
mov dword [0x10161cb4], 0
push dword [0x10161ccc]
call dword [sym.imp.USER32.dll_UnregisterClassA]
mov eax, dword [0x10161ddc]
test eax, eax
je 0x1001f4de
push 0
push 0
push 0x10
push eax
call ebx
push dword [0x1016383c]
mov dword [0x10161ddc], 0
push dword [0x10161df4]
call dword [sym.imp.USER32.dll_UnregisterClassA]
sub esi, 0
je 0x1001f50b
sub esi, 1
je 0x1001f4ff
sub esi, 1
jne 0x1001f4f7
lea eax, [esi + 0x6a]
mov ecx, 0x2b2bb9
jmp 0x1001f515
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
jmp 0x1001f515
mov eax, 0x69
mov ecx, 0x116896
jmp 0x1001f515
mov eax, 0x67
mov ecx, 0x9ca476
push ecx
push dword [ebp + 0xc]
mov ecx, edi
sub esp, 0xc
push eax
call fcn.1001dde0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push 0
push ecx
push edi
push 0x1001f390
mov dword [edi + 8], eax
call fcn.10020a70
push 0xffffffffffffffff
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [edi + 4]
test eax, eax
je 0x1001f588
push 0
push 0
push 0x10
push eax
call ebx
push dword [0x1016383c]
mov dword [edi + 4], 0
push dword [edi + 0x1c]
call dword [sym.imp.USER32.dll_UnregisterClassA]
xorps xmm0, xmm0
push 0
movups xmmword [0x10163b58], xmm0
movups xmmword [0x10163b68], xmm0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp dword [pe_dos_header]