joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41c680
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
lea eax, [esp]
push eax
lea edx, [esp + 8]
push edx
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x14]
push eax
mov eax, dword [ecx]
push 0
push edx
push eax
mov dword [esp + 0x18], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x41c6cb
cmp dword [esp + 0xc], 4
je 0x41c6bf
mov eax, 0xd
add esp, 8
ret 8
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 4]
mov dword [ecx], edx
xor eax, eax
add esp, 8
ret 8

Function at 0x41c6e0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
lea eax, [esp]
push eax
lea edx, [esp + 8]
push edx
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x14]
push eax
mov eax, dword [ecx]
push 0
push edx
push eax
mov dword [esp + 0x18], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x41c72f
cmp dword [esp + 0xc], 4
je 0x41c71f
mov eax, 0xd
add esp, 8
ret 8
cmp dword [esp + 4], 0
mov edx, dword [esp + 0x10]
setne cl
mov byte [edx], cl
xor eax, eax
add esp, 8
ret 8

Function at 0x41c740
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
lea eax, [esp]
push eax
lea edx, [esp + 8]
push edx
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x14]
push eax
mov eax, dword [ecx]
push 0
push edx
push eax
mov dword [esp + 0x18], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x41c78d
cmp dword [esp + 0xc], 4
je 0x41c77f
mov eax, 0xd
add esp, 8
ret 8
mov ecx, dword [esp + 0x10]
mov dx, word [esp + 4]
mov word [ecx], dx
xor eax, eax
add esp, 8
ret 8

Function at 0x41c7a0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
lea eax, [esp]
push eax
lea edx, [esp + 8]
push edx
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x14]
push eax
mov eax, dword [ecx]
push 0
push edx
push eax
mov dword [esp + 0x18], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x41c7eb
cmp dword [esp + 0xc], 4
je 0x41c7df
mov eax, 0xd
add esp, 8
ret 8
mov ecx, dword [esp + 0x10]
mov dl, byte [esp + 4]
mov byte [ecx], dl
xor eax, eax
add esp, 8
ret 8
Function at 0x41c890
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4b5bc8
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4ef7d0]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov ebp, ecx
mov esi, vtable.wpf::Reader.0
xor eax, eax
mov dword [esp + 0x14], esi
xor ebx, ebx
mov dword [esp + 0x18], eax
mov edi, dword [esp + 0x2c]
cmp edi, ebx
mov dword [esp + 0x24], ebx
jne 0x41c8e4
cmp dword [ebp + 0x24], 0x10
jb 0x41c8e1
mov edi, dword [ebp + 0x10]
jmp 0x41c8e4
lea edi, [ebp + 0x10]
cmp byte [edi], 0
je 0x41c94d
push 0x80000000
push edi
lea ecx, [esp + 0x1c]
call fcn.0042bd80
test al, al
je 0x41c949
mov esi, dword [esp + 0x18]
lea eax, [ebp + 0x28]
push eax
push ebx
push ebx
push esi
mov dword [esp + 0x28], ebx
call dword [sym.imp.KERNEL32.dll_GetFileTime]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, eax
call esi
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x41c92d
and al, 1
mov byte [ebp + 8], al
mov eax, dword [esp + 0x18]
test ebx, ebx
setne bl
test eax, eax
mov dword [esp + 0x14], vtable.wpf::Reader.0
je 0x41c945
push eax
call esi
mov al, bl
jmp 0x41c95e
mov eax, dword [esp + 0x18]
cmp eax, ebx
mov dword [esp + 0x14], esi
je 0x41c95c
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 4

