joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46f5b0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x55d174
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x668038]
xor eax, esp
push eax
lea eax, [esp + 8]
mov dword fs:[0], eax
mov esi, dword [esp + 0x18]
mov dword [esp + 0x10], 7
lea eax, [esi + 0xb8]
call fcn.004375a0
mov byte [esp + 0x10], 6
lea eax, [esi + 0x94]
push eax
call fcn.0046f530
mov byte [esp + 0x10], 5
lea ecx, [esi + 0x80]
push ecx
call fcn.0046f4c0
mov byte [esp + 0x10], 4
lea edx, [esi + 0x6c]
push edx
call fcn.0046f3e0
mov byte [esp + 0x10], 3
lea eax, [esi + 0x58]
push eax
call fcn.0046f300
mov byte [esp + 0x10], 2
lea ecx, [esi + 0x44]
push ecx
call fcn.0046f220
mov byte [esp + 0x10], 1
lea edx, [esi + 0x30]
push edx
call fcn.0046f140
mov byte [esp + 0x10], 0
lea eax, [esi + 0x14]
push eax
call fcn.0046f060
mov dword [esp + 0x10], 0xffffffff
mov eax, dword [esi + 0xc]
mov dword [esi], vtable.ScriptObjectDispatchImpl_struct_IApplication_.1.0
mov dword [esi + 4], vtable.ScriptObjectDispatchImpl_struct_IApplication_.0
test eax, eax
je 0x46f67b
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esi + 0xc], 0
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0xc
ret 4

Function at 0x473cd0
Capabilities:
Read clipboard data

Disassembly:
push 0xe1000018
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [esi + 0xc]
cmp eax, 0x13
jne 0x473ce8
mov eax, 1
push eax
call dword [sym.imp.USER32.dll_GetClipboardData]
mov dword [esi + 8], eax
test eax, eax
jne 0x473cff
call dword [sym.imp.USER32.dll_CloseClipboard]
xor al, al
ret
mov al, 1
ret
Function at 0x47f610
Capabilities:
Log keystrokes via polling

Disassembly:
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, dword [esi + 0x5c08]
xor edx, edx
shr eax, 0xf
and al, 1
sub ecx, edx
je 0x47f66f
sub ecx, 1
je 0x47f64b
sub ecx, 1
jne 0x47f686
cmp dword [edi + 4], 0x105
jne 0x47f686
cmp dword [edi + 8], 0x12
jne 0x47f686
mov dword [esi + 0x5c08], edx
mov al, 1
ret
mov eax, dword [edi + 4]
cmp eax, 0x105
jne 0x47f65b
cmp dword [edi + 8], 0x12
je 0x47f642
cmp eax, 0x202
jne 0x47f686
mov dword [esi + 0x5c08], 2
xor al, al
ret
cmp dword [edi + 4], 0x201
jne 0x47f686
cmp al, dl
je 0x47f686
mov dword [esi + 0x5c08], 1
xor al, al
ret
Function at 0x481070
Capabilities:
Write file on windows

Disassembly:
mov ecx, dword [edi]
sub esp, 0x18
test ecx, ecx
je 0x481122
cmp dword [esi + 0x1c], 0
jne 0x48111c
mov edx, dword [esi + 0x753bc]
cmp edx, 0xffffffff
je 0x48111c
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 4], eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x753c0]
mov dword [esp + 0x14], eax
lea eax, [esp + 4]
push eax
lea eax, [esp + 4]
push eax
push ecx
mov ecx, dword [esp + 0x28]
push ecx
push edx
mov dword [esp + 0x14], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x48111c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [esi + 0x753bc]
cmp eax, 0x3e5
je 0x481109
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x753bc], 0xffffffff
mov dword [edi], 0
add esp, 0x18
ret 4
push 1
lea eax, [esp + 4]
push eax
lea ecx, [esp + 0xc]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
mov dword [edi], 0
add esp, 0x18
ret 4

