Function at 0x405df0
Capabilities:
Contain obfuscated stackstrings
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0xd0]
sub esp, 0xd0
push 0xffffffffffffffff
push 0x43a175
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x447004]
xor eax, ebp
mov dword [ebp + 0xcc], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, 0x73
mov dword [ebp + 0x8c], 0x740065
mov word [ebp + 0x56], ax
mov edx, 0x65
mov eax, 0x75
mov word [ebp + 0x32], dx
mov word [ebp + 0x5c], ax
mov edx, 0x69
mov eax, 0x72
mov word [ebp + 0x70], dx
mov word [ebp + 0x3c], ax
mov ebx, 0x74
mov eax, 0x53
mov word [ebp + 0x66], bx
mov word [ebp + 0xa6], ax
lea esi, [edx - 0x19]
mov eax, 0x76
mov dword [ebp + 0x76], 0x49005c
mov ecx, 0x6e
mov word [ebp + 0xac], ax
xor eax, eax
mov word [ebp + 0x82], cx
mov ebx, 0x77
mov dword [ebp - 0x24], eax
lea ecx, [ebp + 0xb4]
mov dword [ebp + 0x4a], 0x690057
mov dword [ebp + 0x68], 0x650056
lea edx, [ecx + 2]
mov dword [ebp + 0x7e], 0x720065
mov dword [ebp + 0x98], 0x73
mov dword [ebp + 0x3e], 0x73006f
mov dword [ebp + 0x7a], 0x74006e
mov dword [ebp + 0x52], 0x77006f
mov dword [ebp + 0x72], 0x6e006f
mov dword [ebp + 0x6c], 0x730072
mov dword [ebp + 0x84], 0x740065
mov dword [ebp + 0x88], 0x530020
mov dword [ebp + 0x2e], 0x720061
mov dword [ebp + 0x5e], 0x720072
mov dword [ebp + 0x58], 0x43005c
mov dword [ebp + 0x24], 0x6f0053
mov dword [ebp + 0x94], 0x67006e
mov dword [ebp + 0x46], 0x5c0074
mov dword [ebp + 0x62], 0x6e0065
mov dword [ebp + 0x28], 0x740066
mov dword [ebp + 0x42], 0x66006f
mov dword [ebp + 0x4e], 0x64006e
mov dword [ebp + 0x34], 0x4d005c
mov dword [ebp + 0x90], 0x690074
mov dword [ebp + 0x38], 0x630069
mov word [ebp + 0x2c], bx
mov dword [ebp + 0xc0], 0x61006e
mov dword [ebp + 0xb4], 0x720050
mov dword [ebp + 0xb8], 0x78006f
mov dword [ebp + 0xc4], 0x6c0062
mov dword [ebp + 0xbc], 0x450079
mov dword [ebp + 0xc8], 0x65
mov dword [ebp + 0xae], 0x720065
mov dword [ebp + 0xa8], 0x720065
mov dword [ebp + 0xa2], 0x790078
mov dword [ebp + 0x9e], 0x6f0072
mov word [ebp + 0x9c], si
mov word [ebp + 0xb2], ax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 7
mov word [ebp - 0x24], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x405fe7
sub ecx, edx
lea eax, [ebp + 0xb4]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x24]
call fcn.00407760
mov dword [ebp - 4], 0
lea eax, [ebp + 0x24]
mov dword [ebp - 0x3c], 0
lea edx, [eax + 2]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 7
nop dword [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x406030
sub eax, edx
lea ecx, [ebp - 0x3c]
sar eax, 1
push eax
lea eax, [ebp + 0x24]
push eax
call fcn.00407760
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp]
cmp dword [ebp - 0x28], 8
lea eax, [ebp - 0x3c]
push ecx
cmovae eax, dword [ebp - 0x3c]
push 0x20019
push 0
push eax
push 0x80000001
mov dword [ebp], 0
mov dword [ebp + 0x20], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4060af
cmp dword [ebp - 0x10], 8
lea ecx, [ebp + 0x1c]
push ecx
lea ecx, [ebp + 0x20]
mov dword [ebp + 0x1c], 4
push ecx
push 0
lea eax, [ebp - 0x24]
cmovae eax, dword [ebp - 0x24]
push 0
push eax
push dword [ebp]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x28]
mov ebx, dword [ebp + 0x20]
cmp edx, 8
jb 0x4060f5
mov ecx, dword [ebp - 0x3c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4060eb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4062b9
push edx
push ecx
call fcn.00409391
add esp, 8
mov edx, dword [ebp - 0x10]
xor eax, eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 7
mov word [ebp - 0x3c], ax
cmp edx, 8
jb 0x406143
mov ecx, dword [ebp - 0x24]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x406139
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4062b9
push edx
push ecx
call fcn.00409391
add esp, 8
xor eax, eax
mov dword [ebp - 0x14], 0
sub esp, 0x18
mov dword [ebp - 0x10], 7
mov edx, esp
mov word [ebp - 0x24], ax
lea ecx, [ebp + 0x9c]
mov dword [ebp - 0x40], esp
lea esi, [ecx + 2]
mov dword [edx], eax
mov dword [edx + 0x10], eax
mov dword [edx + 0x14], 7
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x406174
sub ecx, esi
lea eax, [ebp + 0x9c]
sar ecx, 1
push ecx
push eax
mov ecx, edx
call fcn.00407760
sub esp, 0x18
mov dword [ebp - 4], 1
mov edx, esp
lea ecx, [ebp + 0x24]
lea esi, [ecx + 2]
mov dword [edx], 0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 7
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4061c0
sub ecx, esi
lea eax, [ebp + 0x24]
sar ecx, 1
push ecx
push eax
mov ecx, edx
call fcn.00407760
lea ecx, [ebp + 4]
mov dword [ebp - 4], 0xffffffff
call fcn.00402e30
mov eax, 0x70
mov dword [ebp + 0xb0], 0x3d
add esp, 0x2c
mov word [ebp + 0xae], ax
mov ecx, 0x68
mov dword [ebp + 0xaa], 0x740074
lea eax, [ebp + 0xa8]
mov word [ebp + 0xa8], cx
mov word [ebp + 0xbc], cx
lea ecx, [ebp + 4]
push eax
mov dword [ebp + 0xc2], 0x730070
mov dword [ebp + 0xc6], 0x3d
mov dword [ebp + 0xbe], 0x740074
call fcn.00407a90
mov esi, eax
lea eax, [ebp + 0xbc]
push ecx
push eax
lea ecx, [ebp + 4]
call fcn.00407a90
cmp ebx, 1
jne 0x40628c
cmp esi, 0xffffffff
jne 0x40626d
cmp eax, esi
je 0x406280
test edi, edi
jne 0x406276
cmp esi, 0xffffffff
jmp 0x40627e
cmp edi, 1
jne 0x40628c
cmp eax, 0xffffffff
je 0x40628c
lea ecx, [ebp + 4]
call fcn.00406760
mov al, 1
jmp 0x406296
lea ecx, [ebp + 4]
call fcn.00406760
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0xcc]
xor ecx, ebp
call fcn.00409353
lea esp, [ebp + 0xd0]
pop ebp
ret
call fcn.00413e93
int3