joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a82fa
Capabilities:
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2cc
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
call fcn.004a1d37
add esp, 4
and eax, 0xff
test eax, eax
je 0x4a8383
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push 0x2cc
push 0
lea eax, [ebp - 0x2cc]
push eax
call fcn.004b3220
add esp, 0xc
mov dword [ebp - 0x2cc], 0x10001
lea ecx, [ebp - 0x2cc]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x4a8381
mov ecx, dword [ebp - 0x214]
cmp ecx, dword [ebp + 0xc]
jne 0x4a8381
jmp 0x4a8383
jmp 0x4a8303
mov esp, ebp
pop ebp
ret

Function at 0x4a87f3
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
movsx eax, byte [0x4de4b8]
test eax, eax
jne 0x4a8807
call fcn.004a8724
xor ecx, ecx
mov cl, byte [0x4de4b5]
test ecx, ecx
jne 0x4a888e
xor edx, edx
mov dl, byte [0x4de4b4]
test edx, edx
jne 0x4a888e
cmp dword [0x4de6c0], 0
je 0x4a8869
mov eax, dword [ebp + 0xc]
push eax
push 0
push 0x180
mov ecx, dword [0x4de6c0]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 4], eax
push 0
mov edx, dword [ebp - 4]
push edx
push 0x186
mov eax, dword [0x4de6c0]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [0x4de6c0]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
jmp 0x4a888e
push 0x10001
push 0x4de4b8
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 2
jne 0x4a888e
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov esp, ebp
pop ebp
ret
Function at 0x4ab99a
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
jne 0x4ab9aa
xor eax, eax
jmp 0x4abb73
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
mov dword [ebp + 8], eax
cmp dword [ebp + 0x10], 8
jb 0x4abb2b
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x4dbefc]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x4dbefc]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x4dbefc]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x4dbefc]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x4dbefc]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x4dbefc]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x4dbefc]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x4dbefc]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0x10]
sub ecx, 8
mov dword [ebp + 0x10], ecx
jmp 0x4ab9b3
cmp dword [ebp + 0x10], 0
je 0x4abb6d
mov edx, dword [ebp + 0xc]
xor eax, eax
mov al, byte [edx]
mov ecx, dword [ebp + 8]
xor ecx, eax
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
mov eax, dword [ecx*4 + 0x4dbefc]
xor eax, edx
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0x10]
sub edx, 1
mov dword [ebp + 0x10], edx
cmp dword [ebp + 0x10], 0
jne 0x4abb31
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
pop ebp
ret
Function at 0x4b53b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4d94d8
cmp edx, dword [eax]
je 0x4b53d2
add eax, 8
inc ecx
cmp eax, 0x4d9568
jl 0x4b53c3
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4d94d8]
jne 0x4b5500
mov eax, dword [0x4de740]
cmp eax, 1
je 0x4b54da
test eax, eax
jne 0x4b5403
cmp dword [0x4d9214], 1
je 0x4b54da
cmp edx, 0xfc
je 0x4b5500
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4b543a
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004b3380
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004b3530
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4b547d
lea eax, [ebp - 0x1a4]
push eax
call fcn.004b3530
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4dd314
push edi
call fcn.004b35b0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004b3380
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004b3390
lea eax, [ebp - 0xa0]
push 0x4dd2f4
push eax
call fcn.004b3390
push dword [esi + 0x4d94dc]
lea eax, [ebp - 0xa0]
push eax
call fcn.004b3390
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004b7978
add esp, 0x2c
pop edi
jmp 0x4b5500
lea eax, [ebp + 8]
lea esi, [esi + 0x4d94dc]
push 0
push eax
push dword [esi]
call fcn.004b3530
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x100f663
Capabilities:
Get file attributes

