Function at 0x4237f2
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
and dword [ebp - 4], 0
push ebx
push esi
push edi
mov edi, ecx
test edi, edi
je 0x423b7b
cmp eax, 0x10
jbe 0x423b7b
mov esi, dword [ebp + 8]
xor ecx, ecx
cmp byte [esi + 0x38], 1
mov dword [ebp - 0xc], 1
setne cl
dec ecx
and ecx, 0xffffffe0
add ecx, 0x40
movzx ecx, cx
add eax, edi
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], eax
movzx eax, word [edi + 2]
cmp eax, 0x10
jb 0x423b7b
movzx ecx, word [edi + 4]
cmp cx, ax
jae 0x423b7b
cmp word [edi + 6], ax
jae 0x423b7b
cmp word [edi + 8], ax
jae 0x423b7b
cmp word [edi + 0xa], ax
jae 0x423b7b
cmp word [edi + 0xc], ax
jae 0x423b7b
cmp word [edi + 0xe], ax
jae 0x423b7b
movzx eax, word [edi]
mov ebx, eax
and eax, dword [ebp - 0x18]
shr ebx, 9
and ebx, 8
lea ecx, [edi + ecx]
cmp ax, word [ebp - 0x18]
jne 0x423af9
push dword [esi + 0xc]
mov edx, ebx
push dword [esi + 8]
call fcn.004234d7
test al, al
je 0x423af9
mov eax, dword [esi + 0x6c]
test eax, eax
je 0x4238d4
push ebx
push dword [esi + 0xc]
push dword [esi + 8]
push eax
push 4
call fcn.0042378a
test al, al
jne 0x423af9
movzx eax, word [edi + 8]
test ax, ax
je 0x4238f3
push dword [esi + 0x48]
lea ecx, [edi + eax]
push dword [esi + 0x44]
call fcn.0042350c
cmp al, 1
je 0x423af9
movzx eax, word [edi + 0xa]
test ax, ax
je 0x423912
push dword [esi + 0x48]
lea ecx, [edi + eax]
push dword [esi + 0x44]
call fcn.0042350c
test al, al
je 0x423af9
test byte [edi], 0x10
je 0x4239f9
cmp word [edi + 0xc], 0
jbe 0x4239f9
lea eax, [ebp - 0x118]
push eax
push 1
lea eax, [ebp - 0xb0]
call fcn.0040d48d
movzx ecx, word [edi + 0xc]
add ecx, edi
call fcn.0042bc16
push eax
push ecx
lea eax, [ebp - 0x68]
push eax
call fcn.0042c6c9
test al, al
je 0x423af9
lea ecx, [ebp - 0xb0]
xor ebx, ebx
mov al, byte [ebp + ebx - 0x68]
call fcn.0042b3ed
inc ebx
add ecx, 4
cmp ebx, 0x10
jb 0x423960
or dword [ebp - 0x14], 0xffffffff
push 0x10
pop ebx
xor eax, eax
mov word [ecx], ax
lea ecx, [ebp - 8]
push ecx
push 1
push 0
lea ecx, [ebp - 0x118]
mov eax, reloc.WS2_32.dll_accept
push ecx
push eax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 8], eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4239f9
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x58]
push eax
push 0
push 0
lea eax, [ebp - 0xb0]
push eax
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4239c9
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x14], ebx
jne 0x4239f9
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov ax, word [ebp - 0x52]
cmp ax, word [ebp - 0x42]
jne 0x4239f9
mov ax, word [ebp - 0x56]
cmp ax, word [ebp - 0x46]
je 0x423af9
push 0x1c
push 0
lea eax, [ebp - 0x38]
push eax
call fcn.0042b138
movzx eax, word [edi]
mov dword [ebp - 0x38], eax
movzx eax, word [edi + 4]
add eax, edi
push eax
or ebx, 0xffffffff
mov eax, ebx
call fcn.0042b4e3
mov dword [ebp - 0x34], eax
movzx eax, word [edi + 6]
test ax, ax
jne 0x423a2f
and dword [ebp - 0x30], 0
jmp 0x423a3c
add eax, edi
push eax
mov eax, ebx
call fcn.0042b4e3
mov dword [ebp - 0x30], eax
movzx eax, word [edi + 0xc]
test ax, ax
jne 0x423a4b
and dword [ebp - 0x2c], 0
jmp 0x423a58
add eax, edi
push eax
mov eax, ebx
call fcn.0042b4e3
mov dword [ebp - 0x2c], eax
movzx eax, word [edi + 0xe]
test ax, ax
jne 0x423a67
and dword [ebp - 0x28], 0
jmp 0x423a74
add eax, edi
push eax
mov eax, ebx
call fcn.0042b4e3
mov dword [ebp - 0x28], eax
movzx eax, word [edi]
test al, 3
jne 0x423b1a
test al, 0xc
je 0x423aee
push 0x40000000
push dword [ebp - 0xc]
lea ebx, [ebp - 0x20]
push dword [ebp + 0xc]
call fcn.00432c8d
mov ecx, eax
mov dword [ebp - 0x24], ecx
test ecx, ecx
je 0x423b55
mov edx, dword [ebp - 0x20]
call fcn.004336b8
test al, al
je 0x423b55
mov eax, dword [esi + 0x5c]
inc eax
imul eax, eax, 0x1c
lea ebx, [esi + 0x58]
mov esi, ebx
call fcn.0042b000
test al, al
je 0x423b55
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x5c]
mov eax, edx
imul eax, eax, 0x1c
add eax, dword [ebx]
inc edx
mov dword [ecx + 0x5c], edx
push 0x1c
lea ecx, [ebp - 0x38]
push ecx
push eax
call fcn.0042b0c1
inc dword [ebp - 4]
jmp 0x423af6
lea esi, [ebp - 0x38]
call fcn.00424d3d
mov esi, dword [ebp + 8]
movzx eax, word [edi + 2]
add edi, eax
lea eax, [edi + 0x10]
cmp eax, dword [ebp - 0x10]
ja 0x423b7b
movzx eax, word [edi + 2]
add eax, edi
cmp eax, dword [ebp - 0x10]
ja 0x423b7b
inc dword [ebp - 0xc]
jmp 0x42383a
push dword [esi + 0x58]
mov eax, dword [esi + 0x5c]
call fcn.00424d66
and dword [esi + 0x5c], 0
and dword [ebp - 4], 0
push 0x1c
lea eax, [ebp - 0x38]
push eax
call fcn.0042b0d8
mov dword [esi + 0x58], eax
test eax, eax
je 0x423b4b
inc dword [esi + 0x5c]
mov dword [ebp - 4], 1
jmp 0x423b7b
lea esi, [ebp - 0x38]
call fcn.00424d3d
jmp 0x423b7b
push dword [ebp - 0x24]
call fcn.0042b085
lea esi, [ebp - 0x38]
call fcn.00424d3d
mov esi, dword [ebp + 8]
push dword [esi + 0x58]
mov eax, dword [esi + 0x5c]
call fcn.00424d66
and dword [esi + 0x5c], 0
and dword [ebp - 4], 0
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 8