Function at 0x41d840
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, dword [esp + 4]
push esi
push eax
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x41d85e
test al, 1
je 0x41d85e
mov eax, 1
jmp 0x41d860
xor eax, eax
mov ecx, dword [0x4e65b8]
push 0
push 0
mov byte [ecx + 0x19], al
mov edx, dword [esi + 0x88]
push 0x409
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
pop esi
mov dword [esp + 4], eax
jmp dword [sym.imp.USER32.dll_DestroyCursor]
Function at 0x41e890
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4b5d69
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4ef7d0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
xor eax, eax
mov dword [esi + 4], eax
mov dword [esi + 8], vtable.wnd::DirList.0
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov ecx, 0xf
mov dword [esi + 0x34], ecx
mov dword [esi + 0x30], eax
mov dword [esp + 0x14], eax
mov byte [esi + 0x20], al
mov dword [esi], vtable.wnd::Favorites.1.0
mov dword [esi + 8], vtable.wnd::Favorites.0
mov dword [esi + 0x54], ecx
mov dword [esi + 0x50], eax
mov byte [esi + 0x40], al
mov dword [esi + 0x70], ecx
mov dword [esi + 0x6c], eax
mov byte [esi + 0x5c], al
push str.Favorites2
lea ecx, [esi + 0x74]
mov byte [esp + 0x18], 3
call fcn.004096b0
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x4213c0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x4b6078
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4ef7d0]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x2c]
mov edi, dword [esp + 0x30]
mov ebx, dword [esp + 0x34]
lea esi, [edi + edi + 2]
cmp esi, ebx
mov dword [esp + 0x24], 0
mov dword [esp + 0x14], edi
jge 0x421495
jmp 0x421410
lea eax, [esi*8]
sub eax, esi
lea eax, [ebp + eax*8]
mov edx, 0x10
cmp dword [eax - 0x20], edx
jb 0x42142c
mov ecx, dword [eax - 0x34]
jmp 0x42142f
lea ecx, [eax - 0x34]
cmp dword [eax + 0x18], edx
jb 0x421439
mov eax, dword [eax + 4]
jmp 0x42143c
add eax, 4
push ecx
push eax
call fcn.0049e33e
add esp, 8
test eax, eax
jge 0x42144d
sub esi, 1
lea edx, [edi*8]
lea ecx, [esi*8]
sub ecx, esi
push 0xffffffffffffffff
sub edx, edi
lea ebx, [ebp + ecx*8]
lea edi, [ebp + edx*8]
push 0
push ebx
mov ecx, edi
call fcn.004067c0
push 0xffffffffffffffff
push 0
add ebx, 0x1c
push ebx
lea ecx, [edi + 0x1c]
call fcn.004067c0
mov edi, esi
lea esi, [esi + esi + 2]
cmp esi, dword [esp + 0x34]
jl 0x421410
mov ebx, dword [esp + 0x34]
cmp esi, ebx
jne 0x4214d0
lea ecx, [edi*8]
lea eax, [ebx*8]
sub ecx, edi
push 0xffffffffffffffff
sub eax, ebx
lea esi, [ebp + eax*8 - 0x38]
lea edi, [ebp + ecx*8]
push 0
push esi
mov ecx, edi
call fcn.004067c0
push 0xffffffffffffffff
push 0
add esi, 0x1c
push esi
lea ecx, [edi + 0x1c]
call fcn.004067c0
lea edi, [ebx - 1]
sub esp, 0x38
lea edx, [esp + 0x70]
mov ecx, esp
mov dword [esp + 0x50], esp
push edx
call fcn.00407570
mov eax, dword [esp + 0x4c]
push eax
push edi
push ebp
call fcn.0041e290
mov esi, 0x10
add esp, 0x44
cmp dword [esp + 0x6c], esi
jb 0x42150a
mov ecx, dword [esp + 0x58]
push ecx
call fcn.0049ea7d
add esp, 4
cmp dword [esp + 0x50], esi
mov dword [esp + 0x6c], 0xf
mov dword [esp + 0x68], 0
mov byte [esp + 0x58], 0
jb 0x421532
mov edx, dword [esp + 0x3c]
push edx
call fcn.0049ea7d
add esp, 4
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x42a2c0
Capabilities:
Get file system object information