Function at 0x484380
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
lea eax, [esi + 0x64]
push eax
push 0
push esi
push 0x4843d0
push 0
push 0
call dword [sym.imp.MSVCR90.dll__beginthreadex]
add esp, 0x18
mov dword [esi + 0x60], eax
test eax, eax
setne al
pop esi
ret
Function at 0x48a990
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x218
mov eax, dword [0x668038]
xor eax, esp
mov dword [esp + 0x214], eax
mov ecx, esi
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::Empty]
lea eax, [esp]
push eax
push 1
push 0
push str.SoftwareClasses_telnet_shellopencommand
push getpeername
mov dword [esp + 0x14], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x48a9ec
call fcn.00493a10
xor al, al
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.0054eee2
add esp, 0x218
ret
push edi
lea ecx, [esp + 8]
push ecx
mov ecx, dword [esp + 8]
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x14]
push eax
push 0
push 0x5fd800
push ecx
mov dword [esp + 0x20], 0x208
mov dword [esp + 0x24], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [esp + 4]
push edx
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
pop edi
jne 0x48a9d0
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator]
mov ecx, dword [esp + 0x214]
xor ecx, esp
mov al, 1
call fcn.0054eee2
add esp, 0x218
ret

Function at 0x48add0
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x569db6
mov eax, dword fs:[0]
push eax
sub esp, 0x13c
mov eax, dword [0x668038]
xor eax, esp
mov dword [esp + 0x138], eax
push esi
push edi
mov eax, dword [0x668038]
xor eax, esp
push eax
lea eax, [esp + 0x148]
mov dword fs:[0], eax
mov eax, dword [0x680770]
add eax, 0x43c
call fcn.0040f1f0
test eax, eax
je 0x48aecf
lea eax, [esp + 0x2c]
push eax
mov dword [esp + 0x30], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 0x30], 6
jb 0x48ae59
mov edx, dword [0x680770]
add edx, 0x43c
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0
call fcn.00435b90
jmp 0x48ae5e
call fcn.0043d6d0
xor ecx, ecx
lea edi, [esp + 0x1c]
call fcn.004ad4f0
mov dword [esp + 0x150], 0
mov eax, edi
call fcn.004665c0
push eax
mov eax, 0x604a88
lea esi, [esp + 0x18]
call fcn.004a8170
mov byte [esp + 0x150], 1
mov ecx, dword [0x680770]
mov edx, dword [ecx + 0x43c]
mov edx, dword [edx + 8]
add ecx, 0x43c
push 0
mov eax, esi
push eax
call edx
mov byte [esp + 0x150], 0
mov ecx, esi
call fcn.004a8190
mov dword [esp + 0x150], 0xffffffff
mov ecx, edi
call fcn.004ad650
mov ecx, dword [esp + 0x148]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x138]
xor ecx, esp
call fcn.0054eee2
add esp, 0x148
ret
Function at 0x48cc60
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x557ae8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x668038]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
push 0
push 4
push 0
push 0
call fcn.00466f60
push eax
call sub.mfc90u.dll_AfxBeginThread
push 0
push 0x677654
push 0x677638
push 0
push eax
call sub.MSVCR90.dll___RTDynamicCast
mov ebx, dword [ebp + 8]
mov edi, eax
add esp, 0x14
mov eax, ebx
mov dword [esp + 0x14], edi
call fcn.004d57a0
mov eax, dword [eax]
push 0
push 0x675ee8
push 0x675f04
push 0
push eax
call sub.MSVCR90.dll___RTDynamicCast
add esp, 0x14
push edi
add esi, 0xffffffa8
mov edi, eax
call fcn.0048d850
mov eax, ebx
call fcn.00416730
test al, al
jne 0x48cd3a
push ebx
call fcn.00419dc0
mov esi, eax
mov dword [esp + 0x18], esi
xor edi, edi
mov dword [esp + 0x28], edi
mov ecx, dword [esp + 0x14]
push edi
push edi
push ecx
mov ecx, esi
call fcn.00467760
mov dword [esp + 0x28], 0xffffffff
cmp esi, edi
je 0x48cd2f
mov edx, dword [esi]
mov eax, dword [edx + 8]
push esi
mov dword [esp + 0x1c], edi
call eax
mov eax, ebx
call fcn.00416730
test al, al
je 0x48ccf7
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x48d670
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
push edi
push 0
push 4
push 0
push 0
mov esi, eax
call fcn.00466f60
push eax
call sub.mfc90u.dll_AfxBeginThread
push 0
push 0x677654
push 0x677638
push 0
push eax
call sub.MSVCR90.dll___RTDynamicCast
mov ebx, eax
mov eax, dword [esi]
mov edx, dword [eax + 0x24]
add esp, 0x14
mov ecx, esi
call edx
movzx eax, al
push eax
mov eax, esi
call fcn.00441810
mov edx, dword [esi]
push eax
mov eax, dword [edx + 0x78]
mov ecx, esi
call eax
push ebx
mov ecx, eax
call fcn.00467760
mov edx, dword [esi]
mov eax, dword [edx + 0x78]
mov ecx, esi
call eax
mov esi, dword [esp + 0x10]
push ebx
mov edi, eax
call fcn.0048d850
mov ecx, dword [ebx + 0x2c]
pop edi
pop esi
pop ebx
mov dword [esp + 4], ecx
jmp dword [sym.imp.KERNEL32.dll_ResumeThread]
Function at 0x48d6f0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, eax
lea ecx, [esi + 0x58]
mov eax, edi
call fcn.004061e0
test al, al
je 0x48d789
push 0
push 4
push 0
push 0
call fcn.00466f60
push eax
call sub.mfc90u.dll_AfxBeginThread
push 0
push 0x677654
push 0x677638
push 0
push eax
call sub.MSVCR90.dll___RTDynamicCast
add esp, 0x14
mov ebx, eax
call fcn.00467840
mov eax, edi
mov ecx, esi
call fcn.0048d620
mov edx, dword [eax]
mov dword [esp + 0x14], eax
mov ecx, eax
mov eax, dword [edx + 0x78]
call eax
push ebx
mov edi, eax
call fcn.0048d850
mov ecx, dword [ebp + 8]
mov edi, dword [esp + 0x14]
push ecx
lea edx, [esp + 0x17]
push edx
mov eax, esi
mov byte [esp + 0x1b], 0
call fcn.0048cfa0
push ebx
mov ecx, edi
call fcn.004676b0
mov eax, dword [ebx + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x491fc0
Capabilities:
Log keystrokes via polling

Disassembly:
push 0xffffffffffffffff
push 0x575f81
mov eax, dword fs:[0]
push eax
sub esp, 0x13c
mov eax, dword [0x668038]
xor eax, esp
mov dword [esp + 0x138], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x668038]
xor eax, esp
push eax
lea eax, [esp + 0x150]
mov dword fs:[0], eax
mov eax, dword [esp + 0x160]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x168]
mov ebp, dword [eax]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x164]
mov edi, ecx
test ax, ax
je 0x492055
push eax
call dword [sym.imp.USER32.dll_VkKeyScanW]
movzx eax, ax
mov edi, eax
sar ax, 8
and edi, 0xff
test al, 1
je 0x492041
or ebp, 0x8000000
test al, 2
je 0x49204b
or ebp, 0x4000000
test al, 4
je 0x492055
or ebp, 0x10000000
push pe_nt_image_headers32
lea ecx, [esp + 0x50]
push 0
push ecx
call sub.MSVCR90.dll_memset
mov ebx, dword [esp + 0x178]
add esp, 0xc
shr ebx, 0x19
and ebx, 0xffffff01
push ebx
push 1
xor ecx, ecx
mov eax, edi
lea esi, [esp + 0x40]
mov byte [esp + edi + 0x54], 0x80
call fcn.004ae750
mov dword [esp + 0x158], 0
mov ecx, esi
call fcn.004ae8c0
mov dl, 0x81
test ebp, 0x8000000
je 0x4920b5
or byte [esp + 0x5c], dl
push 1
call fcn.004ae8f0
test ebp, 0x4000000
je 0x4920cc
push 1
lea ecx, [esp + 0x3c]
mov byte [esp + 0x61], dl
call fcn.004ae8e0
test ebp, 0x10000000
je 0x4920e3
push 1
lea ecx, [esp + 0x3c]
mov byte [esp + 0x62], dl
call fcn.004ae8d0
lea ecx, [esp + 0x18]
call fcn.004992d0
mov byte [esp + 0x158], 1
push 0
push 5
mov eax, 5
lea ecx, [esp + 0x20]
call fcn.004994c0
push eax
lea edx, [esp + 0x58]
push edx
push 0
push edi
call dword [sym.imp.USER32.dll_ToUnicode]
lea ecx, [esp + 0x18]
mov edi, eax
call fcn.00499c10
test edi, edi
jle 0x49212d
mov eax, dword [esp + 0x18]
movzx eax, word [eax]
jmp 0x492134
mov eax, dword [esp + 0x164]
push ebx
movzx ecx, ax
push 1
xor eax, eax
lea esi, [esp + 0x2c]
call fcn.004ae750
mov byte [esp + 0x158], 2
mov ecx, esi
call fcn.004ae8c0
mov ebp, dword [esp + 0x20]
mov edx, dword [ebp]
test edx, 0x8000000
je 0x49216a
push 1
call fcn.004ae8f0
test edx, 0x4000000
je 0x49217d
push 1
lea ecx, [esp + 0x28]
call fcn.004ae8e0
test edx, 0x10000000
je 0x492190
push 1
lea ecx, [esp + 0x28]
call fcn.004ae8d0
mov ebx, dword [esp + 0x170]
test ebx, ebx
jle 0x4921d6
mov esi, dword [esp + 0x1c]
push 1
lea ecx, [esp + 0x3c]
push ecx
mov eax, esi
call fcn.0045a2a0
test edi, edi
jle 0x4921c4
lea ecx, [esp + 0x24]
call fcn.004ae900
test al, al
jne 0x4921c4
push esi
call fcn.0045a670
push 0
lea eax, [esp + 0x3c]
mov ecx, esi
call fcn.0045a900
sub ebx, 1
jne 0x49219b
mov edx, dword [esp + 0x174]
mov dword [ebp], edx
mov byte [esp + 0x158], 1
lea ecx, [esp + 0x24]
call fcn.004ae7c0
mov byte [esp + 0x158], 0
lea ecx, [esp + 0x18]
call fcn.00499450
mov dword [esp + 0x158], 0xffffffff
mov ecx, dword [esp + 0x150]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x138]
xor ecx, esp
call fcn.0054eee2
add esp, 0x148
ret 0x18
Function at 0x492840
Capabilities:
Open clipboard

