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

Disassembly:
mov eax, dword [0x1001acac]
sub esp, 0x84
push esi
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push 1
push 0x1001acb4
call esi
mov ecx, dword [0x1001acb0]
push 0x1388
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x1000355c
mov eax, dword [0x1001acd0]
test eax, eax
je 0x10003565
mov dword [esp + 0x1c], 0x6c
jmp 0x10003408
mov eax, dword [0x1001acd0]
mov edx, dword [eax]
push 0
lea ecx, [esp + 0x20]
push 1
push ecx
push 0
push eax
call dword [edx + 0x64]
cmp eax, 0x8876021c
je 0x10003403
test eax, eax
jl 0x10003565
mov esi, dword [esp + 0x98]
push ebx
push ebp
mov ebp, esi
imul ebp, dword [esp + 0xa4]
mov edx, dword [esp + 0x78]
push edi
shl ebp, 2
push ebp
mov dword [esp + 0x14], edx
mov dword [esp + 0x28], ebp
call sub.MFC42.DLL_operatornew
mov ecx, ebp
mov ebx, eax
mov edx, ecx
xor eax, eax
mov edi, ebx
add esp, 4
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
cmp dword [esp + 0x10], 0x20
jne 0x100034f6
mov eax, dword [esp + 0xa8]
xor edx, edx
cmp eax, edx
mov dword [esp + 0x10], edx
jbe 0x100034f6
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0xa0]
add edx, eax
mov eax, dword [esp + 0x30]
cmp edx, eax
jae 0x100034f6
xor eax, eax
test esi, esi
jbe 0x100034d8
mov ecx, dword [esp + 0x9c]
mov edi, dword [esp + 0x34]
add ecx, eax
cmp ecx, edi
jae 0x100034d8
mov edi, dword [esp + 0x38]
mov ebp, dword [esp + 0x4c]
imul edi, edx
shr edi, 2
add edi, ecx
mov ecx, dword [esp + 0x14]
add ecx, eax
inc eax
mov edi, dword [ebp + edi*4]
mov ebp, dword [esp + 0x24]
cmp eax, esi
mov dword [ebx + ecx*4], edi
jb 0x100034a1
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0xa8]
inc edx
add ecx, esi
cmp edx, eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ecx
jb 0x1000348a
mov eax, dword [0x1001acd0]
push 0
push eax
mov edx, dword [eax]
call dword [edx + 0x80]
mov eax, dword [0x1001acac]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov esi, dword [esp + 0x98]
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
lea ecx, [esp + 0x18]
push 0
push ecx
lea edx, [esp + 0x24]
push 8
push edx
push esi
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], 0
call edi
lea eax, [esp + 0x18]
push 0
push eax
push ebp
push ebx
push esi
call edi
push ebx
call sub.MFC42.DLL_operatordelete
add esp, 4
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x84
ret
push 0
push 0x1001acb4
call esi
mov ecx, dword [0x1001acac]
push ecx
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, dword [esp + 0x8c]
lea edx, [esp + 0xc]
push 0
push edx
lea eax, [esp + 0x18]
push 8
push eax
push ecx
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0xffffffff
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
add esp, 0x84
ret
Function at 0x100038d0
Capabilities:
Log keystrokes

