Function at 0x6dd7e8d0
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x6de41080]
mov edx, dword [ebp + 0xc]
push ebx
mov ebx, ecx
push esi
mov esi, dword [ebp + 8]
push edi
lea edi, [ebx + 0x40]
mov ecx, 0x75
mov dword [ebp - 0x118], esi
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 0x10]
mov dword [ebx + 0x230], edx
push 4
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x18]
lea edx, [ebp - 0x110]
push edx
mov dword [ebp - 0x114], eax
mov eax, dword [ebp + 0x20]
mov dword [ebx + 0x214], ecx
mov ecx, dword [ebp + 0x1c]
push 0x6dd39970
push 4
mov dword [ebp - 0x11c], eax
mov dword [ebp - 0x110], 0
mov dword [ebx + 0x234], ecx
mov dword [ebx + 0x238], eax
call fcn.6de19c30
add esp, 0x10
call fcn.6dd41690
test eax, eax
je 0x6dd7e967
mov eax, dword [ebp - 0x110]
test eax, eax
jne 0x6dd7e967
xor eax, eax
jmp 0x6dd7e96c
mov eax, 0x100
or eax, dword [ebp + 0x14]
mov dword [ebx + 0x218], eax
push 4
lea eax, [ebp - 0x110]
push eax
push 0x6dd39964
push 4
mov dword [ebp - 0x110], 0
call fcn.6de19c30
mov ecx, dword [ebp - 0x110]
mov eax, dword [ebx + 0x218]
add esp, 0x10
test ecx, ecx
mov dword [ebx + 0x21c], eax
je 0x6dd7e9b6
or eax, 4
mov dword [ebx + 0x218], eax
mov ecx, dword [ebp - 0x118]
push ecx
call fcn.6dd47460
mov eax, dword [ebp - 0x11c]
mov edx, dword [eax]
add esp, 4
push eax
call dword [edx + 4]
test byte [ebx + 0x218], 4
mov edi, 1
je 0x6dd7e9ec
lea eax, [ebx + 4]
push eax
mov dword [eax + 0x18], edi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push 0x103
lea ecx, [ebp - 0x108]
push ecx
push eax
mov byte [ebp - 0x108], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
cmp eax, 4
jbe 0x6dd7ea5c
cmp eax, 0x104
ja 0x6dd7ea5c
mov cl, byte [ebp + eax - 0x10c]
cmp cl, 0x2e
lea eax, [ebp + eax - 0x108]
jne 0x6dd7ea5c
mov cl, byte [eax - 3]
cmp cl, 0x73
je 0x6dd7ea3a
cmp cl, 0x53
jne 0x6dd7ea5c
mov cl, byte [eax - 2]
cmp cl, 0x63
je 0x6dd7ea47
cmp cl, 0x43
jne 0x6dd7ea5c
mov al, byte [eax - 1]
cmp al, 0x72
je 0x6dd7ea52
cmp al, 0x52
jne 0x6dd7ea5c
or dword [ebx + 0x218], 0x10000000
mov ecx, dword [ebx + 0x3c]
push ebx
call fcn.6dd7f720
test eax, eax
mov dword [ebp - 0x10c], eax
jne 0x6dd7ec71
mov ecx, ebx
call fcn.6dd7e320
mov edx, dword [ebx + 0x118]
mov ecx, dword [ebx + 0x11c]
mov dword [ebx + 0x28], eax
mov eax, dword [ebx + 0x114]
mov dword [ebx + 0x240], edx
mov edx, dword [ebx + 0x124]
push 0x7b4
mov dword [ebx + 0x23c], eax
mov dword [ebx + 0x248], ecx
mov dword [ebx + 0x244], edx
call fcn.6dd45c10
add esp, 4
test eax, eax
je 0x6dd7eac9
push edi
push ebx
mov ecx, eax
call fcn.6dd85000
jmp 0x6dd7eacb
xor eax, eax
test eax, eax
mov dword [ebx + 0x224], eax
je 0x6dd7ec6c
cmp dword [ebx + 0x28], 0xa
jl 0x6dd7eb1c
mov ecx, ebx
call fcn.6dd7e1e0
test eax, eax
mov dword [ebp - 0x10c], eax
jge 0x6dd7eb1c
mov ebx, dword [ebx + 0x224]
test ebx, ebx
je 0x6dd7ec71
mov eax, dword [ebx]
push edi
mov ecx, ebx
call dword [eax]
mov eax, dword [ebp - 0x10c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
call fcn.6dd58dd9
mov esp, ebp
pop ebp
ret 0x1c
mov esi, dword [ebp - 0x114]
lea ecx, [ebp - 0x10c]
push ecx
mov ecx, dword [ebx + 0x224]
push esi
call fcn.6dd85db0
mov eax, dword [ebp - 0x10c]
test eax, eax
jl 0x6dd7ec71
mov eax, dword [esi + 0x20]
test eax, eax
je 0x6dd7eba8
mov edx, dword [esi + 0x24]
mov eax, dword [esi + 8]
push edx
push eax
mov ecx, ebx
call fcn.6dd69630
test eax, eax
mov dword [ebp - 0x10c], eax
jl 0x6dd7ec71
mov eax, dword [ebx + 0x224]
mov ecx, dword [eax + 0x38]
mov eax, dword [eax + 0x34]
lea edx, [ebp - 0x114]
push edx
mov edx, dword [esi + 0x10]
push edi
push edx
mov edx, dword [esi + 0x24]
push edx
push ecx
push eax
push ebx
call fcn.6dd7c6f0
add esp, 0x1c
test eax, eax
mov dword [ebp - 0x10c], eax
jl 0x6dd7ec71
mov eax, dword [ebp - 0x114]
mov dword [ebx + 0x22c], eax
mov ecx, dword [ebx + 0x224]
mov edx, dword [ecx + 0x2c]
mov eax, dword [edx]
test eax, eax
je 0x6dd7ebbc
add eax, 0x1c
jmp 0x6dd7ebbe
xor eax, eax
mov ecx, dword [ebx + 0x22c]
push ecx
push eax
mov ecx, ebx
call fcn.6dd7dc40
mov edx, dword [ebx + 0x224]
mov ecx, dword [edx + 0x50]
xor eax, eax
test ecx, ecx
sete al
lea ecx, [ebp - 0x120]
push ecx
push 0x6dd31614
push 0x80000002
mov dword [ebx + 0x30], eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x6dd7ec55
lea edx, [ebp - 0x114]
push edx
mov edx, dword [ebp - 0x120]
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x11c]
push ecx
push 0
push 0x6dd39950
mov esi, 4
push edx
mov dword [ebp - 0x114], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x6dd7ec48
cmp dword [ebp - 0x11c], esi
jne 0x6dd7ec48
mov eax, dword [ebp - 0x118]
test eax, eax
je 0x6dd7ec48
mov dword [ebx + 0x34], edi
mov eax, dword [ebp - 0x120]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x10c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
call fcn.6dd58dd9
mov esp, ebp
pop ebp
ret 0x1c
mov eax, 0x8007000e
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.6dd58dd9
mov esp, ebp
pop ebp
ret 0x1c