joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10005cb0
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
push esi
mov esi, ecx
test edx, edx
jle 0x10005d73
push ebx
mov bl, byte [0x10131e42]
mov bh, byte [0x10131e41]
cmp edx, 0x20
jb 0x10005d53
mov ecx, edx
push edi
and ecx, 0x8000001f
jns 0x10005ce3
dec ecx
or ecx, 0xffffffe0
inc ecx
movaps xmm3, xmmword [0x10022c90]
mov edi, edx
sub edi, ecx
movaps xmm2, xmm3
movsx ecx, bl
movd xmm0, ecx
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
movsx ecx, bh
pshufd xmm1, xmm0, 0
paddb xmm2, xmm1
movd xmm0, ecx
lea ecx, [esi + 0x10]
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
pshufd xmm4, xmm0, 0
movups xmm0, xmmword [ecx - 0x10]
add eax, 0x20
lea ecx, [ecx + 0x20]
pxor xmm0, xmm2
psubb xmm0, xmm4
paddb xmm0, xmm3
movups xmmword [ecx - 0x30], xmm0
movups xmm0, xmmword [ecx - 0x20]
pxor xmm0, xmm2
psubb xmm0, xmm4
paddb xmm0, xmm3
movups xmmword [ecx - 0x20], xmm0
cmp eax, edi
jl 0x10005d20
pop edi
cmp eax, edx
jge 0x10005d72
add bl, 0xf
nop word [eax + eax]
mov cl, byte [eax + esi]
xor cl, bl
sub cl, bh
add cl, 0xf
mov byte [eax + esi], cl
inc eax
cmp eax, edx
jl 0x10005d60
pop ebx
pop esi
ret

Function at 0x10005d80
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
push esi
mov esi, ecx
test edx, edx
jle 0x10005e36
push ebx
mov bh, byte [0x10131e41]
mov bl, byte [0x10131e42]
cmp edx, 0x20
jb 0x10005e1c
mov ecx, edx
push edi
and ecx, 0x8000001f
jns 0x10005db3
dec ecx
or ecx, 0xffffffe0
inc ecx
movaps xmm1, xmmword [0x10022c90]
mov edi, edx
sub edi, ecx
movsx ecx, bh
movd xmm0, ecx
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
movsx ecx, bl
pshufd xmm2, xmm0, 0
psubb xmm2, xmm1
movd xmm0, ecx
lea ecx, [esi + 0x10]
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
pshufd xmm0, xmm0, 0
paddb xmm1, xmm0
movups xmm0, xmmword [ecx - 0x10]
add eax, 0x20
lea ecx, [ecx + 0x20]
paddb xmm0, xmm2
pxor xmm0, xmm1
movups xmmword [ecx - 0x30], xmm0
movups xmm0, xmmword [ecx - 0x20]
paddb xmm0, xmm2
pxor xmm0, xmm1
movups xmmword [ecx - 0x20], xmm0
cmp eax, edi
jl 0x10005df1
pop edi
cmp eax, edx
jge 0x10005e35
add bl, 0xf
mov cl, byte [eax + esi]
sub cl, 0xf
add cl, bh
xor cl, bl
mov byte [eax + esi], cl
inc eax
cmp eax, edx
jl 0x10005e23
pop ebx
pop esi
ret
Function at 0x10005ec0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov ecx, dword [0x10131eec]
test ecx, ecx
je 0x10005f28
mov eax, dword [ecx]
mov edx, 0x10131f00
cmp eax, dword [edx]
jne 0x10005ee4
movzx eax, byte [ecx + 4]
cmp al, byte [edx + 4]
je 0x10005f28
mov ecx, 0xf
call fcn.10018e80
push eax
push 0
push 0x10127210
call fcn.1000e6e0
add esp, 0xc
xorps xmm0, xmm0
movups xmmword [0x10132320], xmm0
movups xmmword [0x10132330], xmm0
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp dword [pe_dos_header]
mov ecx, dword [0x10131ee8]
test ecx, ecx
je 0x10005f8a
mov eax, dword [ecx]
mov edx, 0x10131ef8
cmp eax, dword [edx]
jne 0x10005f46
movzx eax, byte [ecx + 4]
cmp al, byte [edx + 4]
je 0x10005f8a
mov ecx, 0x10
call fcn.10018e80
push eax
push 0
push 0x10127210
call fcn.1000e6e0
add esp, 0xc
xorps xmm0, xmm0
movups xmmword [0x10132320], xmm0
movups xmmword [0x10132330], xmm0
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp dword [pe_dos_header]
mov ecx, dword [0x10131ee4]
test ecx, ecx
je 0x10005fe8
mov eax, dword [ecx]
mov edx, 0x10131ef0
cmp eax, dword [edx]
jne 0x10005fa8
movzx eax, byte [ecx + 4]
cmp al, byte [edx + 4]
je 0x10005fe8
mov ecx, 0x11
call fcn.10018e80
push eax
push 0
push 0x10127210
call fcn.1000e6e0
add esp, 0xc
xorps xmm0, xmm0
movups xmmword [0x10132320], xmm0
movups xmmword [0x10132330], xmm0
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp dword [pe_dos_header]
mov esp, ebp
pop ebp
ret
Function at 0x10006470
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
push eax
push 0x40
push 5
push 0x5b55ea
call esi
mov eax, 0x10006410
mov byte [0x5b55ea], 0xe9
sub eax, 0x5b55ef
mov dword [0x5b55eb], eax
lea eax, [ebp - 8]
push eax
push dword [ebp - 4]
push 5
push 0x5b55ea
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 5
push 0x5a3c70
call esi
mov eax, 0x10006450
mov byte [0x5a3c70], 0xe9
sub eax, 0x5a3c75
mov dword [0x5a3c71], eax
lea eax, [ebp - 8]
push eax
push dword [ebp - 4]
push 5
push 0x5a3c70
call esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10006e80
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
push dword [0x10131fe0]
mov esi, 0x41fe10
movss dword [ebp - 4], xmm1
mov ebx, edx
movss dword [ebp - 8], xmm0
mov edi, ecx
call esi
mov edx, 0x420120
mov ecx, eax
call edx
push 0xff
push 0xff
push 0xff
push 0xff
call esi
mov edx, 0x420040
mov ecx, eax
call edx
push 0
push 0
push 0
push 0
call esi
mov edx, 0x4200b0
mov ecx, eax
call edx
cmp byte [edi], 0
je 0x10006ee9
xorps xmm0, xmm0
jmp 0x10006ef1
movsd xmm0, qword [0x10022c58]
cvtpd2ps xmm0, xmm0
sub esp, 0x18
mov eax, 0x790e40
movss dword [esp + 0x14], xmm0
movss xmm0, dword [ebp - 4]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x41700000
mov dword [esp + 8], 0x41700000
movss dword [esp + 4], xmm0
movss xmm0, dword [ebp - 8]
movss dword [esp], xmm0
push 0x7b69
call eax
add esp, 0x1c
push 0xff
push 0
push 0
push 0
call esi
mov ecx, eax
mov eax, 0x420040
call eax
movss xmm0, dword [ebp - 4]
addss xmm0, dword [0x10022c60]
push 0
push 1
push 0
push 0xe6
movss dword [ebp - 0x10], xmm0
addss xmm0, dword [0x10022c40]
push ebx
cvttss2si esi, xmm0
movss xmm0, dword [ebp - 8]
addss xmm0, dword [0x10022c64]
push esi
movss dword [ebp - 0xc], xmm0
addss xmm0, dword [0x10022c40]
cvttss2si eax, xmm0
push eax
mov eax, 0x41fe10
call eax
mov edx, 0x420150
mov ecx, eax
call edx
push 0xff
push 0
push 0
push 0
mov eax, 0x41fe10
call eax
mov ecx, eax
mov eax, 0x420040
call eax
movss xmm0, dword [ebp - 0xc]
addss xmm0, dword [0x10022c50]
push 0
push 1
push 0
push 0xe6
cvttss2si eax, xmm0
push ebx
push esi
push eax
mov eax, 0x41fe10
call eax
mov ecx, eax
mov esi, 0x420150
call esi
push 0xff
push 0xff
push 0xff
push 0xff
mov eax, 0x41fe10
call eax
mov ecx, eax
mov eax, 0x420040
call eax
push 0
push 1
push 0
push 0xe6
movss xmm0, dword [ebp - 0x10]
xorps xmm1, xmm1
addss xmm0, xmm1
push ebx
mov ebx, 0x41fe10
cvttss2si eax, xmm0
movss xmm0, dword [ebp - 0xc]
addss xmm0, xmm1
push eax
cvttss2si eax, xmm0
push eax
call ebx
mov ecx, eax
call esi
cvttss2si eax, dword [ebp - 4]
push 0xf
push 0xf
push eax
cvttss2si eax, dword [ebp - 8]
push eax
mov eax, 0x790b10
call eax
add esp, 0x10
cmp al, 1
jne 0x100070b3
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, dword [0xe8c578]
jne 0x100070b3
push dword [0x101271b0]
mov byte [0x10131fb8], 1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x100070ac
cmp byte [0x101271b4], 0
jne 0x100070b3
mov byte [0x101271b4], 1
cmp byte [edi], 0
sete al
mov byte [edi], al
jmp 0x100070b3
mov byte [0x101271b4], 0
push dword [0xe8c58c]
call ebx
mov ecx, eax
mov eax, 0x420120
call eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000bb00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x1002700c]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x1f249f7b
lea ecx, [ebp - 0x18]
call fcn.1000cab0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea ecx, [ebp - 0xc]
mov word [ebp - 0x10], 0
push ecx
xorps xmm0, xmm0
mov byte [ebp - 0xe], 0
push eax
movq qword [ebp - 0x18], xmm0
mov dword [ebp - 0xc], 0x74696e49
mov byte [ebp - 8], 0
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0xc], 0
mov byte [ebp - 8], 0
call eax
push 0
push ecx
push 0
push 0x1000a690
call fcn.10019050
push 0x400000
push 0
push 0x10132360
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push 0
push 0x400000
push 0x10132360
push 0x400000
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
movaps xmm1, xmmword [0x10022ca0]
xor eax, eax
movaps xmm2, xmmword [0x10022cc0]
nop word [eax + eax]
movups xmm0, xmmword [eax + 0x10132360]
psubb xmm0, xmm1
movups xmmword [eax + 0x10132360], xmm0
movups xmm0, xmmword [eax + 0x10132360]
pxor xmm0, xmm2
movups xmmword [eax + 0x10132360], xmm0
movups xmm0, xmmword [eax + 0x10132370]
psubb xmm0, xmm1
movups xmmword [eax + 0x10132370], xmm0
movups xmm0, xmmword [eax + 0x10132370]
pxor xmm0, xmm2
movups xmmword [eax + 0x10132370], xmm0
add eax, 0x20
cmp eax, 0x400000
jb 0x1000bbb0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001a628
mov esp, ebp
pop ebp
ret
Function at 0x1000cca0
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, 0xf0
xor eax, eax
mov dl, byte [edi + eax + 0x79ddc0fb]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
inc eax
movzx ecx, cl
cmp eax, 0x1e
jb 0x1000ccb1
pop edi
mov byte [esi + 0x1e], 0
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x1000cce0
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, 9
xor eax, eax
mov dl, byte [edi + eax - 0x7bd60ae8]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
inc eax
movzx ecx, cl
cmp eax, 0x1a
jb 0x1000ccf1
pop edi
mov byte [esi + 0x1a], 0
mov eax, esi
pop esi
pop ebp
ret 4
Function at 0x1000e2c0
Capabilities:
Parse pe header
Read file on windows
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x1002700c]
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 0x1000e313
lea eax, [ebp - 0x38]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
test eax, eax
jne 0x1000e326
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001a628
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 0x1000e35b
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.1001a628
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 0x1000e3db
mov eax, 0x5a4d
cmp word [esi], ax
jne 0x1000e3d4
mov eax, dword [esi + 0x3c]
add eax, esi
mov dword [ebp - 0x3c], eax
cmp dword [eax], 0x4550
jne 0x1000e3d4
movzx ecx, word [eax + 4]
mov edx, 0x14c
cmp cx, dx
je 0x1000e3a4
mov edx, 0x8664
cmp cx, dx
jne 0x1000e3d4
push dword [eax + 0x28]
push dword [eax + 0x34]
push eax
call dword [sym.imp.dbghelp.dll_ImageRvaToSection]
mov ecx, eax
test ecx, ecx
je 0x1000e3d4
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 0x1000e3fc
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.1001a628
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 0x1000e3d5
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.1001a628
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1000e5c0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x1002700c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x10127428]
mov ecx, dword [ebp + 0xc]
test eax, eax
js 0x1000e6cd
cmp eax, 1
jge 0x1000e6cd
push ebx
push edi
imul edi, eax, 0x214
inc eax
push ecx
push 0x100
mov dword [0x10127428], eax
add edi, 0x10127214
lea ebx, [edi + 4]
mov dword [edi], 1
push ebx
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
add esp, 0xc
cmp dword [edi], 0
je 0x1000e6cb
push esi
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx edx, word [ebp - 0xe]
lea esi, [edi + 0x110]
movzx ecx, word [ebp - 0x12]
movzx eax, word [ebp - 0x14]
push edx
push ecx
push eax
push ebx
push str.._s_04d__02d__02d.log
push esi
mov dword [edi + 0x104], edx
mov dword [edi + 0x108], ecx
mov dword [edi + 0x10c], eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
push 0
push 0x80
push 4
push 0
push 1
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [edi + 0x210], eax
pop esi
cmp eax, 0xffffffff
jne 0x1000e6a7
mov dword [edi], 0
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001a628
mov esp, ebp
pop ebp
ret 8
push 2
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x1000e6cb
push dword [edi + 0x210]
mov dword [edi], 0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001a628
mov esp, ebp
pop ebp
ret 8
Function at 0x1000e6e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x824
mov eax, dword [0x1002700c]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push esi
push edi
test eax, eax
js 0x1000e8c6
cmp eax, dword [ecx + 0x218]
jge 0x1000e8c6
imul edi, eax, 0x214
add edi, ecx
cmp dword [edi + 4], 0
je 0x1000e8c6
lea eax, [ebp - 0x81c]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [ebp - 0x816]
cmp eax, dword [edi + 0x108]
jne 0x1000e75f
movzx eax, word [ebp - 0x81a]
cmp eax, dword [edi + 0x10c]
jne 0x1000e75f
movzx eax, word [ebp - 0x81c]
cmp eax, dword [edi + 0x110]
je 0x1000e81e
push dword [edi + 0x214]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
movzx edx, word [ebp - 0x816]
lea esi, [edi + 0x114]
movzx ecx, word [ebp - 0x81a]
movzx eax, word [ebp - 0x81c]
push edx
push ecx
push eax
mov dword [edi + 0x110], eax
lea eax, [edi + 8]
push eax
push str.._s_04d__02d__02d.log
push esi
mov dword [edi + 0x108], edx
mov dword [edi + 0x10c], ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
push 0
push 0x80
push 4
push 0
push 1
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [edi + 0x214], eax
cmp eax, 0xffffffff
jne 0x1000e7e9
mov dword [edi + 4], 0
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.1001a628
mov esp, ebp
pop ebp
ret
push 2
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x1000e81e
push dword [edi + 0x214]
mov dword [edi + 4], 0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.1001a628
mov esp, ebp
pop ebp
ret
push 0x400
lea eax, [ebp - 0x80c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp + 0x14]
push eax
push ecx
push dword [ebp + 0x10]
lea ecx, [ebp - 0x80c]
call fcn.1000e8e0
add esp, 0xc
lea eax, [ebp - 0x40c]
push 0x400
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x80c]
push eax
movzx eax, word [ebp - 0x810]
push eax
movzx eax, word [ebp - 0x812]
push eax
movzx eax, word [ebp - 0x814]
push eax
lea eax, [ebp - 0x40c]
push str._02d:_02d:_02d__s_r_n
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea ecx, [ebp - 0x40c]
add esp, 0x18
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000e8a0
push 0
lea eax, [ebp - 0x820]
sub ecx, edx
push eax
push ecx
lea eax, [ebp - 0x40c]
push eax
push dword [edi + 0x214]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp - 8]
pop edi
xor ecx, ebp
pop esi
call fcn.1001a628
mov esp, ebp
pop ebp
ret