Disassembly:
sub esp, 0x24
mov eax, dword [esp + 0x28]
push esi
mov esi, dword [esp + 0x30]
push edi
push 0
push eax
mov dword [eax*4 + 0x1001a730], esi
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
shr esi, 8
and esi, 0x80
mov dword [esp + 0x18], eax
mov ecx, esi
mov byte [eax + 0x1001aba0], cl
mov dword [esp + 0x1c], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x20], eax
mov eax, dword [0x1001ab8c]
test eax, eax
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
je 0x1000397e
mov ecx, dword [0x1001ab7c]
mov edx, dword [0x1001ab78]
cmp ecx, edx
je 0x1000397e
lea eax, [ecx + 0x14]
mov edi, ecx
cmp eax, edx
mov dword [0x1001ab7c], eax
jne 0x10003971
test edi, edi
je 0x10003956
mov ecx, 5
lea esi, [esp + 0x18]
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x1001ab60
call fcn.100063e0
mov eax, dword [0x1001ab8c]
pop edi
inc eax
pop esi
mov dword [0x1001ab8c], eax
add esp, 0x24
ret
test edi, edi
je 0x10003aeb
jmp 0x10003ae0
push 0xff0
call sub.MFC42.DLL_operatornew
mov esi, eax
mov eax, dword [0x1001ab8c]
add esp, 4
test eax, eax
jne 0x10003a08
push 8
mov dword [0x1001ab88], 2
call sub.MFC42.DLL_operatornew
mov dword [0x1001ab84], eax
mov dword [eax + 4], esi
mov eax, dword [0x1001ab84]
add esp, 4
add eax, 4
add esi, 0x7f8
push eax
push esi
lea ecx, [esp + 0x10]
call fcn.10006ae0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [0x1001ab64], eax
mov dword [0x1001ab68], ecx
mov dword [0x1001ab6c], esi
mov dword [0x1001ab70], edx
mov dword [0x1001ab74], eax
mov dword [0x1001ab78], ecx
mov dword [0x1001ab80], edx
jmp 0x10003ad1
mov ecx, dword [0x1001ab84]
mov edx, dword [0x1001ab88]
mov eax, dword [0x1001ab80]
lea ecx, [ecx + edx*4 - 4]
cmp eax, ecx
jae 0x10003a5f
add eax, 4
lea ecx, [esp + 8]
mov dword [0x1001ab80], eax
mov dword [eax], esi
mov edx, dword [0x1001ab80]
push edx
push esi
call fcn.10006ae0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
mov dword [0x1001ab74], eax
mov dword [0x1001ab78], ecx
mov dword [0x1001ab80], edx
jmp 0x10003ad1
mov edx, dword [0x1001ab70]
mov ecx, 0x1001ab60
sub eax, edx
sar eax, 2
inc eax
mov edi, eax
lea eax, [edi + edi]
push eax
call fcn.10006900
lea edi, [eax + edi*4]
push eax
mov dword [edi], esi
mov ecx, dword [0x1001ab6c]
push ecx
lea ecx, [esp + 0x10]
call fcn.10006ae0
mov edx, dword [esp + 8]
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [0x1001ab64], edx
mov edx, dword [esp + 0x14]
mov dword [0x1001ab68], eax
mov dword [0x1001ab6c], ecx
mov dword [0x1001ab70], edx
mov eax, dword [edi]
mov dword [0x1001ab80], edi
mov dword [0x1001ab74], eax
lea ecx, [eax + 0xff0]
mov dword [0x1001ab78], ecx
mov edi, esi
add esi, 0x14
test edi, edi
mov dword [0x1001ab7c], esi
je 0x10003aeb
mov ecx, 5
lea esi, [esp + 0x18]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [0x1001ab8c]
pop edi
inc eax
pop esi
mov dword [0x1001ab8c], eax
add esp, 0x24
ret
Function at 0x10004110
Capabilities:
Log keystrokes

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, dword [esp + 0x10]
mov dword [edi*4 + 0x1001a730], esi
call fcn.10003660
push 0
push edi
mov ebx, eax
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
mov ecx, esi
and ecx, 0x8000
shl eax, 0x10
neg ecx
sbb ecx, ecx
and ecx, 0x40000000
add ecx, 0xc0000000
not esi
or eax, ecx
and esi, 0x8000
or al, 1
or esi, 0x800000
push eax
push edi
shr esi, 0xf
push esi
push ebx
call dword [sym.imp.USER32.dll_PostMessageA]
pop edi
pop esi
pop ebx
ret

