joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100155e0
Capabilities:
Create process on windows
Encode data using xor
Get process image filename
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x580
mov eax, dword [0x100561b8]
xor eax, esp
mov dword [esp + 0x57c], eax
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [esp + 0x28]
push 0x40
push 0
push eax
call fcn.10028610
add esp, 0xc
lea eax, [esp + 0x378]
push 0x208
push 0
push eax
call fcn.10028610
add esp, 0xc
lea eax, [esp + 0x170]
push 0x208
push 0
push eax
call fcn.10028610
add esp, 0xc
push edi
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x100157fa
push 0x104
lea eax, [esp + 0x37c]
push eax
push esi
call dword [sym.imp.PSAPI.DLL_GetProcessImageFileNameW]
test eax, eax
je 0x100157f3
push ecx
lea edx, [esp + 0x174]
lea ecx, [esp + 0x37c]
call fcn.1001dc80
add esp, 4
test al, al
je 0x100157f3
push 0x40
lea eax, [esp + 0x2c]
push 0
push eax
call fcn.10028610
add esp, 0xc
mov word [esp + 0xc], 0x5325
lea ecx, [esp + 0x378]
mov byte [esp + 0xe], 0
call fcn.1001dea0
push eax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x174]
push eax
call fcn.100149e0
test al, al
jne 0x10015769
mov edx, 0xdd
xor ecx, ecx
nop
mov al, byte [ecx + 0x1004edfc]
xor al, dl
mov byte [esp + ecx + 0x10], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0x16
jb 0x100156f0
push edi
lea eax, [esp + 0x14]
mov byte [esp + 0x2a], 0
push eax
lea eax, [esp + 0x70]
push eax
call fcn.10014850
add esp, 0xc
lea eax, [esp + 0x68]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
push 0x104
lea eax, [esp + 0x6c]
push 0
push eax
call fcn.10028610
add esp, 0xc
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x57c]
xor ecx, esp
call fcn.100250e5
mov esp, ebp
pop ebp
ret 8
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x174]
push eax
call fcn.10014c90
test al, al
jne 0x100157b0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
lea edx, [esp + 0x2c]
mov ecx, 2
call fcn.10004e30
add esp, 4
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x57c]
xor ecx, esp
call fcn.100250e5
mov esp, ebp
pop ebp
ret 8
push ecx
lea eax, [esp + 0x174]
push eax
call fcn.10005c30
test al, al
jne 0x100157f3
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
lea edx, [esp + 0x2c]
mov ecx, 5
call fcn.10004e30
add esp, 4
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x57c]
xor ecx, esp
call fcn.100250e5
mov esp, ebp
pop ebp
ret 8
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x584]
mov al, 1
pop edi
pop esi
xor ecx, esp
call fcn.100250e5
mov esp, ebp
pop ebp
ret 8
Function at 0x10015870
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10040790
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x100561b8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, dword [ebp + 8]
mov eax, 0xdd67c8a7
mov dword [ebp - 4], 0
or esi, 0xffffffff
mov ecx, dword [0x101629a4]
mov edi, dword [0x101629a0]
sub ecx, edi
imul ecx
add edx, ecx
mov ecx, dword [ebx + 8]
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, ecx
ja 0x100158f4
push str.invalid_vector_T__subscript
call fcn.100207a7
mov eax, 0x100158e0
ret
imul eax, ecx, 0x128
add eax, edi
mov edi, dword [ebx + 0xc]
cmp dword [eax], edi
jne 0x1001593b
lea ecx, [ebx + 0x10]
add eax, 0x24
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10015930
test dl, dl
je 0x1001592c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10015930
add eax, 2
add ecx, 2
test dl, dl
jne 0x10015910
xor eax, eax
jmp 0x10015935
sbb eax, eax
or eax, 1
test eax, eax
cmove esi, dword [ebx + 8]
mov dword [ebp - 4], 0xffffffff
cmp esi, 0xffffffff
je 0x100159de
mov al, byte [ebx + 5]
test al, al
jne 0x1001597a
push esi
call fcn.10016470
lea ecx, [eax + 0x24]
call fcn.10015820
push eax
call fcn.10015f60
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp al, 1
jne 0x10015998
push edi
call fcn.10015a00
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp al, 2
jne 0x100159bf
push esi
call fcn.10016470
add eax, 0x24
push eax
call fcn.10016130
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp al, 3
jne 0x100159de
push edi
push 1
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
test eax, eax
je 0x100159de
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10015a00
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100407bb
mov eax, dword fs:[0]
push eax
sub esp, 0xc30
mov eax, dword [0x100561b8]
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 dword [ebp - 0xc3c], 0
mov dword [ebp - 0xc38], 0
mov dword [ebp - 0xc34], 0
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0xc3c]
mov dword [ebp - 4], 0
call fcn.1001f270
mov word [ebp - 0xc30], 0xac2
mov byte [ebp - 0xc2e], 0xc
call fcn.1002b224
and eax, 0x800000ff
jns 0x10015a84
dec eax
or eax, 0xffffff00
inc eax
mov ebx, dword [ebp - 0xc38]
xor edi, edi
mov byte [ebp - 0xc2d], al
mov eax, dword [ebp - 0xc3c]
sub ebx, eax
sar ebx, 2
mov byte [ebp - 0xc2c], 0x17
mov dword [ebp - 0xc28], ebx
test ebx, ebx
je 0x10015b6e
lea esi, [ebp - 0x724]
jmp 0x10015ac6
mov eax, dword [ebp - 0xc3c]
cmp edi, 0x14
jge 0x10015b6e
push 0x104
lea ecx, [ebp - 0x118]
push ecx
push dword [eax + edi*4]
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0x104
lea eax, [ebp - 0x220]
push eax
mov eax, dword [ebp - 0xc3c]
push dword [eax + edi*4]
call dword [sym.imp.USER32.dll_GetClassNameA]
movups xmm0, xmmword [ebp - 0x118]
inc edi
movups xmmword [esi - 0x500], xmm0
movups xmm0, xmmword [ebp - 0x108]
movups xmmword [esi - 0x4f0], xmm0
movups xmm0, xmmword [ebp - 0xf8]
movups xmmword [esi - 0x4e0], xmm0
movups xmm0, xmmword [ebp - 0xe8]
movups xmmword [esi - 0x4d0], xmm0
movups xmm0, xmmword [ebp - 0x220]
movups xmmword [esi], xmm0
movups xmm0, xmmword [ebp - 0x210]
movups xmmword [esi + 0x10], xmm0
movups xmm0, xmmword [ebp - 0x200]
movups xmmword [esi + 0x20], xmm0
movups xmm0, xmmword [ebp - 0x1f0]
movups xmmword [esi + 0x30], xmm0
add esi, 0x40
cmp edi, ebx
jb 0x10015ac0
push 0xa0c
lea eax, [ebp - 0xc30]
push eax
call fcn.10003f10
mov ecx, dword [ebp - 0xc3c]
test ecx, ecx
je 0x10015b9b
mov eax, dword [ebp - 0xc34]
sub eax, ecx
sar eax, 2
push eax
push ecx
call fcn.100176b0
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.100250e5
mov esp, ebp
pop ebp
ret 4
Function at 0x10015e00
Capabilities:
Enumerate process modules
Get process image filename

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1584
call fcn.10026230
mov eax, dword [0x100561b8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x1584]
mov dword [ebp - 0x1584], 0
push eax
push 0x1000
lea eax, [ebp - 0x1458]
push eax
call dword [sym.imp.PSAPI.DLL_EnumProcesses]
test eax, eax
jne 0x10015e54
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100250e5
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp - 0x1584]
xor esi, esi
shr ebx, 2
test ebx, ebx
jle 0x10015f42
nop word [eax + eax]
mov eax, dword [ebp + esi*4 - 0x1458]
test eax, eax
je 0x10015f39
push eax
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x10015f32
push 0x104
lea eax, [ebp - 0x250]
push eax
push edi
call dword [sym.imp.PSAPI.DLL_GetProcessImageFileNameW]
test eax, eax
je 0x10015f32
lea ecx, [ebp - 0x250]
call fcn.1001dea0
push eax
lea eax, [ebp - 0x48]
push 0x1004df0c
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 8
lea edx, [ebp - 0x458]
lea ecx, [ebp - 0x250]
call fcn.1001dc80
add esp, 4
test al, al
je 0x10015f32
mov eax, dword [ebp + esi*4 - 0x1458]
movups xmm0, xmmword [ebp - 0x48]
mov dword [ebp - 0x1580], eax
lea eax, [ebp - 0x458]
push eax
movups xmmword [ebp - 0x157c], xmm0
lea eax, [ebp - 0x155c]
movups xmm0, xmmword [ebp - 0x38]
push 0x1004ee1c
push eax
movups xmmword [ebp - 0x156c], xmm0
call fcn.10014850
add esp, 0xc
lea eax, [ebp - 0x1580]
push eax
call fcn.100177c0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, ebx
jl 0x10015e70
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100250e5
mov esp, ebp
pop ebp
ret
Function at 0x100173c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100409c8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x100561b8]
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 ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x100174ee
cmp byte [ebx + 0x3d], 0
je 0x100174ee
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
sete al
test al, al
je 0x10017419
xor al, al
jmp 0x100174f0
push 0
push 8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.10013ff0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
lea eax, [ebp - 0x2c]
mov ecx, dword [ebx + 0x38]
lea edi, [ebp - 0x28]
cmovae edi, dword [ebp - 0x28]
lea esi, [ebp - 0x28]
cmovae esi, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x18]
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x1001747f
sub eax, 1
je 0x10017483
mov ecx, dword [ebp - 0x14]
sub eax, 2
je 0x100174d6
xor bl, bl
jmp 0x100174d8
mov byte [ebx + 0x3d], 0
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
cmp ecx, 0x10
mov esi, dword [ebp - 0x2c]
cmovae eax, edx
sub esi, eax
je 0x100174b8
push dword [ebx + 0x4c]
cmp ecx, 0x10
lea eax, [ebp - 0x28]
push esi
cmovae eax, edx
push 1
push eax
call fcn.1002dea6
mov ecx, dword [ebp - 0x14]
add esp, 0x10
cmp esi, eax
jne 0x1001747b
cmp byte [ebx + 0x3d], 0
je 0x100174d6
test esi, esi
jne 0x10017441
push esi
push 8
lea ecx, [ebp - 0x28]
call fcn.100140e0
jmp 0x1001743e
mov bl, 1
cmp ecx, 0x10
jb 0x100174ea
inc ecx
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.10014600
mov al, bl
jmp 0x100174f0
mov al, 1
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.100250e5
mov esp, ebp
pop ebp
ret
Function at 0x10017da0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x100561b8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0x76f42c62
lea ecx, [ebp - 0x20]
call fcn.10018c40
push eax
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov eax, 0x1004ea70
lea ecx, [ebp - 0x34]
sub eax, 0x35b5523b
push eax
call fcn.100114f0
push eax
mov eax, 0x1004ea7c
lea ecx, [ebp - 0x24]
sub eax, 0x477f543b
push eax
call fcn.10011470
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
mov dword [0x10162ad8], eax
mov edx, 0xc6
xor ecx, ecx
nop word [eax + eax]
mov al, byte [ecx + 0x1004ef0c]
xor al, dl
mov byte [ebp + ecx - 0x34], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0xc
jb 0x10017e30
mov byte [ebp - 0x28], 0
mov edx, 0xf3
xor ecx, ecx
mov al, byte [ecx + 0x1004ef1c]
xor al, dl
mov byte [ebp + ecx - 0x24], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0xc
jb 0x10017e53
lea eax, [ebp - 0x34]
mov byte [ebp - 0x18], 0
push eax
lea eax, [ebp - 0x24]
push eax
call esi
push eax
call edi
mov dword [0x10162adc], eax
mov edx, 0x81
xor ecx, ecx
nop dword [eax + eax]
mov al, byte [ecx + 0x1004ef2c]
xor al, dl
mov byte [ebp + ecx - 0x34], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0xc
jb 0x10017e90
mov byte [ebp - 0x28], 0
mov edx, 0xf3
xor eax, eax
mov cl, byte [eax + 0x1004ef1c]
xor cl, dl
mov byte [ebp + eax - 0x24], cl
inc eax
lea ecx, [edx + 1]
movzx edx, cl
cmp eax, 0xc
jb 0x10017eb3
lea eax, [ebp - 0x34]
mov byte [ebp - 0x18], 0
push eax
lea eax, [ebp - 0x24]
push eax
call esi
push eax
call edi
mov dword [0x10162ae0], eax
mov eax, dword [0x10162ad8]
mov dword [0x10162ae4], eax
call fcn.10002180
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call fcn.10002660
push 0x100184a0
push 0x10162ae4
call fcn.10001c30
call fcn.100021f0
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
xor ecx, ebp
pop esi
call fcn.100250e5
mov esp, ebp
pop ebp
ret
Function at 0x10017f30
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1010
call fcn.10026230
mov eax, dword [0x100561b8]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x1008]
mov dword [ebp - 0x1008], 0
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
call dword [sym.imp.PSAPI.DLL_EnumProcesses]
test eax, eax
jne 0x10017f80
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100250e5
mov esp, ebp
pop ebp
ret 4
push ebx
mov ebx, dword [ebp - 0x1008]
push esi
shr ebx, 2
xor esi, esi
push edi
test ebx, ebx
jle 0x10017fee
mov edi, dword [ebp + esi*4 - 0x1004]
test edi, edi
je 0x10017fe9
push edi
lea eax, [ebp - 0x1010]
push eax
call fcn.10018370
test al, al
jne 0x10017fe9
mov dword [ebp - 0x1010], edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push edi
mov dword [ebp - 0x100c], eax
call fcn.100183f0
push ecx
push dword [ebp + esi*4 - 0x1004]
call fcn.10018020
test al, al
je 0x10018003
push ecx
push dword [ebp + esi*4 - 0x1004]
call fcn.100155e0
test al, al
je 0x10018003
inc esi
cmp esi, ebx
jl 0x10017f92
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100250e5
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100250e5
mov esp, ebp
pop ebp
ret 4

