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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x532c93
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x9c
push esi
push edi
mov ecx, 0x5703b4
mov dword [ebp - 4], 1
call fcn.005040ed
xor eax, eax
mov dword [ebp - 0x2c], 0x730055
mov word [ebp - 0x18], ax
lea ecx, [ebp - 0x16]
lea eax, [ebp - 0xd]
mov dword [ebp - 0x28], 0x720065
push eax
push ecx
lea edx, [ebp - 0x2c]
mov dword [ebp - 0x24], 0x680043
push edx
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x20], 0x69006f
mov dword [ebp - 0x1c], 0x650063
call fcn.00404100
mov edx, dword [eax]
xorps xmm0, xmm0
mov ecx, edx
mov byte [ebp - 4], 2
movups xmmword [ebp - 0x90], xmm0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40df81
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x90]
call fcn.00403070
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 4
call fcn.0040b9d0
push 0x5399b4
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0xa8]
push eax
call fcn.0040bfa0
add esp, 0xc
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 5
push ecx
mov ecx, eax
call fcn.0040fd60
mov dword [ebp - 0x68], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x78], xmm0
mov dword [ebp - 0x64], 0
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x78], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x68], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 7
call fcn.0040fce0
xor eax, eax
mov dword [ebp - 0x60], 0x530054
mov word [ebp - 0x48], ax
lea ecx, [ebp - 0x46]
lea eax, [ebp - 0xd]
mov dword [ebp - 0x5c], 0x720042
push eax
push ecx
lea edx, [ebp - 0x60]
mov dword [ebp - 0x58], 0x77006f
push edx
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x54], 0x650073
mov dword [ebp - 0x50], 0x480072
mov dword [ebp - 0x4c], 0x4d0054
call fcn.00404100
lea ecx, [ebp - 0x38]
mov edi, dword [eax]
call fcn.0040b9d0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
cmp dword [ebp - 0x64], 8
lea ecx, [ebp - 0x14]
push ecx
push 0xf003f
lea eax, [ebp - 0x78]
mov byte [ebp - 4], 8
cmovae eax, dword [ebp - 0x78]
push 0
push eax
push reloc.WS2_32.dll_accept
mov dword [ebp - 0x14], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40e1bb
mov esi, dword [ebp - 0x14]
lea ecx, [ebp - 0x16]
mov dword [ebp - 0x40], eax
lea edx, [ebp - 0x24]
mov word [ebp - 0x18], ax
lea eax, [ebp - 0xd]
push eax
push ecx
push edx
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x24], 0x720050
mov dword [ebp - 0x20], 0x67006f
mov dword [ebp - 0x1c], 0x640049
call fcn.00404100
mov dword [ebp - 0x14], eax
test edi, edi
je 0x40e128
mov ecx, edi
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40e100
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
mov eax, dword [ebp - 0x14]
push edi
push 1
push 0
push dword [eax]
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea ecx, [ebp - 0x9c]
call fcn.0040b9d0
xor eax, eax
mov dword [ebp - 0x38], 0x610048
mov word [ebp - 0x30], ax
lea ecx, [ebp - 0x2e]
lea eax, [ebp - 0xd]
mov dword [ebp - 0x34], 0x680073
push eax
push ecx
lea edx, [ebp - 0x38]
push edx
lea ecx, [ebp - 0x9c]
call fcn.00404100
cmp dword [ebp + 0x34], 8
lea edx, [ebp + 0x20]
mov dword [ebp - 0x14], eax
jb 0x40e171
mov edx, dword [ebp + 0x20]
test edx, edx
je 0x40e19e
mov eax, edx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40e176
sub eax, edi
sar eax, 1
lea eax, [eax*2 + 2]
push eax
mov eax, dword [ebp - 0x14]
push edx
push 1
push 0
push dword [eax]
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea ecx, [ebp - 0x9c]
call fcn.0040b9d0
push esi
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
test esi, esi
je 0x40e1bb
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x64]
pop edi
pop esi
cmp ecx, 8
jb 0x40e1f3
mov edx, dword [ebp - 0x78]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40e1e9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e25e
push ecx
push edx
call fcn.005040df
add esp, 8
mov ecx, dword [ebp - 0x7c]
xor eax, eax
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 7
mov word [ebp - 0x78], ax
cmp ecx, 8
jb 0x40e240
mov edx, dword [ebp - 0x90]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40e236
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e25e
push ecx
push edx
call fcn.005040df
add esp, 8
lea ecx, [ebp + 8]
call fcn.0040fce0
lea ecx, [ebp + 0x20]
call fcn.0040fce0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
call fcn.0050b3af
int3