joyce8/EMBER2024-capa huggingface dataset:
Function at 0x412490
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x4cb070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
mov edi, closesocket
cmp dword [esi + 0x14], 8
jb 0x4124b7
mov eax, dword [esi]
jmp 0x4124b9
mov eax, esi
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 0xc]
push ecx
push 0
push 0xf013f
push 1
push 0
push 0
push eax
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
cmove edi, dword [ebp - 0xc]
cmp dword [esi + 0x14], 8
jb 0x4124e8
mov esi, dword [esi]
lea eax, [ebp - 0xc]
push eax
push 0x20006
push 0
push esi
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
mov edx, 0x4ae8c0
mov eax, str.Flase
cmove edi, dword [ebp - 0xc]
cmp byte [ebx + 4], 0
cmove edx, eax
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x412520
sub ecx, esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
sar ecx, 1
lea eax, [ecx*2 + 1]
push eax
push edx
push 1
push 0
push str.Enabled
push edi
call esi
cmp dword [ebx + 0x1c], 8
lea edx, [ebx + 8]
jb 0x412555
mov edx, dword [edx]
mov ecx, edx
lea ebx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x412560
sub ecx, ebx
sar ecx, 1
lea eax, [ecx*2 + 1]
push eax
push edx
push 1
push 0
push str.ScriptFilename
push edi
call esi
test edi, edi
je 0x41258f
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00459a5d
mov esp, ebp
pop ebp
ret 4
Function at 0x412770
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x4cb070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
mov edi, closesocket
cmp dword [esi + 0x14], 8
jb 0x412797
mov eax, dword [esi]
jmp 0x412799
mov eax, esi
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 0xc]
push ecx
push 0
push 0xf013f
push 1
push 0
push 0
push eax
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
cmove edi, dword [ebp - 0xc]
cmp dword [esi + 0x14], 8
jb 0x4127c8
mov esi, dword [esi]
lea eax, [ebp - 0xc]
push eax
push 0x20006
push 0
push esi
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
lea edx, [ebx + 4]
cmove edi, dword [ebp - 0xc]
cmp dword [edx + 0x14], 8
jb 0x4127f0
mov edx, dword [edx]
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4127f5
sub ecx, esi
sar ecx, 1
lea eax, [ecx*2 + 1]
push eax
push edx
push 1
push 0
push str.AccountId
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp byte [ebx + 0x1c], 0
mov esi, 0x4ae8c0
mov eax, str.Flase
mov edx, esi
cmove edx, eax
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0xc], eax
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x412840
sub ecx, dword [ebp - 0xc]
sar ecx, 1
lea eax, [ecx*2 + 1]
push eax
push edx
push 1
push 0
push str.CreateShareLink
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp byte [ebx + 0x1d], 0
mov eax, str.Flase
mov edx, esi
cmove edx, eax
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0xc], eax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x412880
sub ecx, dword [ebp - 0xc]
sar ecx, 1
lea eax, [ecx*2 + 1]
push eax
push edx
push 1
push 0
push str.Enabled
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp byte [ebx + 0x1e], 0
mov eax, str.Flase
cmove esi, eax
mov ecx, esi
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4128c0
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 1]
push eax
push esi
push 1
push 0
push str.EnsureUniqueFilenames
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp dword [ebx + 0x34], 8
lea edx, [ebx + 0x20]
jb 0x4128f3
mov edx, dword [edx]
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x412900
sub ecx, esi
sar ecx, 1
lea eax, [ecx*2 + 1]
push eax
push edx
push 1
push 0
push str.SharedFolder
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test edi, edi
je 0x412933
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00459a5d
mov esp, ebp
pop ebp
ret 4
Function at 0x412f60
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x4cb070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
push esi
call fcn.00412b80
cmp dword [esi + 0x14], 8
mov edi, closesocket
jb 0x412f8d
mov eax, dword [esi]
jmp 0x412f8f
mov eax, esi
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 0xc]
push ecx
push 0
push 0xf013f
push 1
push 0
push 0
push eax
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
cmove edi, dword [ebp - 0xc]
cmp dword [esi + 0x14], 8
jb 0x412fbe
mov esi, dword [esi]
lea eax, [ebp - 0xc]
push eax
push 0x20006
push 0
push esi
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
lea edx, [ebx + 0x84]
cmove edi, dword [ebp - 0xc]
cmp dword [edx + 0x14], 8
jb 0x412fe9
mov edx, dword [edx]
mov ecx, edx
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x412ff0
sub ecx, esi
sar ecx, 1
lea eax, [ecx*2 + 1]
push eax
push edx
push 1
push 0
push str.AccountId
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test edi, edi
je 0x413023
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00459a5d
mov esp, ebp
pop ebp
ret 4
Function at 0x4131e0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x4cb070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
mov edi, closesocket
cmp dword [esi + 0x14], 8
jb 0x413207
mov eax, dword [esi]
jmp 0x413209
mov eax, esi
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 0xc]
push ecx
push 0
push 0xf013f
push 1
push 0
push 0
push eax
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
cmove edi, dword [ebp - 0xc]
cmp dword [esi + 0x14], 8
jb 0x413238
mov esi, dword [esi]
lea eax, [ebp - 0xc]
push eax
push 0x20006
push 0
push esi
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
lea edx, [ebx + 4]
cmove edi, dword [ebp - 0xc]
cmp dword [edx + 0x14], 8
jb 0x413260
mov edx, dword [edx]
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x413265
sub ecx, esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
sar ecx, 1
lea eax, [ecx*2 + 1]
push eax
push edx
push 1
push 0
push str.AccountId
push edi
call esi
cmp dword [ebx + 0x30], 8
lea edx, [ebx + 0x1c]
jb 0x41329a
mov edx, dword [edx]
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0xc], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4132a2
sub ecx, dword [ebp - 0xc]
sar ecx, 1
lea eax, [ecx*2 + 1]
push eax
push edx
push 1
push 0
push str.Directory
push edi
call esi
cmp byte [ebx + 0x34], 0
mov eax, str.Flase
mov edx, 0x4ae8c0
cmove edx, eax
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0xc], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4132e0
sub ecx, dword [ebp - 0xc]
sar ecx, 1
lea eax, [ecx*2 + 1]
push eax
push edx
push 1
push 0
push str.Enabled
push edi
call esi
cmp byte [ebx + 0x35], 0
mov edx, 0x4ae8c0
mov eax, str.Flase
cmove edx, eax
mov ecx, edx
lea ebx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x413320
sub ecx, ebx
sar ecx, 1
lea eax, [ecx*2 + 1]
push eax
push edx
push 1
push 0
push str.EnsureUniqueFilenames
push edi
call esi
test edi, edi
je 0x41334f
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00459a5d
mov esp, ebp
pop ebp
ret 4
Function at 0x413490
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x4cb070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
mov edi, closesocket
cmp dword [esi + 0x14], 8
jb 0x4134b7
mov eax, dword [esi]
jmp 0x4134b9
mov eax, esi
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 0xc]
push ecx
push 0
push 0xf013f
push 1
push 0
push 0
push eax
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
cmove edi, dword [ebp - 0xc]
cmp dword [esi + 0x14], 8
jb 0x4134e8
mov esi, dword [esi]
lea eax, [ebp - 0xc]
push eax
push 0x20006
push 0
push esi
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
lea edx, [ebx + 4]
cmove edi, dword [ebp - 0xc]
cmp dword [edx + 0x14], 8
jb 0x413510
mov edx, dword [edx]
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x413515
sub ecx, esi
sar ecx, 1
lea eax, [ecx*2 + 1]
push eax
push edx
push 1
push 0
push str.AdditionalGsParameters
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test edi, edi
je 0x413548
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00459a5d
mov esp, ebp
pop ebp
ret 4

Function at 0x4136b0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x4cb070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
mov edi, closesocket
cmp dword [esi + 0x14], 8
jb 0x4136d7
mov eax, dword [esi]
jmp 0x4136d9
mov eax, esi
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 0xc]
push ecx
push 0
push 0xf013f
push 1
push 0
push 0
push eax
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
cmove edi, dword [ebp - 0xc]
cmp dword [esi + 0x14], 8
jb 0x413708
mov esi, dword [esi]
lea eax, [ebp - 0xc]
push eax
push 0x20006
push 0
push esi
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
lea edx, [ebx + 4]
cmove edi, dword [ebp - 0xc]
cmp dword [edx + 0x14], 8
jb 0x413730
mov edx, dword [edx]
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x413735
sub ecx, esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
sar ecx, 1
lea eax, [ecx*2 + 1]
push eax
push edx
push 1
push 0
push str.AccountId
push edi
call esi
cmp byte [ebx + 0x1c], 0
mov edx, 0x4ae8c0
mov eax, str.Flase
cmove edx, eax
mov ecx, edx
lea ebx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x413775
sub ecx, ebx
sar ecx, 1
lea eax, [ecx*2 + 1]
push eax
push edx
push 1
push 0
push str.Enabled
push edi
call esi
test edi, edi
je 0x4137a4
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00459a5d
mov esp, ebp
pop ebp
ret 4
Function at 0x413920
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4992e8
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x4cb070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [ebp + 8]
xorps xmm0, xmm0
movq qword [ebp - 0x1c], xmm0
mov edi, closesocket
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x1c], vtable.Registry.0
mov dword [ebp - 0x18], closesocket
mov dword [ebp - 4], 0
cmp dword [esi + 0x14], 8
jb 0x413983
mov eax, dword [esi]
jmp 0x413985
mov eax, esi
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x24]
push ecx
push 0
push 0xf013f
push 1
push 0
push 0
push eax
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
cmove edi, dword [ebp - 0x24]
cmp dword [esi + 0x14], 8
jb 0x4139b4
mov esi, dword [esi]
lea eax, [ebp - 0x24]
push eax
push 0x20006
push 0
push esi
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push dword [ebx + 0x10]
test eax, eax
mov ecx, ebx
lea eax, [ebp - 0x3c]
cmove edi, dword [ebp - 0x24]
push eax
mov dword [ebp - 0x14], edi
call fcn.0040c310
mov edx, eax
cmp dword [edx + 0x14], 8
jb 0x4139ec
mov edx, dword [edx]
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4139f1
sub ecx, esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
sar ecx, 1
lea eax, [ecx*2 + 1]
push eax
push edx
push 1
push 0
push str.Color
push edi
call esi
mov eax, dword [ebp - 0x28]
cmp eax, 8
jb 0x413a30
inc eax
lea ecx, [ebp - 0x3c]
push eax
push dword [ebp - 0x3c]
call fcn.0040aba0
mov edx, dword [ebx + 0x14]
lea ecx, [ebp - 0x3c]
call fcn.0040ab80
mov edx, eax
cmp dword [edx + 0x14], 8
jb 0x413a45
mov edx, dword [edx]
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x24], eax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x413a50
sub ecx, dword [ebp - 0x24]
sar ecx, 1
lea eax, [ecx*2 + 1]
push eax
push edx
push 1
push 0
push 0x4af6e4
push edi
call esi
mov eax, dword [ebp - 0x28]
cmp eax, 8
jb 0x413a8a
inc eax
lea ecx, [ebp - 0x3c]
push eax
push dword [ebp - 0x3c]
call fcn.0040aba0
mov edx, dword [ebx + 0x18]
lea ecx, [ebp - 0x3c]
call fcn.0040ab80
mov edx, eax
cmp dword [edx + 0x14], 8
jb 0x413a9f
mov edx, dword [edx]
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x413aa4
sub ecx, esi
sar ecx, 1
lea eax, [ecx*2 + 1]
push eax
push edx
push 1
push 0
push str.Quality
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [ebp - 0x28]
cmp eax, 8
jb 0x413ae1
inc eax
lea ecx, [ebp - 0x3c]
push eax
push dword [ebp - 0x3c]
call fcn.0040aba0
test edi, edi
je 0x413aec
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00459a5d
mov esp, ebp
pop ebp
ret 4
Function at 0x4140f0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4992e8
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x4cb070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [ebp + 8]
xorps xmm0, xmm0
movq qword [ebp - 0x1c], xmm0
mov edi, closesocket
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x1c], vtable.Registry.0
mov dword [ebp - 0x18], closesocket
mov dword [ebp - 4], 0
cmp dword [esi + 0x14], 8
jb 0x414153
mov eax, dword [esi]
jmp 0x414155
mov eax, esi
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x24]
push ecx
push 0
push 0xf013f
push 1
push 0
push 0
push eax
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
cmove edi, dword [ebp - 0x24]
cmp dword [esi + 0x14], 8
jb 0x414184
mov esi, dword [esi]
lea eax, [ebp - 0x24]
push eax
push 0x20006
push 0
push esi
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push dword [ebx + 0x10]
test eax, eax
mov ecx, ebx
lea eax, [ebp - 0x3c]
cmove edi, dword [ebp - 0x24]
push eax
mov dword [ebp - 0x14], edi
call fcn.0040c310
mov edx, eax
cmp dword [edx + 0x14], 8
jb 0x4141bc
mov edx, dword [edx]
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4141c1
sub ecx, esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
sar ecx, 1
lea eax, [ecx*2 + 1]
push eax
push edx
push 1
push 0
push str.Compression
push edi
call esi
mov eax, dword [ebp - 0x28]
cmp eax, 8
jb 0x414200
inc eax
lea ecx, [ebp - 0x3c]
push eax
push dword [ebp - 0x3c]
call fcn.0040aba0
mov edx, dword [ebx + 0x14]
lea ecx, [ebp - 0x3c]
call fcn.0040ab80
mov edx, eax
cmp dword [edx + 0x14], 8
jb 0x414215
mov edx, dword [edx]
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x24], eax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x414220
sub ecx, dword [ebp - 0x24]
sar ecx, 1
lea eax, [ecx*2 + 1]
push eax
push edx
push 1
push 0
push 0x4af6e4
push edi
call esi
mov eax, dword [ebp - 0x28]
cmp eax, 8
jb 0x41425a
inc eax
lea ecx, [ebp - 0x3c]
push eax
push dword [ebp - 0x3c]
call fcn.0040aba0
cmp byte [ebx + 0x18], 0
mov esi, 0x4ae8c0
mov eax, str.False
mov edx, esi
cmove edx, eax
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x24], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x414275
sub ecx, dword [ebp - 0x24]
sar ecx, 1
lea eax, [ecx*2 + 1]
push eax
push edx
push 1
push 0
push str.Enabled
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp byte [ebx + 0x19], 0
mov eax, str.False
cmove esi, eax
mov ecx, esi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4142b0
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 1]
push eax
push esi
push 1
push 0
push str.Resampling
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test edi, edi
je 0x4142e3
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00459a5d
mov esp, ebp
pop ebp
ret 4
Function at 0x4160b0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4992e8
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x4cb070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [ebp + 8]
xorps xmm0, xmm0
movq qword [ebp - 0x1c], xmm0
mov edi, closesocket
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x1c], vtable.Registry.0
mov dword [ebp - 0x18], closesocket
mov dword [ebp - 4], 0
cmp dword [esi + 0x14], 8
jb 0x416113
mov eax, dword [esi]
jmp 0x416115
mov eax, esi
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x24]
push ecx
push 0
push 0xf013f
push 1
push 0
push 0
push eax
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
cmove edi, dword [ebp - 0x24]
cmp dword [esi + 0x14], 8
jb 0x416144
mov esi, dword [esi]
lea eax, [ebp - 0x24]
push eax
push 0x20006
push 0
push esi
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push dword [ebx + 0x10]
test eax, eax
mov ecx, ebx
lea eax, [ebp - 0x3c]
cmove edi, dword [ebp - 0x24]
push eax
mov dword [ebp - 0x14], edi
call fcn.0040c310
mov edx, eax
cmp dword [edx + 0x14], 8
jb 0x41617c
mov edx, dword [edx]
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x416181
sub ecx, esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
sar ecx, 1
lea eax, [ecx*2 + 1]
push eax
push edx
push 1
push 0
push str.Color
push edi
call esi
mov eax, dword [ebp - 0x28]
cmp eax, 8
jb 0x4161c0
inc eax
lea ecx, [ebp - 0x3c]
push eax
push dword [ebp - 0x3c]
call fcn.0040aba0
mov edx, dword [ebx + 0x14]
lea ecx, [ebp - 0x3c]
call fcn.0040ab80
mov edx, eax
cmp dword [edx + 0x14], 8
jb 0x4161d5
mov edx, dword [edx]
mov ecx, edx
lea ebx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4161e0
sub ecx, ebx
sar ecx, 1
lea eax, [ecx*2 + 1]
push eax
push edx
push 1
push 0
push 0x4af6e4
push edi
call esi
mov eax, dword [ebp - 0x28]
cmp eax, 8
jb 0x416219
inc eax
lea ecx, [ebp - 0x3c]
push eax
push dword [ebp - 0x3c]
call fcn.0040aba0
test edi, edi
je 0x416224
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00459a5d
mov esp, ebp
pop ebp
ret 4
Function at 0x416530
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4992e8
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x4cb070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [ebp + 8]
xorps xmm0, xmm0
movq qword [ebp - 0x1c], xmm0
mov edi, closesocket
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x1c], vtable.Registry.0
mov dword [ebp - 0x18], closesocket
mov dword [ebp - 4], 0
cmp dword [esi + 0x14], 8
jb 0x416593
mov eax, dword [esi]
jmp 0x416595
mov eax, esi
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x24]
push ecx
push 0
push 0xf013f
push 1
push 0
push 0
push eax
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
cmove edi, dword [ebp - 0x24]
cmp dword [esi + 0x14], 8
jb 0x4165c4
mov esi, dword [esi]
lea eax, [ebp - 0x24]
push eax
push 0x20006
push 0
push esi
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push dword [ebx + 0x1c]
test eax, eax
mov ecx, ebx
lea eax, [ebp - 0x3c]
cmove edi, dword [ebp - 0x24]
push eax
mov dword [ebp - 0x14], edi
call fcn.0040c310
mov edx, eax
cmp dword [edx + 0x14], 8
jb 0x4165fc
mov edx, dword [edx]
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x416601
sub ecx, esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
sar ecx, 1
lea eax, [ecx*2 + 1]
push eax
push edx
push 1
push 0
push str.Duplex
push edi
call esi
mov eax, dword [ebp - 0x28]
cmp eax, 8
jb 0x416640
inc eax
lea ecx, [ebp - 0x3c]
push eax
push dword [ebp - 0x3c]
call fcn.0040aba0
cmp byte [ebx + 0x20], 0
mov eax, str.False
mov edx, 0x4ae8c0
cmove edx, eax
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x24], eax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x416660
sub ecx, dword [ebp - 0x24]
sar ecx, 1
lea eax, [ecx*2 + 1]
push eax
push edx
push 1
push 0
push str.Enabled
push edi
call esi
cmp dword [ebx + 0x38], 8
lea edx, [ebx + 0x24]
jb 0x416690
mov edx, dword [edx]
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x24], eax
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4166a0
sub ecx, dword [ebp - 0x24]
sar ecx, 1
lea eax, [ecx*2 + 1]
push eax
push edx
push 1
push 0
push str.PrinterName
push edi
call esi
push dword [ebx + 0x3c]
lea eax, [ebp - 0x3c]
mov ecx, ebx
push eax
call fcn.00415d20
mov edx, eax
cmp dword [edx + 0x14], 8
jb 0x4166dd
mov edx, dword [edx]
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4166e2
sub ecx, esi
sar ecx, 1
lea eax, [ecx*2 + 1]
push eax
push edx
push 1
push 0
push str.SelectPrinter
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [ebp - 0x28]
cmp eax, 8
jb 0x41671f
inc eax
lea ecx, [ebp - 0x3c]
push eax
push dword [ebp - 0x3c]
call fcn.0040aba0
test edi, edi
je 0x41672a
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00459a5d
mov esp, ebp
pop ebp
ret 4
Function at 0x4168d0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x4cb070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
mov dword [ebp - 0x10], ebx
mov edi, closesocket
cmp dword [esi + 0x14], 8
jb 0x4168fa
mov eax, dword [esi]
jmp 0x4168fc
mov eax, esi
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 0xc]
push ecx
push 0
push 0xf013f
push 1
push 0
push 0
push eax
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
cmove edi, dword [ebp - 0xc]
cmp dword [esi + 0x14], 8
jb 0x41692b
mov esi, dword [esi]
lea eax, [ebp - 0xc]
push eax
push 0x20006
push 0
push esi
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
mov esi, 0x4ae8c0
mov edx, esi
mov eax, str.Flase
cmove edi, dword [ebp - 0xc]
cmp byte [ebx + 4], 0
cmove edx, eax
mov ecx, edx
lea ebx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x416960
sub ecx, ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
sar ecx, 1
lea eax, [ecx*2 + 1]
push eax
push edx
push 1
push 0
push str.Deletable
push edi
call ebx
mov eax, dword [ebp - 0x10]
mov edx, esi
cmp byte [eax + 5], 0
mov eax, str.Flase
cmove edx, eax
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0xc], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4169a3
sub ecx, dword [ebp - 0xc]
sar ecx, 1
lea eax, [ecx*2 + 1]
push eax
push edx
push 1
push 0
push str.IsShared
push edi
call ebx
mov eax, dword [ebp - 0x10]
cmp byte [eax + 6], 0
mov eax, str.Flase
cmove esi, eax
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4169e0
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 1]
push eax
push esi
push 1
push 0
push str.Renamable
push edi
call ebx
test edi, edi
je 0x416a0f
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00459a5d
mov esp, ebp
pop ebp
ret 4