joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42b120
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x482db1
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4c600c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
lea eax, [esi + 0xc]
mov dword [esi], vtable.ThreadObject.0
push eax
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [ebp - 4], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0x4a8500
mov byte [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov byte [ebp - 4], 1
mov dword [esi + 0x38], 0x4a8500
mov byte [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov byte [ebp - 4], 2
mov dword [esi + 0x44], 0
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x42e940
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4832d6
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x4c600c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
lea eax, [ecx + 0xc]
mov dword [ecx], 0
mov dword [ecx + 4], 0xffffffff
mov byte [ecx + 8], 0
mov dword [ebp - 0x14], eax
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [ebp - 4], 1
lea eax, [ecx + 0x20]
mov byte [ecx + 0x1c], 0
mov dword [ebp - 0x14], eax
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov byte [ebp - 4], 3
mov dword [ecx + 0x30], 0
mov dword [ebp - 4], 0xffffffff
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp

Function at 0x4305d0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
movzx eax, byte [esi]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [esi + 1]
xor edx, eax
movzx eax, byte [esi + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [esi + 3]
imul ecx, edx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 4]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 5]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 6]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 7]
imul ecx, ecx, 0x1000193
xor ecx, eax
mov eax, dword [edi + 0x18]
imul ecx, ecx, 0x1000193
pop edi
pop esi
and eax, ecx
pop ebp
ret 4
Function at 0x435b20
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x484041
mov eax, dword fs:[0]
push eax
sub esp, 0xe4
push ebx
push esi
push edi
mov eax, dword [0x4c600c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], 0
push 0
push 0
mov dword [ebp - 0x14], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov ebx, eax
test ebx, ebx
jne 0x435ba2
sub esp, 8
mov ecx, esp
push str.GetCurrentDirectory__
call fcn.00411be6
push ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
push eax
lea ecx, [ebp - 0x88]
call fcn.004024a8
push 0x4c31b0
lea eax, [ebp - 0x88]
push eax
call fcn.0046b639
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [ebp - 4], 0
mov ecx, esi
mov dword [ebp - 0x14], 1
call fcn.00410145
cmp ebx, eax
jb 0x435c8a
lea ebx, [ebx]
cmp ebx, 0xffffffff
je 0x435c8f
lea edi, [ebx + 1]
test edi, edi
jne 0x435bf4
mov dword [esi], edi
jmp 0x435bfa
mov eax, dword [esi]
test eax, eax
jne 0x435c0d
cmp edi, dword [esi + 0xc]
jbe 0x435c19
push edi
mov ecx, esi
call fcn.00410f2e
test eax, eax
je 0x435c19
mov eax, dword [esi]
mov ecx, eax
test ecx, ecx
je 0x435c5e
test eax, eax
jne 0x435c6b
jmp 0x435c5e
mov ecx, dword [esi + 8]
cmp edi, ecx
jbe 0x435c41
mov eax, dword [esi + 4]
mov dword [esi + 8], edi
lea edx, [eax + ecx*2]
mov eax, edi
sub eax, ecx
test edx, edx
je 0x435c5e
add eax, eax
push eax
push 0
push edx
call fcn.0046a5d0
add esp, 0xc
jmp 0x435c5e
je 0x435c5e
mov eax, dword [esi + 4]
sub ecx, edi
lea eax, [eax + edi*2]
add ecx, ecx
je 0x435c5b
nop
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x435c50
mov dword [esi + 8], edi
mov ecx, dword [esi + 8]
xor edx, edx
mov eax, dword [esi + 4]
mov word [eax + ecx*2 - 2], dx
push dword [esi + 4]
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov ebx, eax
test ebx, ebx
je 0x435c94
mov ecx, esi
call fcn.00410145
cmp ebx, eax
jae 0x435be0
cmp ebx, 0xffffffff
jne 0x435cc9
call fcn.00401dbf
sub esp, 8
mov ecx, esp
push str.GetCurrentDirectory__
call fcn.00411be6
push ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
push eax
lea ecx, [ebp - 0xf0]
call fcn.004024a8
push 0x4c31b0
lea eax, [ebp - 0xf0]
push eax
call fcn.0046b639
lea eax, [ebp - 0x10]
mov ecx, esi
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebx + 1]
push eax
call fcn.00414394
test eax, eax
je 0x435ce7
cmp dword [esi], 0
jne 0x435d0c
jmp 0x435cff
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x435cff
mov eax, dword [ebp - 0x10]
add eax, eax
push eax
push 0
push ecx
call fcn.0046a5d0
add esp, 0xc
mov ecx, dword [esi + 8]
xor edx, edx
mov eax, dword [esi + 4]
mov word [eax + ecx*2 - 2], dx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x436400
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48427d
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x4c600c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], 0
xor eax, eax
mov dword [ecx + 4], 0x4a630c
mov dword [ecx + 0x2c], vtable.std::exception.0
mov dword [ecx + 0x30], eax
mov dword [ecx + 0x34], eax
mov dword [ebp - 4], eax
mov eax, dword [ecx + 4]
mov dword [ecx], vtable.WException.1.0
mov dword [ebp - 0x10], 1
mov eax, dword [eax + 4]
mov dword [eax + ecx + 4], vtable.WException.0
lea eax, [ecx + 8]
mov dword [ebp - 0x18], eax
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [ebp - 4], 3
mov eax, dword [ecx + 4]
mov dword [ecx], vtable.SHFileOperationError.1.0
mov eax, dword [eax + 4]
mov dword [eax + ecx + 4], vtable.SHFileOperationError.0
mov eax, dword [ebp + 8]
mov dword [ecx + 0x18], eax
lea eax, [ecx + 0x1c]
mov dword [ebp - 0x18], eax
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [ebp - 4], 0xffffffff
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x436750
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x484378
mov eax, dword fs:[0]
push eax
sub esp, 0x70
push esi
push edi
mov eax, dword [0x4c600c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov word [ebp - 0x28], ax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x24]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00416670
mov dword [ebp - 4], 1
cmp dword [ebp - 0x24], 0
jne 0x436832
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x4367c8
lea edx, [ecx - 1]
jmp 0x4367ca
xor edx, edx
or eax, 0xffffffff
sub eax, edx
cmp eax, 1
ja 0x4367d9
call fcn.00401dbf
test ecx, ecx
je 0x4367e0
dec ecx
jmp 0x4367e2
xor ecx, ecx
mov eax, dword [ebp - 0x18]
inc ecx
mov dword [ebp - 0x10], ecx
test eax, eax
je 0x4367f2
lea edx, [eax - 1]
jmp 0x4367f4
xor edx, edx
cmp edx, ecx
jae 0x436825
test eax, eax
je 0x4367ff
dec eax
jmp 0x436801
xor eax, eax
add eax, eax
cmp ecx, eax
mov dword [ebp - 0x14], eax
cmova eax, ecx
cmp eax, 0xffffffff
jne 0x436815
call fcn.00401dbf
inc eax
lea ecx, [ebp - 0x24]
push eax
call fcn.00410f2e
cmp dword [ebp - 0x24], 0
jne 0x436832
push 0
push 1
push ecx
lea ecx, [ebp - 0x24]
call fcn.00415ea0
mov edi, dword [ebp - 0x1c]
mov eax, 0x14
mov esi, dword [ebp - 0x20]
test edi, edi
mov word [ebp - 0x34], ax
mov eax, 0x4ca5a8
cmovne eax, esi
mov dword [ebp - 0x40], 3
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
je 0x436881
cmp dword [ebp - 0x32], 0
jne 0x436881
push ecx
push eax
lea ecx, [ebp - 0x7c]
call fcn.00436400
push 0x4c3858
lea eax, [ebp - 0x7c]
push eax
call fcn.0046b639
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x4368ab
test edi, edi
je 0x4368ab
lea ecx, [edi + edi]
mov eax, esi
test ecx, ecx
je 0x4368ab
lea esp, [esp]
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x4368a0
push esi
call fcn.0043af60
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x436fe0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x481e08
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x4c600c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
push 6
sub esp, 8
mov eax, esp
mov dword [eax], str.Kernel32.dll
mov dword [eax + 4], 0xc
call fcn.00422f70
mov dword [ebp - 4], 0
mov dword [esi], vtable.Kernel32Dll.0
mov dword [esi + 8], str.GetFinalPathNameByHandleW
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], str.GetFileInformationByHandleEx
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], str.SetFileInformationByHandle
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], str.GetVolumeInformationByHandleW
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], str.GetConsoleHistoryInfo
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], str.GetConsoleScreenBufferInfoEx
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], str.SetConsoleScreenBufferInfoEx
mov dword [esi + 0x54], 0
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], str.GetCurrentConsoleFontEx
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 0
mov dword [esi + 0x68], str.CreateSymbolicLinkW
mov dword [esi + 0x6c], 0
mov dword [esi + 0x70], 0
mov dword [esi + 0x74], str.QueryFullProcessImageNameW
mov dword [esi + 0x78], 0
mov dword [esi + 0x7c], 0
mov dword [esi + 0x80], str.GetTickCount64
mov dword [esi + 0x84], 0
mov dword [esi + 0x88], 0
mov dword [esi + 0x8c], str.InitializeProcThreadAttributeList
mov dword [esi + 0x90], 0
mov dword [esi + 0x94], 0
mov dword [esi + 0x98], str.UpdateProcThreadAttribute
mov dword [esi + 0x9c], 0
mov dword [esi + 0xa0], 0
mov dword [esi + 0xa4], str.DeleteProcThreadAttributeList
mov dword [esi + 0xa8], 0
mov dword [esi + 0xac], 0
mov dword [esi + 0xb0], str.ReOpenFile
mov dword [esi + 0xb4], 0
mov dword [esi + 0xb8], 0
mov dword [esi + 0xbc], str.OpenFileById
mov dword [esi + 0xc0], 0
mov dword [esi + 0xc4], 0
mov dword [esi + 0xc8], str.GetSystemTimePreciseAsFileTime
mov dword [esi + 0xcc], 0
mov dword [esi + 0xd0], 0
mov dword [esi + 0xd4], str.GetProductInfo
mov dword [esi + 0xd8], 0
mov dword [esi + 0xdc], 0
mov dword [esi + 0xe0], str.GetNamedPipeServerProcessId
mov dword [esi + 0xe4], 0
mov dword [esi + 0xe8], 0
mov dword [esi + 0xec], str.GetNamedPipeServerSessionId
mov dword [esi + 0xf0], 0
mov dword [esi + 0xf4], 0
mov dword [esi + 0xf8], str.GetNamedPipeClientProcessId
mov dword [esi + 0xfc], 0
mov dword [esi + 0x100], 0
mov dword [esi + 0x104], str.GetNamedPipeClientSessionId
mov dword [esi + 0x108], 0
mov dword [esi + 0x10c], 0
mov dword [esi + 0x110], str.GetNamedPipeClientComputerNameW
mov dword [esi + 0x114], 0
mov dword [esi + 0x118], 0
mov dword [esi + 0x11c], str.IsWow64Process2
mov dword [esi + 0x120], 0
mov dword [esi + 0x124], 0
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
Function at 0x43ae70
Capabilities:
Terminate process

