Function at 0x438af0
Capabilities:
Delete registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x439ba5
mov eax, dword fs:[0]
push eax
sub esp, 0x140
mov eax, dword [0x448090]
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 eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x140], eax
lea eax, [ebp - 0x11c]
xor edi, edi
push eax
mov dword [ebp - 0x14c], ecx
mov dword [ebp - 0x148], edx
mov dword [ebp - 0x12c], edi
call fcn.00404030
mov dword [ebp - 4], edi
mov edx, dword [0x44924c]
mov eax, dword [edx + 0xc]
mov ecx, 0x44924c
call eax
lea ebx, [eax + 0x10]
mov dword [ebp - 0x124], ebx
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x11c]
cmp dword [ecx - 0xc], edi
jle 0x438c31
push 0x3b
push ecx
call fcn.00412d44
add esp, 8
cmp eax, edi
je 0x438c31
sub eax, dword [ebp - 0x11c]
mov edi, eax
js 0x438c31
lea ecx, [edi + 1]
lea esi, [ebp - 0x118]
lea edx, [ebp - 0x11c]
call fcn.004091e0
lea ebx, [ebp - 0x124]
mov byte [ebp - 4], 2
call fcn.004040f0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x118]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x438be3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
lea ecx, [ebp - 0x118]
lea edx, [ebp - 0x11c]
call fcn.00404160
lea ebx, [ebp - 0x11c]
mov byte [ebp - 4], 3
call fcn.004040f0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x118]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x438c2b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [ebp - 0x124]
xor esi, esi
mov dword [ebp - 0x130], esi
cmp dword [ebx - 0xc], esi
jle 0x438f2d
push 0x7b
push ebx
call fcn.00412d44
add esp, 8
cmp eax, esi
je 0x438f2d
sub eax, ebx
js 0x438f2d
mov dword [ebp - 0x118], esi
mov dword [ebp - 0x128], 1
mov dword [ebp - 0x120], esi
mov dword [ebp - 0x13c], esi
lea ecx, [ebp - 0x13c]
push ecx
push 0x444140
push 0x17
push esi
push 0x444130
mov byte [ebp - 4], 4
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov edx, dword [0x44924c]
mov eax, dword [edx + 0xc]
mov ecx, 0x44924c
call eax
add eax, 0x10
mov dword [ebp - 0x134], eax
mov ecx, dword [ebp - 0x120]
push ecx
push str.EndpointID_u
lea edi, [ebp - 0x134]
mov byte [ebp - 4], 5
call fcn.0040a990
mov edx, dword [ebp - 0x134]
mov edi, dword [ebp - 0x140]
push edx
lea eax, [ebp - 0x138]
push edi
push eax
call fcn.00438a10
add esp, 0x14
mov eax, dword [ebp - 0x138]
xor ecx, ecx
cmp dword [eax - 0xc], ecx
je 0x438f18
mov dword [ebp - 0x144], ecx
mov byte [ebp - 4], 7
mov esi, dword [ebp - 0x13c]
cmp esi, ecx
je 0x438d51
push 3
push eax
lea edx, [ebp - 0x114]
lea ecx, [ebp - 0x110]
push edx
mov dword [ebp - 0x114], ecx
call fcn.00409a60
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x114]
mov eax, dword [esi]
mov eax, dword [eax + 0x14]
or dword [ebp - 0x12c], 1
lea ecx, [ebp - 0x144]
push ecx
push edx
push esi
call eax
test eax, eax
js 0x438d51
mov bl, 1
jmp 0x438d53
xor bl, bl
mov dword [ebp - 4], 7
test byte [ebp - 0x12c], 1
je 0x438d83
mov eax, dword [ebp - 0x114]
and dword [ebp - 0x12c], 0xfffffffe
lea ecx, [ebp - 0x110]
cmp eax, ecx
je 0x438d83
push eax
call fcn.0041206c
add esp, 4
test bl, bl
je 0x438dc8
mov ecx, dword [ebp - 0x138]
xor eax, eax
test ecx, ecx
setne al
test eax, eax
je 0x438f23
mov edx, dword [ebp - 0x124]
push ecx
push edx
call fcn.00413e31
add esp, 8
test eax, eax
jne 0x438de0
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x118], 1
jmp 0x438dd6
mov ecx, dword [ebp - 0x134]
push ecx
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov dword [ebp - 0x128], 0
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x144]
test eax, eax
je 0x438df6
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
cmp dword [ebp - 0x128], 0
mov ebx, dword [ebp - 0x124]
je 0x438e0b
inc dword [ebp - 0x120]
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x138]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x438e31
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x134]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x438e57
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [ebp - 0x128], 0
jne 0x438c97
cmp dword [ebp - 0x118], 0
jne 0x438f00
mov edx, dword [0x44924c]
mov eax, dword [edx + 0xc]
mov ecx, 0x44924c
call eax
add eax, 0x10
mov dword [ebp - 0x118], eax
mov ecx, dword [ebp - 0x120]
push ecx
push str.EndpointID_u
lea edi, [ebp - 0x118]
mov byte [ebp - 4], 9
call fcn.0040a990
mov eax, ebx
add esp, 8
lea ecx, [eax + 1]
lea ecx, [ecx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x438eb0
mov esi, dword [ebp - 0x118]
mov edx, dword [ebp - 0x140]
sub eax, ecx
inc eax
push eax
push ebx
push 1
push 0
push esi
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0x130], eax
lea eax, [esi - 0x10]
mov byte [ebp - 4], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x438f00
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x13c]
test eax, eax
je 0x438f69
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x438f69
mov dword [ebp - 0x128], ecx
jmp 0x438e0b
push 0x80004005
call fcn.00401b20
mov eax, dword [ebx - 0xc]
cmp eax, esi
je 0x438f69
jge 0x438f40
push 0x80070057
call fcn.00401b20
mov cl, byte [ebx]
cmp cl, 0x30
jl 0x438f69
cmp eax, esi
jge 0x438f55
push 0x80070057
call fcn.00401b20
cmp cl, 0x39
jg 0x438f69
push ebx
call fcn.00413e5e
add esp, 4
mov dword [ebp - 0x130], eax
mov eax, dword [ebp - 0x148]
test eax, eax
je 0x438f7b
mov ecx, dword [ebp - 0x130]
mov dword [eax], ecx
mov eax, dword [ebp - 0x11c]
add eax, 0xfffffff0
call fcn.00404440
mov edx, dword [ebp - 0x14c]
lea esi, [eax + 0x10]
push esi
push 0x104
push edx
call fcn.004134d8
add esi, 0xfffffff0
add esp, 0xc
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x438fbd
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
lea eax, [ebx - 0x10]
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x438fdd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x11c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x439006
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
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.004117c9
mov esp, ebp
pop ebp
ret