Function at 0x1005ba10
Capabilities:
Print debug messages
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10069754
mov eax, dword fs:[0]
push eax
mov eax, 0x1a2a0
call fcn.1001a2d0
mov eax, dword [0x10086ba0]
xor eax, ebp
mov dword [ebp - 0x20], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x14]
push eax
push str.SoftwareRtWlan
push reloc.RtlIhvOid.dll_Ordinal_2
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x1005bad3
push 0xa
push 0
lea ecx, [ebp - 0x1a294]
push ecx
call fcn.100139b0
add esp, 0xc
mov dword [ebp - 0x1a288], 1
mov dword [ebp - 0x1a298], 0xa
lea edx, [ebp - 0x1a298]
push edx
lea eax, [ebp - 0x1a294]
push eax
lea ecx, [ebp - 0x1a288]
push ecx
push 0
push str.Debug
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
movsx ecx, byte [ebp - 0x1a294]
test ecx, ecx
je 0x1005baca
mov byte [0x1008af93], 1
jmp 0x1005bad1
mov byte [0x1008af93], 0
jmp 0x1005bada
mov byte [0x1008af93], 0
movzx edx, byte [0x100a5347]
test edx, edx
je 0x1005bb02
movzx eax, byte [0x1008af93]
test eax, eax
je 0x1005bafb
push str.RT_Initialize_Priv_Fail___DoInitialized_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor al, al
jmp 0x1005bcd6
mov byte [0x100a5347], 1
mov dword [ebp - 0x1c], 0
mov cl, byte [ebp + 8]
mov byte [0x10087ffb], cl
call fcn.10047520
push 0
lea ecx, [ebp - 0x1a284]
call fcn.10065460
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1a284]
call fcn.10066a40
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 1
jne 0x1005bc7a
lea ecx, [ebp - 0x1a29c]
call fcn.10001af0
mov byte [ebp - 4], 1
movzx edx, byte [0x1008af93]
test edx, edx
je 0x1005bb8f
push 0x1008b0c8
push str.init___s__n
lea eax, [ebp - 0x1a29c]
push eax
call fcn.100025d0
add esp, 0xc
lea ecx, [ebp - 0x1a29c]
call fcn.10001ae0
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x1008b0c8
call sub.RtlIhvOid.dll_Ordinal_1
add esp, 4
mov dword [0x100a5348], eax
cmp dword [0x100a5348], 0
je 0x1005bc6b
mov byte [0x1008b108], 0
call fcn.10068170
lea ecx, [ebp - 0x1a284]
call fcn.10003d30
mov dword [ebp - 0x1a2a0], eax
mov ecx, dword [ebp - 0x1a2a0]
push ecx
call fcn.10004585
add esp, 4
mov byte [0x100a5347], 0
push 0x1008b758
call fcn.100533b0
add esp, 4
mov dword [0x100a5340], eax
mov byte [0x100a534e], 0
movzx edx, byte [0x1008af93]
test edx, edx
je 0x1005bc3b
push 0x1008b758
push str.init_Chip__s_n
lea eax, [ebp - 0x1a29c]
push eax
call fcn.100025d0
add esp, 0xc
lea ecx, [ebp - 0x1a29c]
call fcn.10001ae0
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push str.RT_Initialize_Priv_OK_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov byte [ebp - 0x1a2a1], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1a29c]
call fcn.10001850
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1a284]
call fcn.10001b40
mov al, byte [ebp - 0x1a2a1]
jmp 0x1005bcd6
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1a29c]
call fcn.10001850
lea ecx, [ebp - 0x1a284]
call fcn.10003d30
mov dword [ebp - 0x1a2a8], eax
mov ecx, dword [ebp - 0x1a2a8]
push ecx
call fcn.10004585
add esp, 4
mov byte [0x100a5347], 0
movzx edx, byte [0x1008af93]
test edx, edx
je 0x1005bcb7
push str.RT_Initialize_Priv_Fail_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov byte [ebp - 0x1a2a9], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1a284]
call fcn.10001b40
mov al, byte [ebp - 0x1a2a9]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.1001362b
mov esp, ebp
pop ebp
ret