Disassembly:
cmp ecx, 0x10000
ja 0x43ae99
xor edx, edx
push ecx
push ecx
lea ecx, [edx + 0x6c]
call fcn.00418ad0
add esp, 8
xor cl, cl
call fcn.00418950
push 0xc0000017
call dword [sym.imp.KERNEL32.dll_ExitProcess]
ret

Function at 0x43af20
Capabilities:
Terminate process

Disassembly:
push 0x52d
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
jne 0x43af5d
push 0x52d
push ecx
xor edx, edx
lea ecx, [eax + 0x6c]
call fcn.00418ad0
add esp, 8
xor cl, cl
call fcn.00418950
push 0xc0000017
call dword [sym.imp.KERNEL32.dll_ExitProcess]
ret

Function at 0x43afa0
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x484e7b
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
mov eax, dword [0x4c600c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
push ecx
call fcn.0043b810
mov dword [ebp - 4], 0
lea eax, [esi + 0x48]
mov dword [esi], vtable.WWLib::CWinApiBase_0_.0
mov dword [ebp - 0x14], eax
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [ebp - 4], 3
lea eax, [ebp - 0x24]
mov dword [esi], vtable.WWLib::CDirRemove_0_.0
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 5
mov ecx, eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00410191
mov byte [ebp - 4], 6
mov eax, 0x4ca5a8
cmp dword [ebp - 0x1c], 0
cmovne eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
sete bl
mov byte [ebp - 4], 3
lea eax, [ebp - 0x24]
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x43b08e
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x43b08e
add ecx, ecx
je 0x43b08e
lea ecx, [ecx]
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x43b080
mov eax, dword [ebp - 0x20]
push eax
call fcn.0043af60
add esp, 4
test bl, bl
je 0x43b0b5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 4], eax
test eax, eax
je 0x43b0b5
push str.RemoveDirectoryW__
lea ecx, [esi + 8]
call fcn.0043b900
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x43b3d0
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x484e7b
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
mov eax, dword [0x4c600c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
push ecx
call fcn.0043b810
mov dword [ebp - 4], 0
lea eax, [esi + 0x48]
mov dword [esi], vtable.WWLib::CWinApiBase_0_.0
mov dword [ebp - 0x14], eax
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [ebp - 4], 3
lea eax, [ebp - 0x24]
mov dword [esi], vtable.WWLib::CDirSetCwd_0_.0
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 5
mov ecx, eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00410191
mov byte [ebp - 4], 6
mov eax, 0x4ca5a8
cmp dword [ebp - 0x1c], 0
cmovne eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
sete bl
mov byte [ebp - 4], 3
lea eax, [ebp - 0x24]
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x43b4be
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x43b4be
add ecx, ecx
je 0x43b4be
lea ecx, [ecx]
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x43b4b0
mov eax, dword [ebp - 0x20]
push eax
call fcn.0043af60
add esp, 4
test bl, bl
je 0x43b4e5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 4], eax
test eax, eax
je 0x43b4e5
push str.SetCurrentDirectoryW__
lea ecx, [esi + 8]
call fcn.0043b920
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x43dd70
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4857c0
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x4c600c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x20]
push eax
sub esp, 8
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0043e050
cmp dword [esi + 4], 0
je 0x43de18
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x1c]
test edx, edx
je 0x43ddfb
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x43ddfb
mov eax, edx
lea esp, [esp]
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x43ddf0
push edx
call fcn.0043af60
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp dword [ebp - 0x20], 0
jne 0x43e031
mov ebx, dword [ebp - 0x18]
invalid
Function at 0x43e740
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x485938
mov eax, dword fs:[0]
push eax
sub esp, 0x88
push esi
mov eax, dword [0x4c600c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 4], 0
jne 0x43e85a
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 1
mov ecx, eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00410191
mov dword [ebp - 4], 2
mov eax, 0x4ca5a8
push dword [ebp + 0x10]
cmp dword [ebp - 0x18], 0
push dword [ebp + 0xc]
cmovne eax, dword [ebp - 0x1c]
push dword [ebp + 8]
push 0
push eax
push dword [esi + 0x70]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
js 0x43e849
mov dword [esi + 4], eax
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x43e80f
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x43e80f
add ecx, ecx
je 0x43e80f
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x43e801
mov eax, dword [ebp - 0x1c]
push eax
call fcn.0043af60
add esp, 4
cmp dword [esi + 4], 0
je 0x43e85a
push str.RegSetValueExW__
lea ecx, [esi + 8]
call fcn.0041452b
push ecx
push esi
lea ecx, [ebp - 0x94]
call fcn.0043bf60
push 0x4c3934
lea eax, [ebp - 0x94]
push eax
call fcn.0046b639
push 0x46
mov edx, str.NumCast
mov ecx, str.value___0
call fcn.00417c20
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0x14