Function at 0x10004420
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [0x1001ad84]
sub esp, 8
test eax, eax
push esi
mov esi, dword [esp + 0x18]
push edi
mov edi, dword [esp + 0x18]
je 0x10004440
push esi
push edi
call fcn.100038d0
add esp, 8
mov eax, dword [0x1001ad88]
test eax, eax
je 0x10004453
push esi
push edi
call fcn.10004110
add esp, 8
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x1c]
push 0
push eax
lea ecx, [esp + 0x10]
push 8
push ecx
push edx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop edi
pop esi
add esp, 8
ret

Function at 0x10004490
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [0x1001ad84]
sub esp, 8
test eax, eax
push ebx
mov ebx, dword [esp + 0x18]
push ebp
mov ebp, dword [esp + 0x18]
push esi
mov esi, dword [esp + 0x28]
push edi
mov edi, dword [esp + 0x28]
je 0x100044bc
push esi
push edi
push ebx
push ebp
call fcn.10003b00
add esp, 0x10
mov eax, dword [0x1001ad88]
test eax, eax
je 0x100044d1
push esi
push edi
push ebx
push ebp
call fcn.10004170
add esp, 0x10
mov edx, dword [esp + 0x1c]
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
push eax
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x18]
push 8
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret

Function at 0x10004500
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
push esi
push edi
mov edi, dword [esp + 0x1c]
lea ebx, [edi + 8]
push ebx
call sub.MFC42.DLL_operatornew
mov edx, dword [esp + 0x1c]
add esp, 4
mov esi, eax
lea eax, [esp + 0x1c]
push eax
push edi
lea ecx, [esi + 8]
mov dword [esi + 4], 0
push ecx
push edx
mov dword [esi], edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
jne 0x10004548
mov dword [esi + 4], 0xffffffff
mov dword [esi], eax
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0xc]
push 0
push eax
push ebx
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x10004570
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x14]
mov dword [esp], 0
push eax
mov eax, dword [esp + 0x14]
push ecx
push edx
push eax
mov dword [esp + 0x14], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x100045b0
mov dword [esp + 4], 0xffffffff
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x14]
push 0
push ecx
lea edx, [esp + 8]
push 8
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
add esp, 8
ret

Function at 0x100045d0
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x14]
push ecx
push edx
push eax
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
call dword [sym.imp.USER32.dll_PostMessageA]
lea ecx, [esp + 0x1c]
push 0
mov dword [esp + 8], eax
mov eax, dword [esp + 0x10]
push ecx
lea edx, [esp + 8]
push 8
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
add esp, 8
ret

Function at 0x10004620
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x14]
push ecx
push edx
push eax
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [esp + 0x1c]
push 0
mov dword [esp + 8], eax
mov eax, dword [esp + 0x10]
push ecx
lea edx, [esp + 8]
push 8
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
add esp, 8
ret

Function at 0x10004670
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10014580
push 0x10010450
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
xor esi, esi
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov ecx, 0x4e2000
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
mov edx, dword [ebp + 0xc]
cmp edx, esi
je 0x100046b8
mov eax, edx
mov ecx, dword [ebp + 0x10]
sub ecx, edx
mov dword [ebp - 4], esi
mov edx, dword [ebp + 0x14]
push edx
push ecx
push eax
call fcn.10001710
add esp, 0xc
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x100046ea
push esi
lea eax, [ebp - 0x1c]
push eax
push 8
lea ecx, [ebp - 0x28]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10004710
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x1d0
push ebx
mov ebx, dword [esp + 0x1dc]
push esi
push edi
push 0
push ebx
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ecx, dword [esp + 0x1e8]
mov esi, eax
lea eax, [esp + 0x4c]
push 0x190
push eax
push 0xffffffffffffffff
push ecx
push 0
push 0
mov dword [esp + 0x24], 0xffffffff
lea edi, [esp + 0x64]
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test esi, esi
je 0x1000483b
lea edx, [esp + 0x1c]
push ebp
push edx
push esi
mov dword [esp + 0x28], 0x30
call dword [sym.imp.USER32.dll_GetGUIThreadInfo]
test eax, eax
je 0x1000483a
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x10004784
mov ebx, eax
cmp word [esp + 0x50], 0
je 0x1000483a
push ebx
call sub.IMM32.dll_ImmGetContext
mov esi, eax
test esi, esi
je 0x1000483a
push esi
call sub.IMM32.dll_ImmLockIMC
mov ebp, eax
test ebp, ebp
je 0x10004833
mov eax, dword [ebp + 0x118]
push 0xc8
push eax
call sub.IMM32.dll_ImmReSizeIMCC
test eax, eax
mov dword [ebp + 0x118], eax
je 0x1000482d
push eax
call sub.IMM32.dll_ImmLockIMCC
test eax, eax
je 0x1000482d
mov dword [eax + 0x58], 0x64
mov cx, word [edi]
mov word [eax + 0x64], cx
mov dword [eax + 0x54], 1
mov edx, dword [ebp + 0x118]
add edi, 2
push edx
call sub.IMM32.dll_ImmUnlockIMCC
push esi
call sub.IMM32.dll_ImmUnlockIMC
push esi
push ebx
call sub.IMM32.dll_ImmReleaseContext
push 0x1fbf
push 0
push 0x10f
push ebx
call dword [sym.imp.USER32.dll_SendMessageA]
cmp word [edi], 0
mov dword [esp + 0x10], 0
jne 0x10004790
jmp 0x1000483a
push esi
call sub.IMM32.dll_ImmUnlockIMC
push esi
push ebx
call sub.IMM32.dll_ImmReleaseContext
pop ebp
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x18]
push 0
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x1e4]
push ecx
lea edx, [esp + 0x18]
push 8
push edx
push eax
mov dword [esp + 0x24], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop edi
pop esi
pop ebx
add esp, 0x1d0
ret
Function at 0x10004c00
Capabilities:
Read file on windows
Write file on windows

Disassembly:
sub esp, 0x148
mov ecx, dword [esp + 0x14c]
push ebx
push ebp
push esi
lea eax, [esp + 0x18]
push edi
xor ebp, ebp
push eax
push ecx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
test eax, eax
jne 0x10004c3b
pop edi
pop esi
pop ebp
mov eax, 0xc0000001
pop ebx
add esp, 0x148
ret
mov edx, dword [esp + 0x1c]
mov esi, dword [sym.imp.MSVCRT.dll_sprintf]
push edx
lea eax, [esp + 0x28]
push str..PipeBkgndSrv_P_d
push eax
call esi
add esp, 0xc
lea ecx, [esp + 0x24]
push 0x3e8
push ecx
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeA]
test eax, eax
jne 0x10004c79
pop edi
pop esi
pop ebp
mov eax, 0xc0000002
pop ebx
add esp, 0x148
ret
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x58]
push edx
push str.BkgndSrv_2C4A1340_CA03_486a_93E1_C69F6C955520
push str._s__d
push eax
call esi
add esp, 0x10
lea ecx, [esp + 0x58]
push ecx
push ebp
push 1
push ebp
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov esi, eax
cmp esi, ebp
jne 0x10004cb7
pop edi
pop esi
pop ebp
mov eax, 0xc0000003
pop ebx
add esp, 0x148
ret
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push ebp
push 0x80
push 3
push ebp
push ebp
lea edx, [esp + 0x38]
push 0xc0000000
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x10004cfa
pop edi
pop esi
pop ebp
mov eax, 0xc0000004
pop ebx
add esp, 0x148
ret
lea eax, [esp + 0x20]
push ebp
push eax
mov eax, dword [esp + 0x168]
mov ecx, dword [eax]
add ecx, 8
push ecx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
lea edx, [esp + 0x18]
push ebp
push edx
lea eax, [esp + 0x18]
push 8
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x10004d40
push edi
call esi
pop edi
pop esi
pop ebp
mov eax, 0xc0000005
pop ebx
add esp, 0x148
ret
cmp dword [esp + 0x14], ebp
jl 0x10004de1
mov ebx, dword [esp + 0x10]
cmp ebx, ebp
je 0x10004de1
mov ebp, dword [esp + 0x164]
xor esi, esi
test ebp, ebp
je 0x10004dca
cmp dword [esp + 0x168], ebx
jb 0x10004dca
test ebx, ebx
jbe 0x10004d99
mov edx, ebx
lea ecx, [esp + 0x18]
push 0
sub edx, esi
push ecx
lea eax, [esi + ebp]
push edx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10004daf
mov eax, dword [esp + 0x18]
test eax, eax
je 0x10004daf
add esi, eax
cmp esi, ebx
jb 0x10004d70
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x148
ret
cmp esi, ebx
jae 0x10004d99
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
mov eax, 0xc0000007
pop ebx
add esp, 0x148
ret
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
mov eax, 0xc0000006
pop ebx
add esp, 0x148
ret
push edi
call esi
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x148
ret
Function at 0x100055f0
Capabilities:
Create pipe
Create thread

