Function at 0x40d430
Capabilities:
Contain obfuscated stackstrings
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x532bb0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb0
push ebx
push esi
push edi
mov ecx, 0x5703b4
call fcn.005040ed
xor edi, edi
mov dword [ebp - 0xbc], edi
mov dword [ebp - 0xb8], edi
mov dword [ebp - 0xb4], edi
xor eax, eax
mov dword [ebp - 4], edi
mov word [ebp - 0x18], ax
lea ecx, [ebp - 0x16]
lea eax, [ebp - 0xd]
mov dword [ebp - 0xa4], 0x6f0053
push eax
push ecx
lea edx, [ebp - 0xa4]
mov dword [ebp - 0xa0], 0x740066
push edx
lea ecx, [ebp - 0xb0]
mov dword [ebp - 0x9c], 0x610077
mov dword [ebp - 0x98], 0x650072
mov dword [ebp - 0x94], 0x4d005c
mov dword [ebp - 0x90], 0x630069
mov dword [ebp - 0x8c], 0x6f0072
mov dword [ebp - 0x88], 0x6f0073
mov dword [ebp - 0x84], 0x740066
mov dword [ebp - 0x80], 0x57005c
mov dword [ebp - 0x7c], 0x6e0069
mov dword [ebp - 0x78], 0x6f0064
mov dword [ebp - 0x74], 0x730077
mov dword [ebp - 0x70], 0x43005c
mov dword [ebp - 0x6c], 0x720075
mov dword [ebp - 0x68], 0x650072
mov dword [ebp - 0x64], 0x74006e
mov dword [ebp - 0x60], 0x650056
mov dword [ebp - 0x5c], 0x730072
mov dword [ebp - 0x58], 0x6f0069
mov dword [ebp - 0x54], 0x5c006e
mov dword [ebp - 0x50], 0x700041
mov dword [ebp - 0x4c], 0x6c0070
mov dword [ebp - 0x48], 0x630069
mov dword [ebp - 0x44], 0x740061
mov dword [ebp - 0x40], 0x6f0069
mov dword [ebp - 0x3c], 0x41006e
mov dword [ebp - 0x38], 0x730073
mov dword [ebp - 0x34], 0x63006f
mov dword [ebp - 0x30], 0x610069
mov dword [ebp - 0x2c], 0x690074
mov dword [ebp - 0x28], 0x6e006f
mov dword [ebp - 0x24], 0x6f0054
mov dword [ebp - 0x20], 0x730061
mov dword [ebp - 0x1c], 0x730074
call fcn.00404100
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], edi
push ecx
push 0xf003f
push edi
push dword [eax]
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0x40d5d1
mov edi, dword [ebp - 0x14]
mov dword [ebp - 0xbc], edi
mov dword [ebp - 0xb8], esi
lea ecx, [ebp - 0xb0]
call fcn.0040b9d0
test esi, esi
jne 0x40d79d
xor eax, eax
mov dword [ebp - 0x6c], 0x700041
mov word [ebp - 0x18], ax
lea ecx, [ebp - 0x16]
lea eax, [ebp - 0xd]
mov dword [ebp - 0x68], 0x580070
push eax
push ecx
lea edx, [ebp - 0x6c]
mov dword [ebp - 0x64], 0x300039
push edx
lea ecx, [ebp - 0xb0]
mov dword [ebp - 0x60], 0x76006e
mov dword [ebp - 0x5c], 0x6e0036
mov dword [ebp - 0x58], 0x610068
mov dword [ebp - 0x54], 0x350079
mov dword [ebp - 0x50], 0x36006e
mov dword [ebp - 0x4c], 0x390061
mov dword [ebp - 0x48], 0x660038
mov dword [ebp - 0x44], 0x65006e
mov dword [ebp - 0x40], 0x760074
mov dword [ebp - 0x3c], 0x740037
mov dword [ebp - 0x38], 0x6b0070
mov dword [ebp - 0x34], 0x340036
mov dword [ebp - 0x30], 0x700070
mov dword [ebp - 0x2c], 0x350033
mov dword [ebp - 0x28], 0x730065
mov dword [ebp - 0x24], 0x68005f
mov dword [ebp - 0x20], 0x740074
mov dword [ebp - 0x1c], 0x730070
call fcn.00404100
push 4
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], esi
push ecx
push 4
push esi
push dword [eax]
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push edi
call esi
lea ecx, [ebp - 0xb0]
call fcn.0040b9d0
lea eax, [ebp - 0xd]
mov dword [ebp - 0x6c], 0x700041
push eax
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x68], 0x580070
push ecx
lea edx, [ebp - 0x6c]
mov dword [ebp - 0x64], 0x300071
push edx
lea ecx, [ebp - 0xb0]
mov dword [ebp - 0x60], 0x650066
mov dword [ebp - 0x5c], 0x7a0076
mov dword [ebp - 0x58], 0x65006d
mov dword [ebp - 0x54], 0x700032
mov dword [ebp - 0x50], 0x730079
mov dword [ebp - 0x4c], 0x320036
mov dword [ebp - 0x48], 0x33006e
mov dword [ebp - 0x44], 0x300065
mov dword [ebp - 0x40], 0x620066
mov dword [ebp - 0x3c], 0x610071
mov dword [ebp - 0x38], 0x700037
mov dword [ebp - 0x34], 0x610065
mov dword [ebp - 0x30], 0x790070
mov dword [ebp - 0x2c], 0x72006b
mov dword [ebp - 0x28], 0x760038
mov dword [ebp - 0x24], 0x68005f
mov dword [ebp - 0x20], 0x740074
mov dword [ebp - 0x1c], 0x70
call fcn.00404100
push 4
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push ecx
push 4
push 0
push dword [eax]
push edi
call esi
lea ecx, [ebp - 0xb0]
call fcn.0040b9d0
push edi
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
test edi, edi
jne 0x40d7a1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
test edi, edi
je 0x40d7a8
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret