joyce8/EMBER2024-capa huggingface dataset:
Function at 0x435380
Capabilities:
Allocate or change rwx memory
Create thread
Spawn thread to rwx shellcode

Disassembly:
sub esp, 0x64
push ebx
push esi
mov ebx, ecx
push edi
mov ecx, 0x16
mov esi, 0x4a9038
lea edi, [esp + 0x14]
mov eax, dword [esp + 0x74]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov dword [esp + 0x19], eax
mov eax, dword [esp + 0x7c]
test eax, eax
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
je 0x4353c5
mov ecx, dword [sym.imp.USER32.dll_GetWindowLongW]
mov dword [esp + 0x1d], ecx
jmp 0x4353cf
mov edx, dword [sym.imp.USER32.dll_GetWindowLongA]
mov dword [esp + 0x1d], edx
mov eax, dword [sym.imp.KERNEL32.dll_ExitThread]
mov ecx, dword [ebx + 0xa8]
push 0x40
push 0x1000
push 0x1000
push 0
mov dword [esp + 0x31], eax
call fcn.00425d40
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov esi, eax
test esi, esi
je 0x4354ae
lea ecx, [esp + 0x14]
push 0x58
push ecx
mov ecx, dword [ebx + 0xa8]
push esi
call fcn.00421cb0
test eax, eax
je 0x435491
mov ecx, dword [ebx + 0xa8]
lea edx, [esp + 0x74]
push edx
push 0
push 0
push esi
push 0
push 0
mov dword [esp + 0x8c], 0
call fcn.00425d40
push eax
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov ecx, dword [ebx + 0xa8]
mov edi, eax
mov eax, dword [esp + 0x74]
push eax
call fcn.004273d0
push 0x1770
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebx + 0xa8]
push 0
call fcn.004273d0
push 0
lea ecx, [esp + 0x10]
push 8
lea edx, [esi + 0x11]
push ecx
mov ecx, dword [ebx + 0xa8]
push edx
call fcn.00421ab0
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x10]
mov dword [eax], ecx
mov ecx, dword [ebx + 0xa8]
push 0x4000
push 0x1000
push esi
call fcn.00425d40
push eax
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov eax, dword [esp + 0xc]
pop edi
pop esi
pop ebx
add esp, 0x64
ret 0xc
Function at 0x43bff0
Capabilities:
Get keyboard layout

Disassembly:
push 0xffffffffffffffff
push 0x4830bb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call sub.MFC42.DLL_CScrollView::CScrollView
xor ebx, ebx
lea ecx, [esi + 0x74]
mov dword [esp + 0x1c], ebx
call sub.MFC42.DLL_CString::CString_5
lea ecx, [esi + 0x88]
mov byte [esp + 0x1c], 1
call fcn.004672b0
mov dword [esi + 0x100], ebx
mov dword [esi + 0xfc], 0x489da4
lea ecx, [esi + 0x104]
mov byte [esp + 0x1c], 3
call sub.MFC42.DLL_CString::CString_5
mov dword [esi + 0x10c], ebx
mov dword [esi + 0x108], 0x4886f0
mov byte [esp + 0x1c], 5
mov dword [esi], 0x48e508
mov dword [esi + 0x114], ebx
mov dword [esi + 0x110], ebx
mov dword [esi + 0x130], ebx
call sub.MFC42.DLL_AfxGetModuleState
mov ebp, dword [eax + 4]
push 0xc000
lea eax, [ebp + 0x85c]
mov dword [esi + 0x134], eax
call sub.MFC42.DLL_operatornew
push 0xc000
mov dword [esi + 0x138], eax
call sub.MFC42.DLL_operatornew
push 0xc000
mov dword [esi + 0x13c], eax
call sub.MFC42.DLL_operatornew
push 0x10000
mov dword [esi + 0x140], eax
call sub.MFC42.DLL_operatornew
mov edi, eax
add esp, 0x10
mov ecx, 0x4000
xor eax, eax
mov dword [esi + 0xe0], edi
add ebp, 0xdfc
rep stosd dword es:[edi], eax
mov edi, dword [sym.imp.USER32.dll_LoadCursorA]
push 0x7f01
push ebx
mov dword [esi + 0x84], ebx
mov dword [esi + 0x118], ebx
mov dword [esi + 0xf4], ebx
mov dword [esi + 0x128], ebx
mov dword [esi + 0x12c], ebx
mov dword [esi + 0xdc], ebx
mov dword [esi + 0xe8], ebx
mov dword [esi + 0xe4], ebx
mov dword [esi + 0xf8], ebp
mov dword [esi + 0x70], ebx
call edi
push 0x7f00
push ebx
mov dword [esi + 0xc4], eax
call edi
push ebx
mov dword [esi + 0xc8], eax
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
mov ecx, esi
mov dword [esi + 0xc0], eax
mov dword [esi + 0x11c], ebx
mov dword [esi + 0x120], 0xffffff
call fcn.0043d540
mov eax, esi
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x43eb50
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov esi, ecx
call fcn.0043d320
mov ecx, dword [esi + 0x12c]
add ecx, 2
imul eax, ecx
xor ecx, ecx
test eax, eax
jle 0x43eb80
push ebx
mov edx, dword [esi + 0xe0]
add edx, ecx
mov bl, byte [edx]
and bl, 0xfd
inc ecx
cmp ecx, eax
mov byte [edx], bl
jl 0x43eb6b
pop ebx
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ah, 0x80
je 0x43ebb0
mov eax, dword [esi + 0xf0]
mov ecx, dword [esi + 0xec]
mov edx, dword [esp + 0xc]
push eax
mov eax, dword [esp + 0xc]
push ecx
push edx
push eax
mov ecx, esi
call fcn.0043ed60
pop esi
ret 8
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push ecx
push edx
mov ecx, esi
call fcn.0043ee30
pop esi
ret 8
Function at 0x440d90
Capabilities:
Get system information on windows

Disassembly:
push 0xffffffffffffffff
push 0x4835e0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push ebp
push esi
push edi
mov esi, ecx
push 0x6f
mov dword [esp + 0x14], esi
call sub.MFC42.DLL_CFormView::CFormView
lea ebx, [esi + 0x80]
xor edi, edi
mov ecx, ebx
mov dword [esp + 0x40], edi
call sub.MFC42.DLL_CWnd::CWnd
mov dword [ebx], 0x48ea00
lea ebx, [esi + 0xc0]
mov byte [esp + 0x40], 1
mov ecx, ebx
call sub.MFC42.DLL_CString::CString_5
lea ebp, [esi + 0xc4]
mov byte [esp + 0x40], 2
mov ecx, ebp
call sub.MFC42.DLL_CString::CString_5
lea ecx, [esi + 0xc8]
mov byte [esp + 0x40], 3
call sub.MFC42.DLL_CString::CString_5
push 0x4ba580
mov ecx, ebx
mov byte [esp + 0x44], 4
mov dword [esi], 0x48e8f0
call fcn.0047dd2a
push 0x4ba580
mov ecx, ebp
call fcn.0047dd2a
push 0x4ba580
lea ecx, [esi + 0xc8]
call fcn.0047dd2a
lea eax, [esp + 0x14]
mov dword [esi + 0xe4], edi
push eax
mov dword [esi + 0xe0], edi
mov dword [esi + 0xdc], edi
mov dword [esi + 0xd8], edi
mov dword [esi + 0xe8], edi
mov dword [esi + 0xec], edi
mov dword [esi + 0xd0], edi
mov dword [esi + 0xd4], edi
mov dword [esi + 0xf0], edi
mov dword [esi + 0xf4], edi
mov dword [esi + 0xcc], edi
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
or edx, 0xfff
mov dword [esi + 0xf8], ecx
mov ecx, dword [esp + 0x38]
inc edx
mov dword [esi + 0xfc], edx
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x34
ret
Function at 0x445030
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x128
mov eax, dword [esp + 0x12c]
push ebx
push ebp
push esi
push edi
push 0x4a1470
mov dword [esp + 0x18], ecx
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov edi, eax
add esp, 8
test edi, edi
je 0x445121
mov ebx, dword [sym.imp.MSVCRT.dll_fseek]
push 0
push 0x3c
push edi
call ebx
mov ebp, dword [sym.imp.MSVCRT.dll_fread]
push edi
push 1
lea ecx, [esp + 0x2c]
push 4
push ecx
call ebp
mov edx, dword [esp + 0x34]
push 0
add edx, 4
push edx
push edi
call ebx
push edi
push 1
lea eax, [esp + 0x74]
push 0x14
push eax
call ebp
push edi
push 1
lea ecx, [esp + 0x98]
push 0xe0
push ecx
call ebp
add esp, 0x48
cmp word [esp + 0x46], 0
mov dword [esp + 0x10], 0
jbe 0x445117
push edi
push 1
lea edx, [esp + 0x24]
push 0x28
push edx
call ebp
add esp, 0x10
mov esi, str..rdata
lea eax, [esp + 0x1c]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x4450f7
test cl, cl
je 0x4450f3
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4450f7
add eax, 2
add esi, 2
test cl, cl
jne 0x4450d3
xor eax, eax
jmp 0x4450fc
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x44512e
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x46]
inc eax
and ecx, 0xffff
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x4450bb
push edi
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x128
ret 0xc
mov edx, dword [esp + 0x30]
push 0
push edx
push edi
call ebx
mov eax, dword [esp + 0x38]
add esp, 0xc
test eax, eax
je 0x445117
shr eax, 2
lea eax, [eax*4 + 4]
push eax
call sub.MFC42.DLL_operatornew
mov ecx, dword [esp + 0x30]
push edi
mov esi, eax
push 1
push ecx
push esi
call ebp
push edi
call dword [sym.imp.MSVCRT.dll_fclose]
mov edx, dword [esp + 0x15c]
mov eax, dword [esp + 0x158]
add esp, 0x18
push edx
push eax
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
mov ecx, eax
shr ecx, 2
push ecx
mov ecx, dword [esp + 0x78]
push esi
push eax
mov eax, dword [esp + 0x70]
push edx
mov edx, dword [esp + 0x8c]
push eax
push ecx
mov ecx, dword [esp + 0x34]
push edx
call fcn.004451c0
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x128
ret 0xc
Function at 0x445d40
Capabilities:
Read file on windows

Disassembly:
sub esp, 0xe8
push ebx
push esi
push edi
mov ecx, 0x37
xor eax, eax
lea edi, [esp + 0x16]
mov word [esp + 0x14], 0
mov esi, dword [esp + 0xf8]
rep stosd dword es:[edi], eax
push 0
push 0
stosw word es:[edi], ax
mov edi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0x3c
push esi
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
lea eax, [esp + 0xc]
push 0
push eax
lea ecx, [esp + 0x18]
push 4
push ecx
push esi
call ebx
test eax, eax
jne 0x445daa
pop edi
pop esi
pop ebx
add esp, 0xe8
ret
mov edx, dword [esp + 0x10]
push 0
add edx, 0x18
push 0
push edx
push esi
call edi
lea eax, [esp + 0xc]
push 0
push eax
lea ecx, [esp + 0x1c]
push 0xe0
push ecx
push esi
call ebx
test eax, eax
jne 0x445ddb
pop edi
pop esi
pop ebx
add esp, 0xe8
ret
mov eax, dword [esp + 0x104]
mov cx, word [esp + 0x14]
test eax, eax
je 0x445e44
cmp cx, 0x10b
jne 0x445e25
mov dword [eax], 0x20
mov eax, dword [esp + 0x100]
mov ecx, dword [esp + 0x30]
test eax, eax
je 0x445e09
mov dword [eax], ecx
mov eax, dword [esp + 0xfc]
test eax, eax
jne 0x445e57
mov edx, dword [esp + 0x24]
pop edi
pop esi
pop ebx
lea eax, [edx + ecx]
add esp, 0xe8
ret
cmp cx, 0x20b
jne 0x445e3e
pop edi
mov dword [eax], 0x40
pop esi
xor eax, eax
pop ebx
add esp, 0xe8
ret
mov dword [eax], 0
cmp cx, 0x10b
je 0x445df8
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0xe8
ret
mov ecx, dword [esp + 0x24]
pop edi
pop esi
add eax, ecx
pop ebx
add esp, 0xe8
ret

