joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40bf62
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
xor esi, esi
cmp dword [esp + 8], esi
jne 0x40bf8f
call fcn.0040dc33
mov dword [eax], esi
call fcn.0040dc20
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.0040ccb2
add esp, 0x14
push 0x16
pop eax
pop esi
ret
test dword [esp + 0xc], 0xfffffff9
jne 0x40bf6b
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x40bfbe
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0040dc46
pop ecx
call fcn.0040dc20
mov eax, dword [eax]
pop esi
ret
test al, 0x10
jne 0x40bfe5
test al, 1
je 0x40bfe5
test byte [esp + 0xc], 2
je 0x40bfe5
call fcn.0040dc33
mov dword [eax], 5
call fcn.0040dc20
mov dword [eax], 0xd
jmp 0x40bfb5
xor eax, eax
pop esi
ret

Function at 0x413d5b
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x423ce0]
je 0x413d76
inc edi
cmp edi, 0x17
jb 0x413d67
cmp edi, 0x17
jae 0x413ef6
push ebp
push 3
call fcn.004187fb
cmp eax, 1
pop ecx
je 0x413ec2
push 3
call fcn.004187fb
test eax, eax
pop ecx
jne 0x413daa
cmp dword [0x423040], 1
je 0x413ec2
cmp ebx, 0xfc
je 0x413ef5
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x424b90
push ebp
call fcn.0040ab23
add esp, 0xc
test eax, eax
je 0x413de0
push esi
push esi
push esi
push esi
push esi
call fcn.0040cbb6
add esp, 0x14
push 0x104
mov esi, 0x424ba9
push esi
push 0
mov byte [0x424cad], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x413e24
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.0040ab23
add esp, 0xc
test eax, eax
je 0x413e24
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.0040cbb6
add esp, 0x14
push esi
call fcn.0040d6e0
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x413e69
push esi
call fcn.0040d6e0
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x424ea4
push 0x41eb6c
sub ecx, eax
push ecx
push eax
call fcn.0040ac5e
add esp, 0x14
test eax, eax
je 0x413e69
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.0040cbb6
add esp, 0x14
jmp 0x413e6b
xor esi, esi
push 0x41eb68
push ebx
push ebp
call fcn.0040adff
add esp, 0xc
test eax, eax
je 0x413e8b
push esi
push esi
push esi
push esi
push esi
call fcn.0040cbb6
add esp, 0x14
push dword [edi*8 + 0x423ce4]
push ebx
push ebp
call fcn.0040adff
add esp, 0xc
test eax, eax
je 0x413ead
push esi
push esi
push esi
push esi
push esi
call fcn.0040cbb6
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.0041863e
add esp, 0xc
jmp 0x413ef5
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x413ef5
cmp ebp, 0xffffffff
je 0x413ef5
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x423ce4]
push dword [esi]
call fcn.0040d6e0
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x41863e
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00411af1
xor ebx, ebx
cmp dword [0x42502c], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x418714
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x4187f4
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x4187f4
push eax
call fcn.00411a83
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x42502c], eax
call esi
push eax
call fcn.00411a83
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x425030], eax
call esi
push eax
call fcn.00411a83
mov dword [0x425034], eax
lea eax, [ebp - 0xc]
push eax
call fcn.00412d55
test eax, eax
pop ecx
pop ecx
je 0x4186e2
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0040cbb6
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x418714
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00411a83
cmp eax, ebx
pop ecx
mov dword [0x42503c], eax
je 0x418714
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00411a83
pop ecx
mov dword [0x425038], eax
mov eax, dword [0x425038]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x418799
cmp dword [0x42503c], ecx
je 0x418799
push eax
call fcn.00411afa
push dword [0x42503c]
mov esi, eax
call fcn.00411afa
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x418799
cmp edi, ebx
je 0x418799
call esi
cmp eax, ebx
je 0x418766
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x418766
test byte [ebp - 0x18], 1
jne 0x418799
lea eax, [ebp - 0x10]
push eax
call fcn.00412d8c
test eax, eax
pop ecx
je 0x418781
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0040cbb6
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x418790
or dword [ebp + 0x10], 0x200000
jmp 0x4187d4
or dword [ebp + 0x10], 0x40000
jmp 0x4187d4
mov eax, dword [0x425030]
cmp eax, dword [ebp - 8]
je 0x4187d4
push eax
call fcn.00411afa
cmp eax, ebx
pop ecx
je 0x4187d4
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x4187d4
mov eax, dword [0x425034]
cmp eax, dword [ebp - 8]
je 0x4187d4
push eax
call fcn.00411afa
cmp eax, ebx
pop ecx
je 0x4187d4
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x42502c]
call fcn.00411afa
cmp eax, ebx
pop ecx
je 0x4187f4
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4187f6
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x63bc4460
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, ecx
push ebx
sub esp, 0x2c
test edx, edx
mov dword [ebp - 0x1c], eax
mov eax, 0
cmove esi, eax
mov dword [ebp - 0x24], edx
mov ecx, dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], 0
mov edi, dword fs:[0x18]
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov dword [ebp - 0x20], ecx
call ecx
mov ebx, eax
mov eax, dword [ebp - 0x1c]
sub esp, 0xc
mov dword [ebx + 4], 1
mov dword [ebx], eax
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov ecx, dword [ebp - 0x20]
call ecx
mov edx, dword [ebp - 0x24]
sub esp, 0xc
test eax, eax
mov dword [ebx + 8], eax
je 0x63bc4508
mov dword [esp + 8], esi
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.ucrtbase.dll_memcpy
mov dword [ebx + 0xc], esi
mov dword [ebx + 0x10], 0
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], ebx
xor ebx, ebx
mov dword [esp + 4], 0
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
jmp 0x63bc44f8

