Function at 0x1003bb10
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xee8
mov eax, dword [0x100a2d20]
xor eax, esp
mov dword [esp + 0xee4], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov dword [esp + 0x20], eax
xor edi, edi
mov eax, dword [ebp + 0xc]
push 0x800
mov dword [esp + 0x40], eax
lea eax, [esp + 0x4e4]
push edi
push eax
mov dword [esp + 0x24], edi
call fcn.1006d400
add esp, 0xc
lea eax, [esp + 0x2c]
xorps xmm0, xmm0
movaps xmmword [esp + 0x60], xmm0
movaps xmmword [esp + 0x70], xmm0
push eax
push 0x20019
push edi
push str.HARDWAREDEVICEMAPSERIALCOMM
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1003c2ee
xor esi, esi
mov dword [esp + 0x30], 1
lea eax, [esp + 0x24]
mov dword [esp + 0x28], 0x104
push eax
lea eax, [esp + 0xbc]
mov dword [esp + 0x28], 0x14
push eax
lea eax, [esp + 0x38]
push eax
push 0
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0xcf4]
push eax
push esi
push dword [esp + 0x48]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
inc esi
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0xb8]
mov dword [esp + 0x14], esi
call fcn.1003c310
mov esi, eax
mov byte [esp + 0x60], 0
mov ecx, esi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003bbf0
sub ecx, edx
cmp ecx, 0x20
jae 0x1003bc13
lea edx, [esp + 0x60]
mov ecx, esi
sub edx, esi
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x1003bc06
push 1
push esi
call fcn.100699d5
push 0x400
lea eax, [esp + 0xec]
push 0
push eax
call fcn.1006d400
add esp, 0x14
mov dword [esp + 0x50], 0
xorps xmm0, xmm0
lea ecx, [esp + 0x40]
movaps xmmword [esp + 0x40], xmm0
call fcn.1003b3d0
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea eax, [esp + 0x60]
push eax
push 0x70
push str.SerialHelper::GetComDevices
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0xf8]
push str._s_t__d__d___INFO____s:_d__find_a_COM__s_n
push eax
call fcn.10007cc0
lea ecx, [esp + 0x100]
add esp, 0x20
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003bc90
sub ecx, edx
lea eax, [esp + 0xe0]
push ecx
push eax
call fcn.1003b520
push 0x400
lea eax, [esp + 0xec]
push 0
push eax
call fcn.1006d400
add esp, 0x14
mov dword [esp + 0x50], 0
xorps xmm0, xmm0
lea ecx, [esp + 0x40]
movaps xmmword [esp + 0x40], xmm0
call fcn.1003b3d0
push dword [esp + 0x14]
push dword [esp + 0x2c]
push dword [esp + 0x2c]
push 0x71
push str.SerialHelper::GetComDevices
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x100]
push str._s_t__d__d___INFO____s:_d__dwVCount_is__lu__dwCount_is__lu__dwIndex_is__lu______n
push eax
call fcn.10007cc0
lea ecx, [esp + 0x108]
add esp, 0x28
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003bd18
sub ecx, edx
lea eax, [esp + 0xe0]
push ecx
push eax
call fcn.1003b520
add esp, 8
cmp dword [esp + 0x1c], 0
jne 0x1003c2ee
cmp dword [esp + 0x24], 0
mov esi, dword [esp + 0x14]
jbe 0x1003bb90
cmp dword [esp + 0x28], 0
jbe 0x1003bb90
sub esp, 0xc
lea ecx, [esp + 0x6c]
call fcn.1003c390
add esp, 0xc
mov esi, eax
lea eax, [esp + 0xe0]
mov dword [esp + 0x1c], esi
push 0x400
push 0
push eax
call fcn.1006d400
add esp, 0xc
mov dword [esp + 0x50], 0
xorps xmm0, xmm0
lea ecx, [esp + 0x40]
movaps xmmword [esp + 0x40], xmm0
call fcn.1003b3d0
mov eax, dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
test esi, esi
jne 0x1003be03
push 0x78
push str.SerialHelper::GetComDevices
call eax
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0xf4]
push str._s_t__d__d___INFO____s:_d__InitSerialPort_fail_n
push eax
call fcn.10007cc0
lea ecx, [esp + 0xfc]
add esp, 0x1c
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003bde0
sub ecx, edx
lea eax, [esp + 0xe0]
push ecx
push eax
call fcn.1003b520
mov esi, dword [esp + 0x1c]
add esp, 8
jmp 0x1003bb90
push 0x7b
push str.SerialHelper::GetComDevices
call eax
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0xf4]
push str._s_t__d__d___INFO____s:_d__InitSerialPort_OK_n
push eax
call fcn.10007cc0
lea ecx, [esp + 0xfc]
add esp, 0x1c
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003be38
sub ecx, edx
lea eax, [esp + 0xe0]
push ecx
push eax
call fcn.1003b520
add esp, 8
lea edx, [esp + 0xa4]
mov ecx, esi
call fcn.1003b6a0
test al, al
jne 0x1003be74
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [esp + 0x14]
jmp 0x1003bb90
push 0x400
lea eax, [esp + 0xe4]
push 0
push eax
call fcn.1006d400
add esp, 0xc
mov dword [esp + 0x50], 0
xorps xmm0, xmm0
lea ecx, [esp + 0x40]
movaps xmmword [esp + 0x40], xmm0
call fcn.1003b3d0
push 0x84
push str.SerialHelper::GetComDevices
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0xf4]
push str._s_t__d__d___INFO____s:_d__ComCheckDSJDevice_Ok_n
push eax
call fcn.10007cc0
lea ecx, [esp + 0xfc]
add esp, 0x1c
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003bee0
sub ecx, edx
lea eax, [esp + 0xe0]
push ecx
push eax
call fcn.1003b520
push 0x800
lea edx, [esp + 0x4ec]
mov ecx, esi
call fcn.1003b940
add esp, 0xc
test al, al
je 0x1003c2de
lea eax, [esp + 0x4e0]
push 0x10097504
push eax
call fcn.1006c4e0
add esp, 8
test eax, eax
jne 0x1003c061
lea eax, [esp + 0x4e0]
push str.510R00
push eax
call fcn.1006c4e0
add esp, 8
test eax, eax
jne 0x1003c061
push 0x20
call fcn.100439fa
mov ecx, eax
lea edx, [esp + 0x64]
mov eax, dword [esp + 0x24]
add esp, 4
lea esi, [eax + edi*4]
mov dword [esi], ecx
mov dword [esp + 0x38], esi
nop dword [eax]
mov al, byte [edx]
lea edx, [edx + 1]
mov byte [ecx], al
lea ecx, [ecx + 1]
test al, al
jne 0x1003bf70
mov edi, dword [esi]
dec edi
mov al, byte [edi + 1]
lea edi, [edi + 1]
test al, al
jne 0x1003bf81
mov ax, word [0x1008fbb8]
lea edx, [esp + 0x4e0]
mov ecx, edx
mov word [edi], ax
mov dword [esp + 0x34], ecx
mov al, byte [edx]
inc edx
test al, al
jne 0x1003bfa1
mov edi, dword [esi]
sub edx, ecx
dec edi
nop dword [eax]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x1003bfb0
mov esi, dword [esp + 0x34]
lea eax, [esp + 0xe0]
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push 0x400
and ecx, 3
push 0
rep movsb byte es:[edi], byte [esi]
push eax
call fcn.1006d400
add esp, 0xc
mov dword [esp + 0x50], 0
xorps xmm0, xmm0
lea ecx, [esp + 0x40]
movaps xmmword [esp + 0x40], xmm0
call fcn.1003b3d0
mov eax, dword [esp + 0x38]
mov edi, dword [esp + 0x18]
push dword [eax]
push edi
push 0x97
push str.SerialHelper::GetComDevices
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0xfc]
push str._s_t__d__d___INFO____s:_d__find_aqulia_device_sn__d_____s__n
push eax
call fcn.10007cc0
lea ecx, [esp + 0x104]
add esp, 0x24
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003c041
sub ecx, edx
lea eax, [esp + 0xe0]
push ecx
push eax
call fcn.1003b520
add esp, 8
inc edi
jmp 0x1003c2d6
xor esi, esi
test edi, edi
jle 0x1003c094
nop word [eax + eax]
lea eax, [esp + 0x4e0]
push eax
mov eax, dword [esp + 0x24]
push dword [eax + esi*4]
call fcn.1006c4e0
add esp, 8
test eax, eax
jne 0x1003c136
inc esi
cmp esi, edi
jl 0x1003c070
lea eax, [esp + 0x4e0]
mov dword [esp + 0x98], 0
push eax
lea eax, [esp + 0x64]
mov word [esp + 0xa0], 0
push eax
push str._s__s
xorps xmm0, xmm0
lea eax, [esp + 0x8c]
push 0x1e
push eax
movaps xmmword [esp + 0x94], xmm0
movq qword [esp + 0xa4], xmm0
call fcn.1002ce60
lea esi, [esp + 0x94]
add esp, 0x14
lea ecx, [esi + 1]
nop dword [eax + eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x1003c0f0
sub esi, ecx
lea eax, [esi + 1]
push eax
call fcn.100439fa
add esp, 4
mov edi, eax
lea eax, [esi + 1]
push eax
push 0
push edi
call fcn.1006d400
add esp, 0xc
test esi, esi
je 0x1003c208
test edi, edi
jne 0x1003c1d1
call fcn.1003fcdf
mov dword [eax], 0x16
jmp 0x1003c203
push 0x400
lea eax, [esp + 0xe4]
push 0
push eax
call fcn.1006d400
add esp, 0xc
mov dword [esp + 0x50], 0
xorps xmm0, xmm0
lea ecx, [esp + 0x40]
movaps xmmword [esp + 0x40], xmm0
call fcn.1003b3d0
lea eax, [esp + 0x4e0]
push eax
mov eax, dword [esp + 0x24]
push dword [eax + esi*4]
push esi
push 0x43
push str.AddNewDevice
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x100]
push str._s_t__d__d___INFO____s:_d__devicesList__d___s___newDevice___s___same_dev_no_need_add_to_list__n
push eax
call fcn.10007cc0
lea ecx, [esp + 0x108]
add esp, 0x28
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003c1b0
sub ecx, edx
lea eax, [esp + 0xe0]
push ecx
push eax
call fcn.1003b520
add esp, 8
mov edi, 0x1008d169
jmp 0x1003c20c
lea eax, [esi + 1]
cmp eax, esi
jb 0x1003c1ec
push esi
lea eax, [esp + 0x84]
push eax
push edi
call fcn.1006ce80
add esp, 0xc
jmp 0x1003c208
push eax
push 0
push edi
call fcn.1006d400
add esp, 0xc
call fcn.1003fcdf
mov dword [eax], 0x22
call fcn.10043c8a
mov byte [edi + esi], 0
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003c211
sub ecx, edx
cmp ecx, 0xa
jae 0x1003c236
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
jmp 0x1003bb90
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x20]
push 0x400
push 0
mov dword [esi + eax*4], edi
lea eax, [esp + 0xe8]
push eax
call fcn.1006d400
add esp, 0xc
mov dword [esp + 0x50], 0
xorps xmm0, xmm0
lea ecx, [esp + 0x40]
movaps xmmword [esp + 0x40], xmm0
call fcn.1003b3d0
mov edi, dword [esp + 0x18]
push dword [esi + edi*4]
push edi
push 0x8e
push str.SerialHelper::GetComDevices
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0xfc]
push str._s_t__d__d___INFO____s:_d__find_falcon_device_sn__d_____s__n
push eax
call fcn.10007cc0
lea ecx, [esp + 0x104]
add esp, 0x24
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003c2b5
sub ecx, edx
lea eax, [esp + 0xe0]
push ecx
push eax
call fcn.1003b520
mov eax, dword [esp + 0x44]
add esp, 8
inc edi
inc dword [eax]
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x18], edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [esp + 0x14]
jmp 0x1003bb90
push dword [esp + 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0xeec]
mov eax, edi
pop edi
pop esi
xor ecx, esp
call fcn.100699c7
mov esp, ebp
pop ebp
ret 8