Function at 0x445ec0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x100
push ebx
push esi
xor eax, eax
push edi
push eax
mov ecx, 0x3d
lea edi, [esp + 0x1c]
push 0x80
mov dword [esp + 0x1c], 0
push 3
rep stosd dword es:[edi], eax
push eax
mov eax, dword [esp + 0x120]
push 3
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x445f0f
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x100
ret
mov edi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
push 0
push 0x3c
push esi
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
lea ecx, [esp + 0xc]
push 0
push ecx
lea edx, [esp + 0x18]
push 4
push edx
push esi
call ebx
test eax, eax
jne 0x445f4c
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x100
ret
mov eax, dword [esp + 0x10]
push 0
push 0
push eax
push esi
call edi
lea ecx, [esp + 0xc]
push 0
push ecx
lea edx, [esp + 0x1c]
push 0xf8
push edx
push esi
call ebx
test eax, eax
push esi
jne 0x445f83
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x100
ret
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x2a]
xor ecx, ecx
and eax, 0x2002
pop edi
cmp eax, 0x2002
pop esi
sete cl
mov eax, ecx
pop ebx
add esp, 0x100
ret
Function at 0x445fb0
Capabilities:
Get file version info

Disassembly:
sub esp, 8
push ebx
mov ebx, dword [esp + 0x10]
lea eax, [esp + 0x10]
push edi
push eax
push ebx
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov edi, eax
test edi, edi
jne 0x445fec
mov eax, dword [esp + 0x18]
test eax, eax
je 0x445fe4
mov dword [eax], edi
pop edi
xor eax, eax
pop ebx
add esp, 8
ret
push esi
push edi
call dword [sym.imp.MSVCRT.dll_malloc]
add esp, 4
mov esi, eax
push esi
push edi
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoA
lea ecx, [esp + 0x10]
lea edx, [esp + 0xc]
push ecx
push edx
push 0x4a6784
push esi
call sub.VERSION.dll_VerQueryValueA
mov eax, dword [esp + 0xc]
push esi
mov edi, dword [eax + 8]
mov ebx, dword [eax + 0xc]
call dword [sym.imp.MSVCRT.dll_free]
mov eax, dword [esp + 0x20]
add esp, 4
test eax, eax
pop esi
je 0x446037
mov dword [eax], edi
mov eax, ebx
pop edi
pop ebx
add esp, 8
ret
Function at 0x446040
Capabilities:
Get disk information
Get file size
Read file via mapping

Disassembly:
sub esp, 0x418
push ebp
mov ebp, dword [esp + 0x424]
push esi
mov esi, dword [esp + 0x424]
push edi
xor edi, edi
cmp esi, edi
mov dword [esp + 0x18], edi
mov byte [ebp], 0
je 0x4461de
cmp esi, 0xffffffff
je 0x4461de
lea eax, [esp + 0x18]
push ebx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push edi
push eax
push edi
push 2
push edi
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov ebx, eax
test ebx, ebx
mov dword [esp + 0x14], ebx
je 0x4461cd
push 1
push edi
push edi
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
test esi, esi
mov dword [esp + 0x18], esi
je 0x4461c2
push 0x104
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call sub.PSAPI.DLL_GetMappedFileNameA
test eax, eax
je 0x4461b6
lea ecx, [esp + 0x228]
mov byte [esp + 0x228], 0
push ecx
push 0x1ff
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
test eax, eax
je 0x4461b6
mov dx, word [0x4ac640]
mov al, byte [0x4ac642]
mov word [esp + 0x10], dx
mov byte [esp + 0x12], al
xor esi, esi
lea ebx, [esp + 0x228]
mov cl, byte [ebx]
lea edx, [esp + 0x20]
push 0x200
lea eax, [esp + 0x14]
push edx
push eax
mov byte [esp + 0x1c], cl
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
test eax, eax
je 0x446193
lea edi, [esp + 0x20]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, ecx
cmp edi, 0x104
jae 0x446193
lea ecx, [esp + 0x20]
push edi
push ecx
push ebp
call dword [sym.imp.MSVCRT.dll__mbsnbicmp]
mov esi, eax
add esp, 0xc
neg esi
sbb esi, esi
inc esi
je 0x446193
add edi, ebp
lea edx, [esp + 0x10]
push edi
push edx
lea eax, [esp + 0x12c]
push 0x4ac638
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
lea ecx, [esp + 0x134]
push 0x104
push ecx
push ebp
call dword [sym.imp.MSVCRT.dll__mbsnbcpy]
add esp, 0x1c
mov dl, byte [ebx]
inc ebx
test dl, dl
je 0x4461a1
mov al, byte [ebx]
inc ebx
test al, al
jne 0x44619a
test esi, esi
jne 0x4461ae
cmp byte [ebx], 0
jne 0x446111
mov esi, dword [esp + 0x18]
mov ebx, dword [esp + 0x14]
push esi
mov edi, 1
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
jne 0x4461d1
mov byte [ebp], 0
mov eax, edi
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x418
ret
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x418
ret
Function at 0x4461f0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0xe8
push ebx
push esi
mov esi, dword [esp + 0xf4]
push edi
test esi, esi
jne 0x446210
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0xe8
ret
mov edi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
push 0
push 0x3c
push esi
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
lea eax, [esp + 0xc]
push 0
push eax
lea ecx, [esp + 0x18]
push 4
push ecx
push esi
call ebx
cmp dword [esp + 0xc], 4
je 0x446249
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0xe8
ret
mov edx, dword [esp + 0x10]
push 0
add edx, 0x18
push 0
push edx
push esi
call edi
lea eax, [esp + 0xc]
push 0
push eax
lea ecx, [esp + 0x1c]
push 0xe0
push ecx
push esi
call ebx
mov ecx, dword [esp + 0x4c]
pop edi
neg eax
sbb eax, eax
pop esi
and eax, ecx
pop ebx
add esp, 0xe8
ret