Function at 0x63bc49e0
Capabilities:
Allocate thread local storage

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x28
mov edi, dword [ecx]
mov ebx, dword [ecx + 4]
mov esi, dword [ecx + 8]
test byte [0x63bcb034], 8
jne 0x63bc4a68
test ebx, ebx
je 0x63bc4a48
cmp ebx, 1
je 0x63bc4a28
lea esp, [ebp - 0x10]
mov eax, 1
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0xc
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_DisableThreadLibraryCalls]
sub esp, 4
call dword [sym.imp.kernel32.dll_TlsAlloc]
mov dword [0x63bd0004], eax
jmp 0x63bc4a0e
test esi, esi
jne 0x63bc4a0e
mov eax, dword [0x63bd0004]
cmp eax, 0xffffffff
je 0x63bc4a0e
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_TlsFree]
sub esp, 4
jmp 0x63bc4a0e
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], str._p___lu___p._n
mov dword [esp + 8], str.DllMain
mov dword [esp + 4], 0x63bcb034
mov dword [esp], 3
call fcn.63bc2700
jmp 0x63bc4a05
Function at 0x63bc5f10
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x38
mov eax, dword [ecx + 4]
mov esi, dword [ecx]
mov dword [ebp - 0x1c], eax
mov eax, dword [ecx + 8]
mov dword [ebp - 0x20], eax
test byte [0x63bcb034], 8
jne 0x63bc6030
test esi, esi
je 0x63bc6072
mov ecx, dword [sym.imp.kernel32.dll_MultiByteToWideChar]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov dword [esp], 0
mov dword [ebp - 0x28], ecx
call ecx
sub esp, 0x18
mov edx, eax
lea eax, [eax + eax]
mov dword [ebp - 0x24], edx
mov edi, dword fs:[0x18]
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
mov ebx, eax
test eax, eax
je 0x63bc6079
mov edx, dword [ebp - 0x24]
mov dword [esp + 8], esi
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 4], 0
mov dword [esp + 0x14], edx
mov dword [esp], 0
mov ecx, dword [ebp - 0x28]
call ecx
mov eax, dword [ebp - 0x20]
sub esp, 0x18
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym.shcore.dll_SHCreateStreamOnFileW
sub esp, 0xc
mov esi, eax
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
lea esp, [ebp - 0x10]
mov eax, esi
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0xc
mov eax, esi
call fcn.63bc37a0
mov edi, dword [ebp - 0x20]
mov dword [esp + 0x18], edi
mov edi, dword [ebp - 0x1c]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str._s___lx___p._n
mov dword [esp + 8], 0x63bcda8c
mov dword [esp + 0x14], edi
mov dword [esp + 4], 0x63bcb034
mov dword [esp], 3
call fcn.63bc2700
jmp 0x63bc5f3f
mov esi, 0x80070003
jmp 0x63bc601e
mov esi, 0x8007000e
jmp 0x63bc601e
Function at 0x63bc6080
Capabilities:
Get process heap flags

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push esi
push ebx
push ecx
sub esp, 0x2c
mov ebx, dword [ecx]
mov esi, dword [ecx + 4]
test byte [0x63bcb034], 8
jne 0x63bc6148
test ebx, ebx
je 0x63bc6180
test esi, esi
je 0x63bc6180
mov dword [esi], 0
mov eax, dword fs:[0x18]
mov dword [esp + 8], 8
mov dword [esp + 4], 0
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
test eax, eax
je 0x63bc6187
mov dword [eax], 0x63bcddd4
mov dword [eax + 4], ebx
mov dword [ebx], 1
mov dword [esi], eax
test byte [0x63bcb034], 8
jne 0x63bc6118
xor eax, eax
lea esp, [ebp - 0xc]
pop ecx
pop ebx
pop esi
pop ebp
lea esp, [ecx - 4]
ret 8
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.Created__p._n
mov dword [esp + 8], str.SHCreateThreadRef
mov dword [esp + 4], 0x63bcb034
mov dword [esp], 3
call fcn.63bc2700
jmp 0x63bc6105
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], str.__p___p__n
mov dword [esp + 8], str.SHCreateThreadRef
mov dword [esp + 4], 0x63bcb034
mov dword [esp], 3
call fcn.63bc2700
jmp 0x63bc60a5
mov eax, 0x80070057
jmp 0x63bc6107
mov eax, 0x8007000e
jmp 0x63bc6107

