joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000a260
Capabilities:
Create thread
Inject dll
Inject thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x1001e018]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
push 4
push 0x1000
mov esi, ecx
push esi
push 0
push ebx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x18], esi
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov edi, eax
mov dword [ebp - 0x1c], edi
test edi, edi
je 0x1000a2b8
mov ecx, dword [ebp - 0x20]
push 0
push esi
push ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x1000a2cc
push 0x8000
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10012f04
mov esp, ebp
pop ebp
ret 4
push 0x10019d34
mov edi, 0x3b8cb504
lea esi, [ebp - 0x14]
call fcn.10006850
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
sete dl
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], ecx
mov byte [ebp - 8], cl
test dl, dl
je 0x1000a32b
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
push 0x8000
push edx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10012f04
mov esp, ebp
pop ebp
ret 4
mov esi, dword [ebp - 0x1c]
push 0
push 0
push esi
push eax
push 0
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
test eax, eax
jne 0x1000a368
mov ecx, dword [ebp - 0x18]
push 0x8000
push ecx
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10012f04
mov esp, ebp
pop ebp
ret 4
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x8000
test eax, eax
je 0x1000a39a
mov edx, dword [ebp - 0x18]
push edx
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10012f04
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp - 0x18]
push eax
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov al, 1
pop esi
call fcn.10012f04
mov esp, ebp
pop ebp
ret 4
Function at 0x1000bb20
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x518
mov eax, dword [0x1001e018]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [edi + 0xc8], 0
push ebx
push esi
je 0x1000bc3a
push 0x103
lea eax, [ebp - 0x10f]
push 0
push eax
mov byte [ebp - 0x110], 0
call sub.MSVCR100.dll_memset
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x110]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x1000bbc3
push 0x100
push eax
push 0x10d7b8e0
call sub.MSVCR100.dll_memset
add esp, 0xc
xor eax, eax
lea esp, [esp]
mov dl, byte [eax + 0x10018718]
sub dl, 0x1b
xor dl, 0xc
mov byte [eax + 0x10d7b8e0], dl
inc eax
cmp eax, 0x100
jb 0x1000bb90
push 0x10d7b8e0
push 0
mov ecx, 0x1011e2d8
call fcn.10007050
add esp, 8
call fcn.1000f650
lea ebx, [edi + 0x66]
push ebx
lea esi, [ebp - 0x110]
call fcn.1000f9c0
push eax
call dword [sym.imp.MSVCR100.dll__stricmp]
add esp, 8
test eax, eax
je 0x1000bbff
mov eax, 0x22
call fcn.1000fd60
push eax
push 0
mov ecx, 0x1011e2d8
call fcn.10007050
add esp, 8
call fcn.1000f650
lea esi, [ebp - 0x510]
call section..text
mov eax, esi
push eax
lea esi, [ebp - 0x514]
mov eax, ebx
call fcn.10001210
test al, al
jne 0x1000bc25
mov eax, 0x23
jmp 0x1000bbe5
mov ecx, dword [edi + 0xc8]
cmp ecx, dword [ebp - 0x514]
je 0x1000bc3a
mov eax, 0x24
jmp 0x1000bbe5
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.10012f04
mov esp, ebp
pop ebp
ret