Function at 0x446280
Capabilities:
Enumerate process modules

Disassembly:
push ecx
mov eax, dword [esp + 8]
push esi
push eax
push 0
push 0x478
mov dword [esp + 0x10], 0
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
jne 0x4462a5
pop esi
pop ecx
ret
lea ecx, [esp + 0xc]
lea edx, [esp + 4]
push ecx
push 4
push edx
push esi
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
jne 0x4462c7
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop esi
pop ecx
ret
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 4]
push edi
push eax
push ecx
push edx
push esi
call sub.PSAPI.DLL_GetModuleFileNameExA
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
test edi, edi
pop edi
pop esi
setne al
pop ecx
ret

Function at 0x446410
Capabilities:
Enumerate threads

Disassembly:
sub esp, 0x1c
push ebx
push ebp
mov ebp, dword [esp + 0x28]
push esi
push ebp
push 4
xor ebx, ebx
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
jne 0x446434
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1c
ret
push edi
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x1c
push eax
push esi
call sub.KERNEL32.dll_Thread32First
test eax, eax
pop edi
je 0x446483
cmp dword [esp + 0x18], ebp
je 0x44647f
lea ecx, [esp + 0xc]
push ecx
push esi
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x44645a
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x1c
ret
mov ebx, dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x1c
ret
Function at 0x4464a0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
lea eax, [esi + 2]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x44650d
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
jne 0x4464cd
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop esi
pop ebx
ret
mov ecx, esi
mov esi, dword [esp + 0xc]
mov edx, ecx
push edi
mov edi, eax
push eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
pop edi
je 0x44650d
call dword [sym.imp.USER32.dll_EmptyClipboard]
push ebx
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
pop esi
pop ebx
ret
Function at 0x446560
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x11c
push ebx
push ebp
push esi
push edi
xor ebx, ebx
mov ecx, 0x3d
xor eax, eax
lea edi, [esp + 0x38]
mov esi, dword [esp + 0x130]
mov dword [esp + 0x34], ebx
rep stosd dword es:[edi], eax
mov edi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
push ebx
mov dword [esp + 0x2c], eax
push ebx
mov dword [esp + 0x34], eax
push 0x3c
push esi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x40], eax
mov dword [esp + 0x24], ebx
call edi
mov ebp, dword [sym.imp.KERNEL32.dll_ReadFile]
lea ecx, [esp + 0x10]
push ebx
push ecx
lea edx, [esp + 0x20]
push 4
push edx
push esi
call ebp
test eax, eax
je 0x446736
mov eax, dword [esp + 0x18]
push ebx
push ebx
push eax
push esi
call edi
lea ecx, [esp + 0x10]
push ebx
push ecx
lea edx, [esp + 0x3c]
push 0xf8
push edx
push esi
call ebp
test eax, eax
je 0x446736
mov ebp, dword [esp + 0x3a]
and ebp, 0xffff
jle 0x446736
cmp ebp, 0x64
jg 0x446736
cmp dword [esp + 0xf4], ebx
je 0x446736
cmp dword [esp + 0xf8], ebx
je 0x446736
lea ebx, [ebp + ebp*4]
shl ebx, 3
push ebx
call dword [sym.imp.MSVCRT.dll_malloc]
mov edi, eax
add esp, 4
test edi, edi
je 0x446736
lea eax, [esp + 0x10]
push 0
push eax
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
push esi
call ebx
test eax, eax
je 0x44672c
mov ecx, dword [esp + 0xf4]
push ebp
push edi
push ecx
call fcn.00446510
add esp, 0xc
cmp eax, 0xffffffff
je 0x44672c
push 0
push 0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea edx, [esp + 0x10]
push 0
push edx
lea eax, [esp + 0x24]
push 0x18
push eax
push esi
call ebx
test eax, eax
je 0x44672c
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x44672c
mov eax, dword [esp + 0x20]
test eax, eax
je 0x44672c
mov eax, dword [esp + 0x28]
test eax, eax
je 0x44672c
mov ecx, dword [esp + 0x68]
push ebp
push edi
lea edx, [ecx*4]
sub eax, edx
push eax
call fcn.00446510
add esp, 0xc
mov ebx, eax
cmp ebx, 0xffffffff
push edi
je 0x44672d
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
push 0
push 0
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea eax, [esp + 0x10]
push 0
push eax
lea ecx, [esp + 0x1c]
push 4
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x446736
mov eax, dword [esp + 0x14]
test eax, eax
je 0x446736
sub eax, dword [esp + 0x68]
je 0x446736
cmp eax, 0x80000000
jb 0x446738
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x11c
ret
push edi
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x11c
ret
Function at 0x446780
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x128
push ebx
push esi
xor esi, esi
push esi
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
cmp ebx, 0xffffffff
je 0x44681f
push edi
mov ecx, 0x49
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
lea eax, [esp + 0xc]
mov dword [esp + 0xc], pe_nt_image_headers32
push eax
push ebx
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x44680c
mov edi, dword [esp + 0x138]
cmp dword [esp + 0x14], edi
je 0x4467f1
lea ecx, [esp + 0xc]
push ecx
push ebx
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x4467c9
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop edi
pop esi
pop ebx
add esp, 0x128
ret
mov edi, dword [esp + 0x13c]
test edi, edi
je 0x446807
mov ecx, 0x4a
lea esi, [esp + 0xc]
rep movsd dword es:[edi], dword [esi]
mov esi, 1
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop edi
pop esi
pop ebx
add esp, 0x128
ret
mov eax, esi
pop esi
pop ebx
add esp, 0x128
ret