Function at 0x63bc61a0
Capabilities:
Get thread local storage value

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push ebx
push ecx
sub esp, 0x20
mov ebx, dword [ecx]
test byte [0x63bcb034], 8
jne 0x63bc61f8
mov eax, dword [0x63bd0004]
cmp eax, 0xffffffff
je 0x63bc6228
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
sub esp, 4
mov dword [ebx], eax
test eax, eax
je 0x63bc6228
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 4]
xor eax, eax
sub esp, 4
lea esp, [ebp - 8]
pop ecx
pop ebx
pop ebp
lea esp, [ecx - 4]
ret 4
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], str.__p__n
mov dword [esp + 8], str.SHGetThreadRef
mov dword [esp + 4], 0x63bcb034
mov dword [esp], 3
call fcn.63bc2700
jmp 0x63bc61bd
mov eax, 0x80004002
jmp 0x63bc61e6

Function at 0x63bc6230
Capabilities:
Set thread local storage value

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push ebx
push ecx
sub esp, 0x20
mov ebx, dword [ecx]
test byte [0x63bcb034], 8
jne 0x63bc6278
mov eax, dword [0x63bd0004]
cmp eax, 0xffffffff
je 0x63bc62a8
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_TlsSetValue]
xor eax, eax
sub esp, 8
lea esp, [ebp - 8]
pop ecx
pop ebx
pop ebp
lea esp, [ecx - 4]
ret 4
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], str.__p__n
mov dword [esp + 8], str.SHSetThreadRef
mov dword [esp + 4], 0x63bcb034
mov dword [esp], 3
call fcn.63bc2700
jmp 0x63bc624d
mov eax, 0x80004002
jmp 0x63bc6269
Function at 0x63bc63e0
Capabilities:
Create thread

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x68
movd xmm0, dword [ecx]
movd xmm1, dword [ecx + 0xc]
movdqa xmm2, xmm0
mov esi, dword [ecx + 4]
mov ebx, dword [ecx + 8]
punpckldq xmm2, xmm1
test byte [0x63bcb034], 8
jne 0x63bc6580
movq qword [ebp - 0x38], xmm2
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], ebx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_CreateEventW]
sub esp, 0x10
mov dword [ebp - 0x28], eax
test bl, 2
jne 0x63bc6568
mov dword [ebp - 0x24], 0
test bl, 4
jne 0x63bc6550
mov dword [ebp - 0x20], 0
mov edx, dword [ebp - 0x28]
test edx, edx
je 0x63bc650f
lea eax, [ebp - 0x3c]
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], eax
lea eax, [ebp - 0x38]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x63bc2790
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_CreateThread]
sub esp, 0x18
mov edi, eax
test eax, eax
je 0x63bc6500
mov dword [esp + 4], 0xffffffff
mov eax, dword [ebp - 0x28]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
mov ebx, dword [sym.imp.kernel32.dll_CloseHandle]
sub esp, 8
mov dword [esp], edi
call ebx
mov eax, dword [ebp - 0x28]
sub esp, 4
mov dword [esp], eax
call ebx
sub esp, 4
lea esp, [ebp - 0x10]
mov eax, 1
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
mov eax, dword [ebp - 0x28]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_CloseHandle]
sub esp, 4
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x63bc65d0
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x63bc652c
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x63bc653e
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
lea esp, [ebp - 0x10]
xor eax, eax
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
lea eax, [ebp - 0x20]
mov dword [esp], eax
call sym.shcore.dll_GetProcessReference
sub esp, 4
jmp 0x63bc646e
lea eax, [ebp - 0x24]
mov dword [esp], eax
call sym.shcore.dll_SHGetThreadRef
sub esp, 4
jmp 0x63bc645e
movq qword [ebp - 0x50], xmm2
movd dword [esp + 0x1c], xmm1
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], esi
movd dword [esp + 0x10], xmm0
mov dword [esp + 0xc], str._p___p___lx___p._n
mov dword [esp + 8], str.SHCreateThread
mov dword [esp + 4], 0x63bcb034
mov dword [esp], 3
call fcn.63bc2700
movq xmm2, qword [ebp - 0x50]
jmp 0x63bc6418
and ebx, 1
je 0x63bc651a
mov dword [esp], esi
call dword [ebp - 0x38]
sub esp, 4
jmp 0x63bc64e5
Function at 0x63bc7190
Capabilities:
Delete registry key

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x48
mov dword [ebp - 0x20], 0
mov esi, dword [ecx]
mov edi, dword [ecx + 4]
mov dword [ebp - 0x1c], 0
test byte [0x63bcb034], 8
jne 0x63bc7200
mov dword [esp + 0xc], 0x20019
lea eax, [ebp - 0x1c]
mov dword [esp + 8], 0
mov dword [esp + 0x10], eax
mov dword [esp + 4], edi
mov dword [esp], esi
call sub.advapi32.dll_RegOpenKeyExW
sub esp, 0x14
mov ebx, eax
test eax, eax
je 0x63bc7238
lea esp, [ebp - 0x10]
mov eax, ebx
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 8
mov eax, edi
call fcn.63bc3570
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], str.__p___s__n
mov dword [esp + 8], str.SHDeleteEmptyKeyW
mov dword [esp + 4], 0x63bcb034
mov dword [esp], 3
call fcn.63bc2700
jmp 0x63bc71c0
lea eax, [ebp - 0x20]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call sub.advapi32.dll_RegQueryInfoKeyW
mov ebx, eax
mov eax, dword [ebp - 0x1c]
sub esp, 0x30
mov dword [esp], eax
call sub.advapi32.dll_RegCloseKey
sub esp, 4
test ebx, ebx
jne 0x63bc71ec
mov eax, dword [ebp - 0x20]
mov ebx, 0x3fc
test eax, eax
jne 0x63bc71ec
mov dword [esp + 4], edi
mov dword [esp], esi
call sub.advapi32.dll_RegDeleteKeyW
sub esp, 8
mov ebx, eax
jmp 0x63bc71ec

Function at 0x63bc73a0
Capabilities:
Delete registry key

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push esi
push ebx
push ecx
sub esp, 0x2c
mov ebx, dword [ecx]
mov esi, dword [ecx + 4]
test byte [0x63bcb034], 8
jne 0x63bc73e0
mov dword [esp + 4], esi
mov dword [esp], ebx
call sub.advapi32.dll_RegDeleteTreeW
sub esp, 8
lea esp, [ebp - 0xc]
pop ecx
pop ebx
pop esi
pop ebp
lea esp, [ecx - 4]
ret 8
mov eax, esi
call fcn.63bc3570
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], str.__p___s__n
mov dword [esp + 8], str.SHDeleteKeyW
mov dword [esp + 4], 0x63bcb034
mov dword [esp], 3
call fcn.63bc2700
jmp 0x63bc73c1

Function at 0x63bc7420
Capabilities:
Delete registry key

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push esi
push ebx
push ecx
sub esp, 0x2c
mov ebx, dword [ecx]
mov esi, dword [ecx + 4]
test byte [0x63bcb034], 8
jne 0x63bc7460
mov dword [esp + 4], esi
mov dword [esp], ebx
call sub.advapi32.dll_RegDeleteTreeA
sub esp, 8
lea esp, [ebp - 0xc]
pop ecx
pop ebx
pop esi
pop ebp
lea esp, [ecx - 4]
ret 8
mov eax, esi
call fcn.63bc37a0
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], str.__p___s__n
mov dword [esp + 8], str.SHDeleteKeyA
mov dword [esp + 4], 0x63bcb034
mov dword [esp], 3
call fcn.63bc2700
jmp 0x63bc7441
Function at 0x63bc74a0
Capabilities:
Delete registry value

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x48
mov ebx, dword [ecx]
mov edi, dword [ecx + 4]
mov esi, dword [ecx + 8]
test byte [0x63bcb034], 8
jne 0x63bc7508
mov dword [esp], ebx
lea eax, [ebp - 0x1c]
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], eax
mov dword [esp + 8], 0
mov dword [esp + 4], edi
call sub.advapi32.dll_RegOpenKeyExW
sub esp, 0x14
mov ebx, eax
test eax, eax
je 0x63bc7558
lea esp, [ebp - 0x10]
mov eax, ebx
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0xc
mov eax, esi
call fcn.63bc3570
mov dword [ebp - 0x2c], eax
mov eax, edi
call fcn.63bc3570
mov edx, dword [ebp - 0x2c]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], str.__p___s___s__n
mov dword [esp + 8], str.SHDeleteValueW
mov dword [esp + 0x18], edx
mov dword [esp + 4], 0x63bcb034
mov dword [esp], 3
call fcn.63bc2700
jmp 0x63bc74c5
mov dword [esp + 4], esi
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call sub.advapi32.dll_RegDeleteValueW
mov ebx, eax
mov eax, dword [ebp - 0x1c]
sub esp, 8
mov dword [esp], eax
call sub.advapi32.dll_RegCloseKey
mov eax, ebx
sub esp, 4
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0xc