Disassembly:
sub esp, 0x64
push esi
push 0x1001acb8
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov esi, dword [sym.imp.KERNEL32.dll_CreateEventA]
push 0
push 0
push 0
push 0
call esi
push 0
push 1
push 1
push 0
mov dword [0x1001acb0], eax
call esi
push 0
push 0
push 0
push 0
mov dword [0x1001acac], eax
call esi
push 0
push 1
push 1
push 0
mov dword [0x1001aca4], eax
call esi
mov dword [0x1001aca0], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [0x1001ad50], eax
push eax
lea eax, [esp + 8]
push str..PipeBkgndSrv_P_d
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
lea ecx, [esp + 4]
push 0
push 0x3e8
push 0
push 0
push 1
push 0
push 3
push ecx
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
cmp eax, 0xffffffff
mov dword [0x1001ad48], eax
pop esi
jne 0x1000568d
xor al, al
add esp, 0x64
ret
push 0x1001ad40
push 0
push 0
push 0x10004e00
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
mov dword [0x1001ad44], eax
setne al
add esp, 0x64
ret

Function at 0x100056c0
Capabilities:
Terminate thread

Disassembly:
push ecx
push esi
call fcn.10002970
call fcn.10002a60
call fcn.10002d70
call fcn.10002ea0
call fcn.10003090
push 0x1001acb8
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov eax, dword [0x1001acb0]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
mov ecx, dword [0x1001acac]
push ecx
call esi
mov edx, dword [0x1001aca4]
push edx
call esi
mov eax, dword [0x1001aca0]
push eax
call esi
mov eax, dword [0x1001ad44]
test eax, eax
je 0x1000573d
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp eax, dword [0x1001ad40]
je 0x10005734
mov ecx, dword [0x1001ad44]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov edx, dword [0x1001ad44]
push edx
call esi
mov eax, dword [0x1001ad48]
cmp eax, 0xffffffff
je 0x10005756
push eax
call dword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
mov eax, dword [0x1001ad48]
push eax
call esi
mov eax, dword [0x1001a70c]
mov esi, dword [eax]
cmp esi, eax
je 0x1000578a
push edi
mov edi, dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [esi + 0x1c]
push ecx
call edi
lea edx, [esp + 8]
push esi
push edx
mov ecx, 0x1001a708
call fcn.10005ce0
mov esi, dword [eax]
mov eax, dword [0x1001a70c]
cmp esi, eax
jne 0x10005768
pop edi
pop esi
pop ecx
ret
Function at 0x10006eb0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x1001304b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x158
push edi
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x18]
rep stosd dword es:[edi], eax
lea ecx, [esp + 4]
mov dword [esp + 0x18], 0x44
mov dword [esp + 0x44], 1
mov word [esp + 0x48], 5
call sub.MFC42.DLL_CString::CString_3
lea eax, [esp + 0x5c]
push 0xff
push eax
push 0
mov dword [esp + 0x170], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 0x5c]
push 0x5c
push ecx
call dword [sym.imp.MSVCRT.dll_strrchr]
mov edx, dword [esp + 0x174]
mov byte [eax + 1], 0
lea eax, [esp + 0x64]
push edx
push eax
lea ecx, [esp + 0x14]
push str._s_s
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0x18
lea edx, [esp + 8]
lea eax, [esp + 0x18]
lea ecx, [esp + 4]
push edx
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call sub.MFC42.DLL_CString::GetBuffer
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
pop edi
jne 0x10006fa2
lea ecx, [esp]
mov dword [esp + 0x160], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
mov ecx, dword [esp + 0x158]
mov dword fs:[0], ecx
add esp, 0x164
ret 4
push esi
mov esi, dword [esp + 0x10]
lea ecx, [esp + 4]
mov dword [esp + 0x164], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x15c]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x164
ret 4