Disassembly:
push 0xffffffffffffffff
push 0x552621
mov eax, dword fs:[0]
push eax
sub esp, 0x70
push ebx
push ebp
push esi
push edi
mov eax, dword [0x668038]
xor eax, esp
push eax
lea eax, [esp + 0x84]
mov dword fs:[0], eax
mov edi, ecx
mov esi, edx
mov ebx, dword [sym.imp.KERNEL32.dll_SetLastError]
push 0xe1000017
call ebx
mov eax, dword [esi + 0x20]
mov ebp, dword [sym.imp.USER32.dll_OpenClipboard]
push eax
call ebp
test eax, eax
je 0x4928a4
mov al, 1
mov ecx, dword [esp + 0x84]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x7c
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xe1000017
jne 0x4928ca
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0xe1000017
call ebx
mov ecx, dword [esi + 0x20]
push ecx
call ebp
test eax, eax
jne 0x49288b
call dword [sym.imp.USER32.dll_GetOpenClipboardWindow]
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call ebp
cmp eax, 0xe1000017
jne 0x4929b7
xor ebx, ebx
cmp esi, ebx
je 0x4929b7
lea edx, [esp + 0x18]
push edx
push esi
mov dword [esp + 0x20], ebx
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push 2
push esi
mov ebp, eax
call dword [sym.imp.USER32.dll_GetAncestor]
push 0x6124f8
lea ecx, [esp + 0x18]
mov esi, eax
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_class]
mov dword [esp + 0x8c], ebx
cmp esi, ebx
je 0x492938
push esi
call sub.mfc90u.dll_CWnd::FromHandle
lea ecx, [esp + 0x14]
push ecx
mov ecx, eax
call sub.mfc90u.dll_CWnd::GetWindowTextW
mov edx, dword [0x67f9a0]
push edx
push 0xe1000013
lea eax, [esp + 0x24]
push eax
call fcn.0049c100
mov byte [esp + 0x8c], 1
lea ecx, [esp + 0x1c]
push ecx
call fcn.0049c450
mov byte [esp + 0x8c], bl
lea ecx, [esp + 0x1c]
call fcn.0049c2c0
mov edx, dword [edi]
mov eax, dword [esp + 0x14]
mov edx, dword [edx + 0x28]
push eax
mov ecx, edi
call edx
mov ecx, dword [esp + 0x18]
mov eax, dword [edi]
mov edx, dword [eax + 0x30]
push ecx
push str._1_d_
mov ecx, edi
call edx
mov eax, dword [edi]
mov edx, dword [eax + 0x30]
push ebp
push str._1_d_
mov ecx, edi
call edx
mov dword [esp + 0x8c], 0xffffffff
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
jmp 0x492a35
mov eax, dword [0x67f9a0]
push eax
call ebp
push eax
lea ecx, [esp + 0x58]
push ecx
call fcn.0049c100
mov ebx, 2
mov dword [esp + 0x8c], ebx
mov edx, dword [0x67f9a0]
push edx
push 0xe1000012
lea eax, [esp + 0x24]
push eax
call fcn.0049c100
mov byte [esp + 0x8c], 3
lea ecx, [esp + 0x1c]
push ecx
call fcn.0049c450
mov byte [esp + 0x8c], bl
lea ecx, [esp + 0x1c]
call fcn.0049c2c0
mov esi, dword [edi]
lea ecx, [esp + 0x50]
call fcn.0049c6c0
mov edx, dword [esi + 0x28]
push eax
mov ecx, edi
call edx
mov dword [esp + 0x8c], 0xffffffff
lea ecx, [esp + 0x50]
call fcn.0049c2c0
xor al, al
mov ecx, dword [esp + 0x84]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x7c
ret
Function at 0x496680
Capabilities:
Write clipboard data

Disassembly:
push 0xffffffffffffffff
push 0x554760
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push edi
mov eax, dword [0x668038]
xor eax, esp
push eax
lea eax, [esp + 0x74]
mov dword fs:[0], eax
mov edi, ecx
call fcn.00492840
test al, al
jne 0x4966c9
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov ecx, dword [esp + 0x74]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
add esp, 0x74
ret
mov ebx, dword [sym.imp.KERNEL32.dll_SetLastError]
push 0xe1000018
call ebx
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
jne 0x49677e
mov eax, dword [0x67f9a0]
push eax
push 0xe1000015
lea ecx, [esp + 0x14]
push ecx
call fcn.0049c100
mov dword [esp + 0x7c], 0
lea edx, [esp + 0xc]
push edx
call fcn.0049c450
mov dword [esp + 0x7c], 0xffffffff
lea ecx, [esp + 0xc]
call fcn.0049c2c0
mov eax, dword [0x67f9a0]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [esp + 0x48]
push ecx
call fcn.0049c100
mov dword [esp + 0x7c], 1
mov ebx, dword [edi]
lea ecx, [esp + 0x40]
call fcn.0049c6c0
mov edx, dword [ebx + 0x28]
push eax
mov ecx, edi
call edx
call dword [sym.imp.USER32.dll_CloseClipboard]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [esp + 0x7c], 0xffffffff
lea ecx, [esp + 0x40]
call fcn.0049c2c0
mov ecx, dword [esp + 0x74]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
add esp, 0x74
ret
push 0xe1000018
call ebx
push esi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
jne 0x496818
mov eax, dword [0x67f9a0]
push eax
push 0xe1000014
lea ecx, [esp + 0x48]
push ecx
call fcn.0049c100
mov dword [esp + 0x7c], 2
lea edx, [esp + 0x40]
push edx
call fcn.0049c450
mov dword [esp + 0x7c], 0xffffffff
lea ecx, [esp + 0x40]
call fcn.0049c2c0
mov eax, dword [0x67f9a0]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [esp + 0x14]
push ecx
call fcn.0049c100
mov dword [esp + 0x7c], 3
mov ebx, dword [edi]
lea ecx, [esp + 0xc]
call fcn.0049c6c0
mov edx, dword [ebx + 0x28]
push eax
mov ecx, edi
call edx
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [esp + 0x7c], 0xffffffff
lea ecx, [esp + 0xc]
call fcn.0049c2c0
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ecx, dword [esp + 0x74]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
add esp, 0x74
ret
Function at 0x496970
Capabilities:
Log keystrokes via input method manager