Disassembly:
mov eax, 0x1036d95
call fcn.01035f78
sub esp, 0x3c
mov eax, dword [ecx + 0x81c]
push esi
push edi
mov dword [ebp - 0x24], eax
mov eax, dword [eax - 8]
xor esi, esi
push esi
push esi
add eax, eax
push 0x21
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x28]
add eax, 2
xor edi, edi
mov word [ebp - 0x26], ax
inc edi
push edi
push 7
push esi
lea eax, [ebp - 0x28]
mov dword [ebp - 0x40], eax
push esi
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x48]
push eax
push 0x120089
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x48], 0x18
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x3c], 0x40
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], esi
call dword [0x1001c0c]
cmp eax, 0xc0000034
je 0x100f7c9
cmp eax, 0xc000003a
je 0x100f7c9
cmp eax, 0xc000003b
je 0x100f7c9
cmp eax, esi
jge 0x100f6fc
xor eax, eax
jmp 0x100f7cb
push ebx
mov ebx, 0x2800
push ebx
mov dword [ebp - 0x14], edi
call dword [sym.imp.msvcrt.dll_malloc]
pop ecx
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x14], esi
je 0x100f7b0
mov edi, dword [ebp - 0x18]
push esi
push esi
push esi
push 1
push ebx
push edi
lea eax, [ebp - 0x30]
push eax
push esi
push esi
push esi
push dword [ebp - 0x1c]
call dword [0x1001c08]
cmp eax, esi
mov dword [ebp - 0x20], eax
je 0x100f741
cmp eax, 0x80000005
jne 0x100f7b0
mov eax, dword [edi + 0x3c]
shr eax, 1
push eax
lea eax, [edi + 0x40]
push eax
lea ecx, [ebp - 0x10]
call fcn.01034f4a
push 0x10036d4
push dword [ebp - 0x10]
call dword [sym.imp.msvcrt.dll_wcscmp]
test eax, eax
pop ecx
pop ecx
je 0x100f780
push 0x10036cc
push dword [ebp - 0x10]
call dword [sym.imp.msvcrt.dll_wcscmp]
test eax, eax
pop ecx
pop ecx
je 0x100f780
mov dword [ebp - 0x14], esi
jmp 0x100f788
mov eax, dword [edi]
cmp eax, esi
je 0x100f79b
add edi, eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42u.dll_CString::CString
cmp dword [ebp - 0x14], esi
jne 0x100f741
jmp 0x100f7a7
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42u.dll_CString::CString
cmp dword [ebp - 0x20], esi
je 0x100f710
push dword [ebp - 0x18]
call dword [sym.imp.msvcrt.dll_free]
pop ecx
push dword [ebp - 0x1c]
call dword [0x10011ac]
mov eax, dword [ebp - 0x14]
pop ebx
jmp 0x100f7cb
mov eax, edi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x101d2f8
Capabilities:
Terminate process

Disassembly:
mov eax, 0x10385da
call fcn.01035f78
sub esp, 0x38
mov eax, dword [0x1044924]
push ebx
push esi
mov esi, ecx
push edi
lea edi, [esi + 0x44]
mov dword [ebp - 0x10], eax
mov eax, dword [edi]
xor ebx, ebx
cmp dword [eax - 8], ebx
mov dword [ebp - 0x38], ebx
jle 0x101d326
mov ax, word [eax]
jmp 0x101d328
xor eax, eax
cmp ax, 0x3f
jne 0x101d39a
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x40], 8
mov dword [ebp - 0x3c], 0x18aa
call fcn.01036472
cmp eax, ebx
mov dword [ebp - 0x34], eax
je 0x101d39a
cmp dword [eax + 4], ebx
jne 0x101d392
add eax, 0xc
cmp word [eax], bx
je 0x101d392
push eax
mov ecx, edi
call sub.MFC42u.dll_CString::operator_2
lea eax, [esi + 0x40]
push eax
push edi
call fcn.0100eb2c
test al, al
je 0x101d378
mov dword [ebp - 0x38], 1
jmp 0x101d392
lea eax, [ebp - 0x44]
push eax
push ebx
push ebx
push 0x101d0b7
push ebx
push ebx
call dword [0x10011bc]
push eax
call dword [0x10011ac]
push dword [ebp - 0x34]
call fcn.0103648a
lea edi, [esi + 0x48]
mov eax, dword [edi]
cmp dword [eax - 8], ebx
jle 0x101d3a9
mov ax, word [eax]
jmp 0x101d3ab
xor eax, eax
cmp ax, 0x3f
jne 0x101d3f5
lea eax, [ebp - 0x30]
push eax
call fcn.0103647e
cmp word [ebp - 0x30], bx
je 0x101d3f5
lea eax, [ebp - 0x30]
push 0x1005374
push eax
call dword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
pop ecx
pop ecx
je 0x101d3f5
lea eax, [ebp - 0x30]
push eax
mov ecx, edi
call sub.MFC42u.dll_CString::operator_2
lea eax, [esi + 0x40]
push eax
push edi
call fcn.0100eb2c
test al, al
je 0x101d3f5
mov dword [ebp - 0x38], 1
cmp dword [ebp - 0x38], ebx
je 0x101d426
mov edi, dword [edi]
mov eax, dword [esi + 0x44]
mov esi, dword [esi + 0x40]
push edi
push eax
push esi
push 0xce8
lea ecx, [ebp - 0x34]
call fcn.01023540
push ebx
push dword [ebp - 0x34]
mov dword [ebp - 4], ebx
push ebx
call fcn.0101f7fe
push ebx
call dword [sym.imp.msvcrt.dll_exit]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop ebx
call fcn.01034945
leave
ret
Function at 0x101d501
Capabilities:
Terminate process

Disassembly:
mov eax, 0x103862a
call fcn.01035f78
sub esp, 0x20
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.010351ae
lea ebx, [esi + 0x40]
xor edi, edi
mov ecx, ebx
mov dword [ebp - 4], edi
mov dword [esi], 0x10052b4
call sub.MFC42u.dll_CString::CString_3
lea ecx, [esi + 0x44]
mov byte [ebp - 4], 1
call sub.MFC42u.dll_CString::CString_3
lea ecx, [esi + 0x48]
mov byte [ebp - 4], 2
call sub.MFC42u.dll_CString::CString_3
mov byte [ebp - 4], 3
call fcn.0101d2b7
push 0x10020bc
push 0x10020b4
push ebx
mov dword [esi + 0x5c], eax
mov dword [esi + 0x60], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], edi
call sub.MFC42u.dll_CString::Format
add esp, 0xc
mov ebx, 0x10053dc
push ebx
lea ecx, [esi + 0x44]
call sub.MFC42u.dll_CString::operator_2
push ebx
lea ebx, [esi + 0x48]
mov ecx, ebx
call sub.MFC42u.dll_CString::operator_2
cmp dword [esi + 0x5c], edi
jne 0x101d595
mov ecx, esi
call fcn.0101d2f8
lea eax, [esi + 0x44]
push eax
lea eax, [esi + 0x40]
push eax
call fcn.0100b087
test al, al
je 0x101d5b8
push ebx
lea eax, [esi + 0x40]
push eax
call fcn.0100b087
test al, al
jne 0x101d6df
movzx eax, word [0x1044cb8]
push edi
push edi
push edi
push edi
push edi
push edi
push edi
push 0xcf0000
push dword [0x1044da4]
mov ecx, esi
push eax
push edi
call sub.MFC42u.dll_CWnd::CreateEx
mov eax, dword [ebp + 8]
mov dword [eax + 0x20], esi
call sub.MFC42u.dll_AfxGetModuleState
cmp dword [esi + 0x5c], edi
mov eax, dword [eax + 8]
mov dword [ebp + 8], eax
je 0x101d601
push 0x10053c0
push eax
call dword [fcn.010019fc]
mov dword [esi + 0x4c], eax
jmp 0x101d61c
mov ebx, dword [fcn.010019fc]
push 0x10053ac
push eax
call ebx
push 0x1005398
push dword [ebp + 8]
mov dword [esi + 0x4c], eax
call ebx
mov dword [esi + 0x50], eax
mov eax, dword [esi + 0x4c]
push 0x1005384
mov dword [esi + 0x54], eax
call fcn.0101fd0d
cmp dword [esi + 0x5c], edi
mov dword [esi + 0x58], eax
push edi
je 0x101d63f
push 0x9c43
jmp 0x101d644
push 0x9c4a
push dword [eax + 4]
call dword [0x1001a30]
push edi
push edi
mov ecx, esi
call fcn.0101d0e5
push edi
push 0x3e8
push 0x3eb
push dword [esi + 0x20]
call dword [0x10019f0]
cmp dword [esi + 0x5c], edi
jne 0x101d69c
push edi
call fcn.01036496
jmp 0x101d69c
push edi
push edi
push edi
lea eax, [ebp - 0x2c]
push eax
call dword [0x1001a40]
test eax, eax
je 0x101d6a1
lea eax, [ebp - 0x2c]
push eax
call dword [0x1001a3c]
lea eax, [ebp - 0x2c]
push eax
call dword [0x1001a38]
cmp dword [esi + 0x54], edi
jne 0x101d677
cmp dword [esi + 0x5c], edi
jne 0x101d6cc
lea eax, [esi + 0x44]
push eax
lea ebx, [esi + 0x40]
push ebx
call fcn.0100eb2c
test al, al
jne 0x101d6c5
lea eax, [esi + 0x48]
push eax
push ebx
call fcn.0100eb2c
test al, al
je 0x101d6cc
push edi
call dword [sym.imp.msvcrt.dll_exit]
push 0x3eb
push dword [esi + 0x20]
call dword [0x10019ec]
call fcn.010202d9
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x101e865
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push edi
push 0x10056ec
mov ebx, ecx
xor edi, edi
push edi
mov dword [ebp - 0xc], ebx
call dword [sym.imp.ADVAPI32.dll_OpenEventLogW]
cmp eax, edi
mov dword [ebp - 0x14], eax
je 0x101e9b1
push esi
xor edi, edi
push edi
call dword [sym.imp.msvcrt.dll_time]
pop ecx
mov esi, eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 4]
push eax
push dword [ebx + 0x70]
sub esi, 0x384
push dword [ebx + 0x74]
mov dword [ebp - 0x10], esi
push edi
push 5
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_ReadEventLogW]
test eax, eax
je 0x101e9a7
cmp dword [ebp - 4], 0
mov edi, dword [ebx + 0x74]
jbe 0x101e88c
cmp dword [edi + 0xc], esi
lea eax, [edi + 0x38]
jl 0x101e990
push 0x10056dc
push eax
call dword [sym.imp.msvcrt.dll_wcscmp]
test eax, eax
pop ecx
pop ecx
je 0x101e903
lea eax, [edi + 0x38]
push 0x10056cc
push eax
call dword [sym.imp.msvcrt.dll_wcscmp]
test eax, eax
pop ecx
pop ecx
jne 0x101e990
mov eax, dword [edi]
add eax, 0xc
push eax
call sub.MFC42u.dll_operatornew
mov esi, eax
test esi, esi
pop ecx
je 0x101e98d
mov eax, dword [edi + 0x14]
mov dword [esi], eax
lea eax, [esi + 8]
and word [eax], 0
mov dword [esi + 4], eax
cmp word [edi + 0x1a], 2
jb 0x101e984
mov ebx, dword [edi + 0x24]
add ebx, edi
push ebx
call dword [sym.imp.msvcrt.dll_wcslen]
lea ebx, [ebx + eax*2 + 2]
push ebx
mov dword [ebp - 8], ebx
lea ebx, [esi + 8]
push ebx
call dword [sym.imp.msvcrt.dll_wcscpy]
push ebx
mov ebx, dword [sym.imp.msvcrt.dll_wcslen]
call ebx
lea eax, [esi + eax*2 + 8]
add esp, 0x10
mov dword [esi + 4], eax
cmp word [edi + 0x1a], 3
jb 0x101e981
push dword [ebp - 8]
call ebx
mov ecx, dword [ebp - 8]
add dword [esi + 4], 2
lea eax, [ecx + eax*2 + 2]
mov ecx, dword [esi + 4]
push eax
push ecx
call dword [sym.imp.msvcrt.dll_wcscpy]
add esp, 0xc
mov ebx, dword [ebp - 0xc]
push esi
lea ecx, [ebx + 0x78]
call sub.MFC42u.dll_CPtrList::AddTail_1
mov esi, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
sub eax, dword [edi]
mov dword [ebp - 4], eax
add edi, dword [edi]
test eax, eax
ja 0x101e8cc
jmp 0x101e88c
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_CloseEventLog]
pop esi
mov ecx, ebx
call fcn.0101e2bc
cmp dword [ebx + 0x84], edi
je 0x101e9d3
mov ecx, ebx
mov dword [0x1044ab8], ebx
call fcn.0101e45a
mov dword [0x1044ab8], edi
pop edi
pop ebx
leave
ret
Function at 0x1020065
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov ecx, dword [ebp + 8]
push esi
push edi
push dword [ebp + 0xc]
call sub.MFC42u.dll_CWnd::GetDlgItem
mov ecx, eax
mov dword [ebp + 0xc], ecx
call fcn.0100b6bd
xor esi, esi
xor edi, edi
test eax, eax
mov dword [ebp - 8], eax
jbe 0x1020135
mov ecx, dword [ebp + 0xc]
push edi
call fcn.0101f55f
inc edi
cmp edi, dword [ebp - 8]
lea esi, [esi + eax + 2]
jb 0x1020090
test esi, esi
je 0x1020135
lea eax, [esi + esi + 8]
push eax
push 2
call dword [fcn.0100117c]
test eax, eax
mov dword [ebp - 4], eax
je 0x1020135
push eax
call dword [fcn.01001178]
mov esi, eax
xor edi, edi
push ebx
mov ecx, dword [ebp + 0xc]
push edi
call fcn.0101f55f
mov ecx, dword [ebp + 0xc]
push esi
push edi
mov ebx, eax
call fcn.0101f087
lea esi, [esi + ebx*2]
mov word [esi], 0xd
inc esi
inc esi
mov word [esi], 0xa
inc esi
inc esi
inc edi
cmp edi, dword [ebp - 8]
jb 0x10200cb
push dword [ebp - 4]
and word [esi], 0
call dword [fcn.01001170]
mov eax, dword [ebp + 8]
push dword [eax + 0x20]
call dword [fcn.01001a4c]
test eax, eax
pop ebx
je 0x102012c
call dword [fcn.01001a68]
push dword [ebp - 4]
push 0xd
call dword [fcn.01001a64]
call dword [fcn.01001a60]
push dword [ebp - 4]
call dword [fcn.01001174]
pop edi
pop esi
leave
ret 8