Function at 0x100070e0
Capabilities:
Enumerate gui resources

Disassembly:
sub esp, 8
mov eax, dword [esp + 0xc]
lea ecx, [esp]
push ecx
push 0x10006fe0
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [esp + 4]
add esp, 8
ret 4
Function at 0x10009490
Capabilities:
Read file via mapping

Disassembly:
push ecx
push esi
mov esi, ecx
push edi
mov ecx, 0x203
lea edx, [esi + 4]
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x10]
lea eax, [esp + 8]
xor edi, edi
push eax
mov dword [edx], 1
push ecx
mov dword [esi], 0x10014b18
mov dword [esi + 0x810], edx
mov dword [esi + 0x814], edi
mov dword [esp + 0x10], edi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp dword [esp + 8], edi
je 0x1000950d
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [esp + 8], eax
je 0x1000950d
push edi
push 0x80c
push edi
push 4
push edi
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
push edi
push edi
push edi
push 6
push eax
mov dword [esi + 0x814], eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [esi + 0x810], eax
mov eax, esi
pop edi
pop esi
pop ecx
ret 4
Function at 0x1000b300
Capabilities:
Capture screenshot

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x24
push esi
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x1000b31a
xor eax, eax
pop esi
add esp, 0x24
ret
mov esi, dword [esp + 0x2c]
lea ecx, [esp + 0x18]
push ecx
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
test eax, eax
jne 0x1000b333
pop esi
add esp, 0x24
ret
push esi
call dword [sym.imp.USER32.dll_GetWindowDC]
mov esi, eax
test esi, esi
jne 0x1000b345
pop esi
add esp, 0x24
ret
push ebx
push ebp
push edi
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov edi, eax
mov eax, dword [esp + 0x3c]
sub ebx, ebp
mov ebp, dword [esp + 0x30]
mov ecx, dword [eax + 8]
sub ebp, edx
mov edx, dword [eax]
push ebp
mov dword [esp + 0x14], edx
mov edx, dword [eax + 4]
mov eax, dword [eax + 0xc]
sub ecx, dword [esp + 0x14]
sub eax, edx
push ebx
push esi
mov dword [esp + 0x2c], edx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push edi
mov dword [esp + 0x1c], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x38]
push 0
push edi
push eax
call fcn.100035b0
mov ecx, dword [esp + 0x48]
add esp, 0xc
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.GDI32.dll_DeleteObject]
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x18]
push eax
push ecx
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov edx, dword [esp + 0x14]
push eax
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x20]
push 0xcc0020
push eax
push ecx
push edi
push ebp
push ebx
mov ebx, dword [esp + 0x2c]
push 0
push 0
push ebx
call dword [sym.imp.GDI32.dll_BitBlt]
mov edx, dword [esp + 0x3c]
push edx
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov ebp, eax
mov eax, dword [esp + 0x3c]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
push ebx
mov ebx, dword [sym.imp.GDI32.dll_DeleteDC]
call ebx
push edi
call ebx
mov ecx, dword [esp + 0x38]
push esi
push ecx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, ebp
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x24
ret