Function at 0x403e5b
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x413bc7
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x40
mov eax, dword [0x4ab1c8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x2c], ecx
and dword [ebp - 0x28], 0
mov dword [ebp - 4], 2
push 1
lea ecx, [ebp - 0x18]
call fcn.004058cc
lea ecx, [ebp - 0x18]
call fcn.004029de
mov byte [ebp - 4], 3
mov byte [ebp - 4], 4
lea eax, [ebp - 0x24]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x44], esp
lea eax, [ebp + 0x10]
push eax
call fcn.004028bd
mov dword [ebp - 0x4c], eax
mov byte [ebp - 4], 5
push dword [ebp + 0xc]
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x2c]
call dword [eax + 0xc]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x403f30
push 0x438bc4
mov ecx, dword [ebp + 8]
call fcn.00402973
mov eax, dword [ebp - 0x28]
or eax, 1
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
call fcn.00402c45
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x10]
call fcn.00402c45
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x14]
call fcn.00402c45
mov eax, dword [ebp + 8]
jmp 0x4040d6
and dword [ebp - 0x20], 0
and dword [ebp - 0x1c], 0
lea eax, [ebp - 0x20]
push eax
push 0
lea eax, [ebp - 0x1c]
push eax
push 0
lea ecx, [ebp + 0x14]
call fcn.0040257a
push eax
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x20]
lea ecx, [ebp - 0x18]
call fcn.00403d21
push eax
lea eax, [ebp - 0x1c]
push eax
push 0
lea ecx, [ebp + 0x14]
call fcn.0040257a
push eax
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x3c], str.peqyJKlAgxMS0xaKGWnCuxq88y9IlEQMqU27n8spRGnSROm718u2KqvpTvflmpBBO7HJRO4uOiTMaSXkwavEko79LbLjIYcmBwoYv6WGVju7VUpoKACmXWcST8SbFyWul43xXdHIapOY9BoHRb55Mys1xBe8nMrNkRD7ikC9BU16C3RVHU5RiDmK8z0SRKvmpf9xXCPlvUNJ9O56HXSOnz97dHQL50gC8IAHObdveakJjXwxYIK6kFMXul1ERx5kG2Yz52mDi8kwEVVVhIW0Pd41Nzd1UPCzQ6meneGDnY28T1rt7gS0a8hV0sGdWyE4a8O56HTPn3Fi5V37zwvhs0uUYgvmhMXf8daL9QMlBvVRcatIErfaPVAyFBOPkm2PhSeL9DtOvKQicRfnzt9dP6rzwqbJCor5MssH01CVmm9wKFs2YizBeIX53qXlpxk9ixDMPXWKjEoFcKQy1Rd9Y2dBE5o7GYq5SWSWXtiIxKUWBLFFeq4jigi1GCuy5p4O7OBGVyyG8vWLKVL1DtucvHnCv28pY18b0vzbsdGS9ywD5Wz6KKayeBI7m60trx6RXFQgstJWzitcL36kti5JdiFxgs68Tc4AP5cATvhboxI2efQCpjxCBCPU60g2c9LD3TxFrD98N3RyRx4IqtRb6HHCjHj5LhiGWLvgG6z2IkqoPeSkQffTFUO4koyJjRpyYO58PIVFzcWYH0bBSxCf9fmb1rdTJuyeBhAYO7Lye3OehSsTKmhF8tGyMKoWh8NWjnPuoJKT9RksGeRNGKUzVehvBT4Iq1P9AuWh1SECffEthIa6WRFjHWL3SW7sTL2qW4tVVFskXiSwGnMJOVYajVVUAAjTIinDUBlWa2eljK0kMvMVyfKoohFuc5kfaRvO2GRQDUKMF7eav37fOyQ9QwM0jl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9W8cy0FHOD6utI49rMf98E4cKpAGj7EgYQptzyPlieSX4hjAg0lXixMBAV6x2SJyCrHScQS8a6YMVV1jewrbASEVPGlur7um7WFqNkmXoolbrdsN4jwBOX8HnoLbNkrjSkhqNlEl33BDsROny0qYVNhC33sNIknotjpk3Mbv5HTFMtekOqC61amRs6mG6vGo7Sifhhubsg8tSijJvMtG9hWcOpetuuK9oXW3obGF75pCSMJJGd9ix7aXek4644YBlq8tqvlQNV9XxBaxMPwlxiA5EB9SFgNJk7o6y2Bbd71JeChrDGh3Ebm3Xv3qKhED9O2i5c5HTjVr1TLNuOPsvO8WVHzFrw1tWg6iuaW3lH6WzHn5VapsSY2rdlMTtDkul8s8lMPr2DpmvdXTAA0lo5qqN4phJi2gmzs8y0gtJhIEELhmQrOD6BR3JruePr65GktlMfWbIYdabLzRjNiD8Fvrp1Q4DqFHOpDMVA4WSN2STIsYwXGT9YMaqaeN31jwJawNqEKX1VYig73tpPq1TC5vdo3WuO8gMyVGNw9bGHBsdgRscX9xd7Jy2lqx1nBPBfQNGCiilz7TmnUfrxI7Yj39XPe7e7JvbsuwKMeMcbtEPACq3paldvgSVLXJjkUIM8ecMdUTlgkjmSUTf3KRVmz9EfTY1e3g6MFgDxiDGHYWgc7NzyVR9XcVI5XGRiQNR8DLBe8DAvhTeKpgxukjMSF4aqTWswHU00RrGCKMSILQaDTdrNXq1hSCpnFW3CxoeYm3YtIOyjKeQ9VLToqNknohiWTvhLGQ3fq4dk3Fz0bwWw4xgR6icwaGp3idkJql9k1c9K7cEj4QFAHy992U95ws7lLjUSQqy3IhvtIfjCD7HHclqvRSFxd7ynjMe803wBOp6d4zN8eSgRKOfxWEjrmcDu6i0YLEyt9RIQGUaPjo5Btq09dQCqu80TpdtyX7twgaagyXbAvEq4m0myfjbbul5AHCpti
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0xffffffffffffffff
lea ecx, [ebp - 0x18]
call fcn.00404f6e
cmp dword [ebp - 0x30], 0
je 0x403fe3
push 0x43d64c
mov ecx, dword [ebp + 8]
call fcn.00402973
mov eax, dword [ebp - 0x28]
or eax, 1
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
call fcn.00402c45
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x10]
call fcn.00402c45
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x14]
call fcn.00402c45
mov eax, dword [ebp + 8]
jmp 0x4040d6
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp + 8]
call fcn.004028bd
mov eax, dword [ebp - 0x28]
or eax, 1
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
call fcn.00402c45
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x10]
call fcn.00402c45
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x14]
call fcn.00402c45
mov eax, dword [ebp + 8]
jmp 0x4040d6
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004090dc
leave
ret 0x10