Function at 0x42ce50
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4557c3
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x46d070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x48], ebx
mov dword [ebp - 4], ebx
test ecx, ecx
je 0x42d116
cmp dword [eax + 0x14], 8
jb 0x42ce9f
mov eax, dword [eax]
lea edx, [ebp - 0x48]
push edx
push 0x20019
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42d108
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], eax
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 2
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x30]
mov dword [ebp - 0x4c], 4
push eax
push 0
push 0
push str.SEND_INFO_AGREE
push dword [ebp - 0x48]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x42d0d7
mov dword [ebp - 0x74], eax
push 0x38
mov byte [ebp - 4], 3
call fcn.004359c7
mov edi, eax
add esp, 4
lea esi, [edi + 4]
mov dword [ebp - 0x34], edi
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
cmp dword [esi + 0x14], 8
jb 0x42cf32
mov eax, dword [esi]
jmp 0x42cf34
mov eax, esi
xor ecx, ecx
lea ebx, [edi + 0x20]
mov word [eax], cx
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], ecx
cmp dword [ebx + 0x14], 8
jb 0x42cf50
mov eax, dword [ebx]
jmp 0x42cf52
mov eax, ebx
xor ecx, ecx
mov word [eax], cx
mov byte [edi], cl
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], ecx
jb 0x42cf66
mov eax, dword [esi]
jmp 0x42cf68
mov eax, esi
xor ecx, ecx
mov word [eax], cx
mov dword [edi + 0x1c], 0xffffffff
cmp dword [ebx + 0x14], 8
mov dword [ebx + 0x10], ecx
jb 0x42cf84
mov eax, dword [ebx]
mov word [eax], cx
jmp 0x42cf89
xor eax, eax
mov word [ebx], ax
mov eax, dword [ebp - 0x30]
lea ecx, [ebp - 0x2c]
push ecx
push 0
push 0
push 0
mov dword [edi + 0x1c], eax
mov eax, dword [ebp - 0x48]
push str.DATE
push eax
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x2c], 0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x42d076
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x42d023
push eax
lea ecx, [ebp - 0x40]
call fcn.00433370
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x40]
sub eax, ecx
mov dword [ebp - 0x34], eax
jne 0x42cfe4
push str.invalid_vector_T__subscript
call fcn.00433cd3
lea eax, [ebp - 0x2c]
push eax
push ecx
push 0
push 0
push str.DATE
push dword [ebp - 0x50]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x42d076
cmp dword [ebp - 0x34], eax
ja 0x42d00e
push str.invalid_vector_T__subscript
call fcn.00433cd3
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x40]
add eax, 0xfffffffe
add eax, ecx
push eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.004258d0
xor eax, eax
mov dword [ebp - 0x58], 7
push 0xffffffffffffffff
push eax
mov word [ebp - 0x6c], ax
lea ecx, [ebp - 0x6c]
lea eax, [ebp - 0x28]
mov dword [ebp - 0x5c], 0
push eax
call fcn.0040cc40
lea eax, [ebp - 0x6c]
mov byte [ebp - 4], 4
cmp ebx, eax
je 0x42d05d
push 0xffffffffffffffff
push 0
push eax
mov ecx, ebx
call fcn.0040cc40
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x58]
cmp eax, 8
jb 0x42d076
inc eax
lea ecx, [ebp - 0x6c]
push eax
push dword [ebp - 0x6c]
call fcn.0040d960
cmp dword [edi + 0x1c], 0xffffffff
je 0x42d0c3
push dword [ebp - 0x54]
lea ecx, [ebp - 0x8c]
call fcn.0041e0c0
lea eax, [ebp - 0x8c]
mov byte [ebp - 4], 5
cmp esi, eax
je 0x42d0a4
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.0040cc40
mov eax, dword [ebp - 0x78]
cmp eax, 8
jb 0x42d0bf
inc eax
lea ecx, [ebp - 0x8c]
push eax
push dword [ebp - 0x8c]
call fcn.0040d960
mov ebx, edi
jmp 0x42d0d7
mov ecx, edi
call fcn.0042ddd0
push 0x38
push edi
call fcn.004359fa
add esp, 8
xor ebx, ebx
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x42d0ec
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.0040d960
xor eax, eax
mov dword [ebp - 0x14], 7
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.0040fb20
mov ecx, dword [ebp - 0x48]
test ecx, ecx
je 0x42d116
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043598e
mov esp, ebp
pop ebp
ret 8