Function at 0x403680
Capabilities:
Link many functions at runtime
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x459ae6
mov eax, dword fs:[0]
push eax
sub esp, 0x26c
mov eax, dword [0x486850]
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 edi, ecx
cmp dword [edi + 0x24], 0
je 0x4036bb
call fcn.00403900
lea eax, [ebp - 0x26c]
push eax
push 0x101
push 0
push str.SoftwareAVGZen
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x26c], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x403733
lea eax, [ebp - 0x274]
push eax
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x270]
push eax
push 0
push str.ZenCommonDir
push dword [ebp - 0x26c]
mov dword [ebp - 0x274], 0x104
mov dword [ebp - 0x270], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x26c]
test eax, eax
je 0x40373d
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
jmp 0x4038d9
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x238]
call fcn.00402a00
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x228]
test eax, eax
jne 0x40376e
lea esi, [eax + 1]
jmp 0x4038c0
push 1
dec eax
push eax
lea eax, [ebp - 0x268]
push eax
lea ecx, [ebp - 0x238]
call fcn.00403970
push 1
push 0x468374
mov byte [ebp - 4], 1
push dword [eax + 0x10]
push ecx
mov ecx, eax
call fcn.00403600
test eax, eax
setne bl
mov byte [ebp - 4], 0
cmp dword [ebp - 0x254], 8
jb 0x4037ba
push dword [ebp - 0x268]
call fcn.0043d3af
add esp, 4
test bl, bl
je 0x4037ce
push 0x468374
lea ecx, [ebp - 0x238]
call fcn.00401a00
cmp dword [ebp - 0x224], 8
mov eax, dword [ebp - 0x238]
jae 0x4037e3
lea eax, [ebp - 0x238]
push eax
call dword [sym.imp.KERNEL32.dll_SetDllDirectoryW]
push 0x468438
lea edx, [ebp - 0x238]
lea ecx, [ebp - 0x250]
call fcn.004039f0
mov eax, dword [ebp - 0x250]
add esp, 4
cmp dword [ebp - 0x23c], 8
jae 0x403818
lea eax, [ebp - 0x250]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [edi + 0x24], eax
test eax, eax
je 0x403887
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 1
push eax
call esi
push 2
push dword [edi + 0x24]
mov dword [edi], eax
call esi
push 3
push dword [edi + 0x24]
mov dword [edi + 4], eax
call esi
push 4
push dword [edi + 0x24]
mov dword [edi + 8], eax
call esi
push 5
push dword [edi + 0x24]
mov dword [edi + 0xc], eax
call esi
push 6
push dword [edi + 0x24]
mov dword [edi + 0x10], eax
call esi
push 7
push dword [edi + 0x24]
mov dword [edi + 0x14], eax
call esi
push 8
push dword [edi + 0x24]
mov dword [edi + 0x18], eax
call esi
push 9
push dword [edi + 0x24]
mov dword [edi + 0x1c], eax
call esi
mov dword [edi + 0x20], eax
xor esi, esi
jmp 0x40388c
mov esi, 0x485
cmp dword [ebp - 0x23c], 8
jb 0x4038a3
push dword [ebp - 0x250]
call fcn.0043d3af
add esp, 4
xor eax, eax
mov dword [ebp - 0x23c], 7
mov dword [ebp - 0x240], 0
mov word [ebp - 0x250], ax
cmp dword [ebp - 0x224], 8
jb 0x4038d7
push dword [ebp - 0x238]
call fcn.0043d3af
add esp, 4
mov eax, esi
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.0043d3b4
mov esp, ebp
pop ebp
ret