Function at 0x41cd10
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x83c
mov eax, dword [0x46614c]
xor eax, ebp
mov dword [ebp - 0x420], eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x83c], 0
mov eax, dword [str.SYSTEMMountedDevices]
mov dword [ebp - 0x620], eax
mov ecx, dword [0x4632a8]
mov dword [ebp - 0x61c], ecx
mov edx, dword [0x4632ac]
mov dword [ebp - 0x618], edx
mov eax, dword [0x4632b0]
mov dword [ebp - 0x614], eax
mov ecx, dword [0x4632b4]
mov dword [ebp - 0x610], ecx
mov dx, word [0x4632b8]
mov word [ebp - 0x60c], dx
push 0x1ea
push 0
lea eax, [ebp - 0x60a]
push eax
call fcn.00448bd0
add esp, 0xc
mov ecx, dword [str.DosDevicesc:]
mov dword [ebp - 0x838], ecx
mov edx, dword [0x4632d0]
mov dword [ebp - 0x834], edx
mov eax, dword [0x4632d4]
mov dword [ebp - 0x830], eax
mov cx, word [0x4632d8]
mov word [ebp - 0x82c], cx
mov dl, byte [0x4632da]
mov byte [ebp - 0x82a], dl
push 0xf1
push 0
lea eax, [ebp - 0x829]
push eax
call fcn.00448bd0
add esp, 0xc
mov dword [ebp - 0x6b4], 0
mov dword [ebp - 0x418], 3
mov dword [ebp - 0x414], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x630], 0
mov dword [ebp - 0x41c], 0
mov dword [ebp - 0x624], 0
mov dword [ebp - 8], 0
mov byte [ebp - 0x738], 0
push 0x7f
push 0
lea ecx, [ebp - 0x737]
push ecx
call fcn.00448bd0
add esp, 0xc
mov dl, byte [ebp + 8]
mov byte [ebp - 0x82c], dl
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
lea ecx, [ebp - 0x620]
push ecx
push reloc.WSOCK32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x628], eax
cmp dword [ebp - 0x628], 0
je 0x41ce88
xor eax, eax
jmp 0x41d294
lea edx, [ebp - 0x6b4]
push edx
mov eax, dword [ebp - 0x414]
push eax
lea ecx, [ebp - 0x418]
push ecx
push 0
lea edx, [ebp - 0x838]
push edx
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x628], eax
cmp dword [ebp - 0x628], 0
je 0x41ced0
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x41d294
mov edx, dword [ebp - 0x6b4]
push edx
call fcn.00448db8
add esp, 4
mov dword [ebp - 0x414], eax
mov eax, dword [ebp - 0x6b4]
push eax
call fcn.00448db8
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x6b4]
push ecx
push 0
mov edx, dword [ebp - 4]
push edx
call fcn.00448bd0
add esp, 0xc
lea eax, [ebp - 0x6b4]
push eax
mov ecx, dword [ebp - 0x414]
push ecx
lea edx, [ebp - 0x418]
push edx
push 0
lea eax, [ebp - 0x838]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x628], eax
cmp dword [ebp - 0x628], 0
je 0x41cf6f
mov edx, dword [ebp - 0x414]
push edx
call fcn.00448cdb
add esp, 4
mov eax, dword [ebp - 4]
push eax
call fcn.00448cdb
add esp, 4
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x41d294
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], 0
jmp 0x41cf8b
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp - 0x6b4]
jge 0x41cfcd
mov edx, dword [ebp - 0x414]
add edx, dword [ebp - 0x10]
movzx eax, byte [edx]
test eax, eax
je 0x41cfcb
mov ecx, dword [ebp - 4]
add ecx, dword [ebp - 0x83c]
mov edx, dword [ebp - 0x414]
add edx, dword [ebp - 0x10]
mov al, byte [edx]
mov byte [ecx], al
mov ecx, dword [ebp - 0x83c]
add ecx, 1
mov dword [ebp - 0x83c], ecx
jmp 0x41cf82
mov edx, dword [ebp - 0x414]
push edx
call fcn.00448cdb
add esp, 4
mov eax, dword [ebp - 4]
push eax
call fcn.00448c50
add esp, 4
add eax, dword [ebp - 4]
mov dword [ebp - 0x41c], eax
mov ecx, dword [ebp - 0x41c]
cmp ecx, dword [ebp - 4]
jbe 0x41d044
mov edx, dword [ebp - 0x41c]
sub edx, 1
mov dword [ebp - 0x41c], edx
mov eax, dword [ebp - 0x41c]
movsx ecx, byte [eax]
cmp ecx, 0x23
jne 0x41d042
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x41c]
mov byte [eax], 0
cmp dword [ebp - 8], 2
jne 0x41d042
mov ecx, dword [ebp - 0x41c]
add ecx, 1
mov dword [ebp - 0x630], ecx
jmp 0x41d044
jmp 0x41cff1
cmp dword [ebp - 0x630], 0
jne 0x41d054
xor eax, eax
jmp 0x41d294
mov edx, dword [ebp - 0x630]
mov dword [ebp - 0x41c], edx
mov dword [ebp - 0x10], 0
jmp 0x41d072
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x100
jge 0x41d0ae
push 0x100
call fcn.00448db8
add esp, 4
mov ecx, dword [ebp - 0x10]
mov dword [ebp + ecx*4 - 0x410], eax
push 0x100
push 0
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + edx*4 - 0x410]
push eax
call fcn.00448bd0
add esp, 0xc
jmp 0x41d069
lea ecx, [ebp - 0x410]
push ecx
push 0x45eb40
call fcn.0041d2b0
add esp, 8
mov dword [ebp - 0x62c], eax
mov dword [ebp - 0x10], 0
jmp 0x41d0da
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x62c]
jge 0x41d22e
mov ecx, dword [ebp - 0x41c]
push ecx
call fcn.0041c610
add esp, 4
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + edx*4 - 0x410]
push eax
call fcn.0041c610
add esp, 4
mov ecx, dword [ebp - 0x41c]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + edx*4 - 0x410]
push eax
call fcn.0041d470
add esp, 8
test eax, eax
je 0x41d229
mov dword [ebp - 0x624], 1
mov ecx, dword [ebp - 0x41c]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.0044a980
add esp, 8
push 0x4632dc
mov eax, dword [ebp + 0xc]
push eax
call fcn.0041d470
add esp, 8
mov dword [ebp - 0x630], eax
cmp dword [ebp - 0x630], 0
je 0x41d173
mov ecx, dword [ebp - 0x630]
mov byte [ecx], 0
mov edx, dword [ebp + 0xc]
push edx
call fcn.0041c9d0
add esp, 4
mov dword [ebp - 0x624], eax
cmp dword [ebp - 0x624], 1
jne 0x41d227
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x6b0]
push ecx
call fcn.0044a980
add esp, 8
lea edx, [ebp - 0x6b0]
push edx
call fcn.00448c50
add esp, 4
movsx eax, byte [ebp + eax - 0x6b2]
cmp eax, 0x26
jne 0x41d1d8
lea ecx, [ebp - 0x6b0]
push ecx
call fcn.00448c50
add esp, 4
mov byte [ebp + eax - 0x6b2], 0
lea edx, [ebp - 0x738]
push edx
lea eax, [ebp - 0x6b0]
push eax
call fcn.0041c670
add esp, 8
mov dword [ebp - 0x624], eax
cmp dword [ebp - 0x624], 1
jne 0x41d227
push 8
lea ecx, [ebp - 0x738]
push ecx
mov edx, dword [ebp + 0x10]
push edx
call fcn.00448ea0
add esp, 0xc
push 8
lea eax, [ebp - 0x72f]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
call fcn.00448ea0
add esp, 0xc
jmp 0x41d22e
jmp 0x41d0d1
mov edx, dword [ebp - 4]
push edx
call fcn.00448cdb
add esp, 4
mov dword [ebp - 0x10], 0
jmp 0x41d24c
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x100
jge 0x41d26a
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + ecx*4 - 0x410]
push edx
call fcn.00448cdb
add esp, 4
jmp 0x41d243
mov eax, dword [ebp + 0xc]
push eax
call fcn.0041c610
add esp, 4
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.0041c610
add esp, 4
mov edx, dword [ebp + 0x14]
push edx
call fcn.0041c610
add esp, 4
mov eax, dword [ebp - 0x624]
mov ecx, dword [ebp - 0x420]
xor ecx, ebp
call fcn.0044892a
mov esp, ebp
pop ebp
ret