Disassembly:
push 0xffffffffffffffff
push 0x557919
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push ebp
push esi
push edi
mov eax, dword [0x668038]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, dword [esp + 0x4c]
mov ebp, dword [esp + 0x48]
push 0
push 0
push esi
push ebx
mov dword [esp + 0x28], 0
call sub.IMM32.dll_ImmGetCompositionStringW
mov edi, eax
push 0
test edi, edi
jg 0x4969e0
or edi, 0xffffffff
mov eax, 0x5fd800
mov esi, ebp
call fcn.004993c0
mov dword [esp + 0x40], 0
mov dword [esp + 0x18], 1
jmp 0x496a79
lea eax, [esp + 0x24]
push eax
call fcn.0049e8f0
mov dword [esp + 0x40], 1
push edi
lea ecx, [esp + 0x24]
call fcn.00466ed0
push eax
push esi
push ebx
call sub.IMM32.dll_ImmGetCompositionStringW
mov esi, eax
test esi, esi
jg 0x496a25
push 0
or edi, 0xffffffff
mov eax, 0x5fd800
mov esi, ebp
call fcn.004993c0
mov dword [esp + 0x18], 1
jmp 0x496a6b
push esi
lea ecx, [esp + 0x24]
call fcn.0049ead0
push 0
lea ecx, [esp + 0x24]
shr esi, 1
call fcn.00466ed0
mov edi, esi
lea esi, [esp + 0x20]
call fcn.004993c0
mov byte [esp + 0x40], 2
mov eax, esi
mov esi, ebp
call fcn.004992f0
mov dword [esp + 0x18], 1
mov byte [esp + 0x40], 1
lea ecx, [esp + 0x1c]
call fcn.00499450
mov byte [esp + 0x40], 0
lea ecx, [esp + 0x20]
call fcn.0049ea40
mov eax, ebp
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret

Function at 0x496d30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x552577
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x668038]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x30]
push eax
push 0x612d98
push 0x1244
push 0x612efc
push 0
push 0x612f04
push ecx
push 0
push 1
mov ecx, esi
call sub.CommonUI67U.dll_public:_void___thiscall_VFileDialog::constructor_int__wchar_t_const___wchar_t_const___wchar_t_const___wchar_t_const___wchar_t_const___unsigned_long_int__wchar_t_const___class_CWnd__
mov dword [esp + 0x14], 0
mov edx, dword [esp + 0x24]
lea ecx, [esi + 0x102b4]
mov dword [esi], vtable.TransferFileListDialog.0
mov dword [esi + 0x102b0], edx
call dword [0x579590]
mov byte [esp + 0x14], 1
mov ecx, dword [esp + 0x2c]
mov al, byte [esp + 0x28]
mov dword [esi + 0x102c0], ecx
mov ecx, esi
mov byte [esi + 0x102bc], al
mov byte [esi + 0x102c4], 0
call sub.mfc90u.dll_CFileDialog::GetOFN
xor edx, edx
mov dword [eax + 0x48], 0x60b
lea edi, [esi + 0x330]
mov ecx, esi
mov word [edi], dx
call sub.mfc90u.dll_CFileDialog::GetOFN
mov ecx, esi
mov dword [eax + 0x1c], edi
call sub.mfc90u.dll_CFileDialog::GetOFN
mov ecx, esi
mov dword [eax + 0x20], 0x7fc0
call sub.mfc90u.dll_CFileDialog::GetOFN
mov ecx, dword [esp + 0x20]
mov dword [eax + 0x2c], ecx
mov ecx, esi
call sub.mfc90u.dll_CFileDialog::GetOFN
mov dword [eax], 0x4c
mov eax, dword [0x680770]
add eax, 0xf08
call fcn.0040f1f0
mov dword [esi + 0x102b8], eax
mov dword [esp + 0x14], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 0x18
Function at 0x49c180
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5524ab
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x668038]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
lea eax, [esi + 8]
xor ecx, ecx
mov dword [esi], vtable.VReportMessageParams.0
mov dword [esi + 4], 0xffffffff
call fcn.0049c980
xor eax, eax
mov dword [esp + 0x14], eax
mov ecx, dword [0x67f9a0]
mov dword [esi + 0x20], ecx
mov ecx, esi
mov dword [esi + 0x1c], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
call fcn.0049c360
mov dword [esp + 0x14], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret

Function at 0x49e1f0
Capabilities:
Read file on windows

Disassembly:
mov edx, dword [esp + 8]
push 0
push eax
mov eax, dword [esp + 0xc]
push ecx
mov ecx, dword [eax + 4]
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
neg eax
sbb eax, eax
neg eax
ret 8

Function at 0x49e210
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x14
mov ecx, dword [esp + 0x28]
xor eax, eax
push ebx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 4], eax
mov dword [esp + 8], eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x28]
lea edx, [esp + 4]
push edx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x28]
push esi
push eax
mov eax, dword [edx + 4]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x2c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
setne bl
test bl, bl
jne 0x49e27b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x26
jne 0x49e27b
mov al, 1
mov dword [esi], 0
pop ebx
add esp, 0x14
ret 0x14
mov al, bl
pop ebx
add esp, 0x14
ret 0x14

Function at 0x49e320
Capabilities:
Write file on windows

Disassembly:
mov edx, dword [esp + 8]
push 0
push eax
mov eax, dword [esp + 0xc]
push ecx
mov ecx, dword [eax + 4]
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
neg eax
sbb eax, eax
neg eax
ret 8

Function at 0x49e340
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x14
mov ecx, dword [esp + 0x28]
xor eax, eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp], eax
mov dword [esp + 4], eax
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x2c]
lea edx, [esp]
push edx
mov edx, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x28]
push ecx
mov ecx, dword [eax + 4]
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
neg eax
sbb eax, eax
neg eax
add esp, 0x14
ret 0x18