Function at 0x41aad0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa70
mov eax, dword [0x43e268]
xor eax, ebp
mov dword [ebp - 8], eax
mov ax, word [0x43b2d4]
mov word [ebp - 0x21c], ax
mov cx, word [0x43b2d8]
mov word [ebp - 0x10c], cx
mov dword [ebp - 0x614], 0xffffffff
mov dword [ebp - 0xa6c], 0xffffffff
push 0x104
lea edx, [ebp - 0x218]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x218]
push ecx
call fcn.00409c64
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x41ab9c
push 0x43b2dc
mov edx, dword [ebp - 4]
push edx
call fcn.00401040
add esp, 8
test eax, eax
je 0x41ab5e
jmp 0x41ab9c
push 0x64
push 0
lea eax, [ebp - 0xa68]
push eax
call fcn.00409ed0
add esp, 0xc
push 0x64
mov ecx, dword [ebp - 4]
push ecx
lea edx, [ebp - 0xa68]
push edx
call fcn.00406dd0
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
push 0
call fcn.00409c64
add esp, 8
mov dword [ebp - 4], eax
jmp 0x41ab3f
push 0x3e8
push 0
lea ecx, [ebp - 0x610]
push ecx
call fcn.00409ed0
add esp, 0xc
push 0x3e8
push 0
lea edx, [ebp - 0xa00]
push edx
call fcn.00409ed0
add esp, 0xc
lea eax, [ebp - 0xa68]
push eax
push 0x43b2e8
push 0x4403f8
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea ecx, [ebp - 0xa68]
push ecx
push str.SoftwareRtWLan_s
lea edx, [ebp - 0x108]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x108]
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov dword [ebp - 0x614], eax
cmp dword [ebp - 0x614], 0
jne 0x41ac76
mov dword [ebp - 0x224], 0x3e8
mov dword [ebp - 0x220], 1
lea edx, [ebp - 0x224]
push edx
lea eax, [ebp - 0x610]
push eax
lea ecx, [ebp - 0x220]
push ecx
push 0
push str.DeviceID
mov edx, dword [ebp - 0x110]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0xa6c], eax
mov eax, dword [ebp - 0x110]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
movzx ecx, byte [ebp - 0x610]
test ecx, ecx
je 0x41aca7
movzx edx, byte [ebp - 0x60f]
test edx, edx
je 0x41aca7
push 0x3e8
lea eax, [ebp - 0x610]
push eax
lea ecx, [ebp - 0xa00]
push ecx
call fcn.00406dd0
add esp, 0xc
mov dword [ebp - 0xa70], 0
jmp 0x41acc2
mov edx, dword [ebp - 0xa70]
add edx, 1
mov dword [ebp - 0xa70], edx
cmp dword [ebp - 0xa70], 0x1e
jge 0x41ace8
push 0x1e
push 0
mov eax, dword [ebp - 0xa70]
imul eax, eax, 0x1e
add eax, 0x43ff68
push eax
call fcn.00409ed0
add esp, 0xc
jmp 0x41acb3
mov dword [0x461dbc], 0
lea ecx, [ebp - 0x10c]
push ecx
lea edx, [ebp - 0xa00]
push edx
call fcn.00409c64
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x41ad6f
push 0x11
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [0x461dbc]
imul ecx, ecx, 0x1e
add ecx, 0x43ff68
push ecx
call fcn.00406dd0
add esp, 0xc
mov edx, dword [0x461dbc]
imul edx, edx, 0x1e
add edx, 0x43ff68
push edx
push str.SupportID_:__s_n
call fcn.00409d25
add esp, 8
mov eax, dword [0x461dbc]
add eax, 1
mov dword [0x461dbc], eax
lea ecx, [ebp - 0x10c]
push ecx
push 0
call fcn.00409c64
add esp, 8
mov dword [ebp - 4], eax
jmp 0x41ad0b
mov edx, dword [0x461dbc]
push edx
push str.supportIDCount_:__d_n
call fcn.00409d25
add esp, 8
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00406dc0
mov esp, ebp
pop ebp
ret