Function at 0x1000e950
Capabilities:
Create thread

Disassembly:
cmp dword [0x10131ea8], 0
je 0x1000e98d
mov eax, dword [0x10132004]
xorps xmm0, xmm0
push 0x10132330
push 0
push 0x101271f4
push 0x1000ea70
push 0
push 0
mov dword [0x101271f8], eax
movups xmmword [0x10127200], xmm0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x101271fc], eax
ret 4
Function at 0x1000e990
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x10131e8c], 0
je 0x1000e9ac
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ecx, dword [0x10131e8c]
cmp eax, dword [ecx]
jne 0x1000ea1d
push esi
mov esi, dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esi*4 + 0x10127200]
cmp eax, 0x1388
jb 0x1000e9dc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi*4 + 0x10127200], eax
mov dword [esi*4 + 0x10127208], 0
mov eax, dword [0x10131ea4]
cmp eax, 5
ja case.default.0x1000e9e6
jmp dword [eax*4 + 0x1000ea24]
push 0
jmp 0x1000ea03
push 0x19
jmp 0x1000ea03
push 0x14
jmp 0x1000ea03
push 0xf
jmp 0x1000ea03
push 0xa
jmp 0x1000ea03
push 5
push esi
call fcn.1000ea40
test al, al
jne 0x1000ea1c
xor edx, edx
push 0
lea ecx, [edx + 9]
call fcn.10004d10
add esp, 4
pop esi
pop ebp
ret 4
Function at 0x1000ee10
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 [0x1002700c]
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 sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esp + 0x378]
push 0x208
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esp + 0x170]
push 0x208
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push edi
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x1000f02a
push 0x104
lea eax, [esp + 0x37c]
push eax
push esi
call dword [sym.imp.PSAPI.DLL_GetProcessImageFileNameW]
test eax, eax
je 0x1000f023
push ecx
lea edx, [esp + 0x174]
lea ecx, [esp + 0x37c]
call fcn.10016fe0
add esp, 4
test al, al
je 0x1000f023
push 0x40
lea eax, [esp + 0x2c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov word [esp + 0xc], 0x5325
lea ecx, [esp + 0x378]
mov byte [esp + 0xe], 0
call fcn.100171e0
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.1000e1d0
test al, al
jne 0x1000ef99
mov edx, 0xdd
xor ecx, ecx
nop
mov al, byte [ecx + 0x100224a8]
xor al, dl
mov byte [esp + ecx + 0x10], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0x16
jb 0x1000ef20
push edi
lea eax, [esp + 0x14]
mov byte [esp + 0x2a], 0
push eax
lea eax, [esp + 0x70]
push eax
call fcn.1000e040
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 sub.VCRUNTIME140.dll_memset
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.1001a628
mov esp, ebp
pop ebp
ret 8
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x174]
push eax
call fcn.1000e480
test al, al
jne 0x1000efe0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
lea edx, [esp + 0x2c]
mov ecx, 2
call fcn.10004d10
add esp, 4
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x57c]
xor ecx, esp
call fcn.1001a628
mov esp, ebp
pop ebp
ret 8
push ecx
lea eax, [esp + 0x174]
push eax
call fcn.10005b90
test al, al
jne 0x1000f023
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
lea edx, [esp + 0x2c]
mov ecx, 5
call fcn.10004d10
add esp, 4
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x57c]
xor ecx, esp
call fcn.1001a628
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.1001a628
mov esp, ebp
pop ebp
ret 8
Function at 0x1000f1f0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001badb
mov eax, dword fs:[0]
push eax
sub esp, 0xc30
mov eax, dword [0x1002700c]
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.10018ef0
mov word [ebp - 0xc30], 0xac2
mov byte [ebp - 0xc2e], 0xc
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
and eax, 0x800000ff
jns 0x1000f275
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 0x1000f35e
lea esi, [ebp - 0x724]
jmp 0x1000f2b6
mov eax, dword [ebp - 0xc3c]
cmp edi, 0x14
jge 0x1000f35e
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 0x1000f2b0
push 0xa0c
lea eax, [ebp - 0xc30]
push eax
call fcn.10003cf0
mov ecx, dword [ebp - 0xc3c]
test ecx, ecx
je 0x1000f38b
mov eax, dword [ebp - 0xc34]
sub eax, ecx
sar eax, 2
push eax
push ecx
call fcn.10010940
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.1001a628
mov esp, ebp
pop ebp
ret 4