Function at 0x4468c0
Capabilities:
Get file size
Read file via mapping

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push edi
push 0
push 0x80
push 3
push 0
push 3
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x44695f
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0x2bc
jae 0x446902
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
ret
push 0
push 0
push 0
push 2
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov edi, eax
test edi, edi
jne 0x446924
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
ret
push 0
push 0
push 0
push 4
push edi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ebx, eax
test ebx, ebx
je 0x446953
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push ecx
push edx
push ebx
call fcn.00446970
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push esi
call edi
pop edi
pop esi
pop ebx
ret
Function at 0x44e216
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48435c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
lea ecx, [esi + 8]
call sub.MFC42.DLL_CPtrArray::CPtrArray
xor edi, edi
lea ecx, [esi + 0x1c]
mov dword [esp + 0x14], edi
call sub.MFC42.DLL_CPtrArray::CPtrArray
lea ecx, [esi + 0x30]
mov byte [esp + 0x14], 1
call sub.MFC42.DLL_CPtrArray::CPtrArray
lea ecx, [esi + 0x44]
mov byte [esp + 0x14], 2
call sub.MFC42.DLL_CPtrArray::CPtrArray
lea ecx, [esi + 0x58]
mov byte [esp + 0x14], 3
call sub.MFC42.DLL_CPtrArray::CPtrArray
mov ecx, dword [esp + 0xc]
mov eax, 0xa
mov dword [esi + 0x6c], 0x49010c
mov dword [esi + 0x78], edi
mov dword [esi + 0x7c], edi
mov dword [esi + 0x74], edi
mov dword [esi + 0x70], edi
mov dword [esi + 0x80], edi
mov dword [esi + 0x84], eax
mov dword [esi + 0x88], 0x4900f8
mov dword [esi + 0x94], edi
mov dword [esi + 0x98], edi
mov dword [esi + 0x90], edi
mov dword [esi + 0x8c], edi
mov dword [esi + 0x9c], edi
mov dword [esi + 0xa0], eax
mov dword [esi + 4], edi
mov dword [esi], 0x4900f4
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret