Function at 0x424a60
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c54d9
mov eax, dword fs:[0]
push eax
sub esp, 0x864
mov eax, dword [0x4ff12c]
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 dword [ebp - 0x840], ecx
mov dword [ebp - 4], 0
xor eax, eax
mov dword [ebp - 0x820], 0
mov dword [ebp - 0x81c], 7
mov word [ebp - 0x830], ax
mov byte [ebp - 4], 1
lea eax, [ebp + 8]
cmp dword [ebp + 0x1c], 8
lea ecx, [ebp - 0x830]
push dword [ebp + 0x18]
cmovae eax, dword [ebp + 8]
push eax
call fcn.00406ee0
push 0x800
lea eax, [ebp - 0x810]
push 0
push eax
call fcn.004a21c0
cmp dword [ebp - 0x81c], 8
lea eax, [ebp - 0x830]
cmovae eax, dword [ebp - 0x830]
push eax
push str.SYSTEMCurrentControlSetControlDeviceClasses28d78fad_5a12_11d1_ae5b_0000f803a8c2__s28d78fad_5a12_11d1_ae5b_0000f803a8c2Device_Parameters
lea eax, [ebp - 0x810]
push 0x400
push eax
call fcn.00421e00
add esp, 0x1c
mov dword [ebp - 0x818], 4
lea eax, [ebp - 0x83c]
mov dword [ebp - 0x814], 4
mov dword [ebp - 0x838], 0
push eax
push 0x20019
push 0
lea eax, [ebp - 0x810]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x424d47
lea eax, [ebp - 0x814]
push eax
lea eax, [ebp - 0x838]
push eax
lea eax, [ebp - 0x818]
push eax
push 0
push str.Port_Number
push dword [ebp - 0x83c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x424d47
cmp dword [ebp - 0x838], eax
je 0x424d47
push 7
push str.USB_.3d
lea ecx, [ebp - 0x858]
mov dword [ebp - 0x848], eax
mov dword [ebp - 0x844], 7
mov word [ebp - 0x858], ax
call fcn.00406ee0
cmp dword [ebp - 0x844], 8
lea eax, [ebp - 0x858]
mov ebx, dword [ebp - 0x838]
cmovae eax, dword [ebp - 0x858]
push ebx
push eax
push 0
push 0
call fcn.00408750
xor ecx, ecx
mov edx, 2
push 0x502fe5
lea edi, [eax + 1]
mov eax, edi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0048b192
mov esi, eax
add esp, 0x18
mov dword [ebp - 0x834], esi
mov byte [ebp - 4], 3
test esi, esi
jne 0x424c44
push eax
push 0x4e8020
lea ecx, [ebp - 0x870]
mov dword [ebp - 0x860], eax
mov dword [ebp - 0x85c], 7
mov word [ebp - 0x870], ax
call fcn.00406ee0
jmp 0x424ca5
cmp dword [ebp - 0x844], 8
lea eax, [ebp - 0x858]
push ebx
cmovae eax, dword [ebp - 0x858]
push eax
push edi
push esi
call fcn.00408750
xor eax, eax
mov dword [ebp - 0x860], 0
mov word [ebp - 0x870], ax
add esp, 0x10
lea eax, [edi - 1]
mov dword [ebp - 0x85c], 7
lea eax, [esi + eax*2]
cmp esi, eax
je 0x424c9c
sub eax, esi
lea ecx, [ebp - 0x870]
sar eax, 1
push eax
push esi
call fcn.00406ee0
push esi
call fcn.0048b19b
add esp, 4
mov ecx, dword [ebp - 0x840]
lea eax, [ebp - 0x870]
push eax
call fcn.004082c0
mov edx, dword [ebp - 0x85c]
cmp edx, 8
jb 0x424cf7
mov ecx, dword [ebp - 0x870]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x424ced
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x424dfa
push edx
push ecx
call fcn.0048ab28
add esp, 8
mov edx, dword [ebp - 0x844]
cmp edx, 8
jb 0x424d37
mov ecx, dword [ebp - 0x858]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x424d2d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x424dff
push edx
push ecx
call fcn.0048ab28
add esp, 8
push dword [ebp - 0x83c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov bl, 1
jmp 0x424d49
xor bl, bl
mov edx, dword [ebp - 0x81c]
cmp edx, 8
jb 0x424d89
mov ecx, dword [ebp - 0x830]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x424d7f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x424e04
push edx
push ecx
call fcn.0048ab28
add esp, 8
mov edx, dword [ebp + 0x1c]
xor eax, eax
mov dword [ebp - 0x820], 0
mov dword [ebp - 0x81c], 7
mov word [ebp - 0x830], ax
cmp edx, 8
jb 0x424ddc
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x424dd2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x424e09
push edx
push ecx
call fcn.0048ab28
add esp, 8
mov al, bl
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.0048aaf4
mov esp, ebp
pop ebp
ret
call fcn.004a6c47
call fcn.004a6c47
call fcn.004a6c47
call fcn.004a6c47
int3