Function at 0x419ef0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x486328
mov eax, dword fs:[0]
push eax
mov eax, 0x1bc4
call fcn.004423a0
mov eax, dword [0x4b3630]
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 dword [ebp - 0x1bd0], eax
mov dword [ebp - 0x1bc0], eax
mov dword [ebp - 0x1bb0], 0
lea eax, [ebp - 0x1bb4]
mov dword [ebp - 4], 1
push eax
call fcn.00419a70
add esp, 4
push eax
lea ecx, [ebp - 0x1ba4]
mov byte [ebp - 4], 2
mov dword [ebp - 0x1ba8], str.pid
call fcn.00418660
mov dword [ebp - 0x1bb0], 2
mov edx, dword [ebp - 0x1bb4]
or edi, 0xffffffff
mov byte [ebp - 4], 4
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x419f99
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp word [0x4b7778], 0
jne 0x41a09c
push 0x20219
push str.SOFTWAREJianDesk
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x1bcc]
mov dword [ebp - 0x1bcc], 0
mov dword [ebp - 0x1bc8], 0
mov dword [ebp - 0x1bc4], 0
call fcn.00410c80
mov ebx, dword [ebp - 0x1bcc]
test eax, eax
jne 0x41a091
lea eax, [ebp - 0x1bb8]
mov dword [ebp - 0x1bb8], 0x800
push eax
lea eax, [ebp - 0xb20]
push eax
lea eax, [ebp - 0x1bbc]
push eax
push 0
push str.FROM
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41a091
mov eax, dword [ebp - 0x1bbc]
cmp eax, 1
je 0x41a02e
cmp eax, 2
jne 0x41a091
mov eax, dword [ebp - 0x1bb8]
test eax, eax
je 0x41a04b
test al, 1
jne 0x41a091
shr eax, 1
cmp word [ebp + eax*2 - 0xb22], 0
je 0x41a054
jmp 0x41a091
xor eax, eax
mov word [ebp - 0xb20], ax
mov ecx, 0x4b7778
lea esi, [ebp - 0xb20]
mov edx, 0x3ff
sub esi, ecx
lea eax, [edx + 0x7ffffbff]
test eax, eax
je 0x41a084
movzx eax, word [esi + ecx]
test ax, ax
je 0x41a084
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x41a066
test edx, edx
lea eax, [ecx - 2]
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
test ebx, ebx
je 0x41a09c
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.00406280
mov ecx, eax
test ecx, ecx
je 0x41a82e
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1bac], eax
push 0x4b7778
lea ecx, [ebp - 0x1bac]
mov byte [ebp - 4], 5
call fcn.00410060
test al, al
jne 0x41a100
mov ecx, 0x4b7778
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41a0e0
sub ecx, edx
sar ecx, 1
push ecx
push 0x4b7778
lea ecx, [ebp - 0x1bac]
call fcn.0040ab00
mov dword [ebp - 0x1bb0], 6
lea eax, [ebp - 0x1bac]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x1b9c]
mov dword [ebp - 0x1ba0], str.from
call fcn.00418660
mov dword [ebp - 0x1bb0], 0xe
mov edx, dword [ebp - 0x1bac]
mov eax, edi
mov byte [ebp - 4], 8
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41a155
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp word [0x4b7f78], 0
jne 0x41a16e
push 0x400
push 0x4b7f78
call fcn.00434200
call fcn.00406280
mov ecx, eax
test ecx, ecx
je 0x41a838
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1bac], eax
push 0x4b7f78
lea ecx, [ebp - 0x1bac]
mov byte [ebp - 4], 9
call fcn.00410060
test al, al
jne 0x41a1d0
mov ecx, 0x4b7f78
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41a1b0
sub ecx, edx
sar ecx, 1
push ecx
push 0x4b7f78
lea ecx, [ebp - 0x1bac]
call fcn.0040ab00
mov dword [ebp - 0x1bb0], 0x1e
lea eax, [ebp - 0x1bac]
mov byte [ebp - 4], 0xa
push eax
lea ecx, [ebp - 0x1b94]
mov dword [ebp - 0x1b98], str.mid
call fcn.00418660
mov dword [ebp - 0x1bb0], 0x3e
mov edx, dword [ebp - 0x1bac]
mov eax, edi
mov byte [ebp - 4], 0xc
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41a225
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp word [0x4b8778], 0
jne 0x41a23e
push 0x3ff
push 0x4b8778
call fcn.00434e40
call fcn.00406280
mov ecx, eax
test ecx, ecx
je 0x41a842
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1bac], eax
push 0x4b8778
lea ecx, [ebp - 0x1bac]
mov byte [ebp - 4], 0xd
call fcn.00410060
test al, al
jne 0x41a2a0
mov ecx, 0x4b8778
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41a280
sub ecx, edx
sar ecx, 1
push ecx
push 0x4b8778
lea ecx, [ebp - 0x1bac]
call fcn.0040ab00
mov dword [ebp - 0x1bb0], 0x7e
lea eax, [ebp - 0x1bac]
mov byte [ebp - 4], 0xe
push eax
lea ecx, [ebp - 0x1b8c]
mov dword [ebp - 0x1b90], str.mid2
call fcn.00418660
mov dword [ebp - 0x1bb0], 0xfe
mov edx, dword [ebp - 0x1bac]
mov eax, edi
mov byte [ebp - 4], 0x10
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41a2f5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x48d5b4
mov dword [ebp - 0x1bb4], 0
mov dword [ebp - 0x1bbc], 0
mov dword [ebp - 0x1bb8], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x41a35f
push str.RtlGetNtVersionNumbers
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41a358
lea ecx, [ebp - 0x1bb8]
push ecx
lea ecx, [ebp - 0x1bbc]
push ecx
lea ecx, [ebp - 0x1bb4]
push ecx
call eax
movzx eax, word [ebp - 0x1bb8]
mov dword [ebp - 0x1bb8], eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 0x100
lea eax, [ebp - 0x110]
push 0
push eax
call fcn.0044a6c0
push dword [ebp - 0x1bbc]
lea eax, [ebp - 0x110]
push dword [ebp - 0x1bb4]
push str._u._u
push 0x7f
push eax
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x20
call fcn.00406280
mov ecx, eax
test ecx, ecx
je 0x41a84c
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1bac], eax
lea eax, [ebp - 0x110]
mov byte [ebp - 4], 0x11
push eax
lea ecx, [ebp - 0x1bac]
call fcn.00410060
test al, al
jne 0x41a3f7
lea ecx, [ebp - 0x110]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41a3d5
sub ecx, edx
lea eax, [ebp - 0x110]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x1bac]
call fcn.0040ab00
mov dword [ebp - 0x1bb0], 0x1fe
lea eax, [ebp - 0x1bac]
mov byte [ebp - 4], 0x12
push eax
lea ecx, [ebp - 0x1b84]
mov dword [ebp - 0x1b88], str.osver
call fcn.00418660
mov dword [ebp - 0x1bb0], 0x3fe
mov edx, dword [ebp - 0x1bac]
mov eax, edi
mov byte [ebp - 4], 0x14
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41a44c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp word [0x4b9778], 0
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpynW]
jne 0x41a516
lea eax, [ebp - 0x1bac]
push eax
call fcn.00418ff0
add esp, 4
push 0x48d69c
lea ecx, [ebp - 0x1bac]
mov byte [ebp - 4], 0x15
call fcn.00418780
push str.JianDesk.exe
lea ecx, [ebp - 0x1bac]
call fcn.00418780
call fcn.00406280
mov ecx, eax
test ecx, ecx
je 0x41a856
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1bb4], eax
lea eax, [ebp - 0x1bb4]
mov byte [ebp - 4], 0x16
push eax
lea eax, [ebp - 0x1bac]
push eax
call fcn.00415630
mov esi, dword [ebp - 0x1bb4]
add esp, 8
push 0x3f
push esi
push 0x4b9778
call ebx
mov byte [ebp - 4], 0x15
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x41a4f5
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x1bac]
mov eax, edi
mov byte [ebp - 4], 0x14
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41a516
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x4b9778
lea ecx, [ebp - 0x1b7c]
mov dword [ebp - 0x1b80], str.appver
call fcn.00416720
xor eax, eax
mov byte [ebp - 4], 0x17
cmp ax, word [0x4b97f8]
jne 0x41a658
push 0x210
push eax
lea eax, [ebp - 0x320]
push eax
call fcn.0044a6c0
add esp, 0xc
lea eax, [ebp - 0x320]
push 0x108
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
call fcn.00406280
mov ecx, eax
test ecx, ecx
je 0x41a860
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1bb4], eax
mov byte [ebp - 4], 0x18
call fcn.00406280
mov ecx, eax
test ecx, ecx
je 0x41a86a
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1bac], eax
lea eax, [ebp - 0x320]
mov byte [ebp - 4], 0x19
push eax
lea ecx, [ebp - 0x1bac]
call fcn.00410060
test al, al
jne 0x41a5f2
lea ecx, [ebp - 0x320]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41a5d0
sub ecx, edx
lea eax, [ebp - 0x320]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x1bac]
call fcn.0040ab00
lea eax, [ebp - 0x1bb4]
mov byte [ebp - 4], 0x1a
push eax
lea eax, [ebp - 0x1bac]
push eax
call fcn.00415630
mov edx, dword [ebp - 0x1bac]
add esp, 8
mov byte [ebp - 4], 0x18
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41a62d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x1bb4]
push 0x3f
push esi
push 0x4b97f8
call ebx
mov byte [ebp - 4], 0x17
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x41a658
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
push 0x4b97f8
lea ecx, [ebp - 0x1b74]
mov dword [ebp - 0x1b78], str.modver
call fcn.00416720
lea eax, [ebp - 0x1bb4]
mov byte [ebp - 4], 0x1b
push eax
call fcn.004191b0
mov esi, eax
push 0x1048
lea eax, [ebp - 0x1b68]
mov byte [ebp - 4], 0x1c
push 0
push eax
call fcn.0044a6c0
push 0
push 0x1048
push 0
lea eax, [ebp - 0x1b68]
push eax
push dword [esi]
call fcn.00418be0
add esp, 0x24
test eax, eax
jne 0x41a6c0
mov word [ebp - 0x1b68], ax
call fcn.00406280
mov ecx, eax
test ecx, ecx
je 0x41a874
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1bac], eax
lea eax, [ebp - 0x1b68]
mov byte [ebp - 4], 0x1d
push eax
lea ecx, [ebp - 0x1bac]
call fcn.00410060
test al, al
jne 0x41a722
lea ecx, [ebp - 0x1b68]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41a700
sub ecx, edx
lea eax, [ebp - 0x1b68]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x1bac]
call fcn.0040ab00
mov dword [ebp - 0x1bb0], 0x7fe
lea eax, [ebp - 0x1bac]
mov byte [ebp - 4], 0x1e
push eax
lea ecx, [ebp - 0x1b6c]
mov dword [ebp - 0x1b70], str.instdate
call fcn.00418660
mov edx, dword [ebp - 0x1bac]
mov eax, edi
mov dword [ebp - 0x1bb0], 0xffe
add edx, 0xfffffff0
mov byte [ebp - 4], 0x1c
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41a777
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x1bb4]
mov eax, edi
mov byte [ebp - 4], 0x1b
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41a798
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, dword [ebp - 0x1bc0]
lea eax, [ebp + 0xc]
push eax
mov ecx, ebx
mov byte [ebp - 4], 0x1f
call fcn.00418660
mov dword [ebp - 0x1bb0], 0xfff
xor esi, esi
nop dword [eax]
push dword [ebp + esi*8 - 0x1ba4]
mov ecx, ebx
push dword [ebp + esi*8 - 0x1ba8]
call fcn.00419c80
inc esi
cmp esi, 8
jb 0x41a7c0
push fcn.00418730
push 8
push 8
lea eax, [ebp - 0x1ba8]
mov byte [ebp - 4], 1
push eax
call fcn.004423cd
mov eax, dword [ebp + 0xc]
mov byte [ebp - 4], 0
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], edi
dec edi
test edi, edi
jg 0x41a810
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, ebx
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.00442126
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00405f60
push 0x80004005
call fcn.00405f60
push 0x80004005
call fcn.00405f60
push 0x80004005
call fcn.00405f60
push 0x80004005
call fcn.00405f60
push 0x80004005
call fcn.00405f60
push 0x80004005
call fcn.00405f60
push 0x80004005
call fcn.00405f60
int3