Disassembly:
sub esp, 0x168
mov eax, dword [0x4ef7d0]
xor eax, esp
mov dword [esp + 0x164], eax
mov edx, dword [esp + 0x16c]
push ebx
push esi
lea esi, [edx + 0xc]
mov eax, esi
push edi
lea edi, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x42a2e6
sub eax, edi
jne 0x42a2f6
mov esi, dword [edx + 8]
mov eax, esi
lea edx, [eax + 1]
jmp 0x42a300
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x42a300
sub eax, edx
add eax, 0x15
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
mov ax, word [0x4d1c64]
mov word [ebx], ax
mov cl, byte [0x4d1c66]
mov byte [ebx + 2], cl
mov eax, esi
lea ecx, [ecx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x42a330
mov edi, ebx
sub eax, esi
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x42a340
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
push 0x3b
push ebx
rep movsb byte es:[edi], byte [esi]
call fcn.004a0695
add esp, 8
test eax, eax
je 0x42a36a
mov byte [eax], 0
mov eax, ebx
lea edx, [eax + 1]
nop
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x42a370
sub eax, edx
cmp eax, 3
jae 0x42a397
mov edi, ebx
add edi, 0xffffffff
mov al, byte [edi + 1]
add edi, 1
test al, al
jne 0x42a385
mov edx, dword [0x4c8960]
mov dword [edi], edx
push 0x4011
push 0x160
lea eax, [esp + 0x18]
push eax
push 0x80
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov ecx, dword [esp + 0x170]
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0049ec31
add esp, 0x168
ret

Function at 0x42bd80
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
push ebp
mov ebp, ecx
mov eax, dword [ebp + 4]
test eax, eax
push esi
push edi
je 0x42bd94
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [esp + 0x18]
cmp ebx, 0x80000000
mov edi, 3
je 0x42bdc1
cmp ebx, 0x40000000
jne 0x42bdb4
mov edi, 2
jmp 0x42bdc1
cmp ebx, 0xc0000000
jne 0x42bdc1
mov edi, 4
mov esi, dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ecx, eax
sub ecx, 0xffffffff
push 0
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
push edi
push 0
push 1
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
pop edi
xor edx, edx
cmp eax, 0xffffffff
pop esi
mov dword [ebp + 4], eax
setne dl
pop ebp
mov al, dl
pop ebx
ret 8

Function at 0x42bf60
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebx
push esi
push edi
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov edi, dword [esp + 0x14]
lea eax, [edi + 1]
push eax
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, dword [esp + 0x10]
push edi
mov ebx, eax
push ecx
push ebx
call fcn.004a0150
add esp, 0xc
push esi
mov byte [ebx + edi], 0
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
pop edi
pop esi
pop ebx
jmp dword [sym.imp.USER32.dll_CloseClipboard]
Function at 0x42bfc0
Capabilities:
Get geographical location

Disassembly:
sub esp, 0xc
mov eax, dword [0x4ef7d0]
xor eax, esp
mov dword [esp + 8], eax
push ebx
push edi
mov edi, dword [esp + 0x18]
xor ebx, ebx
cmp byte [edi], bl
je 0x42c05e
push 8
lea eax, [esp + 0xc]
push eax
push 0xf
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x42bffb
mov byte [esp + 8], 0x27
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x42c000
push ebp
mov ebp, dword [sym.imp.USER32.dll_CharPrevA]
sub eax, edx
push esi
add eax, edi
push eax
push edi
call ebp
mov esi, eax
cmp esi, edi
je 0x42c05c
nop
add ebx, 1
cmp ebx, 3
jne 0x42c052
mov eax, esi
xor ebx, ebx
lea edx, [eax + 1]
nop
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x42c030
sub eax, edx
add eax, 1
push eax
lea ecx, [esi + 1]
push esi
push ecx
call fcn.004a1090
mov dl, byte [esp + 0x1c]
add esp, 0xc
mov byte [esi], dl
push esi
push edi
call ebp
mov esi, eax
cmp esi, edi
jne 0x42c020
pop esi
pop ebp
mov ecx, dword [esp + 0x10]
mov eax, edi
pop edi
pop ebx
xor ecx, esp
call fcn.0049ec31
add esp, 0xc
ret

Function at 0x42c2a0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x70
push 0x40
lea eax, [esp + 0x34]
push 0
push eax
mov dword [esp + 0x38], 0x44
call fcn.0049e8b0
mov eax, dword [esp + 0x80]
add esp, 0xc
lea ecx, [esp]
push ecx
lea edx, [esp + 0x30]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x42c2eb
xor al, al
add esp, 0x70
ret
mov ecx, dword [esp + 4]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call ebp
cmp dword [esp + 0x7c], 0
je 0x42c378
mov edx, dword [esp + 4]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x64
push edx
call ebx
cmp eax, 0x102
jne 0x42c364
push esi
mov esi, dword [sym.imp.USER32.dll_PeekMessageA]
push edi
mov edi, dword [sym.imp.USER32.dll_DispatchMessageA]
push 1
push 0xf
push 0xf
push 0
lea eax, [esp + 0x30]
push eax
call esi
test eax, eax
je 0x42c352
lea ecx, [esp + 0x20]
push ecx
call edi
push 1
push 0xf
push 0xf
push 0
lea edx, [esp + 0x30]
push edx
call esi
test eax, eax
jne 0x42c338
mov eax, dword [esp + 0x10]
push 0x64
push eax
call ebx
cmp eax, 0x102
je 0x42c325
pop edi
pop esi
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 8]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
pop ebx
mov eax, dword [esp + 4]
push eax
call ebp
mov al, 1
pop ebp
add esp, 0x70
ret
Function at 0x42c510
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov eax, dword [esp + 0x10]
test eax, eax
push ebx
mov ebx, dword [esp + 0xc]
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push esi
push edi
mov esi, ecx
je 0x42c537
mov ecx, dword [eax]
mov dword [esp + 0x18], ecx
mov dword [eax], 0
jmp 0x42c54b
mov ecx, dword [esi]
lea edx, [esp + 0x18]
push edx
push 0
lea eax, [esp + 0x18]
push eax
push 0
push ebx
push ecx
call ebp
mov edi, dword [esp + 0x1c]
mov ecx, dword [esi]
lea edx, [esp + 0x18]
push edx
push edi
lea eax, [esp + 0x18]
push eax
push 0
push ebx
push ecx
call ebp
test eax, eax
jne 0x42c5a3
mov eax, dword [esp + 0x10]
cmp eax, 1
je 0x42c574
cmp eax, 2
jne 0x42c587
test edi, edi
mov eax, dword [esp + 0x18]
je 0x42c597
test eax, eax
je 0x42c594
cmp byte [eax + edi - 1], 0
je 0x42c597
pop edi
pop esi
pop ebp
mov eax, 0xd
pop ebx
pop ecx
ret 0xc
mov byte [edi], 0
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x42c5a1
mov dword [ecx], eax
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0xc