Function at 0x1000bc50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
mov eax, dword [0x1001e018]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [edi + 0xcc], 0
push ebx
push esi
je 0x1000bd34
lea esi, [ebp - 0x408]
call section..text
mov eax, esi
lea ebx, [edi + 0x86]
push eax
lea esi, [ebp - 0x40c]
mov eax, ebx
call fcn.10001210
test al, al
jne 0x1000bce3
push 0x100
push 0
push 0x10d7b8e0
call sub.MSVCR100.dll_memset
add esp, 0xc
xor eax, eax
lea ecx, [ecx]
mov cl, byte [eax + 0x10018b18]
sub cl, 0x1b
xor cl, 0xc
mov byte [eax + 0x10d7b8e0], cl
inc eax
cmp eax, 0x100
jb 0x1000bcb0
push 0x10d7b8e0
push 0
mov ecx, 0x1011e2d8
call fcn.10007050
add esp, 8
call fcn.1000f650
mov edx, dword [edi + 0xcc]
cmp edx, dword [ebp - 0x40c]
je 0x1000bd10
mov eax, 0x26
call fcn.1000fd60
push eax
push 0
mov ecx, 0x1011e2d8
call fcn.10007050
add esp, 8
call fcn.1000f650
push ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
jne 0x1000bd22
mov eax, 0x27
jmp 0x1000bcf6
push str.EntryProc
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1000bd34
call eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.10012f04
mov esp, ebp
pop ebp
ret
Function at 0x1000c3e0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x10123398]
cmp eax, 0x927c0
jb 0x1000c403
call esi
mov dword [0x10123398], eax
cmp dword [0x10123354], 0
je 0x1000c4ce
push 0
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 4]
push ecx
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
call dword [sym.imp.gdiplus.dll_GdiplusStartup]
mov eax, dword [0x10123364]
mov ecx, dword [0x10123368]
mov esi, eax
cmp eax, ecx
je 0x1000c460
push 0
push ecx
push eax
call dword [sym.imp.MSVCR100.dll_memmove]
add esp, 0xc
mov dword [0x10123368], esi
push 0
mov dword [0x10d76444], 0xffffffff
call dword [sym.imp.USER32.dll_GetDC]
push 0
push 0x1000c100
push 0
push eax
call dword [sym.imp.USER32.dll_EnumDisplayMonitors]
test eax, eax
je 0x1000c4b0
mov edx, dword [0x10123364]
cmp edx, dword [0x10123368]
je 0x1000c4b0
push 0x10123364
call fcn.1000c4e0
mov eax, dword [ebp - 4]
add esp, 4
push eax
call dword [sym.imp.gdiplus.dll_GdiplusShutdown]
pop esi
mov esp, ebp
pop ebp
ret
push str.SOMETHING_WENT_WRONG._Terrible_sorry...
push 0
mov ecx, 0x1011e2d8
call fcn.10007050
mov eax, dword [ebp - 4]
add esp, 8
push eax
call dword [sym.imp.gdiplus.dll_GdiplusShutdown]
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x1000cb80
Capabilities:
Encode data using xor
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe4
mov eax, dword [0x1001e018]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push str.____________________________________________________________________________________________________
push 0
mov ecx, 0x1011e2d8
call fcn.10007050
push 0x94
lea eax, [ebp - 0xe0]
push 0
push eax
call sub.MSVCR100.dll_memset
add esp, 0x14
lea ecx, [ebp - 0xe0]
push ecx
mov dword [ebp - 0xe0], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
lea edx, [ebp - 0x48]
push edx
mov dword [ebp - 0x48], 0x40
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
push 0x100
push 0
push 0x10d7b8e0
call sub.MSVCR100.dll_memset
add esp, 0xc
xor eax, eax
lea esp, [esp]
mov cl, byte [eax + 0x10016618]
sub cl, 0x1b
xor cl, 0xc
mov byte [eax + 0x10d7b8e0], cl
inc eax
cmp eax, 0x100
jb 0x1000cc00
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x3c]
mov esi, ecx
mov edx, eax
shrd edx, esi, 0x14
shr esi, 0x14
sub eax, dword [ebp - 0x38]
push edx
sbb ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0xdc]
shrd eax, ecx, 0x14
push eax
mov eax, dword [ebp - 0xd4]
push eax
shr ecx, 0x14
mov ecx, dword [ebp - 0xd8]
push ecx
push edx
push str.1.7.0
push 0x10d7b8e0
push 0
mov ecx, 0x1011e2d8
call fcn.10007050
mov ecx, dword [ebp - 4]
add esp, 0x20
xor ecx, ebp
pop esi
call fcn.10012f04
mov esp, ebp
pop ebp
ret
Function at 0x1000cc80
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x1001adb8
push 0x100133d4
mov eax, dword fs:[0]
push eax
sub esp, 0x144
mov eax, dword [0x1001e018]
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 eax, dword [ebp + 8]
mov dword [ebp - 0x14c], eax
push ecx
push str..PhysicalDrive_d
lea edx, [ebp - 0x12c]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
xor esi, esi
push esi
push esi
push 3
push esi
push 3
push esi
lea eax, [ebp - 0x12c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
mov dword [ebp - 0x148], edi
cmp edi, 0xffffffff
je 0x1000ce32
xor eax, eax
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x134], eax
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x140], eax
mov dword [ebp - 0x13c], eax
mov dword [ebp - 0x138], esi
mov dword [ebp - 0x134], esi
push esi
lea ecx, [ebp - 0x150]
push ecx
push 8
lea edx, [ebp - 0x140]
push edx
push 0xc
lea eax, [ebp - 0x138]
push eax
push 0x2d1400
push edi
mov ebx, dword [sym.imp.KERNEL32.dll_DeviceIoControl]
call ebx
test eax, eax
jne 0x1000cd64
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1000ce32
mov ecx, dword [ebp - 0x13c]
push ecx
call fcn.10012e50
mov esi, eax
mov dword [ebp - 0x144], esi
mov edx, dword [ebp - 0x13c]
push edx
push 0
push esi
call sub.MSVCR100.dll_memset
add esp, 0x10
push 0
lea eax, [ebp - 0x150]
push eax
mov ecx, dword [ebp - 0x13c]
push ecx
push esi
push 0xc
lea edx, [ebp - 0x138]
push edx
push 0x2d1400
push edi
call ebx
test eax, eax
jne 0x1000cdc3
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void__]
add esp, 4
jmp 0x1000ce32
mov eax, dword [esi + 0x18]
test eax, eax
je 0x1000cdb0
mov dword [ebp - 4], 0
add eax, esi
push eax
push 0x100
mov eax, dword [ebp - 0x14c]
push eax
call dword [sym.imp.MSVCR100.dll_strcpy_s]
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void__]
add esp, 4
mov dword [ebp - 4], 0xfffffffe
mov al, 1
jmp 0x1000ce34
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.10012f04
mov esp, ebp
pop ebp
ret
Function at 0x1000d6f0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push str.LdrLoadDll
push str.Ntdll.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
jne 0x1000d719
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
push edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
push eax
push 0x40
push 6
push 0x10d76448
call edi
mov ecx, dword [esi]
mov dword [0x10d76448], ecx
mov ecx, dword [ebp - 4]
mov dx, word [esi + 4]
lea eax, [ebp - 4]
push eax
push ecx
push 6
push 0x10d76448
mov word [0x10d7644c], dx
call edi
pop edi
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x1000d760
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
mov eax, dword [0x1001e018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea esi, [ebp - 0x408]
call section..text
xor eax, eax
mov dword [ebp - 0x424], eax
mov dword [ebp - 0x420], eax
mov dword [ebp - 0x41c], eax
push 0xc
lea eax, [ebp - 0x424]
push eax
push 0
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 0x1000d7cb
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10012f04
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x424]
mov eax, dword [edx + 0x3c]
xor ecx, ecx
cmp cx, word [eax + edx + 6]
jae 0x1000d852
mov ecx, dword [eax + edx + 0x104]
add ecx, edx
mov edx, dword [eax + edx + 0x100]
or eax, 0xffffffff
mov dword [ebp - 0x410], edx
mov esi, ecx
test edx, edx
je 0x1000d821
lea esp, [esp]
movzx ebx, byte [esi]
mov edi, eax
and edi, 0xff
xor edi, ebx
shr eax, 8
xor eax, dword [ebp + edi*4 - 0x408]
inc esi
dec edx
jne 0x1000d800
mov edx, dword [ebp - 0x410]
not eax
mov dword [ebp - 0x40c], eax
lea eax, [ebp - 0x418]
mov dword [ebp - 0x418], ecx
mov dword [ebp - 0x414], ecx
mov dword [ebp - 0x410], edx
call fcn.1000ec50
push eax
lea edi, [ebp - 0x410]
call fcn.1000e4b0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov al, 1
pop ebx
call fcn.10012f04
mov esp, ebp
pop ebp
ret
Function at 0x1000d870
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
mov eax, dword [0x1001e018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea esi, [ebp - 0x408]
call section..text
mov edi, dword [0x10d7b568]
mov edx, dword [edi]
cmp edx, edi
je 0x1000d91c
lea ecx, [ecx]
mov ecx, dword [edx + 0x14]
mov esi, dword [edx + 0x10]
or eax, 0xffffffff
test ecx, ecx
je 0x1000d8d1
lea ecx, [ecx]
movzx ebx, byte [esi]
mov edi, eax
and edi, 0xff
xor edi, ebx
shr eax, 8
xor eax, dword [ebp + edi*4 - 0x408]
inc esi
dec ecx
jne 0x1000d8b0
mov edi, dword [0x10d7b568]
not eax
cmp dword [edx + 0x18], eax
jne 0x1000d92f
cmp byte [edx + 0x1d], 0
jne 0x1000d918
mov eax, dword [edx + 8]
cmp byte [eax + 0x1d], 0
jne 0x1000d8fd
mov edx, eax
mov eax, dword [edx]
cmp byte [eax + 0x1d], 0
jne 0x1000d918
mov edx, eax
mov eax, dword [edx]
cmp byte [eax + 0x1d], 0
je 0x1000d8f1
jmp 0x1000d918
mov eax, dword [edx + 4]
cmp byte [eax + 0x1d], 0
jne 0x1000d916
cmp edx, dword [eax + 8]
jne 0x1000d916
mov edx, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0x1d], 0
je 0x1000d906
mov edx, eax
cmp edx, edi
jne 0x1000d8a0
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10012f04
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor al, al
pop ebx
call fcn.10012f04
mov esp, ebp
pop ebp
ret
Function at 0x1000ed50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x90
mov eax, dword [0x1001e018]
xor eax, esp
mov dword [esp + 0x8c], eax
cmp dword [esi + 0x18], 0
mov eax, dword [ebp + 8]
push ebx
push edi
mov dword [esp + 0xc], eax
je 0x1000eec7
lea ecx, [esp + 0x50]
push ecx
push eax
call dword [sym.imp.USER32.dll_BeginPaint]
lea edx, [esp + 0x40]
mov edi, eax
mov eax, dword [esi + 4]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [esi + 0x18]
mov ebx, eax
push ecx
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [esi + 0x14]
push 0xcc0020
push 0
push 0
push ebx
push edx
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0x10]
push eax
push 0
push 0
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [esp + 0x10]
push ecx
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
cmp byte [esi + 0x20], 1
jne 0x1000eeb7
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]
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push 1
push edi
call dword [sym.imp.GDI32.dll_SetBkMode]
mov edx, dword [esi + 0x120]
push edx
push edi
call dword [sym.imp.GDI32.dll_SetTextColor]
lea ebx, [esi + 0x21]
mov eax, ebx
lea ecx, [eax + 1]
jmp 0x1000ee40
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x1000ee40
sub eax, ecx
push eax
mov eax, dword [esi + 0x14]
push ebx
sub eax, 0x25
push eax
push 0x12
push edi
call dword [sym.imp.GDI32.dll_TextOutA]
mov ecx, 0x3e
xor eax, eax
mov dl, byte [eax + str.P03__1fuxyk]
xor dl, cl
inc ecx
mov byte [esp + eax + 0x14], dl
inc eax
and ecx, 0xff
cmp eax, 0x29
jb 0x1000ee62
lea eax, [esp + 0x14]
push eax
push ebx
mov byte [esp + 0x45], 0
call dword [sym.imp.MSVCR100.dll_sprintf]
mov eax, ebx
add esp, 8
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1000ee94
mov ecx, dword [esi + 0x14]
sub eax, edx
mov edx, dword [esi + 0x10]
push eax
push ebx
sub ecx, 0xf
push ecx
sub edx, 0xdc
push edx
push edi
call dword [sym.imp.GDI32.dll_TextOutA]
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x50]
push eax
push ecx
call dword [sym.imp.USER32.dll_EndPaint]
mov ecx, dword [esp + 0x94]
pop edi
pop ebx
xor ecx, esp
call fcn.10012f04
mov esp, ebp
pop ebp
ret 4
Function at 0x1000eee0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x1001e018]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax + 4], edx
mov dword [eax + 0x1c], str.SPLASH
mov dword [eax + 0xc], edx
mov ecx, 0xc2
xor eax, eax
push ebx
lea ebx, [ebx]
mov bl, byte [eax + 0x1001a030]
xor bl, cl
inc ecx
mov byte [ebp + eax - 0x20], bl
inc eax
and ecx, 0xff
cmp eax, 0x1a
jb 0x1000ef10
lea eax, [ebp - 0x20]
push eax
mov ecx, str.lin
sub ecx, 0x702b1031
lea eax, [ebp - 0x2c]
mov byte [ebp - 6], dl
call fcn.1000f310
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 [0x10d76464], eax
pop ebx
call fcn.10012f04
mov esp, ebp
pop ebp
ret 4
Function at 0x1000f3a0
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0x82
xor ecx, ecx
jmp 0x1000f3b0
mov al, byte [edi + ecx + 0x2e62e9b2]
xor al, dl
inc edx
mov byte [ecx + esi], al
inc ecx
and edx, 0xff
cmp ecx, 0x19
jb 0x1000f3b0
mov byte [esi + 0x19], 0
mov eax, esi
ret

Function at 0x1000f3d0
Capabilities:
Encode data using xor

Disassembly:
mov edx, 9
xor ecx, ecx
jmp 0x1000f3e0
mov al, byte [edi + ecx - 0x7bd60ae8]
xor al, dl
inc edx
mov byte [ecx + esi], al
inc ecx
and edx, 0xff
cmp ecx, 0x1a
jb 0x1000f3e0
mov byte [esi + 0x1a], 0
mov eax, esi
ret

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10013d38
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x1001e018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp byte [0x10d7b580], 0
je 0x1000f62d
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x10d7b584]
cmp eax, 0x1388
jbe 0x1000f62d
push 0x10d7b5b0
call dword [sym.imp.KERNEL32.dll_TryEnterCriticalSection]
test eax, eax
je 0x1000f62d
call esi
mov dword [0x10d7b584], eax
test eax, eax
je 0x1000f622
call fcn.1000f4d0
test al, al
jne 0x1000f622
mov edi, 0x1001998c
sub edi, 0x79ddc0fb
lea esi, [ebp - 0x30]
call fcn.10006760
push eax
push 2
mov eax, 0x101235f0
mov dword [ebp - 4], 0
call fcn.1000fb00
push 0x10d7b5b0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10012f04
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push edi
mov edi, eax
lea eax, [ebp - 4]
push eax
push 0x40
push 5
push esi
call ebx
mov edx, dword [ebp - 4]
lea ecx, [ebp - 8]
push ecx
push edx
sub edi, esi
push 5
sub edi, 5
push esi
mov byte [esi], 0xe9
mov dword [esi + 1], edi
call ebx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
push eax
push 0x40
push esi
push edi
call ebx
mov ecx, dword [ebp + 8]
push esi
push ecx
push edi
call sub.MSVCR100.dll_memset
mov eax, dword [ebp - 4]
add esp, 0xc
lea edx, [ebp - 4]
push edx
push eax
push esi
push edi
call ebx
pop ebx
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, ebx
jae 0x1000f762
jmp 0x1000f750
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
call esi
sub eax, edi
cmp eax, ebx
jb 0x1000f750
pop edi
xor al, al
pop esi
pop ebp
ret
Function at 0x1000f770
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10013ff6
mov eax, dword fs:[0]
push eax
sub esp, 0x654
mov eax, dword [0x1001e018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dx, word [0x1001a0c8]
mov dword [ebp - 0x65c], eax
lea eax, [ebp - 0x620]
mov esi, ecx
mov ecx, dword [0x1001a0c4]
push eax
push 0x3ff
mov dword [ebp - 0x660], esi
mov dword [ebp - 0x18], ecx
mov word [ebp - 0x14], dx
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x1000f998
lea ebx, [ebp - 0x620]
xor edi, edi
jmp 0x1000f7f0
mov cx, word [ebx]
push 0x104
lea edx, [ebp - 0x220]
push edx
lea eax, [ebp - 0x18]
push eax
mov word [ebp - 0x18], cx
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x1000f8a6
xor ecx, ecx
mov eax, esi
mov dword [ebp - 0x628], 7
mov dword [ebp - 0x62c], edi
mov word [ebp - 0x63c], cx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x1000f833
sub eax, edx
sar eax, 1
push eax
mov eax, esi
lea ecx, [ebp - 0x63c]
call fcn.10010bc0
lea eax, [ebp - 0x220]
mov dword [ebp - 4], edi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x1000f860
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x220]
push edx
lea eax, [ebp - 0x63c]
push eax
call fcn.10010350
mov esi, eax
cmp esi, 0xffffffff
jne 0x1000f8c5
mov dword [ebp - 4], eax
cmp dword [ebp - 0x628], 8
jb 0x1000f8a6
mov ecx, dword [ebp - 0x63c]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dx, word [ebx]
add ebx, 2
test dx, dx
jne 0x1000f8a6
cmp word [ebx], di
je 0x1000f998
mov esi, dword [ebp - 0x660]
jmp 0x1000f7f0
xor eax, eax
mov word [ebp - 0x658], ax
lea eax, [ebp - 0x220]
mov dword [ebp - 0x644], 7
mov dword [ebp - 0x648], edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x1000f8e7
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x220]
lea ecx, [ebp - 0x658]
call fcn.10010bc0
mov eax, ebx
mov byte [ebp - 4], 1
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x1000f911
sub eax, edx
sar eax, 1
push eax
mov eax, dword [ebp - 0x648]
push ebx
inc eax
push esi
lea ecx, [ebp - 0x63c]
call fcn.100101c0
mov esi, 8
cmp dword [ebp - 0x644], esi
jb 0x1000f952
mov ecx, dword [ebp - 0x658]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, dword [ebp - 0x63c]
cmp dword [ebp - 0x628], esi
jae 0x1000f966
lea eax, [ebp - 0x63c]
mov edx, dword [ebp - 0x65c]
push eax
push 0x104
push edx
call dword [sym.imp.MSVCR100.dll_wcscpy_s]
add esp, 0xc
cmp dword [ebp - 0x628], esi
jb 0x1000f994
mov eax, dword [ebp - 0x63c]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov al, 1
jmp 0x1000f99a
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 - 0x10]
xor ecx, ebp
call fcn.10012f04
mov esp, ebp
pop ebp
ret