joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10007790
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x824
mov eax, dword [0x1001c00c]
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 0x10007976
cmp eax, dword [ecx + 0x218]
jge 0x10007976
imul edi, eax, 0x214
add edi, ecx
cmp dword [edi + 4], 0
je 0x10007976
lea eax, [ebp - 0x81c]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [ebp - 0x816]
cmp eax, dword [edi + 0x108]
jne 0x1000780f
movzx eax, word [ebp - 0x81a]
cmp eax, dword [edi + 0x10c]
jne 0x1000780f
movzx eax, word [ebp - 0x81c]
cmp eax, dword [edi + 0x110]
je 0x100078ce
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 0x10007899
mov dword [edi + 4], 0
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.10011584
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 0x100078ce
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.10011584
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.10007990
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 0x10007950
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.10011584
mov esp, ebp
pop ebp
ret

Function at 0x10007a00
Capabilities:
Create thread

Disassembly:
cmp dword [0x10126d28], 0
je 0x10007a3d
mov eax, dword [0x10126da0]
xorps xmm0, xmm0
push 0x10127088
push 0
push 0x1011c1c4
push 0x10007b20
push 0
push 0
mov dword [0x1011c1c8], eax
movups xmmword [0x1011c1d0], xmm0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x1011c1cc], eax
ret 4
Function at 0x10007a40
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x10126d0c], 0
je 0x10007a5c
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ecx, dword [0x10126d0c]
cmp eax, dword [ecx]
jne 0x10007acd
push esi
mov esi, dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esi*4 + 0x1011c1d0]
cmp eax, 0x1388
jb 0x10007a8c
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi*4 + 0x1011c1d0], eax
mov dword [esi*4 + 0x1011c1d8], 0
mov eax, dword [0x10126d24]
cmp eax, 5
ja case.default.0x10007a96
jmp dword [eax*4 + 0x10007ad4]
push 0
jmp 0x10007ab3
push 0x19
jmp 0x10007ab3
push 0x14
jmp 0x10007ab3
push 0xf
jmp 0x10007ab3
push 0xa
jmp 0x10007ab3
push 5
push esi
call fcn.10007af0
test al, al
jne 0x10007acc
xor edx, edx
push 0
lea ecx, [edx + 9]
call fcn.10004e10
add esp, 4
pop esi
pop ebp
ret 4