Function at 0x42c700
Capabilities:
Find taskbar

Disassembly:
sub esp, 0x24
push edi
mov edi, dword [sym.imp.USER32.dll_FindWindowExA]
push 0
push str.Shell_TrayWnd
push 0
push 0
call edi
test eax, eax
je 0x42c738
push 0
push str.TrayNotifyWnd
push 0
push eax
call edi
test eax, eax
je 0x42c738
push esi
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
pop edi
add esp, 0x24
ret
lea eax, [esp + 4]
push eax
push 5
mov dword [esp + 0xc], 0x24
call dword [sym.imp.SHELL32.dll_SHAppBarMessage]
test eax, eax
je 0x42c7a9
mov eax, dword [esp + 0x10]
cmp eax, 3
ja case.default.0x42c75e
jmp dword [eax*4 + 0x42c818]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
lea ecx, [eax - 0x64]
add eax, 0xfffffff0
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x1c]
mov dword [esi + 4], ecx
mov dword [esi + 8], eax
mov dword [esi], edx
pop edi
add esp, 0x24
ret
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov dword [esi + 4], ecx
lea ecx, [eax - 0x64]
add eax, 0xfffffff0
mov dword [esi + 0xc], edx
mov dword [esi], ecx
mov dword [esi + 8], eax
pop edi
add esp, 0x24
ret
push 0
push str.Shell_TrayWnd
push 0
push 0
call edi
test eax, eax
je 0x42c7f0
push esi
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esi + 8]
mov edx, eax
sub edx, dword [esi]
cmp edx, 0x96
jle 0x42c7d8
add eax, 0xffffff6a
mov dword [esi], eax
mov eax, dword [esi + 0xc]
mov ecx, eax
sub ecx, dword [esi + 4]
cmp ecx, 0x1e
jle case.default.0x42c75e
add eax, 0xffffffe2
mov dword [esi + 4], eax
pop edi
add esp, 0x24
ret
push 0
push esi
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
mov edx, dword [esi + 8]
mov eax, dword [esi + 0xc]
sub edx, 0x96
sub eax, 0x1e
mov dword [esi + 4], eax
mov dword [esi], edx
pop edi
add esp, 0x24
ret
Function at 0x42c860
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x20
push edi
call fcn.0042c830
test al, al
mov edi, dword [esp + 0x28]
je 0x42c899
push esi
lea eax, [esp + 0x18]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
lea esi, [esp + 8]
call fcn.0042c700
mov ecx, esi
push ecx
lea edx, [esp + 0x1c]
push edx
push 3
push edi
call dword [sym.imp.USER32.dll_DrawAnimatedRects]
pop esi
push 0
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
add esp, 0x20
ret