Function at 0x1026783
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
mov ebx, dword [ebp + 8]
push edi
push ebx
mov edi, ecx
call dword [0x100119c]
test al, 0x10
je 0x10267c9
cmp eax, 0xffffffff
jne 0x10267bd
call dword [0x1001100]
test eax, eax
je 0x10267b8
cmp eax, 2
je 0x10267b8
cmp eax, 3
je 0x10267b8
xor eax, eax
jmp 0x1026827
xor eax, eax
inc eax
jmp 0x1026827
push dword [ebp + 0x10]
mov ecx, edi
call fcn.01026f63
jmp 0x1026827
cmp dword [edi + 0x20], 0
push esi
mov esi, edi
jne 0x10267d5
mov esi, dword [edi + 0x54]
push 0x1e
lea eax, [ebp - 0x20]
push 0
push eax
call sub.msvcrt.dll_memset
mov eax, dword [esi + 0x20]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x14], eax
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x1c], 1
mov word [ebp - 0x10], 0x204
mov dword [ebp - 0x18], ebx
call dword [0x100188c]
mov esi, eax
test esi, esi
je 0x102681f
cmp dword [ebp - 0xe], 0
jne 0x102681f
push ebx
mov ecx, edi
call fcn.010263af
xor eax, eax
test esi, esi
sete al
pop esi
pop edi
pop ebx
leave
ret 0xc
Function at 0x10282ce
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x1039804
call fcn.01035f78
sub esp, 0x4d4
mov eax, dword [0x1044924]
push ebx
mov dword [ebp - 0x4dc], ecx
push 0x10073d8
lea ecx, [ebp - 0x4c4]
mov dword [ebp - 0x10], eax
call sub.MFC42u.dll_CString::CString_5
xor ebx, ebx
cmp dword [ebp + 8], ebx
mov dword [ebp - 4], ebx
je 0x1028317
push 0x10073cc
lea ecx, [ebp - 0x4c4]
call sub.MFC42u.dll_CString::operator_1
push 0x10073b0
lea ecx, [ebp - 0x4c4]
call sub.MFC42u.dll_CString::operator_1
lea eax, [ebp - 0x4d4]
push eax
push dword [ebp - 0x4c4]
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
cmp eax, ebx
mov dword [ebp - 0x4cc], ebx
jne 0x1028453
push edi
lea eax, [ebp - 0x4d8]
push eax
lea eax, [ebp - 0x4c0]
push eax
lea eax, [ebp - 0x4d0]
push eax
push ebx
lea eax, [ebp - 0x4e0]
push eax
lea eax, [ebp - 0x90]
push eax
push dword [ebp - 0x4cc]
mov dword [ebp - 0x4e0], 0x3c
push dword [ebp - 0x4d4]
mov dword [ebp - 0x4d8], 0x108
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov edi, eax
cmp edi, ebx
jne 0x1028444
cmp dword [ebp - 0x4d0], 1
je 0x10283b8
cmp dword [ebp - 0x4d0], 2
jne 0x1028444
push 0x108
lea eax, [ebp - 0x2a8]
push eax
lea eax, [ebp - 0x4c0]
push eax
call dword [0x100111c]
cmp eax, ebx
jbe 0x1028444
cmp eax, 0x104
ja 0x1028444
lea eax, [ebp - 0x2a8]
push eax
lea ecx, [ebp - 0x4c8]
call sub.MFC42u.dll_CString::CString_5
lea ecx, [ebp - 0x4c8]
mov byte [ebp - 4], 1
call sub.MFC42u.dll_CString::TrimLeft
lea ecx, [ebp - 0x4c8]
call sub.MFC42u.dll_CString::TrimRight
mov eax, dword [ebp - 0x4c8]
cmp dword [eax - 8], ebx
je 0x1028436
mov ecx, dword [ebp - 0x4dc]
lea eax, [ebp - 0x2a8]
push eax
lea eax, [ebp - 0x90]
push eax
add ecx, 4
call sub.MFC42u.dll_CMapStringToString::operator__
mov ecx, eax
call sub.MFC42u.dll_CString::operator_2
lea ecx, [ebp - 0x4c8]
mov byte [ebp - 4], bl
call sub.MFC42u.dll_CString::CString
inc dword [ebp - 0x4cc]
cmp edi, ebx
je 0x102834e
pop edi
push dword [ebp - 0x4d4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c4]
call sub.MFC42u.dll_CString::CString
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop ebx
call fcn.01034945
leave
ret 4
Function at 0x102a5c5
Capabilities:
Delete registry value
Persist via run registry key
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x45c
mov eax, dword [0x1044924]
push ebx
push esi
push edi
mov dword [ebp - 4], eax
push 1
lea eax, [ebp - 0x410]
push eax
push 0x1044e0c
call fcn.0102ef38
mov ecx, eax
call fcn.0102ece5
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x408]
push eax
push 0x20019
xor ebx, ebx
push ebx
push dword [0x104456c]
mov edi, 0x80000001
push edi
call esi
test eax, eax
jne 0x102a763
lea eax, [ebp - 0x40c]
push eax
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x418]
push eax
push ebx
push dword [0x1044568]
mov dword [ebp - 0x40c], 0x3f8
push dword [ebp - 0x408]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x408]
mov dword [ebp - 0x414], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
cmp dword [ebp - 0x414], ebx
jne 0x102a67e
cmp dword [ebp - 0x418], 1
jne 0x102a67e
cmp dword [ebp - 0x40c], ebx
je 0x102a67e
inc eax
cmp dword [ebp - 0x410], ebx
je 0x102a690
cmp eax, ebx
jne 0x102a763
jmp 0x102a698
cmp eax, ebx
je 0x102a763
lea eax, [ebp - 0x408]
push eax
push 0x20006
push ebx
push dword [0x104456c]
push edi
call esi
test eax, eax
jne 0x102a763
cmp dword [ebp - 0x410], ebx
je 0x102a745
push ebx
lea eax, [ebp - 0x45c]
push eax
push ebx
push 0x10079c4
call fcn.010364de
test al, al
lea eax, [ebp - 0x404]
je 0x102a701
mov esi, dword [ebp - 0x458]
push esi
push eax
call dword [sym.imp.msvcrt.dll_wcscpy]
pop ecx
pop ecx
push esi
push 4
call dword [fcn.010011a8]
push eax
call dword [fcn.010011a0]
jmp 0x102a70e
push 0x1fc
push eax
push ebx
call dword [0x1001130]
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.msvcrt.dll_wcslen]
pop ecx
lea eax, [eax + eax + 2]
push eax
mov dword [ebp - 0x40c], eax
lea eax, [ebp - 0x404]
push eax
push 1
push ebx
push dword [0x1044568]
push dword [ebp - 0x408]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x102a757
push dword [0x1044568]
push dword [ebp - 0x408]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 0x408]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.01034945
leave
ret