Function at 0x410b00
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [edi + 0x40]
sub esp, 0x120
push ebx
push esi
test eax, eax
jne 0x410b19
xor al, al
jmp 0x410f49
push 0x10000000
push 0x4e27
push eax
lea ebx, [ebp - 4]
call fcn.004247f9
and dword [edi + 0x3c], 0
and dword [edi + 0x38], 0
mov ebx, eax
mov dword [ebp - 0x40], ebx
test ebx, ebx
je 0x410f38
mov eax, dword [ebp - 4]
cmp eax, 0x10
jbe 0x410f38
xor ecx, ecx
cmp byte [edi + 0x18], 1
mov dword [ebp - 8], ebx
setne cl
mov dword [ebp - 0xc], 1
dec ecx
and ecx, 0xffffffe0
add ecx, 0x40
movzx ecx, cx
add eax, ebx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], eax
movzx eax, word [ebx + 2]
cmp eax, 0x10
jb 0x410f38
movzx ecx, word [ebx + 4]
cmp cx, ax
jae 0x410f38
cmp word [ebx + 6], ax
jae 0x410f38
cmp word [ebx + 8], ax
jae 0x410f38
cmp word [ebx + 0xa], ax
jae 0x410f38
cmp word [ebx + 0xc], ax
jae 0x410f38
cmp word [ebx + 0xe], ax
jae 0x410f38
movzx eax, word [ebx]
mov esi, eax
and eax, dword [ebp - 0x1c]
shr esi, 9
add ecx, ebx
and esi, 8
mov dword [ebp - 0x18], ecx
cmp ax, word [ebp - 0x1c]
jne 0x410ea9
push dword [edi + 0xc]
mov edx, esi
push dword [edi + 8]
call fcn.004107ba
test al, al
je 0x410ea9
mov eax, dword [edi + 0x44]
test eax, eax
je 0x410c2d
push esi
push dword [edi + 0xc]
push dword [edi + 8]
push eax
push 4
call fcn.00410a98
test al, al
je 0x410c2d
push dword [edi + 8]
push 0x4062b0
push 0
push 0x134
push 0x406248
push 0x4062f0
call fcn.00420542
jmp 0x410ea6
movzx eax, word [ebx + 8]
test ax, ax
je 0x410c4c
push dword [edi + 0x28]
lea ecx, [ebx + eax]
push dword [edi + 0x24]
call fcn.004107ef
cmp al, 1
je 0x410ea9
movzx eax, word [ebx + 0xa]
test ax, ax
je 0x410c6b
push dword [edi + 0x28]
lea ecx, [ebx + eax]
push dword [edi + 0x24]
call fcn.004107ef
test al, al
je 0x410ea9
test byte [ebx], 0x10
je 0x410d62
cmp word [ebx + 0xc], 0
jbe 0x410d62
lea eax, [ebp - 0x120]
push eax
push 1
lea eax, [ebp - 0xb8]
call fcn.0041cee3
movzx ecx, word [ebx + 0xc]
add ecx, ebx
call fcn.0041f33e
push eax
push ecx
lea eax, [ebp - 0x70]
push eax
call fcn.0041fab4
test al, al
je 0x410ea9
lea ecx, [ebp - 0xb8]
xor esi, esi
mov al, byte [ebp + esi - 0x70]
call fcn.0041eb69
inc esi
add ecx, 4
cmp esi, 0x10
jb 0x410cb9
or dword [ebp - 0x14], 0xffffffff
push 0x10
pop esi
xor eax, eax
mov word [ecx], ax
lea ecx, [ebp - 0x10]
push ecx
push 1
push 0
lea ecx, [ebp - 0x120]
mov eax, reloc.WS2_32.dll_accept
push ecx
push eax
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x10], eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x410d62
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x50]
push eax
push 0
push 0
lea eax, [ebp - 0xb8]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x410d22
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x14], eax
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x14], esi
jne 0x410d62
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov ax, word [ebp - 0x4a]
cmp ax, word [ebp - 0x5a]
jne 0x410d62
mov ax, word [ebp - 0x4e]
cmp ax, word [ebp - 0x5e]
jne 0x410d62
push dword [ebp - 0x18]
push 0x406308
push 0
push 0x15d
jmp 0x410c19
push dword [ebp - 0x18]
push dword [edi + 8]
push 0x406350
push 0
push 0x168
push 0x406248
push 0x4062f0
call fcn.00420542
add esp, 0x1c
push 0x1c
push 0
lea eax, [ebp - 0x3c]
push eax
call fcn.0041e8b4
movzx eax, word [ebx]
mov dword [ebp - 0x3c], eax
movzx eax, word [ebx + 4]
add eax, ebx
push eax
or esi, 0xffffffff
mov eax, esi
call fcn.0041ec5f
mov dword [ebp - 0x38], eax
movzx eax, word [ebx + 6]
test ax, ax
jne 0x410dbc
and dword [ebp - 0x34], 0
jmp 0x410dc9
add eax, ebx
push eax
mov eax, esi
call fcn.0041ec5f
mov dword [ebp - 0x34], eax
movzx eax, word [ebx + 0xc]
test ax, ax
jne 0x410dd8
and dword [ebp - 0x30], 0
jmp 0x410de5
add eax, ebx
push eax
mov eax, esi
call fcn.0041ec5f
mov dword [ebp - 0x30], eax
movzx eax, word [ebx + 0xe]
test ax, ax
jne 0x410df4
and dword [ebp - 0x2c], 0
jmp 0x410e01
add eax, ebx
push eax
mov eax, esi
call fcn.0041ec5f
mov dword [ebp - 0x2c], eax
movzx eax, word [ebx]
test al, 3
jne 0x410ecd
test al, 0xc
je 0x410e79
push 0x40000000
push dword [ebp - 0xc]
lea ebx, [ebp - 0x24]
push dword [edi + 0x40]
call fcn.004247f9
mov ebx, eax
mov dword [ebp - 0x28], ebx
test ebx, ebx
je 0x410efd
mov edx, dword [ebp - 0x24]
mov ecx, ebx
call fcn.0042505f
test al, al
je 0x410efd
mov ecx, dword [edi + 0x3c]
inc ecx
imul ecx, ecx, 0x1c
lea esi, [edi + 0x38]
call fcn.0041e78c
test al, al
je 0x410efd
mov ecx, dword [edi + 0x3c]
mov eax, ecx
imul eax, eax, 0x1c
add eax, dword [edi + 0x38]
inc ecx
mov dword [edi + 0x3c], ecx
push 0x1c
lea ecx, [ebp - 0x3c]
push ecx
push eax
call fcn.0041e83d
mov ebx, dword [ebp - 8]
jmp 0x410ea9
lea esi, [ebp - 0x3c]
call fcn.00411bf4
mov eax, dword [ebp - 8]
movzx eax, word [eax]
push eax
push 0x4063e0
push 2
push 0x19a
push 0x406248
push 0x4062f0
call fcn.00420542
mov ebx, dword [ebp - 8]
add esp, 0x18
movzx eax, word [ebx + 2]
add ebx, eax
lea eax, [ebx + 0x10]
mov dword [ebp - 8], ebx
cmp eax, dword [ebp - 4]
ja 0x410f38
movzx eax, word [ebx + 2]
add eax, ebx
cmp eax, dword [ebp - 4]
ja 0x410f38
inc dword [ebp - 0xc]
jmp 0x410b72
push dword [edi + 0x38]
mov eax, dword [edi + 0x3c]
call fcn.00411c1d
and dword [edi + 0x3c], 0
push 0x1c
lea eax, [ebp - 0x3c]
push eax
call fcn.0041e854
mov dword [edi + 0x38], eax
test eax, eax
je 0x410ef3
inc dword [edi + 0x3c]
jmp 0x410f38
lea esi, [ebp - 0x3c]
call fcn.00411bf4
jmp 0x410f38
push 0x406398
push 2
push 0x18a
push 0x406248
push 0x4062f0
call fcn.00420542
add esp, 0x14
push ebx
call fcn.0041e801
lea esi, [ebp - 0x3c]
call fcn.00411bf4
push dword [edi + 0x38]
mov eax, dword [edi + 0x3c]
call fcn.00411c1d
and dword [edi + 0x3c], 0
push dword [ebp - 0x40]
call fcn.0041e801
xor eax, eax
cmp eax, dword [edi + 0x3c]
sbb eax, eax
neg eax
pop esi
pop ebx
leave
ret