joyce8/EMBER2024-capa huggingface dataset:
Function at 0x268a0ec8
Capabilities:
Get cpu information
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp - 8]
push eax
push str.HARDWAREDESCRIPTIONSystemCentralProcessor0
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x268a0eed
xor eax, eax
jmp 0x268a100d
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
lea eax, [edi + 8]
push eax
lea eax, [ebp - 0xc]
push eax
xor ebx, ebx
push ebx
push str.MHz
push dword [ebp - 8]
mov dword [ebp - 4], 4
call esi
test eax, eax
jne 0x268a0fff
lea eax, [ebp - 4]
push eax
push ebx
lea eax, [ebp - 0xc]
push eax
push ebx
push str.Identifier
push dword [ebp - 8]
mov dword [ebp - 4], ebx
call esi
lea eax, [edi + 4]
mov edi, dword [ebp - 4]
push 0x20
call fcn.268e3ca3
mov eax, dword [ebp + 8]
add eax, 4
mov eax, dword [eax]
lea ecx, [ebp - 4]
push ecx
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
push str.Identifier
push dword [ebp - 8]
call esi
test eax, eax
jne 0x268a0fff
mov edi, dword [ebp + 8]
call fcn.268a1011
lea eax, [ebp - 4]
push eax
push ebx
lea eax, [ebp - 0xc]
push eax
push ebx
push str.ProcessorNameString
push dword [ebp - 8]
mov dword [ebp - 4], ebx
call esi
mov eax, edi
mov edi, dword [ebp - 4]
add eax, 0xc
push 0x20
call fcn.268e3ca3
mov eax, dword [ebp + 8]
add eax, 0xc
mov eax, dword [eax]
lea ecx, [ebp - 4]
push ecx
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
push str.ProcessorNameString
push dword [ebp - 8]
call esi
test eax, eax
jne 0x268a0fff
lea eax, [ebp - 4]
push eax
push ebx
lea eax, [ebp - 0xc]
push eax
push ebx
push str.VendorIdentifier
push dword [ebp - 8]
mov dword [ebp - 4], ebx
call esi
mov eax, dword [ebp + 8]
mov edi, dword [ebp - 4]
add eax, 0x10
push 0x20
mov dword [ebp + 8], eax
call fcn.268e3ca3
mov eax, dword [ebp + 8]
mov eax, dword [eax]
lea ecx, [ebp - 4]
push ecx
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
push str.VendorIdentifier
push dword [ebp - 8]
call esi
test eax, eax
jne 0x268a0fff
inc ebx
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 4
Function at 0x268a1fbb
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
lea eax, [esi + 1]
movzx eax, ax
push edi
push eax
call dword [sym.imp.MSVCRT.dll_malloc]
mov ecx, esi
mov esi, dword [ebp + 8]
mov edx, ecx
shr ecx, 2
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push edx
mov dword [ebp - 4], eax
and ecx, 3
push eax
mov eax, dword [ebp + 0x10]
rep movsb byte es:[edi], byte [esi]
call fcn.268a206d
add esp, 0xc
test eax, eax
jne 0x268a2001
xor esi, esi
jmp 0x268a203d
mov eax, dword [ebp + 0xc]
dec eax
js 0x268a203a
lea esi, [eax + 1]
mov ecx, dword [ebp + 8]
movzx ecx, byte [ecx]
xor eax, eax
mov ax, word [ebx + 0xffc]
xor ecx, eax
and ecx, 0xff
movzx ax, ah
xor ax, word [ebx + ecx*2 + 0x1008]
inc dword [ebp + 8]
dec esi
mov word [ebx + 0xffc], ax
jne 0x268a200a
xor esi, esi
inc esi
push dword [ebp - 4]
call dword [sym.imp.MSVCRT.dll_free]
pop ecx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret

Function at 0x268a4858
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0xee88
call fcn.268eb500
push ebx
mov ebx, ecx
cmp dword [ebx + 0x38], 0xffffffff
jne 0x268a4875
xor eax, eax
jmp 0x268a4929
push esi
push edi
lea edi, [ebx + 0x40]
mov eax, dword [edi]
mov esi, 0x103
cmp eax, esi
jne 0x268a4927
mov eax, dword [ebx + 0x44]
cmp eax, 0xffffffff
jne 0x268a48a0
push edi
push dword [ebx + 0x30]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
jmp 0x268a4925
and dword [ebp - 8], 0
push 0
lea ecx, [ebp - 8]
push ecx
push 0xec80
lea ecx, [ebp - 0xee88]
push ecx
push eax
mov dword [ebp - 0xee88], 2
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x268a4900
and dword [ebp - 4], 0
push 0
lea eax, [ebp - 4]
push eax
push 0x200
lea eax, [ebp - 0x208]
push eax
push dword [ebx + 0x44]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x268a4900
mov eax, dword [ebp - 0xc]
cmp eax, esi
mov dword [edi], eax
je 0x268a4925
mov esi, ebx
call fcn.268a5a5f
jmp 0x268a4925
mov esi, dword [ebp + 8]
mov eax, esi
mov ebx, 0x268f3f58
push 0x138f3
call fcn.268e6bb2
pop ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
call fcn.268e72f2
and dword [edi], 0
mov eax, dword [edi]
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x268a542b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x268ed76a
call fcn.268eb4dc
sub esp, 0x444
push ebx
push esi
push edi
push 0x104
lea eax, [ebp - 0x450]
push eax
push 0x268f1584
mov esi, str.WDEXECSVC
push esi
push str.WDSTD
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_GetProfileStringW]
lea eax, [ebp - 0x450]
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
test eax, eax
pop ecx
jbe 0x268a5532
lea eax, [ebp - 0x450]
push 0
push eax
call fcn.268d1f46
test eax, eax
pop ecx
pop ecx
je 0x268a5532
mov edi, dword [ebx]
lea eax, [ebp - 0x450]
push 0
push eax
call fcn.268d1e4d
pop ecx
pop ecx
push eax
mov ecx, ebx
call dword [edi + 4]
lea eax, [ebp - 0x244]
push eax
call fcn.268d04dd
and dword [ebp - 4], 0
push 0
push 0x10000000
push 3
push 3
push 0x80000000
lea eax, [ebp - 0x450]
push eax
lea ecx, [ebp - 0x244]
call fcn.268d174e
test eax, eax
je 0x268a5523
mov edi, dword [ebx + 4]
push 0
lea ecx, [ebp - 0x244]
call fcn.268d0e24
push eax
push edi
lea ecx, [ebp - 0x244]
call fcn.268d0977
lea ecx, [ebp - 0x244]
mov edi, eax
call fcn.268d0795
test edi, edi
je 0x268a5523
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x244]
call fcn.268d0557
xor eax, eax
inc eax
jmp 0x268a55af
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x244]
call fcn.268d0557
push esi
push 0x65
push dword [0x2692a960]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x268a5558
push edi
push dword [0x2692a960]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x268a556f
mov eax, dword [ebp + 0xc]
push 0x138f1
mov ebx, 0x268f3f58
call fcn.268e6bb2
pop ecx
xor eax, eax
jmp 0x268a55af
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push edi
push dword [0x2692a960]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
mov eax, dword [ebx]
push edi
mov ecx, ebx
call dword [eax + 4]
push dword [ebp + 0x10]
mov ecx, edi
mov edi, dword [ebx + 4]
push dword [ebp + 0xc]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, ebx
call fcn.268a5abd
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc
Function at 0x268a57e2
Capabilities:
Impersonate user

Disassembly:
mov eax, 0x268ee685
call fcn.268eb4dc
sub esp, 0x14
push ebx
xor ebx, ebx
push esi
mov dword [ebp - 0x20], ebx
mov dword [edi], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], ebx
mov byte [ebp - 4], 1
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 0xc]
call fcn.268a4c45
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.268a5950
add esp, 0x14
test eax, eax
je 0x268a5856
mov byte [ebp - 4], bl
mov esi, dword [ebp - 0x10]
cmp esi, ebx
je 0x268a583b
call fcn.268e5db4
mov dword [ebp - 0x10], ebx
or dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x14]
cmp esi, ebx
je 0x268a584e
call fcn.268e5db4
mov dword [ebp - 0x14], ebx
xor eax, eax
inc eax
jmp 0x268a5940
lea eax, [ebp - 0x14]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], ebx
call fcn.26863172
test eax, eax
mov eax, dword [0x269292ac]
je 0x268a5871
xor ecx, ecx
jmp 0x268a587a
mov ecx, dword [ebp - 0x14]
cmp ecx, ebx
jne 0x268a587a
mov ecx, eax
cmp dword [ebp - 0x10], ebx
je 0x268a5882
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x18]
push edx
push ebx
push 2
push dword [ebp + 0x10]
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_LogonUserW]
test eax, eax
jne 0x268a58c2
push dword [ebp + 0xc]
mov esi, dword [ebp + 8]
push 0x138f4
mov ebx, 0x268f3f58
mov eax, esi
call fcn.268e6bb2
pop ecx
pop ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
call fcn.268e72f2
xor ebx, ebx
jmp 0x268a58fe
lea eax, [ebp - 0x1c]
push eax
xor esi, esi
inc esi
push esi
push 3
push ebx
push ebx
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
test eax, eax
je 0x268a58e8
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_ImpersonateLoggedOnUser]
test eax, eax
jne 0x268a58f9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [ebp + 8]
push ebx
call fcn.268e72f2
jmp 0x268a58fe
mov dword [edi], esi
mov dword [ebp - 0x20], esi
cmp dword [ebp - 0x18], ebx
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x268a590e
push dword [ebp - 0x18]
call esi
cmp dword [ebp - 0x1c], ebx
je 0x268a5918
push dword [ebp - 0x1c]
call esi
mov byte [ebp - 4], bl
mov esi, dword [ebp - 0x10]
cmp esi, ebx
je 0x268a592a
call fcn.268e5db4
mov dword [ebp - 0x10], ebx
or dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x14]
cmp esi, ebx
je 0x268a593d
call fcn.268e5db4
mov dword [ebp - 0x14], ebx
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc

Function at 0x268a5c51
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push edi
push 0
push 0
push dword [esp + 0x18]
call esi
lea edi, [eax + 1]
push 2
push edi
call dword [sym.imp.MSVCRT.dll_calloc]
pop ecx
pop ecx
push edi
mov ebx, eax
push ebx
push dword [esp + 0x18]
call esi
mov eax, ebx
call fcn.268848a8
mov edi, dword [esp + 0x14]
push ebx
call fcn.268633af
push ebx
call dword [sym.imp.MSVCRT.dll_free]
pop ecx
pop edi
pop esi
pop ebx
ret 8
Function at 0x268a6f4e
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x268ec549
call fcn.268eb4dc
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax + 8], ecx
xor ecx, ecx
inc edx
mov dword [eax], 0x26914fa0
mov dword [eax + 4], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [ebp - 4], ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ecx
mov byte [ebp - 4], dl
mov dword [eax + 0x20], ecx
mov byte [ebp - 4], 2
mov dword [eax + 0x24], ecx
mov dword [eax + 0x28], ecx
mov dword [eax + 0x2c], ecx
mov byte [ebp - 4], 3
mov dword [eax + 0x30], edx
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret 4

Function at 0x268a7a15
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
push 0x268f1584
push dword [ebp + 0x14]
xor edi, edi
mov dword [ebp - 0xc], edi
call fcn.268e34fd
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.268a78d6
cmp eax, edi
mov dword [ebp + 0xc], eax
jne 0x268a7a4a
xor eax, eax
jmp 0x268a7adb
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [ebp - 4]
push ecx
push edi
lea ecx, [ebp - 8]
push ecx
push edi
push dword [ebp + 0x10]
mov dword [ebp - 8], edi
push eax
mov dword [ebp - 4], edi
call esi
test eax, eax
jne 0x268a7ad0
cmp dword [ebp - 4], 0x400
sbb eax, eax
neg eax
mov dword [ebp + 8], eax
je 0x268a7a8c
mov eax, dword [ebp - 4]
add eax, 3
and eax, 0xfffffffc
call fcn.268eb500
mov ebx, esp
jmp 0x268a7a98
push dword [ebp - 4]
call dword [sym.imp.MSVCRT.dll_malloc]
pop ecx
mov ebx, eax
lea eax, [ebp - 4]
push eax
push ebx
lea eax, [ebp - 8]
push eax
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call esi
test eax, eax
jne 0x268a7ac0
inc eax
cmp dword [ebp - 8], eax
jne 0x268a7ac0
push ebx
push dword [ebp + 0x14]
mov dword [ebp - 0xc], eax
call fcn.268e34fd
cmp dword [ebp + 8], edi
jne 0x268a7acd
push ebx
call dword [sym.imp.MSVCRT.dll_free]
pop ecx
mov edi, dword [ebp - 0xc]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
lea esp, [ebp - 0x18]
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x268a7cf1
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0x2000e
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x268a7d91
and word [ebp - 0x408], ax
push edi
mov ecx, 0x100
lea edi, [ebp - 0x406]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x408]
push eax
push dword [ebp - 4]
call fcn.268a7cc3
pop ecx
pop ecx
pop edi
jmp 0x268a7d68
lea eax, [ebp - 0x408]
push eax
push dword [ebp - 4]
call fcn.268a7cf1
test eax, eax
pop ecx
pop ecx
je 0x268a7d88
lea eax, [ebp - 0x408]
push eax
push dword [ebp - 4]
call fcn.268a7cc3
pop ecx
pop ecx
test eax, eax
jne 0x268a7d42
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
neg eax
sbb eax, eax
inc eax
leave
ret
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
leave
ret