Function at 0x10007ec0
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x458
mov eax, dword [0x1001c00c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
push edi
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x10007ffb
push 0x104
lea eax, [ebp - 0x418]
push eax
push esi
call dword [sym.imp.PSAPI.DLL_GetProcessImageFileNameW]
test eax, eax
je 0x10007ff4
push ecx
lea edx, [ebp - 0x210]
lea ecx, [ebp - 0x418]
call fcn.1000fb50
add esp, 4
test al, al
je 0x10007ff4
lea eax, [ebp - 0x458]
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.100071c0
test al, al
jne 0x10007f6e
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
lea edx, [ebp - 0x458]
mov ecx, 1
call fcn.10004e10
add esp, 4
xor al, al
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10011584
mov esp, ebp
pop ebp
ret 8
lea eax, [ebp - 0x458]
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.10007530
test al, al
jne 0x10007fb4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
lea edx, [ebp - 0x458]
mov ecx, 2
call fcn.10004e10
add esp, 4
xor al, al
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10011584
mov esp, ebp
pop ebp
ret 8
push ecx
lea eax, [ebp - 0x210]
push eax
call fcn.10005c20
test al, al
jne 0x10007ff4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
lea edx, [ebp - 0x458]
mov ecx, 5
call fcn.10004e10
add esp, 4
xor al, al
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10011584
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.10011584
mov esp, ebp
pop ebp
ret 8
Function at 0x100081d0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001270b
mov eax, dword fs:[0]
push eax
sub esp, 0xc30
mov eax, dword [0x1001c00c]
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.10010350
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 0x10008255
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 0x1000833e
lea esi, [ebp - 0x724]
jmp 0x10008296
mov eax, dword [ebp - 0xc3c]
cmp edi, 0x14
jge 0x1000833e
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 0x10008290
push 0xa0c
lea eax, [ebp - 0xc30]
push eax
call fcn.10003c60
mov ecx, dword [ebp - 0xc3c]
test ecx, ecx
je 0x1000836b
mov eax, dword [ebp - 0xc34]
sub eax, ecx
sar eax, 2
push eax
push ecx
call fcn.10009b90
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.10011584
mov esp, ebp
pop ebp
ret 4
Function at 0x100085d0
Capabilities:
Enumerate process modules
Get process image filename

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1584
call fcn.100126b0
mov eax, dword [0x1001c00c]
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 0x10008624
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10011584
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp - 0x1584]
xor esi, esi
shr ebx, 2
test ebx, ebx
jle 0x10008712
nop word [eax + eax]
mov eax, dword [ebp + esi*4 - 0x1458]
test eax, eax
je 0x10008709
push eax
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x10008702
push 0x104
lea eax, [ebp - 0x250]
push eax
push edi
call dword [sym.imp.PSAPI.DLL_GetProcessImageFileNameW]
test eax, eax
je 0x10008702
lea ecx, [ebp - 0x250]
call fcn.1000fdd0
push eax
lea eax, [ebp - 0x48]
push 0x100179c8
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 8
lea edx, [ebp - 0x458]
lea ecx, [ebp - 0x250]
call fcn.1000fb50
add esp, 4
test al, al
je 0x10008702
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 0x10017bd4
push eax
movups xmmword [ebp - 0x156c], xmm0
call fcn.10007010
add esp, 0xc
lea eax, [ebp - 0x1580]
push eax
call fcn.10009c60
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, ebx
jl 0x10008640
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10011584
mov esp, ebp
pop ebp
ret
Function at 0x10008730
Capabilities:
Parse pe header
Read file on windows
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x1001c00c]
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 0x10008783
lea eax, [ebp - 0x38]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
test eax, eax
jne 0x10008796
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10011584
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 0x100087cb
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.10011584
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 0x1000884b
mov eax, 0x5a4d
cmp word [esi], ax
jne 0x10008844
mov eax, dword [esi + 0x3c]
add eax, esi
mov dword [ebp - 0x3c], eax
cmp dword [eax], 0x4550
jne 0x10008844
movzx ecx, word [eax + 4]
mov edx, 0x14c
cmp cx, dx
je 0x10008814
mov edx, 0x8664
cmp cx, dx
jne 0x10008844
push dword [eax + 0x28]
push dword [eax + 0x34]
push eax
call dword [sym.imp.dbghelp.dll_ImageRvaToSection]
mov ecx, eax
test ecx, ecx
je 0x10008844
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 0x1000886c
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.10011584
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 0x10008845
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.10011584
mov esp, ebp
pop ebp
ret 0xc
Function at 0x100098e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10012898
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x1001c00c]
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 0x10009a00
cmp byte [ebx + 0x3d], 0
je 0x10009a00
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
sete al
test al, al
je 0x10009939
xor al, al
jmp 0x10009a02
sub esp, 8
lea ecx, [ebp - 0x28]
call fcn.1000a0f0
mov dword [ebp - 4], 0
mov esi, dword [ebp - 0x14]
lea edi, [ebx + 0x40]
cmp esi, 0x10
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x28]
cmovae edx, dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
add eax, edx
push eax
push ecx
mov ecx, dword [ebx + 0x38]
push edi
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet___char___char___char___const]
sub eax, 0
je 0x1000998d
sub eax, 1
je 0x10009991
mov esi, dword [ebp - 0x14]
sub eax, 2
je 0x100099e9
xor bl, bl
jmp 0x100099eb
mov byte [ebx + 0x3d], 0
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov ecx, dword [ebp - 0x28]
cmp esi, 0x10
mov edi, dword [ebp - 0x2c]
cmovae eax, ecx
sub edi, eax
je 0x100099c7
push dword [ebx + 0x4c]
cmp esi, 0x10
lea eax, [ebp - 0x28]
push edi
cmovae eax, ecx
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov esi, dword [ebp - 0x14]
add esp, 0x10
cmp edi, eax
jne 0x10009989
cmp byte [ebx + 0x3d], 0
je 0x100099e9
test edi, edi
lea edi, [ebx + 0x40]
jne 0x10009951
push 0
push 8
lea ecx, [ebp - 0x28]
call fcn.1000a430
jmp 0x1000994b
mov bl, 1
cmp esi, 0x10
jb 0x100099fc
lea ecx, [esi + 1]
push ecx
push dword [ebp - 0x28]
call fcn.1000a510
mov al, bl
jmp 0x10009a02
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.10011584
mov esp, ebp
pop ebp
ret
Function at 0x1000a760
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x1001c00c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov dword [ebp - 0x20], 0x424d5023
mov dword [ebp - 0x1c], 0x2364254c
mov byte [ebp - 0x18], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [ebp - 0x20]
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, 0x10017d58
lea ecx, [ebp - 0x34]
sub eax, 0x35b5523b
push eax
call fcn.1000b690
push eax
mov eax, 0x10017af4
lea ecx, [ebp - 0x24]
sub eax, 0x477f543b
push eax
call fcn.10006f00
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 [0x10127010], eax
mov edx, 0xc6
xor ecx, ecx
nop
mov al, byte [ecx + 0x10017d64]
xor al, dl
mov byte [ebp + ecx - 0x34], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0xc
jb 0x1000a7f0
mov byte [ebp - 0x28], 0
mov edx, 0xf3
xor ecx, ecx
mov al, byte [ecx + 0x10017ad4]
xor al, dl
mov byte [ebp + ecx - 0x24], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0xc
jb 0x1000a813
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 [0x10127014], eax
mov edx, 0x81
xor ecx, ecx
nop dword [eax + eax]
mov al, byte [ecx + 0x10017d74]
xor al, dl
mov byte [ebp + ecx - 0x34], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0xc
jb 0x1000a850
mov byte [ebp - 0x28], 0
mov edx, 0xf3
xor ecx, ecx
mov al, byte [ecx + 0x10017ad4]
xor al, dl
mov byte [ebp + ecx - 0x24], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0xc
jb 0x1000a873
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 [0x10127018], eax
mov eax, dword [0x10127010]
mov dword [0x1012701c], eax
call fcn.10002180
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call fcn.10002660
push 0x1000ae80
push 0x1012701c
call fcn.10001c30
call fcn.100021f0
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
xor ecx, ebp
pop esi
call fcn.10011584
mov esp, ebp
pop ebp
ret
Function at 0x1000a8f0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1018
call fcn.100126b0
mov eax, dword [0x1001c00c]
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 0x1000a946
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.10011584
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [ebp - 0x1010]
xor esi, esi
shr ebx, 2
test ebx, ebx
jle 0x1000a9b1
mov edi, dword [ebp + esi*4 - 0x100c]
test edi, edi
je 0x1000a9ac
push edi
lea eax, [ebp - 0x1018]
push eax
call fcn.1000ad50
test al, al
jne 0x1000a9ac
mov dword [ebp - 0x1018], edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push edi
mov dword [ebp - 0x1014], eax
call fcn.1000add0
push ecx
push dword [ebp + esi*4 - 0x100c]
call fcn.1000a9d0
test al, al
je 0x1000a931
push ecx
push dword [ebp + esi*4 - 0x100c]
call fcn.10007ec0
test al, al
je 0x1000a931
inc esi
cmp esi, ebx
jl 0x1000a955
mov ecx, dword [ebp - 8]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10011584
mov esp, ebp
pop ebp
ret 4