Function at 0x63bc76b0
Capabilities:
Query or enumerate registry key

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x38
mov ebx, dword [ecx]
mov esi, dword [ecx + 4]
mov edi, dword [ecx + 8]
mov edx, dword [ecx + 0xc]
test byte [0x63bcb034], 8
jne 0x63bc7720
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], edx
call sub.advapi32.dll_RegEnumKeyExA
sub esp, 0x20
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
mov eax, edi
mov dword [ebp - 0x1c], edx
call fcn.63bc37a0
mov edx, dword [ebp - 0x1c]
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], str._p___ld___s___p._n
mov dword [esp + 0x1c], edx
mov dword [esp + 8], str.SHEnumKeyExA
mov dword [esp + 4], 0x63bcb034
mov dword [esp], 3
call fcn.63bc2700
mov edx, dword [ebp - 0x1c]
jmp 0x63bc76d8
Function at 0x63bc7770
Capabilities:
Query or enumerate registry key

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x38
mov ebx, dword [ecx]
mov esi, dword [ecx + 4]
mov edi, dword [ecx + 8]
mov edx, dword [ecx + 0xc]
test byte [0x63bcb034], 8
jne 0x63bc77e0
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], edx
call sub.advapi32.dll_RegEnumKeyExW
sub esp, 0x20
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
mov eax, edi
mov dword [ebp - 0x1c], edx
call fcn.63bc3570
mov edx, dword [ebp - 0x1c]
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], str._p___ld___s___p._n
mov dword [esp + 0x1c], edx
mov dword [esp + 8], str.SHEnumKeyExW
mov dword [esp + 4], 0x63bcb034
mov dword [esp], 3
call fcn.63bc2700
mov edx, dword [ebp - 0x1c]
jmp 0x63bc7798

Function at 0x63bc7830
Capabilities:
Query or enumerate registry value

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x48
mov eax, dword [ecx]
mov ebx, dword [ecx + 4]
mov edx, dword [ecx + 8]
mov esi, dword [ecx + 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [ecx + 0x14]
mov edi, dword [ecx + 0x10]
mov ecx, dword [ecx + 0x18]
mov dword [ebp - 0x20], eax
test byte [0x63bcb034], 8
jne 0x63bc78b0
mov dword [esp + 0x1c], ecx
mov eax, dword [ebp - 0x20]
mov dword [esp + 0x14], edi
mov dword [esp + 0xc], esi
mov dword [esp + 4], ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], 0
mov dword [esp + 8], edx
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call sub.advapi32.dll_RegEnumValueA
sub esp, 0x20
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x1c
mov eax, edx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], edx
call fcn.63bc37a0
mov ecx, dword [ebp - 0x24]
mov dword [esp + 0x28], ecx
mov edx, dword [ebp - 0x20]
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x24], edx
mov dword [esp + 0x14], ebx
mov eax, dword [ebp - 0x1c]
mov dword [esp + 0xc], str._p___ld___s___p___p___p___p._n
mov dword [esp + 8], str.SHEnumValueA
mov dword [esp + 4], 0x63bcb034
mov dword [esp + 0x10], eax
mov dword [esp], 3
call fcn.63bc2700
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
jmp 0x63bc7867