Function at 0x42cab0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push 0xffffffffffffffff
push 0x4b695b
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [0x4ef7d0]
xor eax, esp
mov dword [esp + 0x118], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4ef7d0]
xor eax, esp
push eax
lea eax, [esp + 0x130]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x140]
xor edi, edi
mov ebp, ecx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x14], edi
mov eax, dword [ebp]
lea ecx, [esp + 0x1c]
push ecx
push 0x2001f
push edi
push ebx
push eax
mov dword [esp + 0x14c], edi
mov dword [esp + 0x30], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ecx, dword [esp + 0x14]
mov esi, eax
cmp esi, edi
jne 0x42cb44
xor eax, eax
cmp ecx, edi
je 0x42cb36
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, edi
mov ecx, dword [esp + 0x1c]
mov esi, eax
mov dword [esp + 0x14], ecx
je 0x42cb52
cmp ecx, edi
je 0x42cbf1
push ecx
jmp 0x42cbeb
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
lea edx, [esp + 0x24]
push edx
push edi
push edi
push edi
lea eax, [esp + 0x28]
push eax
lea edx, [esp + 0x40]
push edx
push edi
push ecx
mov dword [esp + 0x38], 0x100
call esi
test eax, eax
jne 0x42cbc2
lea ebx, [ebx]
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x18]
call fcn.0042cab0
mov ebx, eax
cmp ebx, edi
jne 0x42cc1d
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x18]
push edi
push edi
push edi
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x40]
push eax
push edi
push ecx
mov dword [esp + 0x38], 0x100
call esi
test eax, eax
je 0x42cb80
mov ebx, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x42cbd5
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], edi
mov edx, dword [ebp]
push ebx
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov esi, eax
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x42cbf1
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [esp + 0x130]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x118]
xor ecx, esp
call fcn.0049ec31
add esp, 0x128
ret 4
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x42cc2c
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x42cbf3
Function at 0x42cc80
Capabilities:
Delete registry value
Set registry value

Disassembly:
sub esp, 0x28
mov eax, dword [0x4ef7d0]
xor eax, esp
mov dword [esp + 0x24], eax
push esi
mov esi, ecx
cmp dword [esi + 0x24], 0x10
jb 0x42cc9c
mov eax, dword [esi + 0x10]
jmp 0x42cc9f
lea eax, [esi + 0x10]
mov edx, dword [esi + 8]
push 0
lea ecx, [esp + 8]
push ecx
push 0
push 0x2001f
push 0
push 0
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x42ce09
push ebx
push ebp
mov ebp, dword [sym.imp.USER32.dll_wsprintfA]
push edi
xor edi, edi
push edi
lea eax, [esp + 0x18]
push 0x4c88b4
push eax
call ebp
mov edx, dword [esp + 0x1c]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
push edx
call ebx
test eax, eax
jne 0x42cd1a
add edi, 1
push edi
lea eax, [esp + 0x18]
push 0x4c88b4
push eax
call ebp
mov edx, dword [esp + 0x1c]
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
push edx
call ebx
test eax, eax
je 0x42ccf7
xor edi, edi
xor ebp, ebp
mov edi, edi
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x42cde9
mov ecx, dword [esi + 0x30]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jae 0x42cde9
push edi
lea eax, [esp + 0x18]
push 0x4c88b4
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, dword [esi + 0x2c]
add esp, 0xc
test eax, eax
je 0x42cd82
mov ecx, dword [esi + 0x30]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x42cd87
call fcn.0049ed6a
mov ecx, dword [esi + 0x2c]
mov ebx, dword [ecx + ebp + 0x14]
mov eax, ecx
test eax, eax
je 0x42cdb0
mov ecx, dword [esi + 0x30]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x42cdb5
call fcn.0049ed6a
mov eax, dword [esi + 0x2c]
add eax, ebp
cmp dword [eax + 0x18], 0x10
jb 0x42cdc5
mov eax, dword [eax + 4]
jmp 0x42cdc8
add eax, 4
push ebx
push eax
mov eax, dword [esp + 0x18]
push 1
push 0
lea edx, [esp + 0x24]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
add edi, 1
add ebp, 0x1c
jmp 0x42cd20
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop ebp
pop ebx
mov al, 1
pop esi
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.0049ec31
add esp, 0x28
ret
mov ecx, dword [esp + 0x28]
pop esi
xor ecx, esp
xor al, al
call fcn.0049ec31
add esp, 0x28
ret
Function at 0x42ce70
Capabilities:
Create shortcut via ishelllink

Disassembly:
push 0xffffffffffffffff
push 0x4b69a8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x4ef7d0]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
xor edi, edi
mov dword [esp + 0x10], edi
lea eax, [esp + 0x10]
push eax
push 0x4d6f18
push 1
push edi
push 0x4d6f48
mov dword [esp + 0x3c], edi
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x42cef7
mov dword [esp + 0x14], edi
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
lea edx, [esp + 0x14]
push edx
push 0x4d6f78
push eax
mov eax, dword [ecx]
mov byte [esp + 0x34], 1
call eax
test eax, eax
jge 0x42cf24
mov eax, dword [esp + 0x14]
mov byte [esp + 0x28], 0
cmp eax, edi
je 0x42cef3
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x14], edi
mov eax, dword [esp + 0x10]
cmp eax, edi
mov dword [esp + 0x28], 0xffffffff
je 0x42cf0f
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
xor al, al
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x1c
ret
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x34]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x50]
call eax
mov eax, dword [esp + 0x38]
cmp eax, edi
je 0x42cf4f
cmp byte [eax], 0
je 0x42cf4f
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x2c]
push ecx
call eax
mov eax, dword [esp + 0x3c]
cmp eax, edi
je 0x42cf6e
cmp byte [eax], 0
je 0x42cf6e
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x40]
mov edx, dword [ecx]
push esi
push eax
mov eax, dword [edx + 0x44]
push ecx
call eax
mov eax, dword [esp + 0x44]
cmp eax, edi
je 0x42cf88
cmp byte [eax], 0
je 0x42cf88
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x24]
push ecx
call eax
mov eax, dword [esp + 0x48]
cmp eax, edi
je 0x42cfa2
cmp byte [eax], 0
je 0x42cfa2
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x1c]
push ecx
call eax
mov ecx, dword [esp + 0x30]
mov esi, dword [esp + 0x14]
push edi
push 0xffffffffffffffff
push ecx
lea ecx, [esp + 0x24]
call fcn.0041c160
mov eax, dword [eax + 4]
mov edx, dword [esi]
push 1
push eax
mov eax, dword [edx + 0x18]
push esi
mov byte [esp + 0x34], 2
call eax
test eax, eax
mov eax, dword [esp + 0x1c]
setl bl
cmp eax, edi
mov dword [esp + 0x18], vtable.util::utf8::string_convert_base_wchar_t_.0
je 0x42cfe8
push eax
call fcn.0049ed7a
add esp, 4
test bl, bl
mov eax, dword [esp + 0x14]
mov byte [esp + 0x28], 0
jne 0x42cee7
cmp eax, edi
je 0x42d005
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x10]
cmp eax, edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x28], 0xffffffff
je 0x42d021
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov al, 1
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x1c
ret