Function at 0x268a906e
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x800
and word [ebp - 0x800], 0
push ebx
push esi
push edi
push dword [ebp + 0x14]
xor eax, eax
mov ecx, 0x1ff
lea edi, [ebp - 0x7fe]
rep stosd dword es:[edi], eax
push 0x400
stosw word es:[edi], ax
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea esi, [ebp - 0x800]
mov eax, esi
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call edi
mov ebx, eax
cmp ebx, 0x3ff
jne 0x268a90eb
push 0x20000
call dword [sym.imp.MSVCRT.dll_malloc]
mov esi, eax
test esi, esi
pop ecx
je 0x268a912c
push dword [ebp + 0x14]
and word [esi], 0
push 0x10000
push esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call edi
mov ebx, eax
cmp dword [ebp + 8], 0
jne 0x268a9109
xor eax, eax
test ebx, ebx
jle 0x268a9109
cmp word [esi + eax*2], 0
jne 0x268a9104
mov word [esi + eax*2], 0xa
inc eax
cmp eax, ebx
jl 0x268a90f7
mov eax, dword [ebp + 0x18]
push esi
call fcn.268e31f4
lea eax, [ebp - 0x800]
cmp esi, eax
je 0x268a9124
push esi
call dword [sym.imp.MSVCRT.dll_free]
pop ecx
xor eax, eax
cmp eax, ebx
sbb eax, eax
neg eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x268a984f
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push esi
push edi
xor edi, edi
push edi
push dword [esp + 0x14]
push dword [esp + 0x14]
call fcn.268a97ae
mov esi, eax
test esi, esi
je 0x268a989c
push dword [esp + 0xc]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x268a9891
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
je 0x268a988b
push esi
push 8
call dword [sym.imp.USER32.dll_SetClipboardData]
inc edi
xor esi, esi
call dword [sym.imp.USER32.dll_CloseClipboard]
test esi, esi
je 0x268a989c
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, edi
pop edi
pop esi
ret 8
Function at 0x268aa123
Capabilities:
Get common file path
Set current directory

Disassembly:
mov eax, 0x268ee151
call fcn.268eb4dc
sub esp, 0x2ac
and word [ebp - 0x2b8], 0
push esi
push edi
xor eax, eax
mov ecx, 0x82
lea edi, [ebp - 0x2b6]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x2b8]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov esi, dword [ebp + 8]
call fcn.268e3f3a
xor eax, eax
call fcn.268b3f93
test eax, eax
je 0x268aa205
push 0x27
pop ecx
push 3
push 1
push 4
jmp 0x268aa1d6
mov eax, dword [ebp + 8]
call fcn.268e3045
test eax, eax
jne 0x268aa199
push 0x268f163c
push dword [ebp + 8]
call fcn.268e33a7
push 0xffffffffffffffff
push 0xffffffffffffffff
lea eax, [ebp - 0x32]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.268e6408
add esp, 0x10
and dword [ebp - 4], 0
push dword [ebp + 8]
call fcn.268e3482
or dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x10]
test esi, esi
je 0x268aa1cd
call fcn.268e5db4
and dword [ebp - 0x10], 0
push 0x27
pop ecx
push 3
push 1
push 5
xor eax, eax
lea edi, [ebp - 0xac]
rep stosd dword es:[edi], eax
pop ecx
lea eax, [ebp - 0xac]
call fcn.268b4c25
test eax, eax
jne 0x268aa180
call fcn.268b410d
lea eax, [ebp - 0x2b8]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
xor eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x268aa23f
Capabilities:
Set current directory