Function at 0x1000aab0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x110c
call fcn.100126b0
mov eax, dword [0x1001c00c]
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 0x1000ab06
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10011584
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 0x1000ab75
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 0x1000ab70
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x108]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x1000ab67
test dl, dl
je 0x1000ab63
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x1000ab67
add ecx, 2
add eax, 2
test dl, dl
jne 0x1000ab47
xor eax, eax
jmp 0x1000ab6c
sbb eax, eax
or eax, 1
test eax, eax
je 0x1000ab8a
inc esi
cmp esi, edi
jl 0x1000ab20
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10011584
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.10011584
mov esp, ebp
pop ebp
ret 8
Function at 0x1000aba0
Capabilities:
Create thread
Encode data using xor
Inject dll
Inject thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x1001c00c]
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 0x1000abf6
push 0
push ebx
push dword [ebp - 0x18]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x1000ac0b
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.10011584
mov esp, ebp
pop ebp
ret 0xc
mov edx, 0xf3
xor ecx, ecx
mov al, byte [ecx + 0x10017ad4]
xor al, dl
mov byte [ebp + ecx - 0x14], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0xc
jb 0x1000ac12
push 0x10017d84
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 0x1000abe8
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 0x1000abe8
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x8000
push ebx
push edi
push esi
test eax, eax
jne 0x1000abf0
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.10011584
mov esp, ebp
pop ebp
ret 0xc

Function at 0x1000c7d0
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 [0x1012120c]
cmp eax, 0x927c0
jb 0x1000c7f7
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x1012120c], eax
cmp dword [0x1012604c], 0
je 0x1000c8a9
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 [0x1012605c]
push 0
mov dword [0x10126060], eax
mov dword [0x10126dac], 0xffffffff
call dword [sym.imp.USER32.dll_GetDC]
push 0
push 0x1000c4c0
push 0
push eax
call dword [sym.imp.USER32.dll_EnumDisplayMonitors]
test eax, eax
je 0x1000c88b
mov eax, dword [0x1012605c]
cmp eax, dword [0x10126060]
je 0x1000c88b
mov ecx, 0x1012605c
call fcn.1000c8b0
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 0x1011c1e0
call fcn.10007790
add esp, 0xc
push dword [esp + 4]
call dword [sym.imp.gdiplus.dll_GdiplusShutdown]
mov esp, ebp
pop ebp
ret
Function at 0x1000d050
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe4
mov eax, dword [0x1001c00c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push str.____________________________________________________________________________________________________
push 0
push 0x1011c1e0
call fcn.10007790
add esp, 0xc
lea eax, [ebp - 0xe0]
push 0x94
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0xe0], 0x94
lea eax, [ebp - 0xe0]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
lea eax, [ebp - 0x48]
mov dword [ebp - 0x48], 0x40
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov esi, dword [ebp - 0x40]
mov ecx, esi
mov edx, dword [ebp - 0x3c]
mov eax, edx
shrd ecx, eax, 0x14
shr eax, 0x14
sub esi, dword [ebp - 0x38]
push ecx
sbb edx, dword [ebp - 0x34]
xor ecx, ecx
shrd esi, edx, 0x14
push esi
push dword [ebp - 0xd4]
shr edx, 0x14
push dword [ebp - 0xd8]
push dword [ebp - 0xdc]
push str.1.7.0
call fcn.10010240
push eax
push 0
push 0x1011c1e0
call fcn.10007790
mov ecx, dword [ebp - 4]
add esp, 0x24
xor ecx, ebp
pop esi
call fcn.10011584
mov esp, ebp
pop ebp
ret