joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406830
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
cmp dword [0xfcc82c], 0
je 0x406847
push 0xfffffffffffffffe
call dword [0xfcc82c]
call fcn.0042e4e0
mov dword [0xfcc838], eax
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [0xfcc824]
push ecx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [0xfcc820], 0
mov dword [0xfcc854], 0
mov ecx, 0x1029410
call fcn.0041e360
call fcn.0047f610
mov dword [0xfccb14], 0
mov dword [0xfccb10], 0
fld1
fstp qword [0xfc7168]
mov dword [0xfc7e48], 0x7530
mov dword [0xfccb48], 0
mov dword [0xfccb4c], 0
mov dword [0xfccbc0], 1
call fcn.00405fa0
test eax, eax
jne 0x4068d9
xor eax, eax
jmp 0x4069e3
mov edx, dword [0xfcc8a8]
mov dword [ebp - 0x10], edx
lea eax, [ebp - 4]
push eax
push 0x40
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [0xfcc8a4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [0xfcc8a8]
mov dword [ebp - 0x14], eax
mov ecx, dword [0xfcc8a4]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
push 0x17
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x40695f
mov dword [0xfcc844], 1
mov dword [0xfc7170], 8
mov dword [0xfc7174], 0x10
mov dword [0xfc7178], 2
mov dword [0xfc717c], 4
jmp 0x406991
mov dword [0xfcc844], 0
mov dword [0xfc7170], 2
mov dword [0xfc7174], 4
mov dword [0xfc7178], 8
mov dword [0xfc717c], 0x10
push 0
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [0xfcc84c], eax
push 1
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [0xfcc848], eax
mov dword [0x10293dc], 0
call fcn.0042de10
mov dword [0xfcc858], eax
mov dword [0xfcc85c], edx
call fcn.00424f40
call fcn.00401e20
push 0xf
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x40b8b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56b8cb
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0xfca838]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x58], ecx
push 0xac
call fcn.00509d04
add esp, 4
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x18], 0
je 0x40b902
mov ecx, dword [ebp - 0x18]
call fcn.0040b540
mov dword [ebp - 0x5c], eax
jmp 0x40b909
mov dword [ebp - 0x5c], 0
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x58]
push edx
mov ecx, dword [ebp - 0x10]
call fcn.0040b980
mov eax, dword [ebp - 0x10]
add eax, 0x30
mov dword [ebp - 0x54], eax
push 1
mov ecx, dword [ebp - 0x54]
call fcn.0041e1e0
mov ecx, dword [ebp - 0x54]
mov dword [ecx + 0xc], 0
mov edx, dword [ebp - 0x54]
mov dword [edx + 0x10], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0x30
push eax
mov ecx, dword [ebp - 0x58]
add ecx, 0x30
call fcn.00405630
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x41bc50
Capabilities:
Acquire debug privileges
Allocate thread local storage
Get common file path
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5673a6
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
mov eax, dword [0xfca838]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xe4], ecx
push 0
push 0xfcc610
call fcn.0041bb30
add esp, 8
push 0xfcc610
mov ecx, 0xfcca3c
call fcn.00427360
push 0
push 0x1a
push 0x104
mov ecx, 0xfcca38
call fcn.004277b0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0xffffffffffffffff
mov ecx, 0xfcca38
call fcn.00427210
push 1
push 0x581cf8
call fcn.0041bbc0
add esp, 8
mov dword [0xfcc4f8], 0x114
push 0xfcc4f8
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
call fcn.00515ba1
mov eax, dword [eax + 4]
mov dword [ebp - 0xc4], eax
call fcn.00515ba1
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0xc8], ecx
mov edx, 0x80
movzx eax, dx
push eax
mov ecx, dword [ebp - 0xc8]
push ecx
call dword [sym.imp.USER32.dll_LoadIconW]
mov dword [0xfcc4f4], eax
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
push 0
lea edx, [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0xe4]
add eax, 0xa4
push eax
call sub.gdiplus.dll_GdiplusStartup
push 0
call fcn.00514d74
add esp, 4
push 0
lea ecx, [ebp - 0x98]
push ecx
call fcn.0042d330
add esp, 8
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x98]
mov eax, dword [edx - 0xc]
mov dword [ebp - 0xcc], eax
xor ecx, ecx
cmp dword [ebp - 0xcc], 0
sete cl
movzx edx, cl
test edx, edx
jne 0x41bda7
mov eax, dword [ebp - 0x98]
push eax
call fcn.0042eed0
add esp, 4
jmp 0x41bdb4
push 0x581cbc
call fcn.0042eed0
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x98]
call fcn.004279e0
mov dword [ebp - 0xac], vtable.VObj.0
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xac], vtable.ExprItem.0
mov dword [ebp - 0xac], vtable.AnyArray.0
lea ecx, [ebp - 0xa4]
mov dword [ebp - 0xd4], ecx
mov edx, dword [ebp - 0xd4]
mov dword [edx], 0
mov eax, dword [ebp - 0xd4]
mov dword [eax + 4], 0
mov ecx, dword [ebp - 0xd4]
mov dword [ecx + 8], 0
mov edx, dword [ebp - 0xac]
mov eax, dword [edx + 4]
mov dword [0xfcc4f0], eax
lea ecx, [ebp - 0xac]
call fcn.0041bf10
push 0
call fcn.0052c9fe
add esp, 4
push eax
call fcn.00529b51
add esp, 4
mov ecx, dword [ebp - 0xe4]
mov edx, dword [ecx + 0x44]
push edx
call fcn.004d3a60
add esp, 4
call fcn.00470d80
call fcn.004b4fb0
push 0x581c44
push 2
call fcn.0052c88e
add esp, 8
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0xfcc824], eax
push 0
lea ecx, [ebp - 0x94]
call fcn.00428660
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0xe4]
lea ecx, [ebp - 0x94]
mov dword [eax + 0x20], ecx
push 0
mov edx, 0x66
movzx eax, dx
push eax
lea ecx, [ebp - 0x94]
call fcn.0050a73e
push 0
lea ecx, [ebp - 0x94]
call fcn.0050ce70
mov ecx, dword [0xfcc824]
push ecx
call dword [sym.imp.KERNEL32.dll_TlsFree]
mov dword [0xfcc824], 0
mov dword [ebp - 0xb0], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.00509d87
mov eax, dword [ebp - 0xb0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x41c3c0
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x572e48
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0xfca838]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x24], 0
push 0
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
shl eax, 0x10
mov dword [ebp - 0x14], eax
cmp dword [ebp + 0x10], 0
je 0x41c410
mov ecx, dword [ebp - 0x14]
or ecx, 0x1000000
mov dword [ebp - 0x14], ecx
lea ecx, [ebp - 0x1c]
call fcn.00402510
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0x40
mov edx, dword [ebp - 0x18]
shl edx, 1
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00427180
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x18]
add ecx, 1
push ecx
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_GetKeyNameTextW]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x1c]
call fcn.00427210
mov edx, dword [ebp - 0x10]
cmp edx, dword [ebp - 0x18]
je 0x41c426
mov eax, dword [ebp - 0x1c]
sub eax, 0x10
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.004028d0
add esp, 4
mov dword [ebp - 0x50], eax
mov edx, dword [ebp - 0x50]
add edx, 0x10
mov eax, dword [ebp + 8]
mov dword [eax], edx
mov ecx, dword [ebp - 0x24]
or ecx, 1
mov dword [ebp - 0x24], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.004279e0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x429fb0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x567ce8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0xfca838]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x42a08f
push 8
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x42a089
push 8
call dword [sym.imp.USER32.dll_GetClipboardData]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x42a089
mov eax, dword [ebp - 0x14]
push eax
call fcn.0042a190
add esp, 4
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x42a089
mov dword [ebp - 0x20], vtable.CGdiObject.0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], vtable.CBitmap.0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x20]
call fcn.0051219b
mov edx, dword [ebp - 0x1c]
push edx
mov ecx, dword [ebp + 8]
call fcn.004380b0
mov eax, dword [ebp + 8]
xor ecx, ecx
cmp dword [eax + 4], 0
sete cl
neg ecx
sbb ecx, ecx
add ecx, 1
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x20], vtable.CBitmap.0
lea ecx, [ebp - 0x20]
call fcn.00402c00
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x42a0b0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x567d18
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0xfca838]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ecx, ecx
cmp dword [eax + 4], 0
sete cl
test ecx, ecx
je 0x42a0ec
xor eax, eax
jmp 0x42a172
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x42a170
mov dword [ebp - 0x14], vtable.CGdiObject.0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], vtable.CBitmap.0
mov dword [ebp - 4], 0
lea edx, [ebp - 0x14]
push edx
mov ecx, dword [ebp + 8]
call fcn.00437eb0
call dword [sym.imp.USER32.dll_EmptyClipboard]
lea eax, [ebp - 0x14]
test eax, eax
jne 0x42a136
mov dword [ebp - 0x1c], 0
jmp 0x42a13c
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
push edx
push 2
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov dword [ebp - 0x18], 1
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x14], vtable.CBitmap.0
lea ecx, [ebp - 0x14]
call fcn.00402c00
mov eax, dword [ebp - 0x18]
jmp 0x42a172
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x42a750
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x567d80
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0xfca838]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x14]
call fcn.00402510
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00402510
mov byte [ebp - 4], 1
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x42a7f9
push 0xd
call dword [sym.imp.USER32.dll_GetClipboardData]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x42a7ca
mov dword [ebp - 0x3c], 0
jmp 0x42a7d9
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.00529241
add esp, 4
mov dword [ebp - 0x3c], eax
mov edx, dword [ebp - 0x3c]
push edx
mov eax, dword [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x14]
call fcn.00402630
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov edx, dword [ebp - 0x14]
sub edx, 0x10
mov dword [ebp - 0x58], edx
mov eax, dword [ebp - 0x58]
push eax
call fcn.004028d0
add esp, 4
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x5c]
add ecx, 0x10
mov edx, dword [ebp + 8]
mov dword [edx], ecx
mov eax, dword [ebp - 0x20]
or eax, 1
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004279e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004279e0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x42a860
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x42a907
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, dword [ebp + 8]
push eax
call fcn.00529241
add esp, 4
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
lea edx, [ecx + ecx + 2]
push edx
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x42a901
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x42a901
mov ecx, dword [ebp - 0xc]
shl ecx, 1
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x10]
push eax
call fcn.00529400
add esp, 0xc
xor ecx, ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
mov word [eax + edx*2], cx
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov edx, dword [ebp - 8]
push edx
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
je 0x42a901
mov dword [ebp - 4], 1
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x42aec0
Capabilities:
Hide graphical window
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 8]
jne 0x42aee1
mov eax, 1
jmp 0x42af67
push 0
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 4], eax
push 1
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_AttachThreadInput]
cmp dword [ebp + 0xc], 0
je 0x42af47
push 9
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
push 3
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
push 3
push 0
push 0
push 0
push 0
push 0xfffffffffffffffe
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov dword [ebp - 0x10], eax
push 0
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_AttachThreadInput]
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret

Function at 0x42bd30
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp dword [ebp + 0x10], 0
je 0x42bd45
mov eax, dword [ebp + 0x10]
mov dword [eax], 0
mov ecx, dword [ebp + 0x10]
push ecx
push 0
lea edx, [ebp - 4]
push edx
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x42bd6c
xor eax, eax
jmp 0x42bd6f
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x42bd80
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], 0
mov dword [ebp - 8], 0
push 0x288
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], 0x288
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 4]
push ecx
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
je 0x42bdd5
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 0xc]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 4], eax
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp - 4]
push edx
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
jne 0x42be56
mov eax, dword [ebp - 4]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x42be56
push 0xf828ec
mov ecx, dword [ebp - 0x10]
add ecx, 0x10c
push ecx
call fcn.0052d9f0
add esp, 8
test eax, eax
ja 0x42be19
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0x1a0], 0x47
jne 0x42be4c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x190]
mov dword [eax], edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp - 0x10]
add edx, 0x194
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00529400
add esp, 0xc
mov dword [ebp - 8], 1
jmp 0x42be56
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov dword [ebp - 0x10], edx
jmp 0x42bdec
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x42d7a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5680a3
mov eax, dword fs:[0]
push eax
sub esp, 0x4ac
mov eax, dword [0xfca838]
xor eax, ebp
mov dword [ebp - 0x20], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x448], 0
mov dword [ebp - 0x1c], 0x104
mov dword [ebp - 0x238], 0x104
lea ecx, [ebp - 0x18]
call fcn.00402510
mov dword [ebp - 4], 0
lea eax, [ebp - 0x23c]
push eax
push 0
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x42d8be
lea ecx, [ebp - 0x234]
push ecx
push 0xf003f
push 0
push 0xf82b80
mov edx, dword [ebp - 0x23c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42d8b1
lea eax, [ebp - 0x238]
push eax
lea ecx, [ebp - 0x444]
push ecx
lea edx, [ebp - 0x14]
push edx
push 0
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x22c]
push ecx
push 0
mov edx, dword [ebp - 0x234]
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
lea eax, [ebp - 0x444]
test eax, eax
jne 0x42d879
mov dword [ebp - 0x458], 0
jmp 0x42d88e
lea ecx, [ebp - 0x444]
push ecx
call fcn.00529241
add esp, 4
mov dword [ebp - 0x458], eax
mov edx, dword [ebp - 0x458]
push edx
lea eax, [ebp - 0x444]
push eax
lea ecx, [ebp - 0x18]
call fcn.00402630
mov ecx, dword [ebp - 0x234]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x23c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax - 0xc]
mov dword [ebp - 0x45c], ecx
xor edx, edx
cmp dword [ebp - 0x45c], 0
sete dl
movzx eax, dl
test eax, eax
je 0x42d90b
mov ecx, dword [ebp + 8]
call fcn.00402510
mov ecx, dword [ebp - 0x448]
or ecx, 1
mov dword [ebp - 0x448], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.004279e0
mov eax, dword [ebp + 8]
jmp 0x42d9d8
lea ecx, [ebp - 0x230]
call fcn.00402510
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
movzx ecx, word [eax]
cmp ecx, 0x22
jne 0x42d976
mov edx, dword [ebp - 0x10]
add edx, 2
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
movzx ecx, word [eax]
test ecx, ecx
je 0x42d976
mov edx, dword [ebp - 0x10]
movzx eax, word [edx]
cmp eax, 0x22
jne 0x42d94b
jmp 0x42d976
mov ecx, dword [ebp - 0x10]
mov dx, word [ecx]
mov word [ebp - 0x496], dx
movzx eax, word [ebp - 0x496]
push eax
lea ecx, [ebp - 0x230]
call fcn.00427a80
mov ecx, dword [ebp - 0x10]
add ecx, 2
mov dword [ebp - 0x10], ecx
jmp 0x42d934
mov edx, dword [ebp - 0x230]
sub edx, 0x10
mov dword [ebp - 0x49c], edx
mov eax, dword [ebp - 0x49c]
push eax
call fcn.004028d0
add esp, 4
mov dword [ebp - 0x4a0], eax
mov ecx, dword [ebp - 0x4a0]
add ecx, 0x10
mov edx, dword [ebp + 8]
mov dword [edx], ecx
mov eax, dword [ebp - 0x448]
or eax, 1
mov dword [ebp - 0x448], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x230]
call fcn.004279e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.004279e0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.00528b3b
mov esp, ebp
pop ebp
ret
Function at 0x42da00
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5680d8
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0xfca838]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x18]
push eax
push 0xfa4588
push 1
push 0
push 0xfa45f8
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jge 0x42da4d
xor eax, eax
jmp 0x42db7f
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [eax + 0x50]
call edx
cmp dword [ebp + 0x10], 0
je 0x42da77
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [edx + 0x2c]
call ecx
mov edx, dword [ebp + 0xc]
movzx eax, word [edx]
cmp eax, 0x68
jne 0x42daa6
mov ecx, dword [ebp + 0xc]
movzx edx, word [ecx + 2]
cmp edx, 0x74
jne 0x42daa6
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax + 4]
cmp ecx, 0x74
jne 0x42daa6
mov edx, dword [ebp + 0xc]
movzx eax, word [edx + 6]
cmp eax, 0x70
je 0x42dad5
mov ecx, dword [ebp + 0xc]
movzx edx, word [ecx]
cmp edx, 0x77
jne 0x42db24
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax + 2]
cmp ecx, 0x77
jne 0x42db24
mov edx, dword [ebp + 0xc]
movzx eax, word [edx + 4]
cmp eax, 0x77
jne 0x42db24
mov ecx, dword [ebp + 0xc]
movzx edx, word [ecx + 6]
cmp edx, 0x2e
jne 0x42db24
lea eax, [ebp - 0x1c]
push eax
call fcn.0042d7a0
add esp, 4
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx - 0xc]
mov dword [ebp - 0x20], edx
xor eax, eax
cmp dword [ebp - 0x20], 0
sete al
movzx ecx, al
test ecx, ecx
jne 0x42db15
push 0
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ecx + 0x44]
call eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.004279e0
lea ecx, [ebp - 0x10]
push ecx
push 0xfa45b8
mov edx, dword [ebp - 0x18]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [eax]
call edx
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jge 0x42db47
xor eax, eax
jmp 0x42db7f
push 2
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [edx + 0x18]
call ecx
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [eax + 8]
call edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ecx + 8]
call eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret