Function at 0x41d230
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x5c]
sub esp, 0x774
mov eax, dword [0x4b06f0]
xor eax, ebp
mov dword [ebp + 0x58], eax
mov eax, dword [ebp + 0x64]
mov ecx, dword [ebp + 0x70]
mov edx, dword [ebp + 0x74]
push ebx
mov ebx, dword [ebp + 0x6c]
mov dword [ebp - 0x6f4], eax
mov eax, dword [ebp + 0x68]
mov dword [ebp - 0x6fc], ecx
mov ecx, dword [ebp + 0x78]
push esi
push edi
mov dword [ebp - 0x710], eax
mov dword [ebp - 0x6f8], edx
mov dword [ebp - 0x718], ecx
mov dword [ebp - 0x6ec], 0
test eax, eax
je 0x41d686
test ebx, ebx
je 0x41d686
push eax
lea edx, [ebp + 0x30]
push 0x27
push edx
call fcn.004703fd
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
add esp, 0xc
lea eax, [ebp + 0x30]
push eax
call edi
mov esi, eax
inc esi
cmp esi, 0x3fffffff
jle 0x41d2bc
xor eax, eax
jmp 0x41d2d3
lea eax, [esi + esi]
call fcn.00470be0
mov eax, esp
push 0
push esi
lea ecx, [ebp + 0x30]
push ecx
push eax
call fcn.00431390
push 0
push eax
push closesocket
push str.GetConfig
call fcn.0041e080
add esp, 0x10
lea edx, [ebp + 0x30]
push edx
call edi
mov esi, eax
inc esi
cmp esi, 0x3fffffff
jle 0x41d2fd
xor eax, eax
jmp 0x41d314
lea eax, [esi + esi]
call fcn.00470be0
mov eax, esp
push 0
push esi
lea ecx, [ebp + 0x30]
push ecx
push eax
call fcn.00431390
xor ecx, ecx
jmp 0x41d320
movzx edx, word [ecx + str.SOFTWAREClassesCLSID_]
mov word [ebp + ecx - 0x250], dx
add ecx, 2
test dx, dx
jne 0x41d320
mov edx, eax
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41d340
sub eax, edx
lea edi, [ebp - 0x250]
add edi, 0xfffffffe
mov esi, edx
lea edx, [edi + 2]
jmp 0x41d360
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x41d360
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [ebp - 0x714]
rep movsb byte es:[edi], byte [esi]
push eax
lea ecx, [ebp - 0x708]
push ecx
push edx
call fcn.0041e190
add esp, 0xc
test eax, eax
jne 0x41d64d
push 0x140
call fcn.00424f70
mov dword [ebp - 0x700], eax
add eax, 8
add esp, 4
cmp eax, 0x400
ja 0x41d3d4
call fcn.00470be0
mov eax, esp
test eax, eax
je 0x41d3ca
mov dword [eax], 0xcccc
add eax, 8
mov edi, eax
mov dword [ebp - 0x6f0], edi
jmp 0x41d3f2
push eax
call fcn.00470748
add esp, 4
test eax, eax
je 0x41d3ea
mov dword [eax], 0xdddd
add eax, 8
mov dword [ebp - 0x6f0], eax
mov edi, eax
test edi, edi
je 0x41d67f
mov eax, dword [ebp - 0x700]
lea edx, [ebp - 0x700]
push edx
push eax
push 0
push edi
call fcn.0046fe20
mov ecx, dword [ebp - 0x708]
add esp, 0xc
push eax
push 0
push 0
push 0x492585
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
test esi, esi
jne 0x41d622
cmp dword [ebp - 0x700], eax
jbe 0x41d622
push 0x140
push ebx
push edi
call fcn.00425520
add esp, 0xc
mov dword [ebp - 0x6ec], eax
test eax, eax
jbe 0x41d678
lea ecx, [ebp - 0x6e8]
call fcn.0041a800
mov edx, dword [ebp + 0x7c]
mov ecx, dword [ebp - 0x6f4]
push edx
push esi
push esi
lea eax, [ebp - 0x6e8]
push eax
push ecx
call fcn.0041adb0
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x41d4ac
mov edx, dword [ebp + 0x7c]
mov ecx, dword [ebp - 0x6f8]
push edx
mov edx, dword [ebp - 0x6fc]
lea eax, [ebp - 0x6e8]
push eax
push ecx
push edx
push ebx
call fcn.0041af70
add esp, 0x14
cmp dword [ebp - 0x714], 0x80000001
jne 0x41d622
mov eax, dword [ebp + 0x7c]
push eax
mov eax, dword [ebp - 0x6f4]
lea ecx, [ebp - 0x70c]
push ecx
push 0x80
lea edx, [ebp - 0x50]
push edx
push eax
call fcn.0041c4a0
mov esi, eax
add esp, 0x14
mov dword [ebp - 0x704], esi
cmp esi, 2
jne 0x41d4f4
xor esi, esi
mov dword [ebp - 0x704], esi
cmp dword [ebp - 0x70c], 0
jbe 0x41d622
lea ecx, [ebp - 0x50]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x41d517
xor eax, eax
jmp 0x41d530
lea edi, [eax + eax]
mov eax, edi
call fcn.00470be0
mov eax, esp
push 0
push edi
lea edx, [ebp - 0x50]
push edx
push eax
call fcn.0045c170
push eax
lea edi, [ebx + 0xc0]
push edi
call fcn.00470f94
add esp, 8
test eax, eax
je 0x41d61c
xor eax, eax
xor esi, esi
mov dword [ebx + 0x14], esi
mov dword [ebx + 0xbc], esi
mov dword [ebx + 0xa0], eax
mov dword [ebx + 0xa4], eax
mov dword [ebx + 0xa8], eax
mov dword [ebx + 0xac], eax
mov dword [ebx + 0xb0], eax
mov dword [ebx + 0xb4], eax
mov word [ebx + 0xb8], ax
push 0x80
mov byte [ebx + 0xba], al
lea eax, [ebx + 0x20]
push esi
push eax
call fcn.0046fe20
add esp, 0xc
lea ecx, [ebp - 0x50]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x41d5ae
xor eax, eax
jmp 0x41d5c9
lea esi, [eax + eax]
mov eax, esi
call fcn.00470be0
mov eax, esp
push 0
push esi
lea edx, [ebp - 0x50]
push edx
push eax
call fcn.0045c170
xor esi, esi
mov edx, edi
jmp 0x41d5d0
mov cl, byte [eax]
mov byte [edx], cl
inc eax
inc edx
test cl, cl
jne 0x41d5d0
mov eax, dword [ebp - 0x6fc]
mov dword [ebx + 0x134], esi
cmp eax, esi
je 0x41d5ec
mov dword [eax], esi
mov ecx, dword [ebp + 0x7c]
push ecx
mov ecx, dword [ebp - 0x6f8]
lea edx, [ebp - 0x704]
push edx
mov edx, dword [ebp - 0x710]
push ecx
push eax
mov eax, dword [ebp - 0x6f4]
push ebx
push edx
push eax
call fcn.0041cf90
mov esi, dword [ebp - 0x704]
add esp, 0x1c
mov edi, dword [ebp - 0x6f0]
cmp dword [edi - 8], 0xdddd
lea eax, [edi - 8]
jne 0x41d637
push eax
call fcn.0046f243
add esp, 4
mov ecx, dword [ebp - 0x708]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x6ec], 0
jne 0x41d68b
mov edx, dword [ebp + 0x7c]
mov eax, dword [ebp - 0x6f8]
mov ecx, dword [ebp - 0x6fc]
push edx
mov edx, dword [ebp - 0x6f4]
push eax
push ecx
push edx
push 0
push ebx
call fcn.0041b070
add esp, 0x18
mov esi, 2
jmp 0x41d68b
mov esi, 0xffffffed
jmp 0x41d622
mov esi, 8
jmp 0x41d637
mov esi, 0xfffffffa
mov eax, dword [ebp - 0x718]
test eax, eax
je 0x41d697
mov dword [eax], esi
mov eax, dword [ebp - 0x6ec]
lea esp, [ebp - 0x724]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x58]
xor ecx, ebp
call fcn.0046f33a
add ebp, 0x5c
mov esp, ebp
pop ebp
ret