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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5484a1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
mov dword [ebp - 0x10], 0
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [esi + 0x28], 0x5600cc
mov dword [esi + 0x30], vtable.boost::exception_detail::clone_base.0
mov edi, dword [ebp + 0xc]
lea eax, [esi + 4]
xorps xmm0, xmm0
mov dword [esi], vtable.std::exception.0
push eax
movq qword [eax], xmm0
lea eax, [edi + 4]
mov dword [ebp - 0x10], 2
push eax
call fcn.00518213
mov dword [esi], vtable.boost::bad_lexical_cast.0
add esp, 8
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [edi + 0x10]
mov dword [esi + 0x10], eax
lea ebx, [esi + 0x14]
mov dword [ebp - 4], 1
mov dword [ebx], vtable.boost::exception.0
mov ecx, dword [edi + 0x18]
mov dword [ebx + 4], ecx
test ecx, ecx
je 0x4447dc
mov eax, dword [ecx]
call dword [eax + 0xc]
mov eax, dword [edi + 0x1c]
mov dword [ebx + 8], eax
mov eax, dword [edi + 0x20]
mov dword [ebx + 0xc], eax
mov eax, dword [edi + 0x24]
mov dword [ebx + 0x10], eax
mov eax, dword [esi + 0x28]
mov dword [esi], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::bad_lexical_cast__.0
mov dword [ebx], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::bad_lexical_cast__.1.0
mov dword [ebp - 4], 2
mov eax, dword [eax + 4]
mov dword [eax + esi + 0x28], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::bad_lexical_cast__.2.0
lea eax, [edi + 0x14]
mov ecx, dword [esi + 0x28]
push eax
push ebx
mov edx, dword [ecx + 4]
lea ecx, [edx - 8]
mov dword [edx + esi + 0x24], ecx
call fcn.0043ee10
mov ecx, dword [ebp - 0xc]
add esp, 8
mov eax, esi
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4449c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
xorps xmm0, xmm0
push 0xffffffffffffffff
push 0x5484fd
push eax
mov dword fs:[0], esp
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
lea eax, [edi + 4]
push eax
mov dword [edi], vtable.std::exception.0
movq qword [eax], xmm0
lea eax, [esi + 4]
push eax
call fcn.00518213
add esp, 8
mov dword [edi], vtable.boost::system::system_error.0
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
mov dword [edi + 0xc], eax
lea eax, [esi + 0x14]
mov dword [edi + 0x10], ecx
lea ecx, [edi + 0x14]
push eax
mov dword [ebp - 4], 0
call fcn.004152a0
mov ecx, dword [ebp - 0xc]
mov eax, edi
mov dword [edi + 0x2c], vtable.boost::exception.0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0xffffffff
mov dword [edi], vtable.boost::exception_detail::error_info_injector_class_boost::thread_resource_error_.0
mov dword [edi + 0x2c], vtable.boost::exception_detail::error_info_injector_class_boost::thread_resource_error_.1.0
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x445cc0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5487b5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
xorps xmm0, xmm0
push edi
mov edi, dword [ebp + 8]
lea eax, [esi + 4]
mov dword [ebp - 0x10], esi
mov dword [esi], vtable.std::exception.0
push eax
movq qword [eax], xmm0
lea eax, [edi + 4]
push eax
call fcn.00518213
add esp, 8
mov dword [esi], vtable.boost::system::system_error.0
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 0x10]
mov dword [esi + 0xc], eax
lea eax, [edi + 0x14]
mov dword [esi + 0x10], ecx
lea ecx, [esi + 0x14]
push eax
mov dword [ebp - 4], 0
call fcn.004152a0
mov dword [esi], vtable.boost::thread_resource_error.0
mov dword [esi + 0x2c], vtable.boost::exception.0
mov ecx, dword [edi + 0x30]
mov dword [ebp - 4], 1
mov dword [esi + 0x30], ecx
test ecx, ecx
je 0x445d48
mov eax, dword [ecx]
call dword [eax + 0xc]
mov eax, dword [edi + 0x34]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x34], eax
mov eax, dword [edi + 0x38]
mov dword [esi + 0x38], eax
mov eax, dword [edi + 0x3c]
mov dword [esi + 0x3c], eax
mov eax, esi
mov dword [esi], vtable.boost::exception_detail::error_info_injector_class_boost::thread_resource_error_.0
mov dword [esi + 0x2c], vtable.boost::exception_detail::error_info_injector_class_boost::thread_resource_error_.1.0
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x447650
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x548a89
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], vtable.boost::detail::thread_data_base.0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
lea esi, [edi + 0x10]
mov dword [edi + 0xc], 0
push 0x20
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004b9130
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
push 0
push 0
push 1
push 0
mov byte [ebp - 4], 3
call dword [sym.imp.KERNEL32.dll_CreateEventA]
test eax, eax
je 0x447721
mov ecx, dword [ebp - 0xc]
mov dword [edi + 0x34], eax
mov eax, edi
mov byte [edi + 0x38], 1
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x40]
call fcn.004478e0
push eax
mov byte [ebp - 4], 4
call fcn.00445500
int3
Function at 0x44e150
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x545ee0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x220
mov eax, ecx
mov dword [ebp - 0x18], 0
push ebx
push esi
push edi
mov ebx, dword [eax + 4]
mov dword [ebp - 0x24], eax
or ebx, 0x2001f
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], 0
push ecx
push ebx
push 0
push dword [ebp + 8]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, eax
mov eax, dword [ebp - 0x18]
test esi, esi
jne 0x44e27a
xor esi, esi
test eax, eax
je 0x44e1cb
push eax
call edi
mov esi, eax
mov eax, dword [ebp - 0x20]
and ebx, 0x300
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], ebx
test esi, esi
jne 0x44e27a
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea ecx, [ebp - 0x2c]
push ecx
push esi
push esi
push esi
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0x100
push ecx
lea ecx, [ebp - 0x22c]
push ecx
push esi
push eax
call ebx
test eax, eax
jne 0x44e248
nop dword [eax]
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x18]
call fcn.0044e150
mov esi, eax
test esi, esi
jne 0x44e277
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x1c], 0x100
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x22c]
push eax
push esi
push dword [ebp - 0x18]
call ebx
test eax, eax
je 0x44e210
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x44e259
push eax
call edi
mov dword [ebp - 0x18], 0
push dword [ebp + 8]
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x14], 0
call fcn.0044b130
mov ecx, dword [ebp - 0x18]
mov esi, eax
test ecx, ecx
je 0x44e281
push ecx
jmp 0x44e27f
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x44e281
push eax
call edi
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x450550
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
push esi
push 0x118
lea eax, [ebp - 0x118]
mov esi, ecx
push 0
push eax
call fcn.00518890
add esp, 0xc
mov dword [ebp - 0x11c], 0x11c
lea eax, [ebp - 0x11c]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x450697
mov eax, dword [ebp - 0x118]
cmp eax, 5
jne 0x4505c2
cmp dword [ebp - 0x114], 1
jne 0x450683
mov ecx, dword [esi + 0x1ec]
push 1
push 0x1c
push str.BootstrapperVersionWindowsXP
mov eax, dword [ecx]
call dword [eax + 0x18]
pop esi
mov esp, ebp
pop ebp
ret
cmp eax, 6
jne 0x450643
mov eax, dword [ebp - 0x114]
test eax, eax
jne 0x4505ea
mov ecx, dword [esi + 0x1ec]
push 1
push 0x18
push str.BootstrapperVersionVista
mov eax, dword [ecx]
call dword [eax + 0x18]
pop esi
mov esp, ebp
pop ebp
ret
cmp eax, 1
jne 0x450607
mov ecx, dword [esi + 0x1ec]
push eax
push 0x1b
push str.BootstrapperVersionWindows7
mov eax, dword [ecx]
call dword [eax + 0x18]
pop esi
mov esp, ebp
pop ebp
ret
cmp eax, 2
jne 0x450625
mov ecx, dword [esi + 0x1ec]
push 1
push 0x1b
push str.BootstrapperVersionWindows8
mov eax, dword [ecx]
call dword [eax + 0x18]
pop esi
mov esp, ebp
pop ebp
ret
cmp eax, 3
jne 0x450683
mov ecx, dword [esi + 0x1ec]
push 1
push 0x1c
push str.BootstrapperVersionWindows81
mov eax, dword [ecx]
call dword [eax + 0x18]
pop esi
mov esp, ebp
pop ebp
ret
cmp eax, 0xa
jne 0x450683
cmp dword [ebp - 0x114], 0
jne 0x450683
cmp dword [ebp - 0x110], 0x55f0
mov ecx, dword [esi + 0x1ec]
push 1
push 0x1c
mov eax, dword [ecx]
jb 0x450676
push str.BootstrapperVersionWindows11
call dword [eax + 0x18]
pop esi
mov esp, ebp
pop ebp
ret
push str.BootstrapperVersionWindows10
call dword [eax + 0x18]
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 0x1ec]
push 1
push 0x1a
push str.BootstrapperVersionUnknown
mov eax, dword [ecx]
call dword [eax + 0x18]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x452eb0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5493c5
push eax
mov dword fs:[0], esp
sub esp, 0x4c
cmp byte [0x5cc2dc], 0
push esi
push edi
mov esi, ecx
je 0x452f08
mov dword [ebp - 0x10], 0x2aa9118
lea eax, [esi + 0x250]
mov edx, dword [ebp - 0x10]
sub edx, 0x2549910
cmp dword [eax + 0x14], 8
jb 0x452ef6
mov eax, dword [eax]
push eax
movzx eax, word [0x5cc2dc]
push edx
push eax
call fcn.004bad80
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x24], 0
cmp byte [esi + 0xb5], al
mov dword [ebp - 0x20], 0
sete al
add eax, 0x80000001
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x58]
mov dword [ebp - 4], 0
push eax
call fcn.00435140
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
mov edi, dword [ebp - 0x10]
cmovae eax, dword [ebp - 0x58]
push 0
push 0
push eax
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 1
push edi
push eax
call fcn.00432520
add esp, 0x18
mov dword [ebp - 0x40], 0
lea ecx, [ebp - 0x40]
push 0x30
mov byte [ebp - 4], 2
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.0041fae0
movups xmm0, xmmword [str.SetKeyFailed___appendEnvironmentInstall]
mov edx, eax
mov dword [ebp - 0x30], 0x27
mov dword [ebp - 0x2c], 0x2f
movups xmmword [edx], xmm0
movups xmm0, xmmword [0x55f86c]
movups xmmword [edx + 0x10], xmm0
mov ecx, dword [0x55f87c]
mov dword [edx + 0x20], ecx
mov ax, word [0x55f880]
mov word [edx + 0x24], ax
mov al, byte [0x55f882]
mov byte [edx + 0x26], al
mov byte [edx + 0x27], 0
mov dword [ebp - 0x40], edx
cmp dword [esi + 0x264], 8
lea edx, [esi + 0x250]
mov byte [ebp - 4], 3
mov esi, edx
jb 0x452fe7
mov esi, dword [edx]
mov edx, esi
test esi, esi
jne 0x452ff0
lea eax, [esi + 0xd]
jmp 0x453027
mov ecx, esi
lea eax, [ecx + 2]
mov dword [ebp - 0x10], eax
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x453000
sub ecx, dword [ebp - 0x10]
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push esi
push 1
push 0
push edx
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea ecx, [ebp - 0x40]
push ecx
push eax
call fcn.00437820
mov edx, dword [ebp - 0x2c]
add esp, 8
cmp edx, 0x10
jb 0x453068
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x45305e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4530e7
push edx
push ecx
call fcn.004b9160
add esp, 8
mov eax, dword [ebp - 0x1c]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x45307f
push eax
call esi
mov dword [ebp - 0x1c], 0
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x18], 0
cmp edx, 8
jb 0x4530bc
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4530b2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4530ec
push edx
push ecx
call fcn.004b9160
add esp, 8
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
test edi, edi
je 0x4530d7
push edi
call esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
call fcn.0051bb5f
call fcn.0051bb5f
int3
Function at 0x4548c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
lea eax, [ebp - 0xc]
push esi
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftInternet_Explorer
push 0x80000002
mov esi, ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x454976
push edi
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x100
push eax
lea eax, [ebp - 0x11c]
xor edi, edi
push eax
lea eax, [ebp - 4]
push eax
push edi
push str.svcVersion
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x454944
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x100
push eax
lea eax, [ebp - 0x11c]
push eax
lea eax, [ebp - 4]
push eax
push edi
push str.Version
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x454962
mov eax, dword [ebp - 4]
cmp eax, 1
je 0x454951
cmp eax, 2
jne 0x454962
lea eax, [ebp - 0x11c]
push eax
call fcn.005260c2
add esp, 4
mov edi, eax
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp edi, 6
pop edi
jl 0x454976
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, 0x5cc2dc
call fcn.00417310
test al, al
je 0x4549a6
mov dword [ebp - 4], 0x1eed328
mov eax, dword [ebp - 4]
sub eax, 0x198f130
push 0
push eax
movzx eax, word [0x5cc2dc]
push eax
call fcn.004babc0
add esp, 0xc
cmp byte [esi + 0xb3], 0
je 0x4549c8
lea ecx, [esi + 0x268]
call fcn.00417320
push 0
push str.Roblox_requires_Microsoft_Internet_Explorer_6.0_or_greater
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x24]
push 4
lea ecx, [ebp - 0x1c]
call fcn.00447340
push 0x5c290c
lea eax, [ebp - 0x1c]
push eax
call fcn.00518295
int3
Function at 0x455860
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
movzx eax, byte [ecx]
mov dword [ebp - 8], ecx
inc ecx
add ecx, eax
push ebx
mov ebx, dword [ebp + 8]
push edi
lea eax, [ecx + 1]
neg ecx
mov edx, dword [ebx + 0x14]
sbb ecx, ecx
and ecx, eax
mov dword [ebp - 4], ecx
mov ecx, ebx
cmp edx, 0x10
jb 0x45588c
mov ecx, dword [ebx]
add ecx, dword [ebx + 0x10]
mov eax, ebx
cmp edx, 0x10
jb 0x455898
mov eax, dword [ebx]
xor edi, edi
cmp eax, ecx
je 0x4558bf
push esi
nop
mov esi, edi
mov edx, edi
shr edx, 2
shl esi, 6
add esi, edx
movsx edx, byte [eax]
add edx, 0x9e3779b9
inc eax
add edx, esi
xor edi, edx
cmp eax, ecx
jne 0x4558a0
pop esi
push dword [ebp - 4]
mov ecx, dword [ebp - 8]
lea eax, [ebp + 8]
push ebx
push edi
push eax
call fcn.00444a70
xor eax, eax
cmp dword [ebp + 8], eax
pop edi
setne al
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4559b0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5474fd
push eax
mov dword fs:[0], esp
sub esp, 0x18
push 0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x455a12
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x455a12
push dword [ebp + 8]
lea eax, [ebp - 0x24]
push str.CreateDirectory__s_failed
push eax
call fcn.004b99e0
push eax
push 0
mov dword [ebp - 4], 0
call fcn.00437a30
add esp, 0x14
lea ecx, [ebp - 0x24]
call fcn.00416700
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x45e870
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x549f76
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5c
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x14], 0
mov al, byte [edi + 0xb5]
mov byte [ebp - 0x10], al
push dword [ebp - 0x10]
mov esi, dword [ebp + 8]
push esi
mov dword [ebp - 4], 0
call fcn.00453100
cmp dword [esi + 0x10], 0
mov dword [ebp - 0x14], 2
je 0x45e979
lea eax, [edi + 0x164]
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.004b97c0
push 0x55570c
push eax
lea eax, [ebp - 0x38]
mov dword [ebp - 4], 1
push eax
call fcn.00413670
add esp, 0x14
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
mov byte [ebp - 4], 2
jb 0x45e8fb
mov eax, dword [eax]
push ecx
push eax
mov ecx, esi
call fcn.0041fd60
lea ecx, [ebp - 0x38]
call fcn.00416700
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0
call fcn.00416700
cmp dword [esi + 0x14], 8
mov edi, esi
jb 0x45e922
mov edi, dword [esi]
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x45e965
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x45e965
push edi
lea eax, [ebp - 0x68]
push str.CreateDirectory__s_failed
push eax
call fcn.004b99e0
push eax
push 0
mov dword [ebp - 4], 3
call fcn.00437a30
add esp, 0x14
lea ecx, [ebp - 0x68]
call fcn.00416700
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
push str.Failed_to_create_programDirectory
lea ecx, [ebp - 0x20]
call fcn.00415fb0
push 0x5bd8e4
lea eax, [ebp - 0x20]
push eax
call fcn.00518295
int3
Function at 0x45fd70
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54a0f5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
push ebx
push esi
mov esi, ecx
lea ecx, [ebp - 0x4c]
push ecx
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0x74]
cmp dword [ebp - 0x38], 8
lea ecx, [ebp - 0x4c]
push 0
cmovae ecx, dword [ebp - 0x4c]
xor eax, eax
cmp byte [esi + 0xb5], al
push 0
sete al
mov dword [ebp - 4], 0
add eax, 0x80000001
push ecx
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00432520
add esp, 0x14
cmp byte [0x5cc2dc], 0
mov byte [ebp - 4], 1
je 0x45fe10
mov dword [ebp - 0x10], 0x2a92e48
lea eax, [ebp - 0x4c]
mov edx, dword [ebp - 0x10]
movzx ecx, byte [esi + 0xb5]
sub edx, 0x2533740
cmp dword [ebp - 0x38], 8
push ecx
cmovae eax, dword [ebp - 0x4c]
push eax
movzx eax, word [0x5cc2dc]
push edx
push eax
call fcn.004bad80
add esp, 0x10
lea eax, [ebp - 0x34]
push str.pinned_version
push eax
call fcn.004b99e0
add esp, 8
lea eax, [ebp - 0x34]
cmp dword [ebp - 0x20], 8
cmovae eax, dword [ebp - 0x34]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov edx, dword [ebp - 0x20]
test eax, eax
sete bl
cmp edx, 8
jb 0x45fe75
mov ecx, dword [ebp - 0x34]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45fe6b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45ff32
push edx
push ecx
call fcn.004b9160
add esp, 8
xor eax, eax
mov dword [ebp - 0x24], 0
pop esi
test bl, bl
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], ax
pop ebx
je 0x45fea8
cmp byte [0x5cc2dc], al
je 0x45fed2
mov dword [ebp - 0x10], 0x2a97d38
mov eax, dword [ebp - 0x10]
sub eax, 0x25385e0
jmp 0x45febf
cmp byte [0x5cc2dc], al
je 0x45fed2
mov dword [ebp - 0x10], 0x2a9cc30
mov eax, dword [ebp - 0x10]
sub eax, 0x253d480
push 0
push eax
movzx eax, word [0x5cc2dc]
push eax
call fcn.004babc0
add esp, 0xc
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x45fee7
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x1c], 0
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x18], 0
cmp edx, 8
jb 0x45ff24
mov ecx, dword [ebp - 0x4c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45ff1a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45ff37
push edx
push ecx
call fcn.004b9160
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
call fcn.0051bb5f
call fcn.0051bb5f
int3
Function at 0x462b90
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54a405
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
push esi
mov esi, ecx
lea ecx, [ebp - 0x4c]
push ecx
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0x74]
cmp dword [ebp - 0x38], 8
lea ecx, [ebp - 0x4c]
push 0
cmovae ecx, dword [ebp - 0x4c]
xor eax, eax
cmp byte [esi + 0xb5], al
push 0
sete al
mov dword [ebp - 4], 0
add eax, 0x80000001
push ecx
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00432520
add esp, 0x14
cmp byte [0x5cc2dc], 0
mov byte [ebp - 4], 1
je 0x462c2f
mov dword [ebp - 0x10], 0x2a7cc30
lea eax, [ebp - 0x4c]
mov edx, dword [ebp - 0x10]
movzx ecx, byte [esi + 0xb5]
sub edx, 0x251d570
cmp dword [ebp - 0x38], 8
push ecx
cmovae eax, dword [ebp - 0x4c]
push eax
movzx eax, word [0x5cc2dc]
push edx
push eax
call fcn.004bad80
add esp, 0x10
movq xmm0, qword [str.SetKeyFailed]
mov eax, dword [0x55f624]
mov dword [ebp - 0x50], 0xf
mov dword [ebp - 0x54], 0xc
movq qword [ebp - 0x64], xmm0
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0
add esi, 0x2bc
mov byte [ebp - 4], 2
cmp dword [esi + 0x14], 8
jb 0x462c68
mov esi, dword [esi]
lea eax, [ebp - 0x34]
push str.pinned_version
push eax
call fcn.004b99e0
add esp, 8
cmp dword [ebp - 0x20], 8
lea edx, [ebp - 0x34]
mov byte [ebp - 4], 3
cmovae edx, dword [ebp - 0x34]
test esi, esi
jne 0x462c91
lea eax, [esi + 0xd]
jmp 0x462cbe
mov ecx, esi
push edi
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x462c97
sub ecx, edi
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push esi
push 1
push 0
push edx
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
lea ecx, [ebp - 0x64]
push ecx
push eax
call fcn.00437820
mov edx, dword [ebp - 0x20]
add esp, 8
pop esi
cmp edx, 8
jb 0x462d06
mov ecx, dword [ebp - 0x34]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x462cfc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x462db3
push edx
push ecx
call fcn.004b9160
add esp, 8
mov edx, dword [ebp - 0x50]
xor eax, eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], ax
cmp edx, 0x10
jb 0x462d4a
mov ecx, dword [ebp - 0x64]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x462d40
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x462db3
push edx
push ecx
call fcn.004b9160
add esp, 8
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x462d68
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x1c], 0
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x18], 0
cmp edx, 8
jb 0x462da5
mov ecx, dword [ebp - 0x4c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x462d9b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x462db8
push edx
push ecx
call fcn.004b9160
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
call fcn.0051bb5f
call fcn.0051bb5f
int3
Function at 0x466f10
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54a865
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
push esi
mov esi, dword [ebp + 8]
mov eax, esi
mov dword [ebp - 0x10], 0
cmp dword [esi + 0x14], 8
jb 0x466f40
mov eax, dword [esi]
lea ecx, [ebp - 0x10]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
test eax, eax
je 0x466f6b
cmp dword [ebp - 0x10], 1
jne 0x466f6b
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, esi
call fcn.004200f0
push eax
lea eax, [ebp - 0x34]
push str.Invalid_protocol_handler_arguments._Got___s_.
push eax
call fcn.004b99e0
push eax
lea eax, [ebp - 0x4c]
mov dword [ebp - 4], 0
push eax
call fcn.004b9890
add esp, 0x14
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.00415f60
push 0x5bd8e4
lea eax, [ebp - 0x1c]
push eax
call fcn.00518295
int3