Function at 0x45a098
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffecc
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x130], ecx
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x128], ecx
mov dword [ebp - 0x12c], ecx
mov dword [ebp - 0x120], ecx
mov dword [ebp - 0x124], ecx
mov dword [ebp - 0x110], ecx
mov dword [ebp - 0x114], ecx
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004047c0
mov ebx, 0x462f44
xor eax, eax
push ebp
push 0x45a5d6
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x34], eax
cmp dword [ebx], 0
jne 0x45a106
mov dword [ebx], 0x2000
mov eax, dword [ebp + 8]
mov dword [eax - 0x14], esi
mov byte [ebp - 5], 0
mov eax, dword [ebx]
call fcn.00402a58
mov dword [ebp - 0x20], eax
xor edx, edx
push ebp
push 0x45a599
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebx]
mov dword [ebp - 0x30], eax
jmp 0x45a153
mov eax, dword [ebp - 0x20]
call fcn.00402a88
add dword [ebx], 0x400
jno 0x45a144
call fcn.00403438
mov eax, dword [ebx]
call fcn.00402a58
mov dword [ebp - 0x20], eax
mov eax, dword [ebx]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x20]
push eax
lea eax, [ebp - 0x34]
push eax
push 0
mov eax, dword [ebp - 4]
call fcn.004047d0
push eax
push 0x80000004
call sub.advapi32.dll_RegQueryValueExA_1
cmp eax, 0xea
je 0x45a12f
cmp dword [ebp - 0x30], 0x64
jge 0x45a1dd
lea eax, [ebp - 0x110]
push eax
lea edx, [ebp - 0x114]
mov eax, dword [0x46330c]
call fcn.004061d0
mov eax, dword [ebp - 0x114]
push eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x11c], eax
mov byte [ebp - 0x118], 0xb
lea edx, [ebp - 0x11c]
xor ecx, ecx
pop eax
call fcn.0040924c
mov edx, dword [ebp - 0x110]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
add eax, 0x94
call fcn.00404348
call fcn.00403d30
jmp 0x45a5a0
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x1c], 0
jne 0x45a248
lea eax, [ebp - 0x120]
push eax
lea edx, [ebp - 0x124]
mov eax, dword [0x463210]
call fcn.004061d0
mov eax, dword [ebp - 0x124]
push eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x11c], eax
mov byte [ebp - 0x118], 0xb
lea edx, [ebp - 0x11c]
xor ecx, ecx
pop eax
call fcn.0040924c
mov edx, dword [ebp - 0x120]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
add eax, 0x94
call fcn.00404348
call fcn.00403d30
jmp 0x45a5a0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x18]
add eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x1c]
test eax, eax
jns 0x45a263
call fcn.00403430
test eax, eax
jle 0x45a579
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
add eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x20]
test eax, eax
jbe 0x45a568
mov esi, eax
test esi, esi
jns 0x45a299
call fcn.00403430
test esi, esi
jle 0x45a333
mov ebx, 1
dec ebx
cmp ebx, 0x31
jbe 0x45a2b1
call fcn.00403430
inc ebx
mov eax, dword [ebp - 0x28]
mov dword [ebp + ebx*4 - 0x110], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
add dword [ebp - 0x28], eax
cmp ebx, 0x32
jle 0x45a32b
lea eax, [ebp - 0x128]
push eax
lea edx, [ebp - 0x12c]
mov eax, dword [0x463210]
call fcn.004061d0
mov eax, dword [ebp - 0x12c]
push eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x11c], eax
mov byte [ebp - 0x118], 0xb
lea edx, [ebp - 0x11c]
xor ecx, ecx
pop eax
call fcn.0040924c
mov edx, dword [ebp - 0x128]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
add eax, 0x94
call fcn.00404348
call fcn.00403d30
jmp 0x45a5a0
inc ebx
dec esi
jne 0x45a2a6
mov byte [ebp - 0x3d], 1
mov dword [ebp - 0x38], 1
jmp 0x45a55e
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x28], 1
jl 0x45a3a9
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x18], eax
lea edx, [ebp - 0x134]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x10]
add eax, dword [ebp - 0x28]
call fcn.0040511c
mov eax, dword [ebp - 0x134]
lea edx, [ebp - 0x130]
call fcn.00408230
mov edx, dword [ebp - 0x130]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
cmp eax, 0x1e
jbe 0x45a38d
call fcn.00403430
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx - 0xc]
lea eax, [ecx + eax*4 + 0x304]
call fcn.00404348
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
add dword [ebp - 0x28], eax
jmp 0x45a3d0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
cmp eax, 0x1e
jbe 0x45a3b9
call fcn.00403430
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0xc]
lea eax, [edx + eax*4 + 0x304]
mov edx, 0x45a5f0
call fcn.00404348
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x10]
mov esi, dword [eax + 0x20]
test esi, esi
jns 0x45a3eb
call fcn.00403430
test esi, esi
jle 0x45a4fe
mov ebx, 1
mov edi, ebx
dec edi
cmp edi, 0x31
jbe 0x45a405
call fcn.00403430
inc edi
mov eax, dword [ebp + edi*4 - 0x110]
cmp dword [eax + 4], 0x368
jne 0x45a478
dec ebx
cmp ebx, 0x31
jbe 0x45a421
call fcn.00403430
inc ebx
mov eax, dword [ebp + ebx*4 - 0x110]
mov eax, dword [eax + 0x24]
add eax, dword [ebp - 0x2c]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
cmp eax, 0x1e
jbe 0x45a442
call fcn.00403430
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0xc]
mov eax, dword [edx + eax*4 + 0x190]
mov edx, dword [ebp - 0x3c]
cmp eax, dword [edx]
jae 0x45a478
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
cmp eax, 0x1e
jbe 0x45a466
call fcn.00403430
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0xc]
mov ecx, dword [ebp - 0x3c]
mov ecx, dword [ecx]
mov dword [edx + eax*4 + 0x190], ecx
dec ebx
cmp ebx, 0x31
jbe 0x45a483
call fcn.00403430
inc ebx
mov eax, dword [ebp + edi*4 - 0x110]
cmp dword [eax + 4], 0x36a
jne 0x45a4f6
dec ebx
cmp ebx, 0x31
jbe 0x45a49f
call fcn.00403430
inc ebx
mov eax, dword [ebp + ebx*4 - 0x110]
mov eax, dword [eax + 0x24]
add eax, dword [ebp - 0x2c]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
cmp eax, 0x1e
jbe 0x45a4c0
call fcn.00403430
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0xc]
mov eax, dword [edx + eax*4 + 0x20c]
mov edx, dword [ebp - 0x3c]
cmp eax, dword [edx]
jae 0x45a4f6
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
cmp eax, 0x1e
jbe 0x45a4e4
call fcn.00403430
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0xc]
mov ecx, dword [ebp - 0x3c]
mov ecx, dword [ecx]
mov dword [edx + eax*4 + 0x20c], ecx
inc ebx
dec esi
jne 0x45a3f8
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
add dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x28], 1
jl 0x45a55a
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
add dword [eax + 0x88], 1
jno 0x45a523
call fcn.00403438
mov eax, dword [ebp + 8]
add dword [eax - 0x14], 1
jno 0x45a531
call fcn.00403438
add dword [ebp - 0x38], 1
jno 0x45a53c
call fcn.00403438
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x28]
cmp eax, dword [ebp - 0x38]
jge 0x45a54b
mov byte [ebp - 0x3d], 0
mov eax, dword [ebp + 8]
cmp dword [eax - 0x14], 0x1e
jle 0x45a55e
mov byte [ebp - 0x3d], 0
jmp 0x45a55e
mov byte [ebp - 0x3d], 0
cmp byte [ebp - 0x3d], 0
jne 0x45a343
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
add dword [ebp - 0x24], eax
dec dword [ebp - 0x44]
jne 0x45a26e
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45a5a0
cmp dword [ebp - 0x20], 0
je 0x45a598
mov eax, dword [ebp - 0x20]
call fcn.00402a88
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45a5dd
lea eax, [ebp - 0x134]
mov edx, 6
call fcn.00404318
lea eax, [ebp - 0x114]
mov edx, 2
call fcn.00404318
lea eax, [ebp - 4]
call fcn.004042f4
ret