Disassembly:
mov eax, 0x268efd22
call fcn.268eb4dc
sub esp, 0x2b0
call fcn.268b3e81
cmp eax, 4
jl 0x268aa277
mov edx, dword [ebp + 8]
mov ecx, 0x2692b474
call fcn.268e30a7
test eax, eax
je 0x268aa272
xor eax, eax
inc eax
jmp 0x268aa42e
call fcn.268b4093
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
cmp edi, ebx
je 0x268aa288
cmp word [edi], bx
jne 0x268aa2a4
call fcn.268b3fcf
mov esi, eax
cmp esi, ebx
jne 0x268aa298
call fcn.268b410d
cmp dword [ebp + 0xc], ebx
je 0x268aa2a4
mov eax, esi
jmp 0x268aa42b
call fcn.268b3e81
cmp eax, 4
jl 0x268aa2df
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x10]
call fcn.268aa213
test eax, eax
je 0x268aa2d3
mov edx, edi
lea ecx, [ebp - 0x10]
call fcn.268e30a7
test eax, eax
je 0x268aa2d3
call fcn.268b4093
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x10]
call fcn.268e3036
xor eax, eax
call fcn.268b3f93
test eax, eax
je 0x268aa42b
push 4
mov dword [ebp - 0x14], ebx
pop edx
push 0x27
pop ecx
xor eax, eax
xor esi, esi
lea edi, [ebp - 0xb0]
rep stosd dword es:[edi], eax
push 3
inc esi
push esi
lea eax, [ebp - 0xb0]
mov ecx, edx
call fcn.268b4c25
test eax, eax
je 0x268aa3be
push 0xffffffffffffffff
push 0xffffffffffffffff
lea eax, [ebp - 0x36]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.268e6408
add esp, 0x10
mov dword [ebp - 4], esi
mov eax, dword [eax]
cmp eax, ebx
jne 0x268aa33e
mov eax, dword [0x269292ac]
push dword [ebp + 8]
push eax
call dword [sym.imp.MSVCRT.dll__wcsicmp]
mov ebx, eax
neg ebx
sbb bl, bl
pop ecx
pop ecx
inc bl
or dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x10]
test esi, esi
je 0x268aa366
call fcn.268e5db4
and dword [ebp - 0x10], 0
test bl, bl
jne 0x268aa370
push 5
xor ebx, ebx
jmp 0x268aa2f3
push 0xffffffffffffffff
push 0xffffffffffffffff
lea eax, [ebp - 0x36]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.268e6408
add esp, 0x10
mov dword [ebp - 4], 2
mov eax, dword [eax]
test eax, eax
jne 0x268aa396
mov eax, dword [0x269292ac]
push eax
push 0x2692b474
call fcn.268e34fd
or dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x10]
test esi, esi
je 0x268aa3b5
call fcn.268e5db4
and dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 1
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
jne 0x268aa3cd
call fcn.268b410d
mov eax, dword [ebp - 0x14]
jmp 0x268aa42b
xor eax, eax
mov word [ebp - 0x2bc], bx
mov ecx, 0x82
lea edi, [ebp - 0x2ba]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x2bc]
push ebx
push eax
call fcn.268d23ae
pop ecx
pop ecx
push 3
push 1
lea eax, [ebp - 0xb0]
mov ecx, 0x401
call fcn.268b4c25
test eax, eax
jne 0x268aa40f
call fcn.268b410d
lea eax, [ebp - 0x2bc]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
call fcn.268b3e81
xor ecx, ecx
cmp eax, 4
setge cl
mov eax, ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret
Function at 0x268aa43a
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push str.shell32.dll
call edi
push str.shmwapi.dll
mov dword [esi], eax
call edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 4], eax
mov eax, dword [esi]
xor ebx, ebx
cmp eax, ebx
je 0x268aa470
push str.SHEmptyRecycleBinW
push eax
call edi
mov dword [esi + 0xc], eax
jmp 0x268aa473
mov dword [esi + 0xc], ebx
mov eax, dword [esi]
cmp eax, ebx
je 0x268aa486
push str.SHGetFileInfoW
push eax
call edi
mov dword [esi + 0x18], eax
jmp 0x268aa489
mov dword [esi + 0x18], ebx
mov eax, dword [esi]
cmp eax, ebx
je 0x268aa49c
push 0x26915218
push eax
call edi
mov dword [esi + 0x1c], eax
jmp 0x268aa49f
mov dword [esi + 0x1c], ebx
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x268aa4b3
push str.StrRetToStrW
push eax
call edi
mov dword [esi + 0x24], eax
jmp 0x268aa4b6
mov dword [esi + 0x24], ebx
mov eax, dword [esi]
cmp eax, ebx
je 0x268aa4c9
push 0x269151ec
push eax
call edi
mov dword [esi + 0x10], eax
jmp 0x268aa4cc
mov dword [esi + 0x10], ebx
mov eax, dword [esi]
cmp eax, ebx
je 0x268aa4df
push 0x269151d8
push eax
call edi
mov dword [esi + 0x14], eax
jmp 0x268aa4e2
mov dword [esi + 0x14], ebx
mov eax, dword [esi]
cmp eax, ebx
je 0x268aa4f5
push 0x269151cc
push eax
call edi
mov dword [esi + 0x20], eax
jmp 0x268aa4f8
mov dword [esi + 0x20], ebx
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [esi + 8]
push eax
mov ecx, esi
call fcn.268aa55a
pop edi
mov eax, esi
pop ebx
ret
Function at 0x268ab26c
Capabilities:
Import public key

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x1c]
xor esi, esi
cmp eax, esi
je 0x268ab354
cmp dword [edi + 0x14], esi
je 0x268ab354
push 1
push esi
push esi
push eax
call dword [sym.imp.CRYPT32.dll_CryptMsgUpdate]
test eax, eax
jne 0x268ab2c2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [ebp + 8]
push 0x13f93
mov ebx, 0x268f3f58
call fcn.268e6bb2
cmp edi, esi
pop ecx
jbe 0x268ab367
mov eax, edi
jmp 0x268ab33c
push 0xf0000000
push 1
push esi
push esi
lea eax, [ebp - 4]
push eax
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x268ab2e3
push 0x13f8f
jmp 0x268ab328
mov ecx, dword [ebp + 8]
mov eax, dword [edi + 0x14]
mov dword [ebp - 8], esi
call fcn.268b1fb8
mov ebx, eax
lea eax, [ebp - 8]
push eax
mov eax, dword [ebx + 0xc]
add eax, 0x38
push eax
push 0x10001
push dword [ebp - 4]
call dword [sym.imp.CRYPT32.dll_CryptImportPublicKeyInfo]
test eax, eax
je 0x268ab2dc
push dword [ebx + 0xc]
push 1
push esi
push dword [edi + 0x1c]
call dword [sym.imp.CRYPT32.dll_CryptMsgControl]
test eax, eax
jne 0x268ab347
push 0x13f90
mov eax, dword [ebp + 8]
mov ebx, 0x268f3f58
call fcn.268e6bb2
pop ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
mov esi, dword [ebp + 8]
call fcn.268e72f2
jmp 0x268ab367
mov edi, dword [edi + 0x14]
lea ecx, [edi + 0x18]
mov eax, dword [ecx]
call dword [eax + 0x4c]
jmp 0x268ab369
mov eax, dword [ebp + 8]
push 0x13f8f
mov ebx, 0x268f3f58
call fcn.268e6bb2
pop ecx
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x268abdf2
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x268ec4b6
call fcn.268eb4dc
push esi
push edi
mov edi, dword [ebp + 8]
xor eax, eax
mov dword [edi], eax
mov dword [ebp - 4], eax
mov dword [edi + 0xc], eax
mov byte [ebp - 4], 1
mov dword [edi + 0x10], eax
mov byte [ebp - 4], 2
mov dword [edi + 0x14], eax
mov byte [ebp - 4], 3
mov dword [edi + 0x1c], eax
mov byte [ebp - 4], 4
mov dword [edi + 0x24], eax
mov byte [ebp - 4], 5
mov dword [edi + 0x28], eax
mov byte [ebp - 4], 6
push 0xa
push 0xa
lea esi, [edi + 0x30]
pop eax
call fcn.268e647b
mov byte [ebp - 4], 7
push 0xa
push 0xa
lea esi, [edi + 0x48]
pop eax
call fcn.268e647b
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 4