Function at 0x493d60
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x82c
mov eax, dword [0x541514]
xor eax, ebp
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x418], 0
push 0x3ff
push 0
lea eax, [ebp - 0x417]
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov byte [ebp - 0x820], 0
push 0x3ff
push 0
lea ecx, [ebp - 0x81f]
push ecx
call sub.MSVCR80.dll_memset
add esp, 0xc
mov dword [ebp - 4], 0
mov dword [ebp - 0x41c], 0x400
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x420], 0
mov dword [ebp - 8], 0
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x50]
push eax
push str.borrow__x
lea ecx, [ebp - 0x418]
push ecx
call dword [sym.imp.MSVCR80.dll_sprintf]
add esp, 0xc
lea edx, [ebp - 0x10]
push edx
push 0x20007
push 0
push str.SoftwareFLEXlm_License_ManagerBorrow
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x493e85
mov eax, dword [ebp + 8]
cmp dword [eax + 0x80], 0
je 0x493e40
xor ecx, ecx
je 0x493e40
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x80]
mov dword [ebp - 0x828], eax
jmp 0x493e4a
mov dword [ebp - 0x828], 0xffffff86
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x828]
mov dword [ecx + 0x80], edx
push 0
push 0xff
push 0
push 0
push 0x265
push 0xffffffffffffff86
mov eax, dword [ebp + 8]
push eax
call fcn.0048a930
add esp, 0x1c
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x80]
jmp 0x493ff5
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x82c], edx
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x41c]
push eax
lea ecx, [ebp - 0x820]
push ecx
mov edx, dword [ebp - 0x82c]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
test eax, eax
jne 0x493fe9
mov edx, dword [ebp - 0x41c]
mov byte [ebp + edx - 0x820], 0
push 0x2d
lea eax, [ebp - 0x820]
push eax
call dword [sym.imp.MSVCR80.dll_strrchr]
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x493fda
lea ecx, [ebp - 0x418]
push ecx
call sub.MSVCR80.dll_strlen
add esp, 4
push eax
lea edx, [ebp - 0x418]
push edx
lea eax, [ebp - 0x820]
push eax
call dword [sym.imp.MSVCR80.dll_strncmp]
add esp, 0xc
test eax, eax
jne 0x493fda
mov ecx, dword [ebp + 0xc]
add ecx, 4
push ecx
mov edx, dword [ebp - 8]
add edx, 1
push edx
call sub.MSVCR80.dll_strcmp
add esp, 8
test eax, eax
jne 0x493fda
mov dword [ebp - 0x420], 0
push 1
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 0x820]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0049c580
add esp, 0x14
cmp dword [ebp - 0x420], 0
je 0x493fd8
mov dword [ebp - 0x824], 0
mov ecx, dword [ebp - 0x824]
cmp ecx, dword [ebp - 0x420]
jae 0x493fb8
mov edx, dword [ebp - 4]
add edx, dword [ebp - 0x824]
movsx eax, byte [edx]
xor eax, 0xff
mov ecx, dword [ebp - 4]
add ecx, dword [ebp - 0x824]
mov byte [ecx], al
mov edx, dword [ebp - 0x824]
add edx, 2
mov dword [ebp - 0x824], edx
jmp 0x493f7d
push 1
mov eax, dword [ebp - 0x420]
push eax
mov ecx, dword [ebp - 4]
push ecx
lea edx, [ebp - 0x820]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0049c890
add esp, 0x14
jmp 0x493fe9
mov dword [ebp - 0x41c], 0x400
jmp 0x493e85
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0047294a
mov esp, ebp
pop ebp
ret