Function at 0x419480
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48613b
mov eax, dword fs:[0]
push eax
sub esp, 0xa58
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]
push 0x200
mov dword [ebp - 0xa58], eax
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.0044a6c0
xor ebx, ebx
add esp, 0xc
mov dword [ebp - 0xa64], ebx
mov dword [ebp - 0xa60], ebx
mov dword [ebp - 0xa5c], ebx
lea eax, [ebp - 0xa38]
mov dword [ebp - 4], ebx
push eax
push 0x20219
push ebx
push str.SOFTWAREJianDesk
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0xa38], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4195cc
mov ebx, dword [ebp - 0xa38]
lea eax, [ebp - 0xa38]
push eax
lea eax, [ebp - 0xa10]
mov dword [ebp - 0xa64], ebx
push eax
lea eax, [ebp - 0xa50]
mov dword [ebp - 0xa60], 0x200
push eax
push 0
push str.InstallDate
push ebx
mov dword [ebp - 0xa38], 0x800
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4195cc
mov eax, dword [ebp - 0xa50]
cmp eax, 1
je 0x419566
cmp eax, 2
jne 0x4195cc
mov eax, dword [ebp - 0xa38]
test eax, eax
je 0x419583
test al, 1
jne 0x4195cc
shr eax, 1
cmp word [ebp + eax*2 - 0xa12], 0
je 0x41958c
jmp 0x4195cc
xor eax, eax
mov word [ebp - 0xa10], ax
lea ecx, [ebp - 0x210]
mov edx, 0xff
lea esi, [ebp - 0xa10]
mov eax, ecx
sub esi, eax
lea eax, [edx + 0x7ffffeff]
test eax, eax
je 0x4195bf
movzx eax, word [esi + ecx]
test ax, ax
je 0x4195bf
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x4195a1
test edx, edx
lea eax, [ecx - 2]
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push str.0000_00_00_00:00:00
call edi
mov esi, eax
lea eax, [ebp - 0x210]
push eax
call edi
cmp eax, esi
je 0x419613
test ebx, ebx
je 0x4195f3
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
mov eax, esi
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
lea eax, [ebp - 0xa4c]
mov dword [ebp - 0xa3c], 0
push eax
lea eax, [ebp - 0xa54]
mov dword [ebp - 0xa40], 0
push eax
lea eax, [ebp - 0xa48]
mov dword [ebp - 0xa44], 0
push eax
lea eax, [ebp - 0xa44]
mov dword [ebp - 0xa48], 0
push eax
lea eax, [ebp - 0xa40]
mov dword [ebp - 0xa54], 0
push eax
lea eax, [ebp - 0xa3c]
mov dword [ebp - 0xa4c], 0
push eax
lea eax, [ebp - 0x210]
push str._04d__02d__02d__02d:_02d:_02d
push eax
call fcn.0041a8b0
add esp, 0x20
cmp dword [ebp - 0xa3c], 0x7b2
jl 0x41975d
mov ecx, dword [ebp - 0xa40]
lea edx, [ecx - 1]
cmp edx, 0xb
ja 0x419767
mov edi, dword [ebp - 0xa44]
lea eax, [edi - 1]
cmp eax, 0x1e
ja 0x419771
mov eax, dword [ebp - 0xa48]
cmp eax, 0x17
ja 0x41977b
cmp ecx, 0x3b
ja 0x419785
mov esi, dword [ebp - 0xa4c]
cmp esi, 0x3b
ja 0x41978f
mov dword [ebp - 0xa2c], eax
mov eax, dword [ebp - 0xa3c]
add eax, 0xfffff894
mov dword [ebp - 0xa34], esi
mov dword [ebp - 0xa20], eax
lea eax, [ebp - 0xa34]
push eax
mov dword [ebp - 0xa30], ecx
mov dword [ebp - 0xa28], edi
mov dword [ebp - 0xa24], edx
mov dword [ebp - 0xa14], 0xffffffff
call fcn.00459692
mov ecx, eax
add esp, 4
and ecx, edx
cmp ecx, 0xffffffff
je 0x419799
mov ecx, dword [ebp - 0xa58]
mov esi, 1
mov dword [ecx], eax
mov dword [ecx + 4], edx
test ebx, ebx
je 0x4195f5
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4195f5
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 0x80070057
call fcn.00405f60
int3