Function at 0x10018100
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x110c
call fcn.10026230
mov eax, dword [0x100561b8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x110c]
push eax
push 0x1000
lea eax, [ebp - 0x1108]
mov dword [ebp - 0x110c], 0
push eax
push ebx
call dword [sym.imp.PSAPI.DLL_EnumProcessModules]
test eax, eax
jne 0x10018156
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100250e5
mov esp, ebp
pop ebp
ret 8
push esi
push edi
mov edi, dword [ebp - 0x110c]
xor esi, esi
shr edi, 2
test edi, edi
jle 0x100181c5
nop word [eax + eax]
push 0x104
lea eax, [ebp - 0x108]
push eax
push dword [ebp + esi*4 - 0x1108]
push ebx
call dword [sym.imp.PSAPI.DLL_GetModuleFileNameExA]
test eax, eax
je 0x100181c0
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x108]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x100181b7
test dl, dl
je 0x100181b3
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x100181b7
add ecx, 2
add eax, 2
test dl, dl
jne 0x10018197
xor eax, eax
jmp 0x100181bc
sbb eax, eax
or eax, 1
test eax, eax
je 0x100181da
inc esi
cmp esi, edi
jl 0x10018170
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100250e5
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100250e5
mov esp, ebp
pop ebp
ret 8
Function at 0x100181f0
Capabilities:
Create thread
Encode data using xor
Inject dll
Inject thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x100561b8]
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 0x10018246
push 0
push ebx
push dword [ebp - 0x18]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x1001825b
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.100250e5
mov esp, ebp
pop ebp
ret 0xc
mov edx, 0xf3
xor ecx, ecx
mov al, byte [ecx + 0x1004ef1c]
xor al, dl
mov byte [ebp + ecx - 0x14], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0xc
jb 0x10018262
push 0x1004ef3c
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 0x10018238
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 0x10018238
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x8000
push ebx
push edi
push esi
test eax, eax
jne 0x10018240
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.100250e5
mov esp, ebp
pop ebp
ret 0xc

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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x18
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x101629cc]
cmp eax, 0x927c0
jb 0x10019ce7
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x101629cc], eax
cmp dword [0x10160b74], 0
je 0x10019d99
push 0
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 1
push eax
lea eax, [esp + 0xc]
mov dword [esp + 0x14], 0
push eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
call dword [sym.imp.gdiplus.dll_GdiplusStartup]
mov eax, dword [0x10160b84]
push 0
mov dword [0x10160b88], eax
mov dword [0x1016282c], 0xffffffff
call dword [sym.imp.USER32.dll_GetDC]
push 0
push 0x100199b0
push 0
push eax
call dword [sym.imp.USER32.dll_EnumDisplayMonitors]
test eax, eax
je 0x10019d7b
mov eax, dword [0x10160b84]
cmp eax, dword [0x10160b88]
je 0x10019d7b
mov ecx, 0x10160b84
call fcn.10019da0
push dword [esp + 4]
call dword [sym.imp.gdiplus.dll_GdiplusShutdown]
mov esp, ebp
pop ebp
ret
push str.SOMETHING_WENT_WRONG._Terrible_sorry...
push 0
push 0x10156d28
call fcn.10014ef0
add esp, 0xc
push dword [esp + 4]
call dword [sym.imp.gdiplus.dll_GdiplusShutdown]
mov esp, ebp
pop ebp
ret
Function at 0x1001a540
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xe4
mov eax, dword [0x100561b8]
xor eax, esp
mov dword [esp + 0xe0], eax
push esi
push str.____________________________________________________________________________________________________
push 0
push 0x10156d28
call fcn.10014ef0
add esp, 0xc
lea eax, [esp + 0x48]
push 0x94
push 0
push eax
call fcn.10028610
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.1001f200
push eax
push 0
push 0x10156d28
call fcn.10014ef0
mov ecx, dword [esp + 0x108]
add esp, 0x24
pop esi
xor ecx, esp
call fcn.100250e5
mov esp, ebp
pop ebp
ret
Function at 0x1001b1f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x100561b8]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, 0xcd
xor ecx, ecx
nop word [eax + eax]
mov al, byte [ecx + 0x1004f220]
xor al, dl
mov byte [ebp + ecx - 0x24], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0x1e
jb 0x1001b210
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 [0x10162848], eax
sete al
test al, al
je 0x1001b261
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100250e5
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 [0x10162848]
cmp eax, 0xb7
setne bl
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [0x10162844], eax
test eax, eax
jne 0x1001b2a4
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100250e5
mov esp, ebp
pop ebp
ret
test bl, bl
je 0x1001b2c9
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 [0x10162840], eax
xor ecx, ebp
mov al, 1
pop ebx
call fcn.100250e5
mov esp, ebp
pop ebp
ret

Function at 0x1001b650
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x100561b8]
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.1001c370
push eax
push 0x540f11f3
lea ecx, [ebp - 0x1c]
call fcn.1001c2f0
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 0x1001b6c4
xor al, al
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100250e5
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x20]
push eax
push 0x40
push 6
push 0x10162830
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [edi]
mov dword [0x10162830], eax
mov ax, word [edi + 4]
mov word [0x10162834], ax
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x20]
push 6
push 0x10162830
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop edi
call fcn.100250e5
mov esp, ebp
pop ebp
ret