Function at 0x43e990
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4859e8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
mov eax, dword [0x4c600c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 4], 0
jne 0x43ea7a
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 1
mov ecx, eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00410191
mov dword [ebp - 4], 2
mov eax, 0x4ca5a8
push dword [ebp + 0x18]
cmp dword [ebp - 0x18], 0
push dword [ebp + 0x14]
cmovne eax, dword [ebp - 0x1c]
push dword [ebp + 0x10]
push 0
push eax
push dword [esi + 0x70]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
js 0x43ea8c
mov dword [esi + 4], eax
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x20]
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x43ea5e
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x43ea5e
add ecx, ecx
je 0x43ea5e
mov edi, edi
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x43ea50
mov eax, dword [ebp - 0x1c]
push eax
call fcn.0043af60
add esp, 4
cmp dword [esi + 4], 0
je 0x43ea7a
push str.RegSetValueExW__
lea ecx, [esi + 8]
call fcn.0041452b
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0x14
push 0x46
mov edx, str.NumCast
mov ecx, str.value___0
call fcn.00417c20
int3
Function at 0x43eaa0
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x485a48
mov eax, dword fs:[0]
push eax
sub esp, 0x88
push esi
mov eax, dword [0x4c600c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x24], esi
push dword [ebp + 8]
call fcn.0043c550
mov dword [ebp - 4], 0
push 0
push ecx
push 2
push 0
mov ecx, esi
mov dword [esi], vtable.WWLib::CRegOpen_1_.0
call fcn.0043d030
mov dword [ebp - 4], 1
cmp dword [esi + 4], 0
mov dword [esi], vtable.WWLib::CRegDeleteValue_1_.0
jne 0x43ebd9
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov byte [ebp - 4], 3
mov ecx, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.00410191
mov byte [ebp - 4], 4
mov eax, 0x4ca5a8
cmp dword [ebp - 0x14], 0
cmovne eax, dword [ebp - 0x18]
push eax
push dword [esi + 0x70]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
js 0x43ebc8
mov dword [esi + 4], eax
mov byte [ebp - 4], 1
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x43eb8e
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x43eb8e
add ecx, ecx
je 0x43eb8e
lea ecx, [ecx]
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x43eb80
mov eax, dword [ebp - 0x18]
push eax
invalid
int3
Function at 0x43ec00
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x485aa8
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
mov eax, dword [0x4c600c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.0043cb80
mov dword [ebp - 4], 0
sub esp, 8
mov ecx, esi
mov dword [esi], vtable.WWLib::CRegOpen_0_.0
push 2
push 0
call fcn.0043d1f0
mov dword [ebp - 4], 1
cmp dword [esi + 4], 0
mov dword [esi], vtable.WWLib::CRegDeleteValue_0_.0
jne 0x43ed0a
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 3
mov ecx, eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00410191
mov byte [ebp - 4], 4
mov eax, 0x4ca5a8
cmp dword [ebp - 0x1c], 0
cmovne eax, dword [ebp - 0x20]
push eax
push dword [esi + 0x70]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
js 0x43ed25
mov dword [esi + 4], eax
mov byte [ebp - 4], 1
lea eax, [ebp - 0x24]
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x43ecee
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x43ecee
add ecx, ecx
je 0x43ecee
lea ecx, [ecx]
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x43ece0
mov eax, dword [ebp - 0x20]
push eax
call fcn.0043af60
add esp, 4
cmp dword [esi + 4], 0
je 0x43ed0a
push str.RegDeleteValueW__
lea ecx, [esi + 8]
call fcn.0043fcf0
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0x14
push 0x46
mov edx, str.NumCast
mov ecx, str.value___0
call fcn.00417c20
int3