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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x534591
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c4
push ebx
push esi
push edi
mov dword [ebp - 0x18], 1
mov ecx, 0x570b5c
mov dword [ebp - 4], 0
call fcn.005040ed
mov ebx, reloc.WS2_32.dll_accept
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
mov ecx, reloc.WS2_32.dll_bind
cmovne ebx, ecx
call fcn.004056c0
mov ecx, eax
test ecx, ecx
je 0x4231e0
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [ebp + 8]
add eax, 0x10
mov dword [ecx], eax
xor eax, eax
mov byte [ebp - 4], 1
mov word [ebp - 0x40], ax
lea ecx, [ebp - 0x3e]
lea eax, [ebp - 0xd]
mov dword [ebp - 0x18], 1
push eax
push ecx
lea edx, [ebp - 0xa8]
mov dword [ebp - 0xa8], 0x4f0053
push edx
lea ecx, [ebp - 0xbc]
mov dword [ebp - 0xa4], 0x540046
mov dword [ebp - 0xa0], 0x410057
mov dword [ebp - 0x9c], 0x450052
mov dword [ebp - 0x98], 0x4d005c
mov dword [ebp - 0x94], 0x630069
mov dword [ebp - 0x90], 0x6f0072
mov dword [ebp - 0x8c], 0x6f0073
mov dword [ebp - 0x88], 0x740066
mov dword [ebp - 0x84], 0x57005c
mov dword [ebp - 0x80], 0x6e0069
mov dword [ebp - 0x7c], 0x6f0064
mov dword [ebp - 0x78], 0x730077
mov dword [ebp - 0x74], 0x43005c
mov dword [ebp - 0x70], 0x720075
mov dword [ebp - 0x6c], 0x650072
mov dword [ebp - 0x68], 0x74006e
mov dword [ebp - 0x64], 0x650056
mov dword [ebp - 0x60], 0x730072
mov dword [ebp - 0x5c], 0x6f0069
mov dword [ebp - 0x58], 0x5c006e
mov dword [ebp - 0x54], 0x6e0055
mov dword [ebp - 0x50], 0x6e0069
mov dword [ebp - 0x4c], 0x740073
mov dword [ebp - 0x48], 0x6c0061
mov dword [ebp - 0x44], 0x5c006c
call fcn.00404100
mov esi, dword [eax]
mov dword [ebp - 4], 2
call fcn.004056c0
mov ecx, eax
test ecx, ecx
je 0x4231ea
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push esi
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.00404ac0
test al, al
jne 0x423009
test esi, esi
jne 0x422fe5
xor ecx, ecx
jmp 0x422fff
mov ecx, esi
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x422ff0
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x14]
call fcn.00406790
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 5
call fcn.0040b9d0
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x14]
push dword [eax - 0xc]
push eax
call fcn.00404880
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x1c]
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
push 0x20119
push 0
push esi
push ebx
call edi
test eax, eax
je 0x4230a8
lea eax, [ebp - 0x1c]
mov ebx, reloc.WS2_32.dll_accept
push eax
push 0x20119
push 0
push esi
push ebx
call edi
test eax, eax
je 0x4230a8
lea edx, [esi - 0x10]
mov dword [ebp - 0x18], 0
or esi, 0xffffffff
mov byte [ebp - 4], 1
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x423080
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp + 0xc]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x4231ca
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x4231ca
push 0x208
lea eax, [ebp - 0x2d0]
mov dword [ebp - 0xb0], 1
push 0
push eax
mov dword [ebp - 0xac], 0x104
call fcn.005073b0
add esp, 0xc
mov dword [ebp - 0x3c], 0x6e0049
lea eax, [ebp - 0xd]
mov dword [ebp - 0x38], 0x740073
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x34], 0x6c0061
lea edx, [ebp - 0x3c]
mov dword [ebp - 0x30], 0x4c006c
push eax
push ecx
push edx
lea ecx, [ebp - 0xc8]
mov dword [ebp - 0x2c], 0x63006f
mov dword [ebp - 0x28], 0x740061
mov dword [ebp - 0x24], 0x6f0069
mov dword [ebp - 0x20], 0x6e
call fcn.00404100
lea ecx, [ebp - 0xac]
push ecx
lea ecx, [ebp - 0x2d0]
push ecx
lea ecx, [ebp - 0xb0]
push ecx
push 0
push dword [eax]
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [ebp - 0xc8]
mov edi, eax
call fcn.0040b9d0
test edi, edi
jne 0x42317f
lea eax, [ebp - 0x2d0]
lea edx, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x423160
mov ecx, dword [ebp + 8]
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x2d0]
push eax
call fcn.00406790
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [esi - 0x10]
mov dword [ebp - 0x18], 0
or esi, 0xffffffff
mov byte [ebp - 4], 1
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4231ab
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], 0xffffffff
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], esi
dec esi
test esi, esi
jg 0x4231ca
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
push 0x80004005
call fcn.00404a90
push 0x80004005
call fcn.00404a90
int3